mirror of
https://github.com/vastxie/99AI.git
synced 2025-09-19 01:56:38 +08:00
10 lines
3.4 MiB
10 lines
3.4 MiB
|
||
/**
|
||
* 由 Fantastic-admin 提供技术支持
|
||
* Powered by Fantastic-admin
|
||
* https://fantastic-admin.github.io
|
||
*/
|
||
|
||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./wechat-Cg92RNH0.js","./index.vue_vue_type_script_setup_true_lang-DBlFcaHd.js","./config-BrbFL53_.js","./userAgreement-DZ5u8Z6E.js","./upload-DwmqW_vL.js","./style-ClrjWzkr.js","./style-5OA7v-GU.css","./register-VCiIC402.js","./register-BVrASrQH.css","./phone-BwZkxxUB.js","./index-N1kQyP62.js","./index.vue_vue_type_script_setup_true_lang-mQp5T4Ar.js","./index-gPQwgooA.js","./utcFormatTime-BtFjiA-p.js","./email-CdNPUFnz.js","./accountLog-BnWEbieN.js","./welcomePageSettings-FlDP6m3H.js","./notice-BrwZwNuE.js","./baseConfiguration-D6C9gTFe.js","./baiduStatistics-CIKoeZzD.js","./tencent-BAqF1PoT.js","./s3-CCx8GMyA.js","./localStorage-Dm0jFFHY.js","./chevereto-DZq9P4Ob.js","./ali-zgpDqU7S.js","./violation-CLUBFwNt.js","./badWords-FUVqvqZb.js","./violation-CWzX84hX.css","./identityVerification-Bom9GN-v.js","./custom-B_7XFeQI.js","./baiduSensitive-C7vUutgc.js","./autpReply-ByQOHDAx.js","./setting-CecJapUm.js","./setting-C7NApC_O.css","./edit.password-CzxHsfr9.js","./useMainPage-Dbp8uSF1.js","./edit-DCC-RuVO.css","./wechat-BhHNBWBZ.js","./mpay-B-BmvDhQ.js","./ltzf-BvFemXdK.js","./hupijiao-BdWFBu4d.js","./epay-D7_9P03X.js","./duluPay-DRkdzRVh.js","./points-CpXy5ei9.js","./package-DWi-wsDP.js","./app-Cak_t3ob.js","./package-BcYUNEpY.js","./crami-R38S4tMZ.js","./index-Bt1eUHSh.js","./index-ZpvBQ3Hh.css","./key-CrR4vULd.js","./models-Bn8M3XEv.js","./baseSetting-DM7frdzv.js","./chat-p-VoiQPW.js","./chat-DOaFD8pm.css","./classify-DyQP9WEl.js","./application-CRdbamYy.js","./application-DyP2kx0j.css","./index-BLqJ8QDu.js","./HInput.vue_vue_type_script_setup_true_lang-DbpA_N81.js","./HCheckList.vue_vue_type_script_setup_true_lang-Di8Bi58Y.js","./HToggle.vue_vue_type_script_setup_true_lang-qXUln426.js","./use-resolve-button-type-DnRVrBaM.js","./HTooltip.vue_vue_type_script_setup_true_lang-T8XkjmIi.js","./HTabList.vue_vue_type_script_setup_true_lang-BEyYCazB.js","./index-DhWfG07N.js","./index-vyoTLGOp.css","./index-g-A10Yme.js","./index.vue_vue_type_script_setup_true_lang-DpB-kSh7.js","./index-CZaxHimt.js","./index-OKLnA-zv.css","./item-DZoJPB2Z.js","./item.vue_vue_type_script_setup_true_lang-aMXYc_KV.js","./index-Cs7G3EBC.js","./index-DHthMOII.css","./index-BuhDZ9J1.js","./index.vue_vue_type_script_setup_true_lang-AClYjrVV.js","./rightSide.vue_vue_type_script_setup_true_lang-ClZNHSw-.js","./HDropdownMenu.vue_vue_type_script_setup_true_lang-Wc6l-Ngn.js","./index.vue_vue_type_script_setup_true_lang-PUnUpH4H.js","./HDropdown-DFGm5c_S.js","./index.vue_vue_type_script_setup_true_lang-DN03WRps.js","./index.vue_vue_type_script_setup_true_lang-Do4XPH2t.js","./HKbd-LjWkyhwy.js","./index.vue_vue_type_script_setup_true_lang-DbfRBGyF.js","./useMenu-CK91fAX9.js","./index-BU6DqTDT.css","./index-wYwQQGda.js","./index.vue_vue_type_script_setup_true_lang-DOqLWnBB.js","./HDialog.vue_vue_type_script_setup_true_lang-BfrjeNSs.js","./index-DOx8FTtk.js","./index-i8Bdu04L.js","./index-DlXuFYKA.css","./index-Dp3CZhIR.js","./index.vue_vue_type_script_setup_true_lang-CReMfaKl.js","./sub.vue_vue_type_script_setup_true_lang-SYX2vZ5k.js","./item.vue_vue_type_script_setup_true_lang-D5h42eqV.js","./item-APr-PS9y.js","./sub-hQISPUS5.js","./index-dH3cTfOh.js","./index.vue_vue_type_script_setup_true_lang-Cp9p1HkJ.js","./index-BWLuTDA6.js","./index-CeD4nVK7.css","./index-DRUzQ5v3.js","./index-Dt8wcX7O.css","./index-BTtsYu0a.js","./index-DhHevLD5.css","./index-CtOJrsbC.js","./index-GgFTTSiK.js","./index-BqCS7s31.js","./index-CDnXnCbp.js","./index-CGed-Lii.js","./leftSide.vue_vue_type_script_setup_true_lang-BTr4xL8t.js","./index-Dahfp9sk.css","./leftSide-CgNuco0Q.js","./rightSide-CF_-JibU.js","./index-ChkpeOnk.js","./index-1mKiREKi.css","./link-Dd6acFu3.js","./link-DyGASR6Z.css","./index-B5v14alw.js","./index-1jQ9FMls.css","./HCheckList-BvP-W6tS.js","./HDialog-Dc3-VFqw.js","./HDropdownMenu-STCC9von.js","./HInput-D-evHGWk.js","./HTabList-DmcAR84M.js","./HToggle-CrdaD-9B.js","./HTooltip-BHWSsM_K.js"])))=>i.map(i=>d[i]);
|
||
var __defProp2=Object.defineProperty,__defNormalProp2=(e,t,n)=>t in e?__defProp2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>__defNormalProp2(e,"symbol"!=typeof t?t+"":t,n);!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();{const e="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",t=`${e} background: #e24329;`,n=`${e} background: #707070;`;navigator.language.toLowerCase()}function makeMap(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend$2=Object.assign,remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$g.call(e,t),isArray$6=Array.isArray,isMap$1=e=>"[object Map]"===toTypeString(e),isSet$1=e=>"[object Set]"===toTypeString(e),isDate$1=e=>"[object Date]"===toTypeString(e),isRegExp$2=e=>"[object RegExp]"===toTypeString(e),isFunction$5=e=>"function"==typeof e,isString$4=e=>"string"==typeof e,isSymbol$1=e=>"symbol"==typeof e,isObject$8=e=>null!==e&&"object"==typeof e,isPromise=e=>(isObject$8(e)||isFunction$5(e))&&isFunction$5(e.then)&&isFunction$5(e.catch),objectToString$1=Object.prototype.toString,toTypeString=e=>objectToString$1.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$4=e=>"[object Object]"===toTypeString(e),isIntegerKey=e=>isString$4(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),isBuiltInDirective=makeMap("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),cacheStringFunction=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction((e=>e.replace(camelizeRE,((e,t)=>t?t.toUpperCase():"")))),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction((e=>e.replace(hyphenateRE,"-$1").toLowerCase())),capitalize$1=cacheStringFunction((e=>e.charAt(0).toUpperCase()+e.slice(1))),toHandlerKey=cacheStringFunction((e=>e?`on${capitalize$1(e)}`:"")),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},def$1=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber$1=e=>{const t=isString$4(e)?Number(e):NaN;return isNaN(t)?e:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),identRE=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function genPropsAccessExp(e){return identRE.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function genCacheKey(e,t){return e+JSON.stringify(t,((e,t)=>"function"==typeof t?t.toString():t))}const PatchFlags$1={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},PatchFlagNames={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},ShapeFlags={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},SlotFlags={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},slotFlagsText={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},GLOBALS_ALLOWED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",isGloballyAllowed=makeMap(GLOBALS_ALLOWED),isGloballyWhitelisted=isGloballyAllowed,range$1=2;function generateCodeFrame(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let i=0;const a=[];for(let l=0;l<o.length;l++)if(i+=o[l].length+(r[l]&&r[l].length||0),i>=t){for(let e=l-range$1;e<=l+range$1||n>i;e++){if(e<0||e>=o.length)continue;const s=e+1;a.push(`${s}${" ".repeat(Math.max(3-String(s).length,0))}| ${o[e]}`);const c=o[e].length,u=r[e]&&r[e].length||0;if(e===l){const e=t-(i-(c+u)),o=Math.max(1,n>i?c-e:n-t);a.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>l){if(n>i){const e=Math.max(Math.min(n-i,c),1);a.push(" | "+"^".repeat(e))}i+=c+u}}break}return a.join("\n")}function normalizeStyle$1(e){if(isArray$6(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=isString$4(o)?parseStringStyle(o):normalizeStyle$1(o);if(r)for(const e in r)t[e]=r[e]}return t}if(isString$4(e)||isObject$8(e))return e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){const t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach((e=>{if(e){const n=e.split(propertyDelimiterRE);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function stringifyStyle(e){if(!e)return"";if(isString$4(e))return e;let t="";for(const n in e){const o=e[n];if(isString$4(o)||"number"==typeof o){t+=`${n.startsWith("--")?n:hyphenate(n)}:${o};`}}return t}function normalizeClass(e){let t="";if(isString$4(e))t=e;else if(isArray$6(e))for(let n=0;n<e.length;n++){const o=normalizeClass(e[n]);o&&(t+=o+" ")}else if(isObject$8(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function normalizeProps(e){if(!e)return null;let{class:t,style:n}=e;return t&&!isString$4(t)&&(e.class=normalizeClass(t)),n&&(e.style=normalizeStyle$1(n)),e}const HTML_TAGS="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,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,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,summary,template,blockquote,iframe,tfoot",SVG_TAGS="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",MATH_TAGS="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",VOID_TAGS="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",isHTMLTag=makeMap(HTML_TAGS),isSVGTag=makeMap(SVG_TAGS),isMathMLTag=makeMap(MATH_TAGS),isVoidTag=makeMap(VOID_TAGS),specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs),isBooleanAttr=makeMap(specialBooleanAttrs+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function includeBooleanAttr(e){return!!e||""===e}const unsafeAttrCharRE=/[>/="'\u0009\u000a\u000c\u0020]/,attrValidationCache={};function isSSRSafeAttrName(e){if(attrValidationCache.hasOwnProperty(e))return attrValidationCache[e];const t=unsafeAttrCharRE.test(e);return attrValidationCache[e]=!t}const propsToAttrMap={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},isKnownHtmlAttr=makeMap("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),isKnownSvgAttr=makeMap("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),isKnownMathMLAttr=makeMap("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function isRenderableAttrValue(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const escapeRE=/["'&<>]/;function escapeHtml(e){const t=""+e,n=escapeRE.exec(t);if(!n)return t;let o,r,i="",a=0;for(r=n.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:o=""";break;case 38:o="&";break;case 39:o="'";break;case 60:o="<";break;case 62:o=">";break;default:continue}a!==r&&(i+=t.slice(a,r)),a=r+1,i+=o}return a!==r?i+t.slice(a,r):i}const commentStripRE=/^-?>|<!--|-->|--!>|<!-$/g;function escapeHtmlComment(e){return e.replace(commentStripRE,"")}const cssVarNameEscapeSymbolsRE=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function getEscapedCssVarName(e,t){return e.replace(cssVarNameEscapeSymbolsRE,(e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`))}function looseCompareArrays(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=looseEqual(e[o],t[o]);return n}function looseEqual(e,t){if(e===t)return!0;let n=isDate$1(e),o=isDate$1(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=isSymbol$1(e),o=isSymbol$1(t),n||o)return e===t;if(n=isArray$6(e),o=isArray$6(t),n||o)return!(!n||!o)&&looseCompareArrays(e,t);if(n=isObject$8(e),o=isObject$8(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!looseEqual(e[n],t[n]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex((e=>looseEqual(e,t)))}const isRef$1=e=>!(!e||!0!==e.__v_isRef),toDisplayString=e=>isString$4(e)?e:null==e?"":isArray$6(e)||isObject$8(e)&&(e.toString===objectToString$1||!isFunction$5(e.toString))?isRef$1(e)?toDisplayString(e.value):JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>isRef$1(t)?replacer(e,t.value):isMap$1(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[stringifySymbol(t,o)+" =>"]=n,e)),{})}:isSet$1(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>stringifySymbol(e)))}:isSymbol$1(t)?stringifySymbol(t):!isObject$8(t)||isArray$6(t)||isPlainObject$4(t)?t:String(t),stringifySymbol=(e,t="")=>{var n;return isSymbol$1(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},shared_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:EMPTY_ARR,EMPTY_OBJ:EMPTY_OBJ$1,NO:NO,NOOP:NOOP,PatchFlagNames:PatchFlagNames,PatchFlags:PatchFlags$1,ShapeFlags:ShapeFlags,SlotFlags:SlotFlags,camelize:camelize,capitalize:capitalize$1,cssVarNameEscapeSymbolsRE:cssVarNameEscapeSymbolsRE,def:def$1,escapeHtml:escapeHtml,escapeHtmlComment:escapeHtmlComment,extend:extend$2,genCacheKey:genCacheKey,genPropsAccessExp:genPropsAccessExp,generateCodeFrame:generateCodeFrame,getEscapedCssVarName:getEscapedCssVarName,getGlobalThis:getGlobalThis,hasChanged:hasChanged,hasOwn:hasOwn$1,hyphenate:hyphenate,includeBooleanAttr:includeBooleanAttr,invokeArrayFns:invokeArrayFns,isArray:isArray$6,isBooleanAttr:isBooleanAttr,isBuiltInDirective:isBuiltInDirective,isDate:isDate$1,isFunction:isFunction$5,isGloballyAllowed:isGloballyAllowed,isGloballyWhitelisted:isGloballyWhitelisted,isHTMLTag:isHTMLTag,isIntegerKey:isIntegerKey,isKnownHtmlAttr:isKnownHtmlAttr,isKnownMathMLAttr:isKnownMathMLAttr,isKnownSvgAttr:isKnownSvgAttr,isMap:isMap$1,isMathMLTag:isMathMLTag,isModelListener:isModelListener,isObject:isObject$8,isOn:isOn,isPlainObject:isPlainObject$4,isPromise:isPromise,isRegExp:isRegExp$2,isRenderableAttrValue:isRenderableAttrValue,isReservedProp:isReservedProp,isSSRSafeAttrName:isSSRSafeAttrName,isSVGTag:isSVGTag,isSet:isSet$1,isSpecialBooleanAttr:isSpecialBooleanAttr,isString:isString$4,isSymbol:isSymbol$1,isVoidTag:isVoidTag,looseEqual:looseEqual,looseIndexOf:looseIndexOf,looseToNumber:looseToNumber,makeMap:makeMap,normalizeClass:normalizeClass,normalizeProps:normalizeProps,normalizeStyle:normalizeStyle$1,objectToString:objectToString$1,parseStringStyle:parseStringStyle,propsToAttrMap:propsToAttrMap,remove:remove,slotFlagsText:slotFlagsText,stringifyStyle:stringifyStyle,toDisplayString:toDisplayString,toHandlerKey:toHandlerKey,toNumber:toNumber$1,toRawType:toRawType,toTypeString:toTypeString},Symbol.toStringTag,{value:"Module"}));let activeEffectScope,activeSub;class EffectScope{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!e&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=activeEffectScope;try{return activeEffectScope=this,e()}finally{activeEffectScope=t}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function effectScope(e){return new EffectScope(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e,t=!1){activeEffectScope&&activeEffectScope.cleanups.push(e)}const pausedQueueEffects=new WeakSet;class ReactiveEffect{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,activeEffectScope&&activeEffectScope.active&&activeEffectScope.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,pausedQueueEffects.has(this)&&(pausedQueueEffects.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||batch(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const e=activeSub,t=shouldTrack;activeSub=this,shouldTrack=!0;try{return this.fn()}finally{cleanupDeps(this),activeSub=e,shouldTrack=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)removeSub(e);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?pausedQueueEffects.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let batchDepth=0,batchedSub,batchedComputed;function batch(e,t=!1){if(e.flags|=8,t)return e.next=batchedComputed,void(batchedComputed=e);e.next=batchedSub,batchedSub=e}function startBatch(){batchDepth++}function endBatch(){if(--batchDepth>0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;batchedSub;){let n=batchedSub;for(batchedSub=void 0;n;){const o=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=o}}if(e)throw e}function prepareDeps(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cleanupDeps(e){let t,n=e.depsTail,o=n;for(;o;){const e=o.prevDep;-1===o.version?(o===n&&(n=e),removeSub(o),removeDep(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=e}e.deps=t,e.depsTail=n}function isDirty(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(refreshComputed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function refreshComputed(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===globalVersion)return;e.globalVersion=globalVersion;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!isDirty(e))return void(e.flags&=-3);const n=activeSub,o=shouldTrack;activeSub=e,shouldTrack=!0;try{prepareDeps(e);const n=e.fn(e._value);(0===t.version||hasChanged(n,e._value))&&(e._value=n,t.version++)}catch(r){throw t.version++,r}finally{activeSub=n,shouldTrack=o,cleanupDeps(e),e.flags&=-3}}function removeSub(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)removeSub(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function removeDep(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function effect(e,t){e.effect instanceof ReactiveEffect&&(e=e.effect.fn);const n=new ReactiveEffect(e);t&&extend$2(n,t);try{n.run()}catch(r){throw n.stop(),r}const o=n.run.bind(n);return o.effect=n,o}function stop$1(e){e.effect.stop()}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=void 0===e||e}function cleanupEffect(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=activeSub;activeSub=void 0;try{t()}finally{activeSub=e}}}let globalVersion=0,Link$1=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Dep{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==activeSub)t=this.activeLink=new Link$1(activeSub,this),activeSub.deps?(t.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=t,activeSub.depsTail=t):activeSub.deps=activeSub.depsTail=t,addSub(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=activeSub.depsTail,t.nextDep=void 0,activeSub.depsTail.nextDep=t,activeSub.depsTail=t,activeSub.deps===t&&(activeSub.deps=e)}return t}trigger(e){this.version++,globalVersion++,this.notify(e)}notify(e){startBatch();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{endBatch()}}}function addSub(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)addSub(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(e,t,n){if(shouldTrack&&activeSub){let t=targetMap.get(e);t||targetMap.set(e,t=new Map);let o=t.get(n);o||(t.set(n,o=new Dep),o.map=t,o.key=n),o.track()}}function trigger$3(e,t,n,o,r,i){const a=targetMap.get(e);if(!a)return void globalVersion++;const l=e=>{e&&e.trigger()};if(startBatch(),"clear"===t)a.forEach(l);else{const r=isArray$6(e),i=r&&isIntegerKey(n);if(r&&"length"===n){const e=Number(o);a.forEach(((t,n)=>{("length"===n||n===ARRAY_ITERATE_KEY||!isSymbol$1(n)&&n>=e)&&l(t)}))}else switch((void 0!==n||a.has(void 0))&&l(a.get(n)),i&&l(a.get(ARRAY_ITERATE_KEY)),t){case"add":r?i&&l(a.get("length")):(l(a.get(ITERATE_KEY)),isMap$1(e)&&l(a.get(MAP_KEY_ITERATE_KEY)));break;case"delete":r||(l(a.get(ITERATE_KEY)),isMap$1(e)&&l(a.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$1(e)&&l(a.get(ITERATE_KEY))}}endBatch()}function getDepFromReactive(e,t){const n=targetMap.get(e);return n&&n.get(t)}function reactiveReadArray(e){const t=toRaw(e);return t===e?t:(track(t,"iterate",ARRAY_ITERATE_KEY),isShallow(e)?t:t.map(toReactive))}function shallowReadArray(e){return track(e=toRaw(e),"iterate",ARRAY_ITERATE_KEY),e}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator$2(this,Symbol.iterator,toReactive)},concat(...e){return reactiveReadArray(this).concat(...e.map((e=>isArray$6(e)?reactiveReadArray(e):e)))},entries(){return iterator$2(this,"entries",(e=>(e[1]=toReactive(e[1]),e)))},every(e,t){return apply$1(this,"every",e,t,void 0,arguments)},filter(e,t){return apply$1(this,"filter",e,t,(e=>e.map(toReactive)),arguments)},find(e,t){return apply$1(this,"find",e,t,toReactive,arguments)},findIndex(e,t){return apply$1(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return apply$1(this,"findLast",e,t,toReactive,arguments)},findLastIndex(e,t){return apply$1(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return apply$1(this,"forEach",e,t,void 0,arguments)},includes(...e){return searchProxy(this,"includes",e)},indexOf(...e){return searchProxy(this,"indexOf",e)},join(e){return reactiveReadArray(this).join(e)},lastIndexOf(...e){return searchProxy(this,"lastIndexOf",e)},map(e,t){return apply$1(this,"map",e,t,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...e){return noTracking(this,"push",e)},reduce(e,...t){return reduce$1(this,"reduce",e,t)},reduceRight(e,...t){return reduce$1(this,"reduceRight",e,t)},shift(){return noTracking(this,"shift")},some(e,t){return apply$1(this,"some",e,t,void 0,arguments)},splice(...e){return noTracking(this,"splice",e)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(e){return reactiveReadArray(this).toSorted(e)},toSpliced(...e){return reactiveReadArray(this).toSpliced(...e)},unshift(...e){return noTracking(this,"unshift",e)},values(){return iterator$2(this,"values",toReactive)}};function iterator$2(e,t,n){const o=shallowReadArray(e),r=o[t]();return o===e||isShallow(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.value&&(e.value=n(e.value)),e}),r}const arrayProto$2=Array.prototype;function apply$1(e,t,n,o,r,i){const a=shallowReadArray(e),l=a!==e&&!isShallow(e),s=a[t];if(s!==arrayProto$2[t]){const t=s.apply(e,i);return l?toReactive(t):t}let c=n;a!==e&&(l?c=function(t,o){return n.call(this,toReactive(t),o,e)}:n.length>2&&(c=function(t,o){return n.call(this,t,o,e)}));const u=s.call(a,c,o);return l&&r?r(u):u}function reduce$1(e,t,n,o){const r=shallowReadArray(e);let i=n;return r!==e&&(isShallow(e)?n.length>3&&(i=function(t,o,r){return n.call(this,t,o,r,e)}):i=function(t,o,r){return n.call(this,t,toReactive(o),r,e)}),r[t](i,...o)}function searchProxy(e,t,n){const o=toRaw(e);track(o,"iterate",ARRAY_ITERATE_KEY);const r=o[t](...n);return-1!==r&&!1!==r||!isProxy(n[0])?r:(n[0]=toRaw(n[0]),o[t](...n))}function noTracking(e,t,n=[]){pauseTracking(),startBatch();const o=toRaw(e)[t].apply(e,n);return endBatch(),resetTracking(),o}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(isSymbol$1));function hasOwnProperty$f(e){isSymbol$1(e)||(e=String(e));const t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?shallowReadonlyMap:readonlyMap:r?shallowReactiveMap:reactiveMap).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=isArray$6(e);if(!o){let e;if(i&&(e=arrayInstrumentations[t]))return e;if("hasOwnProperty"===t)return hasOwnProperty$f}const a=Reflect.get(e,t,isRef(e)?e:n);return(isSymbol$1(t)?builtInSymbols.has(t):isNonTrackableKeys(t))?a:(o||track(e,"get",t),r?a:isRef(a)?i&&isIntegerKey(t)?a:a.value:isObject$8(a)?o?readonly(a):reactive(a):a)}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=isReadonly(r);if(isShallow(n)||isReadonly(n)||(r=toRaw(r),n=toRaw(n)),!isArray$6(e)&&isRef(r)&&!isRef(n))return!t&&(r.value=n,!0)}const i=isArray$6(e)&&isIntegerKey(t)?Number(t)<e.length:hasOwn$1(e,t),a=Reflect.set(e,t,n,isRef(e)?e:o);return e===toRaw(o)&&(i?hasChanged(n,r)&&trigger$3(e,"set",t,n):trigger$3(e,"add",t,n)),a}deleteProperty(e,t){const n=hasOwn$1(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&trigger$3(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return isSymbol$1(t)&&builtInSymbols.has(t)||track(e,"has",t),n}ownKeys(e){return track(e,"iterate",isArray$6(e)?"length":ITERATE_KEY),Reflect.ownKeys(e)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function createIterableMethod(e,t,n){return function(...o){const r=this.__v_raw,i=toRaw(r),a=isMap$1(i),l="entries"===e||e===Symbol.iterator&&a,s="keys"===e&&a,c=r[e](...o),u=n?toShallow:t?toReadonly:toReactive;return!t&&track(i,"iterate",s?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function createInstrumentations(e,t){const n={get(n){const o=this.__v_raw,r=toRaw(o),i=toRaw(n);e||(hasChanged(n,i)&&track(r,"get",n),track(r,"get",i));const{has:a}=getProto(r),l=t?toShallow:e?toReadonly:toReactive;return a.call(r,n)?l(o.get(n)):a.call(r,i)?l(o.get(i)):void(o!==r&&o.get(n))},get size(){const t=this.__v_raw;return!e&&track(toRaw(t),"iterate",ITERATE_KEY),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,o=toRaw(n),r=toRaw(t);return e||(hasChanged(t,r)&&track(o,"has",t),track(o,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,o){const r=this,i=r.__v_raw,a=toRaw(i),l=t?toShallow:e?toReadonly:toReactive;return!e&&track(a,"iterate",ITERATE_KEY),i.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}};extend$2(n,e?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(e){t||isShallow(e)||isReadonly(e)||(e=toRaw(e));const n=toRaw(this);return getProto(n).has.call(n,e)||(n.add(e),trigger$3(n,"add",e,e)),this},set(e,n){t||isShallow(n)||isReadonly(n)||(n=toRaw(n));const o=toRaw(this),{has:r,get:i}=getProto(o);let a=r.call(o,e);a||(e=toRaw(e),a=r.call(o,e));const l=i.call(o,e);return o.set(e,n),a?hasChanged(n,l)&&trigger$3(o,"set",e,n):trigger$3(o,"add",e,n),this},delete(e){const t=toRaw(this),{has:n,get:o}=getProto(t);let r=n.call(t,e);r||(e=toRaw(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&trigger$3(t,"delete",e,void 0),i},clear(){const e=toRaw(this),t=0!==e.size,n=e.clear();return t&&trigger$3(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((o=>{n[o]=createIterableMethod(o,e,t)})),n}function createInstrumentationGetter(e,t){const n=createInstrumentations(e,t);return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(hasOwn$1(n,o)&&o in t?n:t,o,r)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(e){return createReactiveObject(e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(e,t,n,o,r){if(!isObject$8(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=getTargetType(e);if(0===a)return e;const l=new Proxy(e,2===a?o:n);return r.set(e,l),l}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!(!e||!e.__v_isReactive)}function isReadonly(e){return!(!e||!e.__v_isReadonly)}function isShallow(e){return!(!e||!e.__v_isShallow)}function isProxy(e){return!!e&&!!e.__v_raw}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return!hasOwn$1(e,"__v_skip")&&Object.isExtensible(e)&&def$1(e,"__v_skip",!0),e}const toReactive=e=>isObject$8(e)?reactive(e):e,toReadonly=e=>isObject$8(e)?readonly(e):e;function isRef(e){return!!e&&!0===e.__v_isRef}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(e,t){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:toRaw(e),this._value=t?e:toReactive(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||isShallow(e)||isReadonly(e);e=n?e:toRaw(e),hasChanged(e,t)&&(this._rawValue=e,this._value=n?e:toReactive(e),this.dep.trigger())}}function triggerRef(e){e.dep&&e.dep.trigger()}function unref(e){return isRef(e)?e.value:e}function toValue(e){return isFunction$5(e)?e():unref(e)}const shallowUnwrapHandlers={get:(e,t,n)=>"__v_raw"===t?e:unref(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return isRef(r)&&!isRef(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Dep,{get:n,set:o}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=o}get value(){return this._value=this._get()}set value(e){this._set(e)}}function customRef(e){return new CustomRefImpl(e)}function toRefs(e){const t=isArray$6(e)?new Array(e.length):{};for(const n in e)t[n]=propertyToRef(e,n);return t}class ObjectRefImpl{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef$1(e,t,n){return isRef(e)?e:isFunction$5(e)?new GetterRefImpl(e):isObject$8(e)&&arguments.length>1?propertyToRef(e,t,n):ref(e)}function propertyToRef(e,t,n){const o=e[t];return isRef(o)?o:new ObjectRefImpl(e,t,n)}class ComputedRefImpl{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&activeSub!==this)return batch(this,!0),!0}get value(){const e=this.dep.track();return refreshComputed(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function computed$1(e,t,n=!1){let o,r;isFunction$5(e)?o=e:(o=e.get,r=e.set);return new ComputedRefImpl(o,r,n)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(e,t=!1,n=activeWatcher){if(n){let t=cleanupMap.get(n);t||cleanupMap.set(n,t=[]),t.push(e)}}function watch$1(e,t,n=EMPTY_OBJ$1){const{immediate:o,deep:r,once:i,scheduler:a,augmentJob:l,call:s}=n,c=e=>r?e:isShallow(e)||!1===r||0===r?traverse(e,1):traverse(e);let u,d,p,f,h=!1,m=!1;if(isRef(e)?(d=()=>e.value,h=isShallow(e)):isReactive(e)?(d=()=>c(e),h=!0):isArray$6(e)?(m=!0,h=e.some((e=>isReactive(e)||isShallow(e))),d=()=>e.map((e=>isRef(e)?e.value:isReactive(e)?c(e):isFunction$5(e)?s?s(e,2):e():void 0))):d=isFunction$5(e)?t?s?()=>s(e,2):e:()=>{if(p){pauseTracking();try{p()}finally{resetTracking()}}const t=activeWatcher;activeWatcher=u;try{return s?s(e,3,[f]):e(f)}finally{activeWatcher=t}}:NOOP,t&&r){const e=d,t=!0===r?1/0:r;d=()=>traverse(e(),t)}const g=getCurrentScope(),v=()=>{u.stop(),g&&g.active&&remove(g.effects,u)};if(i&&t){const e=t;t=(...t)=>{e(...t),v()}}let y=m?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const b=e=>{if(1&u.flags&&(u.dirty||e))if(t){const e=u.run();if(r||h||(m?e.some(((e,t)=>hasChanged(e,y[t]))):hasChanged(e,y))){p&&p();const n=activeWatcher;activeWatcher=u;try{const n=[e,y===INITIAL_WATCHER_VALUE?void 0:m&&y[0]===INITIAL_WATCHER_VALUE?[]:y,f];s?s(t,3,n):t(...n),y=e}finally{activeWatcher=n}}}else u.run()};return l&&l(b),u=new ReactiveEffect(d),u.scheduler=a?()=>a(b,!1):b,f=e=>onWatcherCleanup(e,!1,u),p=u.onStop=()=>{const e=cleanupMap.get(u);if(e){if(s)s(e,4);else for(const t of e)t();cleanupMap.delete(u)}},t?o?b(!0):y=u.run():a?a(b.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function traverse(e,t=1/0,n){if(t<=0||!isObject$8(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,isRef(e))traverse(e.value,t,n);else if(isArray$6(e))for(let o=0;o<e.length;o++)traverse(e[o],t,n);else if(isSet$1(e)||isMap$1(e))e.forEach((e=>{traverse(e,t,n)}));else if(isPlainObject$4(e)){for(const o in e)traverse(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&traverse(e[o],t,n)}return e}const stack=[];function pushWarningContext(e){stack.push(e)}function popWarningContext(){stack.pop()}let isWarning=!1;function warn$1(e,...t){if(isWarning)return;isWarning=!0,pauseTracking();const n=stack.length?stack[stack.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=getComponentTrace();if(o)callWithErrorHandling(o,n,11,[e+t.map((e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${formatComponentName(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...formatTrace(r))}resetTracking(),isWarning=!1}function getComponentTrace(){let e=stack[stack.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function formatTrace(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...formatTraceEntry(e))})),t}function formatTraceEntry({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${formatComponentName(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...formatProps(e.props),i]:[r+i]}function formatProps(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...formatProp(n,e[n]))})),n.length>3&&t.push(" ..."),t}function formatProp(e,t,n){return isString$4(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):isFunction$5(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),n?t:[`${e}=`,t])}function assertNumber(e,t){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function callWithErrorHandling(e,t,n,o){try{return o?e(...o):e()}catch(r){handleError(r,t,n)}}function callWithAsyncErrorHandling(e,t,n,o){if(isFunction$5(e)){const r=callWithErrorHandling(e,t,n,o);return r&&isPromise(r)&&r.catch((e=>{handleError(e,t,n)})),r}if(isArray$6(e)){const r=[];for(let i=0;i<e.length;i++)r.push(callWithAsyncErrorHandling(e[i],t,n,o));return r}}function handleError(e,t,n,o=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||EMPTY_OBJ$1;if(t){let o=t.parent;const r=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,a))return;o=o.parent}if(i)return pauseTracking(),callWithErrorHandling(i,null,10,[e,r,a]),void resetTracking()}logError$1(e,n,r,o,a)}function logError$1(e,t,n,o=!0,r=!1){if(r)throw e}const queue=[];let flushIndex=-1;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex$1(e){let t=flushIndex+1,n=queue.length;for(;t<n;){const o=t+n>>>1,r=queue[o],i=getId$1(r);i<e||i===e&&2&r.flags?t=o+1:n=o}return t}function queueJob(e){if(!(1&e.flags)){const t=getId$1(e),n=queue[queue.length-1];!n||!(2&e.flags)&&t>=getId$1(n)?queue.push(e):queue.splice(findInsertionIndex$1(t),0,e),e.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(e){isArray$6(e)?pendingPostFlushCbs.push(...e):activePostFlushCbs&&-1===e.id?activePostFlushCbs.splice(postFlushIndex+1,0,e):1&e.flags||(pendingPostFlushCbs.push(e),e.flags|=1),queueFlush()}function flushPreFlushCbs(e,t,n=flushIndex+1){for(;n<queue.length;n++){const t=queue[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;queue.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const e=[...new Set(pendingPostFlushCbs)].sort(((e,t)=>getId$1(e)-getId$1(t)));if(pendingPostFlushCbs.length=0,activePostFlushCbs)return void activePostFlushCbs.push(...e);for(activePostFlushCbs=e,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const e=activePostFlushCbs[postFlushIndex];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}activePostFlushCbs=null,postFlushIndex=0}}const getId$1=e=>null==e.id?2&e.flags?-1:1/0:e.id;function flushJobs(e){try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const e=queue[flushIndex];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),callWithErrorHandling(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;flushIndex<queue.length;flushIndex++){const e=queue[flushIndex];e&&(e.flags&=-2)}flushIndex=-1,queue.length=0,flushPostFlushCbs(),currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools$1,buffer=[];function setDevtoolsHook$1(e,t){var n,o;if(devtools$1=e,devtools$1)devtools$1.enabled=!0,buffer.forEach((({event:e,args:t})=>devtools$1.emit(e,...t))),buffer=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(n=window.navigator)?void 0:n.userAgent)?void 0:o.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{setDevtoolsHook$1(e,t)})),setTimeout((()=>{devtools$1||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])}),3e3)}else buffer=[]}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function pushScopeId(e){currentScopeId=e}function popScopeId(){currentScopeId=null}const withScopeId=e=>withCtx;function withCtx(e,t=currentRenderingInstance,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&setBlockTracking(-1);const r=setCurrentRenderingInstance(t);let i;try{i=e(...n)}finally{setCurrentRenderingInstance(r),o._d&&setBlockTracking(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function withDirectives(e,t){if(null===currentRenderingInstance)return e;const n=getComponentPublicInstance(currentRenderingInstance),o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[e,i,a,l=EMPTY_OBJ$1]=t[r];e&&(isFunction$5(e)&&(e={mounted:e,updated:e}),e.deep&&traverse(i),o.push({dir:e,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function invokeDirectiveHook(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];i&&(l.oldValue=i[a].value);let s=l.dir[o];s&&(pauseTracking(),callWithAsyncErrorHandling(s,n,8,[e.el,l,e,t]),resetTracking())}}const TeleportEndKey=Symbol("_vte"),isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||""===e.disabled),isTeleportDeferred=e=>e&&(e.defer||""===e.defer),isTargetSVG=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,isTargetMathML=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,resolveTarget=(e,t)=>{const n=e&&e.to;if(isString$4(n)){if(t){return t(n)}return null}return n},TeleportImpl={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,l,s,c){const{mc:u,pc:d,pbc:p,o:{insert:f,querySelector:h,createText:m,createComment:g}}=c,v=isTeleportDisabled(t.props);let{shapeFlag:y,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");f(e,n,o),f(c,n,o);const d=(e,t)=>{16&y&&(r&&r.isCE&&(r.ce._teleportTarget=e),u(b,e,t,r,i,a,l,s))},p=()=>{const e=t.target=resolveTarget(t.props,h),n=prepareAnchor(e,t,m,f);e&&("svg"!==a&&isTargetSVG(e)?a="svg":"mathml"!==a&&isTargetMathML(e)&&(a="mathml"),v||(d(e,n),updateCssVars(t,!1)))};v&&(d(n,c),updateCssVars(t,!0)),isTeleportDeferred(t.props)?queuePostRenderEffect((()=>{p(),t.el.__isMounted=!0}),i):p()}else{if(isTeleportDeferred(t.props)&&!e.el.__isMounted)return void queuePostRenderEffect((()=>{TeleportImpl.process(e,t,n,o,r,i,a,l,s,c),delete e.el.__isMounted}),i);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,f=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=isTeleportDisabled(e.props),y=g?n:f,b=g?u:m;if("svg"===a||isTargetSVG(f)?a="svg":("mathml"===a||isTargetMathML(f))&&(a="mathml"),_?(p(e.dynamicChildren,_,y,r,i,a,l),traverseStaticChildren(e,t,!0)):s||d(e,t,y,b,r,i,a,l,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=resolveTarget(t.props,h);e&&moveTeleport(t,e,null,c,0)}else g&&moveTeleport(t,f,m,c,1);updateCssVars(t,v)}},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:a,children:l,anchor:s,targetStart:c,targetAnchor:u,target:d,props:p}=e;if(d&&(r(c),r(u)),i&&r(s),16&a){const e=i||!isTeleportDisabled(p);for(let r=0;r<l.length;r++){const i=l[r];o(i,t,n,e,!!i.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:s,children:c,props:u}=e,d=2===i;if(d&&o(a,t,n),(!d||isTeleportDisabled(u))&&16&s)for(let p=0;p<c.length;p++)r(c[p],t,n,2);d&&o(l,t,n)}function hydrateTeleport(e,t,n,o,r,i,{o:{nextSibling:a,parentNode:l,querySelector:s,insert:c,createText:u}},d){const p=t.target=resolveTarget(t.props,s);if(p){const s=isTeleportDisabled(t.props),f=p._lpa||p.firstChild;if(16&t.shapeFlag)if(s)t.anchor=d(a(e),t,l(e),n,o,r,i),t.targetStart=f,t.targetAnchor=f&&a(f);else{t.anchor=a(e);let l=f;for(;l;){if(l&&8===l.nodeType)if("teleport start anchor"===l.data)t.targetStart=l;else if("teleport anchor"===l.data){t.targetAnchor=l,p._lpa=t.targetAnchor&&a(t.targetAnchor);break}l=a(l)}t.targetAnchor||prepareAnchor(p,t,u,c),d(f&&a(f),t,p,n,o,r,i)}updateCssVars(t,s)}return t.anchor&&a(t.anchor)}const Teleport$1=TeleportImpl;function updateCssVars(e,t){const n=e.ctx;if(n&&n.ut){let o,r;for(t?(o=e.el,r=e.anchor):(o=e.targetStart,r=e.targetAnchor);o&&o!==r;)1===o.nodeType&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function prepareAnchor(e,t,n,o){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[TeleportEndKey]=i,e&&(o(r,e),o(i,e)),i}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted((()=>{e.isMounted=!0})),onBeforeUnmount((()=>{e.isUnmounting=!0})),e}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=e=>{const t=e.subTree;return t.component?recursiveGetSubtree(t.component):t},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(e,{slots:t}){const n=getCurrentInstance(),o=useTransitionState();return()=>{const r=t.default&&getTransitionRawChildren(t.default(),!0);if(!r||!r.length)return;const i=findNonCommentChild(r),a=toRaw(e),{mode:l}=a;if(o.isLeaving)return emptyPlaceholder(i);const s=getInnerChild$1(i);if(!s)return emptyPlaceholder(i);let c=resolveTransitionHooks(s,a,o,n,(e=>c=e));s.type!==Comment$1&&setTransitionHooks(s,c);let u=n.subTree&&getInnerChild$1(n.subTree);if(u&&u.type!==Comment$1&&!isSameVNodeType(s,u)&&recursiveGetSubtree(n).type!==Comment$1){let e=resolveTransitionHooks(u,a,o,n);if(setTransitionHooks(u,e),"out-in"===l&&s.type!==Comment$1)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},emptyPlaceholder(i);"in-out"===l&&s.type!==Comment$1?e.delayLeave=(e,t,n)=>{getLeavingNodesForType(o,u)[String(u.key)]=u,e[leaveCbKey]=()=>{t(),e[leaveCbKey]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function findNonCommentChild(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==Comment$1){t=n;break}return t}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function resolveTransitionHooks(e,t,n,o,r){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=getLeavingNodesForType(n,e),k=(e,t)=>{e&&callWithAsyncErrorHandling(e,o,9,t)},x=(e,t)=>{const n=t[1];k(e,t),isArray$6(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:a,persisted:l,beforeEnter(t){let o=s;if(!n.isMounted){if(!i)return;o=g||s}t[leaveCbKey]&&t[leaveCbKey](!0);const r=w[_];r&&isSameVNodeType(e,r)&&r.el[leaveCbKey]&&r.el[leaveCbKey](),k(o,[t])},enter(e){let t=c,o=u,r=d;if(!n.isMounted){if(!i)return;t=v||c,o=y||u,r=b||d}let a=!1;const l=e[enterCbKey$1]=t=>{a||(a=!0,k(t?r:o,[e]),S.delayedLeave&&S.delayedLeave(),e[enterCbKey$1]=void 0)};t?x(t,[e,l]):l()},leave(t,o){const r=String(e.key);if(t[enterCbKey$1]&&t[enterCbKey$1](!0),n.isUnmounting)return o();k(p,[t]);let i=!1;const a=t[leaveCbKey]=n=>{i||(i=!0,o(),k(n?m:h,[t]),t[leaveCbKey]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?x(f,[t,a]):a()},clone(e){const i=resolveTransitionHooks(e,t,n,o,r);return r&&r(i),i}};return S}function emptyPlaceholder(e){if(isKeepAlive(e))return(e=cloneVNode(e)).children=null,e}function getInnerChild$1(e){if(!isKeepAlive(e))return isTeleport(e.type)&&e.children?findNonCommentChild(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&isFunction$5(n.default))return n.default()}}function setTransitionHooks(e,t){6&e.shapeFlag&&e.component?(e.transition=t,setTransitionHooks(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const l=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===Fragment?(128&a.patchFlag&&r++,o=o.concat(getTransitionRawChildren(a.children,t,l))):(t||a.type!==Comment$1)&&o.push(null!=l?cloneVNode(a,{key:l}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}function defineComponent(e,t){return isFunction$5(e)?(()=>extend$2({name:e.name},t,{setup:e}))():e}function useId$1(){const e=getCurrentInstance();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function markAsyncBoundary(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function useTemplateRef(e){const t=getCurrentInstance(),n=shallowRef(null);if(t){const o=t.refs===EMPTY_OBJ$1?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function setRef(e,t,n,o,r=!1){if(isArray$6(e))return void e.forEach(((e,i)=>setRef(e,t&&(isArray$6(t)?t[i]:t),n,o,r)));if(isAsyncWrapper(o)&&!r)return void(512&o.shapeFlag&&o.type.__asyncResolved&&o.component.subTree.component&&setRef(e,t,n,o.component.subTree));const i=4&o.shapeFlag?getComponentPublicInstance(o.component):o.el,a=r?null:i,{i:l,r:s}=e,c=t&&t.r,u=l.refs===EMPTY_OBJ$1?l.refs={}:l.refs,d=l.setupState,p=toRaw(d),f=d===EMPTY_OBJ$1?()=>!1:e=>hasOwn$1(p,e);if(null!=c&&c!==s&&(isString$4(c)?(u[c]=null,f(c)&&(d[c]=null)):isRef(c)&&(c.value=null)),isFunction$5(s))callWithErrorHandling(s,l,12,[a,u]);else{const t=isString$4(s),o=isRef(s);if(t||o){const l=()=>{if(e.f){const n=t?f(s)?d[s]:u[s]:s.value;r?isArray$6(n)&&remove(n,i):isArray$6(n)?n.includes(i)||n.push(i):t?(u[s]=[i],f(s)&&(d[s]=u[s])):(s.value=[i],e.k&&(u[e.k]=s.value))}else t?(u[s]=a,f(s)&&(d[s]=a)):o&&(s.value=a,e.k&&(u[e.k]=a))};a?(l.id=-1,queuePostRenderEffect(l,n)):l()}}}let hasLoggedMismatchError=!1;const logMismatchError=()=>{hasLoggedMismatchError||(hasLoggedMismatchError=!0)},isSVGContainer=e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName,isMathMLContainer=e=>e.namespaceURI.includes("MathML"),getContainerType=e=>{if(1===e.nodeType)return isSVGContainer(e)?"svg":isMathMLContainer(e)?"mathml":void 0},isComment$1=e=>8===e.nodeType;function createHydrationFunctions(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:i,parentNode:a,remove:l,insert:s,createComment:c}}=e,u=(n,o,l,c,y,b=!1)=>{b=b||!!o.dynamicChildren;const _=isComment$1(n)&&"["===n.data,w=()=>h(n,o,l,c,y,_),{type:k,ref:x,shapeFlag:S,patchFlag:C}=o;let E=n.nodeType;o.el=n,-2===C&&(b=!1,o.dynamicChildren=null);let T=null;switch(k){case Text$2:3!==E?""===o.children?(s(o.el=r(""),a(n),n),T=n):T=w():(n.data!==o.children&&(logMismatchError(),n.data=o.children),T=i(n));break;case Comment$1:v(n)?(T=i(n),g(o.el=n.content.firstChild,n,l)):T=8!==E||_?w():i(n);break;case Static:if(_&&(E=(n=i(n)).nodeType),1===E||3===E){T=n;const e=!o.children.length;for(let t=0;t<o.staticCount;t++)e&&(o.children+=1===T.nodeType?T.outerHTML:T.data),t===o.staticCount-1&&(o.anchor=T),T=i(T);return _?i(T):T}w();break;case Fragment:T=_?f(n,o,l,c,y,b):w();break;default:if(1&S)T=1===E&&o.type.toLowerCase()===n.tagName.toLowerCase()||v(n)?d(n,o,l,c,y,b):w();else if(6&S){o.slotScopeIds=y;const e=a(n);if(T=_?m(n):isComment$1(n)&&"teleport start"===n.data?m(n,n.data,"teleport end"):i(n),t(o,e,null,l,c,getContainerType(e),b),isAsyncWrapper(o)&&!o.type.__asyncResolved){let t;_?(t=createVNode$1(Fragment),t.anchor=T?T.previousSibling:e.lastChild):t=3===n.nodeType?createTextVNode(""):createVNode$1("div"),t.el=n,o.component.subTree=t}}else 64&S?T=8!==E?w():o.type.hydrate(n,o,l,c,y,b,e,p):128&S&&(T=o.type.hydrate(n,o,l,c,getContainerType(a(n)),y,b,e,u))}return null!=x&&setRef(x,null,c,o),T},d=(e,t,n,r,i,a)=>{a=a||!!t.dynamicChildren;const{type:s,props:c,patchFlag:u,shapeFlag:d,dirs:f,transition:h}=t,m="input"===s||"option"===s;if(m||-1!==u){f&&invokeDirectiveHook(t,null,n,"created");let s,y=!1;if(v(e)){y=needTransition(null,h)&&n&&n.vnode.props&&n.vnode.props.appear;const o=e.content.firstChild;y&&h.beforeEnter(o),g(o,e,n),t.el=e=o}if(16&d&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,r,i,a);for(;o;){isMismatchAllowed(e,1)||logMismatchError();const t=o;o=o.nextSibling,l(t)}}else if(8&d){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&&(isMismatchAllowed(e,0)||logMismatchError(),e.textContent=t.children)}if(c)if(m||!a||48&u){const t=e.tagName.includes("-");for(const r in c)(m&&(r.endsWith("value")||"indeterminate"===r)||isOn(r)&&!isReservedProp(r)||"."===r[0]||t)&&o(e,r,null,c[r],void 0,n)}else if(c.onClick)o(e,"onClick",null,c.onClick,void 0,n);else if(4&u&&isReactive(c.style))for(const e in c.style)c.style[e];(s=c&&c.onVnodeBeforeMount)&&invokeVNodeHook(s,n,t),f&&invokeDirectiveHook(t,null,n,"beforeMount"),((s=c&&c.onVnodeMounted)||f||y)&&queueEffectWithSuspense((()=>{s&&invokeVNodeHook(s,n,t),y&&h.enter(e),f&&invokeDirectiveHook(t,null,n,"mounted")}),r)}return e.nextSibling},p=(e,t,o,a,l,c,d)=>{d=d||!!t.dynamicChildren;const p=t.children,f=p.length;for(let h=0;h<f;h++){const t=d?p[h]:p[h]=normalizeVNode(p[h]),m=t.type===Text$2;e?(m&&!d&&h+1<f&&normalizeVNode(p[h+1]).type===Text$2&&(s(r(e.data.slice(t.children.length)),o,i(e)),e.data=t.children),e=u(e,t,a,l,c,d)):m&&!t.children?s(t.el=r(""),o):(isMismatchAllowed(o,1)||logMismatchError(),n(null,t,o,null,a,l,getContainerType(o),c))}return e},f=(e,t,n,o,r,l)=>{const{slotScopeIds:u}=t;u&&(r=r?r.concat(u):u);const d=a(e),f=p(i(e),t,d,n,o,r,l);return f&&isComment$1(f)&&"]"===f.data?i(t.anchor=f):(logMismatchError(),s(t.anchor=c("]"),d,f),f)},h=(e,t,o,r,s,c)=>{if(isMismatchAllowed(e.parentElement,1)||logMismatchError(),t.el=null,c){const t=m(e);for(;;){const n=i(e);if(!n||n===t)break;l(n)}}const u=i(e),d=a(e);return l(e),n(null,t,d,u,o,r,getContainerType(d),s),o&&(o.vnode.el=t.el,updateHOCHostEl(o,t.el)),u},m=(e,t="[",n="]")=>{let o=0;for(;e;)if((e=i(e))&&isComment$1(e)&&(e.data===t&&o++,e.data===n)){if(0===o)return i(e);o--}return e},g=(e,t,n)=>{const o=t.parentNode;o&&o.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},v=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),flushPostFlushCbs(),void(t._vnode=e);u(t.firstChild,e,null,null,null),flushPostFlushCbs(),t._vnode=e},u]}const allowMismatchAttr="data-allow-mismatch",MismatchTypeString={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function isMismatchAllowed(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(allowMismatchAttr);)e=e.parentElement;const n=e&&e.getAttribute(allowMismatchAttr);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(MismatchTypeString[t])}}const requestIdleCallback=getGlobalThis().requestIdleCallback||(e=>setTimeout(e,1)),cancelIdleCallback=getGlobalThis().cancelIdleCallback||(e=>clearTimeout(e)),hydrateOnIdle=(e=1e4)=>t=>{const n=requestIdleCallback(t,{timeout:e});return()=>cancelIdleCallback(n)};function elementIsVisibleInViewport(e){const{top:t,left:n,bottom:o,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:a}=window;return(t>0&&t<i||o>0&&o<i)&&(n>0&&n<a||r>0&&r<a)}const hydrateOnVisible=e=>(t,n)=>{const o=new IntersectionObserver((e=>{for(const n of e)if(n.isIntersecting){o.disconnect(),t();break}}),e);return n((e=>{if(e instanceof Element)return elementIsVisibleInViewport(e)?(t(),o.disconnect(),!1):void o.observe(e)})),()=>o.disconnect()},hydrateOnMediaQuery=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},hydrateOnInteraction=(e=[])=>(t,n)=>{isString$4(e)&&(e=[e]);let o=!1;const r=e=>{o||(o=!0,i(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},i=()=>{n((t=>{for(const n of e)t.removeEventListener(n,r)}))};return n((t=>{for(const n of e)t.addEventListener(n,r,{once:!0})})),i};function forEachElement(e,t){if(isComment$1(e)&&"["===e.data){let n=1,o=e.nextSibling;for(;o;){if(1===o.nodeType){if(!1===t(o))break}else if(isComment$1(o))if("]"===o.data){if(0==--n)break}else"["===o.data&&n++;o=o.nextSibling}}else t(e)}const isAsyncWrapper=e=>!!e.type.__asyncLoader;function defineAsyncComponent(e){isFunction$5(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,hydrate:i,timeout:a,suspensible:l=!0,onError:s}=e;let c,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((d++,u=null,p()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,t,n){const o=i?()=>{const o=i(n,(t=>forEachElement(e,t)));o&&(t.bum||(t.bum=[])).push(o)}:n;c?o():p().then((()=>!t.isUnmounted&&o()))},get __asyncResolved(){return c},setup(){const e=currentInstance;if(markAsyncBoundary(e),c)return()=>createInnerComp(c,e);const t=t=>{u=null,handleError(t,e,13,!o)};if(l&&e.suspense||isInSSRComponentSetup)return p().then((t=>()=>createInnerComp(t,e))).catch((e=>(t(e),()=>o?createVNode$1(o,{error:e}):null)));const i=ref(!1),s=ref(),d=ref(!!r);return r&&setTimeout((()=>{d.value=!1}),r),null!=a&&setTimeout((()=>{if(!i.value&&!s.value){const e=new Error(`Async component timed out after ${a}ms.`);t(e),s.value=e}}),a),p().then((()=>{i.value=!0,e.parent&&isKeepAlive(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),s.value=e})),()=>i.value&&c?createInnerComp(c,e):s.value&&o?createVNode$1(o,{error:s.value}):n&&!d.value?createVNode$1(n):void 0}})}function createInnerComp(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=createVNode$1(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const isKeepAlive=e=>e.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=getCurrentInstance(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=new Map,i=new Set;let a=null;const l=n.suspense,{renderer:{p:s,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function f(e){resetShapeFlag(e),u(e,n,l,!0)}function h(e){r.forEach(((t,n)=>{const o=getComponentName(t.type);o&&!e(o)&&m(n)}))}function m(e){const t=r.get(e);!t||a&&isSameVNodeType(t,a)?a&&resetShapeFlag(a):f(t),r.delete(e),i.delete(e)}o.activate=(e,t,n,o,r)=>{const i=e.component;c(e,t,n,0,l),s(i.vnode,e,t,n,i,l,o,e.slotScopeIds,r),queuePostRenderEffect((()=>{i.isDeactivated=!1,i.a&&invokeArrayFns(i.a);const t=e.props&&e.props.onVnodeMounted;t&&invokeVNodeHook(t,i.parent,e)}),l)},o.deactivate=e=>{const t=e.component;invalidateMount(t.m),invalidateMount(t.a),c(e,p,null,1,l),queuePostRenderEffect((()=>{t.da&&invokeArrayFns(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&invokeVNodeHook(n,t.parent,e),t.isDeactivated=!0}),l)},watch((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>matches(e,t))),t&&h((e=>!matches(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&(isSuspense(n.subTree.type)?queuePostRenderEffect((()=>{r.set(g,getInnerChild(n.subTree))}),n.subTree.suspense):r.set(g,getInnerChild(n.subTree)))};return onMounted(v),onUpdated(v),onBeforeUnmount((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=getInnerChild(t);if(e.type!==r.type||e.key!==r.key)f(e);else{resetShapeFlag(r);const e=r.component.da;e&&queuePostRenderEffect(e,o)}}))})),()=>{if(g=null,!t.default)return a=null;const n=t.default(),o=n[0];if(n.length>1)return a=null,n;if(!(isVNode(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return a=null,o;let l=getInnerChild(o);if(l.type===Comment$1)return a=null,l;const s=l.type,c=getComponentName(isAsyncWrapper(l)?l.type.__asyncResolved||{}:s),{include:u,exclude:d,max:p}=e;if(u&&(!c||!matches(u,c))||d&&c&&matches(d,c))return l.shapeFlag&=-257,a=l,o;const f=null==l.key?s:l.key,h=r.get(f);return l.el&&(l=cloneVNode(l),128&o.shapeFlag&&(o.ssContent=l)),g=f,h?(l.el=h.el,l.component=h.component,l.transition&&setTransitionHooks(l,l.transition),l.shapeFlag|=512,i.delete(f),i.add(f)):(i.add(f),p&&i.size>parseInt(p,10)&&m(i.values().next().value)),l.shapeFlag|=256,a=l,isSuspense(o.type)?o:l}}},KeepAlive=KeepAliveImpl;function matches(e,t){return isArray$6(e)?e.some((e=>matches(e,t))):isString$4(e)?e.split(",").includes(t):!!isRegExp$2(e)&&(e.lastIndex=0,e.test(t))}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,n=currentInstance){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(injectHook(t,o,n),n){let e=n.parent;for(;e&&e.parent;)isKeepAlive(e.parent.vnode)&&injectToKeepAliveRoot(o,t,n,e),e=e.parent}}function injectToKeepAliveRoot(e,t,n,o){const r=injectHook(t,e,o,!0);onUnmounted((()=>{remove(o[t],r)}),n)}function resetShapeFlag(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function getInnerChild(e){return 128&e.shapeFlag?e.ssContent:e}function injectHook(e,t,n=currentInstance,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{pauseTracking();const r=setCurrentInstance(n),i=callWithAsyncErrorHandling(t,n,e,o);return r(),resetTracking(),i});return o?r.unshift(i):r.push(i),i}}const createHook=e=>(t,n=currentInstance)=>{isInSSRComponentSetup&&"sp"!==e||injectHook(e,((...e)=>t(...e)),n)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(e,t){return resolveAsset(COMPONENTS,e,!0,t)||e}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(e){return isString$4(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveDirective(e){return resolveAsset(DIRECTIVES,e)}function resolveAsset(e,t,n=!0,o=!1){const r=currentRenderingInstance||currentInstance;if(r){const n=r.type;if(e===COMPONENTS){const e=getComponentName(n,!1);if(e&&(e===t||e===camelize(t)||e===capitalize$1(camelize(t))))return n}const i=resolve(r[e]||n[e],t)||resolve(r.appContext[e],t);return!i&&o?n:i}}function resolve(e,t){return e&&(e[t]||e[camelize(t)]||e[capitalize$1(camelize(t))])}function renderList(e,t,n,o){let r;const i=n&&n[o],a=isArray$6(e);if(a||isString$4(e)){let n=!1;a&&isReactive(e)&&(n=!isShallow(e),e=shallowReadArray(e)),r=new Array(e.length);for(let o=0,a=e.length;o<a;o++)r[o]=t(n?toReactive(e[o]):e[o],o,void 0,i&&i[o])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(isObject$8(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o<a;o++){const a=n[o];r[o]=t(e[a],a,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function createSlots(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(isArray$6(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.key?(...e)=>{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e}function renderSlot(e,t,n={},o,r){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce)return"default"!==t&&(n.name=t),openBlock(),createBlock(Fragment,null,[createVNode$1("slot",n,o&&o())],64);let i=e[t];i&&i._c&&(i._d=!1),openBlock();const a=i&&ensureValidVNode(i(n)),l=n.key||a&&a.key,s=createBlock(Fragment,{key:(l&&!isSymbol$1(l)?l:`_${t}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&1===e._?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function ensureValidVNode(e){return e.some((e=>!isVNode(e)||e.type!==Comment$1&&!(e.type===Fragment&&!ensureValidVNode(e.children))))?e:null}function toHandlers(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:toHandlerKey(o)]=e[o];return n}const getPublicInstance=e=>e?isStatefulComponent(e)?getComponentPublicInstance(e):getPublicInstance(e.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{queueJob(e.update)}),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),hasSetupBinding=(e,t)=>e!==EMPTY_OBJ$1&&!e.__isScriptSetup&&hasOwn$1(e,t),PublicInstanceProxyHandlers={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:l,appContext:s}=e;let c;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(hasSetupBinding(o,t))return a[t]=1,o[t];if(r!==EMPTY_OBJ$1&&hasOwn$1(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&hasOwn$1(c,t))return a[t]=3,i[t];if(n!==EMPTY_OBJ$1&&hasOwn$1(n,t))return a[t]=4,n[t];shouldCacheAccess&&(a[t]=0)}}const u=publicPropertiesMap[t];let d,p;return u?("$attrs"===t&&track(e.attrs,"get",""),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==EMPTY_OBJ$1&&hasOwn$1(n,t)?(a[t]=4,n[t]):(p=s.config.globalProperties,hasOwn$1(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return hasSetupBinding(r,t)?(r[t]=n,!0):o!==EMPTY_OBJ$1&&hasOwn$1(o,t)?(o[t]=n,!0):!hasOwn$1(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let l;return!!n[a]||e!==EMPTY_OBJ$1&&hasOwn$1(e,a)||hasSetupBinding(t,a)||(l=i[0])&&hasOwn$1(l,a)||hasOwn$1(o,a)||hasOwn$1(publicPropertiesMap,a)||hasOwn$1(r.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:hasOwn$1(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get(e,t){if(t!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!isGloballyAllowed(t)});function defineProps(){return null}function defineEmits(){return null}function defineExpose(e){}function defineOptions(e){}function defineSlots(){return null}function defineModel(){}function withDefaults(e,t){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const e=getCurrentInstance();return e.setupContext||(e.setupContext=createSetupContext(e))}function normalizePropsOrEmits(e){return isArray$6(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function mergeDefaults(e,t){const n=normalizePropsOrEmits(e);for(const o in t){if(o.startsWith("__skip"))continue;let e=n[o];e?isArray$6(e)||isFunction$5(e)?e=n[o]={type:e,default:t[o]}:e.default=t[o]:null===e&&(e=n[o]={default:t[o]}),e&&t[`__skip_${o}`]&&(e.skipFactory=!0)}return n}function mergeModels(e,t){return e&&t?isArray$6(e)&&isArray$6(t)?e.concat(t):extend$2({},normalizePropsOrEmits(e),normalizePropsOrEmits(t)):e||t}function createPropsRestProxy(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function withAsyncContext(e){const t=getCurrentInstance();let n=e();return unsetCurrentInstance(),isPromise(n)&&(n=n.catch((e=>{throw setCurrentInstance(t),e}))),[n,()=>setCurrentInstance(t)]}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),n=e.proxy,o=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:l,provide:s,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:f,updated:h,activated:m,deactivated:g,beforeDestroy:v,beforeUnmount:y,destroyed:b,unmounted:_,render:w,renderTracked:k,renderTriggered:x,errorCaptured:S,serverPrefetch:C,expose:E,inheritAttrs:T,components:A,directives:$,filters:I}=t;if(c&&resolveInjections(c,o,null),a)for(const P in a){const e=a[P];isFunction$5(e)&&(o[P]=e.bind(n))}if(r){const t=r.call(n,n);isObject$8(t)&&(e.data=reactive(t))}if(shouldCacheAccess=!0,i)for(const P in i){const e=i[P],t=isFunction$5(e)?e.bind(n,n):isFunction$5(e.get)?e.get.bind(n,n):NOOP,r=!isFunction$5(e)&&isFunction$5(e.set)?e.set.bind(n):NOOP,a=computed({get:t,set:r});Object.defineProperty(o,P,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const P in l)createWatcher(l[P],o,n,P);if(s){const e=isFunction$5(s)?s.call(n):s;Reflect.ownKeys(e).forEach((t=>{provide(t,e[t])}))}function M(e,t){isArray$6(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&callHook$1(u,e,"c"),M(onBeforeMount,d),M(onMounted,p),M(onBeforeUpdate,f),M(onUpdated,h),M(onActivated,m),M(onDeactivated,g),M(onErrorCaptured,S),M(onRenderTracked,k),M(onRenderTriggered,x),M(onBeforeUnmount,y),M(onUnmounted,_),M(onServerPrefetch,C),isArray$6(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===NOOP&&(e.render=w),null!=T&&(e.inheritAttrs=T),A&&(e.components=A),$&&(e.directives=$),C&&markAsyncBoundary(e)}function resolveInjections(e,t,n=NOOP){isArray$6(e)&&(e=normalizeInject(e));for(const o in e){const n=e[o];let r;r=isObject$8(n)?"default"in n?inject(n.from||o,n.default,!0):inject(n.from||o):inject(n),isRef(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}function callHook$1(e,t,n){callWithAsyncErrorHandling(isArray$6(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,o){let r=o.includes(".")?createPathGetter(n,o):()=>n[o];if(isString$4(e)){const n=t[e];isFunction$5(n)&&watch(r,n)}else if(isFunction$5(e))watch(r,e.bind(n));else if(isObject$8(e))if(isArray$6(e))e.forEach((e=>createWatcher(e,t,n,o)));else{const o=isFunction$5(e.handler)?e.handler.bind(n):t[e.handler];isFunction$5(o)&&watch(r,o,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let s;return l?s=l:r.length||n||o?(s={},r.length&&r.forEach((e=>mergeOptions$2(s,e,a,!0))),mergeOptions$2(s,t,a)):s=t,isObject$8(t)&&i.set(t,s),s}function mergeOptions$2(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mergeOptions$2(e,i,n,!0),r&&r.forEach((t=>mergeOptions$2(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=internalOptionMergeStrats[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend$2(isFunction$5(e)?e.call(this,this):e,isFunction$5(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$6(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?extend$2(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?isArray$6(e)&&isArray$6(t)?[...new Set([...e,...t])]:extend$2(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(null!=t?t:{})):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;const n=extend$2(Object.create(null),e);for(const o in t)n[o]=mergeAsArray(e[o],t[o]);return n}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI(e,t){return function(n,o=null){isFunction$5(n)||(n=extend$2({},n)),null==o||isObject$8(o)||(o=null);const r=createAppContext(),i=new WeakSet,a=[];let l=!1;const s=r.app={_uid:uid$1++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:version$1,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&isFunction$5(e.install)?(i.add(e),e.install(s,...t)):isFunction$5(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(i,a,c){if(!l){const u=s._ceVNode||createVNode$1(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),a&&t?t(u,i):e(u,i,c),l=!0,s._container=i,i.__vue_app__=s,getComponentPublicInstance(u.component)}},onUnmount(e){a.push(e)},unmount(){l&&(callWithAsyncErrorHandling(a,s._instance,16),e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,s),runWithContext(e){const t=currentApp;currentApp=s;try{return e()}finally{currentApp=t}}};return s}}let currentApp=null;function provide(e,t){if(currentInstance){let n=currentInstance.provides;const o=currentInstance.parent&¤tInstance.parent.provides;o===n&&(n=currentInstance.provides=Object.create(o)),n[e]=t}else;}function inject(e,t,n=!1){const o=currentInstance||currentRenderingInstance;if(o||currentApp){const r=currentApp?currentApp._context.provides:o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&isFunction$5(t)?t.call(o&&o.proxy):t}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=e=>Object.getPrototypeOf(e)===internalObjectProto;function initProps$1(e,t,n,o=!1){const r={},i=createInternalObject();e.propsDefaults=Object.create(null),setFullProps(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:shallowReactive(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function updateProps$2(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,l=toRaw(r),[s]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;setFullProps(e,t,r,i)&&(c=!0);for(const i in l)t&&(hasOwn$1(t,i)||(o=hyphenate(i))!==i&&hasOwn$1(t,o))||(s?!n||void 0===n[i]&&void 0===n[o]||(r[i]=resolvePropValue(s,l,i,void 0,e,!0)):delete r[i]);if(i!==l)for(const e in i)t&&hasOwn$1(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(isEmitListener(e.emitsOptions,a))continue;const u=t[a];if(s)if(hasOwn$1(i,a))u!==i[a]&&(i[a]=u,c=!0);else{const t=camelize(a);r[t]=resolvePropValue(s,l,t,u,e,!1)}else u!==i[a]&&(i[a]=u,c=!0)}}c&&trigger$3(e.attrs,"set","")}function setFullProps(e,t,n,o){const[r,i]=e.propsOptions;let a,l=!1;if(t)for(let s in t){if(isReservedProp(s))continue;const c=t[s];let u;r&&hasOwn$1(r,u=camelize(s))?i&&i.includes(u)?(a||(a={}))[u]=c:n[u]=c:isEmitListener(e.emitsOptions,s)||s in o&&c===o[s]||(o[s]=c,l=!0)}if(i){const t=toRaw(n),o=a||EMPTY_OBJ$1;for(let a=0;a<i.length;a++){const l=i[a];n[l]=resolvePropValue(r,t,l,o[l],e,!hasOwn$1(o,l))}}return l}function resolvePropValue(e,t,n,o,r,i){const a=e[n];if(null!=a){const e=hasOwn$1(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&!a.skipFactory&&isFunction$5(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const a=setCurrentInstance(r);o=i[n]=e.call(null,t),a()}}else o=e;r.ce&&r.ce._setProp(n,o)}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==hyphenate(n)||(o=!0))}return o}const mixinPropsCache=new WeakMap;function normalizePropsOptions(e,t,n=!1){const o=n?mixinPropsCache:t.propsCache,r=o.get(e);if(r)return r;const i=e.props,a={},l=[];let s=!1;if(!isFunction$5(e)){const o=e=>{s=!0;const[n,o]=normalizePropsOptions(e,t,!0);extend$2(a,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!s)return isObject$8(e)&&o.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$6(i))for(let u=0;u<i.length;u++){const e=camelize(i[u]);validatePropName(e)&&(a[e]=EMPTY_OBJ$1)}else if(i)for(const u in i){const e=camelize(u);if(validatePropName(e)){const t=i[u],n=a[e]=isArray$6(t)||isFunction$5(t)?{type:t}:extend$2({},t),o=n.type;let r=!1,s=!0;if(isArray$6(o))for(let e=0;e<o.length;++e){const t=o[e],n=isFunction$5(t)&&t.name;if("Boolean"===n){r=!0;break}"String"===n&&(s=!1)}else r=isFunction$5(o)&&"Boolean"===o.name;n[0]=r,n[1]=s,(r||hasOwn$1(n,"default"))&&l.push(e)}}const c=[a,l];return isObject$8(e)&&o.set(e,c),c}function validatePropName(e){return"$"!==e[0]&&!isReservedProp(e)}const isInternalKey=e=>"_"===e[0]||"$stable"===e,normalizeSlotValue=e=>isArray$6(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,n)=>{if(t._n)return t;const o=withCtx(((...e)=>normalizeSlotValue(t(...e))),n);return o._c=!1,o},normalizeObjectSlots=(e,t,n)=>{const o=e._ctx;for(const r in e){if(isInternalKey(r))continue;const n=e[r];if(isFunction$5(n))t[r]=normalizeSlot$1(r,n,o);else if(null!=n){const e=normalizeSlotValue(n);t[r]=()=>e}}},normalizeVNodeSlots=(e,t)=>{const n=normalizeSlotValue(t);e.slots.default=()=>n},assignSlots=(e,t,n)=>{for(const o in t)(n||"_"!==o)&&(e[o]=t[o])},initSlots=(e,t,n)=>{const o=e.slots=createInternalObject();if(32&e.vnode.shapeFlag){const e=t._;e?(assignSlots(o,t,n),n&&def$1(o,"_",e,!0)):normalizeObjectSlots(t,o)}else t&&normalizeVNodeSlots(e,t)},updateSlots=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=EMPTY_OBJ$1;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:assignSlots(r,t,n):(i=!t.$stable,normalizeObjectSlots(t,r)),a=t}else t&&(normalizeVNodeSlots(e,t),a={default:1});if(i)for(const l in r)isInternalKey(l)||null!=a[l]||delete r[l]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function createHydrationRenderer(e){return baseCreateRenderer(e,createHydrationFunctions)}function baseCreateRenderer(e,t){getGlobalThis().__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:s,setElementText:c,parentNode:u,nextSibling:d,setScopeId:p=NOOP,insertStaticContent:f}=e,h=(e,t,n,o=null,r=null,i=null,a=void 0,l=null,s=!!t.dynamicChildren)=>{if(e===t)return;e&&!isSameVNodeType(e,t)&&(o=z(e),R(e,r,i,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Text$2:m(e,t,n,o);break;case Comment$1:g(e,t,n,o);break;case Static:null==e&&v(t,n,o,a);break;case Fragment:C(e,t,n,o,r,i,a,l,s);break;default:1&d?y(e,t,n,o,r,i,a,l,s):6&d?E(e,t,n,o,r,i,a,l,s):(64&d||128&d)&&c.process(e,t,n,o,r,i,a,l,s,j)}null!=u&&r&&setRef(u,e&&e.ref,i,t||e,!t)},m=(e,t,o,r)=>{if(null==e)n(t.el=a(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&s(n,t.children)}},g=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},v=(e,t,n,o)=>{[e.el,e.anchor]=f(e.children,t,n,o,e.el,e.anchor)},y=(e,t,n,o,r,i,a,l,s)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?b(t,n,o,r,i,a,l,s):k(e,t,r,i,a,l,s)},b=(e,t,o,a,l,s,u,d)=>{let p,f;const{props:h,shapeFlag:m,transition:g,dirs:v}=e;if(p=e.el=i(e.type,s,h&&h.is,h),8&m?c(p,e.children):16&m&&w(e.children,p,null,a,l,resolveChildrenNamespace(e,s),u,d),v&&invokeDirectiveHook(e,null,a,"created"),_(p,e,e.scopeId,u,a),h){for(const e in h)"value"===e||isReservedProp(e)||r(p,e,null,h[e],s,a);"value"in h&&r(p,"value",null,h.value,s),(f=h.onVnodeBeforeMount)&&invokeVNodeHook(f,a,e)}v&&invokeDirectiveHook(e,null,a,"beforeMount");const y=needTransition(l,g);y&&g.beforeEnter(p),n(p,t,o),((f=h&&h.onVnodeMounted)||y||v)&&queuePostRenderEffect((()=>{f&&invokeVNodeHook(f,a,e),y&&g.enter(p),v&&invokeDirectiveHook(e,null,a,"mounted")}),l)},_=(e,t,n,o,r)=>{if(n&&p(e,n),o)for(let i=0;i<o.length;i++)p(e,o[i]);if(r){let n=r.subTree;if(t===n||isSuspense(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=r.vnode;_(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},w=(e,t,n,o,r,i,a,l,s=0)=>{for(let c=s;c<e.length;c++){const s=e[c]=l?cloneIfMounted(e[c]):normalizeVNode(e[c]);h(null,s,t,n,o,r,i,a,l)}},k=(e,t,n,o,i,a,l)=>{const s=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const f=e.props||EMPTY_OBJ$1,h=t.props||EMPTY_OBJ$1;let m;if(n&&toggleRecurse(n,!1),(m=h.onVnodeBeforeUpdate)&&invokeVNodeHook(m,n,t,e),p&&invokeDirectiveHook(t,e,n,"beforeUpdate"),n&&toggleRecurse(n,!0),(f.innerHTML&&null==h.innerHTML||f.textContent&&null==h.textContent)&&c(s,""),d?x(e.dynamicChildren,d,s,n,o,resolveChildrenNamespace(t,i),a):l||M(e,t,s,null,n,o,resolveChildrenNamespace(t,i),a,!1),u>0){if(16&u)S(s,f,h,n,i);else if(2&u&&f.class!==h.class&&r(s,"class",null,h.class,i),4&u&&r(s,"style",f.style,h.style,i),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const o=e[t],a=f[o],l=h[o];l===a&&"value"!==o||r(s,o,a,l,i,n)}}1&u&&e.children!==t.children&&c(s,t.children)}else l||null!=d||S(s,f,h,n,i);((m=h.onVnodeUpdated)||p)&&queuePostRenderEffect((()=>{m&&invokeVNodeHook(m,n,t,e),p&&invokeDirectiveHook(t,e,n,"updated")}),o)},x=(e,t,n,o,r,i,a)=>{for(let l=0;l<t.length;l++){const s=e[l],c=t[l],d=s.el&&(s.type===Fragment||!isSameVNodeType(s,c)||70&s.shapeFlag)?u(s.el):n;h(s,c,d,null,o,r,i,a,!0)}},S=(e,t,n,o,i)=>{if(t!==n){if(t!==EMPTY_OBJ$1)for(const a in t)isReservedProp(a)||a in n||r(e,a,t[a],null,i,o);for(const a in n){if(isReservedProp(a))continue;const l=n[a],s=t[a];l!==s&&"value"!==a&&r(e,a,s,l,i,o)}"value"in n&&r(e,"value",t.value,n.value,i)}},C=(e,t,o,r,i,l,s,c,u)=>{const d=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(d,o,r),n(p,o,r),w(t.children||[],o,p,i,l,s,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(x(e.dynamicChildren,h,o,i,l,s,c),(null!=t.key||i&&t===i.subTree)&&traverseStaticChildren(e,t,!0)):M(e,t,o,p,i,l,s,c,u)},E=(e,t,n,o,r,i,a,l,s)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,s):T(t,n,o,r,i,a,s):A(e,t,s)},T=(e,t,n,o,r,i,a)=>{const l=e.component=createComponentInstance(e,o,r);if(isKeepAlive(e)&&(l.ctx.renderer=j),setupComponent(l,!1,a),l.asyncDep){if(r&&r.registerDep(l,$,a),!e.el){const e=l.subTree=createVNode$1(Comment$1);g(null,e,t,n)}}else $(l,e,t,n,r,i,a)},A=(e,t,n)=>{const o=t.component=e.component;if(shouldUpdateComponent(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void I(o,t,n);o.next=t,o.update()}else t.el=e.el,o.vnode=t},$=(e,t,n,o,r,i,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:s,vnode:c}=e;{const n=locateNonHydratedAsyncRoot(e);if(n)return t&&(t.el=c.el,I(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let d,p=t;toggleRecurse(e,!1),t?(t.el=c.el,I(e,t,a)):t=c,n&&invokeArrayFns(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&invokeVNodeHook(d,s,t,c),toggleRecurse(e,!0);const f=renderComponentRoot(e),m=e.subTree;e.subTree=f,h(m,f,u(m.el),z(m),e,r,i),t.el=f.el,null===p&&updateHOCHostEl(e,f.el),o&&queuePostRenderEffect(o,r),(d=t.props&&t.props.onVnodeUpdated)&&queuePostRenderEffect((()=>invokeVNodeHook(d,s,t,c)),r)}else{let a;const{el:l,props:s}=t,{bm:c,m:u,parent:d,root:p,type:f}=e,m=isAsyncWrapper(t);if(toggleRecurse(e,!1),c&&invokeArrayFns(c),!m&&(a=s&&s.onVnodeBeforeMount)&&invokeVNodeHook(a,d,t),toggleRecurse(e,!0),l&&U){const t=()=>{e.subTree=renderComponentRoot(e),U(l,e.subTree,e,r,null)};m&&f.__asyncHydrate?f.__asyncHydrate(l,e,t):t()}else{p.ce&&p.ce._injectChildStyle(f);const a=e.subTree=renderComponentRoot(e);h(null,a,n,o,e,r,i),t.el=a.el}if(u&&queuePostRenderEffect(u,r),!m&&(a=s&&s.onVnodeMounted)){const e=t;queuePostRenderEffect((()=>invokeVNodeHook(a,d,e)),r)}(256&t.shapeFlag||d&&isAsyncWrapper(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&queuePostRenderEffect(e.a,r),e.isMounted=!0,t=n=o=null}};e.scope.on();const s=e.effect=new ReactiveEffect(l);e.scope.off();const c=e.update=s.run.bind(s),d=e.job=s.runIfDirty.bind(s);d.i=e,d.id=e.uid,s.scheduler=()=>queueJob(d),toggleRecurse(e,!0),c()},I=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,updateProps$2(e,t.props,o,n),updateSlots(e,t.children,n),pauseTracking(),flushPreFlushCbs(e),resetTracking()},M=(e,t,n,o,r,i,a,l,s=!1)=>{const u=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void N(u,p,n,o,r,i,a,l,s);if(256&f)return void P(u,p,n,o,r,i,a,l,s)}8&h?(16&d&&V(u,r,i),p!==u&&c(n,p)):16&d?16&h?N(u,p,n,o,r,i,a,l,s):V(u,r,i,!0):(8&d&&c(n,""),16&h&&w(p,n,o,r,i,a,l,s))},P=(e,t,n,o,r,i,a,l,s)=>{t=t||EMPTY_ARR;const c=(e=e||EMPTY_ARR).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){const o=t[p]=s?cloneIfMounted(t[p]):normalizeVNode(t[p]);h(e[p],o,n,null,r,i,a,l,s)}c>u?V(e,r,i,!0,!1,d):w(t,n,o,r,i,a,l,s,d)},N=(e,t,n,o,r,i,a,l,s)=>{let c=0;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){const o=e[c],u=t[c]=s?cloneIfMounted(t[c]):normalizeVNode(t[c]);if(!isSameVNodeType(o,u))break;h(o,u,n,null,r,i,a,l,s),c++}for(;c<=d&&c<=p;){const o=e[d],c=t[p]=s?cloneIfMounted(t[p]):normalizeVNode(t[p]);if(!isSameVNodeType(o,c))break;h(o,c,n,null,r,i,a,l,s),d--,p--}if(c>d){if(c<=p){const e=p+1,d=e<u?t[e].el:o;for(;c<=p;)h(null,t[c]=s?cloneIfMounted(t[c]):normalizeVNode(t[c]),n,d,r,i,a,l,s),c++}}else if(c>p)for(;c<=d;)R(e[c],r,i,!0),c++;else{const f=c,m=c,g=new Map;for(c=m;c<=p;c++){const e=t[c]=s?cloneIfMounted(t[c]):normalizeVNode(t[c]);null!=e.key&&g.set(e.key,c)}let v,y=0;const b=p-m+1;let _=!1,w=0;const k=new Array(b);for(c=0;c<b;c++)k[c]=0;for(c=f;c<=d;c++){const o=e[c];if(y>=b){R(o,r,i,!0);continue}let u;if(null!=o.key)u=g.get(o.key);else for(v=m;v<=p;v++)if(0===k[v-m]&&isSameVNodeType(o,t[v])){u=v;break}void 0===u?R(o,r,i,!0):(k[u-m]=c+1,u>=w?w=u:_=!0,h(o,t[u],n,null,r,i,a,l,s),y++)}const x=_?getSequence(k):EMPTY_ARR;for(v=x.length-1,c=b-1;c>=0;c--){const e=m+c,d=t[e],p=e+1<u?t[e+1].el:o;0===k[c]?h(null,d,n,p,r,i,a,l,s):_&&(v<0||c!==x[v]?O(d,n,p,2):v--)}}},O=(e,t,o,r,i=null)=>{const{el:a,type:l,transition:s,children:c,shapeFlag:u}=e;if(6&u)return void O(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,j);if(l===Fragment){n(a,t,o);for(let e=0;e<c.length;e++)O(c[e],t,o,r);return void n(e.anchor,t,o)}if(l===Static)return void(({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=d(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&s)if(0===r)s.beforeEnter(a),n(a,t,o),queuePostRenderEffect((()=>s.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=s,l=()=>n(a,t,o),c=()=>{e(a,(()=>{l(),i&&i()}))};r?r(a,l,c):c()}else n(a,t,o)},R=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:l,children:s,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:f}=e;if(-2===d&&(r=!1),null!=l&&setRef(l,null,n,e,!0),null!=f&&(t.renderCache[f]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&p,m=!isAsyncWrapper(e);let g;if(m&&(g=a&&a.onVnodeBeforeUnmount)&&invokeVNodeHook(g,t,e),6&u)B(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&invokeDirectiveHook(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,j,o):c&&!c.hasOnce&&(i!==Fragment||d>0&&64&d)?V(c,t,n,!1,!0):(i===Fragment&&384&d||!r&&16&u)&&V(s,t,n),o&&D(e)}(m&&(g=a&&a.onVnodeUnmounted)||h)&&queuePostRenderEffect((()=>{g&&invokeVNodeHook(g,t,e),h&&invokeDirectiveHook(e,null,t,"unmounted")}),n)},D=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Fragment)return void L(n,r);if(t===Static)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=d(e),o(e),e=n;o(t)})(e);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,a);o?o(e.el,a,r):r()}else a()},L=(e,t)=>{let n;for(;e!==t;)n=d(e),o(e),e=n;o(t)},B=(e,t,n)=>{const{bum:o,scope:r,job:i,subTree:a,um:l,m:s,a:c}=e;invalidateMount(s),invalidateMount(c),o&&invokeArrayFns(o),r.stop(),i&&(i.flags|=8,R(a,e,t,n)),l&&queuePostRenderEffect(l,t),queuePostRenderEffect((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},V=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a<e.length;a++)R(e[a],t,n,o,r)},z=e=>{if(6&e.shapeFlag)return z(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=d(e.anchor||e.el),n=t&&t[TeleportEndKey];return n?d(n):t};let F=!1;const H=(e,t,n)=>{null==e?t._vnode&&R(t._vnode,null,null,!0):h(t._vnode||null,e,t,null,null,null,n),t._vnode=e,F||(F=!0,flushPreFlushCbs(),flushPostFlushCbs(),F=!1)},j={p:h,um:R,m:O,r:D,mt:T,mc:w,pc:M,pbc:x,n:z,o:e};let G,U;return t&&([G,U]=t(j)),{render:H,hydrate:G,createApp:createAppAPI(H,G)}}function resolveChildrenNamespace({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function toggleRecurse({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,n=!1){const o=e.children,r=t.children;if(isArray$6(o)&&isArray$6(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=cloneIfMounted(r[i]),t.el=e.el),n||-2===t.patchFlag||traverseStaticChildren(e,t)),t.type===Text$2&&(t.el=e.el)}}function getSequence(e){const t=e.slice(),n=[0];let o,r,i,a,l;const s=e.length;for(o=0;o<s;o++){const s=e[o];if(0!==s){if(r=n[n.length-1],e[r]<s){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<s?i=l+1:a=l;s<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}function invalidateMount(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(e,t){return doWatch(e,null,t)}function watchPostEffect(e,t){return doWatch(e,null,{flush:"post"})}function watchSyncEffect(e,t){return doWatch(e,null,{flush:"sync"})}function watch(e,t,n){return doWatch(e,t,n)}function doWatch(e,t,n=EMPTY_OBJ$1){const{immediate:o,deep:r,flush:i,once:a}=n,l=extend$2({},n),s=t&&o||!t&&"post"!==i;let c;if(isInSSRComponentSetup)if("sync"===i){const e=useSSRContext();c=e.__watcherHandles||(e.__watcherHandles=[])}else if(!s){const e=()=>{};return e.stop=NOOP,e.resume=NOOP,e.pause=NOOP,e}const u=currentInstance;l.call=(e,t,n)=>callWithAsyncErrorHandling(e,u,t,n);let d=!1;"post"===i?l.scheduler=e=>{queuePostRenderEffect(e,u&&u.suspense)}:"sync"!==i&&(d=!0,l.scheduler=(e,t)=>{t?e():queueJob(e)}),l.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};const p=watch$1(e,t,l);return isInSSRComponentSetup&&(c?c.push(p):s&&p()),p}function instanceWatch(e,t,n){const o=this.proxy,r=isString$4(e)?e.includes(".")?createPathGetter(o,e):()=>o[e]:e.bind(o,o);let i;isFunction$5(t)?i=t:(i=t.handler,n=t);const a=setCurrentInstance(this),l=doWatch(r,i.bind(o),n);return a(),l}function createPathGetter(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function useModel(e,t,n=EMPTY_OBJ$1){const o=getCurrentInstance(),r=camelize(t),i=hyphenate(t),a=getModelModifiers(e,r),l=customRef(((a,l)=>{let s,c,u=EMPTY_OBJ$1;return watchSyncEffect((()=>{const t=e[r];hasChanged(s,t)&&(s=t,l())})),{get:()=>(a(),n.get?n.get(s):s),set(e){const a=n.set?n.set(e):e;if(!(hasChanged(a,s)||u!==EMPTY_OBJ$1&&hasChanged(e,u)))return;const d=o.vnode.props;d&&(t in d||r in d||i in d)&&(`onUpdate:${t}`in d||`onUpdate:${r}`in d||`onUpdate:${i}`in d)||(s=e,l()),o.emit(`update:${t}`,a),hasChanged(e,a)&&hasChanged(e,u)&&!hasChanged(a,c)&&l(),u=e,c=a}}}));return l[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?a||EMPTY_OBJ$1:l,done:!1}:{done:!0}}},l}const getModelModifiers=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${camelize(t)}Modifiers`]||e[`${hyphenate(t)}Modifiers`];function emit(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||EMPTY_OBJ$1;let r=n;const i=t.startsWith("update:"),a=i&&getModelModifiers(o,t.slice(7));let l;a&&(a.trim&&(r=n.map((e=>isString$4(e)?e.trim():e))),a.number&&(r=n.map(looseToNumber)));let s=o[l=toHandlerKey(t)]||o[l=toHandlerKey(camelize(t))];!s&&i&&(s=o[l=toHandlerKey(hyphenate(t))]),s&&callWithAsyncErrorHandling(s,e,6,r);const c=o[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,callWithAsyncErrorHandling(c,e,6,r)}}function normalizeEmitsOptions(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},l=!1;if(!isFunction$5(e)){const o=e=>{const n=normalizeEmitsOptions(e,t,!0);n&&(l=!0,extend$2(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||l?(isArray$6(i)?i.forEach((e=>a[e]=null)):extend$2(a,i),isObject$8(e)&&o.set(e,a),a):(isObject$8(e)&&o.set(e,null),null)}function isEmitListener(e,t){return!(!e||!isOn(t))&&(t=t.slice(2).replace(/Once$/,""),hasOwn$1(e,t[0].toLowerCase()+t.slice(1))||hasOwn$1(e,hyphenate(t))||hasOwn$1(e,t))}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:a,attrs:l,emit:s,render:c,renderCache:u,props:d,data:p,setupState:f,ctx:h,inheritAttrs:m}=e,g=setCurrentRenderingInstance(e);let v,y;try{if(4&n.shapeFlag){const e=r||o,t=e;v=normalizeVNode(c.call(t,e,u,d,f,p,h)),y=l}else{const e=t;0,v=normalizeVNode(e.length>1?e(d,{attrs:l,slots:a,emit:s}):e(d,null)),y=t.props?l:getFunctionalFallthrough(l)}}catch(_){blockStack.length=0,handleError(_,e,1),v=createVNode$1(Comment$1)}let b=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(i&&e.some(isModelListener)&&(y=filterModelListeners(y,i)),b=cloneVNode(b,y,!1,!0))}return n.dirs&&(b=cloneVNode(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&setTransitionHooks(b,n.transition),v=b,setCurrentRenderingInstance(g),v}function filterSingleRoot(e,t=!0){let n;for(let o=0;o<e.length;o++){const t=e[o];if(!isVNode(t))return;if(t.type!==Comment$1||"v-if"===t.children){if(n)return;n=t}}return n}const getFunctionalFallthrough=e=>{let t;for(const n in e)("class"===n||"style"===n||isOn(n))&&((t||(t={}))[n]=e[n]);return t},filterModelListeners=(e,t)=>{const n={};for(const o in e)isModelListener(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function shouldUpdateComponent(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:l,patchFlag:s}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&s>=0))return!(!r&&!l||l&&l.$stable)||o!==a&&(o?!a||hasPropsChanged(o,a,c):!!a);if(1024&s)return!0;if(16&s)return o?hasPropsChanged(o,a,c):!!a;if(8&s){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==o[n]&&!isEmitListener(c,n))return!0}}return!1}function hasPropsChanged(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!isEmitListener(n,i))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}const isSuspense=e=>e.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,i,a,l,s,c){if(null==e)mountSuspense(t,n,o,r,i,a,l,s,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);patchSuspense(e,t,n,o,r,a,l,s,c)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1(e,t){const n=e.props&&e.props[t];isFunction$5(n)&&n()}function mountSuspense(e,t,n,o,r,i,a,l,s){const{p:c,o:{createElement:u}}=s,d=u("div"),p=e.suspense=createSuspenseBoundary(e,r,o,t,d,n,i,a,l,s);c(null,p.pendingBranch=e.ssContent,d,null,o,p,i,a),p.deps>0?(triggerEvent$1(e,"onPending"),triggerEvent$1(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,i,a),setActiveBranch(p,e.ssFallback)):p.resolve(!1,!0)}function patchSuspense(e,t,n,o,r,i,a,l,{p:s,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=d;if(m)d.pendingBranch=p,isSameVNodeType(p,m)?(s(m,p,d.hiddenContainer,null,r,d,i,a,l),d.deps<=0?d.resolve():g&&(v||(s(h,f,n,o,r,null,i,a,l),setActiveBranch(d,f)))):(d.pendingId=suspenseId++,v?(d.isHydrating=!1,d.activeBranch=m):c(m,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),g?(s(null,p,d.hiddenContainer,null,r,d,i,a,l),d.deps<=0?d.resolve():(s(h,f,n,o,r,null,i,a,l),setActiveBranch(d,f))):h&&isSameVNodeType(p,h)?(s(h,p,n,o,r,d,i,a,l),d.resolve(!0)):(s(null,p,d.hiddenContainer,null,r,d,i,a,l),d.deps<=0&&d.resolve()));else if(h&&isSameVNodeType(p,h))s(h,p,n,o,r,d,i,a,l),setActiveBranch(d,p);else if(triggerEvent$1(t,"onPending"),d.pendingBranch=p,512&p.shapeFlag?d.pendingId=p.component.suspenseId:d.pendingId=suspenseId++,s(null,p,d.hiddenContainer,null,r,d,i,a,l),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(f)}),e):0===e&&d.fallback(f)}}function createSuspenseBoundary(e,t,n,o,r,i,a,l,s,c,u=!1){const{p:d,m:p,um:f,n:h,o:{parentNode:m,remove:g}}=c;let v;const y=isVNodeSuspensible(e);y&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const b=e.props?toNumber$1(e.props.timeout):void 0,_=i,w={vnode:e,parent:t,parentComponent:n,namespace:a,container:o,hiddenContainer:r,deps:0,pendingId:suspenseId++,timeout:"number"==typeof b?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:o,activeBranch:r,pendingBranch:a,pendingId:l,effects:s,parentComponent:c,container:u}=w;let d=!1;w.isHydrating?w.isHydrating=!1:e||(d=r&&a.transition&&"out-in"===a.transition.mode,d&&(r.transition.afterLeave=()=>{l===w.pendingId&&(p(a,u,i===_?h(r):i,0),queuePostFlushCb(s))}),r&&(m(r.el)===u&&(i=h(r)),f(r,c,w,!0)),d||p(a,u,i,0)),setActiveBranch(w,a),w.pendingBranch=null,w.isInFallback=!1;let g=w.parent,b=!1;for(;g;){if(g.pendingBranch){g.effects.push(...s),b=!0;break}g=g.parent}b||d||queuePostFlushCb(s),w.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),triggerEvent$1(o,"onResolve")},fallback(e){if(!w.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,namespace:i}=w;triggerEvent$1(t,"onFallback");const a=h(n),c=()=>{w.isInFallback&&(d(null,e,r,a,o,null,i,l,s),setActiveBranch(w,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),w.isInFallback=!0,f(n,o,null,!0),u||c()},move(e,t,n){w.activeBranch&&p(w.activeBranch,e,t,n),w.container=e},next:()=>w.activeBranch&&h(w.activeBranch),registerDep(e,t,n){const o=!!w.pendingBranch;o&&w.deps++;const r=e.vnode.el;e.asyncDep.catch((t=>{handleError(t,e,0)})).then((i=>{if(e.isUnmounted||w.isUnmounted||w.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:l}=e;handleSetupResult(e,i,!1),r&&(l.el=r);const s=!r&&e.subTree.el;t(e,l,m(r||e.subTree.el),r?null:h(e.subTree),w,a,n),s&&g(s),updateHOCHostEl(e,l.el),o&&0==--w.deps&&w.resolve()}))},unmount(e,t){w.isUnmounted=!0,w.activeBranch&&f(w.activeBranch,n,e,t),w.pendingBranch&&f(w.pendingBranch,n,e,t)}};return w}function hydrateSuspense(e,t,n,o,r,i,a,l,s){const c=t.suspense=createSuspenseBoundary(t,o,n,e.parentNode,document.createElement("div"),null,r,i,a,l,!0),u=s(e,c.pendingBranch=t.ssContent,n,c,i,a);return 0===c.deps&&c.resolve(!1,!0),u}function normalizeSuspenseChildren(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=normalizeSuspenseSlot(o?n.default:n),e.ssFallback=o?normalizeSuspenseSlot(n.fallback):createVNode$1(Comment$1)}function normalizeSuspenseSlot(e){let t;if(isFunction$5(e)){const n=isBlockTreeEnabled&&e._c;n&&(e._d=!1,openBlock()),e=e(),n&&(e._d=!0,t=currentBlock,closeBlock())}if(isArray$6(e)){const t=filterSingleRoot(e);e=t}return e=normalizeVNode(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray$6(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let r=t.el;for(;!r&&t.component;)r=(t=t.component.subTree).el;n.el=r,o&&o.subTree===n&&(o.vnode.el=r,updateHOCHostEl(o,r))}function isVNodeSuspensible(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$1=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e,t=!1){isBlockTreeEnabled+=e,e<0&¤tBlock&&t&&(currentBlock.hasOnce=!0)}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(e),e}function createElementBlock(e,t,n,o,r,i){return setupBlock(createBaseVNode(e,t,n,o,r,i,!0))}function createBlock(e,t,n,o,r){return setupBlock(createVNode$1(e,t,n,o,r,!0))}function isVNode(e){return!!e&&!0===e.__v_isVNode}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}function transformVNodeArgs(e){}const normalizeKey=({key:e})=>null!=e?e:null,normalizeRef=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?isString$4(e)||isRef(e)||isFunction$5(e)?{i:currentRenderingInstance,r:e,k:t,f:!!n}:e:null);function createBaseVNode(e,t=null,n=null,o=0,r=null,i=(e===Fragment?0:1),a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return l?(normalizeChildren(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=isString$4(n)?8:16),isBlockTreeEnabled>0&&!a&¤tBlock&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&¤tBlock.push(s),s}const createVNode$1=_createVNode;function _createVNode(e,t=null,n=null,o=0,r=null,i=!1){if(e&&e!==NULL_DYNAMIC_COMPONENT||(e=Comment$1),isVNode(e)){const o=cloneVNode(e,t,!0);return n&&normalizeChildren(o,n),isBlockTreeEnabled>0&&!i&¤tBlock&&(6&o.shapeFlag?currentBlock[currentBlock.indexOf(e)]=o:currentBlock.push(o)),o.patchFlag=-2,o}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:e,style:n}=t;e&&!isString$4(e)&&(t.class=normalizeClass(e)),isObject$8(n)&&(isProxy(n)&&!isArray$6(n)&&(n=extend$2({},n)),t.style=normalizeStyle$1(n))}return createBaseVNode(e,t,n,o,r,isString$4(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$8(e)?4:isFunction$5(e)?2:0,i,!0)}function guardReactiveProps(e){return e?isProxy(e)||isInternalObject(e)?extend$2({},e):e:null}function cloneVNode(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:a,children:l,transition:s}=e,c=t?mergeProps(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&normalizeKey(c),ref:t&&t.ref?n&&i?isArray$6(i)?i.concat(normalizeRef(t)):[i,normalizeRef(t)]:normalizeRef(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&o&&setTransitionHooks(u,s.clone(u)),u}function createTextVNode(e=" ",t=0){return createVNode$1(Text$2,null,e,t)}function createStaticVNode(e,t){const n=createVNode$1(Static,null,e);return n.staticCount=t,n}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment$1,null,e)):createVNode$1(Comment$1,null,e)}function normalizeVNode(e){return null==e||"boolean"==typeof e?createVNode$1(Comment$1):isArray$6(e)?createVNode$1(Fragment,null,e.slice()):isVNode(e)?cloneIfMounted(e):createVNode$1(Text$2,null,String(e))}function cloneIfMounted(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(isArray$6(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),normalizeChildren(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||isInternalObject(t)?3===o&¤tRenderingInstance&&(1===currentRenderingInstance.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=currentRenderingInstance}}else isFunction$5(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),64&o?(n=16,t=[createTextVNode(t)]):n=8);e.children=t,e.shapeFlag|=n}function mergeProps(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=normalizeClass([t.class,o.class]));else if("style"===e)t.style=normalizeStyle$1([t.style,o.style]);else if(isOn(e)){const n=t[e],r=o[e];!r||n===r||isArray$6(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function invokeVNodeHook(e,t,n,o=null){callWithAsyncErrorHandling(e,t,7,[n,o])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||emptyAppContext,i={uid:uid$2++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(o,r),emitsOptions:normalizeEmitsOptions(o,r),emit:null,emitted:null,propsDefaults:EMPTY_OBJ$1,inheritAttrs:o.inheritAttrs,ctx:EMPTY_OBJ$1,data:EMPTY_OBJ$1,props:EMPTY_OBJ$1,attrs:EMPTY_OBJ$1,slots:EMPTY_OBJ$1,refs:EMPTY_OBJ$1,setupState:EMPTY_OBJ$1,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=emit.bind(null,i),e.ce&&e.ce(i),i}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const e=getGlobalThis(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};internalSetCurrentInstance=t("__VUE_INSTANCE_SETTERS__",(e=>currentInstance=e)),setInSSRSetupState=t("__VUE_SSR_SETTERS__",(e=>isInSSRComponentSetup=e))}const setCurrentInstance=e=>{const t=currentInstance;return internalSetCurrentInstance(e),e.scope.on(),()=>{e.scope.off(),internalSetCurrentInstance(t)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(e){return 4&e.vnode.shapeFlag}let isInSSRComponentSetup=!1,compile,installWithProxy;function setupComponent(e,t=!1,n=!1){t&&setInSSRSetupState(t);const{props:o,children:r}=e.vnode,i=isStatefulComponent(e);initProps$1(e,o,i,t),initSlots(e,r,n);const a=i?setupStatefulComponent(e,t):void 0;return t&&setInSSRSetupState(!1),a}function setupStatefulComponent(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,PublicInstanceProxyHandlers);const{setup:o}=n;if(o){pauseTracking();const n=e.setupContext=o.length>1?createSetupContext(e):null,r=setCurrentInstance(e),i=callWithErrorHandling(o,e,0,[e.props,n]),a=isPromise(i);if(resetTracking(),r(),!a&&!e.sp||isAsyncWrapper(e)||markAsyncBoundary(e),a){if(i.then(unsetCurrentInstance,unsetCurrentInstance),t)return i.then((n=>{handleSetupResult(e,n,t)})).catch((t=>{handleError(t,e,0)}));e.asyncDep=i}else handleSetupResult(e,i,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,n){isFunction$5(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$8(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,n)}function registerRuntimeCompiler(e){compile=e,installWithProxy=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile;function finishComponentSetup(e,t,n){const o=e.type;if(!e.render){if(!t&&compile&&!o.render){const t=o.template||resolveMergedOptions(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:a}=o,l=extend$2(extend$2({isCustomElement:n,delimiters:i},r),a);o.render=compile(t,l)}}e.render=o.render||NOOP,installWithProxy&&installWithProxy(e)}{const t=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),t()}}}const attrsProxyHandlers={get:(e,t)=>(track(e,"get",""),e[t])};function createSetupContext(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,attrsProxyHandlers),slots:e.slots,emit:e.emit,expose:t}}function getComponentPublicInstance(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get:(t,n)=>n in t?t[n]:n in publicPropertiesMap?publicPropertiesMap[n](e):void 0,has:(e,t)=>t in e||t in publicPropertiesMap})):e.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=e=>e.replace(classifyRE,(e=>e.toUpperCase())).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction$5(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,n=!1){let o=getComponentName(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?classify(o):n?"App":"Anonymous"}function isClassComponent(e){return isFunction$5(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup);function h$5(e,t,n){const o=arguments.length;return 2===o?isObject$8(t)&&!isArray$6(t)?isVNode(t)?createVNode$1(e,null,[t]):createVNode$1(e,t):createVNode$1(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&isVNode(n)&&(n=[n]),createVNode$1(e,t,n))}function initCustomFormatter(){}function withMemo(e,t,n,o){const r=n[o];if(r&&isMemoSame(r,e))return r;const i=t();return i.memo=e.slice(),i.cacheIndex=o,n[o]=i}function isMemoSame(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o=0;o<n.length;o++)if(hasChanged(n[o],t[o]))return!1;return isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(e),!0}const version$1="3.5.13",warn=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance:createComponentInstance,setupComponent:setupComponent,renderComponentRoot:renderComponentRoot,setCurrentRenderingInstance:setCurrentRenderingInstance,isVNode:isVNode,normalizeVNode:normalizeVNode,getComponentPublicInstance:getComponentPublicInstance,ensureValidVNode:ensureValidVNode,pushWarningContext:pushWarningContext,popWarningContext:popWarningContext},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;let policy;const tt$3="undefined"!=typeof window&&window.trustedTypes;if(tt$3)try{policy=tt$3.createPolicy("vue",{createHTML:e=>e})}catch(e2){}const unsafeToTrustedHTML=policy?e=>policy.createHTML(e):e=>e,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc="undefined"!=typeof document?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?doc.createElementNS(svgNS,e):"mathml"===t?doc.createElementNS(mathmlNS,e):n?doc.createElement(e,{is:n}):doc.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{templateContainer.innerHTML=unsafeToTrustedHTML("svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e);const r=templateContainer.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$2({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=e=>(e.displayName="Transition",e.props=TransitionPropsValidators,e),Transition=decorate$1(((e,{slots:t})=>h$5(BaseTransition,resolveTransitionProps(e),t))),callHook=(e,t=[])=>{isArray$6(e)?e.forEach((e=>e(...t))):e&&e(...t)},hasExplicitCallback=e=>!!e&&(isArray$6(e)?e.some((e=>e.length>1)):e.length>1);function resolveTransitionProps(e){const t={};for(const A in e)A in DOMTransitionPropsValidators||(t[A]=e[A]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:c=a,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=normalizeDuration(r),m=h&&h[0],g=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:_,onLeaveCancelled:w,onBeforeAppear:k=v,onAppear:x=y,onAppearCancelled:S=b}=t,C=(e,t,n,o)=>{e._enterCancelled=o,removeTransitionClass(e,t?u:l),removeTransitionClass(e,t?c:a),n&&n()},E=(e,t)=>{e._isLeaving=!1,removeTransitionClass(e,d),removeTransitionClass(e,f),removeTransitionClass(e,p),t&&t()},T=e=>(t,n)=>{const r=e?x:y,a=()=>C(t,e,n);callHook(r,[t,a]),nextFrame((()=>{removeTransitionClass(t,e?s:i),addTransitionClass(t,e?u:l),hasExplicitCallback(r)||whenTransitionEnds(t,o,m,a)}))};return extend$2(t,{onBeforeEnter(e){callHook(v,[e]),addTransitionClass(e,i),addTransitionClass(e,a)},onBeforeAppear(e){callHook(k,[e]),addTransitionClass(e,s),addTransitionClass(e,c)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t);addTransitionClass(e,d),e._enterCancelled?(addTransitionClass(e,p),forceReflow()):(forceReflow(),addTransitionClass(e,p)),nextFrame((()=>{e._isLeaving&&(removeTransitionClass(e,d),addTransitionClass(e,f),hasExplicitCallback(_)||whenTransitionEnds(e,o,g,n))})),callHook(_,[e,n])},onEnterCancelled(e){C(e,!1,void 0,!0),callHook(b,[e])},onAppearCancelled(e){C(e,!0,void 0,!0),callHook(S,[e])},onLeaveCancelled(e){E(e),callHook(w,[e])}})}function normalizeDuration(e){if(null==e)return null;if(isObject$8(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber$1(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[vtcKey]||(e[vtcKey]=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[vtcKey];n&&(n.delete(t),n.size||(e[vtcKey]=void 0))}function nextFrame(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let endId=0;function whenTransitionEnds(e,t,n,o){const r=e._endId=++endId,i=()=>{r===e._endId&&o()};if(null!=n)return setTimeout(i,n);const{type:a,timeout:l,propCount:s}=getTransitionInfo(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=s&&d()};setTimeout((()=>{u<s&&d()}),l+1),e.addEventListener(c,p)}function getTransitionInfo(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${TRANSITION}Delay`),i=o(`${TRANSITION}Duration`),a=getTimeout(r,i),l=o(`${ANIMATION}Delay`),s=o(`${ANIMATION}Duration`),c=getTimeout(l,s);let u=null,d=0,p=0;t===TRANSITION?a>0&&(u=TRANSITION,d=a,p=i.length):t===ANIMATION?c>0&&(u=ANIMATION,d=c,p=s.length):(d=Math.max(a,c),u=d>0?a>c?TRANSITION:ANIMATION:null,p=u?u===TRANSITION?i.length:s.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===TRANSITION&&/\b(transform|all)(,|$)/.test(o(`${TRANSITION}Property`).toString())}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>toMs(t)+toMs(e[n]))))}function toMs(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function forceReflow(){return document.body.offsetHeight}function patchClass(e,t,n){const o=e[vtcKey];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(e,{value:t},{transition:n}){e[vShowOriginalDisplay]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):setDisplay(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),setDisplay(e,!0),o.enter(e)):o.leave(e,(()=>{setDisplay(e,!1)})):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e[vShowOriginalDisplay]:"none",e[vShowHidden]=!t}function initVShowForSSR(){vShow.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(e){const t=getCurrentInstance();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>setVarsOnNode(e,n)))},o=()=>{const o=e(t.proxy);t.ce?setVarsOnNode(t.ce,o):setVarsOnVNode(t.subTree,o),n(o)};onBeforeUpdate((()=>{queuePostFlushCb(o)})),onMounted((()=>{watch(o,NOOP,{flush:"post"});const e=new MutationObserver(o);e.observe(t.subTree.el.parentNode,{childList:!0}),onUnmounted((()=>e.disconnect()))}))}function setVarsOnVNode(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{setVarsOnVNode(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)setVarsOnNode(e.el,t);else if(e.type===Fragment)e.children.forEach((e=>setVarsOnVNode(e,t)));else if(e.type===Static){let{el:n,anchor:o}=e;for(;n&&(setVarsOnNode(n,t),n!==o);)n=n.nextSibling}}function setVarsOnNode(e,t){if(1===e.nodeType){const n=e.style;let o="";for(const e in t)n.setProperty(`--${e}`,t[e]),o+=`--${e}: ${t[e]};`;n[CSS_VAR_TEXT]=o}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle(e,t,n){const o=e.style,r=isString$4(n);let i=!1;if(n&&!r){if(t)if(isString$4(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&setStyle$1(o,t,"")}else for(const e in t)null==n[e]&&setStyle$1(o,e,"");for(const e in n)"display"===e&&(i=!0),setStyle$1(o,e,n[e])}else if(r){if(t!==n){const e=o[CSS_VAR_TEXT];e&&(n+=";"+e),o.cssText=n,i=displayRE.test(n)}}else t&&e.removeAttribute("style");vShowOriginalDisplay in e&&(e[vShowOriginalDisplay]=i?o.display:"",e[vShowHidden]&&(o.display="none"))}const importantRE=/\s*!important$/;function setStyle$1(e,t,n){if(isArray$6(n))n.forEach((n=>setStyle$1(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(o),n.replace(importantRE,""),"important"):e[o]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const n=prefixCache[t];if(n)return n;let o=camelize(t);if("filter"!==o&&o in e)return prefixCache[t]=o;o=capitalize$1(o);for(let r=0;r<prefixes.length;r++){const n=prefixes[r]+o;if(n in e)return prefixCache[t]=n}return t}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,n,o,r,i=isSpecialBooleanAttr(t)){o&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,n):null==n||i&&!includeBooleanAttr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":isSymbol$1(n)?String(n):n)}function patchDOMProp(e,t,n,o,r){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?unsafeToTrustedHTML(n):n));const i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){const o="OPTION"===i?e.getAttribute("value")||"":e.value,r=null==n?"checkbox"===e.type?"on":"":String(n);return o===r&&"_value"in e||(e.value=r),null==n&&e.removeAttribute(t),void(e._value=n)}let a=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=includeBooleanAttr(n):null==n&&"string"===o?(n="",a=!0):"number"===o&&(n=0,a=!0)}try{e[t]=n}catch(e2){}a&&e.removeAttribute(r||t)}function addEventListener$2(e,t,n,o){e.addEventListener(t,n,o)}function removeEventListener$2(e,t,n,o){e.removeEventListener(t,n,o)}const veiKey=Symbol("_vei");function patchEvent(e,t,n,o,r=null){const i=e[veiKey]||(e[veiKey]={}),a=i[t];if(o&&a)a.value=o;else{const[n,l]=parseName(t);if(o){addEventListener$2(e,n,i[t]=createInvoker(o,r),l)}else a&&(removeEventListener$2(e,n,a,l),i[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){let n;for(t={};n=e.match(optionsModifierRE);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):hyphenate(e.slice(2)),t]}let cachedNow=0;const p$3=Promise.resolve(),getNow=()=>cachedNow||(p$3.then((()=>cachedNow=0)),cachedNow=Date.now());function createInvoker(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();callWithAsyncErrorHandling(patchStopImmediatePropagation(e,n.value),t,5,[e])};return n.value=e,n.attached=getNow(),n}function patchStopImmediatePropagation(e,t){if(isArray$6(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const isNativeOn=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,patchProp=(e,t,n,o,r,i)=>{const a="svg"===r;"class"===t?patchClass(e,o,a):"style"===t?patchStyle(e,n,o):isOn(t)?isModelListener(t)||patchEvent(e,t,n,o,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):shouldSetAsProp(e,t,o,a))?(patchDOMProp(e,t,o),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||patchAttr(e,t,o,a,i,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&isString$4(o)?("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),patchAttr(e,t,o,a)):patchDOMProp(e,camelize(t),o,i,t)};function shouldSetAsProp(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&isNativeOn(t)&&isFunction$5(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!isNativeOn(t)||!isString$4(n))&&t in e}const REMOVAL={};function defineCustomElement(e,t,n){const o=defineComponent(e,t);isPlainObject$4(o)&&extend$2(o,t);class r extends VueElement{constructor(e){super(o,e,n)}}return r.def=o,r}const defineSSRCustomElement=(e,t)=>defineCustomElement(e,t,createSSRApp),BaseClass="undefined"!=typeof HTMLElement?HTMLElement:class{};class VueElement extends BaseClass{constructor(e,t={},n=createApp){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==createApp?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof VueElement){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then((()=>{this._pendingResolve=void 0,this._resolveDef()})):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick((()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)}))}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:o}=e;let r;if(n&&!isArray$6(n))for(const i in n){const e=n[i];(e===Number||e&&e.type===Number)&&(i in this._props&&(this._props[i]=toNumber$1(this._props[i])),(r||(r=Object.create(null)))[camelize(i)]=!0)}this._numberProps=r,t&&this._resolveProps(e),this.shadowRoot&&this._applyStyles(o),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then((t=>e(this._def=t,!0))):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const n in t)hasOwn$1(this,n)||Object.defineProperty(this,n,{get:()=>unref(t[n])})}_resolveProps(e){const{props:t}=e,n=isArray$6(t)?t:Object.keys(t||{});for(const o of Object.keys(this))"_"!==o[0]&&n.includes(o)&&this._setProp(o,this[o]);for(const o of n.map(camelize))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(e){this._setProp(o,e,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):REMOVAL;const o=camelize(e);t&&this._numberProps&&this._numberProps[o]&&(n=toNumber$1(n)),this._setProp(o,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!1){if(t!==this._props[e]&&(t===REMOVAL?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),o&&this._instance&&this._update(),n)){const n=this._ob;n&&n.disconnect(),!0===t?this.setAttribute(hyphenate(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(hyphenate(e),t+""):t||this.removeAttribute(hyphenate(e)),n&&n.observe(this,{attributes:!0})}}_update(){render$2(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=createVNode$1(this._def,extend$2(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,isPlainObject$4(t[0])?extend$2({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),hyphenate(e)!==e&&t(hyphenate(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let o=e.length-1;o>=0;o--){const t=document.createElement("style");n&&t.setAttribute("nonce",n),t.textContent=e[o],this.shadowRoot.prepend(t)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const o=e[n],r=o.getAttribute("name")||"default",i=this._slots[r],a=o.parentNode;if(i)for(const e of i){if(t&&1===e.nodeType){const n=t+"-s",o=document.createTreeWalker(e,1);let r;for(e.setAttribute(n,"");r=o.nextNode();)r.setAttribute(n,"")}a.insertBefore(e,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_injectChildStyle(e){this._applyStyles(e.styles,e)}_removeChildStyle(e){}}function useHost(e){const t=getCurrentInstance(),n=t&&t.ce;return n||null}function useShadowRoot(){const e=useHost();return e&&e.shadowRoot}function useCssModule(e="$style"){{const t=getCurrentInstance();if(!t)return EMPTY_OBJ$1;const n=t.type.__cssModules;if(!n)return EMPTY_OBJ$1;const o=n[e];return o||EMPTY_OBJ$1}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=e=>(delete e.props.mode,e),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=getCurrentInstance(),o=useTransitionState();let r,i;return onUpdated((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!hasCSSTransform(r[0].el,n.vnode.el,t))return;r.forEach(callPendingCbs),r.forEach(recordPosition);const o=r.filter(applyTranslation);forceReflow(),o.forEach((e=>{const n=e.el,o=n.style;addTransitionClass(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n[moveCbKey]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[moveCbKey]=null,removeTransitionClass(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const a=toRaw(e),l=resolveTransitionProps(a);let s=a.tag||Fragment;if(r=[],i)for(let e=0;e<i.length;e++){const t=i[e];t.el&&t.el instanceof Element&&(r.push(t),setTransitionHooks(t,resolveTransitionHooks(t,l,o,n)),positionMap.set(t,t.el.getBoundingClientRect()))}i=t.default?getTransitionRawChildren(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&setTransitionHooks(t,resolveTransitionHooks(t,l,o,n))}return createVNode$1(s,null,i)}}}),TransitionGroup=TransitionGroupImpl;function callPendingCbs(e){const t=e.el;t[moveCbKey]&&t[moveCbKey](),t[enterCbKey]&&t[enterCbKey]()}function recordPosition(e){newPositionMap.set(e,e.el.getBoundingClientRect())}function applyTranslation(e){const t=positionMap.get(e),n=newPositionMap.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}function hasCSSTransform(e,t,n){const o=e.cloneNode(),r=e[vtcKey];r&&r.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=getTransitionInfo(o);return i.removeChild(o),a}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return isArray$6(t)?e=>invokeArrayFns(t,e):t};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[assignKey]=getModelAssigner(r);const i=o||r.props&&"number"===r.props.type;addEventListener$2(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=looseToNumber(o)),e[assignKey](o)})),n&&addEventListener$2(e,"change",(()=>{e.value=e.value.trim()})),t||(addEventListener$2(e,"compositionstart",onCompositionStart),addEventListener$2(e,"compositionend",onCompositionEnd),addEventListener$2(e,"change",onCompositionEnd))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:i}},a){if(e[assignKey]=getModelAssigner(a),e.composing)return;const l=null==t?"":t;if((!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:looseToNumber(e.value))!==l){if(document.activeElement===e&&"range"!==e.type){if(o&&t===n)return;if(r&&e.value.trim()===l)return}e.value=l}}},vModelCheckbox={deep:!0,created(e,t,n){e[assignKey]=getModelAssigner(n),addEventListener$2(e,"change",(()=>{const t=e._modelValue,n=getValue$2(e),o=e.checked,r=e[assignKey];if(isArray$6(t)){const e=looseIndexOf(t,n),i=-1!==e;if(o&&!i)r(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),r(n)}}else if(isSet$1(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(getCheckboxValue(e,o))}))},mounted:setChecked,beforeUpdate(e,t,n){e[assignKey]=getModelAssigner(n),setChecked(e,t,n)}};function setChecked(e,{value:t,oldValue:n},o){let r;if(e._modelValue=t,isArray$6(t))r=looseIndexOf(t,o.props.value)>-1;else if(isSet$1(t))r=t.has(o.props.value);else{if(t===n)return;r=looseEqual(t,getCheckboxValue(e,!0))}e.checked!==r&&(e.checked=r)}const vModelRadio={created(e,{value:t},n){e.checked=looseEqual(t,n.props.value),e[assignKey]=getModelAssigner(n),addEventListener$2(e,"change",(()=>{e[assignKey](getValue$2(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e[assignKey]=getModelAssigner(o),t!==n&&(e.checked=looseEqual(t,o.props.value))}},vModelSelect={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=isSet$1(t);addEventListener$2(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?looseToNumber(getValue$2(e)):getValue$2(e)));e[assignKey](e.multiple?r?new Set(t):t:t[0]),e._assigning=!0,nextTick((()=>{e._assigning=!1}))})),e[assignKey]=getModelAssigner(o)},mounted(e,{value:t}){setSelected(e,t)},beforeUpdate(e,t,n){e[assignKey]=getModelAssigner(n)},updated(e,{value:t}){e._assigning||setSelected(e,t)}};function setSelected(e,t){const n=e.multiple,o=isArray$6(t);if(!n||o||isSet$1(t)){for(let r=0,i=e.options.length;r<i;r++){const i=e.options[r],a=getValue$2(i);if(n)if(o){const e=typeof a;i.selected="string"===e||"number"===e?t.some((e=>String(e)===String(a))):looseIndexOf(t,a)>-1}else i.selected=t.has(a);else if(looseEqual(getValue$2(i),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function getValue$2(e){return"_value"in e?e._value:e.value}function getCheckboxValue(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const vModelDynamic={created(e,t,n){callModelHook(e,t,n,null,"created")},mounted(e,t,n){callModelHook(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){callModelHook(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){callModelHook(e,t,n,o,"updated")}};function resolveDynamicModel(e,t){switch(e){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(t){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(e,t,n,o,r){const i=resolveDynamicModel(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,o)}function initVModelForSSR(){vModelText.getSSRProps=({value:e})=>({value:e}),vModelRadio.getSSRProps=({value:e},t)=>{if(t.props&&looseEqual(t.props.value,e))return{checked:!0}},vModelCheckbox.getSSRProps=({value:e},t)=>{if(isArray$6(e)){if(t.props&&looseIndexOf(e,t.props.value)>-1)return{checked:!0}}else if(isSet$1(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},vModelDynamic.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=resolveDynamicModel(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>systemModifiers.some((n=>e[`${n}Key`]&&!t.includes(n)))},withModifiers=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e<t.length;e++){const o=modifierGuards[t[e]];if(o&&o(n,t))return}return e(n,...o)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=hyphenate(n.key);return t.some((e=>e===o||keyNames[e]===o))?e(n):void 0})},rendererOptions=extend$2({patchProp:patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const render$2=(...e)=>{ensureRenderer().render(...e)},hydrate=(...e)=>{ensureHydrationRenderer().hydrate(...e)},createApp=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=normalizeContainer(e);if(!o)return;const r=t._component;isFunction$5(r)||r.render||r.template||(r.template=o.innerHTML),1===o.nodeType&&(o.textContent="");const i=n(o,!1,resolveRootNamespace(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},createSSRApp=(...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=normalizeContainer(e);if(t)return n(t,!0,resolveRootNamespace(t))},t};function resolveRootNamespace(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function normalizeContainer(e){if(isString$4(e)){return document.querySelector(e)}return e}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},runtimeDom_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:BaseTransition,BaseTransitionPropsValidators:BaseTransitionPropsValidators,Comment:Comment$1,DeprecationTypes:DeprecationTypes,EffectScope:EffectScope,ErrorCodes:ErrorCodes,ErrorTypeStrings:ErrorTypeStrings,Fragment:Fragment,KeepAlive:KeepAlive,ReactiveEffect:ReactiveEffect,Static:Static,Suspense:Suspense,Teleport:Teleport$1,Text:Text$2,TrackOpTypes:TrackOpTypes,Transition:Transition,TransitionGroup:TransitionGroup,TriggerOpTypes:TriggerOpTypes,VueElement:VueElement,assertNumber:assertNumber,callWithAsyncErrorHandling:callWithAsyncErrorHandling,callWithErrorHandling:callWithErrorHandling,camelize:camelize,capitalize:capitalize$1,cloneVNode:cloneVNode,compatUtils:compatUtils,computed:computed,createApp:createApp,createBlock:createBlock,createCommentVNode:createCommentVNode,createElementBlock:createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer:createHydrationRenderer,createPropsRestProxy:createPropsRestProxy,createRenderer:createRenderer,createSSRApp:createSSRApp,createSlots:createSlots,createStaticVNode:createStaticVNode,createTextVNode:createTextVNode,createVNode:createVNode$1,customRef:customRef,defineAsyncComponent:defineAsyncComponent,defineComponent:defineComponent,defineCustomElement:defineCustomElement,defineEmits:defineEmits,defineExpose:defineExpose,defineModel:defineModel,defineOptions:defineOptions,defineProps:defineProps,defineSSRCustomElement:defineSSRCustomElement,defineSlots:defineSlots,devtools:devtools,effect:effect,effectScope:effectScope,getCurrentInstance:getCurrentInstance,getCurrentScope:getCurrentScope,getCurrentWatcher:getCurrentWatcher,getTransitionRawChildren:getTransitionRawChildren,guardReactiveProps:guardReactiveProps,h:h$5,handleError:handleError,hasInjectionContext:hasInjectionContext,hydrate:hydrate,hydrateOnIdle:hydrateOnIdle,hydrateOnInteraction:hydrateOnInteraction,hydrateOnMediaQuery:hydrateOnMediaQuery,hydrateOnVisible:hydrateOnVisible,initCustomFormatter:initCustomFormatter,initDirectivesForSSR:initDirectivesForSSR,inject:inject,isMemoSame:isMemoSame,isProxy:isProxy,isReactive:isReactive,isReadonly:isReadonly,isRef:isRef,isRuntimeOnly:isRuntimeOnly,isShallow:isShallow,isVNode:isVNode,markRaw:markRaw,mergeDefaults:mergeDefaults,mergeModels:mergeModels,mergeProps:mergeProps,nextTick:nextTick,normalizeClass:normalizeClass,normalizeProps:normalizeProps,normalizeStyle:normalizeStyle$1,onActivated:onActivated,onBeforeMount:onBeforeMount,onBeforeUnmount:onBeforeUnmount,onBeforeUpdate:onBeforeUpdate,onDeactivated:onDeactivated,onErrorCaptured:onErrorCaptured,onMounted:onMounted,onRenderTracked:onRenderTracked,onRenderTriggered:onRenderTriggered,onScopeDispose:onScopeDispose,onServerPrefetch:onServerPrefetch,onUnmounted:onUnmounted,onUpdated:onUpdated,onWatcherCleanup:onWatcherCleanup,openBlock:openBlock,popScopeId:popScopeId,provide:provide,proxyRefs:proxyRefs,pushScopeId:pushScopeId,queuePostFlushCb:queuePostFlushCb,reactive:reactive,readonly:readonly,ref:ref,registerRuntimeCompiler:registerRuntimeCompiler,render:render$2,renderList:renderList,renderSlot:renderSlot,resolveComponent:resolveComponent,resolveDirective:resolveDirective,resolveDynamicComponent:resolveDynamicComponent,resolveFilter:resolveFilter,resolveTransitionHooks:resolveTransitionHooks,setBlockTracking:setBlockTracking,setDevtoolsHook:setDevtoolsHook,setTransitionHooks:setTransitionHooks,shallowReactive:shallowReactive,shallowReadonly:shallowReadonly,shallowRef:shallowRef,ssrContextKey:ssrContextKey,ssrUtils:ssrUtils,stop:stop$1,toDisplayString:toDisplayString,toHandlerKey:toHandlerKey,toHandlers:toHandlers,toRaw:toRaw,toRef:toRef$1,toRefs:toRefs,toValue:toValue,transformVNodeArgs:transformVNodeArgs,triggerRef:triggerRef,unref:unref,useAttrs:useAttrs$1,useCssModule:useCssModule,useCssVars:useCssVars,useHost:useHost,useId:useId$1,useModel:useModel,useSSRContext:useSSRContext,useShadowRoot:useShadowRoot,useSlots:useSlots,useTemplateRef:useTemplateRef,useTransitionState:useTransitionState,vModelCheckbox:vModelCheckbox,vModelDynamic:vModelDynamic,vModelRadio:vModelRadio,vModelSelect:vModelSelect,vModelText:vModelText,vShow:vShow,version:version$1,warn:warn,watch:watch,watchEffect:watchEffect,watchPostEffect:watchPostEffect,watchSyncEffect:watchSyncEffect,withAsyncContext:withAsyncContext,withCtx:withCtx,withDefaults:withDefaults,withDirectives:withDirectives,withKeys:withKeys,withMemo:withMemo,withModifiers:withModifiers,withScopeId:withScopeId},Symbol.toStringTag,{value:"Module"})),sides=["top","right","bottom","left"],alignments=["start","end"],placements=sides.reduce(((e,t)=>e.concat(t,t+"-"+alignments[0],t+"-"+alignments[1])),[]),min$3=Math.min,max$3=Math.max,round$4=Math.round,floor$1=Math.floor,createCoords=e=>({x:e,y:e}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(e,t,n){return max$3(e,min$3(t,n))}function evaluate(e,t){return"function"==typeof e?e(t):e}function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return"x"===e?"y":"x"}function getAxisLength(e){return"y"===e?"height":"width"}function getSideAxis(e){return["top","bottom"].includes(getSide(e))?"y":"x"}function getAlignmentAxis(e){return getOppositeAxis(getSideAxis(e))}function getAlignmentSides(e,t,n){void 0===n&&(n=!1);const o=getAlignment(e),r=getAlignmentAxis(e),i=getAxisLength(r);let a="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=getOppositePlacement(a)),[a,getOppositePlacement(a)]}function getExpandedPlacements(e){const t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(e){return e.replace(/start|end/g,(e=>oppositeAlignmentMap[e]))}function getSideList(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:a;default:return[]}}function getOppositeAxisPlacements(e,t,n,o){const r=getAlignment(e);let i=getSideList(getSide(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(getOppositeAlignmentPlacement)))),i}function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(e=>oppositeSideMap[e]))}function expandPaddingObject(e){return{top:0,right:0,bottom:0,left:0,...e}}function getPaddingObject(e){return"number"!=typeof e?expandPaddingObject(e):{top:e,right:e,bottom:e,left:e}}function rectToClientRect(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function computeCoordsFromPlacement(e,t,n){let{reference:o,floating:r}=e;const i=getSideAxis(t),a=getAlignmentAxis(t),l=getAxisLength(a),s=getSide(t),c="y"===i,u=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,p=o[l]/2-r[l]/2;let f;switch(s){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-r.width,y:d};break;default:f={x:o.x,y:o.y}}switch(getAlignment(t)){case"start":f[a]-=p*(n&&c?-1:1);break;case"end":f[a]+=p*(n&&c?-1:1)}return f}const computePosition$1=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=computeCoordsFromPlacement(c,o,s),p=o,f={},h=0;for(let m=0;m<l.length;m++){const{name:n,fn:i}=l[m],{x:g,y:v,data:y,reset:b}=await i({x:u,y:d,initialPlacement:o,placement:p,strategy:r,middlewareData:f,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=v?v:d,f={...f,[n]:{...f[n],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:r}):b.rects),({x:u,y:d}=computeCoordsFromPlacement(c,p,s))),m=-1)}return{x:u,y:d,placement:p,strategy:r,middlewareData:f}};async function detectOverflow$1(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=evaluate(t,e),h=getPaddingObject(f),m=l[p?"floating"===d?"reference":"floating":d],g=rectToClientRect(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),v="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},_=rectToClientRect(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:y,strategy:s}):v);return{top:(g.top-_.top+h.top)/b.y,bottom:(_.bottom-g.bottom+h.bottom)/b.y,left:(g.left-_.left+h.left)/b.x,right:(_.right-g.right+h.right)/b.x}}const arrow$1=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=evaluate(e,t)||{};if(null==c)return{};const d=getPaddingObject(u),p={x:n,y:o},f=getAlignmentAxis(r),h=getAxisLength(f),m=await a.getDimensions(c),g="y"===f,v=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",_=i.reference[h]+i.reference[f]-p[f]-i.floating[h],w=p[f]-i.reference[f],k=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let x=k?k[b]:0;x&&await(null==a.isElement?void 0:a.isElement(k))||(x=l.floating[b]||i.floating[h]);const S=_/2-w/2,C=x/2-m[h]/2-1,E=min$3(d[v],C),T=min$3(d[y],C),A=E,$=x-m[h]-T,I=x/2-m[h]/2+S,M=clamp$1(A,I,$),P=!s.arrow&&null!=getAlignment(r)&&I!==M&&i.reference[h]/2-(I<A?E:T)-m[h]/2<0,N=P?I<A?I-A:I-$:0;return{[f]:p[f]+N,data:{[f]:M,centerOffset:I-M-N,...P&&{alignmentOffset:N}},reset:P}}});function getPlacementList(e,t,n){return(e?[...n.filter((t=>getAlignment(t)===e)),...n.filter((t=>getAlignment(t)!==e))]:n.filter((e=>getSide(e)===e))).filter((n=>!e||(getAlignment(n)===e||!!t&&getOppositeAlignmentPlacement(n)!==n)))}const autoPlacement=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r;const{rects:i,middlewareData:a,placement:l,platform:s,elements:c}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:p=placements,autoAlignment:f=!0,...h}=evaluate(e,t),m=void 0!==d||p===placements?getPlacementList(d||null,f,p):p,g=await detectOverflow$1(t,h),v=(null==(n=a.autoPlacement)?void 0:n.index)||0,y=m[v];if(null==y)return{};const b=getAlignmentSides(y,i,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==y)return{reset:{placement:m[0]}};const _=[g[getSide(y)],g[b[0]],g[b[1]]],w=[...(null==(o=a.autoPlacement)?void 0:o.overflows)||[],{placement:y,overflows:_}],k=m[v+1];if(k)return{data:{index:v+1,overflows:w},reset:{placement:k}};const x=w.map((e=>{const t=getAlignment(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),S=(null==(r=x.filter((e=>e[2].slice(0,getAlignment(e[0])?2:3).every((e=>e<=0))))[0])?void 0:r[0])||x[0][0];return S!==l?{data:{index:v+1,overflows:w},reset:{placement:S}}:{}}}},flip$1=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=evaluate(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const v=getSide(r),y=getSideAxis(l),b=getSide(l)===l,_=await(null==s.isRTL?void 0:s.isRTL(c.floating)),w=p||(b||!m?[getOppositePlacement(l)]:getExpandedPlacements(l)),k="none"!==h;!p&&k&&w.push(...getOppositeAxisPlacements(l,m,h,_));const x=[l,...w],S=await detectOverflow$1(t,g),C=[];let E=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&C.push(S[v]),d){const e=getAlignmentSides(r,a,_);C.push(S[e[0]],S[e[1]])}if(E=[...E,{placement:r,overflows:C}],!C.every((e=>e<=0))){var T,A;const e=((null==(T=i.flip)?void 0:T.index)||0)+1,t=x[e];if(t){var $;const n="alignment"===d&&y!==getSideAxis(t),o=(null==($=E[0])?void 0:$.overflows[0])>0;if(!n||o)return{data:{index:e,overflows:E},reset:{placement:t}}}let n=null==(A=E.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!n)switch(f){case"bestFit":{var I;const e=null==(I=E.filter((e=>{if(k){const t=getSideAxis(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:I[0];e&&(n=e);break}case"initialPlacement":n=l}if(r!==n)return{reset:{placement:n}}}return{}}}};async function convertValueToCoords(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=getSide(n),l=getAlignment(n),s="y"===getSideAxis(n),c=["left","top"].includes(a)?-1:1,u=i&&s?-1:1,d=evaluate(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(f="end"===l?-1*h:h),s?{x:f*u,y:p*c}:{x:p*c,y:f*u}}const offset$1=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:a,middlewareData:l}=t,s=await convertValueToCoords(t,e);return a===(null==(n=l.offset)?void 0:n.placement)&&null!=(o=l.arrow)&&o.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},shift$1=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=evaluate(e,t),c={x:n,y:o},u=await detectOverflow$1(t,s),d=getSideAxis(getSide(r)),p=getOppositeAxis(d);let f=c[p],h=c[d];if(i){const e="y"===p?"bottom":"right";f=clamp$1(f+u["y"===p?"top":"left"],f,f-u[e])}if(a){const e="y"===d?"bottom":"right";h=clamp$1(h+u["y"===d?"top":"left"],h,h-u[e])}const m=l.fn({...t,[p]:f,[d]:h});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[p]:i,[d]:a}}}}}},size=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:a,elements:l}=t,{apply:s=()=>{},...c}=evaluate(e,t),u=await detectOverflow$1(t,c),d=getSide(r),p=getAlignment(r),f="y"===getSideAxis(r),{width:h,height:m}=i.floating;let g,v;"top"===d||"bottom"===d?(g=d,v=p===(await(null==a.isRTL?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(v=d,g="end"===p?"top":"bottom");const y=m-u.top-u.bottom,b=h-u.left-u.right,_=min$3(m-u[g],y),w=min$3(h-u[v],b),k=!t.middlewareData.shift;let x=_,S=w;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=b),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(x=y),k&&!p){const e=max$3(u.left,0),t=max$3(u.right,0),n=max$3(u.top,0),o=max$3(u.bottom,0);f?S=h-2*(0!==e||0!==t?e+t:max$3(u.left,u.right)):x=m-2*(0!==n||0!==o?n+o:max$3(u.top,u.bottom))}await s({...t,availableWidth:S,availableHeight:x});const C=await a.getDimensions(l.floating);return h!==C.width||m!==C.height?{reset:{rects:!0}}:{}}}};function n$7(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o$6(e){return n$7(e).getComputedStyle(e)}const i$8=Math.min,r$2=Math.max,l$5=Math.round;function c$6(e){const t=o$6(e);let n=parseFloat(t.width),o=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,a=l$5(n)!==r||l$5(o)!==i;return a&&(n=r,o=i),{width:n,height:o,fallback:a}}function s$6(e){return h$4(e)?(e.nodeName||"").toLowerCase():""}let f$4;function u$8(){if(f$4)return f$4;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(f$4=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),f$4):navigator.userAgent}function a$4(e){return e instanceof n$7(e).HTMLElement}function d$8(e){return e instanceof n$7(e).Element}function h$4(e){return e instanceof n$7(e).Node}function p$2(e){return"undefined"!=typeof ShadowRoot&&(e instanceof n$7(e).ShadowRoot||e instanceof ShadowRoot)}function g$5(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=o$6(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function m$7(e){return["table","td","th"].includes(s$6(e))}function y$5(e){const t=/firefox/i.test(u$8()),n=o$6(e),o=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!o&&"none"!==o||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some((e=>n.willChange.includes(e)))||["paint","layout","strict","content"].some((e=>{const t=n.contain;return null!=t&&t.includes(e)}))}function x$5(){return!/^((?!chrome|android).)*safari/i.test(u$8())}function w$7(e){return["html","body","#document"].includes(s$6(e))}function v$3(e){return d$8(e)?e:e.contextElement}const b$4={x:1,y:1};function L$3(e){const t=v$3(e);if(!a$4(t))return b$4;const n=t.getBoundingClientRect(),{width:o,height:r,fallback:i}=c$6(t);let a=(i?l$5(n.width):n.width)/o,l=(i?l$5(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function E$8(e,t,n,o){var r,i;void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),l=v$3(e);let s=b$4;t&&(o?d$8(o)&&(s=L$3(o)):s=L$3(e));const c=l?n$7(l):window,u=!x$5()&&n;let d=(a.left+(u&&(null==(r=c.visualViewport)?void 0:r.offsetLeft)||0))/s.x,p=(a.top+(u&&(null==(i=c.visualViewport)?void 0:i.offsetTop)||0))/s.y,f=a.width/s.x,h=a.height/s.y;if(l){const e=n$7(l),t=o&&d$8(o)?n$7(o):o;let n=e.frameElement;for(;n&&o&&t!==e;){const e=L$3(n),t=n.getBoundingClientRect(),o=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(o.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(o.paddingTop))*e.y,d*=e.x,p*=e.y,f*=e.x,h*=e.y,d+=t.x,p+=t.y,n=n$7(n).frameElement}}return{width:f,height:h,top:p,right:d+f,bottom:p+h,left:d,x:d,y:p}}function R$4(e){return((h$4(e)?e.ownerDocument:e.document)||window.document).documentElement}function T$5(e){return d$8(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function C$3(e){return E$8(R$4(e)).left+T$5(e).scrollLeft}function F$4(e){if("html"===s$6(e))return e;const t=e.assignedSlot||e.parentNode||p$2(e)&&e.host||R$4(e);return p$2(t)?t.host:t}function W$4(e){const t=F$4(e);return w$7(t)?t.ownerDocument.body:a$4(t)&&g$5(t)?t:W$4(t)}function D$2(e,t){var n;void 0===t&&(t=[]);const o=W$4(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=n$7(o);return r?t.concat(i,i.visualViewport||[],g$5(o)?o:[]):t.concat(o,D$2(o))}function S$5(e,t,n){return"viewport"===t?rectToClientRect(function(e,t){const n=n$7(e),o=R$4(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const e=x$5();(e||!e&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,n)):d$8(t)?rectToClientRect(function(e,t){const n=E$8(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=a$4(e)?L$3(e):{x:1,y:1};return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}(t,n)):rectToClientRect(function(e){const t=R$4(e),n=T$5(e),o=e.ownerDocument.body,r=r$2(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=r$2(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+C$3(e);const l=-n.scrollTop;return"rtl"===o$6(o).direction&&(a+=r$2(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(R$4(e)))}function A$5(e){return a$4(e)&&"fixed"!==o$6(e).position?e.offsetParent:null}function H$6(e){const t=n$7(e);let n=A$5(e);for(;n&&m$7(n)&&"static"===o$6(n).position;)n=A$5(n);return n&&("html"===s$6(n)||"body"===s$6(n)&&"static"===o$6(n).position&&!y$5(n))?t:n||function(e){let t=F$4(e);for(;a$4(t)&&!w$7(t);){if(y$5(t))return t;t=F$4(t)}return null}(e)||t}function O$3(e,t,n){const o=a$4(t),r=R$4(t),i=E$8(e,!0,"fixed"===n,t);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==n)if(("body"!==s$6(t)||g$5(r))&&(a=T$5(t)),a$4(t)){const e=E$8(t,!0);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else r&&(l.x=C$3(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}const P$5={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let o=D$2(e).filter((e=>d$8(e)&&"body"!==s$6(e))),r=null;const i="fixed"===o$6(e).position;let a=i?F$4(e):e;for(;d$8(a)&&!w$7(a);){const e=o$6(a),t=y$5(a);(i?t||r:t||"static"!==e.position||!r||!["absolute","fixed"].includes(r.position))?r=e:o=o.filter((e=>e!==a)),a=F$4(a)}return t.set(e,o),o}(t,this._c):[].concat(n),o],a=i[0],l=i.reduce(((e,n)=>{const o=S$5(t,n,r);return e.top=r$2(o.top,e.top),e.right=i$8(o.right,e.right),e.bottom=i$8(o.bottom,e.bottom),e.left=r$2(o.left,e.left),e}),S$5(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=a$4(n),i=R$4(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==s$6(n)||g$5(i))&&(a=T$5(n)),a$4(n))){const e=E$8(n);l=L$3(n),s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+s.x,y:t.y*l.y-a.scrollTop*l.y+s.y}},isElement:d$8,getDimensions:function(e){return a$4(e)?c$6(e):e.getBoundingClientRect()},getOffsetParent:H$6,getDocumentElement:R$4,getScale:L$3,async getElementRects(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||H$6,i=this.getDimensions;return{reference:O$3(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===o$6(e).direction},B$4=(e,t,n)=>{const o=new Map,r={platform:P$5,...n},i={...r.platform,_c:o};return computePosition$1(e,t,{...r,platform:i})};function ye$1(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&("object"==typeof t[n]&&e[n]?ye$1(e[n],t[n]):e[n]=t[n])}const h$3={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function S$4(e,t){let n,o=h$3.themes[e]||{};do{n=o[t],typeof n>"u"?o.$extend?o=h$3.themes[o.$extend]||{}:(o=null,n=h$3[t]):o=null}while(o);return n}function Ze$1(e){const t=[e];let n=h$3.themes[e]||{};do{n.$extend&&!n.$resetCss?(t.push(n.$extend),n=h$3.themes[n.$extend]||{}):n=null}while(n);return t.map((e=>`v-popper--theme-${e}`))}function re(e){const t=[e];let n=h$3.themes[e]||{};do{n.$extend?(t.push(n.$extend),n=h$3.themes[n.$extend]||{}):n=null}while(n);return t}let $$3=!1;if(typeof window<"u"){$$3=!1;try{const e=Object.defineProperty({},"passive",{get(){$$3=!0}});window.addEventListener("test",null,e)}catch{}}let _e=!1;typeof window<"u"&&typeof navigator<"u"&&(_e=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Te$3=["auto","top","bottom","left","right"].reduce(((e,t)=>e.concat([t,`${t}-start`,`${t}-end`])),[]),pe$1={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ae={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function de(e,t){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}function G$2(){return new Promise((e=>requestAnimationFrame((()=>{requestAnimationFrame(e)}))))}const d$7=[];let g$4=null;const le={};function he$1(e){let t=le[e];return t||(t=le[e]=[]),t}let Y$2=function(){};function n$6(e){return function(t){return S$4(t.theme,e)}}typeof window<"u"&&(Y$2=window.Element);const q$3="__floating-vue__popper",Q$3=()=>defineComponent({name:"VPopper",provide(){return{[q$3]:{parentPopper:this}}},inject:{[q$3]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:n$6("disabled")},positioningDisabled:{type:Boolean,default:n$6("positioningDisabled")},placement:{type:String,default:n$6("placement"),validator:e=>Te$3.includes(e)},delay:{type:[String,Number,Object],default:n$6("delay")},distance:{type:[Number,String],default:n$6("distance")},skidding:{type:[Number,String],default:n$6("skidding")},triggers:{type:Array,default:n$6("triggers")},showTriggers:{type:[Array,Function],default:n$6("showTriggers")},hideTriggers:{type:[Array,Function],default:n$6("hideTriggers")},popperTriggers:{type:Array,default:n$6("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:n$6("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:n$6("popperHideTriggers")},container:{type:[String,Object,Y$2,Boolean],default:n$6("container")},boundary:{type:[String,Y$2],default:n$6("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:n$6("strategy")},autoHide:{type:[Boolean,Function],default:n$6("autoHide")},handleResize:{type:Boolean,default:n$6("handleResize")},instantMove:{type:Boolean,default:n$6("instantMove")},eagerMount:{type:Boolean,default:n$6("eagerMount")},popperClass:{type:[String,Array,Object],default:n$6("popperClass")},computeTransformOrigin:{type:Boolean,default:n$6("computeTransformOrigin")},autoMinSize:{type:Boolean,default:n$6("autoMinSize")},autoSize:{type:[Boolean,String],default:n$6("autoSize")},autoMaxSize:{type:Boolean,default:n$6("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:n$6("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:n$6("preventOverflow")},overflowPadding:{type:[Number,String],default:n$6("overflowPadding")},arrowPadding:{type:[Number,String],default:n$6("arrowPadding")},arrowOverflow:{type:Boolean,default:n$6("arrowOverflow")},flip:{type:Boolean,default:n$6("flip")},shift:{type:Boolean,default:n$6("shift")},shiftCrossAxis:{type:Boolean,default:n$6("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:n$6("noAutoFocus")},disposeTimeout:{type:Number,default:n$6("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map((e=>e.toString(36).substring(2,10))).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return null!=this.ariaId?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:"function"==typeof this.autoHide?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return null==(e=this[q$3])?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return(null==(e=this.popperTriggers)?void 0:e.includes("hover"))||(null==(t=this.popperShowTriggers)?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce(((e,t)=>(e[t]="$_computePosition",e)),{})},created(){this.autoMinSize,this.autoMaxSize},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var o,r;null!=(o=this.parentPopper)&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&((null==(r=this.parentPopper)?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame((()=>{this.$_showFrameLocked=!1}))),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0)return void(this.pendingHide=!0);if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper())return void(this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout((()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)}),1e3)));(null==(n=this.parentPopper)?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(null==(e=this.referenceNode)?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter((e=>e.nodeType===e.ELEMENT_NODE)),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(offset$1({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(autoPlacement({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(shift$1({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(flip$1({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(arrow$1({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:e,rects:t,middlewareData:n})=>{let o;const{centerOffset:r}=n.arrow;return o=e.startsWith("top")||e.startsWith("bottom")?Math.abs(r)>t.reference.width/2:Math.abs(r)>t.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const t=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:e,placement:n,middlewareData:o})=>{var r;if(null!=(r=o.autoSize)&&r.skip)return{};let i,a;return n.startsWith("top")||n.startsWith("bottom")?i=e.reference.width:a=e.reference.height,this.$_innerNode.style["min"===t?"minWidth":"max"===t?"maxWidth":"width"]=null!=i?`${i}px`:null,this.$_innerNode.style["min"===t?"minHeight":"max"===t?"maxHeight":"height"]=null!=a?`${a}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(size({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:e,availableHeight:t})=>{this.$_innerNode.style.maxWidth=null!=e?`${e}px`:null,this.$_innerNode.style.maxHeight=null!=t?`${t}px`:null}})));const n=await B$4(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),g$4&&this.instantMove&&g$4.instantMove&&g$4!==this.parentPopper)return g$4.$_applyHide(!0),void this.$_applyShow(!0);t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){this.shownChildren.size>0?this.pendingHide=!0:(this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(g$4=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide")))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await G$2(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...D$2(this.$_referenceNode),...D$2(this.$_popperNode)],"scroll",(()=>{this.$_computePosition()})))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(".v-popper__wrapper"),n=t.parentNode.getBoundingClientRect(),o=e.x+e.width/2-(n.left+t.offsetLeft),r=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${o}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<d$7.length;n++)t=d$7[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}d$7.push(this),document.body.classList.add("v-popper--some-open");for(const t of re(this.theme))he$1(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await G$2(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0)return this.pendingHide=!0,void(this.$_hideInProgress=!1);if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,de(d$7,this),0===d$7.length&&document.body.classList.remove("v-popper--some-open");for(const n of re(this.theme)){const e=he$1(n);de(e,this),0===e.length&&document.body.classList.remove(`v-popper--some-open--${n}`)}g$4===this&&(g$4=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;null!==t&&(this.$_disposeTimer=setTimeout((()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)}),t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await G$2(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if("string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=e=>{this.isShown&&!this.$_hideInProgress||(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,pe$1,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],pe$1,this.popperTriggers,this.popperShowTriggers,e);const t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,ae,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],ae,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach((e=>e.addEventListener(t,n,$$3?{passive:!0}:void 0)))},$_registerTriggerListeners(e,t,n,o,r){let i=n;null!=o&&(i="function"==typeof o?o(i):o),i.forEach((n=>{const o=t[n];o&&this.$_registerEventListeners(e,o,r)}))},$_removeEventListeners(e){const t=[];this.$_events.forEach((n=>{const{targetNodes:o,eventType:r,handler:i}=n;e&&e!==r?t.push(n):o.forEach((e=>e.removeEventListener(r,i)))})),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout((()=>{this.$_preventShow=!1}),300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const o=n.getAttribute(e);o&&(n.removeAttribute(e),n.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const o=e[n];null==o?t.removeAttribute(n):t.setAttribute(n,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(y$4>=e.left&&y$4<=e.right&&_$2>=e.top&&_$2<=e.bottom){const e=this.$_popperNode.getBoundingClientRect(),t=y$4-c$5,n=_$2-m$6,o=e.left+e.width/2-c$5+(e.top+e.height/2)-m$6+e.width+e.height,r=c$5+t*o,i=m$6+n*o;return C$2(c$5,m$6,r,i,e.left,e.top,e.left,e.bottom)||C$2(c$5,m$6,r,i,e.left,e.top,e.right,e.top)||C$2(c$5,m$6,r,i,e.right,e.top,e.right,e.bottom)||C$2(c$5,m$6,r,i,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(_e){const e=!$$3||{passive:!0,capture:!0};document.addEventListener("touchstart",(e=>ue$1(e,!0)),e),document.addEventListener("touchend",(e=>fe$1(e,!0)),e)}else window.addEventListener("mousedown",(e=>ue$1(e,!1)),!0),window.addEventListener("click",(e=>fe$1(e,!1)),!0);window.addEventListener("resize",tt$2)}function ue$1(e,t){if(h$3.autoHideOnMousedown)Pe$1(e,t);else for(let n=0;n<d$7.length;n++){const t=d$7[n];try{t.mouseDownContains=t.popperNode().contains(e.target)}catch{}}}function fe$1(e,t){h$3.autoHideOnMousedown||Pe$1(e,t)}function Pe$1(e,t){const n={};for(let o=d$7.length-1;o>=0;o--){const r=d$7[o];try{const o=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame((()=>{if(r.pendingHide=!1,!n[r.randomId]&&ce$2(r,o,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let e=r.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let i=r.parentPopper;for(;i&&ce$2(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}}))}catch{}}}function ce$2(e,t,n){return n.closeAllPopover||n.closePopover&&t||et$1(e,n)&&!t}function et$1(e,t){if("function"==typeof e.autoHide){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function tt$2(){for(let e=0;e<d$7.length;e++)d$7[e].$_computePosition()}let c$5=0,m$6=0,y$4=0,_$2=0;function C$2(e,t,n,o,r,i,a,l){const s=((a-r)*(t-i)-(l-i)*(e-r))/((l-i)*(n-e)-(a-r)*(o-t)),c=((n-e)*(t-i)-(o-t)*(e-r))/((l-i)*(n-e)-(a-r)*(o-t));return s>=0&&s<=1&&c>=0&&c<=1}typeof window<"u"&&window.addEventListener("mousemove",(e=>{c$5=y$4,m$6=_$2,y$4=e.clientX,_$2=e.clientY}),$$3?{passive:!0}:void 0);const ot$2={extends:Q$3()},B$3=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function it$2(e,t,n,o,r,i){return openBlock(),createElementBlock("div",{ref:"reference",class:normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[renderSlot(e.$slots,"default",normalizeProps(guardReactiveProps(e.slotData)))],2)}const st$2=B$3(ot$2,[["render",it$2]]);function nt$2(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let z$3;function X$3(){X$3.init||(X$3.init=!0,z$3=-1!==nt$2())}var E$7={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){X$3(),nextTick((()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()}));const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",z$3&&this.$el.appendChild(e),e.data="about:blank",z$3||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!z$3&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const rt$2=withScopeId();pushScopeId("data-v-b329ee4c");const pt$2={class:"resize-observer",tabindex:"-1"};popScopeId();const at$2=rt$2(((e,t,n,o,r,i)=>(openBlock(),createBlock("div",pt$2))));E$7.render=at$2,E$7.__scopeId="data-v-b329ee4c",E$7.__file="src/components/ResizeObserver.vue";const Z$2=(e="theme")=>({computed:{themeClass(){return Ze$1(this[e])}}}),dt$2=defineComponent({name:"VPopperContent",components:{ResizeObserver:E$7},mixins:[Z$2()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx:e=>null==e||isNaN(e)?null:`${e}px`}}),lt$3=["id","aria-hidden","tabindex","data-popper-placement"],ht$2={ref:"inner",class:"v-popper__inner"},ut$2=createBaseVNode("div",{class:"v-popper__arrow-outer"},null,-1),ft$2=createBaseVNode("div",{class:"v-popper__arrow-inner"},null,-1),ct$1=[ut$2,ft$2];function mt$2(e,t,n,o,r,i){const a=resolveComponent("ResizeObserver");return openBlock(),createElementBlock("div",{id:e.popperId,ref:"popover",class:normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:normalizeStyle$1(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=withKeys((t=>e.autoHide&&e.$emit("hide")),["esc"]))},[createBaseVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=t=>e.autoHide&&e.$emit("hide"))}),createBaseVNode("div",{class:"v-popper__wrapper",style:normalizeStyle$1(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[createBaseVNode("div",ht$2,[e.mounted?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",null,[renderSlot(e.$slots,"default")]),e.handleResize?(openBlock(),createBlock(a,{key:0,onNotify:t[1]||(t[1]=t=>e.$emit("resize",t))})):createCommentVNode("",!0)],64)):createCommentVNode("",!0)],512),createBaseVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:normalizeStyle$1(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},ct$1,4)],4)],46,lt$3)}const ee$1=B$3(dt$2,[["render",mt$2]]),te$1={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let K$3=function(){};typeof window<"u"&&(K$3=window.Element);const gt$2=defineComponent({name:"VPopperWrapper",components:{Popper:st$2,PopperContent:ee$1},mixins:[te$1,Z$2("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,K$3,Boolean],default:void 0},boundary:{type:[String,K$3],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter((e=>e!==this.$refs.popperContent.$el))}}});function wt$2(e,t,n,o,r,i){const a=resolveComponent("PopperContent"),l=resolveComponent("Popper");return openBlock(),createBlock(l,mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=t=>e.$emit("update:shown",t)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:withCtx((({popperId:t,isShown:n,shouldMountContent:o,skipTransition:r,autoHide:i,show:l,hide:s,handleResize:c,onResize:u,classes:d,result:p})=>[renderSlot(e.$slots,"default",{shown:n,show:l,hide:s}),createVNode$1(a,{ref:"popperContent","popper-id":t,theme:e.finalTheme,shown:n,mounted:o,"skip-transition":r,"auto-hide":i,"handle-resize":c,classes:d,result:p,onHide:s,onResize:u},{default:withCtx((()=>[renderSlot(e.$slots,"popper",{shown:n,hide:s})])),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])])),_:3},16,["theme","target-nodes","popper-node","class"])}const k$3=B$3(gt$2,[["render",wt$2]]),Se$2={...k$3,name:"VDropdown",vPopperTheme:"dropdown"},be$1={...k$3,name:"VMenu",vPopperTheme:"menu"},Ce={...k$3,name:"VTooltip",vPopperTheme:"tooltip"},$t$2=defineComponent({name:"VTooltipDirective",components:{Popper:Q$3(),PopperContent:ee$1},mixins:[te$1],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>S$4(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>S$4(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data:()=>({asyncContent:null}),computed:{isContentAsync(){return"function"==typeof this.content},loading(){return this.isContentAsync&&null==this.asyncContent},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if("function"==typeof this.content&&this.$_isShown&&(e||!this.$_loading&&null==this.asyncContent)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,t=this.content(this);t.then?t.then((t=>this.onResult(e,t))):this.onResult(e,t)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),vt$2=["innerHTML"],yt$2=["textContent"];function _t$2(e,t,n,o,r,i){const a=resolveComponent("PopperContent"),l=resolveComponent("Popper");return openBlock(),createBlock(l,mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:withCtx((({popperId:t,isShown:n,shouldMountContent:o,skipTransition:r,autoHide:i,hide:l,handleResize:s,onResize:c,classes:u,result:d})=>[createVNode$1(a,{ref:"popperContent",class:normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":t,theme:e.theme,shown:n,mounted:o,"skip-transition":r,"auto-hide":i,"handle-resize":s,classes:u,result:d,onHide:l,onResize:c},{default:withCtx((()=>[e.html?(openBlock(),createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,vt$2)):(openBlock(),createElementBlock("div",{key:1,textContent:toDisplayString(e.finalContent)},null,8,yt$2))])),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])])),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const ze=B$3($t$2,[["render",_t$2]]),Ae$1="v-popper--has-tooltip";function Tt$2(e,t){let n=e.placement;if(!n&&t)for(const o of Te$3)t[o]&&(n=o);return n||(n=S$4(e.theme||"tooltip","placement")),n}function Ne(e,t,n){let o;const r=typeof t;return o="string"===r?{content:t}:t&&"object"===r?t:{content:!1},o.placement=Tt$2(o,n),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}let x$4,b$3,Pt=0;function St$2(){if(x$4)return;b$3=ref([]),x$4=createApp({name:"VTooltipDirectiveApp",setup:()=>({directives:b$3}),render(){return this.directives.map((e=>h$5(ze,{...e.options,shown:e.shown||e.options.shown,key:e.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),x$4.mount(e)}function bt$2(e,t,n){St$2();const o=ref(Ne(e,t,n)),r=ref(!1),i={id:Pt++,options:o,shown:r};return b$3.value.push(i),e.classList&&e.classList.add(Ae$1),e.$_popper={options:o,item:i,show(){r.value=!0},hide(){r.value=!1}}}function He$1(e){if(e.$_popper){const t=b$3.value.indexOf(e.$_popper.item);-1!==t&&b$3.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Ae$1)}function me$2(e,{value:t,modifiers:n}){const o=Ne(e,t,n);if(!o.content||S$4(o.theme||"tooltip","disabled"))He$1(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=o):r=bt$2(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const oe={beforeMount:me$2,updated:me$2,beforeUnmount(e){He$1(e)}};function ge$2(e){e.addEventListener("mousedown",H$5),e.addEventListener("click",H$5),e.addEventListener("touchstart",Oe,!!$$3&&{passive:!0})}function we$1(e){e.removeEventListener("mousedown",H$5),e.removeEventListener("click",H$5),e.removeEventListener("touchstart",Oe),e.removeEventListener("touchend",Me$1),e.removeEventListener("touchcancel",Be$1)}function H$5(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Oe(e){if(1===e.changedTouches.length){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Me$1),t.addEventListener("touchcancel",Be$1)}}function Me$1(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){const n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Be$1(e){e.currentTarget.$_vclosepopover_touch=!1}const ie={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&ge$2(e)},updated(e,{value:t,oldValue:n,modifiers:o}){e.$_closePopoverModifiers=o,t!==n&&(typeof t>"u"||t?ge$2(e):we$1(e))},beforeUnmount(e){we$1(e)}};function Ct$1(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,ye$1(h$3,t),e.directive("tooltip",oe),e.directive("close-popper",ie),e.component("VTooltip",Ce),e.component("VDropdown",Se$2),e.component("VMenu",be$1))}const Gt$1={version:"5.2.2",install:Ct$1,options:h$3},matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(e,t,n,o="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),n=r.pop(),i={provider:r.length>0?r[0]:o,prefix:n,name:e};return t&&!validateIconName(i)?null:i}const i=r[0],a=i.split("-");if(a.length>1){const e={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!validateIconName(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:i};return t&&!validateIconName(e,n)?null:e}return null},validateIconName=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function mergeIconData(e,t){const n=mergeIconTransformations(e,t);for(const o in defaultExtendedIconProps)o in defaultIconTransformations?o in e&&!(o in n)&&(n[o]=defaultIconTransformations[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function getIconsTree(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);return Object.keys(n).concat(Object.keys(o)).forEach((function e(t){if(n[t])return r[t]=[];if(!(t in r)){r[t]=null;const n=o[t]&&o[t].parent,i=n&&e(n);i&&(r[t]=[n].concat(i))}return r[t]})),r}function internalGetIconData(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(e){i=mergeIconData(o[e]||r[e],i)}return a(t),n.forEach(a),mergeIconData(e,i)}function parseIconSet(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),n.push(e)}));const o=getIconsTree(e);for(const r in o){const i=o[r];i&&(t(r,internalGetIconData(e,r,i)),n.push(r))}return n}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function quicklyValidateIconSet(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!checkOptionalProps(e,optionalPropertyDefaults))return null;const n=t.icons;for(const r in n){const e=n[r];if(!r||"string"!=typeof e.body||!checkOptionalProps(e,defaultExtendedIconProps))return null}const o=t.aliases||Object.create(null);for(const r in o){const e=o[r],t=e.parent;if(!r||"string"!=typeof t||!n[t]&&!o[t]||!checkOptionalProps(e,defaultExtendedIconProps))return null}return t}const dataStorage=Object.create(null);function newStorage(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function getStorage(e,t){const n=dataStorage[e]||(dataStorage[e]=Object.create(null));return n[t]||(n[t]=newStorage(e,t))}function addIconSet(e,t){return quicklyValidateIconSet(t)?parseIconSet(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}function addIconToStorage(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch(o){}return!1}let simpleNames=!1;function allowSimpleNames(e){return"boolean"==typeof e&&(simpleNames=e),simpleNames}function getIconData(e){const t="string"==typeof e?stringToIcon(e,!0,simpleNames):e;if(t){const e=getStorage(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function addIcon(e,t){const n=stringToIcon(e,!0,simpleNames);if(!n)return!1;const o=getStorage(n.provider,n.prefix);return t?addIconToStorage(o,n.name,t):(o.missing.add(n.name),!0)}function addCollection(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),simpleNames&&!t&&!e.prefix){let t=!1;return quicklyValidateIconSet(e)&&(e.prefix="",parseIconSet(e,((e,n)=>{addIcon(e,n)&&(t=!0)}))),t}const n=e.prefix;if(!validateIconName({prefix:n,name:"a"}))return!1;return!!addIconSet(getStorage(t,n),e)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(unitsSplit);if(null===o||!o.length)return e;const r=[];let i=o.shift(),a=unitsTest.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*n)/n)}else r.push(i);if(i=o.shift(),void 0===i)return r.join("");a=!a}}function splitSVGDefs(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),i=e.indexOf("</"+t);if(-1===r||-1===i)break;const a=e.indexOf(">",i);if(-1===a)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,o).trim()+e.slice(a+1)}return{defs:n,content:e}}function mergeDefsAndContent(e,t){return e?"<defs>"+e+"</defs>"+t:t}function wrapSVGContent(e,t,n){const o=splitSVGDefs(e);return mergeDefsAndContent(o.defs,t+o.content+n)}const isUnsetKeyword=e=>"unset"===e||"undefined"===e||"none"===e;function iconToSVG(e,t){const n={...defaultIconProps,...e},o={...defaultIconCustomisations,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach((e=>{const t=[],n=e.hFlip,o=e.vFlip;let a,l=e.rotate;switch(n?o?l+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):o&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),l<0&&(l-=4*Math.floor(l/4)),l%=4,l){case 1:a=r.height/2+r.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:a=r.width/2+r.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}l%2==1&&(r.left!==r.top&&(a=r.left,r.left=r.top,r.top=a),r.width!==r.height&&(a=r.width,r.width=r.height,r.height=a)),t.length&&(i=wrapSVGContent(i,'<g transform="'+t.join(" ")+'">',"</g>"))}));const a=o.width,l=o.height,s=r.width,c=r.height;let u,d;null===a?(d=null===l?"1em":"auto"===l?c:l,u=calculateSize(d,s/c)):(u="auto"===a?s:a,d=null===l?calculateSize(u,c/s):"auto"===l?c:l);const p={},f=(e,t)=>{isUnsetKeyword(t)||(p[e]=t.toString())};f("width",u),f("height",d);const h=[r.left,r.top,s,c];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:i}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let counter=0;function replaceIDs(e,t=randomPrefix){const n=[];let o;for(;o=regex.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const o="function"==typeof t?t(n):t+(counter++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")})),e=e.replace(new RegExp(r,"g"),"")}const storage$1=Object.create(null);function setAPIModule(e,t){storage$1[e]=t}function getAPIModule(e){return storage$1[e]||storage$1[""]}function createAPIConfig(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)1===fallBackAPISources.length||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());function addAPIProvider(e,t){const n=createAPIConfig(t);return null!==n&&(configStorage[e]=n,!0)}function getAPIConfig(e){return configStorage[e]}configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});const detectFetch=()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}};let fetchModule=detectFetch();function calculateMaxLength(e,t){const n=getAPIConfig(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach((t=>{const n=t;e=Math.max(e,n.length)}));const r=t+".json?icons=";o=n.maxURL-e-n.path.length-r.length}else o=0;return o}function shouldAbort(e){return 404===e}const prepare$1=(e,t,n)=>{const o=[],r=calculateMaxLength(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},l=0;return n.forEach(((n,s)=>{l+=n.length+1,l>=r&&s>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},l=n.length),a.icons.push(n)})),o.push(a),o};function getPath(e){if("string"==typeof e){const t=getAPIConfig(e);if(t)return t.path}return"/"}const send=(e,t,n)=>{if(!fetchModule)return void n("abort",424);let o=getPath(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let r=503;fetchModule(e+o).then((e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout((()=>{n(shouldAbort(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{404===e?n("abort",e):n("next",r)}))})).catch((()=>{n("next",r)}))},fetchAPIModule={prepare:prepare$1,send:send};function sortIcons(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let o={provider:"",prefix:"",name:""};return e.forEach((e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const r=e.provider,i=e.prefix,a=e.name,l=n[r]||(n[r]=Object.create(null)),s=l[i]||(l[i]=getStorage(r,i));let c;c=a in s.icons?t.loaded:""===i||s.missing.has(a)?t.missing:t.pending;const u={provider:r,prefix:i,name:a};c.push(u)})),t}function removeCallback(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}function updateCallbacks(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==r)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:o,prefix:r,name:a});else{if(!e.missing.has(a))return n=!0,!0;i.missing.push({provider:o,prefix:r,name:a})}return!1})),i.pending.length!==a&&(n||removeCallback([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}let idCounter=0;function storeCallback(e,t,n){const o=idCounter++,r=removeCallback.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),r}function listToIcons(e,t=!0,n=!1){const o=[];return e.forEach((e=>{const r="string"==typeof e?stringToIcon(e,t,n):e;r&&o.push(r)})),o}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let t=e.resources.slice(0);for(a=[];t.length>1;){const e=Math.floor(Math.random()*t.length);a.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}a=a.concat(t)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let s,c="pending",u=0,d=null,p=[],f=[];function h(){d&&(clearTimeout(d),d=null)}function m(){"pending"===c&&(c="aborted"),h(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(f=[]),"function"==typeof e&&f.push(e)}function v(){c="failed",f.forEach((e=>{e(void 0,s)}))}function y(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function b(){if("pending"!==c)return;h();const o=a.shift();if(void 0===o)return p.length?void(d=setTimeout((()=>{h(),"pending"===c&&(y(),v())}),e.timeout)):void v();const r={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const r="success"!==n;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return s=o,void v();if(r)return s=o,void(p.length||(a.length?b():v()));if(h(),y(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}c="completed",f.forEach((e=>{e(o)}))}(r,t,n)}};p.push(r),u++,d=setTimeout(b,e.rotate),n(o,t,r.callback)}return"function"==typeof o&&f.push(o),setTimeout(b),function(){return{startTime:l,payload:t,status:c,queriesSent:u,queriesPending:p.length,subscribe:g,abort:m}}}function initRedundancy(e){const t={...defaultConfig,...e};let n=[];function o(){n=n.filter((e=>"pending"===e().status))}return{query:function(e,r,i){const a=sendQuery(t,e,r,((e,t)=>{o(),i&&i(e,t)}));return n.push(a),a},find:function(e){return n.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(e){if(!redundancyCache[e]){const t=getAPIConfig(e);if(!t)return;const n={config:t,redundancy:initRedundancy(t)};redundancyCache[e]=n}return redundancyCache[e]}function sendAPIQuery(e,t,n){let o,r;if("string"==typeof e){const t=getAPIModule(e);if(!t)return n(void 0,424),emptyCallback$1;r=t.send;const i=getRedundancyCache(e);i&&(o=i.redundancy)}else{const t=createAPIConfig(e);if(t){o=initRedundancy(t);const n=getAPIModule(e.resources?e.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(t,r,n)().abort:(n(void 0,424),emptyCallback$1)}function emptyCallback(){}function loadedNewIcons(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,updateCallbacks(e)})))}function checkIconNamesForAPI(e){const t=[],n=[];return e.forEach((e=>{(e.match(matchIconName)?t:n).push(e)})),{valid:t,invalid:n}}function parseLoaderResponse(e,t,n){function o(){const n=e.pendingIcons;t.forEach((t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)}))}if(n&&"object"==typeof n)try{if(!addIconSet(e,n).length)return void o()}catch(r){}o(),loadedNewIcons(e)}function parsePossiblyAsyncResponse(e,t){e instanceof Promise?e.then((e=>{t(e)})).catch((()=>{t(null)})):t(e)}function loadNewIcons(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const r=e.loadIcon;if(e.loadIcons&&(o.length>1||!r))return void parsePossiblyAsyncResponse(e.loadIcons(o,n,t),(t=>{parseLoaderResponse(e,o,t)}));if(r)return void o.forEach((o=>{parsePossiblyAsyncResponse(r(o,n,t),(t=>{parseLoaderResponse(e,[o],t?{prefix:n,icons:{[o]:t}}:null)}))}));const{valid:i,invalid:a}=checkIconNamesForAPI(o);if(a.length&&parseLoaderResponse(e,a,null),!i.length)return;const l=n.match(matchIconName)?getAPIModule(t):null;if(!l)return void parseLoaderResponse(e,i,null);l.prepare(t,n,i).forEach((n=>{sendAPIQuery(t,n,(t=>{parseLoaderResponse(e,n.icons,t)}))}))})))}const loadIcons=(e,t)=>{const n=sortIcons(listToIcons(e,!0,allowSimpleNames()));if(!n.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(n.loaded,n.missing,n.pending,emptyCallback)})),()=>{e=!1}}const o=Object.create(null),r=[];let i,a;return n.pending.forEach((e=>{const{provider:t,prefix:n}=e;if(n===a&&t===i)return;i=t,a=n,r.push(getStorage(t,n));const l=o[t]||(o[t]=Object.create(null));l[n]||(l[n]=[])})),n.pending.forEach((e=>{const{provider:t,prefix:n,name:r}=e,i=getStorage(t,n),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(r)||(a.add(r),o[t][n].push(r))})),r.forEach((e=>{const t=o[e.provider][e.prefix];t.length&&loadNewIcons(e,t)})),t?storeCallback(t,n,r):emptyCallback};function mergeCustomisations(e,t){const n={...e};for(const o in t){const e=t[o],r=typeof e;o in defaultIconSizeCustomisations?(null===e||e&&("string"===r||"number"===r))&&(n[o]=e):r===typeof n[o]&&(n[o]="rotate"===o?e%4:e)}return n}const separator=/[\s,]+/;function flipFromString(e,t){t.split(separator).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function rotateFromString(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r/=t,r%1==0?o(r):0)}}return t}function iconToHTML(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function encodeSVGforURL(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(e){return"data:image/svg+xml,"+encodeSVGforURL(e)}function svgToURL(e){return'url("'+svgToData(e)+'")'}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={webkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const xe in propsToAddTo){const e=propsToAddTo[xe];for(const t in propsToAdd)e[xe+t]=propsToAdd[t]}const customisationAliases={};function fixSize(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach((e=>{const t=e.slice(0,1)+"Flip";customisationAliases[e+"-flip"]=t,customisationAliases[e.slice(0,1)+"-flip"]=t,customisationAliases[e+"Flip"]=t}));const render$1=(e,t)=>{const n=mergeCustomisations(defaultExtendedIconCustomisations,t),o={...svgDefaults},r=t.mode||"svg",i={},a=t.style,l="object"!=typeof a||a instanceof Array?{}:a;for(let m in t){const e=t[m];if(void 0!==e)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[m]=!0===e||"true"===e||1===e;break;case"flip":"string"==typeof e&&flipFromString(n,e);break;case"color":i.color=e;break;case"rotate":"string"==typeof e?n[m]=rotateFromString(e):"number"==typeof e&&(n[m]=e);break;case"ariaHidden":case"aria-hidden":!0!==e&&"true"!==e&&delete o["aria-hidden"];break;default:{const t=customisationAliases[m];t?!0!==e&&"true"!==e&&1!==e||(n[t]=!0):void 0===defaultExtendedIconCustomisations[m]&&(o[m]=e)}}}const s=iconToSVG(e,n),c=s.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),"svg"===r){o.style={...i,...l},Object.assign(o,c);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),o.innerHTML=replaceIDs(s.body,n?()=>n+"ID"+e++:"iconifyVue"),h$5("svg",o)}const{body:u,width:d,height:p}=e,f="mask"===r||"bg"!==r&&-1!==u.indexOf("currentColor"),h=iconToHTML(u,{...c,width:d+"",height:p+""});return o.style={...i,"--svg":svgToURL(h),width:fixSize(c.width),height:fixSize(c.height),...commonProps,...f?monotoneProps:coloredProps,...l},h$5("span",o)};if(allowSimpleNames(!0),setAPIModule("",fetchAPIModule),"undefined"!=typeof document&&"undefined"!=typeof window){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{"object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||addCollection(e)}catch(e2){}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;addAPIProvider(e,n)}catch(e2){}}}}const emptyIcon={...defaultIconProps,body:""},Icon$1=defineComponent(((e,{emit:t})=>{const n=ref(null);function o(){var e,t;n.value&&(null==(t=(e=n.value).abort)||t.call(e),n.value=null)}const r=ref(!!e.ssr),i=ref(""),a=shallowRef(null);function l(){var r;const s=function(){const r=e.icon;if("object"==typeof r&&null!==r&&"string"==typeof r.body)return i.value="",{data:r};let a;if("string"!=typeof r||null===(a=stringToIcon(r,!1,!0)))return null;let s=getIconData(a);if(!s){const e=n.value;return e&&e.name===r||(n.value=null===s?{name:r}:{name:r,abort:loadIcons([a],l)}),null}o(),i.value!==r&&(i.value=r,nextTick((()=>{t("load",r)})));const c=e.customise;if(c){s=Object.assign({},s);const e=c(s.body,a.name,a.prefix,a.provider);"string"==typeof e&&(s.body=e)}const u=["iconify"];return""!==a.prefix&&u.push("iconify--"+a.prefix),""!==a.provider&&u.push("iconify--"+a.provider),{data:s,classes:u}}();s?s.data!==(null==(r=a.value)?void 0:r.data)&&(a.value=s):a.value=null}return r.value?l():onMounted((()=>{r.value=!0,l()})),watch((()=>e.icon),l),onUnmounted(o),()=>{const t=a.value;if(!t)return render$1(emptyIcon,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(" ")}),render$1({...defaultIconProps,...t.data},n)}}),{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),_hoisted_1$5={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},_hoisted_2$4=["xlink:href"],_hoisted_3$2=["src"],_sfc_main$2F=defineComponent({name:"SvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},size:{}},setup(e){const t=e,n=computed((()=>/^https?:\/\//.test(t.name)?"img":/i-[^:]+:[^:]+/.test(t.name)?"unocss":t.name.includes(":")?"iconify":"svg")),o=computed((()=>{const e=[];if(t.flip)switch(t.flip){case"horizontal":e.push("rotateY(180deg)");break;case"vertical":e.push("rotateX(180deg)");break;case"both":e.push("rotateX(180deg)"),e.push("rotateY(180deg)")}return t.rotate&&e.push(`rotate(${t.rotate%360}deg)`),{...t.color&&{color:t.color},...t.size&&{fontSize:"number"==typeof t.size?`${t.size}px`:t.size},...e.length&&{transform:e.join(" ")}}}));return(e,t)=>(openBlock(),createElementBlock("i",{class:normalizeClass(["relative h-[1em] w-[1em] flex-inline items-center justify-center fill-current leading-[1em]",{[e.name]:"unocss"===unref(n)}]),style:normalizeStyle$1(unref(o))},["iconify"===unref(n)?(openBlock(),createBlock(unref(Icon$1),{key:0,icon:e.name},null,8,["icon"])):"svg"===unref(n)?(openBlock(),createElementBlock("svg",_hoisted_1$5,[createBaseVNode("use",{"xlink:href":`#icon-${e.name}`},null,8,_hoisted_2$4)])):"img"===unref(n)?(openBlock(),createElementBlock("img",{key:2,src:e.name,class:"h-[1em] w-[1em]"},null,8,_hoisted_3$2)):createCommentVNode("",!0)],6))}});function t$6(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function o$5(){let e=[],t={addEventListener:(e,n,o,r)=>(e.addEventListener(n,o,r),t.add((()=>e.removeEventListener(n,o,r)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);t.add((()=>cancelAnimationFrame(n)))},nextFrame(...e){t.requestAnimationFrame((()=>{t.requestAnimationFrame(...e)}))},setTimeout(...e){let n=setTimeout(...e);t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return t$6((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let o=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:o})}))},group(e){let t=o$5();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}var r$1;let n$5=Symbol("headlessui.useid"),o$4=0;const i$7=null!=(r$1=useId$1)?r$1:function(){return inject(n$5,(()=>""+ ++o$4))()};function o$3(e){var t;if(null==e||null==e.value)return null;let n=null!=(t=e.value.$el)?t:e.value;return n instanceof Node?n:null}function u$7(e,t,...n){if(e in t){let o=t[e];return"function"==typeof o?o(...n):o}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,u$7),o}var i$6=Object.defineProperty,d$6=(e,t,n)=>t in e?i$6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,n$4=(e,t,n)=>(d$6(e,"symbol"!=typeof t?t+"":t,n),n);let s$5=class{constructor(){n$4(this,"current",this.detect()),n$4(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}},c$4=new s$5;function i$5(e){if(c$4.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=o$3(e);if(t)return t.ownerDocument}return document}let c$3=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var N$7=(n2=N$7||{},n2[n2.First=1]="First",n2[n2.Previous=2]="Previous",n2[n2.Next=4]="Next",n2[n2.Last=8]="Last",n2[n2.WrapAround=16]="WrapAround",n2[n2.NoScroll=32]="NoScroll",n2),T$4=(o2=T$4||{},o2[o2.Error=0]="Error",o2[o2.Overflow=1]="Overflow",o2[o2.Success=2]="Success",o2[o2.Underflow=3]="Underflow",o2),F$3=(t2=F$3||{},t2[t2.Previous=-1]="Previous",t2[t2.Next=1]="Next",t2),t2,o2,n2;function E$6(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(c$3)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var h$2=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(h$2||{});function w$6(e,t=0){var n;return e!==(null==(n=i$5(e))?void 0:n.body)&&u$7(t,{0:()=>e.matches(c$3),1(){let t=e;for(;null!==t;){if(t.matches(c$3))return!0;t=t.parentElement}return!1}})}var y$3=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(y$3||{});function S$3(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let H$4=["textarea","input"].join(",");function I$3(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,H$4))&&n}function O$2(e,t=e=>e){return e.slice().sort(((e,n)=>{let o=t(e),r=t(n);if(null===o||null===r)return 0;let i=o.compareDocumentPosition(r);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function P$4(e,t,{sorted:n=!0,relativeTo:o=null,skipElements:r=[]}={}){var i;let a=null!=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?i:document,l=Array.isArray(e)?n?O$2(e):e:E$6(e);r.length>0&&l.length>1&&(l=l.filter((e=>!r.includes(e)))),o=null!=o?o:a.activeElement;let s,c=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,l.indexOf(o))-1;if(4&t)return Math.max(0,l.indexOf(o))+1;if(8&t)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},p=0,f=l.length;do{if(p>=f||p+f<=0)return 0;let e=u+p;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}s=l[e],null==s||s.focus(d),p+=c}while(s!==a.activeElement);return 6&t&&I$3(s)&&s.select(),2}function t$5(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i$4(){return/Android/gi.test(window.navigator.userAgent)}function n$3(){return t$5()||i$4()}function u$6(e,t,n){c$4.isServer||watchEffect((o=>{document.addEventListener(e,t,n),o((()=>document.removeEventListener(e,t,n)))}))}function w$5(e,t,n){c$4.isServer||watchEffect((o=>{window.addEventListener(e,t,n),o((()=>window.removeEventListener(e,t,n)))}))}function w$4(e,t,n=computed((()=>!0))){function o(o,r){if(!n.value||o.defaultPrevented)return;let i=r(o);if(null===i||!i.getRootNode().contains(i))return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:o$3(e);if(null!=t&&t.contains(i)||o.composed&&o.composedPath().includes(t))return}return!w$6(i,h$2.Loose)&&-1!==i.tabIndex&&o.preventDefault(),t(o,i)}let r=ref(null);u$6("pointerdown",(e=>{var t,o;n.value&&(r.value=(null==(o=null==(t=e.composedPath)?void 0:t.call(e))?void 0:o[0])||e.target)}),!0),u$6("mousedown",(e=>{var t,o;n.value&&(r.value=(null==(o=null==(t=e.composedPath)?void 0:t.call(e))?void 0:o[0])||e.target)}),!0),u$6("click",(e=>{n$3()||r.value&&(o(e,(()=>r.value)),r.value=null)}),!0),u$6("touchend",(e=>o(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),w$5("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}var N$6=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(N$6||{}),S$2=(e2=S$2||{},e2[e2.Unmount=0]="Unmount",e2[e2.Hidden=1]="Hidden",e2),e2;function A$4({visible:e=!0,features:t=0,ourProps:n,theirProps:o,...r}){var i;let a=j$1(o,n),l=Object.assign(r,{props:a});if(e||2&t&&a.static)return y$2(l);if(1&t){return u$7(null==(i=a.unmount)||i?0:1,{0:()=>null,1:()=>y$2({...r,props:{...a,hidden:!0,style:{display:"none"}}})})}return y$2(l)}function y$2({props:e,attrs:t,slots:n,slot:o,name:r}){var i,a;let{as:l,...s}=T$3(e,["unmount","static"]),c=null==(i=n.default)?void 0:i.call(n,o),u={};if(o){let e=!1,t=[];for(let[n,r]of Object.entries(o))"boolean"==typeof r&&(e=!0),!0===r&&t.push(n);e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===l){if(c=b$2(null!=c?c:[]),Object.keys(s).length>0||Object.keys(t).length>0){let[e,...n]=null!=c?c:[];if(!v$2(e)||n.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(s).concat(Object.keys(t)).map((e=>e.trim())).filter(((e,t,n)=>n.indexOf(e)===t)).sort(((e,t)=>e.localeCompare(t))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let o=j$1(null!=(a=e.props)?a:{},s,u),i=cloneVNode(e,o,!0);for(let t in o)t.startsWith("on")&&(i.props||(i.props={}),i.props[t]=o[t]);return i}return Array.isArray(c)&&1===c.length?c[0]:c}return h$5(l,Object.assign({},s,u),{default:()=>c})}function b$2(e){return e.flatMap((e=>e.type===Fragment?b$2(e.children):[e]))}function j$1(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let o of e)for(let e in o)e.startsWith("on")&&"function"==typeof o[e]?(null!=n[e]||(n[e]=[]),n[e].push(o[e])):t[e]=o[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let o in n)Object.assign(t,{[o](e,...t){let r=n[o];for(let n of r){if(e instanceof Event&&e.defaultPrevented)return;n(e,...t)}}});return t}function E$5(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function T$3(e,t=[]){let n=Object.assign({},e);for(let o of t)o in n&&delete n[o];return n}function v$2(e){return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)}var u$5=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(u$5||{});let f$3=defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:n})=>()=>{var o;let{features:r,...i}=e;return A$4({ourProps:{"aria-hidden":!(2&~r)||(null!=(o=i["aria-hidden"])?o:void 0),hidden:!(4&~r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~r)&&!!(2&~r)&&{display:"none"}}},theirProps:i,slot:{},attrs:n,slots:t,name:"Hidden"})}}),n$2=Symbol("Context");var i$3=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(i$3||{});function s$4(){return null!==l$4()}function l$4(){return inject(n$2,null)}function t$4(e){provide(n$2,e)}var o$2=(r2=o$2||{},r2.Space=" ",r2.Enter="Enter",r2.Escape="Escape",r2.Backspace="Backspace",r2.Delete="Delete",r2.ArrowLeft="ArrowLeft",r2.ArrowUp="ArrowUp",r2.ArrowRight="ArrowRight",r2.ArrowDown="ArrowDown",r2.Home="Home",r2.End="End",r2.PageUp="PageUp",r2.PageDown="PageDown",r2.Tab="Tab",r2),r2;function t$3(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}let t$2=[];function E$4(e,t,n,o){c$4.isServer||watchEffect((r=>{(e=null!=e?e:window).addEventListener(t,n,o),r((()=>e.removeEventListener(t,n,o)))}))}t$3((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&t$2[0]!==e.target&&(t$2.unshift(e.target),t$2=t$2.filter((e=>null!=e&&e.isConnected)),t$2.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}));var d$5=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(d$5||{});function n$1(){let e=ref(0);return w$5("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}function B$2(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.value){let e=o$3(n);e instanceof HTMLElement&&t.add(e)}return t}var A$3=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(A$3||{});let ue=Object.assign(defineComponent({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:ref(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:o}){let r=ref(null);o({el:r,$el:r});let i=computed((()=>i$5(r))),a=ref(!1);onMounted((()=>a.value=!0)),onUnmounted((()=>a.value=!1)),$$2({ownerDocument:i},computed((()=>a.value&&Boolean(16&e.features))));let l=z$2({ownerDocument:i,container:r,initialFocus:computed((()=>e.initialFocus))},computed((()=>a.value&&Boolean(2&e.features))));J$2({ownerDocument:i,container:r,containers:e.containers,previousActiveElement:l},computed((()=>a.value&&Boolean(8&e.features))));let s=n$1();function c(e){let t=o$3(r);t&&u$7(s.value,{[d$5.Forwards]:()=>{P$4(t,N$7.First,{skipElements:[e.relatedTarget]})},[d$5.Backwards]:()=>{P$4(t,N$7.Last,{skipElements:[e.relatedTarget]})}})}let u=ref(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}function p(t){if(!a.value)return;let n=B$2(e.containers);o$3(r)instanceof HTMLElement&&n.add(o$3(r));let o=t.relatedTarget;o instanceof HTMLElement&&"true"!==o.dataset.headlessuiFocusGuard&&(N$5(n,o)||(u.value?P$4(o$3(r),u$7(s.value,{[d$5.Forwards]:()=>N$7.Next,[d$5.Backwards]:()=>N$7.Previous})|N$7.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&S$3(t.target)))}return()=>{let o={ref:r,onKeydown:d,onFocusout:p},{features:i,initialFocus:a,containers:l,...s}=e;return h$5(Fragment,[Boolean(4&i)&&h$5(f$3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:u$5.Focusable}),A$4({ourProps:o,theirProps:{...t,...s},slot:{},attrs:t,slots:n,name:"FocusTrap"}),Boolean(4&i)&&h$5(f$3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:u$5.Focusable})])}}}),{features:A$3});function W$3(e){let t=ref(t$2.slice());return watch([e],(([e],[n])=>{!0===n&&!1===e?t$6((()=>{t.value.splice(0)})):!1===n&&!0===e&&(t.value=t$2.slice())}),{flush:"post"}),()=>{var e;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}function $$2({ownerDocument:e},t){let n=W$3(t);onMounted((()=>{watchEffect((()=>{var o,r;t.value||(null==(o=e.value)?void 0:o.activeElement)===(null==(r=e.value)?void 0:r.body)&&S$3(n())}),{flush:"post"})})),onUnmounted((()=>{t.value&&S$3(n())}))}function z$2({ownerDocument:e,container:t,initialFocus:n},o){let r=ref(null),i=ref(!1);return onMounted((()=>i.value=!0)),onUnmounted((()=>i.value=!1)),onMounted((()=>{watch([t,n,o],((a,l)=>{if(a.every(((e,t)=>(null==l?void 0:l[t])===e))||!o.value)return;let s=o$3(t);s&&t$6((()=>{var t,o;if(!i.value)return;let a=o$3(n),l=null==(t=e.value)?void 0:t.activeElement;if(a){if(a===l)return void(r.value=l)}else if(s.contains(l))return void(r.value=l);a?S$3(a):(P$4(s,N$7.First|N$7.NoScroll),T$4.Error),r.value=null==(o=e.value)?void 0:o.activeElement}))}),{immediate:!0,flush:"post"})})),r}function J$2({ownerDocument:e,container:t,containers:n,previousActiveElement:o},r){var i;E$4(null==(i=e.value)?void 0:i.defaultView,"focus",(e=>{if(!r.value)return;let i=B$2(n);o$3(t)instanceof HTMLElement&&i.add(o$3(t));let a=o.value;if(!a)return;let l=e.target;l&&l instanceof HTMLElement?N$5(i,l)?(o.value=l,S$3(l)):(e.preventDefault(),e.stopPropagation(),S$3(a)):S$3(o.value)}),!0)}function N$5(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function m$5(e){let t=shallowRef(e.getSnapshot());return onUnmounted(e.subscribe((()=>{t.value=e.getSnapshot()}))),t}function a$3(e,t){let n=e(),o=new Set;return{getSnapshot:()=>n,subscribe:e=>(o.add(e),()=>o.delete(e)),dispatch(e,...r){let i=t[e].call(n,...r);i&&(n=i,o.forEach((e=>e())))}}}function c$2(){let e;return{before({doc:t}){var n;let o=t.documentElement;e=(null!=(n=t.defaultView)?n:window).innerWidth-o.clientWidth},after({doc:t,d:n}){let o=t.documentElement,r=o.clientWidth-o.offsetWidth,i=e-r;n.style(o,"paddingRight",`${i}px`)}}}function w$3(){return t$5()?{before({doc:e,d:t,meta:n}){function o(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=o$5();n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))}let r=null!=(n=window.scrollY)?n:window.pageYOffset,i=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),a=e.querySelector(r);a&&!o(a)&&(i=a)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(o(e.target)){let n=e.target;for(;n.parentElement&&o(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(o(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;r!==t&&window.scrollTo(0,r),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)}))}))}}:{}}function l$3(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function m$4(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let a$2=a$3((()=>new Map),{PUSH(e,t){var n;let o=null!=(n=this.get(e))?n:{doc:e,count:0,d:o$5(),meta:new Set};return o.count++,o.meta.add(t),this.set(e,o),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let o={doc:e,d:t,meta:m$4(n)},r=[w$3(),c$2(),l$3()];r.forEach((({before:e})=>null==e?void 0:e(o))),r.forEach((({after:e})=>null==e?void 0:e(o)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function d$4(e,t,n){let o=m$5(a$2),r=computed((()=>{let t=e.value?o.value.get(e.value):void 0;return!!t&&t.count>0}));return watch([e,t],(([e,t],[o],r)=>{if(!e||!t)return;a$2.dispatch("PUSH",e,n);let i=!1;r((()=>{i||(a$2.dispatch("POP",null!=o?o:e,n),i=!0)}))}),{immediate:!0}),r}a$2.subscribe((()=>{let e=a$2.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),o=0!==n.count;(o&&!e||!o&&e)&&a$2.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&a$2.dispatch("TEARDOWN",n)}}));let i$2=new Map,t$1=new Map;function E$3(e,t=ref(!0)){watchEffect((n=>{var o;if(!t.value)return;let r=o$3(e);if(!r)return;n((function(){var e;if(!r)return;let t=null!=(e=t$1.get(r))?e:1;if(1===t?t$1.delete(r):t$1.set(r,t-1),1!==t)return;let n=i$2.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,i$2.delete(r))}));let i=null!=(o=t$1.get(r))?o:0;t$1.set(r,i+1),0===i&&(i$2.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0)}))}function N$4({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let o=ref(null),r=i$5(o);function i(){var n,i,a;let l=[];for(let t of e)null!==t&&(t instanceof HTMLElement?l.push(t):"value"in t&&t.value instanceof HTMLElement&&l.push(t.value));if(null!=t&&t.value)for(let e of t.value)l.push(e);for(let e of null!=(n=null==r?void 0:r.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(o$3(o))||e.contains(null==(a=null==(i=o$3(o))?void 0:i.getRootNode())?void 0:a.host)||l.some((t=>e.contains(t)))||l.push(e));return l}return{resolveContainers:i,contains:e=>i().some((t=>t.contains(e))),mainTreeNodeRef:o,MainTreeNode:()=>null!=n?null:h$5(f$3,{features:u$5.Hidden,ref:o})}}let e$2=Symbol("ForcePortalRootContext");function s$3(){return inject(e$2,!1)}let u$4=defineComponent({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:n})=>(provide(e$2,e.force),()=>{let{force:o,...r}=e;return A$4({theirProps:r,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})})}),u$3=Symbol("StackContext");var s$2=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(s$2||{});function y$1(){return inject(u$3,(()=>{}))}function R$3({type:e,enabled:t,element:n,onUpdate:o}){let r=y$1();function i(...e){null==o||o(...e),r(...e)}onMounted((()=>{watch(t,((t,o)=>{t?i(0,e,n):!0===o&&i(1,e,n)}),{immediate:!0,flush:"sync"})})),onUnmounted((()=>{t.value&&i(1,e,n)})),provide(u$3,i)}let u$2=Symbol("DescriptionContext");function w$2(){let e=inject(u$2,null);if(null===e)throw new Error("Missing parent");return e}function k$2({slot:e=ref({}),name:t="Description",props:n={}}={}){let o=ref([]);return provide(u$2,{register:function(e){return o.value.push(e),()=>{let t=o.value.indexOf(e);-1!==t&&o.value.splice(t,1)}},slot:e,name:t,props:n}),computed((()=>o.value.length>0?o.value.join(" "):void 0))}let K$2=defineComponent({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var o;let r=null!=(o=e.id)?o:`headlessui-description-${i$7()}`,i=w$2();return onMounted((()=>onUnmounted(i.register(r)))),()=>{let{name:o="Description",slot:a=ref({}),props:l={}}=i,{...s}=e;return A$4({ourProps:{...Object.entries(l).reduce(((e,[t,n])=>Object.assign(e,{[t]:unref(n)})),{}),id:r},theirProps:s,slot:a.value,attrs:t,slots:n,name:o})}}});function x$3(e){let t=i$5(e);if(!t){if(null===e)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let o=t.createElement("div");return o.setAttribute("id","headlessui-portal-root"),t.body.appendChild(o)}const f$2=new WeakMap;function U$3(e){var t;return null!=(t=f$2.get(e))?t:0}function M$2(e,t){let n=t(U$3(e));return n<=0?f$2.delete(e):f$2.set(e,n),n}let $$1=defineComponent({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let o=ref(null),r=computed((()=>i$5(o))),i=s$3(),a=inject(H$3,null),l=ref(!0===i||null==a?x$3(o.value):a.resolveTarget());l.value&&M$2(l.value,(e=>e+1));let s=ref(!1);onMounted((()=>{s.value=!0})),watchEffect((()=>{i||null!=a&&(l.value=a.resolveTarget())}));let c=inject(d$3,null),u=!1,d=getCurrentInstance();return watch(o,(()=>{if(u||!c)return;let e=o$3(o);e&&(onUnmounted(c.register(e),d),u=!0)})),onUnmounted((()=>{var e,t;let n=null==(e=r.value)?void 0:e.getElementById("headlessui-portal-root");!n||l.value!==n||M$2(l.value,(e=>e-1))||l.value.children.length>0||null==(t=l.value.parentElement)||t.removeChild(l.value)})),()=>{if(!s.value||null===l.value)return null;let r={ref:o,"data-headlessui-portal":""};return h$5(Teleport$1,{to:l.value},A$4({ourProps:r,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),d$3=Symbol("PortalParentContext");function q$2(){let e=inject(d$3,null),t=ref([]);function n(n){let o=t.value.indexOf(n);-1!==o&&t.value.splice(o,1),e&&e.unregister(n)}let o={register:function(o){return t.value.push(o),e&&e.register(o),()=>n(o)},unregister:n,portals:t};return[t,defineComponent({name:"PortalWrapper",setup:(e,{slots:t})=>(provide(d$3,o),()=>{var e;return null==(e=t.default)?void 0:e.call(t)})})]}let H$3=Symbol("PortalGroupContext"),z$1=defineComponent({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let o=reactive({resolveTarget:()=>e.target});return provide(H$3,o),()=>{let{target:o,...r}=e;return A$4({theirProps:r,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var Te$2=(l2=Te$2||{},l2[l2.Open=0]="Open",l2[l2.Closed=1]="Closed",l2),l2;let H$2=Symbol("DialogContext");function T$2(e){let t=inject(H$2,null);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,T$2),t}return t}let A$2="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Ye$1=defineComponent({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:A$2},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:o,expose:r}){var i,a;let l=null!=(i=e.id)?i:`headlessui-dialog-${i$7()}`,s=ref(!1);onMounted((()=>{s.value=!0}));let c=!1,u=computed((()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(c||(c=!0),"dialog"))),d=ref(0),p=l$4(),f=computed((()=>e.open===A$2&&null!==p?(p.value&i$3.Open)===i$3.Open:e.open)),h=ref(null),m=computed((()=>i$5(h)));if(r({el:h,$el:h}),e.open===A$2&&null===p)throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if("boolean"!=typeof f.value)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${f.value===A$2?void 0:e.open}`);let g=computed((()=>s.value&&f.value?0:1)),v=computed((()=>0===g.value)),y=computed((()=>d.value>1)),b=null!==inject(H$2,null),[_,w]=q$2(),{resolveContainers:k,mainTreeNodeRef:x,MainTreeNode:S}=N$4({portals:_,defaultContainers:[computed((()=>{var e;return null!=(e=N.panelRef.value)?e:h.value}))]}),C=computed((()=>y.value?"parent":"leaf")),E=computed((()=>null!==p&&(p.value&i$3.Closing)===i$3.Closing)),T=computed((()=>!b&&!E.value&&v.value)),A=computed((()=>{var e,t,n;return null!=(n=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find((e=>"headlessui-portal-root"!==e.id&&(e.contains(o$3(x))&&e instanceof HTMLElement))))?n:null}));E$3(A,T);let $=computed((()=>!!y.value||v.value)),I=computed((()=>{var e,t,n;return null!=(n=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find((e=>e.contains(o$3(x))&&e instanceof HTMLElement)))?n:null}));E$3(I,$),R$3({type:"Dialog",enabled:computed((()=>0===g.value)),element:h,onUpdate:(e,t)=>{if("Dialog"===t)return u$7(e,{[s$2.Add]:()=>d.value+=1,[s$2.Remove]:()=>d.value-=1})}});let M=k$2({name:"DialogDescription",slot:computed((()=>({open:f.value})))}),P=ref(null),N={titleId:P,panelRef:ref(null),dialogState:g,setTitleId(e){P.value!==e&&(P.value=e)},close(){t("close",!1)}};provide(H$2,N);let O=computed((()=>!(!v.value||y.value)));w$4(k,((e,t)=>{e.preventDefault(),N.close(),nextTick((()=>null==t?void 0:t.focus()))}),O);let R=computed((()=>!(y.value||0!==g.value)));E$4(null==(a=m.value)?void 0:a.defaultView,"keydown",(e=>{R.value&&(e.defaultPrevented||e.key===o$2.Escape&&(e.preventDefault(),e.stopPropagation(),N.close()))}));let D=computed((()=>!(E.value||0!==g.value||b)));return d$4(m,D,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],k]}})),watchEffect((e=>{if(0!==g.value)return;let t=o$3(h);if(!t)return;let n=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&N.close()}}));n.observe(t),e((()=>n.disconnect()))})),()=>{let{open:t,initialFocus:r,...i}=e,a={...n,ref:h,id:l,role:u.value,"aria-modal":0===g.value||void 0,"aria-labelledby":P.value,"aria-describedby":M.value},s={open:0===g.value};return h$5(u$4,{force:!0},(()=>[h$5($$1,(()=>h$5(z$1,{target:h.value},(()=>h$5(u$4,{force:!1},(()=>h$5(ue,{initialFocus:r,containers:k,features:v.value?u$7(C.value,{parent:ue.features.RestoreFocus,leaf:ue.features.All&~ue.features.FocusLock}):ue.features.None},(()=>h$5(w,{},(()=>A$4({ourProps:a,theirProps:{...i,...n},slot:s,attrs:n,slots:o,visible:0===g.value,features:N$6.RenderStrategy|N$6.Static,name:"Dialog"}))))))))))),h$5(S)]))}}}),Ge$1=defineComponent({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:o}){var r;let i=null!=(r=e.id)?r:`headlessui-dialog-panel-${i$7()}`,a=T$2("DialogPanel");function l(e){e.stopPropagation()}return o({el:a.panelRef,$el:a.panelRef}),()=>{let{...o}=e;return A$4({ourProps:{id:i,ref:a.panelRef,onClick:l},theirProps:o,slot:{open:0===a.dialogState.value},attrs:t,slots:n,name:"DialogPanel"})}}}),Ve=defineComponent({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var o;let r=null!=(o=e.id)?o:`headlessui-dialog-title-${i$7()}`,i=T$2("DialogTitle");return onMounted((()=>{i.setTitleId(r),onUnmounted((()=>i.setTitleId(null)))})),()=>{let{...o}=e;return A$4({ourProps:{id:r},theirProps:o,slot:{open:0===i.dialogState.value},attrs:t,slots:n,name:"DialogTitle"})}}}),Je$1=K$2;function l$2(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function m$3(e,...t){e&&t.length>0&&e.classList.add(...t)}function d$2(e,...t){e&&t.length>0&&e.classList.remove(...t)}var g$3=(i2=g$3||{},i2.Finished="finished",i2.Cancelled="cancelled",i2),i2;function F$2(e,t){let n=o$5();if(!e)return n.dispose;let{transitionDuration:o,transitionDelay:r}=getComputedStyle(e),[i,a]=[o,r].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));return 0!==i?n.setTimeout((()=>t("finished")),i+a):t("finished"),n.add((()=>t("cancelled"))),n.dispose}function L$2(e,t,n,o,r,i){let a=o$5(),l=void 0!==i?l$2(i):()=>{};return d$2(e,...r),m$3(e,...t,...n),a.nextFrame((()=>{d$2(e,...n),m$3(e,...o),a.add(F$2(e,(n=>(d$2(e,...o,...t),m$3(e,...r),l(n)))))})),a.add((()=>d$2(e,...t,...n,...o,...r))),a.add((()=>l("cancelled"))),a.dispose}function g$2(e=""){return e.split(/\s+/).filter((e=>e.length>1))}let R$2=Symbol("TransitionContext");var pe=(a2=pe||{},a2.Visible="visible",a2.Hidden="hidden",a2),a2;function me$1(){return null!==inject(R$2,null)}function Te$1(){let e=inject(R$2,null);if(null===e)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}function ge$1(){let e=inject(N$3,null);if(null===e)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}let N$3=Symbol("NestingContext");function L$1(e){return"children"in e?L$1(e.children):e.value.filter((({state:e})=>"visible"===e)).length>0}function Q$2(e){let t=ref([]),n=ref(!1);function o(o,r=S$2.Hidden){let i=t.value.findIndex((({id:e})=>e===o));-1!==i&&(u$7(r,{[S$2.Unmount](){t.value.splice(i,1)},[S$2.Hidden](){t.value[i].state="hidden"}}),!L$1(t)&&n.value&&(null==e||e()))}return onMounted((()=>n.value=!0)),onUnmounted((()=>n.value=!1)),{children:t,register:function(e){let n=t.value.find((({id:t})=>t===e));return n?"visible"!==n.state&&(n.state="visible"):t.value.push({id:e,state:"visible"}),()=>o(e,S$2.Unmount)},unregister:o}}let W$2=N$6.RenderStrategy,he=defineComponent({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:o,expose:r}){let i=ref(0);function a(){i.value|=i$3.Opening,t("beforeEnter")}function l(){i.value&=~i$3.Opening,t("afterEnter")}function s(){i.value|=i$3.Closing,t("beforeLeave")}function c(){i.value&=~i$3.Closing,t("afterLeave")}if(!me$1()&&s$4())return()=>h$5(Se$1,{...e,onBeforeEnter:a,onAfterEnter:l,onBeforeLeave:s,onAfterLeave:c},o);let u=ref(null),d=computed((()=>e.unmount?S$2.Unmount:S$2.Hidden));r({el:u,$el:u});let{show:p,appear:f}=Te$1(),{register:h,unregister:m}=ge$1(),g=ref(p.value?"visible":"hidden"),v={value:!0},y=i$7(),b={value:!1},_=Q$2((()=>{!b.value&&"hidden"!==g.value&&(g.value="hidden",m(y),c())}));onMounted((()=>{let e=h(y);onUnmounted(e)})),watchEffect((()=>{if(d.value===S$2.Hidden&&y){if(p.value&&"visible"!==g.value)return void(g.value="visible");u$7(g.value,{hidden:()=>m(y),visible:()=>h(y)})}}));let w=g$2(e.enter),k=g$2(e.enterFrom),x=g$2(e.enterTo),S=g$2(e.entered),C=g$2(e.leave),E=g$2(e.leaveFrom),T=g$2(e.leaveTo);return onMounted((()=>{watchEffect((()=>{if("visible"===g.value){let e=o$3(u);if(e instanceof Comment&&""===e.data)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}}))})),onMounted((()=>{watch([p],((e,t,n)=>{(function(e){let t=v.value&&!f.value,n=o$3(u);!n||!(n instanceof HTMLElement)||t||(b.value=!0,p.value&&a(),p.value||s(),e(p.value?L$2(n,w,k,x,S,(e=>{b.value=!1,e===g$3.Finished&&l()})):L$2(n,C,E,T,S,(e=>{b.value=!1,e===g$3.Finished&&(L$1(_)||(g.value="hidden",m(y),c()))}))))})(n),v.value=!1}),{immediate:!0})})),provide(N$3,_),t$4(computed((()=>u$7(g.value,{visible:i$3.Open,hidden:i$3.Closed})|i.value))),()=>{let{appear:t,show:r,enter:i,enterFrom:a,enterTo:l,entered:s,leave:c,leaveFrom:d,leaveTo:h,...m}=e,v={ref:u};return A$4({theirProps:{...m,...f.value&&p.value&&c$4.isServer?{class:normalizeClass([n.class,m.class,...w,...k])}:{}},ourProps:v,slot:{},slots:o,attrs:n,features:W$2,visible:"visible"===g.value,name:"TransitionChild"})}}}),ce$1=he,Se$1=defineComponent({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:o}){let r=l$4(),i=computed((()=>null===e.show&&null!==r?(r.value&i$3.Open)===i$3.Open:e.show));watchEffect((()=>{if(![!0,!1].includes(i.value))throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.')}));let a=ref(i.value?"visible":"hidden"),l=Q$2((()=>{a.value="hidden"})),s=ref(!0),c={show:i,appear:computed((()=>e.appear||!s.value))};return onMounted((()=>{watchEffect((()=>{s.value=!1,i.value?a.value="visible":L$1(l)||(a.value="hidden")}))})),provide(N$3,l),provide(R$2,c),()=>{let r=T$3(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),i={unmount:e.unmount};return A$4({ourProps:{...i,as:"template"},theirProps:{},slot:{},slots:{...o,default:()=>[h$5(ce$1,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...i,...r},o.default)]},attrs:{},features:W$2,visible:"visible"===a.value,name:"Transition"})}}});const createCache=(e,t)=>{const{o:n,i:o,u:r}=e;let i,a=n;const l=(e,t)=>{const n=a,l=e,s=t||(o?!o(n,l):n!==l);return(s||r)&&(a=l,i=n),[a,s,i]};return[t?e=>l(t(a,i),e):l,e=>[a,!!e,i]]},t="undefined"!=typeof window&&"undefined"!=typeof HTMLElement&&!!window.document,n=t?window:{},o$1=Math.max,s$1=Math.min,e$1=Math.round,c$1=Math.abs,r=Math.sign,i$1=n.cancelAnimationFrame,l$1=n.requestAnimationFrame,a$1=n.setTimeout,u$1=n.clearTimeout,getApi=e=>void 0!==n[e]?n[e]:void 0,f$1=getApi("MutationObserver"),d$1=getApi("IntersectionObserver"),_$1=getApi("ResizeObserver"),p$1=getApi("ScrollTimeline"),isUndefined$3=e=>void 0===e,isNull$1=e=>null===e,isNumber$3=e=>"number"==typeof e,isString$3=e=>"string"==typeof e,isBoolean$2=e=>"boolean"==typeof e,isFunction$4=e=>"function"==typeof e,isArray$5=e=>Array.isArray(e),isObject$7=e=>"object"==typeof e&&!isArray$5(e)&&!isNull$1(e),isArrayLike$2=e=>{const t=!!e&&e.length,n=isNumber$3(t)&&t>-1&&t%1==0;return!!(isArray$5(e)||!isFunction$4(e)&&n)&&(!(t>0&&isObject$7(e))||t-1 in e)},isPlainObject$3=e=>!!e&&e.constructor===Object,isHTMLElement$1=e=>e instanceof HTMLElement,isElement$2=e=>e instanceof Element;function each$g(e,t){if(isArrayLike$2(e))for(let n=0;n<e.length&&!1!==t(e[n],n,e);n++);else e&&each$g(Object.keys(e),(n=>t(e[n],n,e)));return e}const inArray=(e,t)=>e.indexOf(t)>=0,concat=(e,t)=>e.concat(t),push$1=(e,t,n)=>(!isString$3(t)&&isArrayLike$2(t)?Array.prototype.push.apply(e,t):e.push(t),e),from=e=>Array.from(e||[]),createOrKeepArray=e=>isArray$5(e)?e:!isString$3(e)&&isArrayLike$2(e)?from(e):[e],isEmptyArray=e=>!!e&&!e.length,deduplicateArray=e=>from(new Set(e)),runEachAndClear=(e,t,n)=>{each$g(e,(e=>!e||e.apply(void 0,t||[]))),n||(e.length=0)},g$1="paddingTop",v$1="paddingRight",h$1="paddingLeft",b$1="paddingBottom",w$1="marginLeft",y="marginRight",S$1="marginBottom",m$2="overflowX",O$1="overflowY",$="width",C$1="height",x$2="visible",H$1="hidden",E$2="scroll",capitalizeFirstLetter=e=>{const t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""},equal=(e,t,n,o)=>{if(e&&t){let o=!0;return each$g(n,(n=>{e[n]!==t[n]&&(o=!1)})),o}return!1},equalWH=(e,t)=>equal(e,t,["w","h"]),equalXY=(e,t)=>equal(e,t,["x","y"]),equalTRBL=(e,t)=>equal(e,t,["t","r","b","l"]),bind$3=(e,...t)=>e.bind(0,...t),selfClearTimeout=e=>{let t;const n=e?a$1:l$1,o=e?u$1:i$1;return[r=>{o(t),t=n((()=>r()),isFunction$4(e)?e():e)},()=>o(t)]},getDebouncer=e=>{const t=isFunction$4(e)?e():e;if(isNumber$3(t)){const e=t?a$1:l$1,n=t?u$1:i$1;return o=>{const r=e((()=>o()),t);return()=>{n(r)}}}return t&&t._},debounce$1=(e,t)=>{const{p:n,v:o,S:r,m:i}=t||{};let a,l,s,c,u;const d=function(t){l&&l(),a&&a(),u=l=a=s=void 0,e.apply(this,t)},p=e=>i&&s?i(s,e):e,f=()=>{l&&d(p(c)||c)},h=function(){const e=from(arguments),t=getDebouncer(n);if(t){const n=getDebouncer(o),i=p(e)||e,h=d.bind(0,i);l&&l(),r&&!u?(h(),u=!0,l=t((()=>u=void 0))):(l=t(h),n&&!a&&(a=n(f))),s=c=i}else d(e)};return h.O=f,h},hasOwnProperty$e=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),keys$2=e=>e?Object.keys(e):[],assignDeep=(e,t,n,o,r,i,a)=>{const l=[t,n,o,r,i,a];return"object"==typeof e&&!isNull$1(e)||isFunction$4(e)||(e={}),each$g(l,(t=>{each$g(t,((n,o)=>{const r=t[o];if(e===r)return!0;const i=isArray$5(r);if(r&&isPlainObject$3(r)){const t=e[o];let n=t;i&&!isArray$5(t)?n=[]:i||isPlainObject$3(t)||(n={}),e[o]=assignDeep(n,r)}else e[o]=i?r.slice():r}))})),e},removeUndefinedProperties=(e,t)=>each$g(assignDeep({},e),((e,t,n)=>{void 0===e?delete n[t]:e&&isPlainObject$3(e)&&(n[t]=removeUndefinedProperties(e))})),isEmptyObject=e=>!keys$2(e).length,noop$7=()=>{},capNumber=(e,t,n)=>o$1(e,s$1(t,n)),getDomTokensArray=e=>deduplicateArray((isArray$5(e)?e:(e||"").split(" ")).filter((e=>e))),getAttr=(e,t)=>e&&e.getAttribute(t),hasAttr=(e,t)=>e&&e.hasAttribute(t),setAttrs=(e,t,n)=>{each$g(getDomTokensArray(t),(t=>{e&&e.setAttribute(t,String(n||""))}))},removeAttrs=(e,t)=>{each$g(getDomTokensArray(t),(t=>e&&e.removeAttribute(t)))},domTokenListAttr=(e,t)=>{const n=getDomTokensArray(getAttr(e,t)),o=bind$3(setAttrs,e,t),r=(e,t)=>{const o=new Set(n);return each$g(getDomTokensArray(e),(e=>{o[t](e)})),from(o).join(" ")};return{$:e=>o(r(e,"delete")),C:e=>o(r(e,"add")),H:e=>{const t=getDomTokensArray(e);return t.reduce(((e,t)=>e&&n.includes(t)),t.length>0)}}},removeAttrClass=(e,t,n)=>(domTokenListAttr(e,t).$(n),bind$3(addAttrClass,e,t,n)),addAttrClass=(e,t,n)=>(domTokenListAttr(e,t).C(n),bind$3(removeAttrClass,e,t,n)),addRemoveAttrClass=(e,t,n,o)=>(o?addAttrClass:removeAttrClass)(e,t,n),hasAttrClass=(e,t,n)=>domTokenListAttr(e,t).H(n),createDomTokenListClass=e=>domTokenListAttr(e,"class"),removeClass$1=(e,t)=>{createDomTokenListClass(e).$(t)},addClass$1=(e,t)=>(createDomTokenListClass(e).C(t),bind$3(removeClass$1,e,t)),find$1=(e,t)=>{const n=t?isElement$2(t)&&t:document;return n?from(n.querySelectorAll(e)):[]},findFirst=(e,t)=>{const n=t?isElement$2(t)&&t:document;return n&&n.querySelector(e)},is=(e,t)=>isElement$2(e)&&e.matches(t),isBodyElement=e=>is(e,"body"),contents=e=>e?from(e.childNodes):[],parent$2=e=>e&&e.parentElement,closest=(e,t)=>isElement$2(e)&&e.closest(t),getFocusedElement=e=>document.activeElement,liesBetween=(e,t,n)=>{const o=closest(e,t),r=e&&findFirst(n,o),i=closest(r,t)===o;return!(!o||!r)&&(o===e||r===e||i&&closest(closest(e,n),t)!==o)},removeElements=e=>{each$g(createOrKeepArray(e),(e=>{const t=parent$2(e);e&&t&&t.removeChild(e)}))},appendChildren=(e,t)=>bind$3(removeElements,e&&t&&each$g(createOrKeepArray(t),(t=>{t&&e.appendChild(t)})));let z;const getTrustedTypePolicy=()=>z,setTrustedTypePolicy=e=>{z=e},createDiv=e=>{const t=document.createElement("div");return setAttrs(t,"class",e),t},createDOM=e=>{const t=createDiv(),n=getTrustedTypePolicy(),o=e.trim();return t.innerHTML=n?n.createHTML(o):o,each$g(contents(t),(e=>removeElements(e)))},getCSSVal=(e,t)=>e.getPropertyValue(t)||e[t]||"",validFiniteNumber=e=>{const t=e||0;return isFinite(t)?t:0},parseToZeroOrNumber=e=>validFiniteNumber(parseFloat(e||"")),roundCssNumber=e=>Math.round(1e4*e)/1e4,numberToCssPx=e=>`${roundCssNumber(validFiniteNumber(e))}px`;function setStyles(e,t){e&&t&&each$g(t,((t,n)=>{try{const o=e.style,r=isNull$1(t)||isBoolean$2(t)?"":isNumber$3(t)?numberToCssPx(t):t;0===n.indexOf("--")?o.setProperty(n,r):o[n]=r}catch(o){}}))}function getStyles(e,t,o){const r=isString$3(t);let i=r?"":{};if(e){const a=n.getComputedStyle(e,o)||e.style;i=r?getCSSVal(a,t):from(t).reduce(((e,t)=>(e[t]=getCSSVal(a,t),e)),i)}return i}const topRightBottomLeft=(e,t,n)=>{const o=t?`${t}-`:"",r=n?`-${n}`:"",i=`${o}top${r}`,a=`${o}right${r}`,l=`${o}bottom${r}`,s=`${o}left${r}`,c=getStyles(e,[i,a,l,s]);return{t:parseToZeroOrNumber(c[i]),r:parseToZeroOrNumber(c[a]),b:parseToZeroOrNumber(c[l]),l:parseToZeroOrNumber(c[s])}},getTrasformTranslateValue=(e,t)=>"translate"+(isObject$7(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`),elementHasDimensions=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),I$2={w:0,h:0},getElmWidthHeightProperty=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:I$2,getWindowSize=e=>getElmWidthHeightProperty("inner",e||n),T$1=bind$3(getElmWidthHeightProperty,"offset"),A$1=bind$3(getElmWidthHeightProperty,"client"),D$1=bind$3(getElmWidthHeightProperty,"scroll"),getFractionalSize=e=>{const t=parseFloat(getStyles(e,$))||0,n=parseFloat(getStyles(e,C$1))||0;return{w:t-e$1(t),h:n-e$1(n)}},getBoundingClientRect$1=e=>e.getBoundingClientRect(),hasDimensions=e=>!!e&&elementHasDimensions(e),domRectHasDimensions=e=>!(!e||!e[C$1]&&!e[$]),domRectAppeared=(e,t)=>{const n=domRectHasDimensions(e);return!domRectHasDimensions(t)&&n},removeEventListener$1=(e,t,n,o)=>{each$g(getDomTokensArray(t),(t=>{e&&e.removeEventListener(t,n,o)}))},addEventListener$1=(e,t,n,o)=>{var r;const i=null==(r=o&&o.I)||r,a=o&&o.T||!1,l=o&&o.A||!1,s={passive:i,capture:a};return bind$3(runEachAndClear,getDomTokensArray(t).map((t=>{const o=l?r=>{removeEventListener$1(e,t,o,a),n&&n(r)}:n;return e&&e.addEventListener(t,o,s),bind$3(removeEventListener$1,e,t,o,a)})))},stopPropagation=e=>e.stopPropagation(),preventDefault$1=e=>e.preventDefault(),stopAndPrevent=e=>stopPropagation(e)||preventDefault$1(e),scrollElementTo=(e,t)=>{const{x:n,y:o}=isNumber$3(t)?{x:t,y:t}:t||{};isNumber$3(n)&&(e.scrollLeft=n),isNumber$3(o)&&(e.scrollTop=o)},getElementScroll=e=>({x:e.scrollLeft,y:e.scrollTop}),getZeroScrollCoordinates=()=>({D:{x:0,y:0},M:{x:0,y:0}}),sanitizeScrollCoordinates=(e,t)=>{const{D:n,M:o}=e,{w:i,h:a}=t,l=(e,t,n)=>{let o=r(e)*n,i=r(t)*n;if(o===i){const n=c$1(e),r=c$1(t);i=n>r?0:i,o=n<r?0:o}return o=o===i?0:o,[o+0,i+0]},[s,c]=l(n.x,o.x,i),[u,d]=l(n.y,o.y,a);return{D:{x:s,y:u},M:{x:c,y:d}}},isDefaultDirectionScrollCoordinates=({D:e,M:t})=>{const n=(e,t)=>0===e&&e<=t;return{x:n(e.x,t.x),y:n(e.y,t.y)}},getScrollCoordinatesPercent=({D:e,M:t},n)=>{const o=(e,t,n)=>capNumber(0,1,(e-n)/(e-t)||0);return{x:o(e.x,t.x,n.x),y:o(e.y,t.y,n.y)}},focusElement=e=>{e&&e.focus&&e.focus({preventScroll:!0})},manageListener=(e,t)=>{each$g(createOrKeepArray(t),e)},createEventListenerHub=e=>{const t=new Map,n=(e,n)=>{if(e){const o=t.get(e);manageListener((e=>{o&&o[e?"delete":"clear"](e)}),n)}else t.forEach((e=>{e.clear()})),t.clear()},o=(e,r)=>{if(isString$3(e)){const o=t.get(e)||new Set;return t.set(e,o),manageListener((e=>{isFunction$4(e)&&o.add(e)}),r),bind$3(n,e,r)}isBoolean$2(r)&&r&&n();const i=keys$2(e),a=[];return each$g(i,(t=>{const n=e[t];n&&push$1(a,o(t,n))})),bind$3(runEachAndClear,a)};return o(e||{}),[o,n,(e,n)=>{each$g(from(t.get(e)),(e=>{n&&!isEmptyArray(n)?e.apply(0,n):e()}))}]},M$1={},k$1={},addPlugins=e=>{each$g(e,(e=>each$g(e,((t,n)=>{M$1[n]=e[n]}))))},registerPluginModuleInstances=(e,t,n)=>keys$2(e).map((o=>{const{static:r,instance:i}=e[o],[a,l,s]=n||[],c=n?i:r;if(c){const e=n?c(a,l,t):c(t);return(s||k$1)[o]=e}})),getStaticPluginModuleInstance=e=>k$1[e],R$1="__osOptionsValidationPlugin",V="data-overlayscrollbars",L="os-environment",U$2=`${L}-scrollbar-hidden`,P$3=`${V}-initialize`,N$2="noClipping",q$1=`${V}-body`,B$1=V,F$1="host",j=`${V}-viewport`,X$2=m$2,Y$1=O$1,W$1="arrange",J$1="measuring",G$1="scrolling",K$1="scrollbarHidden",Q$1="noContent",Z$1=`${V}-padding`,tt$1=`${V}-content`,nt$1="os-size-observer",ot$1=`${nt$1}-appear`,st$1=`${nt$1}-listener`,it$1="os-trinsic-observer",lt$2="os-theme-none",at$1="os-scrollbar",ut$1=`${at$1}-rtl`,ft$1=`${at$1}-horizontal`,dt$1=`${at$1}-vertical`,_t$1=`${at$1}-track`,pt$1=`${at$1}-handle`,gt$1=`${at$1}-visible`,vt$1=`${at$1}-cornerless`,ht$1=`${at$1}-interaction`,bt$1=`${at$1}-unusable`,wt$1=`${at$1}-auto-hide`,yt$1=`${wt$1}-hidden`,St$1=`${at$1}-wheel`,mt$1=`${_t$1}-interactive`,Ot$1=`${pt$1}-interactive`,$t$1="__osSizeObserverPlugin",getShowNativeOverlaidScrollbars=(e,t)=>{const{k:n}=t,[o,r]=e("showNativeOverlaidScrollbars");return[o&&n.x&&n.y,r]},overflowIsVisible=e=>0===e.indexOf(x$2),overflowBehaviorToOverflowStyle=e=>e.replace(`${x$2}-`,""),overflowCssValueToOverflowStyle=e=>e&&[H$1,E$2,x$2].includes(e)?e:H$1,xt$1="__osScrollbarsHidingPlugin",Et="__osClickScrollPlugin",opsStringify=e=>JSON.stringify(e,((e,t)=>{if(isFunction$4(t))throw 0;return t})),getPropByPath=(e,t)=>e?`${t}`.split(".").reduce(((e,t)=>e&&hasOwnProperty$e(e,t)?e[t]:void 0),e):void 0,It$1={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},getOptionsDiff=(e,t)=>{const n={};return each$g(concat(keys$2(t),keys$2(e)),(o=>{const r=e[o],i=t[o];if(isObject$7(r)&&isObject$7(i))assignDeep(n[o]={},getOptionsDiff(r,i)),isEmptyObject(n[o])&&delete n[o];else if(hasOwnProperty$e(t,o)&&i!==r){let e=!0;if(isArray$5(r)||isArray$5(i))try{opsStringify(r)===opsStringify(i)&&(e=!1)}catch(r2){}e&&(n[o]=i)}})),n},createOptionCheck=(e,t,n)=>o=>[getPropByPath(e,o),n||void 0!==getPropByPath(t,o)];let Tt$1;const getNonce=()=>Tt$1,setNonce=e=>{Tt$1=e};let At;const createEnvironment=()=>{const e=(e,t,n)=>{appendChildren(document.body,e),appendChildren(document.body,e);const o=A$1(e),r=T$1(e),i=getFractionalSize(t);return n&&removeElements(e),{x:r.h-o.h+i.h,y:r.w-o.w+i.w}},t=createDOM(`<div class="${L}"><div></div><style>${`.${L}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${L} div{width:200%;height:200%;margin:10px 0}.${U$2}{scrollbar-width:none!important}.${U$2}::-webkit-scrollbar,.${U$2}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`}</style></div>`)[0],o=t.firstChild,r=t.lastChild,i=getNonce();i&&(r.nonce=i);const[a,,l]=createEventListenerHub(),[s,c]=createCache({o:e(t,o),i:equalXY},bind$3(e,t,o,!0)),[u]=c(),d=(e=>{let t=!1;const n=addClass$1(e,U$2);try{t="none"===getStyles(e,"scrollbar-width")||"none"===getStyles(e,"display","::-webkit-scrollbar")}catch(o){}return n(),t})(t),p={x:0===u.x,y:0===u.y},f={elements:{host:null,padding:!d,viewport:e=>d&&isBodyElement(e)&&e,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},h=assignDeep({},It$1),m=bind$3(assignDeep,{},h),g=bind$3(assignDeep,{},f),v={P:u,k:p,U:d,J:!!p$1,G:bind$3(a,"r"),K:g,Z:e=>assignDeep(f,e)&&g(),tt:m,nt:e=>assignDeep(h,e)&&m(),ot:assignDeep({},f),st:assignDeep({},h)};if(removeAttrs(t,"style"),removeElements(t),addEventListener$1(n,"resize",(()=>{l("r",[])})),isFunction$4(n.matchMedia)&&!d&&(!p.x||!p.y)){const e=t=>{const o=n.matchMedia(`(resolution: ${n.devicePixelRatio}dppx)`);addEventListener$1(o,"change",(()=>{t(),e(t)}),{A:!0})};e((()=>{const[e,t]=s();assignDeep(v.P,e),l("r",[t])}))}return v},getEnvironment=()=>(At||(At=createEnvironment()),At),createEventContentChange=(e,t,n)=>{let o=!1;const r=!!n&&new WeakMap,i=i=>{if(r&&n){each$g(n.map((t=>{const[n,o]=t||[];return[o&&n?(i||find$1)(n,e):[],o]})),(n=>each$g(n[0],(i=>{const a=n[1],l=r.get(i)||[];if(e.contains(i)&&a){const e=addEventListener$1(i,a,(n=>{o?(e(),r.delete(i)):t(n)}));r.set(i,push$1(l,e))}else runEachAndClear(l),r.delete(i)}))))}};return i(),[()=>{o=!0},i]},createDOMObserver=(e,t,n,o)=>{let r=!1;const{et:i,ct:a,rt:l,it:s,lt:c,ut:u}=o||{},d=debounce$1((()=>r&&n(!0)),{p:33,v:99}),[p,f]=createEventContentChange(e,d,l),h=a||[],m=concat(i||[],h),g=(r,i)=>{if(!isEmptyArray(i)){const a=c||noop$7,l=u||noop$7,d=[],p=[];let m=!1,g=!1;if(each$g(i,(n=>{const{attributeName:r,target:i,type:c,oldValue:u,addedNodes:f,removedNodes:v}=n,y="attributes"===c,b="childList"===c,_=e===i,w=y&&r,k=w&&getAttr(i,r||""),x=isString$3(k)?k:null,S=w&&u!==x,C=inArray(h,r)&&S;if(t&&(b||!_)){const t=y&&S,c=t&&s&&is(i,s),p=(c?!a(i,r,u,x):!y||t)&&!l(n,!!c,e,o);each$g(f,(e=>push$1(d,e))),each$g(v,(e=>push$1(d,e))),g=g||p}!t&&_&&S&&!a(i,r,u,x)&&(push$1(p,r),m=m||C)})),f((e=>deduplicateArray(d).reduce(((t,n)=>(push$1(t,find$1(e,n)),is(n,e)?push$1(t,n):t)),[]))),t)return!r&&g&&n(!1),[!1];if(!isEmptyArray(p)||m){const e=[deduplicateArray(p),m];return r||n.apply(0,e),e}}},v=new f$1(bind$3(g,!1));return[()=>(v.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:m,subtree:t,childList:t,characterData:t}),r=!0,()=>{r&&(p(),v.disconnect(),r=!1)}),()=>{if(r)return d.O(),g(!0,v.takeRecords())}]};let Dt=null;const createSizeObserver=(e,t,n)=>{const{ft:o}=n||{},r=getStaticPluginModuleInstance($t$1),[i]=createCache({o:!1,u:!0});return()=>{const n=[],a=createDOM(`<div class="${nt$1}"><div class="${st$1}"></div></div>`)[0],l=a.firstChild,s=e=>{let n=!1,o=!1;if(isArray$5(e)&&!isEmptyArray(e)){const t=e[0],[r,,a]=i(t.contentRect),l=domRectHasDimensions(r);o=domRectAppeared(r,a),n=!o&&!l}else o=!0===e;n||t({dt:!0,ft:o})};if(_$1){if(!isBoolean$2(Dt)){const t=new _$1(noop$7);t.observe(e,{get box(){Dt=!0}}),Dt=Dt||!1,t.disconnect()}const t=debounce$1(s,{p:0,v:0}),o=e=>t(e),r=new _$1(o);if(r.observe(Dt?e:l),push$1(n,[()=>{r.disconnect()},!Dt&&appendChildren(e,a)]),Dt){const t=new _$1(o);t.observe(e,{box:"border-box"}),push$1(n,(()=>t.disconnect()))}}else{if(!r)return noop$7;{const[t,i]=r(l,s,o);push$1(n,concat([addClass$1(a,ot$1),addEventListener$1(a,"animationstart",t),appendChildren(e,a)],i))}}return bind$3(runEachAndClear,n)}},createTrinsicObserver=(e,t)=>{let n;const o=createDiv(it$1),[r]=createCache({o:!1}),i=(e,n)=>{if(e){const o=r((e=>0===e.h||e.isIntersecting||e.intersectionRatio>0)(e)),[,i]=o;return i&&!n&&t(o)&&[o]}},a=(e,t)=>i(t.pop(),e);return[()=>{const t=[];if(d$1)n=new d$1(bind$3(a,!1),{root:e}),n.observe(o),push$1(t,(()=>{n.disconnect()}));else{const e=()=>{const e=T$1(o);i(e)};push$1(t,createSizeObserver(o,e)()),e()}return bind$3(runEachAndClear,push$1(t,appendChildren(e,o)))},()=>n&&a(!0,n.takeRecords())]},createObserversSetup=(e,t,n,o)=>{let r,i,a,l,s,c;const u=`[${B$1}]`,d=`[${j}]`,p=["id","class","style","open","wrap","cols","rows"],{_t:f,gt:h,L:m,vt:g,ht:v,V:y,bt:b,wt:_,yt:w,St:k}=e,x=e=>"rtl"===getStyles(e,"direction"),S={Ot:!1,B:x(f)},C=getEnvironment(),E=getStaticPluginModuleInstance(xt$1),[T]=createCache({i:equalWH,o:{w:0,h:0}},(()=>{const o=E&&E.R(e,t,S,C,n).Y,r=!(b&&y)&&hasAttrClass(h,B$1,N$2),i=!y&&_(W$1),a=i&&getElementScroll(g),l=a&&k(),s=w(J$1,r),c=i&&o&&o()[0],u=D$1(m),d=getFractionalSize(m);return c&&c(),scrollElementTo(g,a),l&&l(),r&&s(),{w:u.w+d.w,h:u.h+d.h}})),A=debounce$1(o,{p:()=>r,v:()=>i,m(e,t){const[n]=e,[o]=t;return[concat(keys$2(n),keys$2(o)).reduce(((e,t)=>(e[t]=n[t]||o[t],e)),{})]}}),$=e=>{const t=x(f);assignDeep(e,{$t:c!==t}),assignDeep(S,{B:t}),c=t},I=(e,t)=>{const[n,r]=e,i={Ct:r};return assignDeep(S,{Ot:n}),t||o(i),i},M=({dt:e,ft:t})=>{const n=!(e&&!t)&&C.U?A:o,r={dt:e||t,ft:t};$(r),n(r)},P=(e,t)=>{const[,n]=T(),r={xt:n};$(r);return n&&!t&&(e?o:A)(r),r},N=(e,t,n)=>{const o={Ht:t};return $(o),t&&!n&&A(o),o},[O,R]=v?createTrinsicObserver(h,I):[],D=!y&&createSizeObserver(h,M,{ft:!0}),[L,B]=createDOMObserver(h,!1,N,{ct:p,et:p}),V=y&&_$1&&new _$1((e=>{const t=e[e.length-1].contentRect;M({dt:!0,ft:domRectAppeared(t,s)}),s=t})),z=debounce$1((()=>{const[,e]=T();o({xt:e})}),{p:222,S:!0});return[()=>{V&&V.observe(h);const e=D&&D(),t=O&&O(),n=L(),o=C.G((e=>{e?A({Et:e}):z()}));return()=>{V&&V.disconnect(),e&&e(),t&&t(),l&&l(),n(),o()}},({zt:e,It:t,Tt:n})=>{const o={},[s]=e("update.ignoreMutation"),[c,f]=e("update.attributes"),[h,g]=e("update.elementEvents"),[b,_]=e("update.debounce"),w=t||n;if(g||f){a&&a(),l&&l();const[e,t]=createDOMObserver(v||m,!0,P,{et:concat(p,c||[]),rt:h,it:u,ut:(e,t)=>{const{target:n,attributeName:o}=e;return!(t||!o||y)&&liesBetween(n,u,d)||!!closest(n,`.${at$1}`)||!!(e=>isFunction$4(s)&&s(e))(e)}});l=e(),a=t}if(_)if(A.O(),isArray$5(b)){const e=b[0],t=b[1];r=isNumber$3(e)&&e,i=isNumber$3(t)&&t}else isNumber$3(b)?(r=b,i=!1):(r=!1,i=!1);if(w){const e=B(),t=R&&R(),n=a&&a();e&&assignDeep(o,N(e[0],e[1],w)),t&&assignDeep(o,I(t[0],w)),n&&assignDeep(o,P(n[0],w))}return $(o),o},S]},resolveInitialization=(e,t)=>isFunction$4(t)?t.apply(0,e):t,staticInitializationElement=(e,t,n,o)=>{const r=isUndefined$3(o)?n:o;return resolveInitialization(e,r)||t.apply(0,e)},dynamicInitializationElement=(e,t,n,o)=>{const r=isUndefined$3(o)?n:o,i=resolveInitialization(e,r);return!!i&&(isHTMLElement$1(i)?i:t.apply(0,e))},cancelInitialization=(e,t)=>{const{nativeScrollbarsOverlaid:n,body:o}=t||{},{k:r,U:i,K:a}=getEnvironment(),{nativeScrollbarsOverlaid:l,body:s}=a().cancel,c=null!=n?n:l,u=isUndefined$3(o)?s:o,d=(r.x||r.y)&&c,p=e&&(isNull$1(u)?!i:u);return!!d||!!p},createScrollbarsSetupElements=(e,t,n,o)=>{const r="--os-viewport-percent",i="--os-scroll-percent",a="--os-scroll-direction",{K:l}=getEnvironment(),{scrollbars:s}=l(),{slot:c}=s,{_t:u,gt:d,L:p,At:f,vt:h,bt:m,V:g}=t,{scrollbars:v}=f?{}:e,{slot:y}=v||{},b=[],_=[],w=[],k=dynamicInitializationElement([u,d,p],(()=>g&&m?u:d),c,y),x=e=>{if(p$1){let t=null,o=[];const r=new p$1({source:h,axis:e}),i=()=>{t&&t.cancel(),t=null};return{kt:a=>{const{Dt:l}=n,s=isDefaultDirectionScrollCoordinates(l)[e],c="x"===e,u=[getTrasformTranslateValue(0,c),getTrasformTranslateValue(`calc(100cq${c?"w":"h"} + -100%)`,c)],d=s?u:u.reverse();return o[0]===d[0]&&o[1]===d[1]||(i(),o=d,t=a.Mt.animate({clear:["left"],transform:d},{timeline:r})),i}}}},S={x:x("x"),y:x("y")},C=(e,t,n)=>{const o=n?addClass$1:removeClass$1;each$g(e,(e=>{o(e.Lt,t)}))},E=(e,t)=>{each$g(e,(e=>{const[n,o]=t(e);setStyles(n,o)}))},T=(e,t,n)=>{const o=isBoolean$2(n),r=!o||!n;(!o||n)&&C(_,e,t),r&&C(w,e,t)},A=e=>{const t=e?"x":"y",n=createDiv(`${at$1} ${e?ft$1:dt$1}`),r=createDiv(_t$1),i=createDiv(pt$1),a={Lt:n,Ut:r,Mt:i},l=S[t];return push$1(e?_:w,a),push$1(b,[appendChildren(n,r),appendChildren(r,i),bind$3(removeElements,n),l&&l.kt(a),o(a,T,e)]),a},$=bind$3(A,!0),I=bind$3(A,!1);return $(),I(),[{Pt:()=>{const e=(()=>{const{Rt:e,Vt:t}=n,o=(e,t)=>capNumber(0,1,e/(e+t)||0);return{x:o(t.x,e.x),y:o(t.y,e.y)}})(),t=e=>t=>[t.Lt,{[r]:roundCssNumber(e)+""}];E(_,t(e.x)),E(w,t(e.y))},Nt:()=>{if(!p$1){const{Dt:e}=n,t=getScrollCoordinatesPercent(e,getElementScroll(h)),o=e=>t=>[t.Lt,{[i]:roundCssNumber(e)+""}];E(_,o(t.x)),E(w,o(t.y))}},qt:()=>{const{Dt:e}=n,t=isDefaultDirectionScrollCoordinates(e),o=e=>t=>[t.Lt,{[a]:e?"0":"1"}];E(_,o(t.x)),E(w,o(t.y)),p$1&&(_.forEach(S.x.kt),w.forEach(S.y.kt))},Bt:()=>{if(g&&!m){const{Rt:e,Dt:t}=n,o=isDefaultDirectionScrollCoordinates(t),r=getScrollCoordinatesPercent(t,getElementScroll(h)),i=t=>{const{Lt:n}=t,i=parent$2(n)===p&&n,a=(e,t,n)=>{const o=t*e;return numberToCssPx(n?o:-o)};return[i,i&&{transform:getTrasformTranslateValue({x:a(r.x,e.x,o.x),y:a(r.y,e.y,o.y)})}]};E(_,i),E(w,i)}},Ft:T,jt:{Xt:_,Yt:$,Wt:bind$3(E,_)},Jt:{Xt:w,Yt:I,Wt:bind$3(E,w)}},()=>(appendChildren(k,_[0].Lt),appendChildren(k,w[0].Lt),bind$3(runEachAndClear,b))]},createScrollbarsSetupEvents=(e,t,n,o)=>(r,i,a)=>{const{gt:l,L:s,V:c,vt:u,Gt:d,St:p}=t,{Lt:f,Ut:h,Mt:m}=r,[g,v]=selfClearTimeout(333),[y,b]=selfClearTimeout(444),_=e=>{isFunction$4(u.scrollBy)&&u.scrollBy({behavior:"smooth",left:e.x,top:e.y})};let w=!0;return bind$3(runEachAndClear,[addEventListener$1(m,"pointermove pointerleave",o),addEventListener$1(f,"pointerenter",(()=>{i(ht$1,!0)})),addEventListener$1(f,"pointerleave pointercancel",(()=>{i(ht$1,!1)})),!c&&addEventListener$1(f,"mousedown",(()=>{const e=getFocusedElement();(hasAttr(e,j)||hasAttr(e,B$1)||e===document.body)&&a$1(bind$3(focusElement,s),25)})),addEventListener$1(f,"wheel",(e=>{const{deltaX:t,deltaY:n,deltaMode:o}=e;w&&0===o&&parent$2(f)===l&&_({x:t,y:n}),w=!1,i(St$1,!0),g((()=>{w=!0,i(St$1)})),preventDefault$1(e)}),{I:!1,T:!0}),addEventListener$1(f,"pointerdown",bind$3(addEventListener$1,d,"click",stopAndPrevent,{A:!0,T:!0,I:!1}),{T:!0}),(()=>{const t="pointerup pointercancel lostpointercapture",o="client"+(a?"X":"Y"),r=a?$:C$1,i=a?"left":"top",l=a?"w":"h",s=a?"x":"y",c=[];return addEventListener$1(h,"pointerdown",(a=>{const f=closest(a.target,`.${pt$1}`)===m,g=f?m:h,v=e.scrollbars,w=v[f?"dragScroll":"clickScroll"],{button:k,isPrimary:x,pointerType:S}=a,{pointers:C}=v;if(0===k&&x&&w&&(C||[]).includes(S)){runEachAndClear(c),b();const e=!f&&(a.shiftKey||"instant"===w),v=bind$3(getBoundingClientRect$1,m),k=bind$3(getBoundingClientRect$1,h),x=(e,t)=>(e||v())[i]-(t||k())[i],S=e$1(getBoundingClientRect$1(u)[r])/T$1(u)[l]||1,C=((e,t)=>o=>{const{Rt:r}=n,i=T$1(h)[l]-T$1(m)[l],a=t*o/i*r[s];scrollElementTo(u,{[s]:e+a})})(getElementScroll(u)[s],1/S),E=a[o],T=v(),A=k(),$=T[r],I=x(T,A)+$/2,M=E-A[i],P=f?0:M-I,N=e=>{runEachAndClear(D),g.releasePointerCapture(e.pointerId)},O=f||e,R=p(),D=[addEventListener$1(d,t,N),addEventListener$1(d,"selectstart",(e=>preventDefault$1(e)),{I:!1}),addEventListener$1(h,t,N),O&&addEventListener$1(h,"pointermove",(e=>C(P+(e[o]-E)))),O&&(()=>{const e=getElementScroll(u);R();const t=getElementScroll(u),n={x:t.x-e.x,y:t.y-e.y};(c$1(n.x)>3||c$1(n.y)>3)&&(p(),scrollElementTo(u,e),_(n),y(R))})];if(g.setPointerCapture(a.pointerId),e)C(P);else if(!f){const e=getStaticPluginModuleInstance(Et);if(e){const t=e(C,P,$,(e=>{e?R():push$1(D,R)}));push$1(D,t),push$1(c,bind$3(t,!0))}}}}))})(),v,b])},createScrollbarsSetup=(e,t,n,o,r,i)=>{let a,l,s,c,u,d=noop$7,p=0;const f=["mouse","pen"],h=e=>f.includes(e.pointerType),[m,g]=selfClearTimeout(),[v,y]=selfClearTimeout(100),[b,_]=selfClearTimeout(100),[w,k]=selfClearTimeout((()=>p)),[x,S]=createScrollbarsSetupElements(e,r,o,createScrollbarsSetupEvents(t,r,o,(e=>h(e)&&O()))),{gt:C,Kt:E,bt:T}=r,{Ft:A,Pt:$,Nt:I,qt:M,Bt:P}=x,N=(e,t)=>{if(k(),e)A(yt$1);else{const e=bind$3(A,yt$1,!0);p>0&&!t?w(e):e()}},O=()=>{(s?a:c)||(N(!0),v((()=>{N(!1)})))},R=e=>{A(wt$1,e,!0),A(wt$1,e,!1)},D=e=>{h(e)&&(a=s,s&&N(!0))},L=[k,y,_,g,()=>d(),addEventListener$1(C,"pointerover",D,{A:!0}),addEventListener$1(C,"pointerenter",D),addEventListener$1(C,"pointerleave",(e=>{h(e)&&(a=!1,s&&N(!1))})),addEventListener$1(C,"pointermove",(e=>{h(e)&&l&&O()})),addEventListener$1(E,"scroll",(e=>{m((()=>{I(),O()})),i(e),P()}))];return[()=>bind$3(runEachAndClear,push$1(L,S())),({zt:e,Tt:t,Qt:r,Zt:i})=>{const{tn:a,nn:f,sn:h,en:m}=i||{},{$t:g,ft:v}=r||{},{B:y}=n,{k:_}=getEnvironment(),{cn:w,rn:k}=o,[x,S]=e("showNativeOverlaidScrollbars"),[C,O]=e("scrollbars.theme"),[D,L]=e("scrollbars.visibility"),[B,V]=e("scrollbars.autoHide"),[z,F]=e("scrollbars.autoHideSuspend"),[H]=e("scrollbars.autoHideDelay"),[j,G]=e("scrollbars.dragScroll"),[U,W]=e("scrollbars.clickScroll"),[Y,q]=e("overflow"),K=v&&!t,Z=k.x||k.y,X=a||f||m||g||t,J=h||L||q,Q=x&&_.x&&_.y,ee=(e,t,n)=>{const o=e.includes(E$2)&&(D===x$2||"auto"===D&&t===E$2);return A(gt$1,o,n),o};if(p=H,K&&(z&&Z?(R(!1),d(),b((()=>{d=addEventListener$1(E,"scroll",bind$3(R,!0),{A:!0})}))):R(!0)),S&&A(lt$2,Q),O&&(A(u),A(C,!0),u=C),F&&!z&&R(!0),V&&(l="move"===B,s="leave"===B,c="never"===B,N(c,!0)),G&&A(Ot$1,j),W&&A(mt$1,!!U),J){const e=ee(Y.x,w.x,!0),t=ee(Y.y,w.y,!1);A(vt$1,!(e&&t))}X&&(I(),$(),P(),m&&M(),A(bt$1,!k.x,!0),A(bt$1,!k.y,!1),A(ut$1,y&&!T))},{},x]},createStructureSetupElements=e=>{const t=getEnvironment(),{K:o,U:r}=t,{elements:i}=o(),{padding:a,viewport:l,content:s}=i,c=isHTMLElement$1(e),u=c?{}:e,{elements:d}=u,{padding:p,viewport:f,content:h}=d||{},m=c?e:u.target,g=isBodyElement(m),v=m.ownerDocument,y=v.documentElement,b=()=>v.defaultView||n,_=bind$3(staticInitializationElement,[m]),w=bind$3(dynamicInitializationElement,[m]),k=bind$3(createDiv,""),x=bind$3(_,k,l),S=bind$3(w,k,s),C=x(f),E=C===m,T=E&&g,A=!E&&S(h),$=!E&&C===A,I=T?y:C,M=T?I:m,P=!E&&w(k,a,p),N=!$&&A,O=[N,I,P,M].map((e=>isHTMLElement$1(e)&&!parent$2(e)&&e)),R=e=>e&&inArray(O,e),D=!R(I)&&(e=>{const t=T$1(e),n=D$1(e),o=getStyles(e,m$2),r=getStyles(e,O$1);return n.w-t.w>0&&!overflowIsVisible(o)||n.h-t.h>0&&!overflowIsVisible(r)})(I)?I:m,L=T?y:I,B={_t:m,gt:M,L:I,ln:P,ht:N,vt:L,Kt:T?v:I,an:g?y:D,Gt:v,bt:g,At:c,V:E,un:b,wt:e=>hasAttrClass(I,j,e),yt:(e,t)=>addRemoveAttrClass(I,j,e,t),St:()=>addRemoveAttrClass(L,j,G$1,!0)},{_t:V,gt:z,ln:F,L:H,ht:G}=B,U=[()=>{removeAttrs(z,[B$1,P$3]),removeAttrs(V,P$3),g&&removeAttrs(y,[P$3,B$1])}];let W=contents([G,H,F,z,V].find((e=>e&&!R(e))));const Y=T?V:G||H,q=bind$3(runEachAndClear,U);return[B,()=>{const e=b(),t=getFocusedElement(),n=e=>{appendChildren(parent$2(e),contents(e)),removeElements(e)},o=e=>addEventListener$1(e,"focusin focusout focus blur",stopAndPrevent,{T:!0,I:!1}),i="tabindex",a=getAttr(H,i),l=o(t);return setAttrs(z,B$1,E?"":F$1),setAttrs(F,Z$1,""),setAttrs(H,j,""),setAttrs(G,tt$1,""),E||(setAttrs(H,i,a||"-1"),g&&setAttrs(y,q$1,"")),appendChildren(Y,W),appendChildren(z,F),appendChildren(F||z,!E&&H),appendChildren(H,G),push$1(U,[l,()=>{const e=getFocusedElement(),t=R(H),r=t&&e===H?V:e,l=o(r);removeAttrs(F,Z$1),removeAttrs(G,tt$1),removeAttrs(H,j),g&&removeAttrs(y,q$1),a?setAttrs(H,i,a):removeAttrs(H,i),R(G)&&n(G),t&&n(H),R(F)&&n(F),focusElement(r),l()}]),r&&!E&&(addAttrClass(H,j,K$1),push$1(U,bind$3(removeAttrs,H,j))),focusElement(!E&&g&&t===V&&e.top===e?H:t),l(),W=0,q},q]},createTrinsicUpdateSegment=({ht:e})=>({Qt:t,fn:n,Tt:o})=>{const{Ct:r}=t||{},{Ot:i}=n;e&&(r||o)&&setStyles(e,{[C$1]:i&&"100%"})},createPaddingUpdateSegment=({gt:e,ln:t,L:n,V:o},r)=>{const[i,a]=createCache({i:equalTRBL,o:topRightBottomLeft()},bind$3(topRightBottomLeft,e,"padding",""));return({zt:e,Qt:l,fn:s,Tt:c})=>{let[u,d]=a(c);const{U:p}=getEnvironment(),{dt:f,xt:h,$t:m}=l||{},{B:g}=s,[v,b]=e("paddingAbsolute");(f||d||(c||h))&&([u,d]=i(c));const _=!o&&(b||m||d);if(_){const e=!v||!t&&!p,o=u.r+u.l,i=u.t+u.b,a={[y]:e&&!g?-o:0,[S$1]:e?-i:0,[w$1]:e&&g?-o:0,top:e?-u.t:0,right:e?g?-u.r:"auto":0,left:e?g?"auto":-u.l:0,[$]:e&&`calc(100% + ${o}px)`},l={[g$1]:e?u.t:0,[v$1]:e?u.r:0,[b$1]:e?u.b:0,[h$1]:e?u.l:0};setStyles(t||n,a),setStyles(n,l),assignDeep(r,{ln:u,dn:!e,F:t?l:assignDeep({},a,l)})}return{_n:_}}},createOverflowUpdateSegment=(e,t)=>{const o=getEnvironment(),{gt:r,ln:i,L:a,V:l,Kt:s,vt:c,bt:u,yt:d,un:p}=e,{U:f}=o,h=u&&l,m=bind$3(o$1,0),g={display:()=>!1,direction:e=>"ltr"!==e,flexDirection:e=>e.endsWith("-reverse"),writingMode:e=>"horizontal-tb"!==e},v=keys$2(g),y={i:equalWH,o:{w:0,h:0}},b={i:equalXY,o:{}},_=e=>{d(J$1,!h&&e)},[w,k]=createCache(y,bind$3(getFractionalSize,a)),[x,S]=createCache(y,bind$3(D$1,a)),[C,E]=createCache(y),[T]=createCache(b),[A,$]=createCache(y),[I]=createCache(b),[M]=createCache({i:(e,t)=>equal(e,t,v),o:{}},(()=>hasDimensions(a)?getStyles(a,v):{})),[P,N]=createCache({i:(e,t)=>equalXY(e.D,t.D)&&equalXY(e.M,t.M),o:getZeroScrollCoordinates()}),O=getStaticPluginModuleInstance(xt$1),R=(e,t)=>`${t?X$2:Y$1}${capitalizeFirstLetter(e)}`;return({zt:l,Qt:u,fn:y,Tt:b},{_n:D})=>{const{dt:L,Ht:B,xt:V,$t:z,ft:F,Et:H}=u||{},j=O&&O.R(e,t,y,o,l),{X:G,Y:U,W:W}=j||{},[Y,q]=getShowNativeOverlaidScrollbars(l,o),[K,Z]=l("overflow"),X=overflowIsVisible(K.x),J=overflowIsVisible(K.y),Q=L||D||V||z||H||q;let ee=k(b),te=S(b),ne=E(b),oe=$(b);if(q&&f&&d(K$1,!Y),Q){hasAttrClass(r,B$1,N$2)&&_(!0);const[e]=U?U():[],[t]=ee=w(b),[o]=te=x(b),i=A$1(a),l=h&&getWindowSize(p()),s={w:m(o.w+t.w),h:m(o.h+t.h)},c={w:m((l?l.w:i.w+m(i.w-o.w))+t.w),h:m((l?l.h:i.h+m(i.h-o.h))+t.h)};e&&e(),oe=A(c),ne=C(((e,t)=>{const o=n.devicePixelRatio%1!=0?1:0,r={w:m(e.w-t.w),h:m(e.h-t.h)};return{w:r.w>o?r.w:0,h:r.h>o?r.h:0}})(s,c),b)}const[re,ie]=oe,[ae,le]=ne,[se,ce]=te,[ue,de]=ee,[pe,fe]=T({x:ae.w>0,y:ae.h>0}),he=X&&J&&(pe.x||pe.y)||X&&pe.x&&!pe.y||J&&pe.y&&!pe.x,me=D||z||H||de||ce||ie||le||Z||q||Q||B&&h,[ge,ve]=M(b),ye=z||F||ve||fe||b,[be,_e]=ye?P((e=>{if(!v.some((t=>{const n=e[t];return n&&g[t](n)})))return{D:{x:0,y:0},M:{x:1,y:1}};_(!0);const t=getElementScroll(c),n=d(Q$1,!0),o=addEventListener$1(s,E$2,(e=>{const n=getElementScroll(c);e.isTrusted&&n.x===t.x&&n.y===t.y&&stopPropagation(e)}),{T:!0,A:!0});scrollElementTo(c,{x:0,y:0}),n();const r=getElementScroll(c),i=D$1(c);scrollElementTo(c,{x:i.w,y:i.h});const a=getElementScroll(c);scrollElementTo(c,{x:a.x-r.x<1&&-i.w,y:a.y-r.y<1&&-i.h});const l=getElementScroll(c);return scrollElementTo(c,t),l$1((()=>o())),{D:r,M:l}})(ge),b):N();let we=((e,t)=>{const n=(e,t,n,o)=>{const r=e===x$2?H$1:overflowBehaviorToOverflowStyle(e),i=overflowIsVisible(e),a=overflowIsVisible(n);return t||o?i&&a?x$2:i?t&&o?r:t?x$2:H$1:t?r:a&&o?x$2:H$1:H$1};return{x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)}})(pe,K);if(_(!1),me){(e=>{const t=e=>[x$2,H$1,E$2].map((t=>R(overflowCssValueToOverflowStyle(t),e))),n=t(!0).concat(t()).join(" ");d(n),d(keys$2(e).map((t=>R(e[t],"x"===t))).join(" "),!0)})(we);const{overflowX:e,overflowY:t}=getStyles(a,[m$2,O$1]);we={x:overflowCssValueToOverflowStyle(e),y:overflowCssValueToOverflowStyle(t)},W&&G&&setStyles(a,W(we,y,G(we,se,ue)))}const[ke,xe]=I(we);return addRemoveAttrClass(r,B$1,N$2,he),addRemoveAttrClass(i,Z$1,N$2,he),assignDeep(t,{cn:ke,Vt:{x:re.w,y:re.h},Rt:{x:ae.w,y:ae.h},rn:pe,Dt:sanitizeScrollCoordinates(be,ae)}),{sn:xe,tn:ie,nn:le,en:_e||le,pn:ye}}},createStructureSetup=e=>{const[t,n,o]=createStructureSetupElements(e),r={ln:{t:0,r:0,b:0,l:0},dn:!1,F:{[y]:0,[S$1]:0,[w$1]:0,[g$1]:0,[v$1]:0,[b$1]:0,[h$1]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},cn:{x:H$1,y:H$1},rn:{x:!1,y:!1},Dt:getZeroScrollCoordinates()},{_t:i,vt:a,V:l,St:s}=t,{U:c,k:u}=getEnvironment(),d=!c&&(u.x||u.y),p=[createTrinsicUpdateSegment(t),createPaddingUpdateSegment(t,r),createOverflowUpdateSegment(t,r)];return[n,e=>{const t={},n=d&&getElementScroll(a),o=n&&s();return each$g(p,(n=>{assignDeep(t,n(e,t)||{})})),scrollElementTo(a,n),o&&o(),l||scrollElementTo(i,0),t},r,t,o]},createSetups=(e,t,n,o,r)=>{let i=!1;const a=createOptionCheck(t,{}),[l,s,c,u,d]=createStructureSetup(e),[p,f,h]=createObserversSetup(u,c,a,(e=>{b({},e)})),[m,g,,v]=createScrollbarsSetup(e,t,h,c,u,r),y=e=>keys$2(e).some((t=>!!e[t])),b=(e,r)=>{if(n())return!1;const{gn:a,Tt:l,It:c,vn:u}=e,d=a||{},p=!!l||!i,m={zt:createOptionCheck(t,d,p),gn:d,Tt:p};if(u)return g(m),!1;const v=r||f(assignDeep({},m,{It:c})),b=s(assignDeep({},m,{fn:h,Qt:v}));g(assignDeep({},m,{Qt:v,Zt:b}));const _=y(v),w=y(b),k=_||w||!isEmptyObject(d)||p;return i=!0,k&&o(e,{Qt:v,Zt:b}),k};return[()=>{const{an:e,vt:t,St:n}=u,o=getElementScroll(e),r=[p(),l(),m()],i=n();return scrollElementTo(t,o),i(),bind$3(runEachAndClear,r)},b,()=>({hn:h,bn:c}),{wn:u,yn:v},d]},Mt$1=new WeakMap,addInstance=(e,t)=>{Mt$1.set(e,t)},removeInstance=e=>{Mt$1.delete(e)},getInstance$1=e=>Mt$1.get(e),OverlayScrollbars=(e,t,n)=>{const{tt:o}=getEnvironment(),r=isHTMLElement$1(e),i=r?e:e.target,a=getInstance$1(i);if(t&&!a){let a=!1;const l=[],s={},c=e=>{const t=removeUndefinedProperties(e),n=getStaticPluginModuleInstance(R$1);return n?n(t,!0):t},u=assignDeep({},o(),c(t)),[d,p,f]=createEventListenerHub(),[h,m,g]=createEventListenerHub(n),v=(e,t)=>{g(e,t),f(e,t)},[y,b,_,w,k]=createSetups(e,u,(()=>a),(({gn:e,Tt:t},{Qt:n,Zt:o})=>{const{dt:r,$t:i,Ct:a,xt:l,Ht:s,ft:c}=n,{tn:u,nn:d,sn:p,en:f}=o;v("updated",[S,{updateHints:{sizeChanged:!!r,directionChanged:!!i,heightIntrinsicChanged:!!a,overflowEdgeChanged:!!u,overflowAmountChanged:!!d,overflowStyleChanged:!!p,scrollCoordinatesChanged:!!f,contentMutation:!!l,hostMutation:!!s,appear:!!c},changedOptions:e||{},force:!!t}])}),(e=>v("scroll",[S,e]))),x=e=>{removeInstance(i),runEachAndClear(l),a=!0,v("destroyed",[S,e]),p(),m()},S={options(e,t){if(e){const n=t?o():{},r=getOptionsDiff(u,assignDeep(n,c(e)));isEmptyObject(r)||(assignDeep(u,r),b({gn:r}))}return assignDeep({},u)},on:h,off:(e,t)=>{e&&t&&m(e,t)},state(){const{hn:e,bn:t}=_(),{B:n}=e,{Vt:o,Rt:r,cn:i,rn:l,ln:s,dn:c,Dt:u}=t;return assignDeep({},{overflowEdge:o,overflowAmount:r,overflowStyle:i,hasOverflow:l,scrollCoordinates:{start:u.D,end:u.M},padding:s,paddingAbsolute:c,directionRTL:n,destroyed:a})},elements(){const{_t:e,gt:t,ln:n,L:o,ht:r,vt:i,Kt:a}=w.wn,{jt:l,Jt:s}=w.yn,c=e=>{const{Mt:t,Ut:n,Lt:o}=e;return{scrollbar:o,track:n,handle:t}},u=e=>{const{Xt:t,Yt:n}=e,o=c(t[0]);return assignDeep({},o,{clone:()=>{const e=c(n());return b({vn:!0}),e}})};return assignDeep({},{target:e,host:t,padding:n||o,viewport:o,content:r||o,scrollOffsetElement:i,scrollEventElement:a,scrollbarHorizontal:u(l),scrollbarVertical:u(s)})},update:e=>b({Tt:e,It:!0}),destroy:bind$3(x,!1),plugin:e=>s[keys$2(e)[0]]};return push$1(l,[k]),addInstance(i,S),registerPluginModuleInstances(M$1,OverlayScrollbars,[S,d,s]),cancelInitialization(w.wn.bt,!r&&e.cancel)?(x(!0),S):(push$1(l,y()),v("initialized",[S]),S.update(),S)}return a};OverlayScrollbars.plugin=e=>{const t=isArray$5(e),n=t?e:[e],o=n.map((e=>registerPluginModuleInstances(e,OverlayScrollbars)[0]));return addPlugins(n),t?o:o[0]},OverlayScrollbars.valid=e=>{const t=e&&e.elements,n=isFunction$4(t)&&t();return isPlainObject$3(n)&&!!getInstance$1(n.target)},OverlayScrollbars.env=()=>{const{P:e,k:t,U:n,J:o,ot:r,st:i,K:a,Z:l,tt:s,nt:c}=getEnvironment();return assignDeep({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:o,staticDefaultInitialization:r,staticDefaultOptions:i,getDefaultInitialization:a,setDefaultInitialization:l,getDefaultOptions:s,setDefaultOptions:c})},OverlayScrollbars.nonce=setNonce,OverlayScrollbars.trustedTypePolicy=setTrustedTypePolicy;const g=()=>{if(typeof window>"u"){const e=()=>{};return[e,e]}let e,t;const n=window,o="function"==typeof n.requestIdleCallback,r=n.requestAnimationFrame,i=n.cancelAnimationFrame,a=o?n.requestIdleCallback:r,l=o?n.cancelIdleCallback:i,s=()=>{l(e),i(t)};return[(n,i)=>{s(),e=a(o?()=>{s(),t=r(n)}:n,"object"==typeof i?i:{timeout:2233})},s]},x$1=e=>{let t,n,o,r=null;const i=shallowRef(e||{}),[a,l]=g();return watch((()=>{var e;return unref(null==(e=i.value)?void 0:e.defer)}),(e=>{o=e}),{deep:!0,immediate:!0}),watch((()=>{var e;return unref(null==(e=i.value)?void 0:e.options)}),(e=>{t=e,OverlayScrollbars.valid(r)&&r.options(t||{},!0)}),{deep:!0,immediate:!0}),watch((()=>{var e;return unref(null==(e=i.value)?void 0:e.events)}),(e=>{n=e,OverlayScrollbars.valid(r)&&r.on(n||{},!0)}),{deep:!0,immediate:!0}),onUnmounted((()=>{l(),null==r||r.destroy()})),[e=>{if(OverlayScrollbars.valid(r))return r;const i=()=>r=OverlayScrollbars(e,t||{},n||{});o?a(i,o):i()},()=>r]},P$2=defineComponent({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(e,{expose:t,emit:n}){const o=e,r={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:i,options:a,events:l,defer:s}=toRefs(o),c=shallowRef(null),u=shallowRef(null),d=ref(),[p,f]=x$1({options:a,events:d,defer:s});return t({osInstance:f,getElement:()=>c.value}),watchPostEffect((e=>{const{value:t}=c,{value:n}=u;t&&(p("body"===i.value?{target:t,cancel:{body:null}}:{target:t,elements:{viewport:n,content:n}}),e((()=>{var e;return null==(e=f())?void 0:e.destroy()})))})),watch((()=>unref(l)),(e=>{const t=e||{};d.value=Object.keys(r).reduce(((e,o)=>{const i=t[o];return e[o]=[(...e)=>n(r[o],...e),...(Array.isArray(i)?i:[i]).filter(Boolean)],e}),{})}),{deep:!0,immediate:!0}),(e,t)=>(openBlock(),createBlock(resolveDynamicComponent(unref(i)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:c},{default:withCtx((()=>["body"===unref(i)?renderSlot(e.$slots,"default",{key:0}):(openBlock(),createElementBlock("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:u},[renderSlot(e.$slots,"default")],512))])),_:3},512))}}),_hoisted_1$4={flex:"~ items-center justify-between","p-4":"","border-b":"~ solid stone/15","text-6":""},_hoisted_2$3={key:0,flex:"~ items-center justify-end","px-3":"","py-2":"","border-t":"~ solid stone/15"},_sfc_main$2E=defineComponent({__name:"HSlideover",props:mergeModels({appear:{type:Boolean,default:!1},side:{default:"right"},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:mergeModels(["close"],["update:modelValue"]),setup(e,{emit:t}){const n=e,o=t,r=useModel(e,"modelValue"),i=useSlots(),a=ref({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),l=computed((()=>({enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200",enterFrom:"left"===n.side?"-translate-x-full":"translate-x-full",enterTo:"translate-x-0",leaveFrom:"translate-x-0",leaveTo:"left"===n.side?"-translate-x-full":"translate-x-full"})));function s(){r.value=!1,o("close")}return(e,t)=>{const n=_sfc_main$2F;return openBlock(),createBlock(unref(Se$1),{as:"template",appear:e.appear,show:r.value},{default:withCtx((()=>[createVNode$1(unref(Ye$1),{class:normalizeClass(["fixed inset-0 z-2000 flex",{"justify-end":"right"===e.side}]),onClose:t[0]||(t[0]=t=>!e.preventClose&&s())},{default:withCtx((()=>[createVNode$1(unref(he),mergeProps({as:"template",appear:e.appear},unref(a)),{default:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":e.overlay}])},null,2)])),_:1},16,["appear"]),createVNode$1(unref(he),mergeProps({as:"template",appear:e.appear},unref(l)),{default:withCtx((()=>[createVNode$1(unref(Ge$1),{relative:"","max-w-md":"","w-full":"","w-screen":"",flex:"","flex-1":"","flex-col":"","bg-white":"","dark-bg-stone-8":"","focus-outline-none":""},{default:withCtx((()=>[createBaseVNode("div",_hoisted_1$4,[createVNode$1(unref(Ve),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:withCtx((()=>[createTextVNode(toDisplayString(e.title),1)])),_:1}),createVNode$1(n,{name:"i-carbon:close","cursor-pointer":"",onClick:s})]),createVNode$1(unref(Je$1),{"m-0":"","flex-1":"","of-y-hidden":""},{default:withCtx((()=>[createVNode$1(unref(P$2),{options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full p-4"},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3})])),_:3}),unref(i).footer?(openBlock(),createElementBlock("div",_hoisted_2$3,[renderSlot(e.$slots,"footer")])):createCommentVNode("",!0)])),_:3})])),_:3},16,["appear"])])),_:3},8,["class"])])),_:3},8,["appear","show"])}}});function mitt(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o?o.push(n):e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&(n?o.splice(o.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var o=e.get(t);o&&o.slice().map((function(e){e(n)})),(o=e.get("*"))&&o.slice().map((function(e){e(t,n)}))}}}const eventBus=mitt();var define_SYSTEM_INFO_default$1={pkg:{version:"4.3.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.23","@imengyu/vue3-context-menu":"^1.4.8","@vueuse/core":"^13.1.0","@vueuse/integrations":"^13.1.0",axios:"^1.9.0",dayjs:"^1.11.13",echarts:"^5.6.0",eruda:"^3.4.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.10",less:"^4.3.0","lodash-es":"^4.17.21",marked:"^15.0.11","md-editor-v3":"^5.5.1",mitt:"^3.0.1",nprogress:"^0.2.0",overlayscrollbars:"^2.11.2","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^8.2.0",pinia:"^2.1.7",prettier:"^3.5.3","resize-observer-polyfill":"^1.5.1",uuid:"^11.1.0","v-viewer":"^3.0.21",vconsole:"^3.15.1",vue:"^3.5.13","vue-m-message":"^4.0.2","vue-router":"^4.5.1",vuedraggable:"^4.1.0"},devDependencies:{"@iconify/json":"^2.2.337","@iconify/vue":"^5.0.0","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/node":"^22.15.17","@types/path-browserify":"^1.0.3","@unocss/core":"66.1.1","@unocss/preset-mini":"66.1.1","@vitejs/plugin-legacy":"^6.1.1","@vitejs/plugin-vue":"^5.2.4","@vitejs/plugin-vue-jsx":"^4.1.2",archiver:"^7.0.1",autoprefixer:"^10.4.16",boxen:"^8.0.1",bumpp:"^10.1.0","element-plus":"^2.9.10",esno:"^4.8.0","fs-extra":"^11.3.0","http-server":"^14.1.1",inquirer:"^12.6.1",msw:"^2.0.0",picocolors:"^1.1.1",plop:"^4.0.1",sass:"^1.88.0",svgo:"^3.3.2",terser:"^5.39.0",typescript:"^5.8.3",unocss:"66.1.1","unplugin-auto-import":"^19.2.0","unplugin-turbo-console":"^2.1.3","unplugin-vue-components":"^28.5.0",vite:"^6.3.5","vite-plugin-banner":"^0.8.1","vite-plugin-checker":"^0.9.3","vite-plugin-compression2":"^1.3.3","vite-plugin-fake-server":"^2.2.0","vite-plugin-pages":"^0.33.0","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.7.6","vite-plugin-vue-meta-layouts":"^0.5.1","vue-tsc":"^2.2.10"}},lastBuildTime:"2025-05-31 02:23:34"};const _hoisted_1$3={class:"px-4"},_hoisted_2$2={class:"my-4 text-center text-lg font-sans"},_hoisted_3$1={class:"px-4"},_hoisted_4$1={class:"list-none pl-0 text-sm"},_hoisted_5$1={class:"font-bold"},_hoisted_6$1={class:"font-sans"},_hoisted_7$1={class:"px-4"},_hoisted_8$1={class:"list-none pl-0 text-sm"},_hoisted_9$1={class:"font-bold"},_hoisted_10$1={class:"font-sans"},_sfc_main$2D=defineComponent({__name:"index",setup(e){const t=ref(!1),{pkg:n,lastBuildTime:o}=define_SYSTEM_INFO_default$1;return onMounted((()=>{eventBus.on("global-system-info-toggle",(()=>{t.value=!t.value}))})),(e,r)=>{const i=_sfc_main$2E;return openBlock(),createBlock(i,{modelValue:unref(t),"onUpdate:modelValue":r[0]||(r[0]=e=>isRef(t)?t.value=e:null),title:"系统信息"},{default:withCtx((()=>[createBaseVNode("div",_hoisted_1$3,[r[1]||(r[1]=createBaseVNode("h2",{class:"m-0 text-lg font-bold"},"最后编译时间",-1)),createBaseVNode("div",_hoisted_2$2,toDisplayString(unref(o)),1)]),createBaseVNode("div",_hoisted_3$1,[r[2]||(r[2]=createBaseVNode("h2",{class:"m-0 text-lg font-bold"},"生产环境依赖",-1)),createBaseVNode("ul",_hoisted_4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(n).dependencies,((e,t)=>(openBlock(),createElementBlock("li",{key:t,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_5$1,toDisplayString(t),1),createBaseVNode("div",_hoisted_6$1,toDisplayString(e),1)])))),128))])]),createBaseVNode("div",_hoisted_7$1,[r[3]||(r[3]=createBaseVNode("h2",{class:"m-0 text-lg font-bold"},"开发环境依赖",-1)),createBaseVNode("ul",_hoisted_8$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(n).devDependencies,((e,t)=>(openBlock(),createElementBlock("li",{key:t,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_9$1,toDisplayString(t),1),createBaseVNode("div",_hoisted_10$1,toDisplayString(e),1)])))),128))])])])),_:1},8,["modelValue"])}}}),_hoisted_1$2=["disabled"],_sfc_main$2C=defineComponent({__name:"HButton",props:{block:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){const t=e,n=computed((()=>["focus-outline-none focus-visible-outline-0 cursor-pointer disabled-cursor-not-allowed disabled-opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",t.block?"w-full flex justify-center items-center":"inline-flex items-center",t.outline?"shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark-bg-dark hover-not-disabled-bg-ui-primary/10 dark-hover-not-disabled-bg-ui-primary/10 focus-visible-ring-2":"shadow-sm text-ui-text bg-ui-primary hover-bg-ui-primary/75 disabled-bg-ui-primary/90 focus-visible-ring-inset focus-visible-ring-2"]));return(e,t)=>(openBlock(),createElementBlock("button",{disabled:e.disabled,class:normalizeClass(unref(n))},[renderSlot(e.$slots,"default")],10,_hoisted_1$2))}});var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$2=root.Symbol,objectProto$f=Object.prototype,hasOwnProperty$d=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty$d.call(e,symToStringTag$1),n=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var o=!0}catch(e2){}var r=nativeObjectToString$1.call(e);return o&&(t?e[symToStringTag$1]=n:delete e[symToStringTag$1]),r}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(e){return null==e?void 0===e?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}function isObjectLike(e){return null!=e&&"object"==typeof e}var symbolTag$3="[object Symbol]";function isSymbol(e){return"symbol"==typeof e||isObjectLike(e)&&baseGetTag(e)==symbolTag$3}function arrayMap(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}var isArray$4=Array.isArray,symbolProto$2=Symbol$2?Symbol$2.prototype:void 0,symbolToString=symbolProto$2?symbolProto$2.toString:void 0;function baseToString(e){if("string"==typeof e)return e;if(isArray$4(e))return arrayMap(e,baseToString)+"";if(isSymbol(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var reWhitespace=/\s/;function trimmedEndIndex(e){for(var t=e.length;t--&&reWhitespace.test(e.charAt(t)););return t}var reTrimStart=/^\s+/;function baseTrim(e){return e?e.slice(0,trimmedEndIndex(e)+1).replace(reTrimStart,""):e}function isObject$6(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(e){if("number"==typeof e)return e;if(isSymbol(e))return NAN;if(isObject$6(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject$6(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=baseTrim(e);var n=reIsBinary.test(e);return n||reIsOctal.test(e)?freeParseInt(e.slice(2),n?2:8):reIsBadHex.test(e)?NAN:+e}function identity$2(e){return e}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(e){if(!isObject$6(e))return!1;var t=baseGetTag(e);return t==funcTag$2||t==genTag$1||t==asyncTag||t==proxyTag}var coreJsData=root["__core-js_shared__"],maskSrcKey=(uid2=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""),uid2?"Symbol(src)_1."+uid2:""),uid2;function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(e){if(null!=e){try{return funcToString$2.call(e)}catch(e2){}try{return e+""}catch(e2){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$d=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$c=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$c).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){return!(!isObject$6(e)||isMasked(e))&&(isFunction$3(e)?reIsNative:reIsHostCtor).test(toSource(e))}function getValue$1(e,t){return null==e?void 0:e[t]}function getNative(e,t){var n=getValue$1(e,t);return baseIsNative(n)?n:void 0}var WeakMap$2=getNative(root,"WeakMap"),objectCreate=Object.create,baseCreate=function(){function e(){}return function(t){if(!isObject$6(t))return{};if(objectCreate)return objectCreate(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function apply(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function noop$6(){}function copyArray(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(e){var t=0,n=0;return function(){var o=nativeNow(),r=HOT_SPAN-(o-n);if(n=o,r>0){if(++t>=HOT_COUNT)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function constant(e){return function(){return e}}var defineProperty=function(){try{var e=getNative(Object,"defineProperty");return e({},"",{}),e}catch(e2){}}(),baseSetToString=defineProperty?function(e,t){return defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:constant(t),writable:!0})}:identity$2,setToString=shortOut(baseSetToString);function arrayEach(e,t){for(var n=-1,o=null==e?0:e.length;++n<o&&!1!==t(e[n],n,e););return e}function baseFindIndex(e,t,n,o){for(var r=e.length,i=n+(o?1:-1);o?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function baseIsNaN(e){return e!=e}function strictIndexOf(e,t,n){for(var o=n-1,r=e.length;++o<r;)if(e[o]===t)return o;return-1}function baseIndexOf(e,t,n){return t==t?strictIndexOf(e,t,n):baseFindIndex(e,baseIsNaN,n)}function arrayIncludes(e,t){return!!(null==e?0:e.length)&&baseIndexOf(e,t,0)>-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var n=typeof e;return!!(t=null==t?MAX_SAFE_INTEGER$2:t)&&("number"==n||"symbol"!=n&&reIsUint.test(e))&&e>-1&&e%1==0&&e<t}function baseAssignValue(e,t,n){"__proto__"==t&&defineProperty?defineProperty(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function eq(e,t){return e===t||e!=e&&t!=t}var objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty;function assignValue(e,t,n){var o=e[t];hasOwnProperty$b.call(e,t)&&eq(o,n)&&(void 0!==n||t in e)||baseAssignValue(e,t,n)}function copyObject(e,t,n,o){var r=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],s=void 0;void 0===s&&(s=e[l]),r?baseAssignValue(n,l,s):assignValue(n,l,s)}return n}var nativeMax$1=Math.max;function overRest(e,t,n){return t=nativeMax$1(void 0===t?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=nativeMax$1(o.length-t,0),a=Array(i);++r<i;)a[r]=o[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=o[r];return l[t]=n(a),apply(e,this,l)}}function baseRest(e,t){return setToString(overRest(e,t,identity$2),e+"")}var MAX_SAFE_INTEGER$1=9007199254740991;function isLength(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER$1}function isArrayLike$1(e){return null!=e&&isLength(e.length)&&!isFunction$3(e)}function isIterateeCall(e,t,n){if(!isObject$6(n))return!1;var o=typeof t;return!!("number"==o?isArrayLike$1(n)&&isIndex(t,n.length):"string"==o&&t in n)&&eq(n[t],e)}function createAssigner(e){return baseRest((function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(r--,i):void 0,a&&isIterateeCall(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o<r;){var l=n[o];l&&e(t,l,o,i)}return t}))}var objectProto$b=Object.prototype;function isPrototype(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||objectProto$b)}function baseTimes(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var argsTag$3="[object Arguments]";function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$a=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&hasOwnProperty$a.call(e,"callee")&&!propertyIsEnumerable$1.call(e,"callee")};function stubFalse(){return!1}var freeExports$2="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$2=moduleExports$2?root.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer$1=nativeIsBuffer||stubFalse,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!typedArrayTags[baseGetTag(e)]}function baseUnary(e){return function(t){return e(t)}}typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0,typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;var freeExports$1="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal.process,nodeUtil=function(){try{var e=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return e||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e2){}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray$2=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,objectProto$9=Object.prototype,hasOwnProperty$9=objectProto$9.hasOwnProperty;function arrayLikeKeys(e,t){var n=isArray$4(e),o=!n&&isArguments(e),r=!n&&!o&&isBuffer$1(e),i=!n&&!o&&!r&&isTypedArray$2(e),a=n||o||r||i,l=a?baseTimes(e.length,String):[],s=l.length;for(var c in e)!t&&!hasOwnProperty$9.call(e,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||isIndex(c,s))||l.push(c);return l}function overArg(e,t){return function(n){return e(t(n))}}var nativeKeys=overArg(Object.keys,Object),objectProto$8=Object.prototype,hasOwnProperty$8=objectProto$8.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys(e);var t=[];for(var n in Object(e))hasOwnProperty$8.call(e,n)&&"constructor"!=n&&t.push(n);return t}function keys$1(e){return isArrayLike$1(e)?arrayLikeKeys(e):baseKeys(e)}function nativeKeysIn(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}var objectProto$7=Object.prototype,hasOwnProperty$7=objectProto$7.hasOwnProperty;function baseKeysIn(e){if(!isObject$6(e))return nativeKeysIn(e);var t=isPrototype(e),n=[];for(var o in e)("constructor"!=o||!t&&hasOwnProperty$7.call(e,o))&&n.push(o);return n}function keysIn(e){return isArrayLike$1(e)?arrayLikeKeys(e,!0):baseKeysIn(e)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(e,t){if(isArray$4(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!isSymbol(e))||(reIsPlainProp.test(e)||!reIsDeepProp.test(e)||null!=t&&e in Object(t))}var nativeCreate=getNative(Object,"create");function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate){var n=t[e];return n===HASH_UNDEFINED$2?void 0:n}return hasOwnProperty$6.call(t,e)?t[e]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$5=objectProto$5.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate?void 0!==t[e]:hasOwnProperty$5.call(t,e)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=nativeCreate&&void 0===t?HASH_UNDEFINED$1:t,this}function Hash(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(e,t){for(var n=e.length;n--;)if(eq(e[n][0],t))return n;return-1}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;var arrayProto$1=Array.prototype,splice=arrayProto$1.splice;function listCacheDelete(e){var t=this.__data__,n=assocIndexOf(t,e);return!(n<0)&&(n==t.length-1?t.pop():splice.call(t,n,1),--this.size,!0)}function listCacheGet$1(e){var t=this.__data__,n=assocIndexOf(t,e);return n<0?void 0:t[n][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet$1(e,t){var n=this.__data__,o=assocIndexOf(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet$1,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet$1;var Map$1=getNative(root,"Map");function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function getMapData(e,t){var n=e.__data__;return isKeyable(t)?n["string"==typeof t?"string":"hash"]:n.map}function mapCacheDelete(e){var t=getMapData(this,e).delete(e);return this.size-=t?1:0,t}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){var n=getMapData(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function MapCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;var FUNC_ERROR_TEXT$2="Expected a function";function memoize(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(FUNC_ERROR_TEXT$2);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(memoize.Cache||MapCache),n}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped(e){var t=memoize(e,(function(e){return n.size===MAX_MEMOIZE_SIZE&&n.clear(),e})),n=t.cache;return t}var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(rePropName,(function(e,n,o,r){t.push(o?r.replace(reEscapeChar,"$1"):n||e)})),t}));function toString$3(e){return null==e?"":baseToString(e)}function castPath(e,t){return isArray$4(e)?e:isKey(e,t)?[e]:stringToPath(toString$3(e))}function toKey(e){if("string"==typeof e||isSymbol(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function baseGet(e,t){for(var n=0,o=(t=castPath(t,e)).length;null!=e&&n<o;)e=e[toKey(t[n++])];return n&&n==o?e:void 0}function get$1(e,t,n){var o=null==e?void 0:baseGet(e,t);return void 0===o?n:o}function arrayPush(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var spreadableSymbol=Symbol$2?Symbol$2.isConcatSpreadable:void 0;function isFlattenable(e){return isArray$4(e)||isArguments(e)||!!(spreadableSymbol&&e&&e[spreadableSymbol])}function baseFlatten(e,t,n,o,r){var i=-1,a=e.length;for(n||(n=isFlattenable),r||(r=[]);++i<a;){var l=e[i];t>0&&n(l)?t>1?baseFlatten(l,t-1,n,o,r):arrayPush(r,l):o||(r[r.length]=l)}return r}function flatten(e){return(null==e?0:e.length)?baseFlatten(e,1):[]}function flatRest(e){return setToString(overRest(e,void 0,flatten),e+"")}var getPrototype=overArg(Object.getPrototypeOf,Object),objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(e){if(!isObjectLike(e)||baseGetTag(e)!=objectTag$3)return!1;var t=getPrototype(e);if(null===t)return!0;var n=hasOwnProperty$4.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&funcToString.call(n)==objectCtorString}function baseSlice(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o<r;)i[o]=e[o+t];return i}function castArray$1(){if(!arguments.length)return[];var e=arguments[0];return isArray$4(e)?e:[e]}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}var LARGE_ARRAY_SIZE$1=200;function stackSet(e,t){var n=this.__data__;if(n instanceof ListCache){var o=n.__data__;if(!Map$1||o.length<LARGE_ARRAY_SIZE$1-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new MapCache(o)}return n.set(e,t),this.size=n.size,this}function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}function baseAssign(e,t){return e&©Object(t,keys$1(t),e)}function baseAssignIn(e,t){return e&©Object(t,keysIn(t),e)}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;var freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer$1=moduleExports?root.Buffer:void 0,allocUnsafe=Buffer$1?Buffer$1.allocUnsafe:void 0;function cloneBuffer(e,t){if(t)return e.slice();var n=e.length,o=allocUnsafe?allocUnsafe(n):new e.constructor(n);return e.copy(o),o}function arrayFilter(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(e){return null==e?[]:(e=Object(e),arrayFilter(nativeGetSymbols$1(e),(function(t){return propertyIsEnumerable.call(e,t)})))}:stubArray;function copySymbols(e,t){return copyObject(e,getSymbols(e),t)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(e){for(var t=[];e;)arrayPush(t,getSymbols(e)),e=getPrototype(e);return t}:stubArray;function copySymbolsIn(e,t){return copyObject(e,getSymbolsIn(e),t)}function baseGetAllKeys(e,t,n){var o=t(e);return isArray$4(e)?o:arrayPush(o,n(e))}function getAllKeys(e){return baseGetAllKeys(e,keys$1,getSymbols)}function getAllKeysIn(e){return baseGetAllKeys(e,keysIn,getSymbolsIn)}var DataView$1=getNative(root,"DataView"),Promise$1=getNative(root,"Promise"),Set$1=getNative(root,"Set"),mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$2),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$1&&getTag(new Map$1)!=mapTag$4||Promise$1&&getTag(Promise$1.resolve())!=promiseTag||Set$1&&getTag(new Set$1)!=setTag$4||WeakMap$2&&getTag(new WeakMap$2)!=weakMapTag$1)&&(getTag=function(e){var t=baseGetTag(e),n=t==objectTag$2?e.constructor:void 0,o=n?toSource(n):"";if(o)switch(o){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return t});var objectProto$2=Object.prototype,hasOwnProperty$3=objectProto$2.hasOwnProperty;function initCloneArray(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&hasOwnProperty$3.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Uint8Array$1=root.Uint8Array;function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);return new Uint8Array$1(t).set(new Uint8Array$1(e)),t}function cloneDataView(e,t){var n=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var reFlags=/\w*$/;function cloneRegExp(e){var t=new e.constructor(e.source,reFlags.exec(e));return t.lastIndex=e.lastIndex,t}var symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(e){return symbolValueOf$1?Object(symbolValueOf$1.call(e)):{}}function cloneTypedArray(e,t){var n=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(e,t,n){var o=e.constructor;switch(t){case arrayBufferTag$2:return cloneArrayBuffer(e);case boolTag$2:case dateTag$2:return new o(+e);case dataViewTag$2:return cloneDataView(e,n);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(e,n);case mapTag$3:return new o;case numberTag$2:case stringTag$2:return new o(e);case regexpTag$2:return cloneRegExp(e);case setTag$3:return new o;case symbolTag$2:return cloneSymbol(e)}}function initCloneObject(e){return"function"!=typeof e.constructor||isPrototype(e)?{}:baseCreate(getPrototype(e))}var mapTag$2="[object Map]";function baseIsMap(e){return isObjectLike(e)&&getTag(e)==mapTag$2}var nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,setTag$2="[object Set]";function baseIsSet(e){return isObjectLike(e)&&getTag(e)==setTag$2}var nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,CLONE_DEEP_FLAG$2=1,CLONE_FLAT_FLAG$1=2,CLONE_SYMBOLS_FLAG$3=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};function baseClone(e,t,n,o,r,i){var a,l=t&CLONE_DEEP_FLAG$2,s=t&CLONE_FLAT_FLAG$1,c=t&CLONE_SYMBOLS_FLAG$3;if(n&&(a=r?n(e,o,r,i):n(e)),void 0!==a)return a;if(!isObject$6(e))return e;var u=isArray$4(e);if(u){if(a=initCloneArray(e),!l)return copyArray(e,a)}else{var d=getTag(e),p=d==funcTag||d==genTag;if(isBuffer$1(e))return cloneBuffer(e,l);if(d==objectTag$1||d==argsTag$1||p&&!r){if(a=s||p?{}:initCloneObject(e),!l)return s?copySymbolsIn(e,baseAssignIn(a,e)):copySymbols(e,baseAssign(a,e))}else{if(!cloneableTags[d])return r?e:{};a=initCloneByTag(e,d,l)}}i||(i=new Stack);var f=i.get(e);if(f)return f;i.set(e,a),isSet(e)?e.forEach((function(o){a.add(baseClone(o,t,n,o,e,i))})):isMap(e)&&e.forEach((function(o,r){a.set(r,baseClone(o,t,n,r,e,i))}));var h=u?void 0:(c?s?getAllKeysIn:getAllKeys:s?keysIn:keys$1)(e);return arrayEach(h||e,(function(o,r){h&&(o=e[r=o]),assignValue(a,r,baseClone(o,t,n,r,e,i))})),a}cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;var CLONE_SYMBOLS_FLAG$2=4;function clone$5(e){return baseClone(e,CLONE_SYMBOLS_FLAG$2)}var CLONE_DEEP_FLAG$1=1,CLONE_SYMBOLS_FLAG$1=4;function cloneDeep(e){return baseClone(e,CLONE_DEEP_FLAG$1|CLONE_SYMBOLS_FLAG$1)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(e){return this.__data__.set(e,HASH_UNDEFINED),this}function setCacheHas(e){return this.__data__.has(e)}function SetCache(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new MapCache;++t<n;)this.add(e[t])}function arraySome(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function cacheHas(e,t){return e.has(t)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas;var COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays(e,t,n,o,r,i){var a=n&COMPARE_PARTIAL_FLAG$5,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=n&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(i.set(e,t),i.set(t,e);++d<l;){var h=e[d],m=t[d];if(o)var g=a?o(m,h,d,t,e,i):o(h,m,d,e,t,i);if(void 0!==g){if(g)continue;p=!1;break}if(f){if(!arraySome(t,(function(e,t){if(!cacheHas(f,t)&&(h===e||r(h,e,n,o,i)))return f.push(t)}))){p=!1;break}}else if(h!==m&&!r(h,m,n,o,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function mapToArray(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}function setToArray(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(e,t,n,o,r,i,a){switch(n){case dataViewTag:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case arrayBufferTag:return!(e.byteLength!=t.byteLength||!i(new Uint8Array$1(e),new Uint8Array$1(t)));case boolTag:case dateTag:case numberTag:return eq(+e,+t);case errorTag:return e.name==t.name&&e.message==t.message;case regexpTag:case stringTag:return e==t+"";case mapTag:var l=mapToArray;case setTag:var s=o&COMPARE_PARTIAL_FLAG$4;if(l||(l=setToArray),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;o|=COMPARE_UNORDERED_FLAG$2,a.set(e,t);var u=equalArrays(l(e),l(t),o,r,i,a);return a.delete(e),u;case symbolTag:if(symbolValueOf)return symbolValueOf.call(e)==symbolValueOf.call(t)}return!1}var COMPARE_PARTIAL_FLAG$3=1,objectProto$1=Object.prototype,hasOwnProperty$2=objectProto$1.hasOwnProperty;function equalObjects(e,t,n,o,r,i){var a=n&COMPARE_PARTIAL_FLAG$3,l=getAllKeys(e),s=l.length;if(s!=getAllKeys(t).length&&!a)return!1;for(var c=s;c--;){var u=l[c];if(!(a?u in t:hasOwnProperty$2.call(t,u)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var f=!0;i.set(e,t),i.set(t,e);for(var h=a;++c<s;){var m=e[u=l[c]],g=t[u];if(o)var v=a?o(g,m,u,t,e,i):o(m,g,u,e,t,i);if(!(void 0===v?m===g||r(m,g,n,o,i):v)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return i.delete(e),i.delete(t),f}var COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty$1=objectProto.hasOwnProperty;function baseIsEqualDeep(e,t,n,o,r,i){var a=isArray$4(e),l=isArray$4(t),s=a?arrayTag:getTag(e),c=l?arrayTag:getTag(t),u=(s=s==argsTag?objectTag:s)==objectTag,d=(c=c==argsTag?objectTag:c)==objectTag,p=s==c;if(p&&isBuffer$1(e)){if(!isBuffer$1(t))return!1;a=!0,u=!1}if(p&&!u)return i||(i=new Stack),a||isTypedArray$2(e)?equalArrays(e,t,n,o,r,i):equalByTag(e,t,s,n,o,r,i);if(!(n&COMPARE_PARTIAL_FLAG$2)){var f=u&&hasOwnProperty$1.call(e,"__wrapped__"),h=d&&hasOwnProperty$1.call(t,"__wrapped__");if(f||h){var m=f?e.value():e,g=h?t.value():t;return i||(i=new Stack),r(m,g,n,o,i)}}return!!p&&(i||(i=new Stack),equalObjects(e,t,n,o,r,i))}function baseIsEqual(e,t,n,o,r){return e===t||(null==e||null==t||!isObjectLike(e)&&!isObjectLike(t)?e!=e&&t!=t:baseIsEqualDeep(e,t,n,o,baseIsEqual,r))}var COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch(e,t,n,o){var r=n.length,i=r;if(null==e)return!i;for(e=Object(e);r--;){var a=n[r];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++r<i;){var l=(a=n[r])[0],s=e[l],c=a[1];if(a[2]){if(void 0===s&&!(l in e))return!1}else{var u=new Stack;if(!baseIsEqual(c,s,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,o,u))return!1}}return!0}function isStrictComparable(e){return e==e&&!isObject$6(e)}function getMatchData(e){for(var t=keys$1(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,isStrictComparable(r)]}return t}function matchesStrictComparable(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function baseMatches(e){var t=getMatchData(e);return 1==t.length&&t[0][2]?matchesStrictComparable(t[0][0],t[0][1]):function(n){return n===e||baseIsMatch(n,e,t)}}function baseHasIn(e,t){return null!=e&&t in Object(e)}function hasPath(e,t,n){for(var o=-1,r=(t=castPath(t,e)).length,i=!1;++o<r;){var a=toKey(t[o]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++o!=r?i:!!(r=null==e?0:e.length)&&isLength(r)&&isIndex(a,r)&&(isArray$4(e)||isArguments(e))}function hasIn(e,t){return null!=e&&hasPath(e,t,baseHasIn)}var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(e,t){return isKey(e)&&isStrictComparable(t)?matchesStrictComparable(toKey(e),t):function(n){var o=get$1(n,e);return void 0===o&&o===t?hasIn(n,e):baseIsEqual(t,o,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}function baseProperty(e){return function(t){return null==t?void 0:t[e]}}function basePropertyDeep(e){return function(t){return baseGet(t,e)}}function property(e){return isKey(e)?baseProperty(toKey(e)):basePropertyDeep(e)}function baseIteratee(e){return"function"==typeof e?e:null==e?identity$2:"object"==typeof e?isArray$4(e)?baseMatchesProperty(e[0],e[1]):baseMatches(e):property(e)}function createBaseFor(e){return function(e,t,n){for(var o=-1,r=Object(e),i=n(e),a=i.length;a--;){var l=i[++o];if(!1===t(r[l],l,r))break}return e}}var baseFor=createBaseFor();function baseForOwn(e,t){return e&&baseFor(e,t,keys$1)}function createBaseEach(e,t){return function(t,n){if(null==t)return t;if(!isArrayLike$1(t))return e(t,n);for(var o=t.length,r=-1,i=Object(t);++r<o&&!1!==n(i[r],r,i););return t}}var baseEach=createBaseEach(baseForOwn),now=function(){return root.Date.now()},FUNC_ERROR_TEXT$1="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(e,t,n){var o,r,i,a,l,s,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT$1);function f(t){var n=o,i=r;return o=r=void 0,c=t,a=e.apply(i,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-c>=i}function m(){var e=now();if(h(e))return g(e);l=setTimeout(m,function(e){var n=t-(e-s);return d?nativeMin(n,i-(e-c)):n}(e))}function g(e){return l=void 0,p&&o?f(e):(o=r=void 0,a)}function v(){var e=now(),n=h(e);if(o=arguments,r=this,s=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(m,t),u?f(e):a}(s);if(d)return clearTimeout(l),l=setTimeout(m,t),f(s)}return void 0===l&&(l=setTimeout(m,t)),a}return t=toNumber(t)||0,isObject$6(n)&&(u=!!n.leading,i=(d="maxWait"in n)?nativeMax(toNumber(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),v.cancel=function(){void 0!==l&&clearTimeout(l),c=0,o=s=r=l=void 0},v.flush=function(){return void 0===l?a:g(now())},v}function assignMergeValue(e,t,n){(void 0!==n&&!eq(e[t],n)||void 0===n&&!(t in e))&&baseAssignValue(e,t,n)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike$1(e)}function safeGet(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function toPlainObject(e){return copyObject(e,keysIn(e))}function baseMergeDeep(e,t,n,o,r,i,a){var l=safeGet(e,n),s=safeGet(t,n),c=a.get(s);if(c)assignMergeValue(e,n,c);else{var u=i?i(l,s,n+"",e,t,a):void 0,d=void 0===u;if(d){var p=isArray$4(s),f=!p&&isBuffer$1(s),h=!p&&!f&&isTypedArray$2(s);u=s,p||f||h?isArray$4(l)?u=l:isArrayLikeObject(l)?u=copyArray(l):f?(d=!1,u=cloneBuffer(s,!0)):h?(d=!1,u=cloneTypedArray(s,!0)):u=[]:isPlainObject$2(s)||isArguments(s)?(u=l,isArguments(l)?u=toPlainObject(l):isObject$6(l)&&!isFunction$3(l)||(u=initCloneObject(s))):d=!1}d&&(a.set(s,u),r(u,s,o,i,a),a.delete(s)),assignMergeValue(e,n,u)}}function baseMerge(e,t,n,o,r){e!==t&&baseFor(t,(function(i,a){if(r||(r=new Stack),isObject$6(i))baseMergeDeep(e,t,a,n,baseMerge,o,r);else{var l=o?o(safeGet(e,a),i,a+"",e,t,r):void 0;void 0===l&&(l=i),assignMergeValue(e,a,l)}}),keysIn)}function customDefaultsMerge(e,t,n,o,r,i){return isObject$6(e)&&isObject$6(t)&&(i.set(t,e),baseMerge(e,t,void 0,customDefaultsMerge,i),i.delete(t)),e}var mergeWith=createAssigner((function(e,t,n,o){baseMerge(e,t,n,o)})),defaultsDeep=baseRest((function(e){return e.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,e)}));function last(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}function findLastIndex(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var r=o-1;return baseFindIndex(e,baseIteratee(t),r,!0)}function baseMap(e,t){var n=-1,o=isArrayLike$1(e)?Array(e.length):[];return baseEach(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function map$2(e,t){return(isArray$4(e)?arrayMap:baseMap)(e,baseIteratee(t))}function flatMap(e,t){return baseFlatten(map$2(e,t),1)}var INFINITY$1=1/0;function flattenDeep(e){return(null==e?0:e.length)?baseFlatten(e,INFINITY$1):[]}function fromPairs(e){for(var t=-1,n=null==e?0:e.length,o={};++t<n;){var r=e[t];o[r[0]]=r[1]}return o}function parent$1(e,t){return t.length<2?e:baseGet(e,baseSlice(t,0,-1))}function isEqual$1(e,t){return baseIsEqual(e,t)}function isNil(e){return null==e}function isNull(e){return null===e}function isUndefined$2(e){return void 0===e}var merge$2=createAssigner((function(e,t,n){baseMerge(e,t,n)}));function baseUnset(e,t){return null==(e=parent$1(e,t=castPath(t,e)))||delete e[toKey(last(t))]}function customOmitClone(e){return isPlainObject$2(e)?void 0:e}var CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,omit=flatRest((function(e,t){var n={};if(null==e)return n;var o=!1;t=arrayMap(t,(function(t){return t=castPath(t,e),o||(o=t.length>1),t})),copyObject(e,getAllKeysIn(e),n),o&&(n=baseClone(n,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var r=t.length;r--;)baseUnset(n,t[r]);return n}));function baseSet(e,t,n,o){if(!isObject$6(e))return e;for(var r=-1,i=(t=castPath(t,e)).length,a=i-1,l=e;null!=l&&++r<i;){var s=toKey(t[r]),c=n;if("__proto__"===s||"constructor"===s||"prototype"===s)return e;if(r!=a){var u=l[s];void 0===(c=void 0)&&(c=isObject$6(u)?u:isIndex(t[r+1])?[]:{})}assignValue(l,s,c),l=l[s]}return e}function basePickBy(e,t,n){for(var o=-1,r=t.length,i={};++o<r;){var a=t[o],l=baseGet(e,a);n(l,a)&&baseSet(i,castPath(a,e),l)}return i}function basePick(e,t){return basePickBy(e,t,(function(t,n){return hasIn(e,n)}))}var pick=flatRest((function(e,t){return null==e?{}:basePick(e,t)}));function set$2(e,t,n){return null==e?e:baseSet(e,t,n)}var FUNC_ERROR_TEXT="Expected a function";function throttle$3(e,t,n){var o=!0,r=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);return isObject$6(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),debounce(e,t,{leading:o,maxWait:t,trailing:r})}var INFINITY=1/0,createSet=Set$1&&1/setToArray(new Set$1([,-0]))[1]==INFINITY?function(e){return new Set$1(e)}:noop$6,LARGE_ARRAY_SIZE=200;function baseUniq(e,t,n){var o=-1,r=arrayIncludes,i=e.length,a=!0,l=[],s=l;if(i>=LARGE_ARRAY_SIZE){var c=createSet(e);if(c)return setToArray(c);a=!1,r=cacheHas,s=new SetCache}else s=l;e:for(;++o<i;){var u=e[o],d=u;if(u=0!==u?u:0,a&&d==d){for(var p=s.length;p--;)if(s[p]===d)continue e;l.push(u)}else r(s,d,n)||(s!==l&&s.push(d),l.push(u))}return l}var union=baseRest((function(e){return baseUniq(baseFlatten(e,1,isArrayLikeObject,!0))}));const globalSettingsDefault={app:{colorScheme:"light",enablePermission:!1,enableProgress:!0,enableDynamicTitle:!1,routeBaseOn:"frontend"},home:{enable:!0,title:"主页",fullPath:"/"},layout:{enableMobileAdaptation:!1},menu:{baseOn:"frontend",menuMode:"side",switchMainMenuAndPageJump:!1,subMenuUniqueOpened:!0,subMenuCollapse:!1,enableSubMenuCollapseButton:!1,enableHotkeys:!1},topbar:{mode:"static"},tabbar:{enable:!1,enableIcon:!1,enableHotkeys:!1},toolbar:{breadcrumb:!0,navSearch:!0,fullscreen:!1,pageReload:!1,colorScheme:!1},mainPage:{enableHotkeys:!0},navSearch:{enableHotkeys:!0},copyright:{enable:!1,dates:"",company:"",website:"",beian:""}},globalSettings={menu:{menuMode:"single",enableSubMenuCollapseButton:!0,enableHotkeys:!1},app:{enableDynamicTitle:!0},topbar:{mode:"static"},toolbar:{fullscreen:!1,pageReload:!0},navSearch:{enableHotkeys:!1},copyright:{enable:!1}},settingsDefault=defaultsDeep(globalSettings,globalSettingsDefault);let activePinia;const setActivePinia=e=>activePinia=e,piniaSymbol=Symbol();function isPlainObject$1(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var MutationType,MutationType2;function createPinia(){const e=effectScope(!0),t=e.run((()=>ref({})));let n=[],o=[];const r=markRaw({install(e){setActivePinia(r),r._a=e,e.provide(piniaSymbol,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}MutationType2=MutationType||(MutationType={}),MutationType2.direct="direct",MutationType2.patchObject="patch object",MutationType2.patchFunction="patch function";const noop$5=()=>{};function addSubscription(e,t,n,o=noop$5){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&getCurrentScope()&&onScopeDispose(r),r}function triggerSubscriptions(e,...t){e.slice().forEach((e=>{e(...t)}))}const fallbackRunWithContext=e=>e();function mergeReactiveObjects(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];isPlainObject$1(r)&&isPlainObject$1(o)&&e.hasOwnProperty(n)&&!isRef(o)&&!isReactive(o)?e[n]=mergeReactiveObjects(r,o):e[n]=o}return e}const skipHydrateSymbol=Symbol();function shouldHydrate(e){return!isPlainObject$1(e)||!e.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$1}=Object;function isComputed(e){return!(!isRef(e)||!e.effect)}function createOptionsStore(e,t,n,o){const{state:r,actions:i,getters:a}=t,l=n.state.value[e];let s;return s=createSetupStore(e,(function(){l||(n.state.value[e]=r?r():{});const t=toRefs(n.state.value[e]);return assign$1(t,i,Object.keys(a||{}).reduce(((t,o)=>(t[o]=markRaw(computed((()=>{setActivePinia(n);const t=n._s.get(e);return a[o].call(t,t)}))),t)),{}))}),t,n,o,!0),s}function createSetupStore(e,t,n={},o,r,i){let a;const l=assign$1({actions:{}},n),s={deep:!0};let c,u,d,p=[],f=[];const h=o.state.value[e];let m;function g(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:MutationType.patchFunction,storeId:e,events:d}):(mergeReactiveObjects(o.state.value[e],t),n={type:MutationType.patchObject,payload:t,storeId:e,events:d});const r=m=Symbol();nextTick().then((()=>{m===r&&(c=!0)})),u=!0,triggerSubscriptions(p,n,o.state.value[e])}i||h||(o.state.value[e]={}),ref({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{assign$1(e,t)}))}:noop$5;function y(t,n){return function(){setActivePinia(o);const r=Array.from(arguments),i=[],a=[];let l;triggerSubscriptions(f,{args:r,name:t,store:b,after:function(e){i.push(e)},onError:function(e){a.push(e)}});try{l=n.apply(this&&this.$id===e?this:b,r)}catch(s){throw triggerSubscriptions(a,s),s}return l instanceof Promise?l.then((e=>(triggerSubscriptions(i,e),e))).catch((e=>(triggerSubscriptions(a,e),Promise.reject(e)))):(triggerSubscriptions(i,l),l)}}const b=reactive({_p:o,$id:e,$onAction:addSubscription.bind(null,f),$patch:g,$reset:v,$subscribe(t,n={}){const r=addSubscription(p,t,n.detached,(()=>i())),i=a.run((()=>watch((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:MutationType.direct,events:d},o)}),assign$1({},s,n))));return r},$dispose:function(){a.stop(),p=[],f=[],o._s.delete(e)}});o._s.set(e,b);const _=(o._a&&o._a.runWithContext||fallbackRunWithContext)((()=>o._e.run((()=>(a=effectScope()).run(t)))));for(const w in _){const t=_[w];if(isRef(t)&&!isComputed(t)||isReactive(t))i||(h&&shouldHydrate(t)&&(isRef(t)?t.value=h[w]:mergeReactiveObjects(t,h[w])),o.state.value[e][w]=t);else if("function"==typeof t){const e=y(w,t);_[w]=e,l.actions[w]=t}}return assign$1(b,_),assign$1(toRaw(b),_),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:e=>{g((t=>{assign$1(t,e)}))}}),o._p.forEach((e=>{assign$1(b,a.run((()=>e({store:b,app:o._a,pinia:o,options:l}))))})),h&&i&&n.hydrate&&n.hydrate(b.$state,h),c=!0,u=!0,b}function defineStore(e,t,n){let o,r;const i="function"==typeof t;function a(e,n){const a=hasInjectionContext();(e=e||(a?inject(piniaSymbol,null):null))&&setActivePinia(e),(e=activePinia)._s.has(o)||(i?createSetupStore(o,t,r,e):createOptionsStore(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=i?n:t):(r=e,o=e.id),a.$id=o,a}const useSettingsStore=defineStore("settings",(()=>{const e=ref(settingsDefault),t=window.matchMedia("(prefers-color-scheme: dark)"),n=ref();function o(){let o=e.value.app.colorScheme;switch(""===o&&(o=t.matches?"dark":"light"),n.value=o,o){case"light":document.documentElement.classList.remove("dark");break;case"dark":document.documentElement.classList.add("dark")}}watch((()=>e.value.app.colorScheme),(e=>{""===e?t.addEventListener("change",o):t.removeEventListener("change",o)}),{immediate:!0}),watch((()=>e.value.app.colorScheme),o,{immediate:!0}),watch((()=>e.value.menu.menuMode),(e=>{document.body.setAttribute("data-menu-mode",e)}),{immediate:!0});const r=ref("other"),i=navigator.userAgent.toLowerCase();switch(!0){case i.includes("mac os"):r.value="mac";break;case i.includes("windows"):r.value="windows";break;case i.includes("linux"):r.value="linux"}const a=ref();const l=ref("pc");const s=ref(settingsDefault.menu.subMenuCollapse);return watch((()=>e.value.menu.subMenuCollapse),(e=>{"pc"===l.value&&(s.value=e)})),watch(l,(t=>{switch(t){case"pc":e.value.menu.subMenuCollapse=s.value;break;case"mobile":e.value.menu.subMenuCollapse=!0}document.body.setAttribute("data-mode",t)}),{immediate:!0}),{settings:e,currentColorScheme:n,os:r,title:a,setTitle:function(e){a.value=e},mode:l,setMode:function(t){e.value.layout.enableMobileAdaptation?/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?l.value="mobile":l.value=t<1024?"mobile":"pc":l.value="pc"},subMenuCollapseLastStatus:s,toggleSidebarCollapse:function(){e.value.menu.subMenuCollapse=!e.value.menu.subMenuCollapse},setColorScheme:function(t){e.value.app.colorScheme=t},updateSettings:function(t,n=!1){e.value=defaultsDeep(t,n?settingsDefault:e.value)}}})),isBrowser$1="undefined"!=typeof document;function isRouteComponent(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function isESModule(e){return e.__esModule||"Module"===e[Symbol.toStringTag]||e.default&&isRouteComponent(e.default)}const assign=Object.assign;function applyToParams(e,t){const n={};for(const o in t){const r=t[o];n[o]=isArray$3(r)?r.map(e):e(r)}return n}const noop$4=()=>{},isArray$3=Array.isArray,HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return null==e?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode$1(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE,"");function parseURL(e,t,n="/"){let o,r={},i="",a="";const l=t.indexOf("#");let s=t.indexOf("?");return l<s&&l>=0&&(s=-1),s>-1&&(o=t.slice(0,s),i=t.slice(s+1,l>-1?l:t.length),r=e(i)),l>-1&&(o=o||t.slice(0,l),a=t.slice(l,t.length)),o=resolveRelativePath(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:decode$1(a)}}function stringifyURL(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function stripBase(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function isSameRouteLocation(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&isSameRouteRecord(t.matched[o],n.matched[r])&&isSameRouteLocationParams(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!isSameRouteLocationParamsValue(e[n],t[n]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray$3(e)?isEquivalentArray(e,t):isArray$3(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray$3(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,a,l=n.length-1;for(i=0;i<o.length;i++)if(a=o[i],"."!==a){if(".."!==a)break;l>1&&l--}return n.slice(0,l).join("/")+"/"+o.slice(i).join("/")}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var NavigationType,NavigationType2,NavigationDirection,NavigationDirection2;function normalizeBase(e){if(!e)if(isBrowser$1){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),removeTrailingSlash(e)}NavigationType2=NavigationType||(NavigationType={}),NavigationType2.pop="pop",NavigationType2.push="push",NavigationDirection2=NavigationDirection||(NavigationDirection={}),NavigationDirection2.back="back",NavigationDirection2.forward="forward",NavigationDirection2.unknown="";const BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=getElementPosition(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}const scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){const t=scrollPositions.get(e);return scrollPositions.delete(e),t}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),stripBase(n,"")}return stripBase(n,e)+o+r}function useHistoryListeners(e,t,n,o){let r=[],i=[],a=null;const l=({state:i})=>{const l=createCurrentLocation(e,location),s=n.value,c=t.value;let u=0;if(i){if(n.value=l,t.value=i,a&&a===s)return void(a=null);u=c?i.position-c.position:0}else o(l);r.forEach((e=>{e(n.value,s,{delta:u,type:NavigationType.pop,direction:u?u>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})}))};function s(){const{history:e}=window;e.state&&e.replaceState(assign({},e.state,{scroll:computeScrollPosition()}),"")}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",s)}}}function buildState(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:n}=window,o={value:createCurrentLocation(e,n)},r={value:t.state};function i(o,i,a){const l=e.indexOf("#"),s=l>-1?(n.host&&document.querySelector("base")?e:e.slice(l))+o:createBaseLocation()+e+o;try{t[a?"replaceState":"pushState"](i,"",s),r.value=i}catch(c){n[a?"replace":"assign"](s)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=assign({},r.value,t.state,{forward:e,scroll:computeScrollPosition()});i(a.current,a,!0),i(e,assign({},buildState(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,assign({},t.state,buildState(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function createWebHistory(e){const t=useHistoryStateNavigation(e=normalizeBase(e)),n=useHistoryListeners(e,t.state,t.location,t.replace);const o=assign({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:createHref.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function createWebHashHistory(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return"string"==typeof e||e&&"object"==typeof e}function isRouteName(e){return"string"==typeof e||"symbol"==typeof e}const NavigationFailureSymbol=Symbol("");var NavigationFailureType,NavigationFailureType2;function createRouterError(e,t){return assign(new Error,{type:e,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(null==t||!!(e.type&t))}NavigationFailureType2=NavigationFailureType||(NavigationFailureType={}),NavigationFailureType2[NavigationFailureType2.aborted=4]="aborted",NavigationFailureType2[NavigationFailureType2.cancelled=8]="cancelled",NavigationFailureType2[NavigationFailureType2.duplicated=16]="duplicated";const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){const n=assign({},BASE_PATH_PARSER_OPTIONS,t),o=[];let r=n.start?"^":"";const i=[];for(const s of e){const e=s.length?[]:[90];n.strict&&!s.length&&(r+="/");for(let t=0;t<s.length;t++){const o=s[t];let a=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(REGEX_CHARS_RE,"\\$&"),a+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;i.push({name:e,repeatable:n,optional:c});const d=u||BASE_PARAM_PATTERN;if(d!==BASE_PARAM_PATTERN){a+=10;try{new RegExp(`(${d})`)}catch(l){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+l.message)}}let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(p=c&&s.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),r+=p,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");return{re:a,score:o,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=i[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of r)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:l}=e,s=i in t?t[i]:"";if(isArray$3(s)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=isArray$3(s)?s.join("/"):s;if(!c){if(!l)throw new Error(`Missing required param "${i}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}function compareScoreArray(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function comparePathParserScore(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=compareScoreArray(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(isLastScoreNegative(o))return 1;if(isLastScoreNegative(r))return-1}return r.length-o.length}function isLastScoreNegative(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if("/"===e)return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let l,s=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===l||"+"===l)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===l||"+"===l,optional:"*"===l||"?"===l})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;s<e.length;)if(l=e[s++],"\\"!==l||2===n)switch(n){case 0:"/"===l?(c&&d(),a()):":"===l?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:"("===l?n=2:VALID_PARAM_RE.test(l)?p():(d(),n=0,"*"!==l&&"?"!==l&&"+"!==l&&s--);break;case 2:")"===l?"\\"==u[u.length-1]?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,"*"!==l&&"?"!==l&&"+"!==l&&s--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}function createRouteRecordMatcher(e,t,n){const o=tokensToParser(tokenizePath(e.path),n),r=assign(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function createRouterMatcher(e,t){const n=[],o=new Map;function r(e,n,o){const l=!o,s=normalizeRouteRecord(e);s.aliasOf=o&&o.record;const c=mergeOptions$1(t,e),u=[s];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(normalizeRouteRecord(assign({},s,{components:o?o.record.components:s.components,path:e,aliasOf:o?o.record:s})))}let d,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=createRouteRecordMatcher(t,n,c),o?o.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),l&&e.name&&!isAliasRecord(d)&&i(e.name)),isMatchable(d)&&a(d),s.children){const e=s.children;for(let t=0;t<e.length;t++)r(e[t],d,o&&o.children[t])}o=o||d}return p?()=>{i(p)}:noop$4}function i(e){if(isRouteName(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function a(e){const t=findInsertionIndex(e,n);n.splice(t,0,e),e.record.name&&!isAliasRecord(e)&&o.set(e.record.name,e)}return t=mergeOptions$1({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,a,l={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw createRouterError(1,{location:e});a=r.record.name,l=assign(paramsFromLocation(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&¶msFromLocation(e.params,r.keys.map((e=>e.name)))),i=r.stringify(l)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(l=r.parse(i),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw createRouterError(1,{location:e,currentLocation:t});a=r.record.name,l=assign({},t.params,e.params),i=r.stringify(l)}const s=[];let c=r;for(;c;)s.unshift(c.record),c=c.parent;return{name:a,path:i,params:l,matched:s,meta:mergeMetaFields(s)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function paramsFromLocation(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function normalizeRouteRecord(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function normalizeRecordProps(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce(((e,t)=>assign(e,t.meta)),{})}function mergeOptions$1(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function findInsertionIndex(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;comparePathParserScore(e,t[r])<0?o=r:n=r+1}const r=getInsertionAncestor(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function getInsertionAncestor(e){let t=e;for(;t=t.parent;)if(isMatchable(t)&&0===comparePathParserScore(e,t))return t}function isMatchable({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function parseQuery(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(PLUS_RE," "),r=e.indexOf("="),i=decode$1(r<0?e:e.slice(0,r)),a=r<0?null:decode$1(e.slice(r+1));if(i in t){let e=t[i];isArray$3(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function stringifyQuery(e){let t="";for(let n in e){const o=e[n];if(n=encodeQueryKey(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(isArray$3(o)?o.map((e=>e&&encodeQueryValue(e))):[o&&encodeQueryValue(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function normalizeQuery(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=isArray$3(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function registerGuard(e,t,n){const o=()=>{e[t].delete(n)};onUnmounted(o),onDeactivated(o),onActivated((()=>{e[t].add(n)})),e[t].add(n)}function onBeforeRouteLeave(e){const t=inject(matchedRouteKey,{}).value;t&®isterGuard(t,"leaveGuards",e)}function guardToPromiseFn(e,t,n,o,r,i=e=>e()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((l,s)=>{const c=e=>{!1===e?s(createRouterError(4,{from:n,to:t})):e instanceof Error?s(e):isRouteLocation(e)?s(createRouterError(2,{from:t,to:e})):(a&&o.enterCallbacks[r]===a&&"function"==typeof e&&a.push(e),l())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>s(e)))}))}function extractComponentsGuards(e,t,n,o,r=e=>e()){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(isRouteComponent(l)){const s=(l.__vccOpts||l)[t];s&&i.push(guardToPromiseFn(s,n,o,a,e,r))}else{let s=l();i.push((()=>s.then((i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${a.path}"`);const l=isESModule(i)?i.default:i;a.mods[e]=i,a.components[e]=l;const s=(l.__vccOpts||l)[t];return s&&guardToPromiseFn(s,n,o,a,e,r)()}))))}}return i}function useLink(e){const t=inject(routerKey),n=inject(routeLocationKey),o=computed((()=>{const n=unref(e.to);return t.resolve(n)})),r=computed((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(isSameRouteRecord.bind(null,r));if(a>-1)return a;const l=getOriginalPath(e[t-2]);return t>1&&getOriginalPath(r)===l&&i[i.length-1].path!==l?i.findIndex(isSameRouteRecord.bind(null,e[t-2])):a})),i=computed((()=>r.value>-1&&includesParams(n.params,o.value.params))),a=computed((()=>r.value>-1&&r.value===n.matched.length-1&&isSameRouteLocationParams(n.params,o.value.params)));return{route:o,href:computed((()=>o.value.href)),isActive:i,isExactActive:a,navigate:function(n={}){if(guardEvent(n)){const n=t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop$4);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),n}return Promise.resolve()}}}function preferSingleVNode(e){return 1===e.length?e[0]:e}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:useLink,setup(e,{slots:t}){const n=reactive(useLink(e)),{options:o}=inject(routerKey),r=computed((()=>({[getLinkClass(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[getLinkClass(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&preferSingleVNode(t.default(n));return e.custom?o:h$5("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),RouterLink=RouterLinkImpl;function guardEvent(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){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!isArray$3(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const getLinkClass=(e,t,n)=>null!=e?e:null!=t?t:n,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=inject(routerViewLocationKey),r=computed((()=>e.route||o.value)),i=inject(viewDepthKey,0),a=computed((()=>{let e=unref(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),l=computed((()=>r.value.matched[a.value]));provide(viewDepthKey,computed((()=>a.value+1))),provide(matchedRouteKey,l),provide(routerViewLocationKey,r);const s=ref();return watch((()=>[s.value,l.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&isSameRouteRecord(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,a=l.value,c=a&&a.components[i];if(!c)return normalizeSlot(n.default,{Component:c,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=h$5(c,assign({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:s}));return normalizeSlot(n.default,{Component:p,route:o})||p}}});function normalizeSlot(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const RouterView=RouterViewImpl;function createRouter(e){const t=createRouterMatcher(e.routes,e),n=e.parseQuery||parseQuery,o=e.stringifyQuery||stringifyQuery,r=e.history,i=useCallbacks(),a=useCallbacks(),l=useCallbacks(),s=shallowRef(START_LOCATION_NORMALIZED);let c=START_LOCATION_NORMALIZED;isBrowser$1&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=applyToParams.bind(null,(e=>""+e)),d=applyToParams.bind(null,encodeParam),p=applyToParams.bind(null,decode$1);function f(e,i){if(i=assign({},i||s.value),"string"==typeof e){const o=parseURL(n,e,i.path),a=t.resolve({path:o.path},i),l=r.createHref(o.fullPath);return assign(o,a,{params:p(a.params),hash:decode$1(o.hash),redirectedFrom:void 0,href:l})}let a;if(null!=e.path)a=assign({},e,{path:parseURL(n,e.path,i.path).path});else{const t=assign({},e.params);for(const e in t)null==t[e]&&delete t[e];a=assign({},e,{params:d(t)}),i.params=d(i.params)}const l=t.resolve(a,i),c=e.hash||"";l.params=u(p(l.params));const f=stringifyURL(o,assign({},e,{hash:encodeHash(c),path:l.path})),h=r.createHref(f);return assign({fullPath:f,hash:c,query:o===stringifyQuery?normalizeQuery(e.query):e.query||{}},l,{redirectedFrom:void 0,href:h})}function h(e){return"string"==typeof e?parseURL(n,e,s.value.path):assign({},e)}function m(e,t){if(c!==e)return createRouterError(8,{from:t,to:e})}function g(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),assign({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=f(e),r=s.value,i=e.state,a=e.force,l=!0===e.replace,u=v(n);if(u)return y(assign(h(u),{state:"object"==typeof u?assign({},i,u.state):i,force:a,replace:l}),t||n);const d=n;let p;return d.redirectedFrom=t,!a&&isSameRouteLocation(o,r,n)&&(p=createRouterError(16,{to:d,from:r}),I(r,r,!0,!1)),(p?Promise.resolve(p):w(d,r)).catch((e=>isNavigationFailure(e)?isNavigationFailure(e,2)?e:$(e):A(e,d,r))).then((e=>{if(e){if(isNavigationFailure(e,2))return y(assign({replace:l},h(e.to),{state:"object"==typeof e.to?assign({},i,e.to.state):i,force:a}),t||d)}else e=x(d,r,!0,l,i);return k(d,r,e),e}))}function b(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=N.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,l]=extractChangingRecords(e,t);n=extractComponentsGuards(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(guardToPromiseFn(o,e,t))}));const s=b.bind(null,e,t);return n.push(s),R(n).then((()=>{n=[];for(const o of i.list())n.push(guardToPromiseFn(o,e,t));return n.push(s),R(n)})).then((()=>{n=extractComponentsGuards(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(guardToPromiseFn(o,e,t))}));return n.push(s),R(n)})).then((()=>{n=[];for(const o of l)if(o.beforeEnter)if(isArray$3(o.beforeEnter))for(const r of o.beforeEnter)n.push(guardToPromiseFn(r,e,t));else n.push(guardToPromiseFn(o.beforeEnter,e,t));return n.push(s),R(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=extractComponentsGuards(l,"beforeRouteEnter",e,t,_),n.push(s),R(n)))).then((()=>{n=[];for(const o of a.list())n.push(guardToPromiseFn(o,e,t));return n.push(s),R(n)})).catch((e=>isNavigationFailure(e,8)?e:Promise.reject(e)))}function k(e,t,n){l.list().forEach((o=>_((()=>o(e,t,n)))))}function x(e,t,n,o,i){const a=m(e,t);if(a)return a;const l=t===START_LOCATION_NORMALIZED,c=isBrowser$1?history.state:{};n&&(o||l?r.replace(e.fullPath,assign({scroll:l&&c&&c.scroll},i)):r.push(e.fullPath,i)),s.value=e,I(e,t,n,l),$()}let S;let C,E=useCallbacks(),T=useCallbacks();function A(e,t,n){$(e);const o=T.list();return o.length&&o.forEach((o=>o(e,t,n))),Promise.reject(e)}function $(e){return C||(C=!e,S||(S=r.listen(((e,t,n)=>{if(!O.listening)return;const o=f(e),i=v(o);if(i)return void y(assign(i,{replace:!0,force:!0}),o).catch(noop$4);c=o;const a=s.value;isBrowser$1&&saveScrollPosition(getScrollKey(a.fullPath,n.delta),computeScrollPosition()),w(o,a).catch((e=>isNavigationFailure(e,12)?e:isNavigationFailure(e,2)?(y(assign(h(e.to),{force:!0}),o).then((e=>{isNavigationFailure(e,20)&&!n.delta&&n.type===NavigationType.pop&&r.go(-1,!1)})).catch(noop$4),Promise.reject()):(n.delta&&r.go(-n.delta,!1),A(e,o,a)))).then((e=>{(e=e||x(o,a,!1))&&(n.delta&&!isNavigationFailure(e,8)?r.go(-n.delta,!1):n.type===NavigationType.pop&&isNavigationFailure(e,20)&&r.go(-1,!1)),k(o,a,e)})).catch(noop$4)}))),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function I(t,n,o,r){const{scrollBehavior:i}=e;if(!isBrowser$1||!i)return Promise.resolve();const a=!o&&getSavedScrollPosition(getScrollKey(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return nextTick().then((()=>i(t,n,a))).then((e=>e&&scrollToPosition(e))).catch((e=>A(e,t,n)))}const M=e=>r.go(e);let P;const N=new Set,O={currentRoute:s,listening:!0,addRoute:function(e,n){let o,r;return isRouteName(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:g,replace:function(e){return g(assign(h(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:T.add,isReady:function(){return C&&s.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",RouterLink),e.component("RouterView",RouterView),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(s)}),isBrowser$1&&!P&&s.value===START_LOCATION_NORMALIZED&&(P=!0,g(r.location).catch((e=>{})));const t={};for(const o in START_LOCATION_NORMALIZED)Object.defineProperty(t,o,{get:()=>s.value[o],enumerable:!0});e.provide(routerKey,this),e.provide(routeLocationKey,shallowReactive(t)),e.provide(routerViewLocationKey,s);const n=e.unmount;N.add(e),e.unmount=function(){N.delete(e),N.size<1&&(c=START_LOCATION_NORMALIZED,S&&S(),S=null,s.value=START_LOCATION_NORMALIZED,P=!1,C=!1),n()}}};function R(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return O}function extractChangingRecords(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const i=t.matched[a];i&&(e.matched.find((e=>isSameRouteRecord(e,i)))?o.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find((e=>isSameRouteRecord(e,l)))||r.push(l))}return[n,o,r]}function useRouter(){return inject(routerKey)}function useRoute(e){return inject(routeLocationKey)}const _hoisted_1$1={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},_hoisted_2$1={class:"flex flex-col gap-4"},_sfc_main$2B=defineComponent({name:"NotAllowed",__name:"index",setup(e){const t=useRouter(),n=useSettingsStore(),o=ref({inter:Number.NaN,countdown:5});function r(){t.push(n.settings.home.fullPath)}return onUnmounted((()=>{o.value.inter&&window.clearInterval(o.value.inter)})),onMounted((()=>{o.value.inter=window.setInterval((()=>{o.value.countdown--,0===o.value.countdown&&(o.value.inter&&window.clearInterval(o.value.inter),r())}),1e3)})),(e,t)=>{const n=_sfc_main$2F,i=_sfc_main$2C;return openBlock(),createElementBlock("div",_hoisted_1$1,[createVNode$1(n,{name:"403",class:"text-[300px] lg-text-[400px]"}),createBaseVNode("div",_hoisted_2$1,[t[0]||(t[0]=createBaseVNode("h1",{class:"m-0 text-6xl font-sans"},"403",-1)),t[1]||(t[1]=createBaseVNode("div",{class:"desc mx-0 text-xl text-stone-5"},"抱歉,你无权访问该页面",-1)),createBaseVNode("div",null,[createVNode$1(i,{onClick:r},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(o).countdown)+" 秒后,返回首页 ",1)])),_:1})])])])}}});function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var eruda={exports:{}},hasRequiredEruda;function requireEruda(){return hasRequiredEruda||(hasRequiredEruda=1,function(module,exports){!function(e,t){module.exports=t()}(self,(function(){return function(){var __webpack_modules__={3312:function(e,t,n){n.d(t,{A:function(){return Y}});var o=n(3029),r=n(2901),i=n(388),a=n(3954),l=n(5361),s=n(3915),c=n.n(s),u=n(6097),d=n.n(u),p=n(1738),f=n.n(p),h=n(4994),m=n.n(h),g=n(9405),v=n.n(g),y=n(5169),b=n.n(y),_=n(9548),w=n.n(_),k=n(3249),x=n.n(k),S=n(6030),C=n.n(S),E=n(5004),T=n.n(E);function A(e){var t="luna-".concat(e,"-");function n(e){return c()(v()(e).split(/\s+/),(function(e){return x()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=w().parse(e);return $(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),w().stringify(t)}catch(o){return n(e)}return n(e)}}function $(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&$(r.content,t)}}n(9410),n(8609),b(),b();var I=n(2263),M=n.n(I),P=n(3693),N=n.n(P),O=n(9100),R=n.n(O),D=n(8105),L=n.n(D),B=n(5651),V=n.n(B),z=n(961),F=n.n(z),H=n(1009),j=n.n(H);function G(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(G=function(){return!!e})()}var U=function(e){function t(e,n){var r,l,s,c,u=n.compName,d=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,p=void 0===d?"light":d;return(0,o.A)(this,t),l=this,s=t,s=(0,a.A)(s),(r=(0,i.A)(l,G()?Reflect.construct(s,[],(0,a.A)(l).constructor):s.apply(l,undefined))).subComponents=[],r.compName=u,r.c=A(u),r.options={},r.container=e,r.$container=N()(e),r.$container.addClass(["luna-".concat(u),r.c("platform-".concat((c=T()(),"os x"===c?"mac":c)))]),r.on("optionChange",(function(e,t,n){var o=r.c;"theme"===e&&(r.$container.rmClass(o("theme-".concat(n))).addClass(o("theme-".concat(t))),R()(r.subComponents,(function(e){return e.setOption("theme",t)})))})),r.setOption("theme",p),r}return(0,l.A)(t,e),(0,r.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");R()(n.split(/\s+/),(function(n){j()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,R()(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){F()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){R()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};V()(e,t),L()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}}])}(M());function W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(W=function(){return!!e})()}e=n.hmd(e);var Y=function(e){function t(e){var n,r,l,s,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.A)(this,t),r=this,l=t,s=[e,{compName:"box-model"}],l=(0,a.A)(l),(n=(0,i.A)(r,W()?Reflect.construct(l,s||[],(0,a.A)(r).constructor):l.apply(r,s))).initOptions(c),n.options.element&&n.render(),n.bindEvent(),n}return(0,l.A)(t,e),(0,r.A)(t,[{key:"bindEvent",value:function(){var e=this;this.on("optionChange",(function(t){"element"===t&&e.render()}))}},{key:"render",value:function(){var e=this,t=this.c,n=this.$container,o=this.getBoxModelData();n.html([o.position?'<div class="'.concat(t("position"),'">'):"",o.position?'<div class="'.concat(t("label"),'">position</div><div class="').concat(t("top"),'">').concat(o.position.top,'</div><br><div class="').concat(t("left"),'">').concat(o.position.left,"</div>"):"",'<div class="'.concat(t("margin"),'">'),'<div class="'.concat(t("label"),'">margin</div><div class="').concat(t("top"),'">').concat(o.margin.top,'</div><br><div class="').concat(t("left"),'">').concat(o.margin.left,"</div>"),'<div class="'.concat(t("border"),'">'),'<div class="'.concat(t("label"),'">border</div><div class="').concat(t("top"),'">').concat(o.border.top,'</div><br><div class="').concat(t("left"),'">').concat(o.border.left,"</div>"),'<div class="'.concat(t("padding"),'">'),'<div class="'.concat(t("label"),'">padding</div><div class="').concat(t("top"),'">').concat(o.padding.top,'</div><br><div class="').concat(t("left"),'">').concat(o.padding.left,"</div>"),'<div class="'.concat(t("content"),'">'),"<span>".concat(o.content.width,"</span> × <span>").concat(o.content.height,"</span>"),"</div>",'<div class="'.concat(t("right"),'">').concat(o.padding.right,'</div><br><div class="').concat(t("bottom"),'">').concat(o.padding.bottom,"</div>"),"</div>",'<div class="'.concat(t("right"),'">').concat(o.border.right,'</div><br><div class="').concat(t("bottom"),'">').concat(o.border.bottom,"</div>"),"</div>",'<div class="'.concat(t("right"),'">').concat(o.margin.right,'</div><br><div class="').concat(t("bottom"),'">').concat(o.margin.bottom,"</div>"),"</div>",o.position?'<div class="'.concat(t("right"),'">').concat(o.position.right,'</div><br><div class="').concat(t("bottom"),'">').concat(o.position.bottom,"</div>"):"",o.position?"</div>":""].join(""));var r=this.find(".margin"),i=this.find(".border"),a=this.find(".padding"),l=this.find(".content"),s=function(){r.addClass(t("highlighted")),i.addClass(t("highlighted")),a.addClass(t("highlighted")),l.addClass(t("highlighted"))};s();var c=function(n){var o;switch(e.find(".highlighted").rmClass(t("highlighted")),n){case"margin":o=r;break;case"border":o=i;break;case"padding":o=a;break;default:o=l}o.addClass(t("highlighted")),e.emit("highlight",n)},u=m()(c,this,"margin"),d=m()(c,this,"border"),p=m()(c,this,"padding"),f=m()(c,this,"content");r.on("mouseenter",u).on("mouseleave",(function(){s(),e.emit("highlight","all")})),i.on("mouseenter",d).on("mouseleave",u),a.on("mouseenter",p).on("mouseleave",d),l.on("mouseenter",f).on("mouseleave",p)}},{key:"getBoxModelData",value:function(){var e=this.options.element,t=window.getComputedStyle(e);function n(e){var n=["top","left","right","bottom"];return"position"!==e&&(n=c()(n,(function(t){return"".concat(e,"-").concat(t)}))),"border"===e&&(n=c()(n,(function(e){return"".concat(e,"-width")}))),{top:q(t[n[0]],e),left:q(t[n[1]],e),right:q(t[n[2]],e),bottom:q(t[n[3]],e)}}var o={margin:n("margin"),border:n("border"),padding:n("padding"),content:{width:q(t.width),height:q(t.height)}};return"static"!==t.position&&(o.position=n("position")),o}}])}(U);function q(e,t){if(d()(e))return e;if(!f()(e))return"‒";var n,o=(n=e,C()(n.replace("px","")));return isNaN(o)?e:"position"===t?o:0===o?"‒":o}!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,Y)},8988:function(e,t,n){n.d(t,{A:function(){return en}});var o=n(7528),r=n(7800);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);s=!0);}catch(u){c=!0,r=u}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}(e,t)||(0,r.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.")}()}var a=n(3029),l=n(2901),s=n(388),c=n(3954),u=n(991),d=n(5361),p=n(5902),f=n.n(p),h=n(2561),m=n.n(h),g=n(3249),v=n.n(g),y=n(1009),b=n.n(y),_=n(4950),w=n.n(_),k=n(9100),x=n.n(k),S=n(1580),C=n.n(S),E=n(9464),T=n.n(E),A=n(15),$=n.n(A),I=n(9931),M=n.n(I);function P(e){return e.constructor&&e.constructor.name?e.constructor.name:M()({}.toString.call(e).replace(/(\[object )|]/g,""))}var N=n(3915),O=n.n(N),R=n(9405),D=n.n(R),L=n(5169),B=n.n(L),V=n(9548),z=n.n(V),F=n(6097),H=n.n(F),j=n(6030),G=n.n(j),U=n(5004),W=n.n(U),Y=(n(9410),n(8609)),q=n.n(Y);function K(e){var t="luna-".concat(e,"-");function n(e){return O()(D()(e).split(/\s+/),(function(e){return v()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=z().parse(e);return Z(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),z().stringify(t)}catch(o){return n(e)}return n(e)}}function Z(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&Z(r.content,t)}}B();var X=K("console");function J(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.topObj,r=n.level,i=void 0===r?0:r,a=n.getterVal,l=void 0!==a&&a,s=n.unenumerable,c=void 0===s||s,u="",d="",p=[],h=[],g="";o=o||e;var y={getterVal:l,unenumerable:c,level:i+1},_=0===i,w='<span class="'.concat(X("key"),'">'),k='<span class="'.concat(X("number"),'">'),S='<span class="'.concat(X("null"),'">'),E='<span class="'.concat(X("string"),'">'),T='<span class="'.concat(X("boolean"),'">'),A='<span class="'.concat(X("special"),'">'),I=function(e){return f()(e).replace(/\\n/g,"↵").replace(/\\f|\\r|\\t/g,"").replace(/\\/g,"")},M="</span>";function N(e){return e=m()(e),v()(Q,e)||b()(e,"Array[")?A+I(e)+M:(e.length>100&&(e=$()(e,100,{separator:" ",ellipsis:"…"})),E+I('"'.concat(e,'"'))+M)}function O(n){if(t>5)g=", …";else{var r=(a=te(n),w+I(a)+M);if(!l){var i=Object.getOwnPropertyDescriptor(e,n);if(i&&i.get)return p.push("".concat(r,": ").concat(N("(...)"))),void t++}p.push("".concat(r,": ").concat(J(o[n],y))),t++}var a}try{d={}.toString.call(e)}catch(W){d="[object Object]"}var R,D="[object Array]"==d,L="[object Object]"==d,B="[object Number]"==d,V="[object RegExp]"==d,z="[object Symbol]"==d,F="[object Function]"==d,H="[object Boolean]"==d;if("[object String]"==d)u=N(te(e));else if(V)R=te(e.toString()),u=E+R+M;else if(F)u=N("ƒ");else if(D)if(_){u="[";var j=e.length,G="";j>100&&(j=100,G=", …");for(var U=0;U<j;U++)p.push("".concat(J(e[U],y)));u+=p.join(", ")+G+"]"}else u="Array(".concat(e.length,")");else if(L)ee(e)&&(e=Object.getPrototypeOf(e)),h=c?Object.getOwnPropertyNames(e):Object.keys(e),_?(t=1,u="{",x()(h,O),u+=p.join(", ")+g+"}"):"Object"===(u=P(e))&&(u="{…}");else if(B)u=e+"",u=C()(u,"Infinity")||"NaN"===u?'"'.concat(u,'"'):k+u+M;else if(H)u=T+(e?"true":"false")+M;else if(null===e)u=S+"null"+M;else if(z)u=N("Symbol");else if(void 0===e)u=N("undefined");else try{ee(e)&&(e=Object.getPrototypeOf(e)),_?(t=1,u="{",h=c?Object.getOwnPropertyNames(e):Object.keys(e),x()(h,O),u+=p.join(", ")+g+"}"):"Object"===(u=P(e))&&(u="{…}")}catch(Y){u=N(e)}return u}var Q=["(...)","undefined","Symbol","Object","ƒ"];function ee(e){var t=T()(Object.getOwnPropertyNames(e)),n=Object.getPrototypeOf(e);return t&&n&&n!==Object.prototype}function te(e){return w()(e).replace(/\\'/g,"'").replace(/\t/g,"\\t")}var ne,oe=n(3390),re=n(92),ie=n(5452),ae=n(4095),le=n.n(ae),se=n(9760),ce=n.n(se),ue=n(1738),de=n.n(ue),pe=n(2650),fe=n.n(pe),he=n(7696),me=n.n(he),ge=n(5651),ve=n.n(ge),ye=n(2708),be=n.n(ye),_e=n(6631),we=n.n(_e),ke=n(4069),xe=n.n(ke),Se=n(4236),Ce=n.n(Se),Ee=n(8971),Te=n.n(Ee),Ae=n(3957),$e=n.n(Ae),Ie=n(769),Me=n.n(Ie),Pe=n(6214),Ne=n.n(Pe),Oe=n(438),Re=n.n(Oe),De=n(8420),Le=n.n(De),Be=n(96),Ve=n.n(Be),ze=n(3145),Fe=n.n(ze),He=n(3693),je=n.n(He),Ge=n(5241),Ue=n.n(Ge),We=n(2263),Ye=n.n(We),qe=n(4534),Ke=n.n(qe),Ze=n(8032),Xe=n.n(Ze),Je=n(4844),Qe=n.n(Je),et=n(4801),tt=n.n(et),nt=n(9041),ot=n.n(nt),rt=n(8091),it=n.n(rt),at=n(4249),lt=n.n(at),st=n(2797),ct=n.n(st),ut=n(5773),dt=n.n(ut),pt=n(4433),ft=n.n(pt),ht=n(5630),mt=n.n(ht),gt=n(6493),vt=n.n(gt),yt=n(9350),bt=n.n(yt),_t=n(1976),wt=n.n(_t);function kt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(kt=function(){return!!e})()}var xt=/https?:\/\/([0-9.\-A-Za-z]+)(?::(\d+))?\/[A-Z.a-z0-9/]*\.js/g,St={comment:"",string:"",number:"",keyword:"",operator:""},Ct=function(e){function t(e,n){var o,r,i,l=n.type,u=void 0===l?"log":l,d=n.args,p=void 0===d?[]:d,f=n.id,h=n.group,m=n.targetGroup,g=n.header,v=n.ignoreFilter,y=void 0!==v&&v,b=n.accessGetter,_=n.unenumerable,w=n.lazyEvaluation;(0,a.A)(this,t),r=this,i=t,i=(0,c.A)(i),(o=(0,s.A)(r,kt()?Reflect.construct(i,[],(0,c.A)(r).constructor):i.apply(r,undefined))).container=Ue()("div"),o.count=1,o.width=0,o.height=0,o.isHidden=!1,o.columns=[],o.elements={},o.objects={},o.console=e,o.type=u,o.group=h,o.targetGroup=m,o.args=p,o.id=f,o.header=g,o.ignoreFilter=y,o.collapsed=!1,o.container.log=o,o.height=0,o.width=0,o.$container=je()(o.container),o.accessGetter=b,o.unenumerable=_,o.lazyEvaluation=w;var k="info";switch(u){case"debug":k="verbose";break;case"error":k="error";break;case"warn":k="warning"}return o.level=k,o.resizeSensor=new(le())(o.container),o.onResize=Ke()((function(){q()(o.container)?o.isHidden=!0:(o.isHidden||o.updateSize(!1),o.isHidden=!1)}),16),o.formatMsg(),o.group&&o.checkGroup(),o.bindEvent(),o}return(0,d.A)(t,e),(0,l.A)(t,[{key:"checkGroup",value:function(){for(var e=this.group,t=!1;e;){if(e.collapsed){t=!0;break}e=e.parent}return t!==this.collapsed&&(this.collapsed=t,!0)}},{key:"updateIcon",value:function(e){var t=this.console.c;return this.$container.find(t(".icon-container")).find(t(".icon")).rmAttr("class").addClass([t("icon"),t("icon-".concat(e))]),this}},{key:"addCount",value:function(){this.count++;var e=this.$container,t=this.count,n=this.console.c,o=e.find(n(".count-container")),r=e.find(n(".icon-container")),i=o.find(n(".count"));return 2===t&&o.rmClass(n("hidden")),i.text(m()(t)),r.addClass(n("hidden")),this}},{key:"groupEnd",value:function(){var e=this.$container,t=this.console.c;return e.find(".".concat(t("nesting-level"),":not(.").concat(t("group-closed"),")")).last().addClass(t("group-closed")),this}},{key:"updateTime",value:function(e){var t=this.$container.find(this.console.c(".time-container"));return this.header&&(t.find("span").eq(0).text(e),this.header.time=e),this}},{key:"isAttached",value:function(){return!!this.container.parentNode}},{key:"isSimple",value:function(){return!ct()(this.args,(function(e){return ce()(e)}))}},{key:"updateSize",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.container.getBoundingClientRect(),n=t.width,o=t.height-1;this.height!==o&&(this.height=o,e||this.emit("updateHeight")),this.width!==n&&(this.width=n)}},{key:"html",value:function(){return this.container.outerHTML}},{key:"text",value:function(){return this.content.textContent||""}},{key:"select",value:function(){this.$container.addClass(this.console.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.console.c("selected"))}},{key:"copy",value:function(){var e=this.args,t="";x()(e,(function(e,n){0!==n&&(t+=" "),ce()(e)?t+=Xe()(e):t+=m()(e)})),Qe()(t)}},{key:"bindEvent",value:function(){var e=this,t=this.console.c,n=this;this.resizeSensor.addListener(this.onResize),this.$container.on("click",t(".dom-viewer"),(function(e){return e.stopPropagation()})).on("click",t(".preview"),(function(e){e.stopPropagation();var o=je()(this).find(t(".preview-icon-container")).find(t(".icon")),r="caret-down";o.hasClass(t("icon-caret-down"))&&(r="caret-right"),o.rmAttr("class").addClass([t("icon"),t("icon-".concat(r))]),n.renderObjectViewer(this)})).on("click",(function(){return e.click()}))}},{key:"renderEl",value:function(){var e=this.elements,t=this.console.c,n=this;this.$container.find(t(".dom-viewer")).each((function(){var t=je()(this).data("id");new ie.A(this,{node:e[t],theme:n.console.getOption("theme")})}))}},{key:"renderObjectViewer",value:function(e){var t=this.console,n=this.unenumerable,o=this.accessGetter,r=this.lazyEvaluation,i=t.c,a=je()(e),l=a.data("id");if(l){var s=this.objects[l],c=a.find(i(".json"));if(c.hasClass(i("hidden"))){if("true"!==c.data("init")){if(r){var u=new oe.A(c.get(0),{unenumerable:n,accessGetter:o});u.setOption("theme",t.getOption("theme")),u.set(s)}else{var d=new oe.j(c.get(0));d.setOption("theme",t.getOption("theme")),d.set(s)}c.data("init","true")}c.rmClass(i("hidden"))}else c.addClass(i("hidden"))}}},{key:"renderTable",value:function(e){var t=this,n="__LunaConsoleValue",o=this.columns,r=this.$container,i=this.console,a=i.c,l=r.find(a(".data-grid")),s=e[0],c=new re.A(l.get(0),{columns:xe()([{id:"(index)",title:"(index)",sortable:!0}],O()(o,(function(e){return{id:e,title:e===n?"Value":e,sortable:!0}}))),theme:i.getOption("theme")});x()(s,(function(e,r){var i={"(index)":m()(r)};o.forEach((function(o){ce()(e)?i[o]=o===n?"":t.formatTableVal(e[o]):me()(e)&&(i[o]=o===n?t.formatTableVal(e):"")})),c.append(i)}))}},{key:"extractObj",value:function(e){var t,n,o,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,a=this.accessGetter,l=this.unenumerable;ve()(r,{accessGetter:a,unenumerable:l,symbol:l,timeout:1e3}),t=e,n=r,o=tt()(t,n),ot()((function(){return function(e){return i(JSON.parse(e))}(o)}))}},{key:"click",value:function(){var e=this.type,t=this.$container,n=this.console,o=n.c;switch(e){case"log":case"warn":case"info":case"debug":case"output":case"table":case"dir":break;case"group":case"groupCollapsed":n.toggleGroup(this);break;case"error":t.find(o(".stack")).toggleClass(o("hidden"))}}},{key:"formatMsg",value:function(){var e=this.args,t=this.type,n=this.id,o=this.header,r=this.group,i=this.console.c;e=Le()(e);var a,l,s="";switch("group"!==t&&"groupCollapsed"!==t||0===e.length&&(e=["console.group"]),t){case"log":case"info":case"debug":s=this.formatCommon(e);break;case"dir":s=this.formatDir(e);break;case"warn":a="warn",s=this.formatCommon(e);break;case"error":de()(e[0])&&1!==e.length&&(e=this.substituteStr(e)),l=e[0],a="error",l=fe()(l)?l:new Error(this.formatCommon(e)),s=this.formatErr(l);break;case"table":s=this.formatTable(e);break;case"html":s=e[0];break;case"input":s=this.formatJs(e[0]),a="input";break;case"output":s=this.formatCommon(e),a="output";break;case"groupCollapsed":s=this.formatCommon(e),a="caret-right";break;case"group":s=this.formatCommon(e),a="caret-down"}v()(["log","debug","warn"],t)&&this.isSimple()&&(s=it()(s,(function(e){return'<a href="'.concat(e,'" target="_blank">').concat(e,"</a>")}))),s=this.render({msg:s,type:t,icon:a,id:n,header:o,group:r}),this.$container.addClass("".concat(i("log-container"))).html(s),"table"===t&&(T()(this.columns)||this.renderTable(e)),T()(this.elements)||this.renderEl(),this.$content=this.$container.find(i(".log-content")),this.content=this.$content.get(0)}},{key:"render",value:function(e){var t=this.console.c,n="",r="";if(e.group)for(var i=e.group.indentLevel,a=0;a<i;a++)r+='<div class="'.concat(t("nesting-level"),'"></div>');e.header&&(n+=dt()(ne||(ne=(0,o.A)(['\n <div class="','">\n ','\n <div class="','">\n <span>',"</span> <span>","</span>\n </div>\n </div>"])),t("header"),r,t("time-from-container"),e.header.time,e.header.from));var l="";return e.icon&&(l='<div class="'.concat(t("icon-container"),'"><span class="').concat(t("icon icon-"+e.icon),'"></span></div>')),n+'\n <div class="'.concat(t(e.type+" log-item"),'">\n ').concat(r,"\n ").concat(l,'\n <div class="').concat(t("count-container hidden"),'">\n <div class="').concat(t("count"),'"></div>\n </div> \n <div class="').concat(t("log-content-wrapper"),'">\n <div class="').concat(t("log-content"),'">').concat(e.msg,"</div>\n </div>\n </div>")}},{key:"formatTable",value:function(e){var t=e[0],n=e[1],o=[];return de()(n)&&(n=Me()(n)),Ne()(n)||(n=null),ce()(t)?(x()(t,(function(e){me()(e)?o.push("__LunaConsoleValue"):ce()(e)&&(o=o.concat(Fe()(e)))})),(o=Re()(o)).sort(),n&&(o=o.filter((function(e){return v()(n,e)}))),o.length>20&&(o=o.slice(0,20)),T()(o)?this.formatCommon(e):(this.columns=o,this.console.c('<div class="data-grid"></div>')+this.formatPreview(t))):this.formatCommon(e)}},{key:"formatErr",value:function(e){var t=e.stack?e.stack.split("\n"):[],n=e.name?"".concat(e.name,": "):"";return n+="".concat(e.message||t[0],"<br/>"),t=t.map((function(e){return f()(e)})),n+'<div class="'.concat(this.console.c("stack hidden"),'">').concat(t.slice(1).join("<br/>"),"</div>").replace(xt,(function(e){return'<a href="'.concat(e,'" target="_blank">').concat(e,"</a>")}))}},{key:"formatCommon",value:function(e){var t=this.console.c,n=de()(e[0])&&1!==e.length;n&&(e=this.substituteStr(e));for(var o=0,r=e.length;o<r;o++){var i=e[o];be()(i)?e[o]=this.formatEl(i):$e()(i)?e[o]=this.formatFn(i):wt()(i)?e[o]='<span class="'.concat(t("regexp"),'">').concat(f()(m()(i)),"</span>"):ce()(i)?e[o]=this.formatPreview(i):Te()(i)?e[o]='<span class="'.concat(t("undefined"),'">undefined</span>'):Ce()(i)?e[o]='<span class="'.concat(t("null"),'">null</span>'):H()(i)?e[o]='<span class="'.concat(t("number"),'">').concat(m()(i),"</span>"):"bigint"==typeof i?e[o]='<span class="'.concat(t("number"),'">').concat(m()(i),"n</span>"):vt()(i)?e[o]='<span class="'.concat(t("boolean"),'">').concat(m()(i),"</span>"):bt()(i)?e[o]='<span class="'.concat(t("symbol"),'">').concat(f()(m()(i)),"</span>"):(i=m()(i),0===o&&n||(i=f()(i)),i.length>5e3&&(i=$()(i,5e3,{separator:" ",ellipsis:"…"})),e[o]=i)}return e.join(" ")}},{key:"formatDir",value:function(e){return ce()(e[0])?this.formatPreview(e[0]):this.formatCommon(e)}},{key:"formatTableVal",value:function(e){var t=this.console.c;return ce()(e)?"{…}":me()(e)?ft()('<div class="'.concat(t("preview"),'">').concat(J(e),"</div>")):m()(e)}},{key:"formatPreview",value:function(e){var t=this,n=this.console.c,o=mt()();this.lazyEvaluation?this.objects[o]=e:this.extractObj(e,{},(function(e){t.objects[o]=e}));var r=v()(["dir","table"],this.type),i=P(e);return"Array"===i&&e.length>1?(i="(".concat(e.length,")"),r&&(i="Array".concat(i))):"RegExp"===i?i=m()(e):be()(e)&&(i=this.formatElName(e)),'<div class="'.concat(n("preview"),'" data-id="').concat(o,'">')+'<div class="'.concat(n("preview-container"),'">')+'<div class="'.concat(n("preview-icon-container"),'"><span class="').concat(n("icon icon-caret-right"),'"></span></div>')+'<span class="'.concat(n("preview-content-container"),'">')+'<span class="'.concat(n("descriptor"),'">').concat(f()(i),"</span> ")+'<span class="'.concat(n("object-preview"),'">').concat(r?"":J(e,{getterVal:this.accessGetter,unenumerable:!1}),"</span>")+"</span></div>"+'<div class="'.concat(n("json hidden"),'"></div></div>')}},{key:"substituteStr",value:function(e){var t=f()(e[0]),n=!1,o="";e.shift();for(var r=0,i=t.length;r<i;r++){var a=t[r];if("%"===a&&0!==e.length){r++;var l=e.shift();switch(t[r]){case"i":case"d":o+=we()(l);break;case"f":o+=G()(l);break;case"s":o+=m()(l);break;case"O":ce()(l)?o+=this.formatPreview(l):o+=m()(l);break;case"o":be()(l)?o+=this.formatEl(l):ce()(l)?o+=this.formatPreview(l):o+=m()(l);break;case"c":if(t.length<=r+1)break;n&&(o+="</span>"),n=!0,o+='<span style="'.concat(Et(l),'">');break;default:r--,e.unshift(l),o+=a}}else o+=a}return n&&(o+="</span>"),e.unshift(o),e}},{key:"formatJs",value:function(e){return'<pre class="'.concat(this.console.c("code"),'">').concat(this.console.c(lt()(e,"js",St)),"</pre>")}},{key:"formatFn",value:function(e){return'<pre style="display:inline">'.concat(this.formatJs(e.toString()),"</pre>")}},{key:"formatElName",value:function(e){var t=e.id,n=e.className,o=e.tagName.toLowerCase();if(""!==t&&(o+="#".concat(t)),de()(n)){var r="";x()(n.split(/\s+/g),(function(e){""!==e.trim()&&(r+=".".concat(e))})),o+=r}return o}},{key:"formatEl",value:function(e){var t=mt()();return this.elements[t]=e,this.console.c('<div class="dom-viewer" data-id="'.concat(t,'"></div>'))}}])}(Ye());function Et(e){var t=(e=Ve()(e)).split(";"),n={};x()(t,(function(e){if(v()(e,":")){var t=i(e.split(":"),2),o=t[0],r=t[1];n[D()(o)]=D()(r)}})),n.display="inline-block",n["max-width"]="100%",delete n.width,delete n.height;var o="";return x()(n,(function(e,t){o+="".concat(t,":").concat(e,";")})),o}var Tt=n(5820),At=n.n(Tt),$t=n(3981),It=n.n($t),Mt=n(8105),Pt=n.n(Mt),Nt=n(7005),Ot=n.n(Nt),Rt=n(3497),Dt=n.n(Rt),Lt=n(5865),Bt=n.n(Lt),Vt=n(8862),zt=n.n(Vt),Ft=n(7030),Ht=n.n(Ft),jt=n(961),Gt=n.n(jt);function Ut(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ut=function(){return!!e})()}var Wt,Yt=function(e){function t(e,n){var o,r,i,l,u=n.compName,d=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,p=void 0===d?"light":d;return(0,a.A)(this,t),r=this,i=t,i=(0,c.A)(i),(o=(0,s.A)(r,Ut()?Reflect.construct(i,[],(0,c.A)(r).constructor):i.apply(r,undefined))).subComponents=[],o.compName=u,o.c=K(u),o.options={},o.container=e,o.$container=je()(e),o.$container.addClass(["luna-".concat(u),o.c("platform-".concat((l=W()(),"os x"===l?"mac":l)))]),o.on("optionChange",(function(e,t,n){var r=o.c;"theme"===e&&(o.$container.rmClass(r("theme-".concat(n))).addClass(r("theme-".concat(t))),x()(o.subComponents,(function(e){return e.setOption("theme",t)})))})),o.setOption("theme",p),o}return(0,d.A)(t,e),(0,l.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");x()(n.split(/\s+/),(function(n){b()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,x()(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){Gt()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){x()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ve()(e,t),Pt()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}}])}(Ye()),qt=n(2228),Kt=n.n(qt);function Zt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Zt=function(){return!!e})()}e=n.hmd(e);var Xt=navigator.userAgent,Jt=Xt.indexOf("Android")>-1||Xt.indexOf("Adr")>-1,Qt=0,en=function(e){function t(e){var n,o,r,i,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.A)(this,t),o=this,r=t,i=[e,{compName:"console"},l],r=(0,c.A)(r),(n=(0,s.A)(o,Zt()?Reflect.construct(r,i||[],(0,c.A)(o).constructor):r.apply(o,i))).spaceHeight=0,n.topSpaceHeight=0,n.bottomSpaceHeight=0,n.lastScrollTop=0,n.lastTimestamp=0,n.speedToleranceFactor=100,n.maxSpeedTolerance=2e3,n.minSpeedTolerance=100,n.logs=[],n.displayLogs=[],n.timer={},n.counter={},n.asyncList=[],n.asyncTimer=null,n.isAtBottom=!0,n.groupStack=new(Ot()),n.selectedLog=null,n.onScroll=function(){var e=n.container,t=e.scrollHeight,o=e.offsetHeight,r=e.scrollTop;if(!(r<=0||o+r>t)){var i=!1;(t===o||Math.abs(t-o-r)<1)&&(i=!0),n.isAtBottom=i;var a=n.lastScrollTop,l=n.lastTimestamp,s=It()(),c=s-l,u=r-a,d=Math.abs(u/c)*n.speedToleranceFactor;c>1e3&&(d=1e3),d>n.maxSpeedTolerance&&(d=n.maxSpeedTolerance),d<n.minSpeedTolerance&&(d=n.minSpeedTolerance),n.lastScrollTop=r,n.lastTimestamp=s;var p=0,f=0;a<r?(p=n.minSpeedTolerance,f=d):(p=d,f=n.minSpeedTolerance),n.topSpaceHeight<r-p&&n.topSpaceHeight+n.el.offsetHeight>r+o+f||n.renderViewport({topTolerance:2*p,bottomTolerance:2*f})}},n.initTpl(),n.initOptions(l,{maxNum:0,asyncRender:!0,showHeader:!1,filter:"",level:["verbose","info","warning","error"],accessGetter:!1,unenumerable:!0,lazyEvaluation:!0}),n.$el=n.find(".logs"),n.el=n.$el.get(0),n.$fakeEl=n.find(".fake-logs"),n.fakeEl=n.$fakeEl.get(0),n.$space=n.find(".logs-space"),n.space=n.$space.get(0),Jt&&(n.speedToleranceFactor=800,n.maxSpeedTolerance=3e3,n.minSpeedTolerance=800),n.resizeSensor=new(le())(e),n.renderViewport=Bt()((function(e){n._renderViewport(e)}),16),n.global={copy:function(e){de()(e)||(e=JSON.stringify(e,null,2)),Qe()(e)},$:function(e){return document.querySelector(e)},$$:function(e){return Me()(document.querySelectorAll(e))},$x:function(e){return zt()(e)},clear:function(){n.clear()},dir:function(e){n.dir(e)},table:function(e,t){n.table(e,t)},keys:Fe()},n.bindEvent(),n}return(0,d.A)(t,e),(0,l.A)(t,[{key:"setGlobal",value:function(e,t){this.global[e]=t}},{key:"destroy",value:function(){var e,n,o;this.$container.off("scroll",this.onScroll),this.resizeSensor.destroy(),(e=t,n=this,"function"==typeof(o=(0,u.A)((0,c.A)(e.prototype),"destroy",n))?function(e){return o.apply(n,e)}:o)([])}},{key:"count",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=this.counter;Te()(t[e])?t[e]=1:t[e]++,this.info("".concat(e,": ").concat(t[e]))}},{key:"countReset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";this.counter[e]=0}},{key:"assert",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T()(t)||t.shift()||(0===t.length&&t.unshift("console.assert"),t.unshift("Assertion failed: "),this.insert("error",t))}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T()(t)||this.insert("log",t)}},{key:"debug",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T()(t)||this.insert("debug",t)}},{key:"dir",value:function(e){Te()(e)||this.insert("dir",[e])}},{key:"table",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T()(t)||this.insert("table",t)}},{key:"time",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";if(this.timer[e])return this.insert("warn",["Timer '".concat(e,"' already exists")]);this.timer[e]=At()()}},{key:"timeLog",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=this.timer[e];if(!t)return this.insert("warn",["Timer '".concat(e,"' does not exist")]);this.info("".concat(e,": ").concat(At()()-t,"ms"))}},{key:"timeEnd",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";this.timeLog(e),delete this.timer[e]}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.logs=[],this.displayLogs=[],this.selectLog(null),this.lastLog=void 0,this.counter={},this.timer={},this.groupStack=new(Ot()),this.asyncList=[],this.asyncTimer&&(clearTimeout(this.asyncTimer),this.asyncTimer=null),e?this.render():this.insert("log",["%cConsole was cleared","color:#808080;font-style:italic;"])}},{key:"info",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T()(t)||this.insert("info",t)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T()(t)||this.insert("error",t)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];T()(t)||this.insert("warn",t)}},{key:"group",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.insert({type:"group",args:t,ignoreFilter:!0})}},{key:"groupCollapsed",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.insert({type:"groupCollapsed",args:t,ignoreFilter:!0})}},{key:"groupEnd",value:function(){this.insert("groupEnd")}},{key:"evaluate",value:function(e){this.insert({type:"input",args:[e],ignoreFilter:!0});try{this.output(this.evalJs(e))}catch(t){this.insert({type:"error",ignoreFilter:!0,args:[t]})}}},{key:"html",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.insert("html",t)}},{key:"toggleGroup",value:function(e){e.targetGroup.collapsed?this.openGroup(e):this.collapseGroup(e)}},{key:"output",value:function(e){this.insert({type:"output",args:[e],ignoreFilter:!0})}},{key:"render",value:function(){var e=this.logs,t=this.selectedLog;this.$el.html(""),this.isAtBottom=!0,this.updateBottomSpace(0),this.updateTopSpace(0),this.displayLogs=[];for(var n=0,o=e.length;n<o;n++)this.attachLog(e[n]);t&&(v()(this.displayLogs,t)||this.selectLog(null))}},{key:"insert",value:function(e,t){var n,o=this.options,r=o.showHeader,i=o.asyncRender;if(r&&(n={time:tn(),from:nn()}),i)return this.insertAsync(e,t,n);this.insertSync(e,t,n)}},{key:"insertAsync",value:function(e,t,n){this.asyncList.push([e,t,n]),this.handleAsyncList()}},{key:"insertSync",value:function(e,t,n){var o,r=this,i=this.logs,a=this.groupStack,l=this.options,s=l.maxNum,c=l.accessGetter,u=l.unenumerable,d=l.lazyEvaluation;if("groupEnd"===(o=de()(e)?{type:e,args:t,header:n}:e).type)return this.lastLog.groupEnd(),void this.groupStack.pop();if(a.size>0&&(o.group=a.peek()),Pt()(o,{id:++Qt,accessGetter:c,unenumerable:u,lazyEvaluation:d}),"group"===o.type||"groupCollapsed"===o.type){var p={id:mt()("group"),collapsed:!1,parent:a.peek(),indentLevel:a.size+1};"groupCollapsed"===o.type&&(p.collapsed=!0),o.targetGroup=p,a.push(p)}var f=new Ct(this,o);f.on("updateHeight",(function(){r.isAtBottom=!1,r.renderViewport()}));var h=this.lastLog;if(h&&!v()(["html","group","groupCollapsed"],f.type)&&h.type===f.type&&f.isSimple()&&h.text()===f.text()?(h.addCount(),f.header&&h.updateTime(f.header.time),f=h,this.detachLog(h)):(i.push(f),this.lastLog=f),0!==s&&i.length>s){var m=i[0];this.detachLog(m),i.shift()}this.attachLog(f),this.emit("insert",f)}},{key:"updateTopSpace",value:function(e){this.topSpaceHeight=e,this.el.style.top=e+"px"}},{key:"updateBottomSpace",value:function(e){this.bottomSpaceHeight=e}},{key:"updateSpace",value:function(e){this.spaceHeight!==e&&(this.spaceHeight=e,this.space.style.height=e+"px")}},{key:"detachLog",value:function(e){var t=this.displayLogs,n=t.indexOf(e);n>-1&&(t.splice(n,1),this.renderViewport())}},{key:"attachLog",value:function(e){if(this.filterLog(e)&&!e.collapsed){var t=this.displayLogs;if(0===t.length)return t.push(e),void this.renderViewport();var n=Dt()(t);if(e.id>n.id)return t.push(e),void this.renderViewport();for(var o,r=0,i=t.length-1,a=0;r<=i;){if((o=t[a=r+Math.floor((i-r)/2)]).id===e.id)return;o.id<e.id?r=a+1:i=a-1}o.id<e.id?t.splice(a+1,0,e):t.splice(a,0,e),this.renderViewport()}}},{key:"handleAsyncList",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20,n=this.asyncList;this.asyncTimer||(this.asyncTimer=setTimeout((function(){e.asyncTimer=null;var t,o,r=!1,a=n.length;a<1e3?(o=200,t=400):a<5e3?(o=500,t=800):a<1e4?(o=800,t=1e3):a<25e3?(o=1e3,t=1200):a<5e4?(o=1500,t=1500):(o=2e3,t=2500),o>a&&(o=a,r=!0);for(var l=0;l<o;l++){var s=i(n.shift(),3),c=s[0],u=s[1],d=s[2];e.insertSync(c,u,d)}r||Kt()((function(){return e.handleAsyncList(t)}))}),t))}},{key:"injectGlobal",value:function(){x()(this.global,(function(e,t){window[t]||(window[t]=e)}))}},{key:"clearGlobal",value:function(){x()(this.global,(function(e,t){window[t]&&window[t]===e&&delete window[t]}))}},{key:"evalJs",value:function(e){var t;this.injectGlobal();try{t=eval.call(window,"(".concat(e,")"))}catch(n){t=eval.call(window,e)}return this.setGlobal("$_",t),this.clearGlobal(),t}},{key:"filterLog",value:function(e){var t=this.options.level,n=this.options.filter;if(e.ignoreFilter)return!0;if(!v()(t,e.level))return!1;if(n){if($e()(n))return n(e);if(wt()(n))return n.test(Ve()(e.text()));if(de()(n)&&(n=D()(n)))return v()(Ve()(e.text()),Ve()(n))}return!0}},{key:"collapseGroup",value:function(e){e.targetGroup.collapsed=!0,e.updateIcon("caret-right"),this.updateGroup(e)}},{key:"openGroup",value:function(e){e.targetGroup.collapsed=!1,e.updateIcon("caret-down"),this.updateGroup(e)}},{key:"updateGroup",value:function(e){for(var t=e.targetGroup,n=this.logs,o=n.length,r=n.indexOf(e)+1;r<o;){var i=n[r];if(!i.checkGroup()&&i.group===t)break;i.collapsed?this.detachLog(i):this.attachLog(i),r++}}},{key:"selectLog",value:function(e){var t;this.selectedLog&&(this.selectedLog.deselect(),this.selectedLog=null),Ce()(e)?this.emit("deselect"):(this.selectedLog=e,null===(t=this.selectedLog)||void 0===t||t.select(),this.emit("select",e))}},{key:"bindEvent",value:function(){var e=this,t=this.$el,n=this.c;this.resizeSensor.addListener(this.renderViewport);var o=this;t.on("click",n(".log-container"),(function(){o.selectLog(this.log)})),this.on("optionChange",(function(t,n){var o=e.logs;switch(t){case"maxNum":n>0&&o.length>n&&(e.logs=o.slice(o.length-n),e.render());break;case"filter":e.render();break;case"level":e.options.level=Me()(n),e.render()}})),this.$container.on("scroll",this.onScroll)}},{key:"_renderViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.topTolerance,n=void 0===t?500:t,o=e.bottomTolerance,r=void 0===o?500:o,i=this.el,a=this.container,l=this.space;if(!q()(a)){for(var s=a.scrollTop,c=a.offsetHeight,u=l.getBoundingClientRect().width,d=s-n,p=s+c+r,f=this.displayLogs,h=0,m=0,g=0,v=f.length,y=this.fakeEl,b=document.createDocumentFragment(),_=[],w=0;w<v;w++){var k=f[w],x=k.width;0!==k.height&&x===u||(b.appendChild(k.container),_.push(k))}if(_.length>0){y.appendChild(b);for(var S=0,C=_.length;S<C;S++)_[S].updateSize();y.textContent=""}for(var E=document.createDocumentFragment(),T=0;T<v;T++){var A=f[T],$=A.container,I=A.height;g>p?m+=I:g+I>d?E.appendChild($):g<d&&(h+=I),g+=I}for(this.updateSpace(g),this.updateTopSpace(h),this.updateBottomSpace(m);i.firstChild;)i.lastChild&&i.removeChild(i.lastChild);i.appendChild(E);var M=a.scrollHeight;this.isAtBottom&&s<=M-c&&(a.scrollTop=1e7)}}},{key:"initTpl",value:function(){this.$container.html(this.c(dt()(Wt||(Wt=(0,o.A)(['\n <div class="logs-space">\n <div class="fake-logs"></div>\n <div class="logs"></div>\n </div>\n '])))))}}])}(Yt),tn=function(){return Ht()("HH:MM:ss ")};function nn(){for(var e=new Error,t="",n=e.stack?e.stack.split("\n"):"",o=0,r=n.length;o<r;o++)if((t=n[o]).indexOf("winConsole")>-1&&o<r-1){t=n[o+1];break}return t}!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,en)},92:function(e,t,n){n.d(t,{A:function(){return $e}});var o=n(7528),r=n(3029),i=n(2901),a=n(388),l=n(3954),s=n(991),c=n(5361),u=n(3693),d=n.n(u),p=n(5773),f=n.n(p),h=n(2263),m=n.n(h),g=n(3915),v=n.n(g),y=n(9405),b=n.n(y),_=n(5169),w=n.n(_),k=n(9548),x=n.n(k),S=(n(6097),n(3249)),C=n.n(S),E=n(6030),T=n.n(E),A=n(5004),$=n.n(A);function I(e){var t="luna-".concat(e,"-");function n(e){return v()(b()(e).split(/\s+/),(function(e){return C()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=x().parse(e);return M(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),x().stringify(t)}catch(o){return n(e)}return n(e)}}function M(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&M(r.content,t)}}function P(e,t){var n="clientX";return t[n]?t[n]:t.changedTouches?t.changedTouches[0][n]:0}function N(e){return T()(e.replace("px",""))}n(9410),n(8609),w();var O=n(9100),R=n.n(O),D=n(8105),L=n.n(D),B=n(5651),V=n.n(B),z=n(961),F=n.n(z),H=n(7e3),j=n.n(H),G=n(1009),U=n.n(G);function W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(W=function(){return!!e})()}var Y,q=function(e){function t(e,n){var o,i,s,c,u=n.compName,p=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,f=void 0===p?"light":p;return(0,r.A)(this,t),s=this,c=t,c=(0,l.A)(c),(o=(0,a.A)(s,W()?Reflect.construct(c,[],(0,l.A)(s).constructor):c.apply(s,void 0))).subComponents=[],o.theme="",o.onThemeChange=function(e){"auto"===o.options.theme&&o.setTheme(e)},o.compName=u,o.c=I(u),o.options={},o.container=e,o.$container=d()(e),o.$container.addClass(["luna-".concat(u),o.c("platform-".concat((i=$()(),"os x"===i?"mac":i)))]),o.on("optionChange",(function(e,t){if("theme"===e){var n=t;"auto"===t&&(n=j().get()),o.setTheme(n),R()(o.subComponents,(function(e){return e.setOption("theme",t)}))}})),j().on("change",o.onThemeChange),o.setOption("theme",f),o}return(0,c.A)(t,e),(0,i.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");R()(n.split(/\s+/),(function(n){U()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners(),j().off("change",this.onThemeChange)}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,R()(r,(function(e,t){var r=o[t];o[t]=e,e!==r&&n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){F()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){R()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};V()(e,t),L()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}},{key:"setTheme",value:function(e){var t=this.c,n=this.$container;this.theme&&n.rmClass(t("theme-".concat(this.theme))),n.addClass(t("theme-".concat(e))),this.theme=e}}])}(m()),K=n(5902),Z=n.n(K),X=n(5241),J=n.n(X),Q=n(2561),ee=n.n(Q),te=n(2708),ne=n.n(te),oe=n(8971),re=n.n(oe),ie=n(4095),ae=n.n(ie),le=n(5865),se=n.n(le),ce=n(4236),ue=n.n(ce),de=n(3957),pe=n.n(de),fe=n(1976),he=n.n(fe),me=n(1738),ge=n.n(me),ve=n(96),ye=n.n(ve),be=n(6026),_e=n.n(be),we=n(3539),ke=n.n(we),xe=n(8785),Se=n.n(xe),Ce=n(5546),Ee=n.n(Ce);function Te(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Te=function(){return!!e})()}e=n.hmd(e);var Ae=d()(document),$e=function(e){function t(e,n){var o,i,s,c;(0,r.A)(this,t),i=this,s=t,c=[e,{compName:"data-grid"},n],s=(0,l.A)(s),(o=(0,a.A)(i,Te()?Reflect.construct(s,c||[],(0,l.A)(i).constructor):s.apply(i,c))).resizeIdx=0,o.resizeStartX=0,o.resizeStartLeft=0,o.resizeDeltaX=0,o.nodes=[],o.colWidthsInitialized=!1,o.colMap={},o.selectedNode=null,o.isAscending=!0,o.colWidths=[],o.onResizeColMove=function(e){var t=o,n=t.resizeIdx,r=t.$resizers,i=t.colWidths,a=t.$colgroup,l=P(0,e=e.origEvent)-o.resizeStartX,s=i[n],c=i[n+1],u=Se()(24-s,0),p=ke()(c-24,0);l=_e()(l,u,p),a.each((function(){var e=d()(this).find("col");e.eq(n).css("width",s+l+"px"),e.eq(n+1).css("width",c-l+"px")})),o.resizeDeltaX=l;var f=o.resizeStartLeft+l;r.eq(n).css("left","".concat(f,"px"))},o.onResizeColEnd=function(e){o.onResizeColMove(e);var t=o,n=t.c,r=t.colWidths,i=t.resizeIdx,a=t.resizeDeltaX,l=o.options.columns,s=l[i],c=l[i+1],u=r[i]+a,p=u+(r[i+1]-a),f=s.weight+c.weight,h=f*(u/p),m=f-h;s.weight=h,c.weight=m,o.applyColWeights(),d()(document.body).rmClass(n("resizing")),Ae.off(Ee()("move"),o.onResizeColMove),Ae.off(Ee()("up"),o.onResizeColEnd)},o.$container.attr("tabindex","0"),o.resizeSensor=new(ae())(e),o.onResize=se()((function(){o.updateHeight(),o.updateWeights()}),16),n.height&&(n.maxHeight=n.height,n.minHeight=n.height),o.initOptions(n,{minHeight:41,maxHeight:1/0,filter:""});var u=o.options,p=u.columns,f=u.minHeight,h=u.maxHeight;return R()(p,(function(e){V()(e,{sortable:!1}),o.colMap[e.id]=e})),h<f&&o.setOption("maxHeight",f),o.initTpl(),o.$headerRow=o.find(".header").find("tr"),o.$fillerRow=o.find(".filler-row"),o.fillerRow=o.$fillerRow.get(0),o.$tableBody=o.find(".data").find("tbody"),o.tableBody=o.$tableBody.get(0),o.$colgroup=o.$container.find("colgroup"),o.$dataContainer=o.find(".data-container"),o.renderHeader(),o.renderResizers(),o.updateWeights(),o.updateHeight(),o.bindEvent(),o}return(0,c.A)(t,e),(0,i.A)(t,[{key:"destroy",value:function(){var e,n,o;(e=t,n=this,"function"==typeof(o=(0,s.A)((0,l.A)(e.prototype),"destroy",n))?function(e){return o.apply(n,e)}:o)([]),this.resizeSensor.destroy(),this.$container.rmAttr("tabindex")}},{key:"remove",value:function(e){var t=this.nodes,n=t.indexOf(e);n>-1&&(e.detach(),t.splice(n,1),e===this.selectedNode&&this.selectNode(t[n]||t[n-1]||null),this.updateHeight())}},{key:"append",value:function(e,t){var n=new Ie(this,e,t);return this.nodes.push(n),this.sortId?this.sortNodes(this.sortId,this.isAscending):this.filterNode(n)&&(this.tableBody.insertBefore(n.container,this.fillerRow),this.updateHeight()),n}},{key:"clear",value:function(){R()(this.nodes,(function(e){return e.detach()})),this.nodes=[],this.selectNode(null),this.updateHeight()}},{key:"updateHeight",value:function(){var e=this.$fillerRow,t=this.c,n=this.$container,o=this.options,r=o.maxHeight,i=o.minHeight;this.$dataContainer.css({height:"auto"});var a=this.$headerRow.offset().height+N(n.css("border-top-width"))+N(n.css("border-bottom-width"));(i-=a)<0&&(i=0),r-=a;var l=this.$dataContainer.find(t(".node")),s=l.length,c=0;s>0&&(c=l.offset().height*s),c>i?e.hide():e.show(),c<i?c=i:c>=r&&(c=r),this.$dataContainer.css({height:c})}},{key:"selectNode",value:function(e){var t;(ue()(e)||null!=e&&e.selectable)&&(this.selectedNode&&(this.selectedNode.deselect(),this.selectedNode=null),ue()(e)?this.emit("deselect"):(this.selectedNode=e,null===(t=this.selectedNode)||void 0===t||t.select(),this.emit("select",e)))}},{key:"onResizeColStart",value:function(e){var t=this.c,n=this.resizeIdx,o=this.$resizers;e.stopPropagation(),e.preventDefault(),e=e.origEvent,this.resizeStartX=P(0,e),this.resizeStartLeft=N(o.eq(n).css("left")),d()(document.body).addClass(t("resizing")),Ae.on(Ee()("move"),this.onResizeColMove),Ae.on(Ee()("up"),this.onResizeColEnd)}},{key:"bindEvent",value:function(){var e=this,t=this.c,n=this.$headerRow,o=this.$tableBody,r=this.$resizers;this.resizeSensor.addListener(this.onResize);var i=this;o.on("click",t(".node"),(function(){i.selectNode(this.dataGridNode)})),n.on("click",t(".sortable"),(function(e){e.stopPropagation();var o=d()(this),r=o.data("id"),a="descending"!==o.data("order");o.data("order",a?"descending":"ascending"),n.find(t(".icon-caret-up")).hide(),n.find(t(".icon-caret-down")).hide();var l=o.find(t(".icon-caret-up")),s=o.find(t(".icon-caret-down"));a?l.show():s.show(),i.sortNodes(r,a),n.find("th").each((function(){var e=d()(this);e.data("id")!==r&&e.rmAttr("data-order")}))})),r.on(Ee()("down"),(function(e){var t=d()(this);i.resizeIdx=T()(t.data("idx")),i.onResizeColStart(e)})),this.on("optionChange",(function(t){switch(t){case"minHeight":case"maxHeight":e.updateHeight();break;case"filter":e.renderData()}}))}},{key:"sortNodes",value:function(e,t){var n=this.colMap[e].comparator||Me;this.nodes.sort((function(o,r){var i=o.data[e],a=r.data[e];return ne()(i)&&(i=i.innerText),ne()(a)&&(a=a.innerText),t?n(i,a):n(a,i)})),this.renderData(),this.sortId=e,this.isAscending=t}},{key:"updateWeights",value:function(){var e=this.container,t=this.$headerRow,n=this.options.columns,o=e.offsetWidth;if(!this.colWidthsInitialized&&o){for(var r=0,i=n.length;r<i;r++){var a=n[r];if(!a.weight){var l=t.find("th").get(r).offsetWidth;a.weight=100*l/o}}this.colWidthsInitialized=!0}this.applyColWeights()}},{key:"applyColWeights",value:function(){var e=this.container,t=this.$colgroup,n=this.options.columns,o=e.offsetWidth;if(!(o<=0)){for(var r=0,i=n.length,a=0;a<i;a++)r+=n[a].weight;var l="",s=0,c=0;this.colWidths=[];for(var u=0;u<i;u++){var d=(s+=n[u].weight)*o/r|0,p=Math.max(d-c,14);c=d,l+='<col style="width:'.concat(p,'px"></col>'),this.colWidths[u]=p}t.html(l),this.positionResizers()}}},{key:"positionResizers",value:function(){for(var e=this.colWidths,t=[],n=e.length-1,o=0;o<n;o++)t[o]=(t[o-1]||0)+e[o];for(var r=0;r<n;r++)this.$resizers.eq(r).css("left",t[r]+"px")}},{key:"renderData",value:function(){var e=this,t=this.tableBody,n=this.nodes,o=this.fillerRow;R()(n,(function(e){return e.detach()})),R()(n,(function(n){e.filterNode(n)&&t.insertBefore(n.container,o)})),this.selectedNode&&!this.filterNode(this.selectedNode)&&this.selectNode(null),this.updateHeight()}},{key:"filterNode",value:function(e){var t=this.options.filter;if(t){if(pe()(t))return t(e);if(he()(t))return t.test(e.text());if(ge()(t)&&(t=b()(t)))return C()(ye()(e.text()),ye()(t))}return!0}},{key:"renderHeader",value:function(){var e=this.c,t="",n="";R()(this.options.columns,(function(o){var r=Z()(o.title);o.sortable?t+=e('\n <th class="sortable" data-id="'.concat(o.id,'">\n ').concat(r,'\n <span class="icon-caret-up"></span>\n <span class="icon-caret-down"></span>\n </th>')):t+="<th>".concat(r,"</th>"),n+="<td></td>"})),this.$headerRow.html(t),this.$fillerRow.html(n)}},{key:"renderResizers",value:function(){for(var e="",t=this.options.columns.length-1,n=0;n<t;n++)e+=this.c('<div class="resizer" data-idx="'.concat(n,'"></div>'));this.$container.append(e),this.$resizers=this.find(".resizer")}},{key:"initTpl",value:function(){this.$container.html(this.c(f()(Y||(Y=(0,o.A)(['\n <div class="header-container">\n <table class="header">\n <colgroup></colgroup>\n <tbody>\n <tr></tr>\n </tbody>\n </table>\n </div>\n <div class="data-container">\n <table class="data">\n <colgroup></colgroup>\n <tbody>\n <tr class="filler-row"></tr>\n </tbody>\n </table>\n </div>\n '])))))}}])}(q),Ie=(0,i.A)((function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{selectable:!1};(0,r.A)(this,e),this.container=J()("tr"),this.selectable=!1,this.container.dataGridNode=this,this.$container=d()(this.container),this.$container.addClass(t.c("node")),this.dataGrid=t,this.data=n,o.selectable&&(this.selectable=o.selectable),this.render()}),[{key:"text",value:function(){return this.$container.text()}},{key:"detach",value:function(){this.$container.remove()}},{key:"select",value:function(){this.$container.addClass(this.dataGrid.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.dataGrid.c("selected"))}},{key:"render",value:function(){var e=this.data,t=this.$container,n=this.container,o=this.dataGrid.getOption("columns");t.html(""),R()(o,(function(t){var o=J()("td"),r=e[t.id];re()(r)||(ne()(r)?o.appendChild(r):o.innerText=ee()(r)),n.appendChild(o)}))}}]);function Me(e,t){if(e=ee()(e),t=ee()(t),U()(e,"_")&&!U()(t,"_"))return 1;if(U()(t,"_")&&!U()(e,"_"))return-1;for(var n,o,r,i,a=/^\d+|^\D+/;;){if(!e)return t?-1:0;if(!t)return 1;if(n=e.match(a)[0],o=t.match(a)[0],r=!isNaN(n),i=!isNaN(o),r&&!i)return-1;if(i&&!r)return 1;if(r&&i){var l=n-o;if(l)return l;if(n.length!==o.length)return+n||+o?o.length-n.length:n.length-o.length}else if(n!==o)return n<o?-1:1;e=e.substring(n.length),t=t.substring(o.length)}}!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,$e)},5452:function(e,t,n){n.d(t,{A:function(){return ge}});var o=n(7528),r=n(4467),i=n(3029),a=n(2901),l=n(388),s=n(3954),c=n(5361),u=n(2263),d=n.n(u),p=n(3693),f=n.n(p),h=n(3915),m=n.n(h),g=n(9405),v=n.n(g),y=n(5169),b=n.n(y),_=n(9548),w=n.n(_),k=(n(6097),n(3249)),x=n.n(k),S=(n(6030),n(5004)),C=n.n(S);function E(e){var t="luna-".concat(e,"-");function n(e){return m()(v()(e).split(/\s+/),(function(e){return x()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=w().parse(e);return T(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),w().stringify(t)}catch(o){return n(e)}return n(e)}}function T(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&T(r.content,t)}}n(9410),n(8609);var A="ontouchstart"in b();function $(){var e=C()();return"os x"===e?"mac":e}var I=n(9100),M=n.n(I),P=n(8105),N=n.n(P),O=n(5651),R=n.n(O),D=n(961),L=n.n(D),B=n(1009),V=n.n(B);function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(z=function(){return!!e})()}var F,H,j=function(e){function t(e,n){var o,r,a,c=n.compName,u=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,d=void 0===u?"light":u;return(0,i.A)(this,t),r=this,a=t,a=(0,s.A)(a),(o=(0,l.A)(r,z()?Reflect.construct(a,[],(0,s.A)(r).constructor):a.apply(r,undefined))).subComponents=[],o.compName=c,o.c=E(c),o.options={},o.container=e,o.$container=f()(e),o.$container.addClass(["luna-".concat(c),o.c("platform-".concat($()))]),o.on("optionChange",(function(e,t,n){var r=o.c;"theme"===e&&(o.$container.rmClass(r("theme-".concat(n))).addClass(r("theme-".concat(t))),M()(o.subComponents,(function(e){return e.setOption("theme",t)})))})),o.setOption("theme",d),o}return(0,c.A)(t,e),(0,a.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");M()(n.split(/\s+/),(function(n){V()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,M()(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){L()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){M()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};R()(e,t),N()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}}])}(d()),G=n(5241),U=n.n(G),W=n(2571),Y=n.n(W),q=n(5773),K=n.n(q),Z=n(769),X=n.n(Z),J=n(2208),Q=n.n(J),ee=n(4249),te=n.n(ee),ne=n(15),oe=n.n(ne),re=n(3497),ie=n.n(re),ae=n(5902),le=n.n(ae),se=n(8098),ce=n.n(se),ue=n(4307),de=n.n(ue);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(he=function(){return!!e})()}e=n.hmd(e);var me={comment:"",string:"",number:"",keyword:"",operator:""},ge=function(e){function t(e){var n,o,r,a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.A)(this,t),o=this,r=t,a=[e,{compName:"dom-viewer"},c],r=(0,s.A)(r),(n=(0,l.A)(o,he()?Reflect.construct(r,a||[],(0,s.A)(o).constructor):r.apply(o,a))).isExpanded=!1,n.childNodes=[],n.childNodeDomViewers=[],n.expand=function(){n.isExpandable()&&!n.isExpanded&&(n.isExpanded=!0,n.renderExpandTag(),n.renderChildNodes())},n.collapse=function(){n.isExpandable()&&n.isExpanded&&(n.isExpanded=!1,n.renderCollapseTag())},n.toggle=function(){n.isExpanded?n.collapse():n.expand()},n.onKeyRight=function(){n.isExpanded?n.childNodeDomViewers[0].select():n.expand()},n.onKeyLeft=function(){var e;n.isExpanded?n.collapse():null===(e=n.options.parent)||void 0===e||e.select()},n.onKeyDown=function(){var e=n.options;if(n.isExpanded)n.childNodeDomViewers[0].select();else{var t=e.parent;if(t)if(e.isEndTag){if(!(t=t.getOption("parent")))return;var o=t,r=o.childNodes,i=o.childNodeDomViewers,a=o.endTagDomViewer,l=r.indexOf(e.node);r[l+1]?i[l+1].select():a&&a.select()}else{var s=t,c=s.childNodeDomViewers,u=s.endTagDomViewer,d=c.indexOf(n);c[d+1]?c[d+1].select():u&&u.select()}}},n.onKeyUp=function(){var e=n.options,t=e.parent;if(t){var o,r;if(e.isEndTag)o=ie()(t.childNodeDomViewers);else{var i=t.childNodeDomViewers.indexOf(n);i<1?t.select():o=t.childNodeDomViewers[i-1]}o&&(o.isExpanded?null===(r=o.endTagDomViewer)||void 0===r||r.select():o.select())}},n.initOptions(c,{node:document.documentElement,parent:null,isEndTag:!1,rootContainer:e,rootDomViewer:n,ignore:function(){return!1},hotkey:!0}),n.isShadowRoot=be(n.options.node),n.initTpl(),n.bindEvent(),n.options.isEndTag||n.initObserver(),n}return(0,c.A)(t,e),(0,a.A)(t,[{key:"select",value:function(e){var t=this.c,n=this.options;if(!e||e&&n.node===e){if(this.$tag.hasClass(t("selected")))return;return f()(this.options.rootContainer).find(t(".selected")).rmClass(t("selected")).rmAttr("tabindex"),this.$tag.attr("tabindex","0").get(0).focus(),this.$tag.addClass(t("selected")),void n.rootDomViewer.emit("select",n.node)}if(e.nodeType===Node.ELEMENT_NODE)for(var o=e,r=e.parentElement;r;){if(r===n.node){this.expand(),this.childNodeDomViewers[this.childNodes.indexOf(o)].select(e);break}o=r,r=r.parentElement}}},{key:"attach",value:function(){this.container.appendChild(this.$tag.get(0)),this.$children&&this.container.appendChild(this.$children.get(0))}},{key:"isAttached",value:function(){return!!this.$tag.get(0).parentNode}},{key:"detach",value:function(){this.$tag.remove(),this.$children&&this.$children.remove()}},{key:"destroy",value:function(){var e=this.c;this.$tag.hasClass(e("selected"))&&this.options.rootDomViewer.emit("deselect"),this.detach(),this.observer&&this.observer.disconnect(),this.destroySubComponents(),this.options.rootDomViewer===this&&this.$container.rmClass("luna-dom-viewer").rmClass(e("platform-".concat($()))).rmClass(e("theme-".concat(this.options.theme))),this.emit("destroy"),this.removeAllListeners()}},{key:"renderExpandTag",value:function(){var e=this.$tag,t=this.c,n=this.options.node;this.isShadowRoot||e.html(this.renderHtmlTag(fe(fe({},ve(n)),{},{hasTail:!1,hasToggleButton:!0}))),e.addClass(t("expanded")),this.$children.rmClass(t("hidden"))}},{key:"renderCollapseTag",value:function(){var e=this.$tag,t=this.c,n=this.options.node;this.$children.addClass(t("hidden")),this.isShadowRoot||this.$tag.html(this.renderHtmlTag(fe(fe({},ve(n)),{},{hasTail:!0,hasToggleButton:!0}))),e.rmClass(t("expanded"))}},{key:"initObserver",value:function(){var e=this;this.observer=new(Q())((function(t){M()(t,(function(t){e.handleMutation(t)}))})),this.observer.observe(this.options.node,{attributes:!0,childList:!0,characterData:!0})}},{key:"handleMutation",value:function(e){var t=this.$tag,n=this.c,o=this.options,r=o.node,i=o.ignore;if(x()(["attributes","childList"],e.type)){if("childList"===e.type){if(ce()(e.addedNodes,i)&&ce()(e.removedNodes,i))return;this.renderChildNodes()}this.isExpandable()?this.isExpanded?this.renderExpandTag():this.renderCollapseTag():(this.$children.addClass(n("hidden")),this.isExpanded=!1,this.isShadowRoot?t.html(this.renderShadowRoot(!1)):t.html(this.renderHtmlTag(fe(fe({},ve(r)),{},{hasTail:!1}))))}else"characterData"===e.type&&(r.nodeType===Node.TEXT_NODE?t.html(this.renderTextNode(r)):r.nodeType===Node.COMMENT_NODE&&t.html(this.renderHtmlComment(r.nodeValue)))}},{key:"bindEvent",value:function(){var e=this,t=this.c,n=this.$tag;if((this.options.node.nodeType===Node.ELEMENT_NODE||this.isShadowRoot)&&n.on("click",t(".toggle"),(function(t){t.stopPropagation(),e.toggle()})),A?n.on("click",(function(){return e.select()})):n.on("mousedown",(function(){return e.select()})),this.options.hotkey){var o={element:n.get(0)};de().on("right",o,this.onKeyRight),de().on("left",o,this.onKeyLeft),de().on("down",o,this.onKeyDown),de().on("up",o,this.onKeyUp)}}},{key:"isExpandable",value:function(){return!(this.options.node.nodeType!==Node.ELEMENT_NODE&&!this.isShadowRoot)&&this.getChildNodes().length>0}},{key:"getChildNodes",value:function(){var e=this.options,t=e.rootContainer,n=e.ignore,o=this.options.node,r=X()(o.childNodes);return r=Y()(r,(function(e){if(e.nodeType===Node.TEXT_NODE||e.nodeType===Node.COMMENT_NODE){var o=e.nodeValue;if(""===v()(o))return!1}return e!==t&&!n(e)})),o.shadowRoot?r.unshift(o.shadowRoot):o.chobitsuShadowRoot&&r.unshift(o.chobitsuShadowRoot),r}},{key:"initTpl",value:function(){var e=this.container,t=this.c,n=this.options,o=n.node,r=n.isEndTag,i=f()(U()("li"));if(i.addClass(t("tree-item")),this.$tag=i,r)i.html(t('<span class="html-tag" style="margin-left: -15px;"><<span class="tag-name">/'.concat(o.tagName.toLocaleLowerCase(),'</span>></span><span class="selection"></span>')));else if(o.nodeType===Node.ELEMENT_NODE){var a=this.isExpandable(),l=fe(fe({},ve(o)),{},{hasTail:a,hasToggleButton:a});i.html(this.renderHtmlTag(l))}else if(be(o)){var s=this.isExpandable();i.html(this.renderShadowRoot(s))}else if(o.nodeType===Node.TEXT_NODE)i.html(this.renderTextNode(o));else{if(o.nodeType!==Node.COMMENT_NODE)return;var c=o.nodeValue;if(""===c.trim())return;i.html(this.renderHtmlComment(c))}if(e.appendChild(i.get(0)),o.nodeType===o.ELEMENT_NODE||this.isShadowRoot){var u=f()(U()("ul"));u.addClass([t("children"),t("hidden")]),e.appendChild(u.get(0)),this.$children=u}}},{key:"renderChildNodes",value:function(){var e=this,n=this.options.node,o=this.options,r=o.rootContainer,i=o.ignore,a=o.rootDomViewer,l=this.$children.get(0),s=this.childNodes,c=this.childNodeDomViewers;M()(c,(function(t){t.detach(),e.removeSubComponent(t)})),this.endTagDomViewer&&this.endTagDomViewer.detach();var u=this.getChildNodes();this.childNodes=u;var d=[];this.childNodeDomViewers=d,M()(u,(function(n,o){var u,p=s.indexOf(n);(u=p>-1?c[p]:new t(l,{node:n,parent:e,rootContainer:r,rootDomViewer:a,ignore:i})).attach(),d[o]=u,e.addSubComponent(u)})),M()(c,(function(e){e.isAttached()||e.destroy()})),n&&!this.isShadowRoot&&(this.endTagDomViewer?this.endTagDomViewer.attach():(this.endTagDomViewer=new t(l,{node:n,parent:this,isEndTag:!0,rootContainer:r,rootDomViewer:a,ignore:i}),this.addSubComponent(this.endTagDomViewer)))}},{key:"renderHtmlTag",value:function(e){var t=m()(e.attributes,(function(e){var t=e.name,n=e.value,o=e.isLink;return'<span class="attribute">\n <span class="attribute-name">'.concat(le()(t),"</span>").concat(n?'="<span class="attribute-value'.concat(o?" attribute-underline":"",'">').concat(le()(n),'</span>"'):"","</span>")})).join(""),n="";return e.hasTail?n="".concat(e.hasTail?"…":"",'<span class="html-tag"><<span class="tag-name">/').concat(e.tagName,"</span>></span>"):this.isExpandable()||(n='<span class="html-tag"><<span class="tag-name">/'.concat(e.tagName,"</span>></span>")),this.c(K()(F||(F=(0,o.A)(["\n ",'\n <span class="html-tag"><<span class="tag-name">',"</span>","></span>",'\n <span class="selection"></span>'])),e.hasToggleButton?this.renderToggle():"",e.tagName,t,n))}},{key:"renderTextNode",value:function(e){var t=this.c,n=e.nodeValue,o=e.parentElement,r='<span class="text-node">',i='</span><span class="selection"></span>';if(o&&n.length<1e4){if("STYLE"===o.tagName)return t("".concat(r).concat(te()(n,"css",me)).concat(i));if("SCRIPT"===o.tagName)return t("".concat(r).concat(te()(n,"js",me)).concat(i))}return t('"'.concat(r).concat(le()(oe()(n,1e4,{separator:" ",ellipsis:"…"}))).concat(i,'"'))}},{key:"renderHtmlComment",value:function(e){return this.c('<span class="html-comment"><!-- '.concat(le()(e),' --></span><span class="selection"></span>'))}},{key:"renderShadowRoot",value:function(e){var t=this.options.node;return this.c(K()(H||(H=(0,o.A)(["\n ",'\n <span class="shadow-root">#shadow-root (',')</span>\n <span class="selection"></span>'])),e?this.renderToggle():"",t.mode))}},{key:"renderToggle",value:function(){return'<div class="toggle "><span class="icon icon-caret-right"></span><span class="icon icon-caret-down"></span></div>'}}])}(j);function ve(e){var t={tagName:"",attributes:[]};t.tagName=e.tagName.toLocaleLowerCase();var n=[];return M()(e.attributes,(function(t){var o=t.name,r=t.value;n.push({name:o,value:r,isLink:ye(e,o)})})),t.attributes=n,t}function ye(e,t){var n=e.tagName;return("SCRIPT"===n||"IMAGE"===n||"VIDEO"===n||"AUDIO"===n)&&"src"===t||"LINK"===n&&"href"===t}function be(e){return!!window.ShadowRoot&&e instanceof ShadowRoot}!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,ge)},9152:function(e,t,n){n.d(t,{A:function(){return J}});var o=n(5458),r=n(4467),i=n(7528),a=n(3029),l=n(2901),s=n(388),c=n(3954),u=n(991),d=n(5361),p=n(2263),f=n.n(p),h=n(3693),m=n.n(h),g=n(3915),v=n.n(g),y=n(9405),b=n.n(y),_=n(5169),w=n.n(_),k=n(9548),x=n.n(k),S=(n(6097),n(3249)),C=n.n(S),E=(n(6030),n(5004)),T=n.n(E);function A(e){var t="luna-".concat(e,"-");function n(e){return v()(b()(e).split(/\s+/),(function(e){return C()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=x().parse(e);return $(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),x().stringify(t)}catch(o){return n(e)}return n(e)}}function $(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&$(r.content,t)}}n(9410),n(8609),w();var I=n(9100),M=n.n(I),P=n(8105),N=n.n(P),O=n(5651),R=n.n(O),D=n(961),L=n.n(D),B=n(7e3),V=n.n(B),z=n(1009),F=n.n(z);function H(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(H=function(){return!!e})()}var j,G=function(e){function t(e,n){var o,r,i,l,u=n.compName,d=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,p=void 0===d?"light":d;return(0,a.A)(this,t),i=this,l=t,l=(0,c.A)(l),(o=(0,s.A)(i,H()?Reflect.construct(l,[],(0,c.A)(i).constructor):l.apply(i,void 0))).subComponents=[],o.theme="",o.onThemeChange=function(e){"auto"===o.options.theme&&o.setTheme(e)},o.compName=u,o.c=A(u),o.options={},o.container=e,o.$container=m()(e),o.$container.addClass(["luna-".concat(u),o.c("platform-".concat((r=T()(),"os x"===r?"mac":r)))]),o.on("optionChange",(function(e,t){if("theme"===e){var n=t;"auto"===t&&(n=V().get()),o.setTheme(n),M()(o.subComponents,(function(e){return e.setOption("theme",t)}))}})),V().on("change",o.onThemeChange),o.setOption("theme",p),o}return(0,d.A)(t,e),(0,l.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");M()(n.split(/\s+/),(function(n){F()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners(),V().off("change",this.onThemeChange)}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,M()(r,(function(e,t){var r=o[t];o[t]=e,e!==r&&n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){L()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){M()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};R()(e,t),N()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}},{key:"setTheme",value:function(e){var t=this.c,n=this.$container;this.theme&&n.rmClass(t("theme-".concat(this.theme))),n.addClass(t("theme-".concat(e))),this.theme=e}}])}(f()),U=n(5773),W=n.n(U),Y=n(5241),q=n.n(Y),K=n(6741),Z=n.n(K);function X(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(X=function(){return!!e})()}e=n.hmd(e);var J=function(e){function t(e){var n,o,r,i,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.A)(this,t),o=this,r=t,i=[e,{compName:"modal"},l],r=(0,c.A)(r),(n=(0,s.A)(o,X()?Reflect.construct(r,i||[],(0,c.A)(o).constructor):r.apply(o,i))).render=function(){var e=n,t=e.options,o=e.c,r=e.$body;t.title?(r.rmClass(o("no-title")),n.$title.text(t.title)):r.addClass(o("no-title")),t.footer?(r.rmClass(o("no-footer")),n.$footer.html("").append(t.footer)):r.addClass(o("no-footer")),t.showClose?n.$close.show():n.$close.hide(),n.$body.css("width",t.width+"px"),n.renderContent()},n.hide(),n.initOptions(l,{title:"",content:"",footer:"",showClose:!0,width:oe()}),n.initTpl(),n.$title=n.find(".title"),n.$content=n.find(".content"),n.$body=n.find(".body"),n.$footer=n.find(".footer"),n.$close=n.find(".icon-close"),n.bindEvent(),n}return(0,d.A)(t,e),(0,l.A)(t,[{key:"show",value:function(){this.render(),this.$container.rmClass(this.c("hidden"))}},{key:"hide",value:function(){this.$container.addClass(this.c("hidden"))}},{key:"destroy",value:function(){var e,n,o;(e=t,n=this,"function"==typeof(o=(0,u.A)((0,c.A)(e.prototype),"destroy",n))?function(e){return o.apply(n,e)}:o)([]),this.$container.rmClass(this.c("hidden"))}},{key:"renderContent",value:function(){this.$content.html("").append(this.options.content)}},{key:"bindEvent",value:function(){var e=this;this.$body.on("click",this.c(".icon-close"),(function(){return e.hide()})),this.on("optionChange",this.render)}},{key:"initTpl",value:function(){this.$container.html(this.c(W()(j||(j=(0,i.A)(['\n <div class="body">\n <span class="icon icon-close"></span>\n <div class="title"></div>\n <div class="content"></div>\n <div class="footer"></div>\n </div>\n '])))))}}],[{key:"alert",value:function(e){return new Promise((function(n){var o=te(),i=o.c;o.setOption({title:"",content:e,width:oe(),footer:ne((0,r.A)({},t.i18n.t("ok"),{type:"primary",onclick:function(){o.hide(),n()}}),i)}),o.show()}))}},{key:"confirm",value:function(e){return new Promise((function(n){var o=te(),i=o.c;o.setOption({title:"",content:e,width:oe(),footer:ne((0,r.A)((0,r.A)({},t.i18n.t("cancel"),{type:"secondary",onclick:function(){o.hide(),n(!1)}}),t.i18n.t("ok"),{type:"primary",onclick:function(){o.hide(),n(!0)}}),i)}),o.show()}))}},{key:"prompt",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return new Promise((function(o){var i=te(),a=i.c,l=q()("input"+a(".input"),{value:n});function s(){i.hide(),o(l.value)}m()(l).on("keypress",(function(e){"Enter"===(e=e.origEvent).key&&s()})),i.setOption({title:e,content:l,width:oe(),footer:ne((0,r.A)((0,r.A)({},t.i18n.t("cancel"),{type:"secondary",onclick:function(){i.hide(),o(null)}}),t.i18n.t("ok"),{type:"primary",onclick:s}),a)}),i.show();var c=l.value.length;l.setSelectionRange(c,c),l.focus()}))}},{key:"setContainer",value:function(e){ee=e}}])}(G);J.i18n=new(Z())("zh-CN"!==navigator.language?"en-US":"zh-CN",{"en-US":{ok:"OK",cancel:"Cancel"},"zh-CN":{ok:"确定",cancel:"取消"}});var Q=null,ee=null;function te(){return ee||(ee=q()("div"),document.body.append(ee)),Q||(Q=new J(ee,{showClose:!1})),Q}function ne(e,t){var n=v()(e,(function(e,n){return q()(t(".button")+t("."+e.type),{onclick:e.onclick},n)}));return q().apply(void 0,[t(".button-group"),{}].concat((0,o.A)(n)))}function oe(){return window.innerWidth<500?window.innerWidth-32:500}!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,J)},1280:function(e,t,n){n.d(t,{A:function(){return Y}});var o=n(3029),r=n(2901),i=n(388),a=n(3954),l=n(5361),s=n(3693),c=n.n(s),u=n(5630),d=n.n(u),p=n(8438),f=n.n(p),h=n(5241),m=n.n(h),g=n(2263),v=n.n(g),y=n(3915),b=n.n(y),_=n(9405),w=n.n(_),k=n(5169),x=n.n(k),S=n(9548),C=n.n(S),E=(n(6097),n(3249)),T=n.n(E),A=(n(6030),n(5004)),$=n.n(A);function I(e){var t="luna-".concat(e,"-");function n(e){return b()(w()(e).split(/\s+/),(function(e){return T()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=C().parse(e);return M(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),C().stringify(t)}catch(o){return n(e)}return n(e)}}function M(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&M(r.content,t)}}n(9410),n(8609),x(),x();var P=n(9100),N=n.n(P),O=n(8105),R=n.n(O),D=n(5651),L=n.n(D),B=n(961),V=n.n(B),z=n(1009),F=n.n(z);function H(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(H=function(){return!!e})()}var j=function(e){function t(e,n){var r,l,s,u,d=n.compName,p=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,f=void 0===p?"light":p;return(0,o.A)(this,t),l=this,s=t,s=(0,a.A)(s),(r=(0,i.A)(l,H()?Reflect.construct(s,[],(0,a.A)(l).constructor):s.apply(l,undefined))).subComponents=[],r.compName=d,r.c=I(d),r.options={},r.container=e,r.$container=c()(e),r.$container.addClass(["luna-".concat(d),r.c("platform-".concat((u=$()(),"os x"===u?"mac":u)))]),r.on("optionChange",(function(e,t,n){var o=r.c;"theme"===e&&(r.$container.rmClass(o("theme-".concat(n))).addClass(o("theme-".concat(t))),N()(r.subComponents,(function(e){return e.setOption("theme",t)})))})),r.setOption("theme",f),r}return(0,l.A)(t,e),(0,r.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");N()(n.split(/\s+/),(function(n){F()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,N()(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){V()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){N()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L()(e,t),R()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}}])}(v()),G=n(8971),U=n.n(G);function W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(W=function(){return!!e})()}e=n.hmd(e);var Y=function(e){function t(e){var n,r,l,s,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.A)(this,t),r=this,l=t,s=[e,{compName:"notification"},c],l=(0,a.A)(l),(n=(0,i.A)(r,W()?Reflect.construct(l,s||[],(0,a.A)(r).constructor):l.apply(r,s))).notifications=[],n.initOptions(c,{position:{x:"right",y:"bottom"},inline:!1,duration:2e3}),n.options.inline||n.$container.addClass(n.c("full")),n.initTpl(),n}return(0,l.A)(t,e),(0,r.A)(t,[{key:"notify",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};U()(n.duration)&&(n.duration=this.options.duration);var o=new q(this,e,{icon:n.icon||"none"});this.notifications.push(o),this.add(o),setTimeout((function(){return t.remove(o.id)}),n.duration)}},{key:"dismissAll",value:function(){for(var e=this.notifications,t=e[0];t;)this.remove(t.id),t=e[0]}},{key:"add",value:function(e){this.container.appendChild(e.container)}},{key:"remove",value:function(e){var t=this.notifications,n=f()(t,(function(t){return t.id===e}));if(n){n.destroy();var o=t.indexOf(n);t.splice(o,1)}}},{key:"initTpl",value:function(){var e=this.$container,t=this.options.position,n=t.x,o=t.y,r="flex-end",i="flex-end";switch(n){case"center":i="center";break;case"left":i="flex-start"}"top"===o&&(r="flex-start"),e.attr("style","justify-content: ".concat(r,"; align-items: ").concat(i))}}])}(j),q=(0,r.A)((function e(t,n,r){(0,o.A)(this,e),this.container=m()("div"),this.$container=c()(this.container),this.notification=t,this.content=n,this.id=d()("luna-notification-"),this.$container.attr({id:this.id,class:t.c("item ".concat("bottom"===t.getOption("position").y?"lower":"upper"))}),this.initTpl(r.icon)}),[{key:"destroy",value:function(){this.$container.remove()}},{key:"initTpl",value:function(e){var t=e;"success"===e?t="check":"warning"===e&&(t="warn");var n="none"===e?"":'<div class="icon-container '.concat(e,'"><span class="icon icon-').concat(t,'"></span></div>');this.$container.html(this.notification.c("".concat(n,'<div class="content">').concat(this.content,"</div>")))}}]);!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,Y)},3390:function(e,t,n){n.d(t,{j:function(){return Ve},A:function(){return He}});var o=n(2284),r=n(3029),i=n(2901),a=n(388),l=n(3954),s=n(991),c=n(5361),u=n(5427),d=n.n(u),p=n(6097),f=n.n(p),h=n(6493),m=n.n(h),g=n(96),v=n.n(g),y=n(9760),b=n.n(y),_=n(6214),w=n.n(_),k=n(9931),x=n.n(k),S=n(3145),C=n.n(S),E=n(9100),T=n.n(E),A=n(1168),$=n.n(A),I=n(8796),M=n.n(I),P=n(2989),N=n.n(P),O=n(3693),R=n.n(O),D=n(466),L=n.n(D),B=n(15),V=n.n(B),z=n(1738),F=n.n(z),H=n(7514),j=n.n(H),G=n(2571),U=n.n(G),W=n(7140),Y=n.n(W),q=n(2561),K=n.n(q),Z=n(9993),X=n.n(Z),J=n(1532),Q=n.n(J),ee=n(8105),te=n.n(ee),ne=(0,i.A)((function e(){(0,r.A)(this,e),this.id=0,this.visited=[]}),[{key:"set",value:function(e,t){var n=this.visited,o=this.id,r={id:o,val:e};return te()(r,t),n.push(r),this.id++,o}},{key:"get",value:function(e){for(var t=this.visited,n=0,o=t.length;n<o;n++){var r=t[n];if(e===r.val)return r}return!1}}]),oe=n(9405),re=n.n(oe),ie=n(5902),ae=n.n(ie),le=function(e){return ae()(K()(e)).replace(/\n/g,"↵").replace(/\f|\r|\t/g,"")};function se(e){return e.length>500&&(e=e.slice(0,500)+"..."),"ƒ "+re()((t=e,n=t.match(ce),n?n[0]:t).replace("function",""));var t,n}var ce=/function(.*?)\((.*?)\)/,ue=n(1009),de=n.n(ue),pe=n(5630),fe=n.n(pe),he=n(6030),me=n.n(he),ge=n(1932),ve=n.n(ge),ye=n(2263),be=n.n(ye),_e=n(3915),we=n.n(_e),ke=n(5169),xe=n.n(ke),Se=n(9548),Ce=n.n(Se),Ee=n(3249),Te=n.n(Ee),Ae=n(5004),$e=n.n(Ae);function Ie(e){var t="luna-".concat(e,"-");function n(e){return we()(re()(e).split(/\s+/),(function(e){return Te()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=Ce().parse(e);return Me(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),Ce().stringify(t)}catch(o){return n(e)}return n(e)}}function Me(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&Me(r.content,t)}}n(9410),n(8609),xe(),xe();var Pe=n(5651),Ne=n.n(Pe),Oe=n(961),Re=n.n(Oe);function De(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(De=function(){return!!e})()}var Le=function(e){function t(e,n){var o,i,s,c,u=n.compName,d=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,p=void 0===d?"light":d;return(0,r.A)(this,t),i=this,s=t,s=(0,l.A)(s),(o=(0,a.A)(i,De()?Reflect.construct(s,[],(0,l.A)(i).constructor):s.apply(i,undefined))).subComponents=[],o.compName=u,o.c=Ie(u),o.options={},o.container=e,o.$container=R()(e),o.$container.addClass(["luna-".concat(u),o.c("platform-".concat((c=$e()(),"os x"===c?"mac":c)))]),o.on("optionChange",(function(e,t,n){var r=o.c;"theme"===e&&(o.$container.rmClass(r("theme-".concat(n))).addClass(r("theme-".concat(t))),T()(o.subComponents,(function(e){return e.setOption("theme",t)})))})),o.setOption("theme",p),o}return(0,c.A)(t,e),(0,i.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");T()(n.split(/\s+/),(function(n){de()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,T()(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){Re()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){T()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ne()(e,t),te()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}}])}(be());function Be(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Be=function(){return!!e})()}var Ve=function(e){function t(e){var n,o,i,s;return(0,r.A)(this,t),o=this,i=t,s=[e,{compName:"object-viewer"}],i=(0,l.A)(i),(n=(0,a.A)(o,Be()?Reflect.construct(i,s||[],(0,l.A)(o).constructor):i.apply(o,s))).onItemClick=function(e){var t=n,o=t.map,r=t.c,i=R()(e.curTarget),a=i.data("object-id"),l=i.find("span").eq(0);if(!i.data("first-level")&&(a&&(i.find("ul").html(n.objToHtml(o[a],!1)),i.rmAttr("data-object-id")),e.stopImmediatePropagation(),l.hasClass(r("expanded")))){var s=i.find("ul").eq(0);l.hasClass(r("collapsed"))?(l.rmClass(r("collapsed")),s.show()):(l.addClass(r("collapsed")),s.hide()),n.emit("change")}},n.bindEvent(),n}return(0,c.A)(t,e),(0,i.A)(t,[{key:"set",value:function(e){F()(e)&&(e=JSON.parse(e)),this.data={id:fe()("json"),enumerable:{0:e}},this.map={},ze(this.map,this.data),this.render()}},{key:"destroy",value:function(){var e,n,o;(e=t,n=this,"function"==typeof(o=(0,s.A)((0,l.A)(e.prototype),"destroy",n))?function(e){return o.apply(n,e)}:o)([]),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(e,t){var n=this,o="";return T()(["enumerable","unenumerable","symbol"],(function(r){if(e[r]){var i=C()(e[r]);Q()(i);for(var a=0,l=i.length;a<l;a++){var s=i[a];o+=n.createEl(s,e[r][s],r,t)}}})),e.proto&&(""===o?o=this.objToHtml(e.proto):o+=this.createEl("[[Prototype]]",e.proto,"proto")),o}},{key:"createEl",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.c,a=(0,o.A)(t);if(null===t)return"<li>".concat(p(e),'<span class="').concat(i("null"),'">null</span></li>');if(f()(t)||m()(t))return"<li>".concat(p(e),'<span class="').concat(i(a),'">').concat(le(t),"</span></li>");if("RegExp"===t.type&&(a="regexp"),"Number"===t.type&&(a="number"),"Number"===t.type||"RegExp"===t.type)return"<li>".concat(p(e),'<span class="').concat(i(a),'">').concat(le(t.value),"</span></li>");if("Undefined"===t.type||"Symbol"===t.type)return"<li>".concat(p(e),'<span class="').concat(i("special"),'">').concat(v()(t.type),"</span></li>");if("(...)"===t)return"<li>".concat(p(e),'<span class="').concat(i("special"),'">').concat(t,"</span></li>");if(b()(t)){var l=t.id,s=t.reference,c=function(e){var t=e.type,n=e.value;if(t)return"Function"===t?se(n):"Array"===t&&e.unenumerable?"Array(".concat(e.unenumerable.length,")"):e.type}(t)||x()(a),u=r?"":'<span class="'.concat(i("expanded collapsed"),'"><span class="').concat(i("icon icon-caret-right"),'"></span><span class="').concat(i("icon icon-caret-down"),'"></span></span>'),d="<li ".concat(r?'data-first-level="true"':""," ").concat('data-object-id="'+(s||l)+'"',">").concat(u).concat(p(e),'<span class="').concat(i("open"),'">').concat(r?"":c,'</span><ul class="').concat(i(a),'" ').concat(r?"":'style="display:none"',">");return r&&(d+=this.objToHtml(this.map[l])),d+'</ul><span class="'.concat(i("close"),'"></span></li>')}function p(e){if(r)return"";if(b()(t)&&t.jsonSplitArr)return"";var o=i("key");return"unenumerable"===n||"symbol"===n?o=i("key-lighter"):"proto"===n&&(o=i("key-special")),'<span class="'.concat(o,'">').concat(le(e),"</span>: ")}return F()(t)&&t.length>1e4&&(t=V()(t,50,{separator:" ",ellipsis:"…"})),"<li>".concat(p(e),'<span class="').concat(i((0,o.A)(t)),'">"').concat(le(t),'"</span></li>')}},{key:"render",value:function(){var e=this.map[this.data.id];this.$container.html(this.objToHtml(e,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}])}(Le);function ze(e,t){var n,o,r,i,a,l=t.id;if(l||0===l){if(t.type&&de()(t.type,"Array")&&t.enumerable){var s=(n=t,o=l,r=t.type,i=[],a={},T()(n.enumerable,(function(e,t){var n=me()(t);ve()(n)?a[t]=e:i[n]=e})),i.enumerable=a,i.type=r,i.id=o,n.unenumerable&&(i.unenumerable=n.unenumerable),n.symbol&&(i.symbol=n.symbol),n.proto&&(i.proto=n.proto),i);s.length>100&&(t=function(e){var t=0,n={};T()(Y()(e,100),(function(e){var o={},r=t;o.type="["+r,o.enumerable={},T()(e,(function(e){o.enumerable[t]=e,t+=1}));var i=t-1;o.type+=(i-r>0?" … "+i:"")+"]",o.id=fe()("json"),o.jsonSplitArr=!0,n[t]=o}));var o={};return o.enumerable=n,o.id=e.id,o.type=e.type,e.unenumerable&&(o.unenumerable=e.unenumerable),e.symbol&&(o.symbol=e.symbol),e.proto&&(o.proto=e.proto),o}(s))}e[l]=t;var c=[];T()(["enumerable","unenumerable","symbol"],(function(e){if(t[e])for(var n in t[e])c.push(t[e][n])})),t.proto&&c.push(t.proto);for(var u=0,d=c.length;u<d;u++){var p=c[u];b()(p)&&ze(e,p)}}}function Fe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Fe=function(){return!!e})()}e=n.hmd(e);var He=function(e){function t(e){var n,o,i,s,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.A)(this,t),o=this,i=t,s=[e,{compName:"object-viewer"}],i=(0,l.A)(i),(n=(0,a.A)(o,Fe()?Reflect.construct(i,s||[],(0,l.A)(o).constructor):i.apply(o,s))).onItemClick=function(e){var t=n,o=t.map,r=t.c,i=R()(e.curTarget),a=i.data("object-id"),l=i.find("span").eq(0);if(!i.data("first-level")&&(a&&(i.find("ul").html(n.objToHtml(o[a],!1)),i.rmAttr("data-object-id")),e.stopImmediatePropagation(),l.hasClass(r("expanded")))){var s=i.find("ul").eq(0);l.hasClass(r("collapsed"))?(l.rmClass(r("collapsed")),s.show()):(l.addClass(r("collapsed")),s.hide()),n.emit("change")}},n.initOptions(c,{prototype:!0,unenumerable:!1,accessGetter:!1}),n.bindEvent(),n.options.object&&n.set(n.options.object),n}return(0,c.A)(t,e),(0,i.A)(t,[{key:"set",value:function(e){this.data=[e],this.visitor=new ne,this.map={},this.render()}},{key:"destroy",value:function(){var e,n,o;(e=t,n=this,"function"==typeof(o=(0,s.A)((0,l.A)(e.prototype),"destroy",n))?function(e){return o.apply(n,e)}:o)([]),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(e,t){var n=this,r=this.visitor,i=e,a=!1,l=r.get(e);l&&l.self&&(i=l.self);var s="",c=["enumerable"],u=C()(e),p=[],f=[],h=[],m={};if(this.options.unenumerable&&!t&&(c.push("unenumerable"),c.push("symbol"),p=L()(j()(e,{prototype:!1,unenumerable:!0}),u),f=U()(j()(e,{prototype:!1,symbol:!0}),(function(e){return"symbol"===(0,o.A)(e)}))),w()(e)&&e.length>100){c.unshift("virtual"),a=!0;var g=0,v={};T()(Y()(e,100),(function(e){var t=Object.create(null),n=g,o="["+n;T()(e,(function(e){t[g]=e,v[g]=!0,g++}));var r=g-1;m[o+=(r-n>0?" … "+r:"")+"]"]=t})),h=C()(m),u=U()(u,(function(e){return!v[e]}))}if(T()(c,(function(o){var r;r="symbol"===o?f:"unenumerable"===o?p:"virtual"===o?h:u,a||Q()(r);for(var l=0,c=r.length;l<c;l++){var d=K()(r[l]),g="",v=Object.getOwnPropertyDescriptor(e,d),y=v&&v.get,b=v&&v.set;if(y&&!n.options.accessGetter)g="(...)";else try{g="virtual"===o?m[d]:i[d],M()(g)&&g.catch(X())}catch(_){g=_ instanceof Error?_.message:K()(_)}s+=n.createEl(d,e,g,o,t),y&&(s+=n.createEl("get ".concat(d),e,v.get,o,t)),b&&(s+=n.createEl("set ".concat(d),e,v.set,o,t))}})),this.options.prototype){var y=d()(e);if(!t&&y)if(""===s){var b=r.set(y,{self:e});this.map[b]=y,s=this.objToHtml(y)}else s+=this.createEl("[[Prototype]]",i||e,y,"proto")}return s}},{key:"createEl",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=this.visitor,l=this.c,s=(0,o.A)(n),c=N()(n,!1);if("virtual"===r&&(c=e),null===n)return"<li>".concat(_(e),'<span class="').concat(l("null"),'">null</span></li>');if(f()(n)||m()(n))return"<li>".concat(_(e),'<span class="').concat(l(s),'">').concat(le(n),"</span></li>");if("RegExp"===c&&(s="regexp"),"Number"===c&&(s="number"),"Undefined"===c||"Symbol"===c)return"<li>".concat(_(e),'<span class="').concat(l("special"),'">').concat(v()(c),"</span></li>");if("(...)"===n)return"<li>".concat(_(e),'<span class="').concat(l("special"),'">').concat(n,"</span></li>");if(b()(n)){var u,d=a.get(n);if(d)u=d.id;else{var p={};"proto"===r&&(p.self=t),u=a.set(n,p),this.map[u]=n}var h;h="regexp"===s?'<span class="'.concat(l(s),'">').concat(le(n)):le(function(e,t){if(t)return"Function"===t?se($()(e)):"Array"===t?"Array(".concat(e.length,")"):t}(n,c)||x()(s));var g=i?"":'<span class="'.concat(l("expanded collapsed"),'"><span class="').concat(l("icon icon-caret-right"),'"></span><span class="').concat(l("icon icon-caret-down"),'"></span></span>'),y="<li ".concat(i?'data-first-level="true"':""," ").concat('data-object-id="'+u+'"',">").concat(g).concat(_(e),'<span class="').concat(l("open"),'">').concat(i?"":h,'</span><ul class="').concat(l(s),'" ').concat(i?"":'style="display:none"',">");return i&&(y+=this.objToHtml(n)),y+'</ul><span class="'.concat(l("close"),'"></span></li>')}function _(e){if(i)return"";if(b()(n)&&"virtual"===r)return"";var t=l("key");return"unenumerable"===r||"symbol"===r?t=l("key-lighter"):"proto"===r&&(t=l("key-special")),'<span class="'.concat(t,'">').concat(le(e),"</span>: ")}return F()(n)&&n.length>1e4&&(n=V()(n,50,{separator:" ",ellipsis:"…"})),"<li>".concat(_(e),'<span class="').concat(l((0,o.A)(n)),'">"').concat(le(n),'"</span></li>')}},{key:"render",value:function(){this.$container.html(this.objToHtml(this.data,!0))}},{key:"bindEvent",value:function(){var e=this;this.$container.on("click","li",this.onItemClick),this.on("optionChange",(function(t,n){switch(t){case"object":e.set(n);break;case"unenumerable":case"prototype":case"accessGetter":e.render()}}))}}])}(Le);He.Static=Ve,function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,He)},1328:function(e,t,n){n.d(t,{Ay:function(){return fe}});var o=n(991),r=n(3029),i=n(2901),a=n(388),l=n(3954),s=n(5361),c=n(3693),u=n.n(c),d=n(5241),p=n.n(d),f=n(5902),h=n.n(f),m=n(5630),g=n.n(m),v=n(9760),y=n.n(v),b=n(5651),_=n.n(b),w=n(3915),k=n.n(w),x=n(6030),S=n.n(x),C=n(2561),E=n.n(C),T=n(3957),A=n.n(T),$=n(3497),I=n.n($),M=n(1976),P=n.n(M),N=n(1738),O=n.n(N),R=n(9405),D=n.n(R),L=n(3249),B=n.n(L),V=n(96),z=n.n(V),F=n(4236),H=n.n(F),j=n(9100),G=n.n(j),U=n(2263),W=n.n(U),Y=n(5169),q=n.n(Y),K=n(9548),Z=n.n(K),X=(n(6097),n(5004)),J=n.n(X);function Q(e){var t="luna-".concat(e,"-");function n(e){return k()(D()(e).split(/\s+/),(function(e){return B()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=Z().parse(e);return ee(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),Z().stringify(t)}catch(o){return n(e)}return n(e)}}function ee(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&ee(r.content,t)}}n(9410),n(8609),q(),q();var te=n(8105),ne=n.n(te),oe=n(961),re=n.n(oe),ie=n(1009),ae=n.n(ie);function le(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(le=function(){return!!e})()}var se=function(e){function t(e,n){var o,i,s,c,d=n.compName,p=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,f=void 0===p?"light":p;return(0,r.A)(this,t),i=this,s=t,s=(0,l.A)(s),(o=(0,a.A)(i,le()?Reflect.construct(s,[],(0,l.A)(i).constructor):s.apply(i,undefined))).subComponents=[],o.compName=d,o.c=Q(d),o.options={},o.container=e,o.$container=u()(e),o.$container.addClass(["luna-".concat(d),o.c("platform-".concat((c=J()(),"os x"===c?"mac":c)))]),o.on("optionChange",(function(e,t,n){var r=o.c;"theme"===e&&(o.$container.rmClass(r("theme-".concat(n))).addClass(r("theme-".concat(t))),G()(o.subComponents,(function(e){return e.setOption("theme",t)})))})),o.setOption("theme",f),o}return(0,s.A)(t,e),(0,i.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");G()(n.split(/\s+/),(function(n){ae()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,G()(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){re()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){G()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_()(e,t),ne()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}}])}(W()),ce=function(e,t,n){return((e-t)/(n-t)*100).toFixed(2)};function ue(e,t,n,r){var i=(0,o.A)((0,l.A)(e.prototype),t,n);return"function"==typeof i?function(e){return i.apply(n,e)}:i}function de(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,pe()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function pe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(pe=function(){return!!e})()}e=n.hmd(e);var fe=function(e){function t(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.A)(this,t),(n=de(this,t,[e,{compName:"setting"},o])).items=[],n.selectedItem=null,n.initOptions(o,{separatorCollapse:!0,filter:""}),n.bindEvent(),n}return(0,s.A)(t,e),(0,i.A)(t,[{key:"appendTitle",value:function(e){var t=new me(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1);return this.append(t),t}},{key:"appendSeparator",value:function(){var e=this.items,t=this.options.separatorCollapse,n=I()(e);if(t&&n instanceof ve)return n;var o=new ve(this);return this.append(o),o}},{key:"appendNumber",value:function(e,t,n,o,r){y()(o)&&(r=o,o="");var i=new be(this,e,t,n,o,r);return this.append(i),i}},{key:"appendButton",value:function(e,t,n){A()(t)&&(n=t,t="");var o=new ke(this,e,t,n);return this.append(o),o}},{key:"appendHtml",value:function(e){var t=new xe(this,e);return this.append(t),t}},{key:"appendMarkdown",value:function(e){var t=new ge(this,e);return this.append(t),t}},{key:"appendInput",value:function(e,t,n){var o=new ye(this,e,t,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:"");return this.append(o),o}},{key:"appendCheckbox",value:function(e,t,n,o){o||(o=n,n="");var r=new _e(this,e,t,n,o);return this.append(r),r}},{key:"appendSelect",value:function(e,t,n,o,r){y()(o)&&(r=o,o="");var i=new we(this,e,t,n,o,r);return this.append(i),i}},{key:"remove",value:function(e){var t=this.items,n=t.indexOf(e);n>-1&&(e.detach(),t.splice(n,1),e===this.selectedItem&&this.selectItem(null))}},{key:"clear",value:function(){G()(this.items,(function(e){return e.detach()})),this.items=[],this.selectItem(null)}},{key:"selectItem",value:function(e){var t;this.selectedItem&&(this.selectedItem.deselect(),this.selectedItem=null),H()(e)||(this.selectedItem=e,null===(t=this.selectedItem)||void 0===t||t.select())}},{key:"renderSettings",value:function(){var e=this,t=this.items;G()(t,(function(e){return e.detach()})),G()(t,(function(t){e.filterItem(t)&&e.$container.append(t.container)}))}},{key:"bindEvent",value:function(){var e=this,t=this.c;this.on("optionChange",(function(t){"filter"===t&&e.renderSettings()}));var n=this;this.$container.on("click",t(".item"),(function(){n.selectItem(this.settingItem)}))}},{key:"filterItem",value:function(e){var t=this.options.filter;if(t){if(A()(t))return t(e);if(P()(t))return t.test(e.text());if(O()(t)&&(t=D()(t)))return B()(z()(e.text()),z()(t))}return!0}},{key:"append",value:function(e){this.items.push(e),this.filterItem(e)&&this.$container.append(e.container)}}])}(se),he=(0,i.A)((function e(t,n,o,i){(0,r.A)(this,e),this.container=p()("div",{tabindex:"0"}),this.setting=t,this.container.settingItem=this,this.$container=u()(this.container),this.$container.addClass(t.c("item")).addClass(t.c("item-".concat(i))),this.key=n,this.value=o}),[{key:"select",value:function(){this.$container.addClass(this.setting.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.setting.c("selected"))}},{key:"detach",value:function(){this.$container.remove()}},{key:"disable",value:function(){this.$container.addClass(this.setting.c("disabled"))}},{key:"enable",value:function(){this.$container.rmClass(this.setting.c("disabled"))}},{key:"text",value:function(){return this.$container.text()}},{key:"onChange",value:function(e){this.value!==e&&(this.setting.emit("change",this.key,e,this.value),this.value=e)}}]),me=function(e){function t(e,n,o){var i;return(0,r.A)(this,t),(i=de(this,t,[e,"","","title"])).$container.addClass(e.c("level-".concat(o))),i.$container.text(n),i}return(0,s.A)(t,e),(0,i.A)(t)}(he),ge=function(e){function t(e,n){var o;return(0,r.A)(this,t),(o=de(this,t,[e,"","","markdown"])).$container.html(n),o}return(0,s.A)(t,e),(0,i.A)(t)}(he),ve=function(e){function t(e){return(0,r.A)(this,t),de(this,t,[e,"","","separator"])}return(0,s.A)(t,e),(0,i.A)(t)}(he),ye=function(e){function t(e,n,o,i,a){var l;(0,r.A)(this,t),l=de(this,t,[e,n,o,"input"]);var s=e.c;l.$container.html('<div class="'.concat(s("title"),'">').concat(h()(i),'</div>\n <div class="').concat(s("description"),'">').concat(a,'</div>\n <div class="').concat(s("control"),'">\n <input type="text"></input>\n </div>'));var c=l.$container.find("input");return c.val(o),c.on("change",(function(){return l.onChange(c.val())})),l.$input=c,l}return(0,s.A)(t,e),(0,i.A)(t,[{key:"setValue",value:function(e){this.$input.val(e),this.value=e}},{key:"disable",value:function(){ue(t,"disable",this)([]),this.$input.attr("disabled","")}},{key:"enable",value:function(){ue(t,"enable",this)([]),this.$input.rmAttr("disabled")}}])}(he),be=function(e){function t(e,n,o,i,a){var l,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};(0,r.A)(this,t),(l=de(this,t,[e,n,o,"number"])).renderRange=function(){var e=S()(l.$input.val()),t=l.options;l.$trackProgress.css("width",ce(e,t.min,t.max)+"%"),l.$value.text(E()(e))},_()(s,{min:0,max:10,step:1}),l.options=s;var c=l.$container,u=e.c,d=!!s.range;delete s.range;var p=s.min,f=s.max,m='<input type="'.concat(d?"range":"number",'"').concat(k()(s,(function(e,t){return" ".concat(t,'="').concat(e,'"')})),"></input>");d&&(m="".concat(p,'<div class="').concat(u("range-container"),'">\n <div class="').concat(u("range-track"),'">\n <div class="').concat(u("range-track-bar"),'">\n <div class="').concat(u("range-track-progress"),'" style="width: ').concat(ce(o,p,f),'%;"></div>\n </div>\n </div>\n ').concat(m,'\n </div><span class="').concat(u("value"),'">').concat(o,"</span>/").concat(f)),c.html('<div class="'.concat(u("title"),'">').concat(h()(i),'</div>\n <div class="').concat(u("description"),'">').concat(a,'</div>\n <div class="').concat(u("control"),'">').concat(m,"</div>"));var g=c.find("input");return l.$value=c.find(u(".value")),l.$trackProgress=c.find(u(".range-track-progress")),g.val(E()(o)),g.on("change",(function(){var e=S()(g.val());l.onChange(e)})),g.on("input",l.renderRange),l.$input=g,l}return(0,s.A)(t,e),(0,i.A)(t,[{key:"setValue",value:function(e){this.$input.val(E()(e)),this.value=e,this.renderRange()}},{key:"disable",value:function(){ue(t,"disable",this)([]),this.$input.attr("disabled","")}},{key:"enable",value:function(){ue(t,"enable",this)([]),this.$input.rmAttr("disabled")}}])}(he),_e=function(e){function t(e,n,o,i,a){var l;(0,r.A)(this,t),l=de(this,t,[e,n,o,"checkbox"]);var s=e.c,c=g()(e.c("checkbox-"));l.$container.html('<div class="'.concat(s("title"),'">').concat(h()(i),'</div>\n <div class="').concat(s("control"),'">\n <input type="checkbox" id="').concat(c,'"></input>\n <label for="').concat(c,'">').concat(a,"</label>\n </div>"));var u=l.$container.find("input"),d=u.get(0);return d.checked=o,u.on("change",(function(){return l.onChange(d.checked)})),l.$input=u,l.input=d,l}return(0,s.A)(t,e),(0,i.A)(t,[{key:"setValue",value:function(e){this.input.checked=e,this.value=e}},{key:"disable",value:function(){ue(t,"disable",this)([]),this.$input.attr("disabled","")}},{key:"enable",value:function(){ue(t,"enable",this)([]),this.$input.rmAttr("disabled")}}])}(he),we=function(e){function t(e,n,o,i,a,l){var s;(0,r.A)(this,t),s=de(this,t,[e,n,o,"select"]);var c=e.c;s.$container.html('<div class="'.concat(c("title"),'">').concat(h()(i),'</div>\n <div class="').concat(c("description"),'">').concat(a,'</div>\n <div class="').concat(c("control"),'">\n <div class="').concat(c("select"),'">\n <select></select>\n </div>\n </div>'));var u=s.$container.find("select");return s.$select=u,s.setOptions(l),u.on("change",(function(){return s.onChange(u.val())})),s}return(0,s.A)(t,e),(0,i.A)(t,[{key:"setValue",value:function(e){this.$select.val(e),this.value=e}},{key:"setOptions",value:function(e){var t=this;this.$select.html(k()(e,(function(e,n){return'<option value="'.concat(h()(e),'"').concat(e===t.value?" selected":"",">").concat(h()(n),"</option>")})).join(""))}},{key:"disable",value:function(){ue(t,"disable",this)([]),this.$select.attr("disabled","")}},{key:"enable",value:function(){ue(t,"enable",this)([]),this.$select.rmAttr("disabled")}}])}(he),ke=function(e){function t(e,n,o,i){var a;return(0,r.A)(this,t),o||(o=n,n=""),(a=de(this,t,[e,"","","button"])).$container.html(e.c('<div class="title">'.concat(h()(n),'</div>\n <div class="control">\n <button>').concat(h()(o),"</button>\n </div>"))),a.$container.find("button").on("click",i),a}return(0,s.A)(t,e),(0,i.A)(t)}(he),xe=function(e){function t(e,n){var o;return(0,r.A)(this,t),(o=de(this,t,[e,"","","html"])).$container.append(n),o}return(0,s.A)(t,e),(0,i.A)(t)}(he);!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,fe)},9068:function(e,t,n){n.d(t,{A:function(){return q}});var o,r=n(7528),i=n(3029),a=n(2901),l=n(388),s=n(3954),c=n(5361),u=n(2263),d=n.n(u),p=n(3693),f=n.n(p),h=n(3915),m=n.n(h),g=n(9405),v=n.n(g),y=n(5169),b=n.n(y),_=n(9548),w=n.n(_),k=n(6097),x=n.n(k),S=n(3249),C=n.n(S),E=(n(6030),n(5004)),T=n.n(E);function A(e){var t="luna-".concat(e,"-");function n(e){return m()(v()(e).split(/\s+/),(function(e){return C()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=w().parse(e);return $(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),w().stringify(t)}catch(o){return n(e)}return n(e)}}function $(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&$(r.content,t)}}n(9410),n(8609),b(),b();var I=n(9100),M=n.n(I),P=n(8105),N=n.n(P),O=n(5651),R=n.n(O),D=n(961),L=n.n(D),B=n(1009),V=n.n(B);function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(z=function(){return!!e})()}var F,H=function(e){function t(e,n){var o,r,a,c,u=n.compName,d=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,p=void 0===d?"light":d;return(0,i.A)(this,t),r=this,a=t,a=(0,s.A)(a),(o=(0,l.A)(r,z()?Reflect.construct(a,[],(0,s.A)(r).constructor):a.apply(r,undefined))).subComponents=[],o.compName=u,o.c=A(u),o.options={},o.container=e,o.$container=f()(e),o.$container.addClass(["luna-".concat(u),o.c("platform-".concat((c=T()(),"os x"===c?"mac":c)))]),o.on("optionChange",(function(e,t,n){var r=o.c;"theme"===e&&(o.$container.rmClass(r("theme-".concat(n))).addClass(r("theme-".concat(t))),M()(o.subComponents,(function(e){return e.setOption("theme",t)})))})),o.setOption("theme",p),o}return(0,c.A)(t,e),(0,a.A)(t,[{key:"destroy",value:function(){var e=this;this.destroySubComponents();var t=this.$container,n=t.attr("class");M()(n.split(/\s+/),(function(n){V()(n,"luna-".concat(e.compName))&&t.rmClass(n)})),t.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,M()(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){L()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){M()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};R()(e,t),N()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}}])}(d()),j=n(5773),G=n.n(j),U=n(5902),W=n.n(U);function Y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Y=function(){return!!e})()}e=n.hmd(e);var q=function(e){function t(e){var n,o,r,a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.A)(this,t),o=this,r=t,a=[e,{compName:"tab"},c],r=(0,s.A)(r),(n=(0,l.A)(o,Y()?Reflect.construct(r,a||[],(0,s.A)(o).constructor):r.apply(o,a))).initOptions(c,{height:30}),n.initTpl(),n.$tabs=n.find(".tabs"),n.tabs=n.$tabs.get(0),n.$slider=n.find(".slider"),n.bindEvent(),n.updateHeight(),n}return(0,c.A)(t,e),(0,a.A)(t,[{key:"length",get:function(){return this.$tabs.find(this.c(".item")).length}},{key:"insert",value:function(e,t){var n=this.c,o=this.$tabs,r=this.options.height-1,i=o.find(n(".item")),a=i.length,l='<div class="'.concat(this.c("item"),'" data-id="').concat(W()(t.id),'" style="height: ').concat(r,"px; line-height: ").concat(r,'px;">').concat(W()(t.title),"</div>");e>a-1?o.append(l):i.eq(e).before(l),this.updateSlider()}},{key:"append",value:function(e){this.insert(this.length,e)}},{key:"remove",value:function(e){var t=this.c,n=this;this.$tabs.find(t(".item")).each((function(){var o=f()(this);if(o.data("id")===e){if(o.hasClass(t("selected")))if(n.length>0){var r=n.$tabs.find(t(".item")).eq(0).data("id");n.select(r)}else n.emit("deselect");o.remove()}})),this.updateSlider()}},{key:"select",value:function(e){var t=this.c,n=this;this.$tabs.find(t(".item")).each((function(){var o=f()(this);o.data("id")===e?(o.addClass(t("selected")),n.updateSlider(),n.scrollToSelected(),n.emit("select",e)):o.rmClass(t("selected"))}))}},{key:"deselect",value:function(){var e=this.c;this.$tabs.find(e(".item")).each((function(){f()(this).rmClass(e("selected"))})),this.emit("deselect"),this.updateSlider()}},{key:"scrollToSelected",value:function(){var e,t=this.$tabs,n=this.tabs,o=this.c,r=t.find(o(".selected")).get(0),i=r.offsetLeft,a=r.offsetWidth,l=n.offsetWidth,s=n.scrollLeft;i<s?e=i:i+a>l+s&&(e=i+a-l),x()(e)&&(n.scrollLeft=e)}},{key:"hideScrollbar",value:function(){var e=this.$tabs;if("none"!==getComputedStyle(this.tabs,"::-webkit-scrollbar").display){var t=function(){if(x()(o))return o;if(!document)return 16;var e=document.createElement("div"),t=document.createElement("div");e.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),t.setAttribute("style","height: 200px"),e.appendChild(t);var n=document.body||document.documentElement;return n.appendChild(e),o=e.offsetWidth-e.clientWidth,n.removeChild(e),o}();e.css("height",this.options.height-1+t+"px")}}},{key:"updateSlider",value:function(){var e=this.$slider,t=this.$tabs,n=this.c,o=t.find(n(".selected")).get(0);o?e.css({width:o.offsetWidth,left:o.offsetLeft-t.get(0).scrollLeft}):e.css({width:0})}},{key:"updateHeight",value:function(){var e=this.options.height,t=e-1;this.find(".tabs-container").css("height",e+"px"),this.find(".item").css({height:t,lineHeight:t}),this.hideScrollbar()}},{key:"bindEvent",value:function(){var e=this,t=this.tabs,n=this.c;this.on("optionChange",(function(t){"height"===t&&e.updateHeight()}));var o=this;this.$tabs.on("wheel",(function(e){e.preventDefault(),t.scrollLeft+=e.origEvent.deltaY})).on("click",n(".item"),(function(){var e=f()(this);o.select(e.data("id"))})).on("scroll",(function(){e.updateSlider()}))}},{key:"initTpl",value:function(){this.$container.html(this.c(G()(F||(F=(0,r.A)(['\n <div class="tabs-container">\n <div class="tabs"></div>\n </div>\n <div class="slider"></div>\n '])))))}}])}(H);!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,q)},2900:function(e,t,n){n.d(t,{A:function(){return ne}});var o=n(3029),r=n(2901),i=n(388),a=n(3954),l=n(991),s=n(5361),c=n(2263),u=n.n(c),d=n(3693),p=n.n(d),f=n(3915),h=n.n(f),m=n(9405),g=n.n(m),v=n(5169),y=n.n(v),b=n(9548),_=n.n(b),w=(n(6097),n(3249)),k=n.n(w),x=(n(6030),n(5004)),S=n.n(x);function C(e){var t="luna-".concat(e,"-");function n(e){return h()(g()(e).split(/\s+/),(function(e){return k()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=_().parse(e);return E(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),_().stringify(t)}catch(o){return n(e)}return n(e)}}function E(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&E(r.content,t)}}n(8609);var T="ontouchstart"in y();function A(){var e=S()();return"os x"===e?"mac":e}var $=n(9100),I=n.n($),M=n(8105),P=n.n(M),N=n(5651),O=n.n(N),R=n(961),D=n.n(R);function L(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(L=function(){return!!e})()}var B=function(e){function t(e,n){var r,l,s,c=n.compName,u=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).theme,d=void 0===u?"light":u;return(0,o.A)(this,t),l=this,s=t,s=(0,a.A)(s),(r=(0,i.A)(l,L()?Reflect.construct(s,[],(0,a.A)(l).constructor):s.apply(l,undefined))).subComponents=[],r.compName=c,r.c=C(c),r.options={},r.container=e,r.$container=p()(e),r.$container.addClass(["luna-".concat(c),r.c("platform-".concat(A()))]),r.on("optionChange",(function(e,t,n){var o=r.c;"theme"===e&&(r.$container.rmClass(o("theme-".concat(n))).addClass(o("theme-".concat(t))),I()(r.subComponents,(function(e){return e.setOption("theme",t)})))})),r.setOption("theme",d),r}return(0,s.A)(t,e),(0,r.A)(t,[{key:"destroy",value:function(){this.destroySubComponents();var e=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(e("platform-".concat(A()))).rmClass(e("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,I()(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))}},{key:"getOption",value:function(e){return this.options[e]}},{key:"addSubComponent",value:function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)}},{key:"removeSubComponent",value:function(e){D()(this.subComponents,(function(t){return t===e}))}},{key:"destroySubComponents",value:function(){I()(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]}},{key:"initOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};O()(e,t),P()(this.options,e)}},{key:"find",value:function(e){return this.$container.find(this.c(e))}}])}(u()),V=n(3497),z=n.n(V),F=n(9464),H=n.n(F),j=n(5865),G=n.n(j),U=n(4534),W=n.n(U),Y=n(4844),q=n.n(Y),K=n(5902),Z=n.n(K),X=n(9389),J=n.n(X),Q=n(6948),ee=n.n(Q);function te(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(te=function(){return!!e})()}e=n.hmd(e);var ne=function(e){function t(e){var n,r,l,s,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.A)(this,t),r=this,l=t,s=[e,{compName:"text-viewer"},c],l=(0,a.A)(l),(n=(0,i.A)(r,te()?Reflect.construct(l,s||[],(0,a.A)(r).constructor):l.apply(r,s))).lineNum=0,n.copy=function(){var e=n.c,t=n.options,o=t.text,r=t.escape;q()(r?o:J()(ee()(o)));var i=n.$copy.find(e(".icon"));i.addClass(e("icon-check")).rmClass(e("icon-copy")),setTimeout((function(){i.rmClass(e("icon-check")).addClass(e("icon-copy"))}),1e3)},n._updateCopyPos=function(){var e=n.container;n.$copy.css({top:e.scrollTop+5,right:5-e.scrollLeft})},n.initOptions(c,{text:"",escape:!0,showLineNumbers:!0,wrapLongLines:!0,maxHeight:1/0}),n.render=G()((function(){return n._render()}),16),n.updateCopyPos=W()((function(){return n._updateCopyPos()}),300),n.initTpl(),n.$text=n.find(".text"),n.$copy=n.find(".copy"),T&&n.$copy.css("opacity","1"),n.options.text&&n.render(),n.bindEvent(),n.updateHeight(),n}return(0,s.A)(t,e),(0,r.A)(t,[{key:"append",value:function(e){var t=this,n=this.options,o=this.$copy,r=this.c,i=this.$text,a=n.showLineNumbers;if(this.options.text+=e,!a)return this.$text.append(n.escape?Z()(e):e);var l,s=0===(l=e).length?[]:l.split(oe);H()(s)&&(s=[" "]),g()(z()(s))||s.pop();var c="";I()(s,(function(e,o){t.lineNum+=1,c+='<div class="'.concat(r("table-row"),'"><div class="').concat(r("line-number"),'">').concat(t.lineNum,'</div><div class="').concat(r("line-text"),'">').concat(n.escape?Z()(e):e||" ","</div></div>")})),i.find(r(".table")).append(c),o.hide(),i.offset().height>40&&o.show(),this.updateCopyPos()}},{key:"destroy",value:function(){var e,n,o;this.$container.off("scroll",this.updateCopyPos),(e=t,n=this,"function"==typeof(o=(0,l.A)((0,a.A)(e.prototype),"destroy",n))?function(e){return o.apply(n,e)}:o)([])}},{key:"updateHeight",value:function(){var e=this.options.maxHeight;e>0&&e!==1/0?this.$text.css("max-height",e):this.$text.css("max-height","none")}},{key:"initTpl",value:function(){this.$container.html(this.c('<div class="text"></div><div class="copy"><span class="icon icon-copy"></span></div>'))}},{key:"bindEvent",value:function(){var e=this;this.on("optionChange",(function(t){"maxHeight"===t?e.updateHeight():e.render()})),this.$container.on("scroll",this.updateCopyPos),this.$copy.on("click",this.copy)}},{key:"_render",value:function(){var e=this.c,t=this.$text,n=this.options,o=n.text,r=n.wrapLongLines,i=n.showLineNumbers;r?t.addClass(e("wrap-long-lines")):t.rmClass(e("wrap-long-lines")),i?t.addClass(e("line-numbers")):t.rmClass(e("line-numbers")),t.html('<div class="'.concat(e("table"),'"></div>')),this.lineNum=0,this.options.text="",this.append(o)}}])}(B),oe=/\r\n|\r|\n/g;!function(e,t){try{e.exports=t,e.exports.default=t}catch(n){}}(e,ne)},29:function(e,t,n){n.d(t,{A:function(){return ar}});var o=n(3029),r=n(2901),i=n(388),a=n(3954),l=n(5361),s=n(4467),c=n(2263),u=n.n(c),d=new(u());d.ADD="ADD",d.SHOW="SHOW",d.SCALE="SCALE";var p=d,f=n(991),h=n(2717),m=n.n(h)()({init:function(e){this._$el=e},show:function(){return this._$el.show(),this},hide:function(){return this._$el.hide(),this},destroy:function(){this._$el.remove()}}),g=n(3693),v=n.n(g),y=n(5021),b=n.n(y),_=n(5630),w=n.n(_),k=n(9100),x=n.n(k),S=n(2571),C=n.n(S),E=n(1738),T=n.n(E),A=n(3249),$=n.n(A),I=n(8420),M=n.n(I),P=n(2561),N=n.n(P),O=n(3145),R=n.n(O),D=n(7604),L=n.n(D),B=n(5651),V=n.n(B),z=n(8105),F=n.n(z),H=n(6214),j=n.n(H),G=["background","foreground","selectForeground","accent","highlight","border","primary","contrast","varColor","stringColor","keywordColor","numberColor","operatorColor","linkColor","textColor","tagNameColor","functionColor","attributeNameColor","commentColor"],U=G.length;function W(e){for(var t={},n=0;n<U;n++)t[G[n]]=e[n];return t}function Y(e){return j()(e)&&(e=W(e)),e.darkerBackground||(e.darkerBackground=e.contrast),F()({consoleWarnBackground:"#332a00",consoleWarnForeground:"#ffcb6b",consoleWarnBorder:"#650",consoleErrorBackground:"#290000",consoleErrorForeground:"#ff8080",consoleErrorBorder:"#5c0000",light:"#ccc",dark:"#aaa"},e)}function q(e){return j()(e)&&(e=W(e)),e.darkerBackground||(e.darkerBackground=e.contrast),F()({consoleWarnBackground:"#fffbe5",consoleWarnForeground:"#5c5c00",consoleWarnBorder:"#fff5c2",consoleErrorBackground:"#fff0f0",consoleErrorForeground:"#f00",consoleErrorBorder:"#ffd6d6",light:"#fff",dark:"#eee"},e)}var K=["Dark","Material Oceanic","Material Darker","Material Palenight","Material Deep Ocean","Monokai Pro","Dracula","Arc Dark","Atom One Dark","Solarized Dark","Night Owl","AMOLED"];function Z(e){return $()(K,e)}var X={Light:q({darkerBackground:"#f3f3f3",background:"#fff",foreground:"#333",selectForeground:"#333",accent:"#1a73e8",highlight:"#eaeaea",border:"#ccc",primary:"#333",contrast:"#f2f7fd",varColor:"#c80000",stringColor:"#1a1aa6",keywordColor:"#881280",numberColor:"#1c00cf",operatorColor:"#808080",linkColor:"#1155cc",textColor:"#8097bd",tagNameColor:"#881280",functionColor:"#222",attributeNameColor:"#994500",commentColor:"#236e25",cssProperty:"#c80000"}),Dark:Y({darkerBackground:"#333",background:"#242424",foreground:"#a5a5a5",selectForeground:"#eaeaea",accent:"#7cacf8",highlight:"#000",border:"#3d3d3d",primary:"#ccc",contrast:"#0b2544",varColor:"#e36eec",stringColor:"#f29766",keywordColor:"#9980ff",numberColor:"#9980ff",operatorColor:"#7f7f7f",linkColor:"#ababab",textColor:"#42597f",tagNameColor:"#5db0d7",functionColor:"#d5d5d5",attributeNameColor:"#9bbbdc",commentColor:"#747474"}),"Material Oceanic":Y(["#263238","#B0BEC5","#FFFFFF","#009688","#425B67","#2A373E","#607D8B","#1E272C","#eeffff","#c3e88d","#c792ea","#f78c6c","#89ddff","#80cbc4","#B0BEC5","#f07178","#82aaff","#ffcb6b","#546e7a"]),"Material Darker":Y(["#212121","#B0BEC5","#FFFFFF","#FF9800","#3F3F3F","#292929","#727272","#1A1A1A","#eeffff","#c3e88d","#c792ea","#f78c6c","#89ddff","#80cbc4","#B0BEC5","#f07178","#82aaff","#ffcb6b","#616161"]),"Material Lighter":q(["#FAFAFA","#546E7A","#546e7a","#00BCD4","#E7E7E8","#d3e1e8","#94A7B0","#F4F4F4","#272727","#91B859","#7C4DFF","#F76D47","#39ADB5","#39ADB5","#546E7A","#E53935","#6182B8","#F6A434","#AABFC9"]),"Material Palenight":Y(["#292D3E","#A6ACCD","#FFFFFF","#ab47bc","#444267","#2b2a3e","#676E95","#202331","#eeffff","#c3e88d","#c792ea","#f78c6c","#89ddff","#80cbc4","#A6ACCD","#f07178","#82aaff","#ffcb6b","#676E95"]),"Material Deep Ocean":Y(["#0F111A","#8F93A2","#FFFFFF","#84ffff","#1F2233","#41465b","#4B526D","#090B10","#eeffff","#c3e88d","#c792ea","#f78c6c","#89ddff","#80cbc4","#8F93A2","#f07178","#82aaff","#ffcb6b","#717CB4"]),"Monokai Pro":Y(["#2D2A2E","#fcfcfa","#FFFFFF","#ffd866","#5b595c","#423f43","#939293","#221F22","#FCFCFA","#FFD866","#FF6188","#AB9DF2","#FF6188","#78DCE8","#fcfcfa","#FF6188","#A9DC76","#78DCE8","#727072"]),Dracula:Y(["#282A36","#F8F8F2","#8BE9FD","#FF79C5","#6272A4","#21222C","#6272A4","#191A21","#F8F8F2","#F1FA8C","#FF79C6","#BD93F9","#FF79C6","#F1FA8C","#F8F8F2","#FF79C6","#50FA78","#50FA7B","#6272A4"]),"Arc Dark":Y(["#2f343f","#D3DAE3","#FFFFFF","#42A5F5","#3F3F46","#404552","#8b9eb5","#262b33","#CF6A4C","#8F9D6A","#9B859D","#CDA869","#A7A7A7","#7587A6","#D3DAE3","#CF6A4C","#7587A6","#F9EE98","#747C84"]),"Atom One Dark":Y(["#282C34","#979FAD","#FFFFFF","#2979ff","#383D48","#2e3239","#979FAD","#21252B","#D19A66","#98C379","#C679DD","#D19A66","#61AFEF","#56B6C2","#979FAD","#F07178","#61AEEF","#E5C17C","#59626F"]),"Atom One Light":q(["#FAFAFA","#232324","#232324","#2979ff","#EAEAEB","#DBDBDC","#9D9D9F","#FFFFFF","#986801","#50A14E","#A626A4","#986801","#4078F2","#0184BC","#232324","#E4564A","#4078F2","#C18401","#A0A1A7"]),"Solarized Dark":Y(["#002B36","#839496","#FFFFFF","#d33682","#11353F","#0D3640","#586e75","#00252E","#268BD2","#2AA198","#859900","#D33682","#93A1A1","#268BD2","#839496","#268BD2","#B58900","#B58900","#657B83"]),"Solarized Light":q(["#fdf6e3","#586e75","#002b36","#d33682","#F6F0DE","#f7f2e2","#93a1a1","#eee8d5","#268BD2","#2AA198","#859900","#D33682","#657B83","#268BD2","#586e75","#268BD2","#B58900","#657B83","#93A1A1"]),Github:q(["#F7F8FA","#5B6168","#FFFFFF","#79CB60","#CCE5FF","#DFE1E4","#292D31","#FFFFFF","#24292E","#032F62","#D73A49","#005CC5","#D73A49","#005CC5","#5B6168","#22863A","#6F42C1","#6F42C1","#6A737D"]),"Night Owl":Y(["#011627","#b0bec5","#ffffff","#7e57c2","#152C3B","#2a373e","#607d8b","#001424","#addb67","#ecc48d","#c792ea","#f78c6c","#c792ea","#80CBC4","#b0bec5","#7fdbca","#82AAFF","#FAD430","#637777"]),"Light Owl":q(["#FAFAFA","#546e7a","#403f53","#269386","#E0E7EA","#efefef","#403F53","#FAFAFA","#0C969B","#c96765","#994cc3","#aa0982","#7d818b","#994cc3","#546e7a","#994cc3","#4876d6","#4876d6","#637777"]),AMOLED:Y(["#000000","#8F93A2","#FFFFFF","#68FFAE","#000000","#41465b","#4B526D","#000000","#DEFDF7","#38ff9f","#ab2eff","#A76DF7","#38ff9f","#86F3C7","#8F93A2","#ab2eff","#8293FF","#38ff9f","#6575c7"])},J=[],Q=1,ee=X.Light,te=function(e,t){e=N()(e);for(var n=0,o=J.length;n<o;n++)if(J[n].css===e)return;t=t||te.container||document.head;var r=document.createElement("style");r.type="text/css",t.appendChild(r);var i={css:e,el:r,container:t};return oe(i),J.push(i),i};function ne(){x()(J,(function(e){return oe(e)}))}function oe(e){var t=e.css,n=e.el;t=(t=t.replace(/(\d+)px/g,(function(e,t){return+t*Q+"px"}))).replace(/_/g,"eruda-");var o=R()(X.Light);x()(o,(function(e){t=t.replace(new RegExp("var\\(--".concat(L()(e),"\\)"),"g"),ee[e])})),n.innerText=t}te.setScale=function(e){Q=e,ne()},te.setTheme=function(e){ee=T()(e)?X[e]||X.Light:V()(e,X.Light),ne()},te.getCurTheme=function(){return ee},te.getThemes=function(){return X},te.clear=function(){x()(J,(function(e){var t=e.container,n=e.el;return t.removeChild(n)})),J=[]},te.remove=function(e){J=C()(J,(function(t){return t!==e})),e.container.removeChild(e.el)};var re=te,ie=n(1328);function ae(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ae=function(){return!!e})()}function le(e,t,n,o){var r=(0,f.A)((0,a.A)(e.prototype),t,n);return"function"==typeof r?function(e){return r.apply(n,e)}:r}var se=function(e){function t(){var e,r,l;return(0,o.A)(this,t),r=this,l=t,l=(0,a.A)(l),(e=(0,i.A)(r,ae()?Reflect.construct(l,[],(0,a.A)(r).constructor):l.apply(r,undefined)))._style=re(n(4923)),e.name="settings",e._settings=[],e}return(0,l.A)(t,e),(0,r.A)(t,[{key:"init",value:function(e){le(t,"init",this)([e]),this._setting=new ie.Ay(e.get(0)),this._bindEvent()}},{key:"remove",value:function(e,t){var n=this;if(T()(e)){var o=this;this._$el.find(".luna-setting-item-title").each((function(){v()(this).text()===e&&o._setting.remove(this.settingItem)}))}else this._settings=C()(this._settings,(function(o){return o.config!==e||o.key!==t||(n._setting.remove(o.item),!1)}));return this._cleanSeparator(),this}},{key:"destroy",value:function(){this._setting.destroy(),le(t,"destroy",this)([]),re.remove(this._style)}},{key:"clear",value:function(){this._settings=[],this._setting.clear()}},{key:"switch",value:function(e,t,n){var o=this._genId(),r=this._setting.appendCheckbox(o,!!e.get(t),n);return this._settings.push({config:e,key:t,id:o,item:r}),this}},{key:"select",value:function(e,t,n,o){var r=this._genId(),i={};x()(o,(function(e){return i[e]=e}));var a=this._setting.appendSelect(r,e.get(t),"",n,i);return this._settings.push({config:e,key:t,id:r,item:a}),this}},{key:"range",value:function(e,t,n,o){var r=o.min,i=void 0===r?0:r,a=o.max,l=void 0===a?1:a,s=o.step,c=void 0===s?.1:s,u=this._genId(),d=this._setting.appendNumber(u,e.get(t),n,{max:l,min:i,step:c,range:!0});return this._settings.push({config:e,key:t,min:i,max:l,step:c,id:u,item:d}),this}},{key:"button",value:function(e,t){return this._setting.appendButton(e,t),this}},{key:"separator",value:function(){return this._setting.appendSeparator(),this}},{key:"text",value:function(e){return this._setting.appendTitle(e),this}},{key:"_cleanSeparator",value:function(){var e=M()(this._$el.get(0).children);function t(e){return $()(e.getAttribute("class"),"luna-setting-item-separator")}for(var n=0,o=e.length;n<o-1;n++)t(e[n])&&t(e[n+1])&&v()(e[n]).remove()}},{key:"_genId",value:function(){return w()("eruda-settings")}},{key:"_getSetting",value:function(e){var t;return x()(this._settings,(function(n){n.id===e&&(t=n)})),t}},{key:"_bindEvent",value:function(){var e=this;this._setting.on("change",(function(t,n){var o=e._getSetting(t);o.config.set(o.key,n)}))}}],[{key:"createCfg",value:function(e,t){return new(b())("eruda-"+e,t)}}])}(m),ce=n(9041),ue=n.n(ce),de=n(7571),pe=n.n(de),fe=n(5546),he=n.n(fe),me=n(6032),ge=n.n(me),ve=(n(4950),n(8971)),ye=n.n(ve),be=n(3497),_e=n.n(be),we=n(3915),ke=n.n(we),xe=n(1947),Se=n.n(xe),Ce=n(6030),Ee=n.n(Ce),Te=n(9405),Ae=n.n(Te),$e=n(9548),Ie=n.n($e);function Me(e,t){var n;switch(ye()(t)&&(t=!0),e){case"local":n=window.localStorage;break;case"session":n=window.sessionStorage}try{var o="test-localStorage-"+Date.now();n.setItem(o,o);var r=n.getItem(o);if(n.removeItem(o),r!==o)throw new Error}catch(i){return t?Se():void 0}return n}function Pe(e){return Ee()(e.replace("px",""))}function Ne(e){for(;e;){if("eruda"===e.id)return!0;e=e.parentNode}return!1}function Oe(e){if(/<[^>]*>/g.test(e))try{var t=Ie().parse(e);return Re(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=De(e.attrs.class))})),Ie().stringify(t)}catch(n){return De(e)}return De(e)}function Re(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&Re(r.content,t)}}function De(e){var t="eruda-";return ke()(Ae()(e).split(/\s+/),(function(e){return $()(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}function Le(e,t){var n="x"===e?"clientX":"clientY";return t[n]?t[n]:t.changedTouches?t.changedTouches[0][n]:0}function Be(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Be=function(){return!!e})()}var Ve,ze=v()(document),Fe=function(e){function t(e){var r,l,c;return(0,o.A)(this,t),l=this,c=t,c=(0,a.A)(c),r=(0,i.A)(l,Be()?Reflect.construct(c,[],(0,a.A)(l).constructor):c.apply(l,undefined)),(0,s.A)(r,"_onDragStart",(function(e){var t=r._$el;t.addClass(Oe("active")),r._isClick=!0,e=e.origEvent,r._startX=Le("x",e),r._oldX=Pe(t.css("left")),r._oldY=Pe(t.css("top")),r._startY=Le("y",e),ze.on(he()("move"),r._onDragMove),ze.on(he()("up"),r._onDragEnd)})),(0,s.A)(r,"_onDragMove",(function(e){var t=r._$el.get(0).offsetWidth,n=r._$container.get(0).offsetWidth,o=r._$container.get(0).offsetHeight,i=Le("x",e=e.origEvent)-r._startX,a=Le("y",e)-r._startY;(Math.abs(i)>3||Math.abs(a)>3)&&(r._isClick=!1);var l=r._oldX+i,s=r._oldY+a;l<0?l=0:l>n-t&&(l=n-t),s<0?s=0:s>o-t&&(s=o-t),r._$el.css({left:l,top:s})})),(0,s.A)(r,"_onDragEnd",(function(e){var t=r._$el;r._isClick&&r.emit("click"),r._onDragMove(e),ze.off(he()("move"),r._onDragMove),ze.off(he()("up"),r._onDragEnd);var n=r.config;n.get("rememberPos")&&n.set("pos",{x:Pe(t.css("left")),y:Pe(t.css("top"))}),t.rmClass("eruda-active")})),r._style=re(n(6945)),r._$container=e,r._initTpl(),r._bindEvent(),r._registerListener(),r}return(0,l.A)(t,e),(0,r.A)(t,[{key:"hide",value:function(){this._$el.hide()}},{key:"show",value:function(){this._$el.show()}},{key:"setPos",value:function(e){this._isOutOfRange(e)&&(e=this._getDefPos()),this._$el.css({left:e.x,top:e.y}),this.config.set("pos",e)}},{key:"getPos",value:function(){return this.config.get("pos")}},{key:"destroy",value:function(){re.remove(this._style),this._unregisterListener(),this._$el.remove()}},{key:"_isOutOfRange",value:function(e){e=e||this.config.get("pos");var t=this._getDefPos();return e.x>t.x+10||e.x<0||e.y<0||e.y>t.y+10}},{key:"_registerListener",value:function(){var e=this;this._scaleListener=function(){return ue()((function(){e._isOutOfRange()&&e._resetPos()}))},p.on(p.SCALE,this._scaleListener)}},{key:"_unregisterListener",value:function(){p.off(p.SCALE,this._scaleListener)}},{key:"_initTpl",value:function(){var e=this._$container;e.append(Oe('<div class="entry-btn"><span class="icon-tool"></span></div>')),this._$el=e.find(".eruda-entry-btn")}},{key:"_resetPos",value:function(e){var t=this.config,n=t.get("pos"),o=this._getDefPos();t.get("rememberPos")&&!e||(n=o),this.setPos(n)}},{key:"_bindEvent",value:function(){var e=this;this._$el.on(he()("down"),this._onDragStart),pe().on("change",(function(){return e._resetPos(!0)})),window.addEventListener("resize",(function(){return e._resetPos()}))}},{key:"initCfg",value:function(e){var t=this.config=se.createCfg("entry-button",{rememberPos:!0,pos:this._getDefPos()});e.switch(t,"rememberPos","Remember Entry Button Position"),this._resetPos()}},{key:"_getDefPos",value:function(){var e=this._$el.get(0).offsetWidth+10;return{x:window.innerWidth-e,y:window.innerHeight-e}}}])}(u()),He=n(5458),je=n(7622),Ge=Ve=new(n.n(je)())("[Eruda]","warn");Ve.formatter=function(e,t){return t.unshift(this.name),t};var Ue=n(6097),We=n.n(Ue),Ye=n(7e3),qe=n.n(Ye),Ke=n(9931),Ze=n.n(Ke),Xe=n(1009),Je=n.n(Xe),Qe=n(5570),et=n.n(Qe),tt=n(1280),nt=n(9152),ot=n(9068);function rt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(rt=function(){return!!e})()}var it=function(e){function t(e){var r,l,c,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=u.defaults,p=void 0===d?{}:d,f=u.inline,h=void 0!==f&&f;return(0,o.A)(this,t),l=this,c=t,c=(0,a.A)(c),r=(0,i.A)(l,rt()?Reflect.construct(c,[],(0,a.A)(l).constructor):c.apply(l,undefined)),(0,s.A)(r,"_checkSafeArea",(function(){var e=r.$container;!function(){var e=!1,t=document.createElement("div");if(CSS.supports("padding-bottom: env(safe-area-inset-bottom)")?(t.style.paddingBottom="env(safe-area-inset-bottom)",e=!0):CSS.supports("padding-bottom: constant(safe-area-inset-bottom)")&&(t.style.paddingBottom="constant(safe-area-inset-bottom)",e=!0),e){document.body.appendChild(t);var n=parseInt(window.getComputedStyle(t).paddingBottom);if(document.body.removeChild(t),n>0)return!0}return!1}()?e.rmClass(Oe("safe-area")):e.addClass(Oe("safe-area"))})),(0,s.A)(r,"_updateTabHeight",(function(e){r._tab.setOption("height",40*e),ue()((function(){r._tab.updateSlider()}))})),r._defCfg=F()({transparency:1,displaySize:80,theme:"System preference"},p),r._style=re(n(849)),r.$container=e,r._isShow=!1,r._opacity=1,r._tools={},r._isResizing=!1,r._resizeTimer=null,r._resizeStartY=0,r._resizeStartSize=0,r._inline=h,r._initTpl(),r._initTab(),r._initNotification(),r._initModal(),et()((function(){return r._checkSafeArea()})),r._bindEvent(),r}return(0,l.A)(t,e),(0,r.A)(t,[{key:"show",value:function(){var e=this;return this._isShow=!0,this._$el.show(),this._tab.updateSlider(),setTimeout((function(){e._$el.css("opacity",e._opacity)}),50),this.emit("show"),this}},{key:"hide",value:function(){var e=this;if(!this._inline)return this._isShow=!1,this.emit("hide"),this._$el.css({opacity:0}),setTimeout((function(){return e._$el.hide()}),300),this}},{key:"toggle",value:function(){return this._isShow?this.hide():this.show()}},{key:"add",value:function(e){var t=this._tab;if(!(e instanceof m)){var n=new m,o=n.init,r=n.show,i=n.hide,a=n.destroy;V()(e,{init:o,show:r,hide:i,destroy:a})}var l=e.name;if(!l)return Ge.error("You must specify a name for a tool");if(this._tools[l])return Ge.warn("Tool ".concat(l," already exists"));var s=l.replace(/\s+/g,"-");return this._$tools.prepend('<div id="'.concat(Oe(s),'" class="').concat(Oe(s+" tool"),'"></div>')),e.init(this._$tools.find(".".concat(Oe(s),".").concat(Oe("tool"))),this),e.active=!1,this._tools[l]=e,"settings"===l?t.append({id:l,title:l}):t.insert(t.length-1,{id:l,title:l}),this}},{key:"remove",value:function(e){var t=this._tools;if(!t[e])return Ge.warn("Tool ".concat(e," doesn't exist"));this._tab.remove(e);var n=t[e];if(delete t[e],n.active){var o=R()(t);o.length>0&&this.showTool(t[_e()(o)].name)}return n.destroy(),this}},{key:"removeAll",value:function(){var e=this;return x()(this._tools,(function(t){return e.remove(t.name)})),this}},{key:"get",value:function(e){var t=this._tools[e];if(t)return t}},{key:"showTool",value:function(e){if(this._curTool===e)return this;this._curTool=e;var t=this._tools,n=t[e];if(n){var o={};return x()(t,(function(e){e.active&&(o=e,e.active=!1,e.hide())})),n.active=!0,n.show(),this._tab.select(e),this.emit("showTool",e,o),this}}},{key:"initCfg",value:function(e){var t=this,n=this.config=se.createCfg("dev-tools",this._defCfg);this._setTransparency(n.get("transparency")),this._setDisplaySize(n.get("displaySize")),this._setTheme(n.get("theme")),n.on("change",(function(e,n){switch(e){case"transparency":return t._setTransparency(n);case"displaySize":return t._setDisplaySize(n);case"theme":return t._setTheme(n)}})),e.separator().select(n,"theme","Theme",["System preference"].concat((0,He.A)(R()(re.getThemes())))),this._inline||e.range(n,"transparency","Transparency",{min:.2,max:1,step:.01}).range(n,"displaySize","Display Size",{min:40,max:100,step:1}),e.button("Restore defaults and reload",(function(){var e=Me("local"),t=JSON.parse(JSON.stringify(e));x()(t,(function(t,n){T()(t)&&Je()(n,"eruda")&&e.removeItem(n)})),window.location.reload()})).separator()}},{key:"notify",value:function(e,t){this._notification.notify(e,t)}},{key:"destroy",value:function(){re.remove(this._style),this.removeAll(),this._tab.destroy(),this._$el.remove(),window.removeEventListener("resize",this._checkSafeArea),p.off(p.SCALE,this._updateTabHeight)}},{key:"_setTheme",value:function(e){var t=this.$container;"System preference"===e&&(e=Ze()(qe().get())),Z(e)?t.addClass(Oe("dark")):t.rmClass(Oe("dark")),re.setTheme(e)}},{key:"_setTransparency",value:function(e){We()(e)&&(this._opacity=e,this._isShow&&this._$el.css({opacity:e}))}},{key:"_setDisplaySize",value:function(e){this._inline&&(e=100),We()(e)&&this._$el.css({height:e+"%"})}},{key:"_initTpl",value:function(){var e=this.$container;e.append(Oe('\n <div class="dev-tools">\n <div class="resizer"></div>\n <div class="tab"></div>\n <div class="tools"></div>\n <div class="notification"></div>\n <div class="modal"></div>\n </div>\n ')),this._$el=e.find(Oe(".dev-tools")),this._$tools=this._$el.find(Oe(".tools"))}},{key:"_initTab",value:function(){var e=this;this._tab=new ot.A(this._$el.find(Oe(".tab")).get(0),{height:40}),this._tab.on("select",(function(t){return e.showTool(t)}))}},{key:"_initNotification",value:function(){this._notification=new tt.A(this._$el.find(Oe(".notification")).get(0),{position:{x:"center",y:"top"}})}},{key:"_initModal",value:function(){nt.A.setContainer(this._$el.find(Oe(".modal")).get(0))}},{key:"_bindEvent",value:function(){var e=this,t=this._$el.find(Oe(".resizer")),n=this._$el.find(Oe(".nav-bar")),o=v()(document);this._inline&&t.hide();var r=function(t){if(e._isResizing){t.preventDefault(),t.stopPropagation(),t=t.origEvent;var n=(e._resizeStartY-Le("y",t))/window.innerHeight*100,o=e._resizeStartSize+n;o<40?o=40:o>100&&(o=100),e.config.set("displaySize",Ee()(o.toFixed(2)))}},i=function(){clearTimeout(e._resizeTimer),e._isResizing=!1,t.css("height",10),o.off(he()("move"),r),o.off(he()("up"),i)};t.css("height",10),t.on(he()("down"),(function(n){n.preventDefault(),n.stopPropagation(),n=n.origEvent,e._isResizing=!0,e._resizeStartSize=e.config.get("displaySize"),e._resizeStartY=Le("y",n),t.css("height","100%"),o.on(he()("move"),r),o.on(he()("up"),i)})),n.on("contextmenu",(function(e){return e.preventDefault()})),this.$container.on("click",(function(e){return e.stopPropagation()})),window.addEventListener("resize",this._checkSafeArea),p.on(p.SCALE,this._updateTabHeight),qe().on("change",(function(){var t=e.config.get("theme");"System preference"===t&&e._setTheme(t)}))}}])}(u()),at=n(9993),lt=n.n(at),st=n(3957),ct=n.n(st),ut=n(1976),dt=n.n(ut),pt=n(6962),ft=n.n(pt),ht=n(8609),mt=n.n(ht),gt=n(4236),vt=n.n(gt),yt=n(8988);function bt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(bt=function(){return!!e})()}function _t(e,t,n,o){var r=(0,f.A)((0,a.A)(e.prototype),t,n);return"function"==typeof r?function(e){return r.apply(n,e)}:r}ft().start();var wt=function(e){function t(){var e,n,r,l=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).name,c=void 0===l?"console":l;return(0,o.A)(this,t),n=this,r=t,r=(0,a.A)(r),e=(0,i.A)(n,bt()?Reflect.construct(r,[],(0,a.A)(n).constructor):r.apply(n,undefined)),(0,s.A)(e,"_handleShow",(function(){mt()(e._$el.get(0))||e._logger.renderViewport()})),(0,s.A)(e,"_handleErr",(function(t){e._logger.error(t)})),u().mixin(e),e.name=c,e._selectedLog=null,e}return(0,l.A)(t,e),(0,r.A)(t,[{key:"init",value:function(e,n){_t(t,"init",this)([e]),this._container=n,this._appendTpl(),this._initCfg(),this._initLogger(),this._exposeLogger(),this._bindEvent()}},{key:"show",value:function(){_t(t,"show",this)([]),this._handleShow()}},{key:"overrideConsole",value:function(){var e=this,t=this._origConsole={},n=window.console;return kt.forEach((function(o){var r=t[o]=lt();n[o]&&(r=t[o]=n[o].bind(n)),n[o]=function(){e[o].apply(e,arguments),r.apply(void 0,arguments)}})),this}},{key:"setGlobal",value:function(e,t){this._logger.setGlobal(e,t)}},{key:"restoreConsole",value:function(){var e=this;return this._origConsole?(kt.forEach((function(t){return window.console[t]=e._origConsole[t]})),delete this._origConsole,this):this}},{key:"catchGlobalErr",value:function(){return ft().addListener(this._handleErr),this}},{key:"ignoreGlobalErr",value:function(){return ft().rmListener(this._handleErr),this}},{key:"filter",value:function(e){var t=this._$filterText,n=this._logger;T()(e)?(t.text(e),n.setOption("filter",Ae()(e))):dt()(e)?(t.text(N()(e)),n.setOption("filter",e)):ct()(e)&&(t.text("ƒ"),n.setOption("filter",e))}},{key:"destroy",value:function(){this._logger.destroy(),_t(t,"destroy",this)([]),this._container.off("show",this._handleShow),this._style&&re.remove(this._style),this.ignoreGlobalErr(),this.restoreConsole(),this._rmCfg()}},{key:"_enableJsExecution",value:function(e){var t=this._$el,n=t.find(Oe(".js-input"));e?(n.show(),t.rmClass(Oe("js-input-hidden"))):(n.hide(),t.addClass(Oe("js-input-hidden")))}},{key:"_appendTpl",value:function(){var e=this._$el;this._style=re(n(5067)),e.append(Oe('\n <div class="control">\n <span class="icon-clear clear-console"></span>\n <span class="level active" data-level="all">All</span>\n <span class="level" data-level="info">Info</span>\n <span class="level" data-level="warning">Warning</span>\n <span class="level" data-level="error">Error</span>\n <span class="filter-text"></span>\n <span class="icon-filter filter"></span>\n <span class="icon-copy icon-disabled copy"></span>\n </div>\n <div class="logs-container"></div>\n <div class="js-input">\n <div class="buttons">\n <div class="button cancel">Cancel</div>\n <div class="button execute">Execute</div>\n </div>\n <span class="icon-arrow-right"></span>\n <textarea></textarea>\n </div>\n '));var t=e.find(Oe(".js-input")),o=t.find("textarea"),r=t.find(Oe(".buttons"));F()(this,{_$control:e.find(Oe(".control")),_$logs:e.find(Oe(".logs-container")),_$inputContainer:t,_$input:o,_$inputBtns:r,_$filterText:e.find(Oe(".filter-text"))})}},{key:"_initLogger",value:function(){var e=this.config,t=e.get("maxLogNum");t="infinite"===t?0:+t;var n=this._$control.find(Oe(".level")),o=new yt.A(this._$logs.get(0),{asyncRender:e.get("asyncRender"),maxNum:t,showHeader:e.get("displayExtraInfo"),unenumerable:e.get("displayUnenumerable"),accessGetter:e.get("displayGetterVal"),lazyEvaluation:e.get("lazyEvaluation")});o.on("optionChange",(function(e,t){"level"===e&&n.each((function(){var e=v()(this),n=e.data("level");e[n===t||"all"===n&&j()(t)?"addClass":"rmClass"](Oe("active"))}))})),e.get("overrideConsole")&&this.overrideConsole(),this._logger=o}},{key:"_exposeLogger",value:function(){var e=this,t=this._logger;["html"].concat(kt).forEach((function(n){return e[n]=function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return t[n].apply(t,r),e.emit.apply(e,[n].concat(r)),e}}))}},{key:"_bindEvent",value:function(){var e=this,t=this._container,n=this._$input,o=this._$inputBtns,r=this._$control,i=this._logger,a=this.config;r.on("click",Oe(".clear-console"),(function(){return i.clear(!0)})).on("click",Oe(".level"),(function(){var e=v()(this).data("level");"all"===e&&(e=["verbose","info","warning","error"]),i.setOption("level",e)})).on("click",Oe(".filter"),(function(){nt.A.prompt("Filter").then((function(t){vt()(t)||e.filter(t)}))})).on("click",Oe(".copy"),(function(){e._selectedLog.copy(),t.notify("Copied",{icon:"success"})})),o.on("click",Oe(".cancel"),(function(){return e._hideInput()})).on("click",Oe(".execute"),(function(){var t=n.val().trim();""!==t&&(i.evaluate(t),n.val("").get(0).blur(),e._hideInput())})),n.on("focusin",(function(){return e._showInput()})),i.on("insert",(function(e){"error"===e.type&&a.get("displayIfErr")&&t.showTool("console").show()})),i.on("select",(function(t){e._selectedLog=t,r.find(Oe(".icon-copy")).rmClass(Oe("icon-disabled"))})),i.on("deselect",(function(){e._selectedLog=null,r.find(Oe(".icon-copy")).addClass(Oe("icon-disabled"))})),t.on("show",this._handleShow)}},{key:"_hideInput",value:function(){this._$inputContainer.rmClass(Oe("active")),this._$inputBtns.css("display","none")}},{key:"_showInput",value:function(){this._$inputContainer.addClass(Oe("active")),this._$inputBtns.css("display","flex")}},{key:"_rmCfg",value:function(){var e=this.config,t=this._container.get("settings");t&&t.remove(e,"asyncRender").remove(e,"jsExecution").remove(e,"catchGlobalErr").remove(e,"overrideConsole").remove(e,"displayExtraInfo").remove(e,"displayUnenumerable").remove(e,"displayGetterVal").remove(e,"lazyEvaluation").remove(e,"displayIfErr").remove(e,"maxLogNum").remove(Ze()(this.name))}},{key:"_initCfg",value:function(){var e=this,t=this._container,n=this.config=se.createCfg(this.name,{asyncRender:!0,catchGlobalErr:!0,jsExecution:!0,overrideConsole:!0,displayExtraInfo:!1,displayUnenumerable:!0,displayGetterVal:!0,lazyEvaluation:!0,displayIfErr:!1,maxLogNum:"infinite"});this._enableJsExecution(n.get("jsExecution")),n.get("catchGlobalErr")&&this.catchGlobalErr(),n.on("change",(function(t,n){var o=e._logger;switch(t){case"asyncRender":return o.setOption("asyncRender",n);case"jsExecution":return e._enableJsExecution(n);case"catchGlobalErr":return n?e.catchGlobalErr():e.ignoreGlobalErr();case"overrideConsole":return n?e.overrideConsole():e.restoreConsole();case"maxLogNum":return o.setOption("maxNum","infinite"===n?0:+n);case"displayExtraInfo":return o.setOption("showHeader",n);case"displayUnenumerable":return o.setOption("unenumerable",n);case"displayGetterVal":return o.setOption("accessGetter",n);case"lazyEvaluation":return o.setOption("lazyEvaluation",n)}}));var o=t.get("settings");o&&o.text(Ze()(this.name)).switch(n,"asyncRender","Asynchronous Rendering").switch(n,"jsExecution","Enable JavaScript Execution").switch(n,"catchGlobalErr","Catch Global Errors").switch(n,"overrideConsole","Override Console").switch(n,"displayIfErr","Auto Display If Error Occurs").switch(n,"displayExtraInfo","Display Extra Information").switch(n,"displayUnenumerable","Display Unenumerable Properties").switch(n,"displayGetterVal","Access Getter Value").switch(n,"lazyEvaluation","Lazy Evaluation").select(n,"maxLogNum","Max Log Number",["infinite","250","125","100","50","10"]).separator()}}])}(m),kt=["log","error","info","warn","dir","time","timeLog","timeEnd","clear","table","assert","count","countReset","debug","group","groupCollapsed","groupEnd"],xt=n(9117),St=n.n(xt),Ct=n(9464),Et=n.n(Ct),Tt=n(5902),At=n.n(Tt),$t=n(4844),It=n.n($t),Mt=n(4983),Pt=n.n(Mt),Nt=n(15),Ot=n.n(Nt);function Rt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Rt=function(){return!!e})()}var Dt=function(e){function t(e,n){var r,l,c;return(0,o.A)(this,t),l=this,c=t,c=(0,a.A)(c),r=(0,i.A)(l,Rt()?Reflect.construct(c,[],(0,a.A)(l).constructor):c.apply(l,undefined)),(0,s.A)(r,"_copyRes",(function(){var e=r._detailData,t="".concat(e.method," ").concat(e.url," ").concat(e.status,"\n");Et()(e.data)||(t+="\nRequest Data\n\n",t+="".concat(e.data,"\n")),Et()(e.reqHeaders)||(t+="\nRequest Headers\n\n",x()(e.reqHeaders,(function(e,n){return t+="".concat(n,": ").concat(e,"\n")}))),Et()(e.resHeaders)||(t+="\nResponse Headers\n\n",x()(e.resHeaders,(function(e,n){return t+="".concat(n,": ").concat(e,"\n")}))),e.resTxt&&(t+="\n".concat(e.resTxt,"\n")),It()(t),r._devtools.notify("Copied",{icon:"success"})})),r._$container=e,r._devtools=n,r._detailData={},r._bindEvent(),r}return(0,l.A)(t,e),(0,r.A)(t,[{key:"show",value:function(e){e.resTxt&&""===Ae()(e.resTxt)&&delete e.resTxt,Et()(e.resHeaders)&&delete e.resHeaders,Et()(e.reqHeaders)&&delete e.reqHeaders;var t="";e.data&&(t='<pre class="'.concat(Oe("data"),'">').concat(At()(e.data),"</pre>"));var n="<tr><td>Empty</td></tr>";e.reqHeaders&&(n=ke()(e.reqHeaders,(function(e,t){return'<tr>\n <td class="'.concat(Oe("key"),'">').concat(At()(t),"</td>\n <td>").concat(At()(e),"</td>\n </tr>")})).join(""));var o="<tr><td>Empty</td></tr>";e.resHeaders&&(o=ke()(e.resHeaders,(function(e,t){return'<tr>\n <td class="'.concat(Oe("key"),'">').concat(At()(t),"</td>\n <td>").concat(At()(e),"</td>\n </tr>")})).join(""));var r="";if(e.resTxt){var i=e.resTxt;i.length>Lt&&(i=Ot()(i,Lt)),r='<pre class="'.concat(Oe("response"),'">').concat(At()(i),"</pre>")}var a='<div class="'.concat(Oe("control"),'">\n <span class="').concat(Oe("icon-arrow-left back"),'"></span>\n <span class="').concat(Oe("icon-delete back"),'"></span>\n <span class="').concat(Oe("url"),'">').concat(At()(e.url),'</span>\n <span class="').concat(Oe("icon-copy copy-res"),'"></span>\n </div>\n <div class="').concat(Oe("http"),'">\n ').concat(t,'\n <div class="').concat(Oe("section"),'">\n <h2>Response Headers</h2>\n <table class="').concat(Oe("headers"),'">\n <tbody>\n ').concat(o,'\n </tbody>\n </table>\n </div>\n <div class="').concat(Oe("section"),'">\n <h2>Request Headers</h2>\n <table class="').concat(Oe("headers"),'">\n <tbody>\n ').concat(n,"\n </tbody>\n </table>\n </div>\n ").concat(r,"\n </div>");this._$container.html(a).show(),this._detailData=e}},{key:"hide",value:function(){this._$container.hide(),this.emit("hide")}},{key:"_bindEvent",value:function(){var e=this,t=this._devtools;this._$container.on("click",Oe(".back"),(function(){return e.hide()})).on("click",Oe(".copy-res"),this._copyRes).on("click",Oe(".http .response"),(function(){var t=e._detailData,o=t.resTxt;if(Pt()(o))return n("object",o);switch(t.subType){case"css":return n("css",o);case"html":return n("html",o);case"javascript":return n("js",o);case"json":return n("object",o)}return"image"===t.type?n("img",t.url):void 0}));var n=function(e,n){var o=t.get("sources");o&&(o.set(e,n),t.showTool("sources"))}}}])}(u()),Lt=1e5,Bt=n(5865),Vt=n.n(Bt),zt=n(6476),Ft=n.n(zt),Ht=n(5334),jt=n(2480),Gt=n(6192),Ut=n(5689);function Wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(n),!0).forEach((function(t){(0,s.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qt=new(Ft());qt.register("Network",Ht),qt.register("Overlay",jt),qt.register("DOM",Yt(Yt({},Gt),{},{getNodeId:Gt.getDOMNodeId,getNode:Gt.getDOMNode})),qt.register("Storage",Ut);var Kt=qt,Zt=n(92),Xt=n(4095),Jt=n.n(Xt),Qt=n(3737),en=n.n(Qt),tn=n(5004),nn=n.n(tn),on=n(1849),rn=n.n(on);function an(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(an=function(){return!!e})()}function ln(e,t,n,o){var r=(0,f.A)((0,a.A)(e.prototype),t,n);return"function"==typeof r?function(e){return r.apply(n,e)}:r}var sn=function(e){function t(){var e,r,l;return(0,o.A)(this,t),r=this,l=t,l=(0,a.A)(l),e=(0,i.A)(r,an()?Reflect.construct(l,[],(0,a.A)(r).constructor):l.apply(r,undefined)),(0,s.A)(e,"_reqWillBeSent",(function(t){if(e._isRecording){var n,o,r,i={name:(n=t.request.url,o=_e()(n.split("/")),""===o&&(o=(n=new(ge())(n)).hostname),o),url:t.request.url,status:"pending",type:"unknown",subType:"unknown",size:0,data:t.request.postData,method:t.request.method,startTime:1e3*t.timestamp,time:0,resTxt:"",done:!1,reqHeaders:t.request.headers||{},resHeaders:{},render:function(){var n={name:i.name,method:i.method,status:i.status,type:i.subType,size:i.size,time:i.displayTime};r?(r.data=n,r.render()):(r=e._requestDataGrid.append(n,{selectable:!0}),v()(r.container).data("id",t.requestId)),i.hasErr&&v()(r.container).addClass(Oe("request-error"))}};i.render(),e._requests[t.requestId]=i}})),(0,s.A)(e,"_resReceivedExtraInfo",(function(t){var n=e._requests[t.requestId];e._isRecording&&n&&(n.resHeaders=t.headers,e._updateType(n),n.render())})),(0,s.A)(e,"_resReceived",(function(t){var n=e._requests[t.requestId];if(e._isRecording&&n){var o=t.response,r=o.status,i=o.headers;n.status=r,(r<200||r>=300)&&(n.hasErr=!0),i&&(n.resHeaders=i,e._updateType(n)),n.render()}})),(0,s.A)(e,"_loadingFinished",(function(t){var n=e._requests[t.requestId];if(e._isRecording&&n){var o=1e3*t.timestamp;n.time=o-n.startTime,n.displayTime=St()(n.time),n.size=t.encodedDataLength,n.done=!0,n.resTxt=Kt.domain("Network").getResponseBody({requestId:t.requestId}).body,n.render()}})),(0,s.A)(e,"_loadingFailed",(function(t){var n=e._requests[t.requestId];if(e._isRecording&&n){var o=1e3*t.timestamp;n.time=o-n.startTime,n.displayTime=St()(n.time),n.hasErr=!0,n.status=0,n.done=!0,n.render()}})),(0,s.A)(e,"_copyCurl",(function(){var t=e._selectedRequest;It()(function(e){var t=nn()();"windows"===t&&(t="win");var n=[],o=rn()(["accept-encoding","host","method","path","scheme","version"]),r="win"===t?function(e){var t=/[\r\n]/.test(e)?'^"':'"';return t+e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/[^a-zA-Z0-9\s_\-:=+~'\/.',?;()*`&]/g,"^$&").replace(/%(?=[a-zA-Z0-9_])/g,"%^").replace(/\r?\n/g,"^\n\n")+t}:function(e){return/[\0-\x1F\x7F-\x9F!]|\'/.test(e)?"$'"+e.replace(/\\/g,"\\\\").replace(/\'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\0-\x1F\x7F-\x9F!]/g,(function(e){for(var t=e.charCodeAt(0).toString(16);t.length<4;)t="0"+t;return"\\u"+t}))+"'":"'"+e+"'"};n.push(r(e.url()).replace(/[[{}\]]/g,"\\$&"));var i="GET",a=[],l=e.requestFormData();l&&(a.push("--data-raw "+r(l)),o["content-length"]=!0,i="POST"),e.requestMethod!==i&&n.push("-X "+r(e.requestMethod));for(var s=e.requestHeaders(),c=0;c<s.length;c++){var u=s[c],d=u.name.replace(/^:/,"");o[d.toLowerCase()]||n.push("-H "+r(d+": "+u.value))}return(n=n.concat(a)).push("--compressed"),"curl "+n.join(n.length>=3?"win"===t?" ^\n ":" \\\n ":" ")}({requestMethod:t.method,url:function(){return t.url},requestFormData:function(){return t.data},requestHeaders:function(){var e=t.reqHeaders||{};return F()(e,{"User-Agent":navigator.userAgent,Referer:location.href}),ke()(e,(function(e,t){return{name:t,value:e}}))}})),e._container.notify("Copied",{icon:"success"})})),(0,s.A)(e,"_toggleRecording",(function(){e._$control.find(Oe(".record")).toggleClass(Oe("recording")),e._isRecording=!e._isRecording})),(0,s.A)(e,"_showDetail",(function(){e._selectedRequest&&(e._splitMode&&e._$network.css("width","50%"),e._detail.show(e._selectedRequest))})),(0,s.A)(e,"_updateScale",(function(t){e._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*t,"px)"))})),e._style=re(n(2003)),e.name="network",e._requests={},e._selectedRequest=null,e._isRecording=!0,e}return(0,l.A)(t,e),(0,r.A)(t,[{key:"init",value:function(e,n){ln(t,"init",this)([e]),this._container=n,this._initTpl(),this._detail=new Dt(this._$detail,n),this._splitMediaQuery=new(en())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._requestDataGrid=new Zt.A(this._$requests.get(0),{columns:[{id:"name",title:"Name",sortable:!0,weight:30},{id:"method",title:"Method",sortable:!0,weight:14},{id:"status",title:"Status",sortable:!0,weight:14},{id:"type",title:"Type",sortable:!0,weight:14},{id:"size",title:"Size",sortable:!0,weight:14},{id:"time",title:"Time",sortable:!0,weight:14}]}),this._resizeSensor=new(Jt())(e.get(0)),this._bindEvent()}},{key:"show",value:function(){ln(t,"show",this)([]),this._updateDataGridHeight()}},{key:"clear",value:function(){this._requests={},this._requestDataGrid.clear()}},{key:"requests",value:function(){var e=[];return x()(this._requests,(function(t){e.push(t)})),e}},{key:"_updateDataGridHeight",value:function(){var e=this._$el.offset().height-this._$control.offset().height;this._requestDataGrid.setOption({minHeight:e,maxHeight:e})}},{key:"_updateType",value:function(e){var t=function(e){if(!e)return"unknown";var t=e.split(";")[0].split("/");return{type:t[0],subType:_e()(t)}}(e.resHeaders["content-type"]||""),n=t.type,o=t.subType;e.type=n,e.subType=o}},{key:"_updateButtons",value:function(){var e=this._$control,t=e.find(Oe(".show-detail")),n=e.find(Oe(".copy-curl")),o=Oe("icon-disabled");t.addClass(o),n.addClass(o),this._selectedRequest&&(t.rmClass(o),n.rmClass(o))}},{key:"_bindEvent",value:function(){var e=this,t=this._$control,n=this._$filterText,o=this._requestDataGrid,r=this;t.on("click",Oe(".clear-request"),(function(){return e.clear()})).on("click",Oe(".show-detail"),this._showDetail).on("click",Oe(".copy-curl"),this._copyCurl).on("click",Oe(".record"),this._toggleRecording).on("click",Oe(".filter"),(function(){nt.A.prompt("Filter").then((function(e){vt()(e)||(n.text(e),o.setOption("filter",Ae()(e)))}))})),o.on("select",(function(t){var n=v()(t.container).data("id"),o=r._requests[n];e._selectedRequest=o,e._updateButtons(),e._splitMode&&e._showDetail()})),o.on("deselect",(function(){e._selectedRequest=null,e._updateButtons(),e._detail.hide()})),this._resizeSensor.addListener(Vt()((function(){return e._updateDataGridHeight()}),15)),this._splitMediaQuery.on("match",(function(){e._detail.hide(),e._splitMode=!0})),this._splitMediaQuery.on("unmatch",(function(){e._detail.hide(),e._splitMode=!1})),this._detail.on("hide",(function(){e._splitMode&&e._$network.css("width","100%")})),Kt.domain("Network").enable();var i=Kt.domain("Network");i.on("requestWillBeSent",this._reqWillBeSent),i.on("responseReceivedExtraInfo",this._resReceivedExtraInfo),i.on("responseReceived",this._resReceived),i.on("loadingFinished",this._loadingFinished),i.on("loadingFailed",this._loadingFailed),p.on(p.SCALE,this._updateScale)}},{key:"destroy",value:function(){ln(t,"destroy",this)([]),this._resizeSensor.destroy(),re.remove(this._style),this._splitMediaQuery.removeAllListeners();var e=Kt.domain("Network");e.off("requestWillBeSent",this._reqWillBeSent),e.off("responseReceivedExtraInfo",this._resReceivedExtraInfo),e.off("responseReceived",this._resReceived),e.off("loadingFinished",this._loadingFinished),p.off(p.SCALE,this._updateScale)}},{key:"_initTpl",value:function(){var e=this._$el;e.html(Oe('<div class="network">\n <div class="control">\n <span class="icon-record record recording"></span>\n <span class="icon-clear clear-request"></span>\n <span class="icon-eye icon-disabled show-detail"></span>\n <span class="icon-copy icon-disabled copy-curl"></span>\n <span class="filter-text"></span>\n <span class="icon-filter filter"></span>\n </div>\n <div class="requests"></div>\n </div>\n <div class="detail"></div>')),this._$network=e.find(Oe(".network")),this._$detail=e.find(Oe(".detail")),this._$requests=e.find(Oe(".requests")),this._$control=e.find(Oe(".control")),this._$filterText=e.find(Oe(".filter-text"))}}])}(m),cn=n(2708),un=n.n(cn),dn=n(1167),pn=n.n(dn),fn=n(7181),hn=n.n(fn),mn=n(5452),gn=n(96),vn=n.n(gn),yn=n(896),bn=n.n(yn),_n=n(438),wn=n.n(_n),kn=n(6493),xn=n.n(kn),Sn=n(6186),Cn=n.n(Sn),En=n(5241),Tn=n.n(En),An=n(2208),$n=n.n(An),In=n(5145),Mn=n.n(In);function Pn(e){for(var t={},n=0,o=e.length;n<o;n++){var r=e[n];"initial"!==e[r]&&(t[r]=e[r])}return i=t,Mn()(i,{comparator:function(e,t){for(var n=e.length,o=t.length,r=n>o?o:n,i=0;i<r;i++){var a=Dn(e.charCodeAt(i),t.charCodeAt(i));if(0!==a)return a}return n>o?1:n<o?-1:0}});var i}var Nn=Element.prototype,On=function(){return!1};Nn.webkitMatchesSelector?On=function(e,t){return e.webkitMatchesSelector(t)}:Nn.mozMatchesSelector&&(On=function(e,t){return e.mozMatchesSelector(t)});var Rn=(0,r.A)((function e(t){(0,o.A)(this,e),this._el=t}),[{key:"getComputedStyle",value:function(){return Pn(window.getComputedStyle(this._el))}},{key:"getMatchedCSSRules",value:function(){var e=this,t=[];return x()(document.styleSheets,(function(n){try{if(!n.cssRules)return}catch(o){return}x()(n.cssRules,(function(n){var r=!1;try{r=e._elMatchesSel(n.selectorText)}catch(o){}r&&t.push({selectorText:n.selectorText,style:Pn(n.style)})}))})),t}},{key:"_elMatchesSel",value:function(e){return On(this._el,e)}}]);function Dn(e,t){return(e=Ln(e))>(t=Ln(t))?1:e<t?-1:0}function Ln(e){return 45===e?123:e}var Bn=n(3312);function Vn(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noAttr,n=void 0!==t&&t;if(e.nodeType===Node.TEXT_NODE)return'<span class="'.concat(Oe("tag-name-color"),'">(text)</span>');if(e.nodeType===Node.COMMENT_NODE)return'<span class="'.concat(Oe("tag-name-color"),'">\x3c!--\x3e</span>');if(hn()(e))return'<span class="'.concat(Oe("tag-name-color"),'">#shadow-root</span>');var o=e.id,r=e.className,i=e.attributes,a='<span class="eruda-tag-name-color">'.concat(e.tagName.toLowerCase(),"</span>");if(""!==o&&(a+='<span class="eruda-function-color">#'.concat(o,"</span>")),T()(r)){var l="";x()(r.split(/\s+/g),(function(e){""!==e.trim()&&(l+=".".concat(e))})),a+='<span class="eruda-attribute-name-color">'.concat(l,"</span>")}return n||x()(i,(function(e){var t=e.name;"id"!==t&&"class"!==t&&"style"!==t&&(a+=' <span class="eruda-attribute-name-color">'.concat(t,'</span><span class="eruda-operator-color">="</span><span class="eruda-string-color">').concat(e.value,'</span><span class="eruda-operator-color">"</span>'))})),a}var zn=(0,r.A)((function e(t,n){var r=this;(0,o.A)(this,e),(0,s.A)(this,"hide",(function(){r._$container.hide(),r._disableObserver(),Kt.domain("Overlay").hideHighlight()})),(0,s.A)(this,"_highlight",(function(e){var t=r._curEl,n={showInfo:!1};e&&"all"!==e?"margin"===e?n.marginColor="rgba(246, 178, 107, .66)":"border"===e?n.borderColor="rgba(255, 229, 153, .66)":"padding"===e?n.paddingColor="rgba(147, 196, 125, .55)":"content"===e&&(n.contentColor="rgba(111, 168, 220, .66)"):F()(n,{showInfo:!0,contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"});var o=Kt.domain("DOM").getNodeId({node:t}).nodeId;Kt.domain("Overlay").highlightNode({nodeId:o,highlightConfig:n})})),this._$container=t,this._devtools=n,this._curEl=document.documentElement,this._initObserver(),this._initCfg(),this._initTpl(),this._bindEvent()}),[{key:"show",value:function(e){this._curEl=e,this._rmDefComputedStyle=!0,this._computedStyleSearchKeyword="",this._enableObserver(),this._render(),this._highlight()}},{key:"destroy",value:function(){this._disableObserver(),this.restoreEventTarget(),this._rmCfg()}},{key:"overrideEventTarget",value:function(){var e=Kn(),t=this._origAddEvent=e.addEventListener,n=this._origRmEvent=e.removeEventListener;e.addEventListener=function(e,n,o){!function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(un()(e)&&ct()(n)&&xn()(o)){var r=e.erudaEvents=e.erudaEvents||{};r[t]=r[t]||[],r[t].push({listener:n,listenerStr:n.toString(),useCapture:o})}}(this,e,n,o),t.apply(this,arguments)},e.removeEventListener=function(e,t,o){!function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(un()(e)&&ct()(n)&&xn()(o)){var r=e.erudaEvents;if(r&&r[t]){for(var i=r[t],a=0,l=i.length;a<l;a++)if(i[a].listener===n){i.splice(a,1);break}0===i.length&&delete r[t],0===R()(r).length&&delete e.erudaEvents}}}(this,e,t,o),n.apply(this,arguments)}}},{key:"restoreEventTarget",value:function(){var e=Kn();this._origAddEvent&&(e.addEventListener=this._origAddEvent),this._origRmEvent&&(e.removeEventListener=this._origRmEvent)}},{key:"_initTpl",value:function(){var e=this._$container,t='<div class="'.concat(Oe("control"),'">\n <span class="').concat(Oe("icon-arrow-left back"),'"></span>\n <span class="').concat(Oe("element-name"),'"></span>\n <span class="').concat(Oe("icon-refresh refresh"),'"></span>\n </div>\n <div class="').concat(Oe("element"),'">\n <div class="').concat(Oe("attributes section"),'"></div>\n <div class="').concat(Oe("styles section"),'"></div>\n <div class="').concat(Oe("computed-style section"),'"></div>\n <div class="').concat(Oe("listeners section"),'"></div>\n </div>');e.html(t),this._$elementName=e.find(Oe(".element-name")),this._$attributes=e.find(Oe(".attributes")),this._$styles=e.find(Oe(".styles")),this._$listeners=e.find(Oe(".listeners")),this._$computedStyle=e.find(Oe(".computed-style"));var n=Tn()("div");this._$boxModel=v()(n),this._boxModel=new Bn.A(n)}},{key:"_toggleAllComputedStyle",value:function(){this._rmDefComputedStyle=!this._rmDefComputedStyle,this._render()}},{key:"_render",value:function(){var e=this._getData(this._curEl),t=this._$attributes,n=this._$elementName,o=this._$styles,r=this._$computedStyle,i=this._$listeners;n.html(e.name);var a="<tr><td>Empty</td></tr>";Et()(e.attributes)||(a=ke()(e.attributes,(function(e){var t=e.name,n=e.value;return'<tr>\n <td class="'.concat(Oe("attribute-name-color"),'">').concat(At()(t),'</td>\n <td class="').concat(Oe("string-color"),'">').concat(n,"</td>\n </tr>")})).join("")),a='<h2>Attributes</h2>\n <div class="'.concat(Oe("table-wrapper"),'">\n <table>\n <tbody>\n ').concat(a," \n </tbody>\n </table>\n </div>"),t.html(a);var l="";if(Et()(e.styles))o.hide();else{var s=ke()(e.styles,(function(e){var t=e.selectorText,n=e.style;return n=ke()(n,(function(e,t){return'<div class="'.concat(Oe("rule"),'"><span>').concat(At()(t),"</span>: ").concat(e,";</div>")})).join(""),'<div class="'.concat(Oe("style-rules"),'">\n <div>').concat(At()(t)," {</div>\n ").concat(n,"\n <div>}</div>\n </div>")})).join("");l='<h2>Styles</h2>\n <div class="'.concat(Oe("style-wrapper"),'">\n ').concat(s,"\n </div>"),o.html(l).show()}var c="";if(e.computedStyle){var u=Oe('<div class="btn toggle-all-computed-style">\n <span class="icon-expand"></span>\n </div>');e.rmDefComputedStyle&&(u=Oe('<div class="btn toggle-all-computed-style">\n <span class="icon-compress"></span>\n </div>')),c="<h2>\n Computed Style\n ".concat(u,'\n <div class="').concat(Oe("btn computed-style-search"),'">\n <span class="').concat(Oe("icon-filter"),'"></span>\n </div>\n ').concat(e.computedStyleSearchKeyword?'<div class="'.concat(Oe("btn filter-text"),'">').concat(At()(e.computedStyleSearchKeyword),"</div>"):"",'\n </h2>\n <div class="').concat(Oe("box-model"),'"></div>\n <div class="').concat(Oe("table-wrapper"),'">\n <table>\n <tbody>\n ').concat(ke()(e.computedStyle,(function(e,t){return'<tr>\n <td class="'.concat(Oe("key"),'">').concat(At()(t),"</td>\n <td>").concat(e,"</td>\n </tr>")})).join(""),"\n </tbody>\n </table>\n </div>"),r.html(c).show(),this._boxModel.setOption("element",this._curEl),r.find(Oe(".box-model")).append(this._$boxModel.get(0))}else r.text("").hide();var d="";e.listeners?(d=ke()(e.listeners,(function(e,t){return e=ke()(e,(function(e){var t=e.useCapture,n=e.listenerStr;return"<li ".concat(t?'class="'.concat(Oe("capture"),'"'):"",">").concat(At()(n),"</li>")})).join(""),'<div class="'.concat(Oe("listener"),'">\n <div class="').concat(Oe("listener-type"),'">').concat(At()(t),'</div>\n <ul class="').concat(Oe("listener-content"),'">\n ').concat(e,"\n </ul>\n </div>")})).join(""),d='<h2>Event Listeners</h2>\n <div class="'.concat(Oe("listener-wrapper"),'">\n ').concat(d," \n </div>"),i.html(d).show()):i.hide(),this._$container.show()}},{key:"_getData",value:function(e){var t={},n=new Rn(e),o=e.className,r=e.id,i=e.attributes,a=e.tagName;t.computedStyleSearchKeyword=this._computedStyleSearchKeyword,t.attributes=Hn(i),t.name=Vn({tagName:a,id:r,className:o,attributes:i});var l=e.erudaEvents;if(l&&0!==R()(l).length&&(t.listeners=l),Yn(a))return t;var s,c,u,d,p=n.getComputedStyle(),f=n.getMatchedCSSRules();f.unshift(function(e){for(var t={selectorText:"element.style",style:{}},n=0,o=e.length;n<o;n++){var r=e[n];t.style[r]=e[r]}return t}(e.style)),f.forEach((function(e){return Fn(e.style)})),t.styles=f,this._rmDefComputedStyle&&(s=p,c=f,u={},d=["display","width","height"],x()(c,(function(e){d=d.concat(R()(e.style))})),d=wn()(d),x()(s,(function(e,t){$()(d,t)&&(u[t]=e)})),p=u),t.rmDefComputedStyle=this._rmDefComputedStyle;var h=vn()(t.computedStyleSearchKeyword);return h&&(p=bn()(p,(function(e,t){return $()(t,h)||$()(e,h)}))),Fn(p),t.computedStyle=p,t}},{key:"_bindEvent",value:function(){var e=this,t=this._devtools;this._$container.on("click",Oe(".toggle-all-computed-style"),(function(){return e._toggleAllComputedStyle()})).on("click",Oe(".computed-style-search"),(function(){nt.A.prompt("Filter").then((function(t){vt()(t)||(t=Ae()(t),e._computedStyleSearchKeyword=t,e._render())}))})).on("click",".eruda-listener-content",(function(){var e=v()(this).text(),n=t.get("sources");n&&(n.set("js",e),t.showTool("sources"))})).on("click",Oe(".element-name"),(function(){var n=t.get("sources");n&&(n.set("object",e._curEl),t.showTool("sources"))})).on("click",Oe(".back"),this.hide).on("click",Oe(".refresh"),(function(){e._render(),t.notify("Refreshed",{icon:"success"})})),this._boxModel.on("highlight",this._highlight)}},{key:"_initObserver",value:function(){var e=this;this._observer=new($n())((function(t){x()(t,(function(t){return e._handleMutation(t)}))}))}},{key:"_enableObserver",value:function(){this._observer.observe(document.documentElement,{attributes:!0,childList:!0,subtree:!0})}},{key:"_disableObserver",value:function(){this._observer.disconnect()}},{key:"_handleMutation",value:function(e){if(!Ne(e.target)&&"attributes"===e.type){if(e.target!==this._curEl)return;this._render()}}},{key:"_rmCfg",value:function(){var e=this.config,t=this._devtools.get("settings");t&&t.remove(e,"overrideEventTarget").remove(e,"observeElement").remove("Elements")}},{key:"_initCfg",value:function(){var e=this,t=this.config=se.createCfg("elements",{overrideEventTarget:!0});t.get("overrideEventTarget")&&this.overrideEventTarget(),t.on("change",(function(t,n){if("overrideEventTarget"===t)return n?e.overrideEventTarget():e.restoreEventTarget()}));var n=this._devtools.get("settings");n&&(n.text("Elements").switch(t,"overrideEventTarget","Catch Event Listeners"),n.separator())}}]);function Fn(e){x()(e,(function(t,n){return e[n]=Un(t)}))}var Hn=function(e){return ke()(e,(function(e){var t=e.value,n=e.name;return t=At()(t),("src"===n||"href"===n)&&!Je()(t,"data")&&(t=qn(t)),"style"===n&&(t=Un(t)),{name:n,value:t}}))},jn=/rgba?\((.*?)\)/g,Gn=/url\("?(.*?)"?\)/g;function Un(e){return(e=N()(e)).replace(jn,'<span class="eruda-style-color" style="background-color: $&"></span>$&').replace(Gn,(function(e,t){return'url("'.concat(qn(t),'")')}))}var Wn=["script","style","meta","title","link","head"],Yn=function(e){Wn.indexOf(e.toLowerCase())},qn=function(e){return'<a href="'.concat(e,'" target="_blank">').concat(e,"</a>")},Kn=function(){return Cn()(window,"EventTarget.prototype")||window.Node.prototype};function Zn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Zn=function(){return!!e})()}function Xn(e,t,n,o){var r=(0,f.A)((0,a.A)(e.prototype),t,n);return"function"==typeof r?function(e){return r.apply(n,e)}:r}var Jn=function(e){function t(){var e,r,l;return(0,o.A)(this,t),r=this,l=t,l=(0,a.A)(l),e=(0,i.A)(r,Zn()?Reflect.construct(l,[],(0,a.A)(r).constructor):l.apply(r,undefined)),(0,s.A)(e,"_showDetail",(function(){e._isShow&&e._curNode&&(e._curNode.nodeType===Node.ELEMENT_NODE?e._detail.show(e._curNode):e._detail.show(e._curNode.parentNode||e._curNode.host))})),(0,s.A)(e,"_back",(function(){if(e._curNode!==e._htmlEl){for(var t=e._curParentQueue,n=t.shift();!Qn(n);)n=t.shift();e.set(n)}})),(0,s.A)(e,"_updateScale",(function(t){e._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*t,"px)"))})),(0,s.A)(e,"_deleteNode",(function(){var t=e._curNode;t.parentNode&&t.parentNode.removeChild(t)})),(0,s.A)(e,"_copyNode",(function(){var t=e._curNode;t.nodeType===Node.ELEMENT_NODE?It()(t.outerHTML):It()(t.nodeValue),e._container.notify("Copied",{icon:"success"})})),(0,s.A)(e,"_toggleSelect",(function(){e._$el.find(Oe(".select")).toggleClass(Oe("active")),e._selectElement=!e._selectElement,e._selectElement?(Kt.domain("Overlay").setInspectMode({mode:"searchForNode",highlightConfig:{showInfo:!pn()(),showRulers:!1,showAccessibilityInfo:!pn()(),showExtensionLines:!1,contrastAlgorithm:"aa",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}}),e._container.hide()):(Kt.domain("Overlay").setInspectMode({mode:"none"}),Kt.domain("Overlay").hideHighlight())})),(0,s.A)(e,"_inspectNodeRequested",(function(t){var n=t.backendNodeId;e._container.show(),e._toggleSelect();try{var o=Kt.domain("DOM").getNode({nodeId:n}).node;e.select(o)}catch(r){}})),(0,s.A)(e,"_setNode",(function(t){if(t!==e._curNode){e._curNode=t,e._renderCrumbs();for(var n=[],o=t.parentNode;o;)n.push(o),o=o.parentNode;e._curParentQueue=n,e._splitMode&&e._showDetail(),e._updateButtons(),e._updateHistory()}})),e._style=re(n(7755)),e.name="elements",e._selectElement=!1,e._observeElement=!0,e._history=[],u().mixin(e),e}return(0,l.A)(t,e),(0,r.A)(t,[{key:"init",value:function(e,n){var o=this;Xn(t,"init",this)([e]),this._container=n,this._initTpl(),this._htmlEl=document.documentElement,this._detail=new zn(this._$detail,n),this.config=this._detail.config,this._splitMediaQuery=new(en())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._domViewer=new mn.A(this._$domViewer.get(0),{node:this._htmlEl,ignore:function(e){return Ne(e)||function(e){for(;e;){var t="";if(e.getAttribute&&(t=e.getAttribute("class")||""),$()(t,"__chobitsu-hide__"))return!0;e=e.parentNode}return!1}(e)}}),this._domViewer.expand(),this._bindEvent(),Kt.domain("Overlay").enable(),ue()((function(){return o._updateHistory()}))}},{key:"show",value:function(){Xn(t,"show",this)([]),this._isShow=!0,this._curNode?this._splitMode&&this._showDetail():this.select(document.body)}},{key:"hide",value:function(){Xn(t,"hide",this)([]),this._isShow=!1,Kt.domain("Overlay").hideHighlight()}},{key:"select",value:function(e){return this._domViewer.select(e),this._setNode(e),this.emit("change",e),this}},{key:"destroy",value:function(){Xn(t,"destroy",this)([]),p.off(p.SCALE,this._updateScale),re.remove(this._style),this._detail.destroy(),Kt.domain("Overlay").off("inspectNodeRequested",this._inspectNodeRequested),Kt.domain("Overlay").disable(),this._splitMediaQuery.removeAllListeners()}},{key:"_updateButtons",value:function(){var e=this._$control,t=e.find(Oe(".show-detail")),n=e.find(Oe(".copy-node")),o=e.find(Oe(".delete-node")),r=Oe("icon-disabled");t.addClass(r),n.addClass(r),o.addClass(r);var i=this._curNode;i&&!hn()(i)&&(i!==document.documentElement&&i!==document.body&&o.rmClass(r),n.rmClass(r),i.nodeType===Node.ELEMENT_NODE&&t.rmClass(r))}},{key:"_initTpl",value:function(){var e=this._$el;e.html(Oe('<div class="elements">\n <div class="control">\n <span class="icon icon-select select"></span>\n <span class="icon icon-eye show-detail"></span>\n <span class="icon icon-copy copy-node"></span>\n <span class="icon icon-delete delete-node"></span>\n </div>\n <div class="dom-viewer-container">\n <div class="dom-viewer"></div>\n </div>\n <div class="crumbs"></div>\n </div>\n <div class="detail"></div>')),this._$detail=e.find(Oe(".detail")),this._$domViewer=e.find(Oe(".dom-viewer")),this._$control=e.find(Oe(".control")),this._$crumbs=e.find(Oe(".crumbs"))}},{key:"_renderCrumbs",value:function(){var e=function(e){for(var t=[],n=0;e;)t.push({text:Vn(e,{noAttr:!0}),idx:n++}),hn()(e)&&(e=e.host),e=!e.parentElement&&hn()(e.parentNode)?e.parentNode:e.parentElement;return t.reverse()}(this._curNode),t="";Et()(e)||(t=ke()(e,(function(e){var t=e.text,n=e.idx;return'<li class="'.concat(Oe("crumb"),'" data-idx="').concat(n,'">').concat(t,"</div></li>")})).join("")),this._$crumbs.html(t)}},{key:"_bindEvent",value:function(){var e=this,t=this;this._$el.on("click",Oe(".crumb"),(function(){for(var e=Ee()(v()(this).data("idx")),n=t._curNode;e--&&n.parentElement;)n=n.parentElement;Qn(n)&&t.select(n)})),this._$control.on("click",Oe(".select"),this._toggleSelect).on("click",Oe(".show-detail"),this._showDetail).on("click",Oe(".copy-node"),this._copyNode).on("click",Oe(".delete-node"),this._deleteNode),this._domViewer.on("select",this._setNode).on("deselect",this._back),Kt.domain("Overlay").on("inspectNodeRequested",this._inspectNodeRequested),this._splitMediaQuery.on("match",(function(){e._splitMode=!0,e._showDetail()})),this._splitMediaQuery.on("unmatch",(function(){e._splitMode=!1,e._detail.hide()})),p.on(p.SCALE,this._updateScale)}},{key:"_updateHistory",value:function(){var e=this._container.get("console");if(e){var t=this._history;t.unshift(this._curNode),t.length>5&&t.pop();for(var n=0;n<5;n++)e.setGlobal("$".concat(n),t[n])}}}])}(m),Qn=function(e){return un()(e)&&e.parentNode},eo=n(3981),to=n.n(eo),no=n(4866),oo=n.n(no),ro=null,io=[{name:"Border All",fn:function(){if(ro)return re.remove(ro),void(ro=null);ro=re("* { outline: 2px dashed #707d8b; outline-offset: -3px; }",document.head)},desc:"Add color borders to all elements"},{name:"Refresh Page",fn:function(){var e=new(ge());e.setQuery("timestamp",to()()),window.location.replace(e.toString())},desc:"Add timestamp to url and refresh"},{name:"Search Text",fn:function(){nt.A.prompt("Enter the text").then((function(e){var t,n,o;e&&""!==Ae()(e)&&(t=e,n=document.body,o=new RegExp(t,"ig"),ao(n,(function(e){var t=v()(e);if(t.hasClass("eruda-search-highlight-block"))return document.createTextNode(t.text())})),ao(n,(function(e){if(3===e.nodeType){var t=e.nodeValue;if((t=t.replace(o,(function(e){return'<span class="eruda-keyword">'.concat(e,"</span>")})))!==e.nodeValue){var n=v()(document.createElement("div"));return n.html(t),n.addClass("eruda-search-highlight-block"),n.get(0)}}})))}))},desc:"Highlight given text on page"},{name:"Edit Page",fn:function(){var e=document.body;e.contentEditable="true"!==e.contentEditable},desc:"Toggle body contentEditable"},{name:"Fit Screen",fn:function(){var e=document.body,t=document.documentElement,n=v()(e);if(n.data("scaled"))window.scrollTo(0,+n.data("scaled")),n.rmAttr("data-scaled"),n.css("transform","none");else{var o=Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight),r=Math.max(document.documentElement.clientHeight,window.innerHeight||0),i=r/o;n.css("transform","scale(".concat(i,")")),n.data("scaled",window.scrollY),window.scrollTo(0,o/2-r/2)}},desc:"Scale down the whole page to fit screen"},{name:"Load Vue Plugin",fn:function(){lo("vue")},desc:"Vue devtools"},{name:"Load Monitor Plugin",fn:function(){lo("monitor")},desc:"Display page fps, memory and dom nodes"},{name:"Load Features Plugin",fn:function(){lo("features")},desc:"Browser feature detections"},{name:"Load Timing Plugin",fn:function(){lo("timing")},desc:"Show performance and resource timing"},{name:"Load Code Plugin",fn:function(){lo("code")},desc:"Edit and run JavaScript"},{name:"Load Benchmark Plugin",fn:function(){lo("benchmark")},desc:"Run JavaScript benchmarks"},{name:"Load Geolocation Plugin",fn:function(){lo("geolocation")},desc:"Test geolocation"},{name:"Load Orientation Plugin",fn:function(){lo("orientation")},desc:"Test orientation api"},{name:"Load Touches Plugin",fn:function(){lo("touches")},desc:"Visualize screen touches"}];function ao(e,t){var n=e.childNodes;if(!Ne(e)){for(var o=0,r=n.length;o<r;o++){var i=ao(n[o],t);i&&e.replaceChild(i,n[o])}return t(e)}}function lo(e){var t="eruda"+Ze()(e);if(!window[t]){var n=location.protocol;Je()(n,"http")||(n="http:"),oo()("".concat(n,"//cdn.jsdelivr.net/npm/eruda-").concat(e,"@").concat(so[e]),(function(n){if(!n||!window[t])return Ge.error("Fail to load plugin "+e);p.emit(p.ADD,window[t]),p.emit(p.SHOW,e)}))}}re(n(7516),document.head);var so={monitor:"1.1.1",features:"2.1.0",timing:"2.0.1",code:"2.2.0",benchmark:"2.0.1",geolocation:"2.1.0",orientation:"2.1.1",touches:"2.1.0",vue:"1.1.1"},co=n(961),uo=n.n(co);function po(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(po=function(){return!!e})()}function fo(e,t,n,o){var r=(0,f.A)((0,a.A)(e.prototype),t,n);return"function"==typeof r?function(e){return r.apply(n,e)}:r}var ho=function(e){function t(){var e,r,l;return(0,o.A)(this,t),r=this,l=t,l=(0,a.A)(l),(e=(0,i.A)(r,po()?Reflect.construct(l,[],(0,a.A)(r).constructor):l.apply(r,undefined)))._style=re(n(8025)),e.name="snippets",e._snippets=[],e}return(0,l.A)(t,e),(0,r.A)(t,[{key:"init",value:function(e){fo(t,"init",this)([e]),this._bindEvent(),this._addDefSnippets()}},{key:"destroy",value:function(){fo(t,"destroy",this)([]),re.remove(this._style)}},{key:"add",value:function(e,t,n){return this._snippets.push({name:e,fn:t,desc:n}),this._render(),this}},{key:"remove",value:function(e){return uo()(this._snippets,(function(t){return t.name===e})),this._render(),this}},{key:"run",value:function(e){for(var t=this._snippets,n=0,o=t.length;n<o;n++)t[n].name===e&&this._run(n);return this}},{key:"clear",value:function(){return this._snippets=[],this._render(),this}},{key:"_bindEvent",value:function(){var e=this;this._$el.on("click",".eruda-run",(function(){var t=v()(this).data("idx");e._run(t)}))}},{key:"_run",value:function(e){this._snippets[e].fn.call(null)}},{key:"_addDefSnippets",value:function(){var e=this;x()(io,(function(t){e.add(t.name,t.fn,t.desc)}))}},{key:"_render",value:function(){var e=ke()(this._snippets,(function(e,t){return'<div class="'.concat(Oe("section run"),'" data-idx="').concat(t,'">\n <h2 class="').concat(Oe("name"),'">').concat(At()(e.name),'\n <div class="').concat(Oe("btn"),'">\n <span class="').concat(Oe("icon-play"),'"></span>\n </div>\n </h2>\n <div class="').concat(Oe("description"),'">\n ').concat(At()(e.desc),"\n </div>\n </div>")})).join("");this._renderHtml(e)}},{key:"_renderHtml",value:function(e){e!==this._lastHtml&&(this._lastHtml=e,this._$el.html(e))}}])}(m),mo=n(4497),go=n.n(mo),vo=n(311),yo=n.n(vo),bo=n(769),_o=n.n(bo),wo=n(4069),ko=n.n(wo),xo=(0,r.A)((function e(t,n,r,i){var a=this;(0,o.A)(this,e),(0,s.A)(this,"_updateGridHeight",(function(e){a._dataGrid.setOption({minHeight:60*e,maxHeight:223*e})})),this._type=i,this._$container=t,this._devtools=n,this._resources=r,this._selectedItem=null,this._storeData=[],this._initTpl(),this._dataGrid=new Zt.A(this._$dataGrid.get(0),{columns:[{id:"key",title:"Key",weight:30},{id:"value",title:"Value",weight:90}],minHeight:60,maxHeight:223}),this._bindEvent()}),[{key:"destroy",value:function(){p.off(p.SCALE,this._updateGridHeight)}},{key:"refresh",value:function(){var e=this._dataGrid;this._refreshStorage(),e.clear(),x()(this._storeData,(function(t){var n=t.key,o=t.val;e.append({key:n,value:o},{selectable:!0})}))}},{key:"_refreshStorage",value:function(){var e=this._resources,t=Me(this._type,!1);if(t){var n=[];t=JSON.parse(JSON.stringify(t)),x()(t,(function(t,o){T()(t)&&(e.config.get("hideErudaSetting")&&(Je()(o,"eruda")||"active-eruda"===o)||n.push({key:o,val:Ot()(t,200)}))})),this._storeData=n}}},{key:"_updateButtons",value:function(){var e=this._$container,t=e.find(Oe(".show-detail")),n=e.find(Oe(".delete-storage")),o=e.find(Oe(".copy-storage")),r=Oe("btn-disabled");t.addClass(r),n.addClass(r),o.addClass(r),this._selectedItem&&(t.rmClass(r),n.rmClass(r),o.rmClass(r))}},{key:"_initTpl",value:function(){var e=this._$container,t=this._type;e.html(Oe('<h2 class="title">\n '.concat("local"===t?"Local":"Session",' Storage\n <div class="btn refresh-storage">\n <span class="icon icon-refresh"></span>\n </div>\n <div class="btn show-detail btn-disabled">\n <span class="icon icon-eye"></span>\n </div>\n <div class="btn copy-storage btn-disabled">\n <span class="icon icon-copy"></span>\n </div>\n <div class="btn delete-storage btn-disabled">\n <span class="icon icon-delete"></span>\n </div>\n <div class="btn clear-storage">\n <span class="icon icon-clear"></span>\n </div>\n <div class="btn filter">\n <span class="icon icon-filter"></span>\n </div>\n <div class="btn filter-text"></div>\n </h2>\n <div class="data-grid"></div>'))),this._$dataGrid=e.find(Oe(".data-grid")),this._$filterText=e.find(Oe(".filter-text"))}},{key:"_getVal",value:function(e){return"local"===this._type?localStorage.getItem(e):sessionStorage.getItem(e)}},{key:"_bindEvent",value:function(){var e=this,t=this._type,n=this._devtools;function o(e,t){var o=n.get("sources");if(o)return o.set(e,t),n.showTool("sources"),!0}this._$container.on("click",Oe(".refresh-storage"),(function(){n.notify("Refreshed",{icon:"success"}),e.refresh()})).on("click",Oe(".clear-storage"),(function(){x()(e._storeData,(function(e){"local"===t?localStorage.removeItem(e.key):sessionStorage.removeItem(e.key)})),e.refresh()})).on("click",Oe(".show-detail"),(function(){var t=e._selectedItem,n=e._getVal(t);try{o("object",JSON.parse(n))}catch(r){o("raw",n)}})).on("click",Oe(".copy-storage"),(function(){var t=e._selectedItem;It()(e._getVal(t)),n.notify("Copied",{icon:"success"})})).on("click",Oe(".filter"),(function(){nt.A.prompt("Filter").then((function(t){vt()(t)||(t=Ae()(t),e._$filterText.text(t),e._dataGrid.setOption("filter",t))}))})).on("click",Oe(".delete-storage"),(function(){var n=e._selectedItem;"local"===t?localStorage.removeItem(n):sessionStorage.removeItem(n),e.refresh()})),this._dataGrid.on("select",(function(t){e._selectedItem=t.data.key,e._updateButtons()})).on("deselect",(function(){e._selectedItem=null,e._updateButtons()})),p.on(p.SCALE,this._updateGridHeight)}}]);function So(e,t){e.rmClass(Oe("ok")).rmClass(Oe("danger")).rmClass(Oe("warn")).addClass(Oe(t))}function Co(e,t){if(0===t)return"";var n=0,o=0;switch(e){case"cookie":n=30,o=60;break;case"script":n=5,o=10;break;case"stylesheet":n=4,o=8;break;case"image":n=50,o=100}return t>=o?"danger":t>=n?"warn":"ok"}var Eo=(0,r.A)((function e(t,n){(0,o.A)(this,e),this._$container=t,this._devtools=n,this._selectedItem=null,this._initTpl(),this._dataGrid=new Zt.A(this._$dataGrid.get(0),{columns:[{id:"key",title:"Key",weight:30},{id:"value",title:"Value",weight:90}],minHeight:60,maxHeight:223}),this._bindEvent()}),[{key:"refresh",value:function(){var e=this._$container,t=this._dataGrid,n=Kt.domain("Network").getCookies().cookies,o=ke()(n,(function(e){return{key:e.name,val:e.value}}));t.clear(),x()(o,(function(e){var n=e.key,o=e.val;t.append({key:n,value:o},{selectable:!0})})),So(e,Co("cookie",o.length))}},{key:"_initTpl",value:function(){var e=this._$container;e.html(Oe('<h2 class="title">\n Cookie\n <div class="btn refresh-cookie">\n <span class="icon-refresh"></span>\n </div>\n <div class="btn show-detail btn-disabled">\n <span class="icon icon-eye"></span>\n </div>\n <div class="btn copy-cookie btn-disabled">\n <span class="icon icon-copy"></span>\n </div>\n <div class="btn delete-cookie btn-disabled">\n <span class="icon icon-delete"></span>\n </div>\n <div class="btn clear-cookie">\n <span class="icon-clear"></span>\n </div>\n <div class="btn filter" data-type="cookie">\n <span class="icon-filter"></span>\n </div>\n <div class="btn filter-text"></div>\n </h2>\n <div class="data-grid"></div>')),this._$dataGrid=e.find(Oe(".data-grid")),this._$filterText=e.find(Oe(".filter-text"))}},{key:"_updateButtons",value:function(){var e=this._$container,t=e.find(Oe(".show-detail")),n=e.find(Oe(".delete-cookie")),o=e.find(Oe(".copy-cookie")),r=Oe("btn-disabled");t.addClass(r),n.addClass(r),o.addClass(r),this._selectedItem&&(t.rmClass(r),n.rmClass(r),o.rmClass(r))}},{key:"_getVal",value:function(e){for(var t=Kt.domain("Network").getCookies().cookies,n=0,o=t.length;n<o;n++)if(t[n].name===e)return t[n].value;return""}},{key:"_bindEvent",value:function(){var e=this,t=this._devtools;function n(e,n){var o=t.get("sources");if(o)return o.set(e,n),t.showTool("sources"),!0}this._$container.on("click",Oe(".refresh-cookie"),(function(){t.notify("Refreshed",{icon:"success"}),e.refresh()})).on("click",Oe(".clear-cookie"),(function(){Kt.domain("Storage").clearDataForOrigin({storageTypes:"cookies"}),e.refresh()})).on("click",Oe(".delete-cookie"),(function(){var t=e._selectedItem;Kt.domain("Network").deleteCookies({name:t}),e.refresh()})).on("click",Oe(".show-detail"),(function(){var t=e._selectedItem,o=e._getVal(t);try{n("object",JSON.parse(o))}catch(r){n("raw",o)}})).on("click",Oe(".copy-cookie"),(function(){var n=e._selectedItem;It()(e._getVal(n)),t.notify("Copied",{icon:"success"})})).on("click",Oe(".filter"),(function(){nt.A.prompt("Filter").then((function(t){vt()(t)||(t=Ae()(t),e._filter=t,e._$filterText.text(t),e._dataGrid.setOption("filter",t))}))})),this._dataGrid.on("select",(function(t){e._selectedItem=t.data.key,e._updateButtons()})).on("deselect",(function(){e._selectedItem=null,e._updateButtons()}))}}]);function To(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Ao(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ao=function(){return!!e})()}function $o(e,t,n,o){var r=(0,f.A)((0,a.A)(e.prototype),t,n);return 2&o&&"function"==typeof r?function(e){return r.apply(n,e)}:r}var Io=function(e){function t(){var e,r,l;return(0,o.A)(this,t),r=this,l=t,l=(0,a.A)(l),(e=(0,i.A)(r,Ao()?Reflect.construct(l,[],(0,a.A)(r).constructor):l.apply(r,undefined)))._style=re(n(3815)),e.name="resources",e._hideErudaSetting=!1,e._observeElement=!0,e}return(0,l.A)(t,e),(0,r.A)(t,[{key:"init",value:function(e,n){$o(t,"init",this,3)([e]),this._container=n,this._initTpl(),this._localStorage=new xo(this._$localStorage,n,this,"local"),this._sessionStorage=new xo(this._$sessionStorage,n,this,"session"),this._cookie=new Eo(this._$cookie,n),this._bindEvent(),this._initObserver(),this._initCfg()}},{key:"refresh",value:function(){return this.refreshLocalStorage().refreshSessionStorage().refreshCookie().refreshScript().refreshStylesheet().refreshIframe().refreshImage()}},{key:"destroy",value:function(){$o(t,"destroy",this,3)([]),this._localStorage.destroy(),this._sessionStorage.destroy(),this._disableObserver(),re.remove(this._style),this._rmCfg()}},{key:"refreshScript",value:function(){var e=[];v()("script").each((function(){var t=this.src;""!==t&&e.push(t)}));var t=Co("script",(e=wn()(e)).length),n="<li>Empty</li>";Et()(e)||(n=ke()(e,(function(e){return e=At()(e),'<li><a href="'.concat(e,'" target="_blank" class="').concat(Oe("js-link"),'">').concat(e,"</a></li>")})).join(""));var o='<h2 class="'.concat(Oe("title"),'">\n Script\n <div class="').concat(Oe("btn refresh-script"),'">\n <span class="').concat(Oe("icon-refresh"),'"></span>\n </div>\n </h2>\n <ul class="').concat(Oe("link-list"),'">\n ').concat(n,"\n </ul>"),r=this._$script;return So(r,t),r.html(o),this}},{key:"refreshStylesheet",value:function(){var e=[];v()("link").each((function(){"stylesheet"===this.rel&&e.push(this.href)}));var t=Co("stylesheet",(e=wn()(e)).length),n="<li>Empty</li>";Et()(e)||(n=ke()(e,(function(e){return e=At()(e),' <li><a href="'.concat(e,'" target="_blank" class="').concat(Oe("css-link"),'">').concat(e,"</a></li>")})).join(""));var o='<h2 class="'.concat(Oe("title"),'">\n Stylesheet\n <div class="').concat(Oe("btn refresh-stylesheet"),'">\n <span class="').concat(Oe("icon-refresh"),'"></span>\n </div>\n </h2>\n <ul class="').concat(Oe("link-list"),'">\n ').concat(n,"\n </ul>"),r=this._$stylesheet;return So(r,t),r.html(o),this}},{key:"refreshIframe",value:function(){var e=[];v()("iframe").each((function(){var t=v()(this).attr("src");t&&e.push(t)})),e=wn()(e);var t="<li>Empty</li>";Et()(e)||(t=ke()(e,(function(e){return e=At()(e),'<li><a href="'.concat(e,'" target="_blank" class="').concat(Oe("iframe-link"),'">').concat(e,"</a></li>")})).join(""));var n='<h2 class="'.concat(Oe("title"),'">\n Iframe\n <div class="').concat(Oe("btn refresh-iframe"),'">\n <span class="').concat(Oe("icon-refresh"),'"></span>\n </div>\n </h2>\n <ul class="').concat(Oe("link-list"),'">\n ').concat(t,"\n </ul>");return this._$iframe.html(n),this}},{key:"refreshLocalStorage",value:function(){return this._localStorage.refresh(),this}},{key:"refreshSessionStorage",value:function(){return this._sessionStorage.refresh(),this}},{key:"refreshCookie",value:function(){return this._cookie.refresh(),this}},{key:"refreshImage",value:function(){var e=[],t=this._performance=window.webkitPerformance||window.performance;t&&t.getEntries?this._performance.getEntries().forEach((function(t){if("img"===t.initiatorType||Po(t.name)){if($()(t.name,"exclude=true"))return;e.push(t.name)}})):v()("img").each((function(){var t=v()(this),n=t.attr("src");"true"!==t.data("exclude")&&e.push(n)})),(e=wn()(e)).sort();var n=Co("image",e.length),o="<li>Empty</li>";Et()(e)||(o=ke()(e,(function(e){return'<li class="'.concat(Oe("image"),'">\n <img src="').concat(At()(e),'" data-exclude="true" class="').concat(Oe("img-link"),'"/>\n </li>')})).join(""));var r='<h2 class="'.concat(Oe("title"),'">\n Image\n <div class="').concat(Oe("btn refresh-image"),'">\n <span class="').concat(Oe("icon-refresh"),'"></span>\n </div>\n </h2>\n <ul class="').concat(Oe("image-list"),'">\n ').concat(o,"\n </ul>"),i=this._$image;return So(i,n),i.html(r),this}},{key:"show",value:function(){return $o(t,"show",this,3)([]),this._observeElement&&this._enableObserver(),this.refresh()}},{key:"hide",value:function(){return this._disableObserver(),$o(t,"hide",this,3)([])}},{key:"_initTpl",value:function(){var e=this._$el;e.html(Oe('<div class="section local-storage"></div>\n <div class="section session-storage"></div>\n <div class="section cookie"></div>\n <div class="section script"></div>\n <div class="section stylesheet"></div>\n <div class="section iframe"></div>\n <div class="section image"></div>')),this._$localStorage=e.find(Oe(".local-storage")),this._$sessionStorage=e.find(Oe(".session-storage")),this._$cookie=e.find(Oe(".cookie")),this._$script=e.find(Oe(".script")),this._$stylesheet=e.find(Oe(".stylesheet")),this._$iframe=e.find(Oe(".iframe")),this._$image=e.find(Oe(".image"))}},{key:"_bindEvent",value:function(){var e=this,t=this._$el,n=this._container;function o(e,t){var o=n.get("sources");if(o)return o.set(e,t),n.showTool("sources"),!0}function r(e){return function(t){if(n.get("sources")){t.preventDefault();var r=v()(this).attr("href");"iframe"!==e&&go()(location.href,r)?yo()({url:r,success:function(t){o(e,t)},dataType:"raw"}):o("iframe",r)}}}t.on("click",".eruda-refresh-script",(function(){n.notify("Refreshed",{icon:"success"}),e.refreshScript()})).on("click",".eruda-refresh-stylesheet",(function(){n.notify("Refreshed",{icon:"success"}),e.refreshStylesheet()})).on("click",".eruda-refresh-iframe",(function(){n.notify("Refreshed",{icon:"success"}),e.refreshIframe()})).on("click",".eruda-refresh-image",(function(){n.notify("Refreshed",{icon:"success"}),e.refreshImage()})).on("click",".eruda-img-link",(function(){o("img",v()(this).attr("src"))})).on("click",".eruda-css-link",r("css")).on("click",".eruda-js-link",r("js")).on("click",".eruda-iframe-link",r("iframe"))}},{key:"_rmCfg",value:function(){var e=this.config,t=this._container.get("settings");t&&t.remove(e,"hideErudaSetting").remove(e,"observeElement").remove("Resources")}},{key:"_initCfg",value:function(){var e=this,t=this.config=se.createCfg("resources",{hideErudaSetting:!0,observeElement:!0});t.get("hideErudaSetting")&&(this._hideErudaSetting=!0),t.get("observeElement")||(this._observeElement=!1),t.on("change",(function(t,n){switch(t){case"hideErudaSetting":return void(e._hideErudaSetting=n);case"observeElement":return e._observeElement=n,n?e._enableObserver():e._disableObserver()}})),this._container.get("settings").text("Resources").switch(t,"hideErudaSetting","Hide Eruda Setting").switch(t,"observeElement","Auto Refresh Elements").separator()}},{key:"_initObserver",value:function(){var e=this;this._observer=new($n())((function(t){x()(t,(function(t){e._handleMutation(t)}))}))}},{key:"_handleMutation",value:function(e){var t=this;if(!Ne(e.target)){var n=function(e){var n;switch((n=e).tagName?n.tagName.toLowerCase():""){case"script":t.refreshScript();break;case"img":t.refreshImage();break;case"link":t.refreshStylesheet()}};if("attributes"===e.type)n(e.target);else if("childList"===e.type){n(e.target);var o,r=_o()(e.addedNodes),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return To(e,t);var n={}.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)?To(e,t):void 0}}(e))||t){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}(r=ko()(r,_o()(e.removedNodes)));try{for(i.s();!(o=i.n()).done;)n(o.value)}catch(a){i.e(a)}finally{i.f()}}}}},{key:"_enableObserver",value:function(){this._observer.observe(document.documentElement,{attributes:!0,childList:!0,subtree:!0})}},{key:"_disableObserver",value:function(){this._observer.disconnect()}}])}(m),Mo=/\.(jpeg|jpg|gif|png)$/,Po=function(e){return Mo.test(e)},No=n(6620),Oo=n.n(No),Ro=Oo()(),Do=[{name:"Location",val:function(){return At()(location.href)}},{name:"User Agent",val:navigator.userAgent},{name:"Device",val:["<table><tbody>",'<tr><td class="eruda-device-key">screen</td><td>'.concat(screen.width," * ").concat(screen.height,"</td></tr>"),"<tr><td>viewport</td><td>".concat(window.innerWidth," * ").concat(window.innerHeight,"</td></tr>"),"<tr><td>pixel ratio</td><td>".concat(window.devicePixelRatio,"</td></tr>"),"</tbody></table>"].join("")},{name:"System",val:["<table><tbody>",'<tr><td class="eruda-system-key">os</td><td>'.concat(nn()(),"</td></tr>"),"<tr><td>browser</td><td>".concat(Ro.name+" "+Ro.version,"</td></tr>"),"</tbody></table>"].join("")},{name:"About",val:'<a href="https://eruda.liriliri.io" target="_blank">Eruda v3.4.1</a>'},{name:"Backers",val:function(){return'\n <a rel="noreferrer noopener" href="https://opencollective.com/eruda" target="_blank">\n <img data-exclude="true" style="width: 100%;" loading="lazy" src="https://opencollective.com/eruda/backers.svg?width='.concat(1.5*window.innerWidth,'&exclude=true">\n </a>')}}],Lo=n(1034),Bo=n.n(Lo);function Vo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Vo=function(){return!!e})()}function zo(e,t,n,o){var r=(0,f.A)((0,a.A)(e.prototype),t,n);return"function"==typeof r?function(e){return r.apply(n,e)}:r}var Fo=function(e){function t(){var e,r,l;return(0,o.A)(this,t),r=this,l=t,l=(0,a.A)(l),(e=(0,i.A)(r,Vo()?Reflect.construct(l,[],(0,a.A)(r).constructor):l.apply(r,undefined)))._style=re(n(1317)),e.name="info",e._infos=[],e}return(0,l.A)(t,e),(0,r.A)(t,[{key:"init",value:function(e,n){zo(t,"init",this)([e]),this._container=n,this._addDefInfo(),this._bindEvent()}},{key:"destroy",value:function(){zo(t,"destroy",this)([]),re.remove(this._style)}},{key:"add",value:function(e,t){var n=this._infos,o=!1;return x()(n,(function(n){e===n.name&&(n.val=t,o=!0)})),o||n.push({name:e,val:t}),this._render(),this}},{key:"get",value:function(e){var t,n=this._infos;return ye()(e)?Bo()(n):(x()(n,(function(n){e===n.name&&(t=n.val)})),t)}},{key:"remove",value:function(e){for(var t=this._infos,n=t.length-1;n>=0;n--)t[n].name===e&&t.splice(n,1);return this._render(),this}},{key:"clear",value:function(){return this._infos=[],this._render(),this}},{key:"_addDefInfo",value:function(){var e=this;x()(Do,(function(t){return e.add(t.name,t.val)}))}},{key:"_render",value:function(){var e=[];x()(this._infos,(function(t){var n=t.name,o=t.val;ct()(o)&&(o=o()),e.push({name:n,val:o})}));var t="<ul>".concat(ke()(e,(function(e){return'<li><h2 class="'.concat(Oe("title"),'">').concat(At()(e.name),'<span class="').concat(Oe("icon-copy copy"),'"></span></h2><div class="').concat(Oe("content"),'">').concat(e.val,"</div></li>")})).join(""),"</ul>");this._renderHtml(t)}},{key:"_bindEvent",value:function(){var e=this._container;this._$el.on("click",Oe(".copy"),(function(){var t=v()(this).parent().parent(),n=t.find(Oe(".title")).text(),o=t.find(Oe(".content")).text();It()("".concat(n,": ").concat(o)),e.notify("Copied",{icon:"success"})}))}},{key:"_renderHtml",value:function(e){e!==this._lastHtml&&(this._lastHtml=e,this._$el.html(e))}}])}(m),Ho=n(3390),jo=n(894),Go=n.n(jo),Uo=n(4249),Wo=n.n(Uo),Yo=n(2900);function qo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(qo=function(){return!!e})()}function Ko(e,t,n,o){var r=(0,f.A)((0,a.A)(e.prototype),t,n);return"function"==typeof r?function(e){return r.apply(n,e)}:r}var Zo=function(e){function t(){var e,r,l;return(0,o.A)(this,t),r=this,l=t,l=(0,a.A)(l),(e=(0,i.A)(r,qo()?Reflect.construct(l,[],(0,a.A)(r).constructor):l.apply(r,undefined)))._style=re(n(1699)),e.name="sources",e._showLineNum=!0,e}return(0,l.A)(t,e),(0,r.A)(t,[{key:"init",value:function(e,n){Ko(t,"init",this)([e]),this._container=n,this._bindEvent(),this._initCfg()}},{key:"destroy",value:function(){Ko(t,"destroy",this)([]),re.remove(this._style),this._rmCfg()}},{key:"set",value:function(e,t){if("img"===e){this._isFetchingData=!0;var n=new Image,o=this;return n.onload=function(){o._isFetchingData=!1,o._data={type:"img",val:{width:this.width,height:this.height,src:t}},o._render()},n.onerror=function(){o._isFetchingData=!1},void(n.src=t)}return this._data={type:e,val:t},this._render(),this}},{key:"show",value:function(){return Ko(t,"show",this)([]),this._data||this._isFetchingData||this._renderDef(),this}},{key:"_renderDef",value:function(){var e=this;if(this._html)return this._data={type:"html",val:this._html},this._render();this._isGettingHtml||(this._isGettingHtml=!0,yo()({url:location.href,success:function(t){return e._html=t},error:function(){return e._html="Sorry, unable to fetch source code:("},complete:function(){e._isGettingHtml=!1,e._renderDef()},dataType:"raw"}))}},{key:"_bindEvent",value:function(){var e=this;this._container.on("showTool",(function(t,n){t!==e.name&&n.name===e.name&&delete e._data}))}},{key:"_rmCfg",value:function(){var e=this.config,t=this._container.get("settings");t&&t.remove(e,"showLineNum").remove("Sources")}},{key:"_initCfg",value:function(){var e=this,t=this.config=se.createCfg("sources",{showLineNum:!0});t.get("showLineNum")||(this._showLineNum=!1),t.on("change",(function(t,n){"showLineNum"!==t||(e._showLineNum=n)})),this._container.get("settings").text("Sources").switch(t,"showLineNum","Show Line Numbers").separator()}},{key:"_render",value:function(){switch(this._isInit=!0,this._data.type){case"html":case"js":case"css":return this._renderCode();case"img":return this._renderImg();case"object":return this._renderObj();case"raw":return this._renderRaw();case"iframe":return this._renderIframe()}}},{key:"_renderImg",value:function(){var e=this._data.val,t=e.width,n=e.height,o=e.src;this._renderHtml('<div class="'.concat(Oe("image"),'">\n <div class="').concat(Oe("breadcrumb"),'">').concat(At()(o),'</div>\n <div class="').concat(Oe("img-container"),'" data-exclude="true">\n <img src="').concat(At()(o),'">\n </div>\n <div class="').concat(Oe("img-info"),'">').concat(At()(t)," × ").concat(At()(n),"</div>\n </div>"))}},{key:"_renderCode",value:function(){var e=this._data;this._renderHtml('<div class="'.concat(Oe("code"),'" data-type="').concat(e.type,'"></div>'),!1);var t=e.val,n=e.val.length;n>Qo&&(t=Ot()(t,Qo)),n<Xo?(t=Wo()(t,e.type,{comment:"",string:"",number:"",keyword:"",operator:""}),x()(["comment","string","number","keyword","operator"],(function(e){t=Go()(t,'class="'.concat(e,'"'),'class="'.concat(Oe(e),'"'))}))):t=At()(t);var o=this._$el.find(Oe(".code")).get(0);new Yo.A(o,{text:t,escape:!1,wrapLongLines:!0,showLineNumbers:e.val.length<Jo&&this._showLineNum})}},{key:"_renderObj",value:function(){this._renderHtml('<ul class="'.concat(Oe("json"),'"></ul>'),!1);var e=this._data.val;try{T()(e)&&(e=JSON.parse(e))}catch(t){}new Ho.A(this._$el.find(".eruda-json").get(0),{unenumerable:!0,accessGetter:!0,prototype:!1}).set(e)}},{key:"_renderRaw",value:function(){var e=this._data;this._renderHtml('<div class="'.concat(Oe("raw-wrapper"),'">\n <div class="').concat(Oe("raw"),'"></div>\n </div>'));var t=e.val,n=this._$el.find(Oe(".raw")).get(0);t.length>Qo&&(t=Ot()(t,Qo)),new Yo.A(n,{text:t,wrapLongLines:!0,showLineNumbers:t.length<Jo&&this._showLineNum})}},{key:"_renderIframe",value:function(){this._renderHtml('<iframe src="'.concat(At()(this._data.val),'"></iframe>'))}},{key:"_renderHtml",value:function(e){var t=this;(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&e===this._lastHtml||(this._lastHtml=e,this._$el.html(e),setTimeout((function(){return t._$el.get(0).scrollTop=0}),0))}}])}(m),Xo=3e4,Jo=8e4,Qo=1e5,er=n(9760),tr=n.n(er),nr=n(1505),or=n.n(nr),rr=n(5701),ir=n.n(rr),ar={init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.container,n=e.tool,o=e.autoScale,r=void 0===o||o,i=e.useShadowDom,a=void 0===i||i,l=e.inline,s=void 0!==l&&l,c=e.defaults,u=void 0===c?{}:c;this._isInit||(this._isInit=!0,this._scale=1,this._initContainer(t,a),this._initStyle(),this._initDevTools(u,s),this._initEntryBtn(),this._initSettings(),this._initTools(n),this._registerListener(),r&&this._autoScale(),s&&(this._entryBtn.hide(),this._$el.addClass("eruda-inline"),this.show()))},_isInit:!1,version:"3.4.1",util:{isErudaEl:Ne,evalCss:re,isDarkTheme:function(e){return e||(e=this.getTheme()),Z(e)},getTheme:function(){var e=re.getCurTheme(),t="Light";return x()(X,(function(n,o){ir()(n,e)&&(t=o)})),t}},chobitsu:Kt,Tool:m,Console:wt,Elements:Jn,Network:sn,Sources:Zo,Resources:Io,Info:Fo,Snippets:ho,Settings:se,get:function(e){if(this._checkInit()){if("entryBtn"===e)return this._entryBtn;var t=this._devTools;return e?t.get(e):t}},add:function(e){if(this._checkInit())return ct()(e)&&(e=e(this)),this._devTools.add(e),this},remove:function(e){return this._devTools.remove(e),this},show:function(e){if(this._checkInit()){var t=this._devTools;return e?t.showTool(e):t.show(),this}},hide:function(){if(this._checkInit())return this._devTools.hide(),this},destroy:function(){this._devTools.destroy(),delete this._devTools,this._entryBtn.destroy(),delete this._entryBtn,this._unregisterListener(),v()(this._container).remove(),re.clear(),this._isInit=!1,this._container=null,this._shadowRoot=null},scale:function(e){return We()(e)?(this._scale=e,p.emit(p.SCALE,e),this):this._scale},position:function(e){var t=this._entryBtn;return tr()(e)?(t.setPos(e),this):t.getPos()},_autoScale:function(){pn()()&&this.scale(1/or()())},_registerListener:function(){var e=this;this._addListener=function(){return e.add.apply(e,arguments)},this._showListener=function(){return e.show.apply(e,arguments)},p.on(p.ADD,this._addListener),p.on(p.SHOW,this._showListener),p.on(p.SCALE,re.setScale)},_unregisterListener:function(){p.off(p.ADD,this._addListener),p.off(p.SHOW,this._showListener),p.off(p.SCALE,re.setScale)},_checkInit:function(){return this._isInit||Ge.error('Please call "eruda.init()" first'),this._isInit},_initContainer:function(e,t){var o,r;e||(e=document.createElement("div"),document.documentElement.appendChild(e)),e.id="eruda",e.style.all="initial",this._container=e,t&&(e.attachShadow?o=e.attachShadow({mode:"open"}):e.createShadowRoot&&(o=e.createShadowRoot()),o&&(re.container=document.head,re(n(6793)+n(7853)+n(9907)+n(879)+n(1107)+n(5259)),r=document.createElement("div"),o.appendChild(r),this._shadowRoot=o)),this._shadowRoot||(r=document.createElement("div"),e.appendChild(r)),F()(r,{className:"eruda-container __chobitsu-hide__",contentEditable:!1}),"ios"===Oo()().name&&r.setAttribute("ontouchstart",""),this._$el=v()(r)},_initDevTools:function(e,t){this._devTools=new it(this._$el,{defaults:e,inline:t})},_initStyle:function(){var e="eruda-style-container",t=this._$el;this._shadowRoot?(re.container=this._shadowRoot,re(":host { all: initial }")):(t.append('<div class="'.concat(e,'"></div>')),re.container=t.find(".".concat(e)).get(0)),re(n(2713)+n(9907)+n(7853)+n(5259)+n(3277)+n(879)+n(4393)+n(7253)+n(1107)+n(187)+n(1277)+n(6243)+n(6793))},_initEntryBtn:function(){var e=this;this._entryBtn=new Fe(this._$el),this._entryBtn.on("click",(function(){return e._devTools.toggle()}))},_initSettings:function(){var e=this._devTools,t=new se;e.add(t),this._entryBtn.initCfg(t),e.initCfg(t)},_initTools:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["console","elements","network","resources","sources","info","snippets"];t=_o()(t);var n=this._devTools;t.forEach((function(t){var o=e[Ze()(t)];try{o&&n.add(new o)}catch(r){ue()((function(){Ge.error("Something wrong when initializing tool ".concat(t,":"),r.message)}))}})),n.showTool(t[0]||"settings")}}},7523:function(e,t,n){var o=n(29).A;e.exports=o,e.exports.default=o},3962:function(e,t,n){n.r(t),t.default={}},6476:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{s(o.next(e))}catch(t){i(t)}}function l(e){try{s(o.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((o=o.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,o,r,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&l[0]?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!((r=(r=i.trys).length>0&&r[r.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(6===l[0]&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(s){l=[6,s],o=0}finally{n=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(8665)),l=i(n(9993)),s=i(n(8046)),c=i(n(9100)),u=i(n(2263)),d=n(916),p=function(){function e(){var e=this;this.resolves=new Map,this.domains=new Map,this.onMessage=l.default,a.default.on("message",(function(t){var n=JSON.parse(t),o=e.resolves.get(n.id);if(o&&o(n.result),!n.id){var r=n.method.split("."),i=r[0],a=r[1],l=e.domains.get(i);l&&l.emit(a,n.params)}e.onMessage(t)}))}return e.prototype.domain=function(e){return this.domains.get(e)},e.prototype.setOnMessage=function(e){this.onMessage=e},e.prototype.sendMessage=function(e,t){var n=this;void 0===t&&(t={});var o=(0,s.default)();return this.sendRawMessage(JSON.stringify({id:o,method:e,params:t})),new Promise((function(e){n.resolves.set(o,e)}))},e.prototype.sendRawMessage=function(e){return o(this,void 0,void 0,(function(){var t,n,o,i,l,s,c;return r(this,(function(r){switch(r.label){case 0:t=JSON.parse(e),n=t.method,o=t.params,i=t.id,l={id:i},r.label=1;case 1:return r.trys.push([1,3,,4]),s=l,[4,this.callMethod(n,o)];case 2:return s.result=r.sent(),[3,4];case 3:return(c=r.sent())instanceof d.ErrorWithCode?l.error={message:c.message,code:c.code}:c instanceof Error&&(l.error={message:c.message}),[3,4];case 4:return a.default.emit("message",JSON.stringify(l)),[2]}}))}))},e.prototype.register=function(e,t){var n=this.domains,o=n.get(e);o||(o={},u.default.mixin(o)),(0,c.default)(t,(function(e,t){o[t]=e})),n.set(e,o)},e.prototype.callMethod=function(e,t){return o(this,void 0,void 0,(function(){var n,o,i,a;return r(this,(function(r){if(n=e.split("."),o=n[0],i=n[1],(a=this.domain(o))&&a[i])return[2,a[i](t)||{}];throw Error("".concat(e," unimplemented"))}))}))},e}();t.default=p},6192:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(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)&&o(t,e,n);return r(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.collectClassNamesFromSubtree=function(e){var t=(0,u.getNode)(e.nodeId),n=[];return M(t,(function(e){if(1===e.nodeType){var t=e.getAttribute("class");if(t)for(var o=0,r=t.split(/\s+/);o<r.length;o++){var i=r[o];n.push(i)}}})),{classNames:(0,y.default)(n)}},t.copyTo=function(e){var t=e.nodeId,n=e.targetNodeId,o=(0,u.getNode)(t),r=(0,u.getNode)(n),i=o.cloneNode(!0);return r.appendChild(i),{nodeId:(0,u.getNodeId)(i)}},t.enable=function(){T=!0,p.default.disconnect(),p.default.observe(document.documentElement),c.clear()},t.getDocument=function(){return{root:c.wrap(document,{depth:2})}},t.getOuterHTML=function(e){var t="";return e.nodeId&&(t=(0,u.getNode)(e.nodeId).outerHTML),{outerHTML:t}},t.moveTo=function(e){var t=e.nodeId,n=e.targetNodeId,o=(0,u.getNode)(t);return(0,u.getNode)(n).appendChild(o),{nodeId:(0,u.getNodeId)(o)}},t.performSearch=function(e){var t=(0,_.default)(e.query),n=[];try{n=(0,S.default)(n,(0,k.default)(document.querySelectorAll(t)))}catch(r){}try{n=(0,S.default)(n,(0,x.default)(t))}catch(r){}M(document,(function(e){var o=e.nodeType;if(1===o){var r=e.localName;if((0,b.default)("<".concat(r," "),t)||(0,b.default)("</".concat(r,">"),t))return void n.push(e);var i=[];(0,w.default)(e.attributes,(function(e){var t=e.name,n=e.value;return i.push(t,n)}));for(var a=0,l=i.length;a<l;a++)if((0,b.default)((0,_.default)(i[a]),t)){n.push(e);break}}else 3===o&&(0,b.default)((0,_.default)(e.nodeValue),t)&&n.push(e)}));var o=(0,E.createId)();return A.set(o,n),{searchId:o,resultCount:n.length}},t.getSearchResults=function(e){var t=e.searchId,n=e.fromIndex,o=e.toIndex,r=A.get(t).slice(n,o);return{nodeIds:(0,v.default)(r,(function(e){return(0,u.getNodeId)(e)||$(e)}))}},t.pushNodesToFrontend=$,t.discardSearchResults=function(e){A.delete(e.searchId)},t.pushNodesByBackendIdsToFrontend=function(e){return{nodeIds:e.backendNodeIds}},t.removeNode=function(e){var t=(0,u.getNode)(e.nodeId);(0,f.default)(t).remove()},t.requestChildNodes=function(e){var t=e.nodeId,n=e.depth,o=void 0===n?1:n,r=(0,u.getNode)(t);s.default.trigger("DOM.setChildNodes",{parentId:t,nodes:c.getChildNodes(r,o)})},t.requestNode=function(e){var t=d.getObj(e.objectId);return{nodeId:(0,u.getNodeId)(t)}},t.resolveNode=function(e){var t=(0,u.getNode)(e.nodeId);return{object:d.wrap(t)}},t.setAttributesAsText=function(e){var t,n=e.name,o=e.text,r=e.nodeId,i=(0,u.getNode)(r);n&&i.removeAttribute(n),(0,f.default)(i).attr((t="<div ".concat(t=o,"></div>"),g.default.parse(t)[0].attrs))},t.setAttributeValue=function(e){var t=e.nodeId,n=e.name,o=e.value;(0,u.getNode)(t).setAttribute(n,o)},t.setInspectedNode=function(e){var t=(0,u.getNode)(e.nodeId);I.unshift(t),I.length>5&&I.pop();for(var n=0;n<5;n++)(0,C.setGlobal)("$".concat(n),I[n])},t.setNodeValue=function(e){var t=e.nodeId,n=e.value;(0,u.getNode)(t).nodeValue=n},t.setOuterHTML=function(e){var t=e.nodeId,n=e.outerHTML;(0,u.getNode)(t).outerHTML=n},t.getDOMNodeId=function(e){var t=e.node;return{nodeId:c.getOrCreateNodeId(t)}},t.getDOMNode=function(e){var t=e.nodeId;return{node:(0,u.getNode)(t)}},t.getTopLayerElements=function(){return{nodeIds:[]}},t.getNodesForSubtreeByStyle=function(){return{nodeIds:[]}};var l,s=a(n(8665)),c=i(n(9893)),u=n(9893),d=i(n(2484)),p=a(n(8757)),f=a(n(3693)),h=a(n(4236)),m=a(n(9464)),g=a(n(9548)),v=a(n(3915)),y=a(n(438)),b=a(n(3249)),_=a(n(96)),w=a(n(9100)),k=a(n(769)),x=a(n(8862)),S=a(n(4069)),C=n(2627),E=n(916),T=!1;(l=Element.prototype.attachShadow)&&(Element.prototype.attachShadow=function(e){var t=l.apply(this,[e]);if(!c.isValidNode(this))return t;if(this.chobitsuShadowRoot=t,T){p.default.observe(t);var n=(0,u.getNodeId)(this);n&&s.default.trigger("DOM.shadowRootPushed",{hostId:n,root:c.wrap(t,{depth:1})})}return t});var A=new Map;function $(e){for(var t=[e],n=e.parentNode;n&&(t.push(n),!(r=(0,u.getNodeId)(n)));)n=n.parentNode;for(;t.length;){var o=t.pop(),r=(0,u.getNodeId)(o);s.default.trigger("DOM.setChildNodes",{parentId:r,nodes:c.getChildNodes(o,1)})}return(0,u.getNodeId)(e)}var I=[];function M(e,t){for(var n=c.filterNodes(e.childNodes),o=0,r=n.length;o<r;o++){var i=n[o];t(i),M(i,t)}}p.default.on("attributes",(function(e,t){var n=(0,u.getNodeId)(e);if(n){var o=e.getAttribute(t);(0,h.default)(o)?s.default.trigger("DOM.attributeRemoved",{nodeId:n,name:t}):s.default.trigger("DOM.attributeModified",{nodeId:n,name:t,value:o})}})),p.default.on("childList",(function(e,t,n){var o=(0,u.getNodeId)(e);if(o){if(t=c.filterNodes(t),n=c.filterNodes(n),!(0,m.default)(t)){f();for(var r=0,i=t.length;r<i;r++){var a=t[r],l=c.getPreviousNode(a),d=l?(0,u.getNodeId)(l):0,p={node:c.wrap(a,{depth:0}),parentNodeId:o,previousNodeId:d};s.default.trigger("DOM.childNodeInserted",p)}}if(!(0,m.default)(n))for(r=0,i=n.length;r<i;r++){if(a=n[r],!(0,u.getNodeId)(a)){f();break}s.default.trigger("DOM.childNodeRemoved",{nodeId:(0,u.getNodeId)(a),parentNodeId:o})}}function f(){s.default.trigger("DOM.childNodeCountUpdated",{childNodeCount:c.wrap(e,{depth:0}).childNodeCount,nodeId:o})}})),p.default.on("characterData",(function(e){var t=(0,u.getNodeId)(e);t&&s.default.trigger("DOM.characterDataModified",{characterData:e.nodeValue,nodeId:t})}))},5334:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{s(o.next(e))}catch(t){i(t)}}function l(e){try{s(o.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((o=o.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,o,r,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&l[0]?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!((r=(r=i.trys).length>0&&r[r.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(6===l[0]&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(s){l=[6,s],o=0}finally{n=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.enable=void 0,t.deleteCookies=function(e){(0,u.default)(e.name)},t.getCookies=function(){var e=[],t=document.cookie;return""!==(0,l.default)(t)&&(0,s.default)(t.split(";"),(function(t){t=t.split("=");var n=(0,l.default)(t.shift());t=(0,c.default)(t.join("=")),e.push({name:n,value:t})})),{cookies:e}},t.getResponseBody=function(e){return{base64Encoded:!1,body:w.get(e.requestId)}};var l=a(n(9405)),s=a(n(9100)),c=a(n(6334)),u=a(n(3290)),d=a(n(9122)),p=a(n(3249)),f=a(n(3981)),h=a(n(1738)),m=a(n(3750)),g=a(n(8971)),v=a(n(5957)),y=n(3411),b=a(n(8665)),_=n(916),w=new Map,k=!1;function x(e,t){e.on("send",(function(e,n){var o={method:n.method,url:n.url,headers:n.reqHeaders};n.data&&(o.postData=n.data),I("Network.requestWillBeSent",{requestId:e,type:t,request:o,timestamp:n.time/1e3})})),e.on("headersReceived",(function(e,t){I("Network.responseReceivedExtraInfo",{requestId:e,blockedCookies:[],headers:t.resHeaders})})),e.on("done",(function(e,n){var o={status:n.status};n.resHeaders&&(o.headers=n.resHeaders),I("Network.responseReceived",{requestId:e,type:t,response:o,timestamp:n.time/1e3}),w.set(e,n.resTxt),I("Network.loadingFinished",{requestId:e,encodedDataLength:n.size,timestamp:n.time/1e3})})),e.on("error",(function(e,n){I("Network.loadingFailed",{requestId:e,errorText:n.errorText,timestamp:n.time/1e3,type:t})}))}function S(e){return!(0,p.default)(e,"__chobitsu-hide__=true")}t.enable=function(){k=!0,(0,s.default)($,(function(e){return e()})),$=[]};var C,E,T,A,$=[];function I(e,t){k?b.default.trigger(e,t):$.push((function(){return b.default.trigger(e,t)}))}C=window.XMLHttpRequest.prototype,E=C.send,T=C.open,A=C.setRequestHeader,C.open=function(e,t){if(!S(t))return T.apply(this,arguments);x(this.chobitsuRequest=new y.XhrRequest(this,e,t),"XHR"),T.apply(this,arguments)},C.send=function(e){var t=this.chobitsuRequest;t&&t.handleSend(e),E.apply(this,arguments)},C.setRequestHeader=function(e,t){var n=this.chobitsuRequest;n&&n.handleReqHeadersSet(e,t),A.apply(this,arguments)},function(){var e=!1;if(window.fetch&&((e=(0,d.default)(window.fetch))||(navigator.serviceWorker&&(e=!0),window.Request&&(0,d.default)(window.Request)&&(e=!0))),e){var t=window.fetch;window.fetch=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=new(y.FetchRequest.bind.apply(y.FetchRequest,i([void 0],e,!1)));x(o,"Fetch");var r=t.apply(void 0,e);return o.send(r),r}}}(),function(){var e=window.WebSocket;function t(t,n){var i=new e(t,n);if(!S(t))return i;var a=(0,_.createId)();I("Network.webSocketCreated",{requestId:a,url:t}),i.addEventListener("open",(function(){I("Network.webSocketWillSendHandshakeRequest",{requestId:a,timestamp:(0,f.default)()/1e3,request:{headers:{}}}),I("Network.webSocketHandshakeResponseReceived",{requestId:a,timeStamp:(0,f.default)()/1e3,response:{status:101,statusText:"Switching Protocols"}})})),i.addEventListener("message",(function(e){return o(this,void 0,void 0,(function(){var t,n;return r(this,(function(o){switch(o.label){case 0:return t=e.data,(0,g.default)(t)?[2]:(n=1,(0,h.default)(t)?[3,3]:(n=2,(0,m.default)(t)?[4,v.default.blobToArrBuffer(t)]:[3,2]));case 1:t=o.sent(),o.label=2;case 2:t=(0,v.default)(t,"base64"),o.label=3;case 3:return I("Network.webSocketFrameReceived",{requestId:a,timestamp:(0,f.default)()/1e3,response:{opcode:n,payloadData:t}}),[2]}}))}))}));var l=i.send;return i.send=function(e){return(0,g.default)(e)||function(e){o(this,void 0,void 0,(function(){var t,n;return r(this,(function(o){switch(o.label){case 0:return t=1,n=e,(0,h.default)(e)?[3,3]:(t=2,(0,m.default)(n)?[4,v.default.blobToArrBuffer(n)]:[3,2]);case 1:n=o.sent(),o.label=2;case 2:n=(0,v.default)(e,"base64"),o.label=3;case 3:return I("Network.webSocketFrameSent",{requestId:a,timestamp:(0,f.default)()/1e3,response:{opcode:t,payloadData:n}}),[2]}}))}))}(e),l.call(this,e)},i.addEventListener("close",(function(){I("Network.webSocketClosed",{requestId:a,timestamp:(0,f.default)()/1e3})})),i.addEventListener("error",(function(){I("Network.webSocketFrameError",{requestId:a,timestamp:(0,f.default)()/1e3,errorMessage:"WebSocket error"})})),i}t.prototype=e.prototype,t.CLOSED=e.CLOSED,t.CLOSING=e.CLOSING,t.CONNECTING=e.CONNECTING,t.OPEN=e.OPEN,window.WebSocket=t}()},2480:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(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)&&o(t,e,n);return r(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.enable=function(){if(!x){var e=(0,p.default)("div",{class:"__chobitsu-hide__",style:{all:"initial"}});s=(0,d.default)(e),document.documentElement.appendChild(e);var t=null,n=null;if(e.attachShadow?n=e.attachShadow({mode:"open"}):e.createShadowRoot&&(n=e.createShadowRoot()),n){var o=document.createElement("style");o.textContent=E,o.type="text/css",n.appendChild(o),t=document.createElement("div"),n.appendChild(t)}else t=document.createElement("div"),e.appendChild(t),k||((0,f.default)(E),k=!0);l=new _.default(t,{monitorResize:(0,y.default)(v.default.ResizeObserver),showInfo:S}),window.addEventListener("resize",B),x=!0}},t.disable=function(){l.destroy(),s.remove(),window.removeEventListener("resize",B),x=!1},t.highlightNode=T,t.hideHighlight=A,t.setShowViewportSizeOnResize=function(e){$=e.show},t.setInspectMode=function(e){I=e.highlightConfig,M=e.mode};var l,s,c=n(9893),u=n(6192),d=a(n(3693)),p=a(n(5241)),f=a(n(3048)),h=a(n(5651)),m=a(n(8105)),g=a(n(8665)),v=a(n(5169)),y=a(n(9e3)),b=a(n(8534)),_=a(n(9196)),w=i(n(2484)),k=!1,x=!1,S=(0,b.default)("clip-path","polygon(50% 0px, 0px 100%, 100% 100%)"),C="ontouchstart"in v.default,E=n(7119).replace("/*# sourceMappingURL=luna-dom-highlighter.css.map*/","");function T(e){var t,n=e.nodeId,o=e.highlightConfig,r=e.objectId;n&&(t=(0,c.getNode)(n)),r&&(t=w.getObj(r)),1!==t.nodeType&&3!==t.nodeType||((0,h.default)(o,{contentColor:"transparent",paddingColor:"transparent",borderColor:"transparent",marginColor:"transparent"}),S||(0,m.default)(o,{showInfo:!1}),l.highlight(t,o))}function A(){l.hide()}var $=!1,I={},M="none";function P(e){if(C){var t=e.touches[0]||e.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}return document.elementFromPoint(e.clientX,e.clientY)}var N=-1;function O(e){if("none"!==M){var t=P(e);if(t&&(0,c.isValidNode)(t)){var n=(0,c.getNodeId)(t);n||(n=(0,u.pushNodesToFrontend)(t)),T({nodeId:n,highlightConfig:I}),n!==N&&(g.default.trigger("Overlay.nodeHighlightRequested",{nodeId:n}),N=n)}}}function R(e){if("none"!==M){e.preventDefault(),e.stopImmediatePropagation();var t=P(e);g.default.trigger("Overlay.inspectNodeRequested",{backendNodeId:(0,c.getNodeId)(t)}),N=-1,A()}}function D(e,t){document.documentElement.addEventListener(e,t,!0)}C?(D("touchstart",O),D("touchmove",O),D("touchend",R)):(D("mousemove",O),D("mouseout",(function(){"none"!==M&&A()})),D("click",R));var L=(0,p.default)("div",{class:"__chobitsu-hide__",style:{position:"fixed",right:0,top:0,background:"#fff",fontSize:13,opacity:.5,padding:"4px 6px"}});function B(){$&&(z.text("".concat(window.innerWidth,"px × ").concat(window.innerHeight,"px")),V?clearTimeout(V):document.documentElement.appendChild(L),V=setTimeout((function(){z.remove(),V=null}),1e3))}var V,z=(0,d.default)(L)},5689:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUsageAndQuota=function(){return{quota:0,usage:0,overrideActive:!1,usageBreakdown:[]}},t.clearDataForOrigin=function(e){var t=e.storageTypes.split(",");(0,r.default)(t,(function(e){if("cookies"===e){var t=(0,s.getCookies)().cookies;(0,r.default)(t,(function(e){var t=e.name;return(0,i.default)(t)}))}else"local_storage"===e&&(c.clear(),u.clear())}))},t.getTrustTokens=function(){return{tokens:[]}},t.getStorageKeyForFrame=function(){return{storageKey:location.origin}},t.getSharedStorageMetadata=function(){return{metadata:{creationTime:0,length:0,remainingBudget:0,bytesUsed:0}}},t.setStorageBucketTracking=function(){l.default.trigger("Storage.storageBucketCreatedOrUpdated",{bucketInfo:{bucket:{storageKey:location.origin},durability:"relaxed",expiration:0,id:"0",persistent:!1,quota:0}})};var r=o(n(9100)),i=o(n(3290)),a=o(n(1931)),l=o(n(8665)),s=n(5334),c=(0,a.default)("local"),u=(0,a.default)("session")},8665:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return(o=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(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}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.trigger=function(e,t){this.emit("message",JSON.stringify({method:e,params:t}))},t}(i(n(2263)).default);t.default=new a},2627:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setGlobal=function(e,t){u[e]=t},t.default=function(e){var t;(0,c.default)(u,(function(e,t){window[t]||(window[t]=e)}));try{t=eval.call(window,"(".concat(e,")"))}catch(n){t=eval.call(window,e)}return(0,c.default)(u,(function(e,t){window[t]&&window[t]===e&&delete window[t]})),t};var r=o(n(1738)),i=o(n(4844)),a=o(n(769)),l=o(n(3145)),s=o(n(8862)),c=o(n(9100)),u={copy:function(e){(0,r.default)(e)||(e=JSON.stringify(e,null,2)),(0,i.default)(e)},$:function(e){return document.querySelector(e)},$$:function(e){return(0,a.default)(document.querySelectorAll(e))},$x:function(e){return(0,s.default)(e)},keys:l.default}},8757:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return(o=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(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}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(2263)),l=i(n(9100)),s=function(e){function t(){var t=e.call(this)||this;return t.observer=new MutationObserver((function(e){(0,l.default)(e,(function(e){return t.handleMutation(e)}))})),t}return r(t,e),t.prototype.observe=function(e){this.observer.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})},t.prototype.disconnect=function(){this.observer.disconnect()},t.prototype.handleMutation=function(e){"attributes"===e.type?this.emit("attributes",e.target,e.attributeName):"childList"===e.type?this.emit("childList",e.target,e.addedNodes,e.removedNodes):"characterData"===e.type&&this.emit("characterData",e.target)},t}(a.default);t.default=new s},9893:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getOrCreateNodeId=h,t.clear=function(){d.clear(),p.clear()},t.getNodeId=function(e){return p.get(e)},t.wrap=m,t.getChildNodes=g,t.getPreviousNode=function(e){var t=e.previousSibling;if(t){for(;!y(t)&&t.previousSibling;)t=t.previousSibling;return t&&y(t)?t:void 0}},t.filterNodes=v,t.isValidNode=y,t.getNode=function(e){var t=d.get(e);if(!t||10===t.nodeType||11===t.nodeType)throw(0,u.createErr)(-32e3,"Could not find node with given id");return t};var r=o(n(3915)),i=o(n(2571)),a=o(n(9100)),l=o(n(9405)),s=o(n(3249)),c=o(n(8105)),u=n(916),d=new Map,p=new Map,f=1;function h(e){var t=p.get(e);return t||(t=f++,p.set(e,t),d.set(t,e),t)}function m(e,t){var n,o=(void 0===t?{}:t).depth,r=void 0===o?1:o,i=h(e),l={nodeName:e.nodeName,nodeType:e.nodeType,localName:e.localName||"",nodeValue:e.nodeValue||"",nodeId:i,backendNodeId:i};if(e.parentNode&&(l.parentId=h(e.parentNode)),10===e.nodeType)return(0,c.default)(l,{publicId:"",systemId:""});if(e.attributes){var s=[];(0,a.default)(e.attributes,(function(e){var t=e.name,n=e.value;return s.push(t,n)})),l.attributes=s}e.shadowRoot?l.shadowRoots=[m(e.shadowRoot,{depth:1})]:e.chobitsuShadowRoot&&(l.shadowRoots=[m(e.chobitsuShadowRoot,{depth:1})]),n=e,window.ShadowRoot&&n instanceof ShadowRoot&&(l.shadowRootType=e.mode||"user-agent");var u=v(e.childNodes);l.childNodeCount=u.length;var d=1===l.childNodeCount&&3===u[0].nodeType;return(r>0||d)&&(l.children=g(e,r)),l}function g(e,t){var n=v(e.childNodes);return(0,r.default)(n,(function(e){return m(e,{depth:t-1})}))}function v(e){return i.default(e,(function(e){return y(e)}))}function y(e){if(1===e.nodeType){var t=e.getAttribute("class")||"";if((0,s.default)(t,"__chobitsu-hide__")||(0,s.default)(t,"html2canvas-container"))return!1}var n=!(3===e.nodeType&&""===(0,l.default)(e.nodeValue||""));return n&&e.parentNode?y(e.parentNode):n}},2484:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){_.clear(),w.clear(),k.clear()},t.wrap=E,t.getObj=T,t.releaseObj=function(e){var t=T(e);w.delete(t),k.delete(e),_.delete(e)},t.getProperties=function(e){for(var t=e.accessorPropertiesOnly,n=e.objectId,o=e.ownProperties,i=e.generatePreview,a=[],s={prototype:!o,unenumerable:!0,symbol:!t},c=_.get(n),p=k.get(n),f=(0,m.default)(c,s),h=(0,v.default)(c),w=0,S=f.length;w<S;w++){var C=f[w],A=void 0;try{A=p[C]}catch(D){}var $={name:(0,r.default)(C),isOwn:(0,b.has)(p,C)},I=Object.getOwnPropertyDescriptor(c,C);if(!I&&h&&(I=Object.getOwnPropertyDescriptor(h,C)),I){if(t&&!I.get&&!I.set)continue;$.configurable=I.configurable,$.enumerable=I.enumerable,$.writable=I.writable,I.get&&($.get=E(I.get)),I.set&&($.set=E(I.set))}h&&(0,b.has)(h,C)&&$.enumerable&&($.isOwn=!0);var M=!0;!$.isOwn&&$.get&&(M=!1),M&&((0,y.default)(C)?($.symbol=E(C),$.value={type:"undefined"}):$.value=E(A,{generatePreview:i})),t&&(0,l.default)(A)&&(0,g.default)(A)||a.push($)}if(!h||o||O(c)||a.push({name:"__proto__",configurable:!0,enumerable:!1,isOwn:(0,b.has)(c,"__proto__"),value:E(h,{self:p}),writable:!1}),t)return{result:a};var P=[];if(h&&!O(c)&&P.push({name:"[[Prototype]]",value:E(h,{self:p})}),(0,u.default)(c)||(0,d.default)(c)){var R=function(e){for(var t=x.get(e),n=t?T(t):[],o=e.entries(),r=o.next().value;r;)(0,u.default)(e)?n.push(new N(r[1],r[0])):n.push(new N(r[1])),r=o.next().value;return n}(c);P.push({name:"[[Entries]]",value:E(R)})}return{internalProperties:P,result:a}};var r=o(n(2561)),i=o(n(4236)),a=o(n(6214)),l=o(n(3957)),s=o(n(2708)),c=o(n(2650)),u=o(n(1751)),d=o(n(5945)),p=o(n(1976)),f=o(n(3145)),h=o(n(1168)),m=o(n(7514)),g=o(n(9122)),v=o(n(5427)),y=o(n(9350)),b=n(916),_=new Map,w=new Map,k=new Map,x=new Map,S=1;function C(e,t){var n=w.get(e);return n||(n=JSON.stringify({injectedScriptId:0,id:S++}),w.set(e,n),_.set(n,e),k.set(n,t),n)}function E(e,t){var n=void 0===t?{}:t,o=n.generatePreview,r=void 0!==o&&o,i=n.self,a=void 0===i?e:i,l=P(e),s=l.type,c=l.subtype;return"undefined"===s?l:"string"===s||"boolean"===s||"null"===c?(l.value=e,l):(l.description=M(e,a),"number"===s?(l.value=e,l):"symbol"===s?(l.objectId=C(e,a),l):(l.className="function"===s?"Function":"array"===c?"Array":"map"===c?"Map":"set"===c?"Set":"regexp"===c?"RegExp":"error"===c?e.name:(0,b.getType)(e,!1),r&&(l.preview=$(e,a)),l.objectId=C(e,a),l))}function T(e){return _.get(e)}var A=5;function $(e,t){void 0===t&&(t=e);var n=P(e);n.description=M(e,t);var o=!1,r=[],i=(0,f.default)(e),a=i.length;a>A&&(a=A,o=!0);for(var l=0;l<a;l++){var s=i[l];r.push(I(s,t[s]))}if(n.properties=r,(0,u.default)(e)){for(var c=[],p=(l=0,e.keys()),h=p.next().value;h;){if(l>A){o=!0;break}c.push({key:$(h),value:$(e.get(h))}),l++,h=p.next().value}n.entries=c}else if((0,d.default)(e)){var m=[],g=(l=0,e.keys());for(h=g.next().value;h;){if(l>A){o=!0;break}m.push({value:$(h)}),l++,h=g.next().value}n.entries=m}return n.overflow=o,n}function I(e,t){var n=P(t);n.name=e;var o,i=n.subtype;return o="object"===n.type?"null"===i?"null":"array"===i?"Array(".concat(t.length,")"):"map"===i?"Map(".concat(t.size,")"):"set"===i?"Set(".concat(t.size,")"):(0,b.getType)(t,!1):(0,r.default)(t),n.value=o,n}function M(e,t){void 0===t&&(t=e);var n=P(e),o=n.type,i=n.subtype;return"string"===o?e:"number"===o||"symbol"===o?(0,r.default)(e):"function"===o?(0,h.default)(e):"array"===i?"Array(".concat(e.length,")"):"map"===i?"Map(".concat(t.size,")"):"set"===i?"Set(".concat(t.size,")"):"regexp"===i?(0,r.default)(e):"error"===i?e.stack:"internal#entry"===i?e.name?'{"'.concat((0,r.default)(e.name),'" => "').concat((0,r.default)(e.value),'"}'):'"'.concat((0,r.default)(e.value),'"'):(0,b.getType)(e,!1)}function P(e){var t=typeof e,n="object";if(e instanceof N)n="internal#entry";else if((0,i.default)(e))n="null";else if((0,a.default)(e))n="array";else if((0,p.default)(e))n="regexp";else if((0,c.default)(e))n="error";else if((0,u.default)(e))n="map";else if((0,d.default)(e))n="set";else try{(0,s.default)(e)&&(n="node")}catch(o){}return{type:t,subtype:n}}var N=function(e,t){t&&(this.name=t),this.value=e};function O(e){return e instanceof N||!!(e[0]&&e[0]instanceof N)}},3411:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return(o=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(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}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FetchRequest=t.XhrRequest=void 0,t.fullUrl=S;var a=i(n(2263)),l=i(n(1738)),s=i(n(3497)),c=i(n(6032)),u=i(n(9464)),d=i(n(9405)),p=i(n(3981)),f=i(n(9100)),h=i(n(1009)),m=i(n(6030)),g=n(916),v=function(e){function t(t,n,o){var r=e.call(this)||this;return r.xhr=t,r.reqHeaders={},r.method=n,r.url=S(o),r.id=(0,g.createId)(),t.addEventListener("readystatechange",(function(){2===t.readyState?r.handleHeadersReceived():4===t.readyState&&(0===t.status?r.handleError():r.handleDone())})),r}return r(t,e),t.prototype.toJSON=function(){return{method:this.method,url:this.url,id:this.id}},t.prototype.handleSend=function(e){(0,l.default)(e)||(e=""),e={name:C(this.url),url:this.url,data:e,time:(0,p.default)(),reqHeaders:this.reqHeaders,method:this.method},(0,u.default)(this.reqHeaders)||(e.reqHeaders=this.reqHeaders),this.emit("send",this.id,e)},t.prototype.handleReqHeadersSet=function(e,t){e&&t&&(this.reqHeaders[e]=t)},t.prototype.handleHeadersReceived=function(){var e=this.xhr,t=E(e.getResponseHeader("Content-Type")||"");this.emit("headersReceived",this.id,{type:t.type,subType:t.subType,size:k(e,!0,this.url),time:(0,p.default)(),resHeaders:w(e)})},t.prototype.handleDone=function(){var e,t,n,o=this,r=this.xhr,i=r.responseType,a="",l=function(){o.emit("done",o.id,{status:r.status,size:k(r,!1,o.url),time:(0,p.default)(),resTxt:a})},s=E(r.getResponseHeader("Content-Type")||"");"blob"!==i||"text"!==s.type&&"javascript"!==s.subType&&"json"!==s.subType?(""!==i&&"text"!==i||(a=r.responseText),"json"===i&&(a=JSON.stringify(r.response)),l()):(e=r.response,t=function(e,t){t&&(a=t),l()},(n=new FileReader).onload=function(){t(0,n.result)},n.onerror=function(e){t()},n.readAsText(e))},t.prototype.handleError=function(){this.emit("error",this.id,{errorText:"Network error",time:(0,p.default)()})},t}(a.default);t.XhrRequest=v;var y=function(e){function t(t,n){void 0===n&&(n={});var o=e.call(this)||this,r=t instanceof window.Request,i=r?t.url:t;return o.url=S(i),o.id=(0,g.createId)(),o.options=n,o.reqHeaders=n.headers||(r?t.headers:{}),o.method=n.method||(r?t.method:"GET"),o}return r(t,e),t.prototype.send=function(e){var t=this,n=this.options,o=(0,l.default)(n.body)?n.body:"";this.emit("send",this.id,{name:C(this.url),url:this.url,data:o,reqHeaders:this.reqHeaders,time:(0,p.default)(),method:this.method}),e.then((function(e){var n=E((e=e.clone()).headers.get("Content-Type"));return e.text().then((function(o){var r={type:n.type,subType:n.subType,time:(0,p.default)(),size:b(e,o),resTxt:o,resHeaders:_(e),status:e.status};(0,u.default)(t.reqHeaders)||(r.reqHeaders=t.reqHeaders),t.emit("done",t.id,r)})),e})).catch((function(e){t.emit("error",t.id,{errorText:e.message,time:(0,p.default)()})}))},t}(a.default);function b(e,t){var n=e.headers.get("Content-length");return n?(0,m.default)(n):A(t)}function _(e){var t={};return e.headers.forEach((function(e,n){return t[n]=e})),t}function w(e){var t=e.getAllResponseHeaders().split("\n"),n={};return(0,f.default)(t,(function(e){if(""!==(e=(0,d.default)(e))){var t=e.split(":",2),o=t[0],r=t[1];n[o]=(0,d.default)(r)}})),n}function k(e,t,n){var o,r=0;function i(){if(!t){var n=e.responseType,o="";""!==n&&"text"!==n||(o=e.responseText),o&&(r=A(o))}}if(o=n,(0,h.default)(o,T))try{r=(0,m.default)(e.getResponseHeader("Content-Length"))}catch(o){i()}else i();return 0===r&&i(),r}t.FetchRequest=y;var x=document.createElement("a");function S(e){return x.href=e,x.protocol+"//"+x.host+x.pathname+x.search+x.hash}function C(e){var t=(0,s.default)(e.split("/"));return t.indexOf("?")>-1&&(t=(0,d.default)(t.split("?")[0])),""===t&&(t=new c.default(e).hostname),t}function E(e){if(!e)return{type:"unknown",subType:"unknown"};var t=e.split(";")[0].split("/");return{type:t[0],subType:(0,s.default)(t)}}var T=window.location.origin;function A(e){var t=encodeURIComponent(e).match(/%[89ABab]/g);return e.length+(t?t.length:0)}},916:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return(o=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(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}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{s(o.next(e))}catch(t){i(t)}}function l(e){try{s(o.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((o=o.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,o,r,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&l[0]?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!((r=(r=i.trys).length>0&&r[r.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(6===l[0]&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(s){l=[6,s],o=0}finally{n=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorWithCode=void 0,t.createId=function(){return(0,s.default)(g)},t.getAbsoluteUrl=function(e){var t=document.createElement("a");return t.href=e,t.href},t.createErr=function(e,t){return new v(e,t)},t.getUrl=function(){var e=location.href;return(0,u.default)(e,"about:")?parent.location.href:e},t.getOrigin=function(){var e=location.origin;return"null"===e?parent.location.origin:e},t.getTextContent=function(e){return i(this,arguments,void 0,(function(e,t){return void 0===t&&(t=""),a(this,(function(n){switch(n.label){case 0:return[4,y(e,"text",t)];case 1:return[2,n.sent()]}}))}))},t.getBase64Content=function(e){return i(this,arguments,void 0,(function(e,t){var n;return void 0===t&&(t=""),a(this,(function(o){switch(o.label){case 0:return n=p.default,[4,y(e,"arraybuffer",t)];case 1:return[2,n.apply(void 0,[o.sent(),"base64"])]}}))}))},t.getType=function(e,t){try{return h.default.apply(null,[e,t])}catch(n){return"Error"}},t.has=function(e,t){try{return m.default.apply(null,[e,t])}catch(n){return!1}};var s=l(n(5630)),c=l(n(6774)),u=l(n(1009)),d=l(n(6032)),p=l(n(5957)),f=l(n(3962)),h=l(n(2989)),m=l(n(365)),g=(0,c.default)(1e3,9999)+".",v=function(e){function t(t,n){var o=this.constructor,r=e.call(this,n)||this;return r.code=t,Object.setPrototypeOf(r,o.prototype),r}return r(t,e),t}(Error);function y(e,t){return i(this,arguments,void 0,(function(e,t,n){var o;return void 0===n&&(n=""),a(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,8]),(o=new d.default(e)).setQuery("__chobitsu-hide__","true"),[4,f.default.get(o.toString(),{responseType:t})];case 1:return[2,r.sent().data];case 2:if(r.sent(),!n)return[3,7];r.label=3;case 3:return r.trys.push([3,6,,7]),[4,f.default.get(b(n,e),{responseType:t})];case 4:return[4,r.sent().data];case 5:return[2,r.sent()];case 6:return r.sent(),[3,7];case 7:return[3,8];case 8:return[2,"arraybuffer"===t?new ArrayBuffer(0):""]}}))}))}function b(e,t){var n=new d.default(e);return n.setQuery("url",t),n.setQuery("__chobitsu-hide__","true"),n.toString()}t.ErrorWithCode=v},5067:function(e,t,n){(t=n(6314)(!1)).push([e.id,'#_console{padding-top:40px;padding-bottom:24px;width:100%;height:100%}#_console._js-input-hidden{padding-bottom:0}#_console ._control{padding:10px 10px 10px 35px;position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border)}#_console ._control [class*=" _icon-"],#_console ._control [class^=eruda-icon-]{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_console ._control [class*=" _icon-"]._active,#_console ._control [class*=" _icon-"]:active,#_console ._control [class^=eruda-icon-]._active,#_console ._control [class^=eruda-icon-]:active{color:var(--accent)}#_console ._control ._icon-clear{padding-right:0;left:0}#_console ._control ._icon-copy{right:0}#_console ._control ._icon-filter{right:23px}#_console ._control ._level{cursor:pointer;font-size:12px;height:20px;display:inline-block;margin:0 2px;padding:0 4px;line-height:20px;transition:background-color .3s,color .3s}#_console ._control ._level._active{background:var(--highlight);color:var(--select-foreground)}#_console ._control ._filter-text{white-space:nowrap;position:absolute;line-height:20px;max-width:80px;overflow:hidden;right:55px;font-size:14px;text-overflow:ellipsis}#_console ._js-input{pointer-events:none;position:absolute;z-index:100;left:0;bottom:0;width:100%;border-top:1px solid var(--border);height:24px}#_console ._js-input ._icon-arrow-right{line-height:23px;color:var(--accent);position:absolute;left:10px;top:0;z-index:10}#_console ._js-input._active{height:100%;padding-top:40px;padding-bottom:40px;border-top:none}#_console ._js-input._active ._icon-arrow-right{display:none}#_console ._js-input._active textarea{overflow:auto;padding-left:10px}#_console ._js-input ._buttons{display:none;position:absolute;left:0;bottom:0;width:100%;height:40px;color:var(--primary);background:var(--darker-background);font-size:12px;border-top:1px solid var(--border)}#_console ._js-input ._buttons ._button{pointer-events:all;cursor:pointer;flex:1;text-align:center;border-right:1px solid var(--border);height:40px;line-height:40px;transition:background-color .3s,color .3s}#_console ._js-input ._buttons ._button:last-child{border-right:none}#_console ._js-input ._buttons ._button:active{color:var(--select-foreground);background:var(--highlight)}#_console ._js-input textarea{overflow:hidden;pointer-events:all;padding:3px 10px;padding-left:25px;outline:0;border:none;font-size:14px;width:100%;height:100%;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;resize:none;color:var(--primary);background:var(--background)}._safe-area #_console{padding-bottom:calc(24px + env(safe-area-inset-bottom))}._safe-area #_console._js-input-hidden{padding-bottom:0}._safe-area #_console ._js-input{height:calc(24px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input._active{height:100%;padding-bottom:calc(40px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input ._buttons{height:calc(40px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input ._buttons ._button{height:calc(40px + env(safe-area-inset-bottom))}',""]),e.exports=t},849:function(e,t,n){(t=n(6314)(!1)).push([e.id,"._dev-tools{position:absolute;width:100%;height:100%;left:0;bottom:0;background:var(--background);z-index:500;display:none;padding-top:40px!important;opacity:0;transition:opacity .3s;border-top:1px solid var(--border)}._dev-tools ._resizer{position:absolute;width:100%;touch-action:none;left:0;top:-8px;cursor:row-resize;z-index:120}._dev-tools ._tools{overflow:auto;-webkit-overflow-scrolling:touch;height:100%;width:100%;position:relative}._dev-tools ._tools ._tool{position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;display:none}",""]),e.exports=t},7755:function(e,t,n){(t=n(6314)(!1)).push([e.id,'#_elements ._elements{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:40px;padding-bottom:24px;font-size:14px}#_elements ._control{padding:10px 0;position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border)}#_elements ._control [class*=" _icon-"],#_elements ._control [class^=eruda-icon-]{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_elements ._control [class*=" _icon-"]._active,#_elements ._control [class*=" _icon-"]:active,#_elements ._control [class^=eruda-icon-]._active,#_elements ._control [class^=eruda-icon-]:active{color:var(--accent)}#_elements ._control ._icon-eye{right:0}#_elements ._control ._icon-copy{right:23px}#_elements ._control ._icon-delete{right:46px}#_elements ._dom-viewer-container{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;padding:5px 0}#_elements ._crumbs{position:absolute;width:100%;height:24px;left:0;top:0;top:initial;line-height:24px;bottom:0;border-top:1px solid var(--border);background:var(--darker-background);color:var(--primary);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#_elements ._crumbs li{cursor:pointer;padding:0 7px;display:inline-block}#_elements ._crumbs li:hover,#_elements ._crumbs li:last-child{background:var(--highlight)}#_elements ._crumbs ._icon-arrow-right{font-size:12px;position:relative;top:1px}#_elements ._detail{position:absolute;width:100%;height:100%;left:0;top:0;z-index:10;padding-top:40px;display:none;background:var(--background)}#_elements ._detail ._control{padding:10px 35px}#_elements ._detail ._control ._element-name{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block}#_elements ._detail ._control ._icon-arrow-left{left:0}#_elements ._detail ._control ._icon-refresh{right:0}#_elements ._detail ._element{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%}#_elements ._section{border-bottom:1px solid var(--border);color:var(--foreground);margin:10px 0}#_elements ._section h2{color:var(--primary);background:var(--darker-background);border-top:1px solid var(--border);padding:10px;line-height:18px;font-size:14px;transition:background-color .3s}#_elements ._section h2 ._btn{margin-left:5px;float:right;color:var(--primary);width:18px;height:18px;font-size:16px;cursor:pointer;transition:color .3s}#_elements ._section h2 ._btn._filter-text{width:auto;max-width:80px;font-size:14px;overflow:hidden;font-weight:400;text-overflow:ellipsis;display:inline-block}#_elements ._section h2 ._btn:active{color:var(--accent)}#_elements ._section h2 ._btn._btn-disabled{color:inherit!important;cursor:default!important;pointer-events:none;opacity:.5}#_elements ._section h2 ._btn._btn-disabled *{pointer-events:none}#_elements ._section h2._active-effect{cursor:pointer}#_elements ._section h2._active-effect:active{background:var(--highlight);color:var(--select-foreground)}#_elements ._attributes{font-size:12px}#_elements ._attributes a{color:var(--link-color)}#_elements ._attributes ._table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}#_elements ._attributes table td{padding:5px 10px}#_elements ._text-content{background:#fff}#_elements ._text-content ._content{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px}#_elements ._style-color{position:relative;top:1px;width:10px;height:10px;border-radius:50%;margin-right:2px;border:1px solid var(--border);display:inline-block}#_elements ._box-model{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;text-align:center;border-bottom:1px solid var(--color)}#_elements ._computed-style{font-size:12px}#_elements ._computed-style a{color:var(--link-color)}#_elements ._computed-style ._table-wrapper{overflow-y:auto;-webkit-overflow-scrolling:touch;max-height:200px;border-top:1px solid var(--border)}#_elements ._computed-style table td{padding:5px 10px}#_elements ._computed-style table td._key{white-space:nowrap;color:var(--var-color)}#_elements ._styles{font-size:12px}#_elements ._styles ._style-wrapper{padding:10px}#_elements ._styles ._style-wrapper ._style-rules{border:1px solid var(--border);padding:10px;margin-bottom:10px}#_elements ._styles ._style-wrapper ._style-rules ._rule{padding-left:2em;word-break:break-all}#_elements ._styles ._style-wrapper ._style-rules ._rule a{color:var(--link-color)}#_elements ._styles ._style-wrapper ._style-rules ._rule span{color:var(--var-color)}#_elements ._styles ._style-wrapper ._style-rules:last-child{margin-bottom:0}#_elements ._listeners{font-size:12px}#_elements ._listeners ._listener-wrapper{padding:10px}#_elements ._listeners ._listener-wrapper ._listener{margin-bottom:10px;overflow:hidden;border:1px solid var(--border)}#_elements ._listeners ._listener-wrapper ._listener ._listener-type{padding:10px;background:var(--darker-background);color:var(--primary)}#_elements ._listeners ._listener-wrapper ._listener ._listener-content li{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;border-top:none}._safe-area #_elements ._elements{padding-bottom:calc(24px + env(safe-area-inset-bottom))}._safe-area #_elements ._crumbs{height:calc(24px + env(safe-area-inset-bottom))}._safe-area #_elements ._element{padding-bottom:calc(0px + env(safe-area-inset-bottom))}@media screen and (min-width:680px){#_elements ._elements{width:50%}#_elements ._elements ._control ._icon-eye{display:none}#_elements ._elements ._control ._icon-copy{right:0}#_elements ._elements ._control ._icon-delete{right:23px}#_elements ._detail{width:50%;left:initial;right:0;border-left:1px solid var(--border)}#_elements ._detail ._control{padding-left:10px}#_elements ._detail ._control ._icon-arrow-left{display:none}}',""]),e.exports=t},6945:function(e,t,n){(t=n(6314)(!1)).push([e.id,"._container ._entry-btn{touch-action:none;width:40px;height:40px;display:flex;background:#000;opacity:.3;border-radius:10px;position:relative;z-index:1000;transition:opacity .3s;color:#fff;font-size:25px;align-items:center;justify-content:center}._container ._entry-btn._active,._container ._entry-btn:active{opacity:.8}",""]),e.exports=t},1317:function(e,t,n){(t=n(6314)(!1)).push([e.id,"#_info{overflow-y:auto;-webkit-overflow-scrolling:touch}#_info li{margin:10px;border:1px solid var(--border)}#_info li ._content,#_info li ._title{padding:10px}#_info li ._title{position:relative;padding-bottom:0;color:var(--accent)}#_info li ._title ._icon-copy{position:absolute;right:10px;top:14px;color:var(--primary);cursor:pointer;transition:color .3s}#_info li ._title ._icon-copy:active{color:var(--accent)}#_info li ._content{margin:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:var(--foreground);font-size:12px;word-break:break-all}#_info li ._content table{width:100%;border-collapse:collapse}#_info li ._content table td,#_info li ._content table th{border:1px solid var(--border);padding:10px}#_info li ._content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_info li ._content a{color:var(--link-color)}#_info li ._device-key,#_info li ._system-key{width:100px}._safe-area #_info{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),e.exports=t},2003:function(e,t,n){(t=n(6314)(!1)).push([e.id,'#_network ._network{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:39px}#_network ._control{padding:10px;border-bottom:none;position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border)}#_network ._control [class*=" _icon-"],#_network ._control [class^=eruda-icon-]{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_network ._control [class*=" _icon-"]._active,#_network ._control [class*=" _icon-"]:active,#_network ._control [class^=eruda-icon-]._active,#_network ._control [class^=eruda-icon-]:active{color:var(--accent)}#_network ._control ._title{font-size:14px}#_network ._control ._icon-clear{left:23px}#_network ._control ._icon-eye{right:0}#_network ._control ._icon-copy{right:23px}#_network ._control ._icon-filter{right:46px}#_network ._control ._filter-text{white-space:nowrap;position:absolute;line-height:20px;max-width:80px;overflow:hidden;right:88px;font-size:14px;text-overflow:ellipsis}#_network ._control ._icon-record{left:0}#_network ._control ._icon-record._recording{color:var(--console-error-foreground);text-shadow:0 0 4px var(--console-error-foreground)}#_network ._request-error{color:var(--console-error-foreground)}#_network .luna-data-grid:focus .luna-data-grid-data-container ._request-error.luna-data-grid-selected{background:var(--console-error-background)}#_network .luna-data-grid{border-left:none;border-right:none}#_network ._detail{position:absolute;width:100%;height:100%;left:0;top:0;z-index:10;display:none;padding-top:40px;background:var(--background)}#_network ._detail ._control{padding:10px 35px;border-bottom:1px solid var(--border)}#_network ._detail ._control ._url{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block}#_network ._detail ._control ._icon-arrow-left{left:0}#_network ._detail ._control ._icon-delete{left:0;display:none}#_network ._detail ._control ._icon-copy{right:0}#_network ._detail ._http{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%}#_network ._detail ._http ._section{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:10px;margin-bottom:10px}#_network ._detail ._http ._section h2{background:var(--darker-background);color:var(--primary);padding:10px;line-height:18px;font-size:14px}#_network ._detail ._http ._section table{color:var(--foreground)}#_network ._detail ._http ._section table *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_network ._detail ._http ._section table td{font-size:12px;padding:5px 10px;word-break:break-all}#_network ._detail ._http ._section table ._key{white-space:nowrap;font-weight:700;color:var(--accent)}#_network ._detail ._http ._data,#_network ._detail ._http ._response{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;font-size:12px;margin:10px 0;white-space:pre-wrap;border-top:1px solid var(--border);color:var(--foreground);border-bottom:1px solid var(--border)}._safe-area #_network ._http{padding-bottom:calc(0px + env(safe-area-inset-bottom))}@media screen and (min-width:680px){#_network ._network ._control ._icon-eye{display:none}#_network ._network ._control ._icon-copy{right:0}#_network ._network ._control ._icon-filter{right:23px}#_network ._network ._control ._filter-text{right:55px}#_network ._detail{width:50%;left:initial;right:0;border-left:1px solid var(--border)}#_network ._detail ._control ._icon-arrow-left{display:none}#_network ._detail ._control ._icon-delete{display:block}}',""]),e.exports=t},3815:function(e,t,n){(t=n(6314)(!1)).push([e.id,'#_resources{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px;font-size:14px}#_resources ._section{margin-bottom:10px;overflow:hidden;border:1px solid var(--border)}#_resources ._section._warn{border:1px solid var(--console-warn-border)}#_resources ._section._warn ._title{background:var(--console-warn-background);color:var(--console-warn-foreground)}#_resources ._section._danger{border:1px solid var(--console-error-border)}#_resources ._section._danger ._title{background:var(--console-error-background);color:var(--console-error-foreground)}#_resources ._section._cookie,#_resources ._section._local-storage,#_resources ._section._session-storage{border:none}#_resources ._section._cookie ._title,#_resources ._section._local-storage ._title,#_resources ._section._session-storage ._title{border:1px solid var(--border);border-bottom:none}#_resources ._title{padding:10px;line-height:18px;color:var(--primary);background:var(--darker-background)}#_resources ._title ._btn{margin-left:5px;float:right;color:var(--primary);width:18px;height:18px;font-size:16px;cursor:pointer;transition:color .3s}#_resources ._title ._btn._filter-text{width:auto;max-width:80px;font-size:14px;overflow:hidden;font-weight:400;text-overflow:ellipsis;display:inline-block}#_resources ._title ._btn:active{color:var(--accent)}#_resources ._title ._btn._btn-disabled{color:inherit!important;cursor:default!important;pointer-events:none;opacity:.5}#_resources ._title ._btn._btn-disabled *{pointer-events:none}#_resources ._link-list{font-size:12px;color:var(--foreground)}#_resources ._link-list li{padding:10px;word-break:break-all}#_resources ._link-list li a{color:var(--link-color)!important}#_resources ._image-list{color:var(--foreground);font-size:12px;display:flex;flex-wrap:wrap;padding-left:10px;padding-top:10px}#_resources ._image-list::after{content:"";flex-grow:1000}#_resources ._image-list li{flex-grow:1;cursor:pointer;overflow-y:hidden;margin-right:10px;margin-bottom:10px;border:1px solid var(--border)}#_resources ._image-list li._image{height:100px;font-size:0}#_resources ._image-list li img{height:100px;min-width:100%;-o-object-fit:cover;object-fit:cover}._safe-area #_resources{padding-bottom:calc(10px + env(safe-area-inset-bottom))}',""]),e.exports=t},4923:function(e,t,n){(t=n(6314)(!1)).push([e.id,"#_settings{overflow-y:auto;-webkit-overflow-scrolling:touch}._safe-area #_settings{padding-bottom:calc(0px + env(safe-area-inset-bottom))}",""]),e.exports=t},8025:function(e,t,n){(t=n(6314)(!1)).push([e.id,"#_snippets{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px}#_snippets ._section{margin-bottom:10px;border:1px solid var(--border);overflow:hidden;cursor:pointer}#_snippets ._section:active ._name{background:var(--highlight);color:var(--select-foreground)}#_snippets ._section ._name{padding:10px;line-height:18px;color:var(--primary);background:var(--darker-background);transition:background-color .3s}#_snippets ._section ._name ._btn{margin-left:10px;float:right;text-align:center;width:18px;height:18px;font-size:12px}#_snippets ._section ._description{font-size:12px;color:var(--foreground);padding:10px;transition:background-color .3s}._safe-area #_snippets{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),e.exports=t},7516:function(e,t,n){(t=n(6314)(!1)).push([e.id,"._search-highlight-block{display:inline}._search-highlight-block ._keyword{background:var(--console-warn-background);color:var(--console-warn-foreground)}",""]),e.exports=t},1699:function(e,t,n){(t=n(6314)(!1)).push([e.id,"#_sources{font-size:0;overflow-y:auto;-webkit-overflow-scrolling:touch;color:var(--foreground)}#_sources ._code-wrapper,#_sources ._raw-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%;min-height:100%}#_sources ._code,#_sources ._raw{height:100%}#_sources ._code ._keyword,#_sources ._raw ._keyword{color:var(--keyword-color)}#_sources ._code ._comment,#_sources ._raw ._comment{color:var(--comment-color)}#_sources ._code ._number,#_sources ._raw ._number{color:var(--number-color)}#_sources ._code ._string,#_sources ._raw ._string{color:var(--string-color)}#_sources ._code ._operator,#_sources ._raw ._operator{color:var(--operator-color)}#_sources ._code[data-type=html] ._keyword,#_sources ._raw[data-type=html] ._keyword{color:var(--tag-name-color)}#_sources ._image{font-size:12px}#_sources ._image ._breadcrumb{background:var(--darker-background);color:var(--primary);-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;margin-bottom:10px;word-break:break-all;padding:10px;font-size:16px;min-height:40px;border-bottom:1px solid var(--border)}#_sources ._image ._img-container{text-align:center}#_sources ._image ._img-container img{max-width:100%}#_sources ._image ._img-info{text-align:center;margin:20px 0;color:var(--foreground)}#_sources ._json{padding:0 10px}#_sources ._json *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_sources iframe{width:100%;height:100%}",""]),e.exports=t},2713:function(e,t,n){(t=n(6314)(!1)).push([e.id,'._container a,._container abbr,._container acronym,._container address,._container applet,._container article,._container aside,._container audio,._container b,._container big,._container blockquote,._container canvas,._container caption,._container center,._container cite,._container code,._container dd,._container del,._container details,._container dfn,._container dl,._container dt,._container em,._container embed,._container fieldset,._container figcaption,._container figure,._container footer,._container form,._container h1,._container h2,._container h3,._container h4,._container h5,._container h6,._container header,._container hgroup,._container i,._container iframe,._container img,._container ins,._container kbd,._container label,._container legend,._container li,._container mark,._container menu,._container nav,._container object,._container ol,._container output,._container p,._container pre,._container q,._container ruby,._container s,._container samp,._container section,._container small,._container span,._container strike,._container strong,._container sub,._container summary,._container sup,._container table,._container tbody,._container td,._container tfoot,._container th,._container thead,._container time,._container tr,._container tt,._container u,._container ul,._container var,._container video{margin:0;padding:0;border:0;font-size:100%}._container article,._container aside,._container details,._container figcaption,._container figure,._container footer,._container header,._container hgroup,._container menu,._container nav,._container section{display:block}._container body{line-height:1}._container ol,._container ul{list-style:none}._container blockquote,._container q{quotes:none}._container blockquote:after,._container blockquote:before,._container q:after,._container q:before{content:"";content:none}._container table{border-collapse:collapse;border-spacing:0;color:inherit;font-size:1em;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;text-decoration:inherit;white-space:inherit}',""]),e.exports=t},6243:function(e,t,n){(t=n(6314)(!1)).push([e.id,'.luna-console{background:var(--background)}.luna-console-header{color:var(--link-color);border-bottom-color:var(--border)}.luna-console-nesting-level{border-right-color:var(--border)}.luna-console-nesting-level::before{border-bottom-color:var(--border)}.luna-console-log-container.luna-console-selected .luna-console-log-item{background:var(--contrast)}.luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:var(--border)}.luna-console-log-item{border-bottom-color:var(--border);color:var(--foreground)}.luna-console-log-item a{color:var(--link-color)!important}.luna-console-log-item .luna-console-icon-container .luna-console-icon{color:var(--foreground)}.luna-console-log-item .luna-console-icon-container .luna-console-icon-error{color:#ef3842}.luna-console-log-item .luna-console-icon-container .luna-console-icon-warn{color:#e8a400}.luna-console-log-item .luna-console-count{color:var(--select-foreground);background:var(--highlight)}.luna-console-log-item.luna-console-warn{color:var(--console-warn-foreground);background:var(--console-warn-background);border-color:var(--console-warn-border)}.luna-console-log-item.luna-console-error{background:var(--console-error-background);color:var(--console-error-foreground);border-color:var(--console-error-border)}.luna-console-log-item.luna-console-error .luna-console-count{background:var(--console-error-foreground)}.luna-console-log-item .luna-console-code .luna-console-key{color:var(--var-color)}.luna-console-log-item .luna-console-code .luna-console-number{color:var(--number-color)}.luna-console-log-item .luna-console-code .luna-console-null{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-string{color:var(--string-color)}.luna-console-log-item .luna-console-code .luna-console-boolean{color:var(--keyword-color)}.luna-console-log-item .luna-console-code .luna-console-special{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-keyword{color:var(--keyword-color)}.luna-console-log-item .luna-console-code .luna-console-operator{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-comment{color:var(--comment-color)}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:var(--operator-color)}.luna-console-log-item .luna-console-log-content .luna-console-number{color:var(--number-color)}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:var(--keyword-color)}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:var(--var-color)}.luna-console-preview .luna-console-key{color:var(--var-color)}.luna-console-preview .luna-console-number{color:var(--number-color)}.luna-console-preview .luna-console-null{color:var(--operator-color)}.luna-console-preview .luna-console-string{color:var(--string-color)}.luna-console-preview .luna-console-boolean{color:var(--keyword-color)}.luna-console-preview .luna-console-special{color:var(--operator-color)}.luna-console-preview .luna-console-keyword{color:var(--keyword-color)}.luna-console-preview .luna-console-operator{color:var(--operator-color)}.luna-console-preview .luna-console-comment{color:var(--comment-color)}.luna-object-viewer{color:var(--primary);font-size:12px!important}.luna-object-viewer-null{color:var(--operator-color)}.luna-object-viewer-regexp,.luna-object-viewer-string{color:var(--string-color)}.luna-object-viewer-number{color:var(--number-color)}.luna-object-viewer-boolean{color:var(--keyword-color)}.luna-object-viewer-special{color:var(--operator-color)}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:var(--var-color)}.luna-object-viewer-expanded:before{border-color:transparent;border-top-color:var(--foreground)}.luna-object-viewer-collapsed:before{border-top-color:transparent;border-left-color:var(--foreground)}.luna-notification{pointer-events:none!important;padding:10px;z-index:1000}.luna-notification-item{z-index:500;color:var(--foreground);background:var(--background);box-shadow:none;padding:5px 10px;border:1px solid var(--border)}.luna-notification-upper{margin-bottom:10px}.luna-notification-lower{margin-top:10px}.luna-data-grid{color:var(--foreground);background:var(--background);border-color:var(--border)}.luna-data-grid:focus .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:var(--accent)}.luna-data-grid td,.luna-data-grid th{border-color:var(--border)}.luna-data-grid th{background:var(--darker-background)}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{color:var(--select-foreground);background:var(--highlight)}.luna-data-grid .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:var(--highlight)}.luna-data-grid .luna-data-grid-data-container tr:nth-child(even){background:var(--contrast)}.luna-dom-viewer{color:var(--foreground)}.luna-dom-viewer .luna-dom-viewer-html-tag,.luna-dom-viewer .luna-dom-viewer-tag-name{color:var(--tag-name-color)}.luna-dom-viewer .luna-dom-viewer-attribute-name{color:var(--attribute-name-color)}.luna-dom-viewer .luna-dom-viewer-attribute-value{color:var(--string-color)}.luna-dom-viewer .luna-dom-viewer-html-comment{color:var(--comment-color)}.luna-dom-viewer .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:var(--contrast)}.luna-dom-viewer .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:var(--highlight)}.luna-dom-viewer .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:var(--accent);opacity:.2}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-key{color:var(--var-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-number{color:var(--number-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-null{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-string{color:var(--string-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-boolean{color:var(--keyword-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-special{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:var(--keyword-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:var(--comment-color)}.luna-dom-viewer-children{margin:0;padding-left:15px!important}._inline .luna-modal,._inline .luna-notification{position:absolute}.luna-modal{z-index:9999999}.luna-modal-body,.luna-modal-input{color:var(--foreground);background:var(--background)}.luna-modal-input{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;border-color:var(--border)}.luna-modal-button-group .luna-modal-secondary{border-color:var(--border);color:var(--foreground);background:var(--background)}.luna-modal-button-group .luna-modal-primary{background:var(--accent)}.luna-modal-button-group .luna-modal-button:active::before{background:var(--accent)}.luna-tab{position:absolute;left:0;top:0;color:var(--foreground);background:var(--darker-background)}.luna-tab-tabs-container{border-color:var(--border)}.luna-tab-item.luna-tab-selected,.luna-tab-item:hover{background:var(--highlight);color:var(--select-foreground)}.luna-tab-slider{background:var(--accent)}.luna-text-viewer{color:var(--foreground);border:none;border-bottom:1px solid var(--border);background:var(--background);font-size:12px}.luna-text-viewer .luna-text-viewer-line-text{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer .luna-text-viewer-line-text *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer .luna-text-viewer-copy,.luna-text-viewer .luna-text-viewer-line-number{border-color:var(--border)}.luna-text-viewer .luna-text-viewer-copy .luna-text-viewer-icon-check{color:var(--accent)}.luna-text-viewer .luna-text-viewer-copy{background-color:var(--background)}.luna-setting{color:var(--foreground);background:var(--background)}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:var(--darker-background)}.luna-setting-item.luna-setting-selected:focus{outline:0}.luna-setting-item-title{font-size:14px}.luna-setting-item-separator{border-color:var(--border)}.luna-setting-item-checkbox input{border-color:var(--border)}.luna-setting-item-checkbox input:checked{background-color:var(--accent);border-color:var(--accent)}.luna-setting-item-select .luna-setting-select select{color:var(--foreground);border-color:var(--border);background:var(--background)}.luna-setting-item-select .luna-setting-select:after{border-top-color:var(--foreground)}.luna-setting-item-button button{color:var(--accent);background:var(--background);border-color:var(--border)}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:var(--darker-background)}.luna-setting-item-button button:active{border:1px solid var(--accent)}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:var(--border)}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{background:var(--accent)}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:var(--border);background:radial-gradient(circle at center,var(--dark) 0,var(--dark) 15%,var(--light) 22%,var(--light) 100%)}.luna-box-model{background:var(--background)}.luna-box-model-border,.luna-box-model-content,.luna-box-model-margin,.luna-box-model-padding,.luna-box-model-position{color:var(--foreground);background:var(--background)}._container{min-width:320px;pointer-events:none;position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999999;color:var(--foreground);font-family:".SFNSDisplay-Regular","Helvetica Neue","Lucida Grande","Segoe UI",Tahoma,sans-serif;font-size:14px;direction:ltr}._container._dark{color-scheme:dark}._container *{box-sizing:border-box;pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none}._container ul{list-style:none;padding:0;margin:0}._container h1,._container h2,._container h3,._container h4{margin:0}._container h2{font-size:14px}._container h2 [class*=" _icon-"],._container h2 [class^=icon-]{font-weight:400}._container._inline{position:static}._hidden{display:none}._icon-disabled{opacity:.5;pointer-events:none;cursor:default!important}._icon-disabled:active{color:inherit!important}._tag-name-color{color:var(--tag-name-color)}._function-color{color:var(--function-color)}._attribute-name-color{color:var(--attribute-name-color)}._operator-color{color:var(--operator-color)}._string-color{color:var(--string-color)}',""]),e.exports=t},1277:function(e,t,n){(t=n(6314)(!1)).push([e.id,'.luna-box-model{color:rgba(0,0,0,.88);background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;display:inline-block;font-size:12px;text-align:center;white-space:nowrap}.luna-box-model.luna-box-model-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-box-model.luna-box-model-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-box-model .luna-box-model-hidden,.luna-box-model.luna-box-model-hidden{display:none}.luna-box-model .luna-box-model-invisible,.luna-box-model.luna-box-model-invisible{visibility:hidden}.luna-box-model *{box-sizing:border-box}.luna-box-model.luna-box-model-theme-dark{color-scheme:dark;color:rgba(255,255,255,.85);background-color:#141414}.luna-box-model-label{position:absolute;margin-left:3px;padding:0 2px}.luna-box-model-bottom,.luna-box-model-left,.luna-box-model-right,.luna-box-model-top{display:inline-block}.luna-box-model-left,.luna-box-model-right{vertical-align:middle}.luna-box-model-border,.luna-box-model-content,.luna-box-model-margin,.luna-box-model-padding,.luna-box-model-position{position:relative;display:inline-block;text-align:center;vertical-align:middle;padding:3px;margin:3px;color:rgba(0,0,0,.88);background:#fff}.luna-box-model-position{border:1px gray dotted}.luna-box-model-margin{border:1px dashed}.luna-box-model-margin.luna-box-model-highlighted{color:rgba(0,0,0,.88)!important;background:rgba(246,178,107,.66)!important}.luna-box-model-border{border:1px #000 solid}.luna-box-model-border.luna-box-model-highlighted{color:rgba(0,0,0,.88)!important;background:rgba(255,229,153,.66)!important}.luna-box-model-padding{border:1px gray dashed}.luna-box-model-padding.luna-box-model-highlighted{color:rgba(0,0,0,.88)!important;background:rgba(147,196,125,.55)!important}.luna-box-model-content{border:1px gray solid;min-width:100px}.luna-box-model-content.luna-box-model-highlighted{color:rgba(0,0,0,.88)!important;background:rgba(111,168,220,.66)!important}.luna-box-model-theme-dark .luna-box-model-border,.luna-box-model-theme-dark .luna-box-model-content,.luna-box-model-theme-dark .luna-box-model-margin,.luna-box-model-theme-dark .luna-box-model-padding,.luna-box-model-theme-dark .luna-box-model-position{color:rgba(255,255,255,.85);background:#141414}.luna-box-model-theme-dark .luna-box-model-border{border-color:gray}',""]),e.exports=t},7853:function(e,t,n){(t=n(6314)(!1)).push([e.id,"@font-face{font-family:luna-console-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAasAAsAAAAACnAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAI4AAADcIsYnIk9TLzIAAAGYAAAAPgAAAFZWmlGRY21hcAAAAdgAAAD2AAACyDioZ9NnbHlmAAAC0AAAAZgAAAH8Lq6nDGhlYWQAAARoAAAAMQAAADZ25cSzaGhlYQAABJwAAAAdAAAAJAgCBBRobXR4AAAEvAAAABkAAABYGAH//GxvY2EAAATYAAAAGAAAAC4J8glUbWF4cAAABPAAAAAfAAAAIAEjAFBuYW1lAAAFEAAAASkAAAIWm5e+CnBvc3QAAAY8AAAAcAAAAJ7qA/7MeJxNjTsOwjAQRJ8TJzE2hPBrKBBHQByAAiGqFBRcIBVCiqhyBA7O2AgRr9Y7M2+lxQCeAyeyy7W9U/fd8GKL5fsiH2vTPx8d7ufEbJpO/aagYc+RM7fEjBKnmiRuySmZUTNNf0wybYSRj9VoO4iU7NQh+Up8qelZs5EupP75Shfm2oz3Kmkvt/gARcgJKwAAeJxjYGQUZ5zAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHGHQ/srGAuDEsTGBhRhABALQ1CMwAAHiczdJNbsIwEIbh1+QHQsJviNRFF1XX7aEQRZQNRQjEHXqgrnopn4B+E8+qqip117GeRB4nk4lloAAyeZIcwicBiw9lQ5/PGPf5nHfNV8yVyXlmzZY9R05cuMbydtOqZTfsOCh7Vjb02e8RVMXGHfc8aDxqwFKVF7QMtdLpmzUVDSOmTJjpnUH/3YJSBcofqv4Wyz8+b6FuWvXSjW1SV30r1sl/icYuofFZh+1+Yn+7dnPZuIW8uFa2big7t5JXZzX3znbh4Gp5c5UcnfVyciM5u6lc3ESuTnsZQ2JnLQ4S7J4ldjZjntj5jEVi5zaWCeUXWN4q9AAAeJxdUMFOU0EUnTMzb2o1FB5O5wENg31k5mExVEo7jSGBEuO6CStDmtbIBuiKBYg/gRu/ABO3/ocscOEXsHBpogtWvFfnvQgxJnduztx7zknuIXQyIYSDE9IgLwmBmIZI1pDYbTSxBqeW4KvrVKSmaaRKFZREE7YJIyONSLW6W37bLiRxscXNTH1zbnFqlnJ5Eu+G9MnT8JBy9l69ELx69Ohd9JCryrwcU07TbCU5H4y+jQbnyco/EF+8x1/eaX03bCzR8IgGwVn0WC/I8YOzaLGS+4+p4K8O/lcXkPhj/CP0ig1JQIhJyugCxz3o7LqH4YUH0L3swlMK3q+CV/HMbhkJAqlarm1jgd+97DpnfsKPeH15eT2+l9L5OJ/kcjZJfY6MU++wQPzI+PRECUJjo97aAtqupaqhFLHtRLHNf1Kwn9lAOid9L7tV9nzVldNL3dC+NmrGOGM+sme2VrO335Mda3foXlXravY57zemY23HkLs72RsW5JegDjZK99FnPPtwl8FX1i92IfAax6yfvkWf/AHb1F1JeJxjYGRgYABi3/mPYuP5bb4ycLOABKI4H+9rgNH//zIwsDCzMAElOBhAJAMAQ2IK+QAAAHicY2BkYGBhAAEWhv9///9lYWZgZEAFYgBbLQQgAAAAeJxjYGBgYGH4/58FTIPZf2FsSgAAM58EEwAAAHicY2AAgjyGJoYlDI8YPjD8ww8BeTMTR3icY2BkYGAQY3BhYGYAASYg5gJCBob/YD4DABGFAXQAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxtxksOgjAUQNF3kaIW/x9cBYtqgEAnLXlp0+1rwtQzuVcq2Vj5r6NiR42hYc+BI5aWE2cuXLlx58GTF286PmIm1ajGhzWnJub0S12cBjs4nVI/xhLabdXPS2JCiXgCK5lEwTHQMzKziHwBqnYYpg==') format('woff')}[class*=' luna-console-icon-'],[class^=luna-console-icon-]{display:inline-block;font-family:luna-console-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-console-icon-error:before{content:'\\f101'}.luna-console-icon-input:before{content:'\\f102'}.luna-console-icon-output:before{content:'\\f103'}.luna-console-icon-warn:before{content:'\\f104'}.luna-console-icon-caret-down:before{content:'\\f105'}.luna-console-icon-caret-right:before{content:'\\f106'}.luna-console{background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;position:relative;will-change:scroll-position;cursor:default;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.luna-console.luna-console-theme-dark{background-color:#141414}.luna-console-hidden{display:none}.luna-console-fake-logs{position:absolute;left:0;top:0;pointer-events:none;visibility:hidden;width:100%}.luna-console-logs{padding-top:1px;position:absolute;width:100%}.luna-console-log-container{box-sizing:content-box}.luna-console-log-container.luna-console-selected .luna-console-log-item{background:#ecf1f8}.luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#ccdef5}.luna-console-header{white-space:nowrap;display:flex;font-size:11px;color:#545454;border-top:1px solid transparent;border-bottom:1px solid #ccc}.luna-console-header .luna-console-time-from-container{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:3px 10px}.luna-console-nesting-level{width:14px;flex-shrink:0;margin-top:-1px;margin-bottom:-1px;position:relative;border-right:1px solid #ccc}.luna-console-nesting-level.luna-console-group-closed::before{content:\"\"}.luna-console-nesting-level::before{border-bottom:1px solid #ccc;position:absolute;top:0;left:0;margin-left:100%;width:5px;height:100%;box-sizing:border-box}.luna-console-log-item{position:relative;display:flex;border-top:1px solid transparent;border-bottom:1px solid #ccc;margin-top:-1px;color:#333}.luna-console-log-item:after{content:\"\";display:block;clear:both}.luna-console-log-item .luna-console-code{display:inline;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.luna-console-log-item .luna-console-code .luna-console-keyword{color:#881280}.luna-console-log-item .luna-console-code .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-code .luna-console-operator{color:gray}.luna-console-log-item .luna-console-code .luna-console-comment{color:#236e25}.luna-console-log-item .luna-console-code .luna-console-string{color:#1a1aa6}.luna-console-log-item a{color:#15c!important}.luna-console-log-item .luna-console-icon-container{margin:0 -6px 0 10px}.luna-console-log-item .luna-console-icon-container .luna-console-icon{line-height:20px;font-size:12px;color:#333;position:relative}.luna-console-log-item .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-log-item .luna-console-icon-container .luna-console-icon-caret-right{top:0;left:-2px}.luna-console-log-item .luna-console-icon-container .luna-console-icon-error{top:0;color:#ef3842}.luna-console-log-item .luna-console-icon-container .luna-console-icon-warn{top:0;color:#e8a400}.luna-console-log-item .luna-console-count{background:#8097bd;color:#fff;padding:2px 4px;border-radius:10px;font-size:12px;float:left;margin:1px -6px 0 10px}.luna-console-log-item .luna-console-log-content-wrapper{flex:1;overflow:hidden}.luna-console-log-item .luna-console-log-content{padding:3px 0;margin:0 10px;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:pre-wrap;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-console-log-item .luna-console-log-content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-console-log-item .luna-console-log-content>*{vertical-align:top}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#5e5e5e}.luna-console-log-item .luna-console-log-content .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:#0d22aa}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#881391}.luna-console-log-item .luna-console-data-grid,.luna-console-log-item .luna-console-dom-viewer{white-space:initial}.luna-console-log-item.luna-console-error{z-index:50;background:#fff0f0;color:red;border-top:1px solid #ffd6d6;border-bottom:1px solid #ffd6d6}.luna-console-log-item.luna-console-error .luna-console-stack{padding-left:1.2em;white-space:nowrap}.luna-console-log-item.luna-console-error .luna-console-count{background:red}.luna-console-log-item.luna-console-debug{z-index:20}.luna-console-log-item.luna-console-input{border-bottom-color:transparent}.luna-console-log-item.luna-console-warn{z-index:40;color:#5c5c00;background:#fffbe5;border-top:1px solid #fff5c2;border-bottom:1px solid #fff5c2}.luna-console-log-item.luna-console-warn .luna-console-count{background:#e8a400}.luna-console-log-item.luna-console-info{z-index:30}.luna-console-log-item.luna-console-group,.luna-console-log-item.luna-console-groupCollapsed{font-weight:700}.luna-console-preview{display:inline-block}.luna-console-preview .luna-console-preview-container{display:flex;align-items:center}.luna-console-preview .luna-console-json{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-left:12px}.luna-console-preview .luna-console-preview-icon-container{display:block}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon{position:relative;font-size:12px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-down{top:2px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-right{top:1px}.luna-console-preview .luna-console-preview-content-container{word-break:break-all}.luna-console-preview .luna-console-descriptor,.luna-console-preview .luna-console-object-preview{font-style:italic}.luna-console-preview .luna-console-key{color:#881391}.luna-console-preview .luna-console-number{color:#1c00cf}.luna-console-preview .luna-console-null{color:#5e5e5e}.luna-console-preview .luna-console-string{color:#c41a16}.luna-console-preview .luna-console-boolean{color:#0d22aa}.luna-console-preview .luna-console-special{color:#5e5e5e}.luna-console-theme-dark{color-scheme:dark}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item{background:#29323d}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#4173b4}.luna-console-theme-dark .luna-console-log-item{color:#a5a5a5;border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-keyword{color:#e36eec}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-operator{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-comment{color:#747474}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-log-item.luna-console-error{background:#290000;color:#ff8080;border-top-color:#5c0000;border-bottom-color:#5c0000}.luna-console-theme-dark .luna-console-log-item.luna-console-error .luna-console-count{background:#ff8080}.luna-console-theme-dark .luna-console-log-item.luna-console-warn{color:#ffcb6b;background:#332a00;border-top-color:#650;border-bottom-color:#650}.luna-console-theme-dark .luna-console-log-item .luna-console-count{background:#42597f;color:#949494}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-boolean,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#e36eec}.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-right{color:#9aa0a6}.luna-console-theme-dark .luna-console-header{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level{border-right-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level::before{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-preview .luna-console-key{color:#e36eec}.luna-console-theme-dark .luna-console-preview .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-null{color:#7f7f7f}.luna-console-theme-dark .luna-console-preview .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-preview .luna-console-boolean{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-special{color:#7f7f7f}",""]),e.exports=t},3277:function(e,t,n){(t=n(6314)(!1)).push([e.id,'@font-face{font-family:luna-data-grid-icon;src:url(\'data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAScAAsAAAAAB4wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFsAAACGIRcl5U9TLzIAAAFkAAAAPQAAAFZLxUkYY21hcAAAAaQAAADLAAACXsc5JZpnbHlmAAACcAAAACUAAAAwNxN2HmhlYWQAAAKYAAAALgAAADZzjr4QaGhlYQAAAsgAAAAYAAAAJAFyANhobXR4AAAC4AAAABAAAAA8AZAAAGxvY2EAAALwAAAAEAAAACAAnACobWF4cAAAAwAAAAAfAAAAIAEaAA9uYW1lAAADIAAAASkAAAIWm5e+CnBvc3QAAARMAAAATQAAAG8sD1gqeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiA2A9NMDGwMMkCSCyjDCmSzA8W4GXgYeBn4wPIIUU6gGkYgZAYAUCsGPwB4nGNgZJBmnMDAysDAUMfQAyRloHQCAyeDMQMDEwMrMwNWEJDmmsJwgEH3IxPDCSBXCEwyMDCCCABbKQhrAAAAeJzNkk0KAjEMRl87/s84iAsX4hH0UKJuVWTE67jyDF5rTqBf2iCIILgz4Q30mzZpkgJdoBBL0YFwI2B2lRqSXjBKeodG6ykTKZEVa3YcOXHm0sbHQ/9M27CX1kgLSXu3oPPmM+byhRwGilxQ0qOmUq4ufYaMtTfqQO8jxncb/LifVHdRvvLUVbqC3eBfrErfu69qrNMZq3btaHrqfsYmunVKsXOsyr1jcQ6OZTg6mrYmmLHX0Th9cXaG4uKoT23I2ItpY4b4BCc0HqgAeJxjYGQAgZUM0xmYGBjMlc1XNjv6ewBF0MTFgeLTgeIApVwH2QAAAHicY2BkYGAAYg6x1J54fpuvDNwMJ4ACUZyP9zUgaCBYyTAdSHIwMIE4ABfKCdgAAHicY2BkYGA4wcAAJ1cyMDKgAn4AOLICS3icY2AAghNQTCIAAFMMAZF4nGNgAAIeBglcEAARPAFFeJxjYGRgYOBnYGYA0QwMTEDMBYQMDP/BfAYACkEBKgB4nGWQPW7CQBSEx2BIAlKCFCkps1UKIpmfkgNAT0GXwpi1MbK91npBossJcoQcIaeIcoIcKGPzaGAtP38zb97uygAG+IWHenm4bWq9WrihOnGb9CDsk5+FO+jjRbhLfyjcwxumwn084p07eP4dnQFK4Rbu8SHcpv8p7JO/hDt4wrdwl/6PcA8r/An38eoN08gUsSncUif7LLRnef6utK1SU6hJMD5bC11oGzq9Ueujqg7J1LlYxdbkas6uzjKjSmt2OnLB1rlyNhrF4geRyZEigkGBuKkOS2gk2CNDCHvVvdQrpi0q+rVWmCDA+Cq1YKpokiGVxobJNY6sFQ48bUrXMa34Ws7kpLnMat4kIyv+77q3oxPRD7BtpkrMMOITX+SD5g75Pz0RXqgAAAB4nF3GOQ6AIBQA0T+44YoX4VAEaNEYCNe3IDa+ZkaUNF//DIqOnoGRCc3MwsrGzoHhFO3dE7Mt99ImXDXhcTxEMpbCTeCikkRebQwMtgAAAA==\') format(\'woff\')}[class*=\' luna-data-grid-icon-\'],[class^=luna-data-grid-icon-]{display:inline-block;font-family:luna-data-grid-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-data-grid-icon-caret-up:before{content:\'\\f101\'}.luna-data-grid-icon-caret-down:before{content:\'\\f102\'}.luna-data-grid{position:relative;border:1px solid #d9d9d9;overflow:hidden;outline:0;color:rgba(0,0,0,.88);background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px}.luna-data-grid .luna-data-grid-hidden,.luna-data-grid.luna-data-grid-hidden{display:none}.luna-data-grid .luna-data-grid-invisible,.luna-data-grid.luna-data-grid-invisible{visibility:hidden}.luna-data-grid *{box-sizing:border-box}.luna-data-grid.luna-data-grid-theme-dark{color-scheme:dark;color:hsla(0,0%,100%,.85);background-color:#141414}.luna-data-grid{font-size:12px}.luna-data-grid table{width:100%;height:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.luna-data-grid td,.luna-data-grid th{padding:1px 4px;border-left:1px solid #d9d9d9;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.luna-data-grid td:first-child,.luna-data-grid th:first-child{border-left:none}.luna-data-grid th{font-weight:400;border-bottom:1px solid #d9d9d9;text-align:left;background:rgba(0,0,0,.06);position:relative}.luna-data-grid th.luna-data-grid-sortable{padding-right:12}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{background:#e6e6e6}.luna-data-grid th .luna-data-grid-icon-caret-down,.luna-data-grid th .luna-data-grid-icon-caret-up{font-size:12px;position:absolute;display:none;top:6px;right:2px}.luna-data-grid td{height:20px;cursor:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-data-grid:focus .luna-data-grid-node.luna-data-grid-selected{color:#fff;background:#1a73e8}.luna-data-grid:focus.luna-data-grid-theme-dark .luna-data-grid-node.luna-data-grid-selected{background:#0e639c}.luna-data-grid-data-container,.luna-data-grid-header-container{overflow:hidden}.luna-data-grid-header-container{height:21px}.luna-data-grid-data-container{overflow-y:auto}.luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#ddd}.luna-data-grid-data-container tr:nth-child(even){background:#f2f7fd}.luna-data-grid-filler-row td{height:auto}.luna-data-grid-resizer{position:absolute;top:0;bottom:0;width:5px;z-index:500;touch-action:none;cursor:col-resize}.luna-data-grid-resizing{cursor:col-resize!important}.luna-data-grid-resizing .luna-data-grid *{cursor:col-resize!important}.luna-data-grid-theme-dark{border-color:#424242}.luna-data-grid-theme-dark td,.luna-data-grid-theme-dark th{border-color:#424242}.luna-data-grid-theme-dark th{background:hsla(0,0%,100%,.12)}.luna-data-grid-theme-dark th.luna-data-grid-sortable:hover{background:#303030}.luna-data-grid-theme-dark .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#393939}.luna-data-grid-theme-dark .luna-data-grid-data-container tr:nth-child(even){background:#0b2544}',""]),e.exports=t},879:function(e,t,n){(t=n(6314)(!1)).push([e.id,'@font-face{font-family:luna-dom-viewer-icon;src:url(\'data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS8AAsAAAAAB7QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAGEAAACMISgl+k9TLzIAAAFsAAAAPQAAAFZLxUkWY21hcAAAAawAAADWAAACdBU42qdnbHlmAAAChAAAAC4AAAAwabU7V2hlYWQAAAK0AAAALwAAADZzjr4faGhlYQAAAuQAAAAYAAAAJAFyANlobXR4AAAC/AAAABAAAABAAZAAAGxvY2EAAAMMAAAAEAAAACIAtACobWF4cAAAAxwAAAAfAAAAIAEbAA9uYW1lAAADPAAAASkAAAIWm5e+CnBvc3QAAARoAAAAUwAAAHZW8MNZeJxNjTsOQFAQRc/z/+sV1mABohKV0gZeJRJR2X9cT4RJZu7nFIMBMjoGvHGaF6rdngcNAc/c/O/Nvq2W5E1igdNE2zv1iGh1c5FQPlYXUlJRyxt9+/pUKadQa/AveGEGZQAAAHicY2BkkGScwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAQfcjE8MJIFcITDIwMIIIAFqDCGkAAAB4nM2STQ4BQRCFv54ZP8MwFhYW4gQcShBsSERi50BWDuFCcwJedddKRGKnOt8k9aanqudVAy0gF3NRQLgTsLhJDVHP6UW94Kp8zEhKwYIlG/YcOXHm0mTPp96aumLLwdUQ1fcIqmJrwpSZL+iqak5JmyE1Ayr1bdGhr/2ZPmp/qPQtuj/uJzqQl+pfDyypesQD6AT/ElV8PjyrMccT9rdLR3PUFBI227VTio1jbm6dodg5VnPvmAsHxzofHfmi+Sbs/pwdWcXFkWdNSNg9arIE2QufuSCyAAB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOINe2b6x/PbfGXgZjgBFIjifLyvAUEDwUqGZUCSg4EJxAEAUn4LLAB4nGNgZGBgOMHAACdXMjAyoAIBADizAkx4nGNgAIITUEwGAABZUAGReJxjYAACHgYJ3BAAE94BXXicY2BkYGAQYGBmANEMDExAzAWEDAz/wXwGAApcASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxjkOgCAUANE/uOOGB+FQBIjaaEJIuL6FsfE1M6Lk9fXPoKioaWjp6BnQjEzMLKwYNtHepZhtuMs1vpvO/ch4HIlIxhK4KVyc7BwiD8nvDlkA\') format(\'woff\')}[class*=\' luna-dom-viewer-icon-\'],[class^=luna-dom-viewer-icon-]{display:inline-block;font-family:luna-dom-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-dom-viewer-icon-caret-down:before{content:\'\\f101\'}.luna-dom-viewer-icon-caret-right:before{content:\'\\f102\'}.luna-dom-viewer{color:rgba(0,0,0,.88);background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,0);overflow-x:hidden;word-wrap:break-word;padding:0 0 0 12px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;cursor:default;list-style:none}.luna-dom-viewer.luna-dom-viewer-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-dom-viewer.luna-dom-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-viewer .luna-dom-viewer-hidden,.luna-dom-viewer.luna-dom-viewer-hidden{display:none}.luna-dom-viewer .luna-dom-viewer-invisible,.luna-dom-viewer.luna-dom-viewer-invisible{visibility:hidden}.luna-dom-viewer *{box-sizing:border-box}.luna-dom-viewer.luna-dom-viewer-theme-dark{color-scheme:dark;color:rgba(255,255,255,.85);background-color:#141414}.luna-dom-viewer ul{list-style:none}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#e8eaed;background:rgba(0,0,0,0)}.luna-dom-viewer-toggle{min-width:12px;margin-left:-12px}.luna-dom-viewer-icon-caret-down,.luna-dom-viewer-icon-caret-right{position:absolute!important;font-size:12px!important}.luna-dom-viewer-tree-item{line-height:16px;min-height:16px;position:relative;z-index:10;outline:0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection,.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{display:block}.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#f2f7fd}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#e0e0e0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#cfe8fc}.luna-dom-viewer-tree-item .luna-dom-viewer-icon-caret-down{display:none}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-caret-down{display:inline-block}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-caret-right{display:none}.luna-dom-viewer-html-tag{color:#881280}.luna-dom-viewer-tag-name{color:#881280}.luna-dom-viewer-attribute-name{color:#994500}.luna-dom-viewer-attribute-value{color:#1a1aa6}.luna-dom-viewer-attribute-value.luna-dom-viewer-attribute-underline{text-decoration:underline}.luna-dom-viewer-html-comment{color:#236e25}.luna-dom-viewer-selection{position:absolute;display:none;left:-10000px;right:-10000px;top:0;bottom:0;z-index:-1}.luna-dom-viewer-children{margin:0;overflow-x:visible;overflow-y:visible;padding-left:15px}.luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#881280}.luna-dom-viewer-text-node .luna-dom-viewer-number{color:#1c00cf}.luna-dom-viewer-text-node .luna-dom-viewer-operator{color:gray}.luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#236e25}.luna-dom-viewer-text-node .luna-dom-viewer-string{color:#1a1aa6}.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-caret-down,.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-caret-right{color:#9aa0a6}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-tag,.luna-dom-viewer-theme-dark .luna-dom-viewer-tag-name{color:#5db0d7}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-name{color:#9bbbdc}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-value{color:#f29766}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-comment{color:#898989}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#083c69}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#454545}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#073d69}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#e36eec}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-number{color:#9980ff}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:#7f7f7f}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#747474}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-string{color:#f29766}',""]),e.exports=t},4393:function(e,t,n){(t=n(6314)(!1)).push([e.id,'@font-face{font-family:luna-modal-icon;src:url(\'data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAQwAAsAAAAABpQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAEkAAABoILgliE9TLzIAAAFUAAAAPQAAAFZL+0kZY21hcAAAAZQAAACBAAAB3sqmCy5nbHlmAAACGAAAAC0AAAA0Ftcaz2hlYWQAAAJIAAAALgAAADZzhL4YaGhlYQAAAngAAAAYAAAAJAFoANBobXR4AAACkAAAAA8AAAAcAMgAAGxvY2EAAAKgAAAADgAAABAATgBObWF4cAAAArAAAAAfAAAAIAESABhuYW1lAAAC0AAAASkAAAIWm5e+CnBvc3QAAAP8AAAAMQAAAEOplauDeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiCWgNIsQMzKwAykWRnYgGxGBiYAk+wFgwAAAHicY2BkkGWcwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAIfkjI8MJIFcITDIwMIIIAGAqCKIAAAB4nM2RQQqDQAxFXxyVUsST9DhduBd3ggsv0JX39QT6kwYED1D6hzeQD0nmM0ADFPESNdiG4frItfALz/Br3qp7HlS0jEzMLKy7HYf8e33J1HMdortoWuPzreUX8p2hEikj9f+oi3vIyl86JpWYEvfnxH9sSTzPmijXbl+wE7urE5sAAAB4nGNgZACB+UDIzcBgrs6uzi7OLm4ubq4+j1tfn1tPD0xOhjGAJAMDAKekBtMAAAB4nGNgZGBgAGLPuE0l8fw2Xxm4GU4ABaI4H+9rQNBAMB8IGRg4GJhAHAA5KgqUAAB4nGNgZGBgOMHAACfnMzAyoAJ2ADfsAjl4nGNgAIITDFgBABIUAMkAeJxjYAACKQQEAAO4AJ0AAHicY2BkYGBgZ+BhANEMDExAzAWEDAz/wXwGAApKASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxjYGKAABiNDtgZmRiZGVkYWRnZGNkZORhYk3Pyi1MZkxlzGPMZixlTGRgANIEEbAAAAA==\') format(\'woff\')}[class*=\' luna-modal-icon-\'],[class^=luna-modal-icon-]{display:inline-block;font-family:luna-modal-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-modal-icon-close:before{content:\'\\f101\'}.luna-modal{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;color:rgba(0,0,0,.88);background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px}.luna-modal .luna-modal-hidden,.luna-modal.luna-modal-hidden{display:none}.luna-modal .luna-modal-invisible,.luna-modal.luna-modal-invisible{visibility:hidden}.luna-modal *{box-sizing:border-box}.luna-modal.luna-modal-theme-dark{color-scheme:dark;color:hsla(0,0%,100%,.85);background-color:#141414}.luna-modal{background:rgba(0,0,0,.5)}.luna-modal-icon-close{position:absolute;right:16px;top:18px;cursor:pointer;font-size:20px}.luna-modal-body{position:relative;background:#fff;max-height:100%;display:flex;flex-direction:column;border-radius:4px}.luna-modal-body.luna-modal-no-title{position:static}.luna-modal-body.luna-modal-no-title .luna-modal-title{display:none}.luna-modal-body.luna-modal-no-title .luna-modal-icon-close{color:#fff}.luna-modal-body.luna-modal-no-footer .luna-modal-footer{display:none}.luna-modal-hidden{display:none}.luna-modal-title{padding:16px;padding-right:36px;padding-bottom:0;font-size:18px;height:46px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}.luna-modal-content{padding:16px;overflow-y:auto}.luna-modal-footer{flex-shrink:0;padding:12px}.luna-modal-button-group{display:flex;justify-content:flex-end}.luna-modal-button{padding:0 12px;background:#e9ecef;cursor:default;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 4px;font-size:12px;border-radius:4px;overflow:hidden;height:28px;line-height:28px}.luna-modal-button:active::before{background:#1a73e8;content:"";opacity:.4;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.luna-modal-button.luna-modal-secondary{color:#1a73e8;border:1px solid #d9d9d9;background:#fff}.luna-modal-button.luna-modal-primary{color:#fff;background:#1a73e8}.luna-modal-input{box-sizing:border-box;outline:0;width:100%;font-size:16px;padding:6px 12px;border:1px solid #d9d9d9;-webkit-appearance:none;-moz-appearance:none}.luna-modal-theme-dark .luna-modal-body{background:#141414;border:1px solid #424242}',""]),e.exports=t},5259:function(e,t,n){(t=n(6314)(!1)).push([e.id,'@font-face{font-family:luna-notification-icon;src:url(\'data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAZUAAsAAAAACdAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAG0AAACgIZAmVU9TLzIAAAF4AAAAPgAAAFZWzlGlY21hcAAAAbgAAADTAAACdAF1q7JnbHlmAAACjAAAAZ8AAAIw/FBRXGhlYWQAAAQsAAAAMQAAADZ25cSzaGhlYQAABGAAAAAdAAAAJAgCBA9obXR4AAAEgAAAABYAAABEFAH//GxvY2EAAASYAAAAFgAAACQHPAeQbWF4cAAABLAAAAAfAAAAIAEeAFBuYW1lAAAE0AAAASkAAAIWm5e+CnBvc3QAAAX8AAAAVwAAAHunB7sWeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiD2ArL5GGQYdBhswDIgzA6U4QSzmBlYGbgZeIC28YL5rEAoAIScQAwxh4WBH8hmB/PYgOp4GPgAGb8HKAAAAHicY2Bk1GWcwMDKwMDUyXSGgYGhH0IzvmYwYuQAijKwMjNgBQFprikMBxgSP7KwgLgxLExgYUYQAQC/dQkUAAB4nL2SPQ7CMAxGX2ih/LYMCCHOwKUQAoGQqMTSjQMxcQgu1BOUz4knxMCAsPWa5ksTu3aAPpCJjcghPAiY3aWGqGeMo55z03zBXErOlh0HTpypudK0eddp1dQ9R6mXqIaovlvQKeZLVvJ1dKgUZ8qQCQNmFIwUqdS3PUVTlmHw4aRfW8xBKVgGFCOUgqz8Q+TvbBqfT59VWMUT9r5z1C91IWE7Ds5QHJ2JODlW2bOj/1bvEoWoHdVCHU1YURpHtWlDwu5L20tgY5awe9U69F8TTSO0AHiclVC9ThtBEJ6ZXdY4UXwc7O0mWBzxmdsDG9nExmdFKAQUpaClRCa4ihIsGiR+0kWip0A8AQVtKsRDpKGgI8+Qkip3ZtciSpQuq9E33/zvDBDYR1fsGkJoAGAgRbUSmTe4nK5gp/qbtVTgt1uK2XAd/zjpSnn5D08pb27O4Z2nrN5Q3pmzLCBsOGbhzmEQePm1opM953QA6OZzYF+hAFBEjckr7OI+LX3I9mV+0cc1Wutn/QA/bv9XLhtmNpdxghJMQxUgxgaKAooQ25XWKtoF3E5SRKajI+MsKdjPvCfTVFospnW2VE+L2fewFlppl+M4jeNztmjKZfPrNlk3Zp22gjAM8kuH93HHmE48OudwaGcjB6jBO3tT4aFIGpiYt9i0v0jVLFrppkorj7QqlLAgmmiaGEsdolat7qqNLo9KolEU7ycqK89nnk0SlwfRpk8vF/zPxNkX9VrwYPfpkX7CVemFHBCnLJ9PTns7Nzu902T+L4rfbI/HvMPKpl+bJX+XxsaO9VQ4LQfjx3qm5PoPSPD3n/6tHlGAB9G/ZawAeJxjYGRgYADibSbTeeL5bb4ycLOABKI4H+9rgNH//zIwsDCzMAElOBhAJAMAKPIKWwAAAHicY2BkYGBhAAEWhv9///9lYWZgZEAFggBbKAQbAAAAeJxjYGBgYEHB//8C8X8GEgAAwYQEDwAAeJxjYAACB4YwhhyGVYwS2CEAO7wC2QAAeJxjYGRgYBBkcGFgZgABJiDmAkIGhv9gPgMAEP4BbwB4nGWQPW7CQBSEx2BIAlKCFCkps1UKIpmfkgNAT0GXwpi1MbK91npBossJcoQcIaeIcoIcKGPzaGAtP38zb97uygAG+IWHenm4bWq9WrihOnGb9CDsk5+FO+jjRbhLfyjcwxumwn084p07eP4dnQFK4Rbu8SHcpv8p7JO/hDt4wrdwl/6PcA8r/An38eoN08gUsSncUif7LLRnef6utK1SU6hJMD5bC11oGzq9Ueujqg7J1LlYxdbkas6uzjKjSmt2OnLB1rlyNhrF4geRyZEigkGBuKkOS2gk2CNDCHvVvdQrpi0q+rVWmCDA+Cq1YKpokiGVxobJNY6sFQ48bUrXMa34Ws7kpLnMat4kIyv+77q3oxPRD7BtpkrMMOITX+SD5g75Pz0RXqgAAAB4nG3EOwqAMBBAwX2a+P/fw8IjSYgoQgLb5PqCtk4xksmnkX8zGTkGS0FJRU1DS0fPwMjEzCLmCke07vTuLt/XzaRdg/WqUbkIHEQcJ56bxI6KPP4cD3YA\') format(\'woff\')}[class*=\' luna-notification-icon-\'],[class^=luna-notification-icon-]{display:inline-block;font-family:luna-notification-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-notification-icon-info:before{content:\'\\f101\'}.luna-notification-icon-check:before{content:\'\\f102\'}.luna-notification-icon-warn:before{content:\'\\f103\'}.luna-notification-icon-error:before{content:\'\\f104\'}.luna-notification{color:rgba(0,0,0,.88);background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;padding:20px;pointer-events:none;display:flex;flex-direction:column;overflow:hidden;background:rgba(0,0,0,0)}.luna-notification.luna-notification-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-notification.luna-notification-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-notification .luna-notification-hidden,.luna-notification.luna-notification-hidden{display:none}.luna-notification .luna-notification-invisible,.luna-notification.luna-notification-invisible{visibility:hidden}.luna-notification *{box-sizing:border-box}.luna-notification.luna-notification-theme-dark{color-scheme:dark;color:rgba(255,255,255,.85);background-color:#141414}.luna-notification.luna-notification-full{position:fixed;top:0;left:0;width:100%;height:100%}.luna-notification-item{display:flex;border:1px solid #d9d9d9;padding:10px 16px;color:rgba(0,0,0,.88);align-items:center;background:#fff}.luna-notification-lower{margin-top:16px}.luna-notification-upper{margin-bottom:16px}.luna-notification-icon-container{margin-right:8px;color:#fff;border-radius:50%;width:16px;height:16px;text-align:center;line-height:16px}.luna-notification-icon-container.luna-notification-info{background:#1677ff}.luna-notification-icon-container.luna-notification-info .luna-notification-icon{position:relative;top:-2px;font-size:12px}.luna-notification-icon-container.luna-notification-success{background:#52c41a}.luna-notification-icon-container.luna-notification-success .luna-notification-icon{position:relative;top:-1px;font-size:12px}.luna-notification-icon-container.luna-notification-warning{position:relative;top:-2px;color:#faad14}.luna-notification-icon-container.luna-notification-warning .luna-notification-icon{font-size:14px}.luna-notification-icon-container.luna-notification-error{position:relative;top:-1px;color:#ff4d4f}.luna-notification-icon-container.luna-notification-error .luna-notification-icon{font-size:14px}.luna-notification-theme-dark .luna-notification-item{border-color:#424242;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05);color:rgba(255,255,255,.85);background:#141414}.luna-notification-theme-dark .luna-notification-icon-container.luna-notification-info{background:#1668dc}.luna-notification-theme-dark .luna-notification-icon-container.luna-notification-success{background:#49aa19}.luna-notification-theme-dark .luna-notification-icon-container.luna-notification-warning{color:#d89614}.luna-notification-theme-dark .luna-notification-icon-container.luna-notification-error{color:#dc4446}',""]),e.exports=t},9907:function(e,t,n){(t=n(6314)(!1)).push([e.id,"@font-face{font-family:luna-object-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS8AAsAAAAAB7QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAGEAAACMISgl+k9TLzIAAAFsAAAAPQAAAFZLxUkWY21hcAAAAawAAADWAAACdBU42qdnbHlmAAAChAAAAC4AAAAwabU7V2hlYWQAAAK0AAAALwAAADZzjr4faGhlYQAAAuQAAAAYAAAAJAFyANlobXR4AAAC/AAAABAAAABAAZAAAGxvY2EAAAMMAAAAEAAAACIAtACobWF4cAAAAxwAAAAfAAAAIAEbAA9uYW1lAAADPAAAASkAAAIWm5e+CnBvc3QAAARoAAAAUwAAAHZW8MNZeJxNjTsOQFAQRc/z/+sV1mABohKV0gZeJRJR2X9cT4RJZu7nFIMBMjoGvHGaF6rdngcNAc/c/O/Nvq2W5E1igdNE2zv1iGh1c5FQPlYXUlJRyxt9+/pUKadQa/AveGEGZQAAAHicY2BkkGScwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAQfcjE8MJIFcITDIwMIIIAFqDCGkAAAB4nM2STQ4BQRCFv54ZP8MwFhYW4gQcShBsSERi50BWDuFCcwJedddKRGKnOt8k9aanqudVAy0gF3NRQLgTsLhJDVHP6UW94Kp8zEhKwYIlG/YcOXHm0mTPp96aumLLwdUQ1fcIqmJrwpSZL+iqak5JmyE1Ayr1bdGhr/2ZPmp/qPQtuj/uJzqQl+pfDyypesQD6AT/ElV8PjyrMccT9rdLR3PUFBI227VTio1jbm6dodg5VnPvmAsHxzofHfmi+Sbs/pwdWcXFkWdNSNg9arIE2QufuSCyAAB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOINe2b6x/PbfGXgZjgBFIjifLyvAUEDwUqGZUCSg4EJxAEAUn4LLAB4nGNgZGBgOMHAACdXMjAyoAIBADizAkx4nGNgAIITUEwGAABZUAGReJxjYAACHgYJ3BAAE94BXXicY2BkYGAQYGBmANEMDExAzAWEDAz/wXwGAApcASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxjkOgCAUANE/uOOGB+FQBIjaaEJIuL6FsfE1M6Lk9fXPoKioaWjp6BnQjEzMLKwYNtHepZhtuMs1vpvO/ch4HIlIxhK4KVyc7BwiD8nvDlkA') format('woff')}[class*=' luna-object-viewer-icon-'],[class^=luna-object-viewer-icon-]{display:inline-block;font-family:luna-object-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-object-viewer-icon-caret-down:before{content:'\\f101'}.luna-object-viewer-icon-caret-right:before{content:'\\f102'}.luna-object-viewer{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;cursor:default;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.2;min-height:100%;color:#333;list-style:none!important}.luna-object-viewer ul{list-style:none!important;padding:0!important;padding-left:12px!important;margin:0!important}.luna-object-viewer li{position:relative;white-space:nowrap;line-height:16px;min-height:16px}.luna-object-viewer>li>.luna-object-viewer-key{display:none}.luna-object-viewer span{position:static!important}.luna-object-viewer li .luna-object-viewer-collapsed~.luna-object-viewer-close:before{color:#999}.luna-object-viewer-array .luna-object-viewer-object .luna-object-viewer-key{display:inline}.luna-object-viewer-null{color:#5e5e5e}.luna-object-viewer-regexp,.luna-object-viewer-string{color:#c41a16}.luna-object-viewer-number{color:#1c00cf}.luna-object-viewer-boolean{color:#0d22aa}.luna-object-viewer-special{color:#5e5e5e}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:#881391}.luna-object-viewer-key-lighter{opacity:.6}.luna-object-viewer-key-special{color:#5e5e5e}.luna-object-viewer-collapsed .luna-object-viewer-icon,.luna-object-viewer-expanded .luna-object-viewer-icon{position:absolute!important;left:-12px;color:#727272;font-size:12px}.luna-object-viewer-icon-caret-right{top:0}.luna-object-viewer-icon-caret-down{top:1px}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-down{display:inline}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-right{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-down{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-right{display:inline}.luna-object-viewer-hidden~ul{display:none}.luna-object-viewer-theme-dark{color:#fff}.luna-object-viewer-theme-dark .luna-object-viewer-null,.luna-object-viewer-theme-dark .luna-object-viewer-special{color:#a1a1a1}.luna-object-viewer-theme-dark .luna-object-viewer-regexp,.luna-object-viewer-theme-dark .luna-object-viewer-string{color:#f28b54}.luna-object-viewer-theme-dark .luna-object-viewer-boolean,.luna-object-viewer-theme-dark .luna-object-viewer-number{color:#9980ff}.luna-object-viewer-theme-dark .luna-object-viewer-key,.luna-object-viewer-theme-dark .luna-object-viewer-key-lighter{color:#5db0d7}",""]),e.exports=t},187:function(e,t,n){(t=n(6314)(!1)).push([e.id,'.luna-setting{color:rgba(0,0,0,.88);background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;min-width:320px}.luna-setting.luna-setting-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-setting.luna-setting-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-setting .luna-setting-hidden,.luna-setting.luna-setting-hidden{display:none}.luna-setting .luna-setting-invisible,.luna-setting.luna-setting-invisible{visibility:hidden}.luna-setting *{box-sizing:border-box}.luna-setting.luna-setting-theme-dark{color-scheme:dark;color:rgba(255,255,255,.85);background-color:#141414}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:rgba(0,0,0,.06)}.luna-setting-item.luna-setting-selected:focus{outline:1px solid #1a73e8}.luna-setting-item .luna-setting-title{line-height:1.4em;font-weight:600}.luna-setting-item .luna-setting-description,.luna-setting-item.luna-setting-item-markdown{line-height:1.4em}.luna-setting-item .luna-setting-description *,.luna-setting-item.luna-setting-item-markdown *{margin:0}.luna-setting-item .luna-setting-description strong,.luna-setting-item.luna-setting-item-markdown strong{font-weight:600}.luna-setting-item .luna-setting-description a,.luna-setting-item.luna-setting-item-markdown a{background-color:rgba(0,0,0,0);color:#0969da;text-decoration:none}.luna-setting-item .luna-setting-control,.luna-setting-item .luna-setting-description{font-size:12px}.luna-setting-item .luna-setting-description{margin-bottom:8px}.luna-setting-item .luna-setting-control{display:flex;align-items:center}.luna-setting-item-button,.luna-setting-item-checkbox,.luna-setting-item-input,.luna-setting-item-markdown,.luna-setting-item-number,.luna-setting-item-select,.luna-setting-item-title{padding:10px}.luna-setting-item-title{font-weight:600}.luna-setting-item-title.luna-setting-level-1{font-size:18px}.luna-setting-item-title.luna-setting-level-2{font-size:16px}.luna-setting-item-title.luna-setting-level-3{font-size:14px}.luna-setting-item-input.luna-setting-disabled input{opacity:.6}.luna-setting-item-input input{-webkit-tap-highlight-color:transparent;color:rgba(0,0,0,.88);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d9d9d9;outline:0;padding:2px 8px;border-radius:2px;font-size:14px;background:#fff;width:100%}.luna-setting-item-number.luna-setting-disabled .luna-setting-range-container,.luna-setting-item-number.luna-setting-disabled input{opacity:.6}.luna-setting-item-number.luna-setting-disabled .luna-setting-range-container input{opacity:1}.luna-setting-item-number input[type=number]{-webkit-tap-highlight-color:transparent;color:rgba(0,0,0,.88);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d9d9d9;outline:0;padding:2px 8px;border-radius:2px;font-size:14px;background:#fff;width:200px;padding:2px}.luna-setting-item-number .luna-setting-range-container{flex:2;position:relative;top:1px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track{height:4px;width:100%;padding:0 10px;position:absolute;left:0;top:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#d9d9d9;border-radius:2px;overflow:hidden;width:100%;height:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{height:100%;background:#1a73e8;width:50%}.luna-setting-item-number .luna-setting-range-container input{-webkit-appearance:none;background:rgba(0,0,0,0);height:4px;width:100%;position:relative;top:-3px;margin:0 auto;outline:0;border-radius:2px}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{-webkit-appearance:none;position:relative;top:0;z-index:1;width:16px;border:none;height:16px;border-radius:10px;border:1px solid #d9d9d9;background:radial-gradient(circle at center,#eee 0,#eee 15%,#fff 22%,#fff 100%)}.luna-setting-item-checkbox.luna-setting-disabled .luna-setting-control{opacity:.6}.luna-setting-item-checkbox input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;border:1px solid #d9d9d9;border-radius:0;position:relative;outline:0;margin-left:0;margin-right:8px;transition:background-color .1s;align-self:flex-start;flex-shrink:0}.luna-setting-item-checkbox input:checked{background-color:#1a73e8;border-color:#1a73e8}.luna-setting-item-checkbox input:checked:after{content:"";width:100%;height:100%;position:absolute;left:0;top:0;background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjZmZmZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgdmVyc2lvbj0iMS4xIiB4PSIwcHgiIHk9IjBweCI+PHRpdGxlPmljb25fYnlfUG9zaGx5YWtvdjEwPC90aXRsZT48ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz48ZyBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsPSIjZmZmZmZmIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNi4wMDAwMDAsIDI2LjAwMDAwMCkiPjxwYXRoIGQ9Ik0xNy45OTk5ODc4LDMyLjQgTDEwLjk5OTk4NzgsMjUuNCBDMTAuMjI2Nzg5MSwyNC42MjY4MDE0IDguOTczMTg2NDQsMjQuNjI2ODAxNCA4LjE5OTk4Nzc5LDI1LjQgTDguMTk5OTg3NzksMjUuNCBDNy40MjY3ODkxNCwyNi4xNzMxOTg2IDcuNDI2Nzg5MTQsMjcuNDI2ODAxNCA4LjE5OTk4Nzc5LDI4LjIgTDE2LjU4NTc3NDIsMzYuNTg1Nzg2NCBDMTcuMzY2ODIyOCwzNy4zNjY4MzUgMTguNjMzMTUyOCwzNy4zNjY4MzUgMTkuNDE0MjAxNCwzNi41ODU3ODY0IEw0MC41OTk5ODc4LDE1LjQgQzQxLjM3MzE4NjQsMTQuNjI2ODAxNCA0MS4zNzMxODY0LDEzLjM3MzE5ODYgNDAuNTk5OTg3OCwxMi42IEw0MC41OTk5ODc4LDEyLjYgQzM5LjgyNjc4OTEsMTEuODI2ODAxNCAzOC41NzMxODY0LDExLjgyNjgwMTQgMzcuNzk5OTg3OCwxMi42IEwxNy45OTk5ODc4LDMyLjQgWiI+PC9wYXRoPjwvZz48L2c+PC9nPjwvc3ZnPg==);background-size:30px;background-repeat:no-repeat;background-position:center}.luna-setting-item-checkbox label{-webkit-tap-highlight-color:transparent}.luna-setting-item-checkbox label *{margin:0}.luna-setting-item-select.luna-setting-disabled .luna-setting-select{opacity:.6}.luna-setting-item-select .luna-setting-select{position:relative}.luna-setting-item-select .luna-setting-select select{margin:0;font-size:14px;background:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d9d9d9;padding:2px 8px;padding-right:18px;outline:0;color:rgba(0,0,0,.88);border-radius:2px;-webkit-tap-highlight-color:transparent}.luna-setting-item-select .luna-setting-select:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid rgba(0,0,0,.88);position:absolute;top:0;bottom:0;right:6px;margin:auto;pointer-events:none}.luna-setting-item-select .luna-setting-select select{width:300px}.luna-setting-item-button button{-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #d9d9d9;padding:2px 8px;color:#1a73e8;font-size:14px;border-radius:2px}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:rgba(0,0,0,.06)}.luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-item-separator{border-bottom:1px solid #d9d9d9}.luna-setting-theme-dark .luna-setting-item.luna-setting-selected,.luna-setting-theme-dark .luna-setting-item:hover{background:rgba(255,255,255,.12)}.luna-setting-theme-dark .luna-setting-item .luna-setting-description a{background-color:rgba(0,0,0,0);color:#58a6ff}.luna-setting-theme-dark .luna-setting-item-separator{border-color:#424242}.luna-setting-theme-dark .luna-setting-item-input input{background:#424242;border-color:#424242;color:rgba(255,255,255,.85)}.luna-setting-theme-dark .luna-setting-item-checkbox input{border-color:#424242}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select select{color:rgba(255,255,255,.85);border-color:#424242;background:#424242}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select:after{border-top-color:rgba(255,255,255,.85)}.luna-setting-theme-dark .luna-setting-item-button button{background:#141414;border-color:#424242}.luna-setting-theme-dark .luna-setting-item-button button:active,.luna-setting-theme-dark .luna-setting-item-button button:hover{background:rgba(255,255,255,.12)}.luna-setting-theme-dark .luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-theme-dark .luna-setting-item-number input[type=number]{background:#424242;border-color:#424242;color:rgba(255,255,255,.85)}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#424242}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:#424242;background:radial-gradient(circle at center,#aaa 0,#aaa 15%,#ccc 22%,#ccc 100%)}',""]),e.exports=t},7253:function(e,t,n){(t=n(6314)(!1)).push([e.id,'.luna-tab{color:rgba(0,0,0,.88);background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;overflow:hidden;width:100%}.luna-tab.luna-tab-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-tab.luna-tab-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-tab .luna-tab-hidden,.luna-tab.luna-tab-hidden{display:none}.luna-tab .luna-tab-invisible,.luna-tab.luna-tab-invisible{visibility:hidden}.luna-tab *{box-sizing:border-box}.luna-tab.luna-tab-theme-dark{color-scheme:dark;color:rgba(255,255,255,.85);background-color:#141414}.luna-tab-tabs-container{border-bottom:1px solid #d9d9d9}.luna-tab-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;width:100%;height:100%;font-size:0;white-space:nowrap}.luna-tab-tabs::-webkit-scrollbar{display:none;width:0;height:0}.luna-tab-item{cursor:pointer;display:inline-block;padding:0 10px;font-size:12px;text-align:center;text-transform:capitalize}.luna-tab-item:hover{background:rgba(0,0,0,.06)}.luna-tab-slider{transition:left .3s,width .3s;height:1px;background:#1a73e8;position:absolute;bottom:0;left:0}.luna-tab-theme-dark .luna-tab-tabs-container{border-color:#424242}.luna-tab-theme-dark .luna-tab-item:hover{background:rgba(255,255,255,.12)}',""]),e.exports=t},1107:function(e,t,n){(t=n(6314)(!1)).push([e.id,"@font-face{font-family:luna-text-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS0AAsAAAAAB2QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFQAAAB0INElr09TLzIAAAFcAAAAPQAAAFZL+0klY21hcAAAAZwAAACfAAACEAEewxRnbHlmAAACPAAAAIYAAACkNSDggmhlYWQAAALEAAAALgAAADZzrb4oaGhlYQAAAvQAAAAWAAAAJAGRANNobXR4AAADDAAAABAAAAAoAZAAAGxvY2EAAAMcAAAAEAAAABYBWgFIbWF4cAAAAywAAAAdAAAAIAEXADtuYW1lAAADTAAAASkAAAIWm5e+CnBvc3QAAAR4AAAAOwAAAFJIWdOleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBWAdNMDGwMQkAWK1CGlYEZyGMCstiBMpxAUUYGZgDbGgXDeJxjYGTQYJzAwMrAwFDH0AMkZaB0AgMngzEDAxMDKzMDVhCQ5prCcIAh+SMTwwkgVwhMMjAwgggAY84IrgAAAHicvZFLCsMwDERHzsdJ6aL0HD1VQiDQRbIN9Axd9aI+QTpjq5Bdd5F4Bo1lybIBNAAq8iA1YB8YZG+qlvUKl6zXGBjf6MofMWHGEyu2FPb9oCxULCtHs3yy+J2urg1rtojo0HM/MKnFGabOGlbdYvdT+1N6/7drXl8e6Vajo3efHP3b7HAUvntBMy1OJKujMTeHNZMV9McpFBC+tLgY4QB4nGNgZACBEwzrGdgZGOwZxdnVDdXNPfKEGlhchO0KhZtZ3IQYmMFq1jCsZpBi0GLQY2AwNzGzZjQSk2UUYdNmVFID8UyVRUXYlNRMlVGlTM1FjU3tmZkTmVhYmFRBhHwoCyuzKgtTIjMzWJg3ZClIGMRlZQmVB7GhMixM0aGhQIsB52sTqgAAeJxjYGRgYADi2JNxkvH8Nl8ZuBlOAAWiOB/va0DQQHCCYT2Q5GBgAnEANJ0KnQAAeJxjYGRgYDjBwIBEMjKgAi4AOvoCZQAAeJxjYACCE1CMBwAAM7gBkXicY2AAAiGGIFQIABXIAqN4nGNgZGBg4GLQZ2BmAAEmMI8LSP4H8xkADjQBUwAAAHicZZA9bsJAFITHYEgCUoIUKSmzVQoimZ+SA0BPQZfCmLUxsr3WekGiywlyhBwhp4hyghwoY/NoYC0/fzNv3u7KAAb4hYd6ebhtar1auKE6cZv0IOyTn4U76ONFuEt/KNzDG6bCfTzinTt4/h2dAUrhFu7xIdym/ynsk7+EO3jCt3CX/o9wDyv8Cffx6g3TyBSxKdxSJ/sstGd5/q60rVJTqEkwPlsLXWgbOr1R66OqDsnUuVjF1uRqzq7OMqNKa3Y6csHWuXI2GsXiB5HJkSKCQYG4qQ5LaCTYI0MIe9W91CumLSr6tVaYIMD4KrVgqmiSIZXGhsk1jqwVDjxtStcxrfhazuSkucxq3iQjK/7vurejE9EPsG2mSsww4hNf5IPmDvk/PRFeqAAAAHicXcU7CsAgFEXBe4x/l/kQBAtt3X0KSZNpRk7X91/F8eAJRBKZQqUp2Og2va19MAadyWJzpBd4kgcWAA==') format('woff')}[class*=' luna-text-viewer-icon-'],[class^=luna-text-viewer-icon-]{display:inline-block;font-family:luna-text-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-text-viewer-icon-check:before{content:'\\f101'}.luna-text-viewer-icon-copy:before{content:'\\f102'}.luna-text-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;padding:0;unicode-bidi:embed;position:relative;overflow:auto;border:1px solid #ccc}.luna-text-viewer.luna-text-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-text-viewer.luna-text-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-text-viewer .luna-text-viewer-hidden,.luna-text-viewer.luna-text-viewer-hidden{display:none}.luna-text-viewer .luna-text-viewer-invisible,.luna-text-viewer.luna-text-viewer-invisible{visibility:hidden}.luna-text-viewer *{box-sizing:border-box}.luna-text-viewer.luna-text-viewer-theme-dark{color:#d9d9d9;border-color:#3d3d3d;background:#242424}.luna-text-viewer:hover .luna-text-viewer-copy{opacity:1}.luna-text-viewer-table{display:table}.luna-text-viewer-table .luna-text-viewer-line-number,.luna-text-viewer-table .luna-text-viewer-line-text{padding:0}.luna-text-viewer-table-row{display:table-row}.luna-text-viewer-line-number{display:table-cell;padding:0 3px 0 8px!important;text-align:right;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #ccc}.luna-text-viewer-line-text{display:table-cell;padding-left:4px!important;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer-copy{background:#fff;opacity:0;position:absolute;right:5px;top:5px;border:1px solid #ccc;border-radius:4px;width:25px;height:25px;text-align:center;line-height:25px;cursor:pointer;transition:opacity .3s,top .3s}.luna-text-viewer-copy .luna-text-viewer-icon-check{color:#188037}.luna-text-viewer-text{padding:4px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;box-sizing:border-box;white-space:pre;display:block}.luna-text-viewer-text.luna-text-viewer-line-numbers{padding:0}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines{white-space:pre-wrap}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines .luna-text-viewer-line-text{word-break:break-all}.luna-text-viewer-theme-dark{color-scheme:dark}.luna-text-viewer-theme-dark .luna-text-viewer-copy,.luna-text-viewer-theme-dark .luna-text-viewer-line-number{border-color:#3d3d3d}.luna-text-viewer-theme-dark .luna-text-viewer-copy .luna-text-viewer-icon-check{color:#81c995}.luna-text-viewer-theme-dark .luna-text-viewer-copy{background-color:#242424}",""]),e.exports=t},6793:function(e,t,n){(t=n(6314)(!1)).push([e.id,"@font-face{font-family:eruda-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAA6UAAsAAAAAGvAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAARoAAAHeLjoycE9TLzIAAAIkAAAAPwAAAFZWm1KoY21hcAAAAmQAAAFdAAADwhPu1O9nbHlmAAADxAAAB+wAAA9I7RPQpGhlYWQAAAuwAAAAMQAAADZ26MSyaGhlYQAAC+QAAAAdAAAAJAgEBC9obXR4AAAMBAAAAB0AAACwXAv//GxvY2EAAAwkAAAAOwAAAFpuVmoybWF4cAAADGAAAAAfAAAAIAE9AQ1uYW1lAAAMgAAAASkAAAIWm5e+CnBvc3QAAA2sAAAA5QAAAU4VMmUJeJxNkD1Ow0AQhb9NHGISCH9RiB0cErCNHRrqFFSIyqKiQHSpEFJERUnBCTgPZ+AEHIe34wDe1f69efPezOKAHldc07q5re4ZrFevL8QE1MPHm3e3fn5aEf6+FAvsDHHuTUoxd7zzwSdffLulq9wjLbaYau8TacZMONE554xzZsrtNfBEzFOhbSmOyTmga0ikvRR/37RSsSMyDukYPjWdgGOtsSK55Y/k0Bf/ksK0MrbFr70idsVZKNPnDcSay3umd2TISCvWTJSxI78lFQ/C+qbv/Zo9tNXDP55ZL7k0Q90u5F5XX0qrYx16btccCtXg/ULrKzGFuqY9rUTMhf3fkCNj+MxUnsM/frr5Qx+ZbH4vVQ0F5Q/ZQBvxAAB4nGNgZJJgnMDAysDA1Mt0hoGBoR9CM75mMGLkAIoysDIzYAUBaa4pDAcYdD+KsIC4MSxMDIxAGoQZALgnCOUAeJy1011SGlEQhuF3BFHxD5UUyr8gIJIsiiKJsSqJlrHKsJssKFeuxF6Bfj3dF96aqhzqoZnDzJyG8w2wCVTko1SheKLAx1/NFuV8hXo5X+WPjht6+fmfWHLDHQ+srfnykjMrvnPPoxXlzNtRlFc26HLBZblal1N9ntBnwIgx5/SYMaWt78+YM6TDgitduaEVq+q0xhbb7KifPQ441N2OOOaEJh9oaYka7xvdd57vQz1P+oPR+Bx6s2lbrc6H0Flc/cO9/sfY87fiOY8u8X0J/muX6VRW6UI+p4l8SX35mgZynUbyLY3lJukf0e6HnvxIM/mZpnKb2nKXvM/7dCa/0lwe0lAeU0d+p4Wsk3bBiuDptY2A10rw9Fo1eOJtM/iTYLWA162A1+2A152A13rwJ8R2g++AJaUU2w/KK3YQlFzsMCjDWCMozdhRUK6x46CEYydBWceagdYraihRngAAAHic7RdbbBxX9Z57Z2d2d2ZndryzM7ve9ax3NztjO/bann0lTuW16zoBJSWJ7Zg83NiUJCQ1Ik2ikKQJNC9FFQqVEG0RVLQoSpEKH2klqgpEIyWAUMRTNBJC/PUDhETgiwhQd8y5s1s7oqr624/srO6ce89zzjn3nHsJEPwxyn5GVEJKBTcCdc80pAiYhkjfNWL+NnhLdTKqfxVOqJlxFX6E84wb86/6X4+5GRLw0/vsOgkREoFGBFx62P/uFviBP78FWrC02d/r79vcpmMl+k2uBwwJxIILTrVeyXsmK8krRLb5YGqUaCb9ksYnMuBqMtnRcY6V1nidml6texaY9CxSRm3TtKNIjcxrUjhEWKD3OnuNJEgPKSG/I6nUpo06fxwXH8lmEoyDFQIVyrROs7254z990rj0u2PLez47WqG1yu69V7ZdfDxU9He4C6P+v+HN+vlnD9Uou0Zp+NnfvveT/XL0kbGFxT/u37tx7CTdeuGlKfiibcMr/gt9qfyu05e4+YEdb7A3iEVG0ArdEAvDIPHBqTbB7bgCDA0sdH0x3/nEHDT4YFJi9siz74iaOBkK3ZyRTRXwE+FGG15BeA0Pf14hqinP3AyFJnHhnVm5xzThmNSBNFjDdvwzw75GFJIlvWhZ1UHlYlI3zIputa3CSduiRF7P09e9on+jODpanPOKsJMDOPV2wU7/BqsVPcQ2ix41X/8ARKpbfhPVtHNgik1hXAhIlmQ1rIbbcCVIzN/7+65794KRTc13IBwJXVkhRACBkAEyhVyiBqJbRn81YRjKUDfRN9xHpoVBt0xJRZ+iS4ehZFg2utJrjCO2GrAUAizcj+c3pXpiXVQwThZmdNrbrx+hAjtjbhSF5FPyKSsqmGraWKYCbfl97vMLi79fXHje7XsAhBsoo0P35fyMPpCj+lM0FDptJexuYzl82upRufxlKgrTh/+fOwBXc+Jt9jZJBTnxUbH/yGT5j4jRT2pB9O1oO/oi3FyD2/ggU14LY/j5RuHTJIZf5LR/WVmbaB2CT6xdQa4KwJZIHPfyMFoWRNSmQZDLlJVpdRw8GwwVWEGlScOGijdOq2VKyfHDB7/d1/+d37zXeT/dXG42l7/Kh2a20pd0JpxsxTVNt8KWyuu/94Ujr+7uvFpvQXP5PCfEAU4l+6pZZ9Ix3eqGqmsGrvok28V+zi6TKEYyi/Udt0MNavkkJC1e+vQA1tGqil6EV93j/UBbY0AXm/2Vku+z53x/8MDT5879U9Nb4Cqq/yf/WEjReiECfS9+C2f/6umFS/77q3t7kp0nGu8DTrFTQrwG1KtsoHVXlnXL0qMKHTRpGbaJlt7aoVsSbO3aQFb5L7MTJElIwrBMvnWxQteCEl2QREn8Ci/Ef9i7u1IT6tX5Pb/ePV+rUXKEL3DMkUPzc6OeNzo3/6C8K2QdrzVlKAYyHhBcxGgUyoCRqXimJZXYwYO1y1tWxQWKLkyfunpqevrU5vJs4SQ02JUDw94qMlC6maORJpc9AR/Sm7C4cK7S4MoL/FNqFYy+Nw5VbpIoWaWXP0atf+fj1Lb36w12h6SxShIouuNQw+TCVDNsWvHqDStpNUoFnobUs6mhUvpmn+r2VxaeuXjmCc974vSjm44OxfytrXeH5iaKxYm5fXMThcLEHLwcGzq66dHTnObMxWcWKv2u2tfa1ipMzu7rEM5OFshqLfsFu4R9thszrVjAUoHFgH98DxRreb3CK74rMTh/bWmJTq9Pd0nCZOvsbfrYrVsTty9cOPc5Or2U6spq8rXbrbNAL9yeuHWLYuEnEiErK0JIAPIN8kNyl9wn/yUt7mioN6GGTi1jDQrypNPRxQ+8zREatnUsVtgbcDHAaZA0rc6TxOIWLPFVXLDbvYRT45CDSnBOqFhee4aTcWw8gapGnS+Z+EYrOuqh825jrY5WSVwPDSewh/OWqYueCJQFEjhELTdgcdEODjUCo5yge7lcAlJxRSgceyZyu5LFfqnaeldKlsyunnK6N6LEaUSqTSndgpZK7jC7NZaR7LGcGhXwgMNC+WFt0MxEomZcECQ9EY4JkgAQDilSNKnGuxXJ0u2hdG9YUZkiZcfWpaOWkUv0G6IaCseVVH81o0dEEClKGokassX0hKSk44PxBGOS4E8cmNk+OMSY5+2cXfz8zI4hrG4jI9tnFpW/hqKx7PCnH1O7wpFkqeANT4IUVhopPTUwnNJxzSlUzLASV+4YfUIkpoQFTYvoMUFkJgtJ/Z6VEIyymx4usdCW5CuDc9s+dZDm6GeiejTl1jN6VFKUdMHMlUIWzaQEOdyrKHIsL0VZJB0TE1rUlLvCo71yPKya3dW+ONBQRBajUdPuKoXFsBAOiYoUdx7JtSXlU3ZJNAW1O+4ktBCFqBjLJhMW97JgyonISE5kVIJQJJ6tO6nueCJj1TV/D6uMzu06tH/H44NlRr3RnbNPLu7cXh75sWOklURzi5ZI9dgqG6tuEAf0bkWX0/0j6S6+RjfaYiQsbkKHhuNdms6kUExWZNGSlJgzkjIGjPK61KjLxOvGc/1/27r9KOQe7omHe+LhnvjQnmArLTyHMYHiPbGbFLEL4Q1BxOsiHrfy2HIBz67BXQbPsVbB4TNDZP/wF4x63cAxUl/PRtbXI61f2QM2/iuZUqleKr3ABp1Mxnn/rjvpOJN0b9K2k/73+Xi/VHOcGl4qyf8AzjWNo3icY2BkYGAA4uhnXafj+W2+MnCzgASiOB/va4DR///+/8/CysIElOBgAJEMAHS2DWQAAAB4nGNgZGBgYQABFtb/f///ZWFlYGRABToAW+YEPQAAAHicY2BgYGAhiP//J6wGCbNCMcP/vwxUBgDl4QRhAAAAeJxjYAACBQYThiCGAoYtjAyMZowBjPuYuJjCmBYxvWNWYXZhzmFewfyIRYUliPUOexr7EmIhAF3rF0sAeJxjYGRgYNBhZGRgZwABJiDmAkIGhv9gPgMADcIBTAB4nGWQPW7CQBSEx2BIAlKCFCkps1UKIpmfkgNAT0GXwpi1MbK91npBossJcoQcIaeIcoIcKGPzaGAtP38zb97uygAG+IWHenm4bWq9WrihOnGb9CDsk5+FO+jjRbhLfyjcwxumwn084p07eP4dnQFK4Rbu8SHcpv8p7JO/hDt4wrdwl/6PcA8r/An38eoN08gUsSncUif7LLRnef6utK1SU6hJMD5bC11oGzq9Ueujqg7J1LlYxdbkas6uzjKjSmt2OnLB1rlyNhrF4geRyZEigkGBuKkOS2gk2CNDCHvVvdQrpi0q+rVWmCDA+Cq1YKpokiGVxobJNY6sFQ48bUrXMa34Ws7kpLnMat4kIyv+77q3oxPRD7BtpkrMMOITX+SD5g75Pz0RXqgAAAB4nG2MyW6DQBiD+RKYpKT7vqf7Gg55pNHwEyJNGDSMRHj70nKtD7Zly45G0YA0+h8LRoyJSVBMmLJDyoxd9tjngEOOOOaEU84454JLrrjmhlvuuGfOA4888cwLr7zxzgeffPHNgixKtfeuzawUYTZYv16VITXaS8hy11azwf7FibGi/dS4Te2laWLj6k7lYiVIIv3aK9nWusqng2TLsXR900m2VMXaBvFxbXWnvBjn84mXor8pk54kqKa/NmUvVkyIg3NW/VK2jFvtKzQeR0uGRSgIrFlRYsip2FDT0LGNoh/MCkh9AAAA') format('woff')}[class*=' _icon-'],[class^='_icon-']{display:inline-block;font-family:eruda-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._icon-arrow-left:before{content:'\\f101'}._icon-arrow-right:before{content:'\\f102'}._icon-caret-down:before{content:'\\f103'}._icon-caret-right:before{content:'\\f104'}._icon-clear:before{content:'\\f105'}._icon-compress:before{content:'\\f106'}._icon-copy:before{content:'\\f107'}._icon-delete:before{content:'\\f108'}._icon-error:before{content:'\\f109'}._icon-expand:before{content:'\\f10a'}._icon-eye:before{content:'\\f10b'}._icon-filter:before{content:'\\f10c'}._icon-play:before{content:'\\f10d'}._icon-record:before{content:'\\f10e'}._icon-refresh:before{content:'\\f10f'}._icon-reset:before{content:'\\f110'}._icon-search:before{content:'\\f111'}._icon-select:before{content:'\\f112'}._icon-tool:before{content:'\\f113'}._icon-warn:before{content:'\\f114'}",""]),e.exports=t},6314:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,o,r,i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var l=(n=a,o=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),"/*# ".concat(r," */")),s=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(s).concat([l]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(r[a]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);o&&r[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},3693:function(e,t,n){var o=n(21),r=n(2230),i=n(8604),a=n(6866),l=n(9186),s=n(7236),c=n(3497),u=n(2113),d=n(2125),p=n(3793),f=n(7661),h=n(5360),m=n(8971),g=n(1738);t=function(e){return new o(e)},o.methods({offset:function(){return r(this)},hide:function(){return this.css("display","none")},show:function(){return i(this),this},first:function(){return t(this[0])},last:function(){return t(c(this))},get:function(e){return this[e]},eq:function(e){return t(this[e])},on:function(e,t,n){return p.on(this,e,t,n),this},off:function(e,t,n){return p.off(this,e,t,n),this},html:function(e){var t=s.html(this,e);return m(e)?t:this},text:function(e){var t=s.text(this,e);return m(e)?t:this},val:function(e){var t=s.val(this,e);return m(e)?t:this},css:function(e,t){var n=a(this,e,t);return v(e,t)?n:this},attr:function(e,t){var n=l(this,e,t);return v(e,t)?n:this},data:function(e,t){var n=d(this,e,t);return v(e,t)?n:this},rmAttr:function(e){return l.remove(this,e),this},remove:function(){return u(this),this},addClass:function(e){return f.add(this,e),this},rmClass:function(e){return f.remove(this,e),this},toggleClass:function(e){return f.toggle(this,e),this},hasClass:function(e){return f.has(this,e)},parent:function(){return t(this[0].parentNode)},append:function(e){return h.append(this,e),this},prepend:function(e){return h.prepend(this,e),this},before:function(e){return h.before(this,e),this},after:function(e){return h.after(this,e),this}});var v=function(e,t){return m(t)&&g(e)};e.exports=t},9186:function(e,t,n){var o=n(769),r=n(9760),i=n(1738),a=n(9100),l=n(8971),s=n(3612);(t=function(e,t,n){if(e=s(e),l(n)&&i(t))return o=e[0],c=t,o.getAttribute(c);var o,c,u=t;r(u)||((u={})[t]=n),function(e,t){a(e,(function(e){a(t,(function(t,n){e.setAttribute(n,t)}))}))}(e,u)}).remove=function(e,t){e=s(e),t=o(t),a(e,(function(e){a(t,(function(t){e.removeAttribute(t)}))}))},e.exports=t},7661:function(e,t,n){var o=n(769),r=n(2797),i=n(3612),a=n(1738),l=n(9100);function s(e){return a(e)?e.split(/\s+/):o(e)}t={add:function(e,n){e=i(e);var o=s(n);l(e,(function(e){var n=[];l(o,(function(o){t.has(e,o)||n.push(o)})),0!==n.length&&(e.className+=(e.className?" ":"")+n.join(" "))}))},has:function(e,t){e=i(e);var n=new RegExp("(^|\\s)"+t+"(\\s|$)");return r(e,(function(e){return n.test(e.className)}))},toggle:function(e,n){e=i(e),l(e,(function(e){if(!t.has(e,n))return t.add(e,n);t.remove(e,n)}))},remove:function(e,t){e=i(e);var n=s(t);l(e,(function(e){l(n,(function(t){e.classList.remove(t)}))}))}},e.exports=t},6866:function(e,t,n){var o=n(1738),r=n(9760),i=n(7604),a=n(8971),l=n(3249),s=n(6097),c=n(3612),u=n(6969),d=n(9100);t=function(e,t,n){if(e=c(e),a(n)&&o(t))return f=e[0],h=t,f.style[u(h)]||getComputedStyle(f,"").getPropertyValue(h);var f,h,m=t;r(m)||((m={})[t]=n),function(e,t){d(e,(function(e){var n=";";d(t,(function(e,t){var o,r;t=u.dash(t),n+=t+":"+(o=t,(s(r=e)&&!l(p,i(o))?r+"px":r)+";")})),e.style.cssText+=n}))}(e,m)};var p=["column-count","columns","font-weight","line-weight","opacity","z-index","zoom"];e.exports=t},2125:function(e,t,n){var o=n(9186),r=n(1738),i=n(9760),a=n(9100);n(3612),t=function(e,t,n){var l=t;return r(t)&&(l="data-"+t),i(t)&&(l={},a(t,(function(e,t){l["data-"+t]=e}))),o(e,l,n)},e.exports=t},3793:function(e,t,n){var o=n(8966),r=n(8971),i=n(3612),a=n(9100);function l(e){return function(t,n,l,s){t=i(t),r(s)&&(s=l,l=void 0),a(t,(function(t){o[e](t,n,l,s)}))}}t={on:l("add"),off:l("remove")},e.exports=t},5360:function(e,t,n){var o=n(9100),r=n(3612),i=n(1738);function a(e){return function(t,n){t=r(t),o(t,(function(t){if(i(n))t.insertAdjacentHTML(e,n);else{var o=t.parentNode;switch(e){case"beforebegin":o&&o.insertBefore(n,t);break;case"afterend":o&&o.insertBefore(n,t.nextSibling);break;case"beforeend":t.appendChild(n);break;case"afterbegin":t.prepend(n)}}}))}}t={before:a("beforebegin"),after:a("afterend"),append:a("beforeend"),prepend:a("afterbegin")},e.exports=t},2230:function(e,t,n){var o=n(3612);t=function(e){var t=(e=o(e))[0].getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,width:Math.round(t.width),height:Math.round(t.height)}},e.exports=t},7236:function(e,t,n){var o=n(8971),r=n(9100),i=n(3612);function a(e){return function(t,n){var a=(t=i(t))[0];if(o(n))return a?a[e]:"";a&&r(t,(function(t){t[e]=n}))}}t={html:a("innerHTML"),text:a("textContent"),val:a("value")},e.exports=t},2113:function(e,t,n){var o=n(9100),r=n(3612);t=function(e){e=r(e),o(e,(function(e){var t=e.parentNode;t&&t.removeChild(e)}))},e.exports=t},3612:function(e,t,n){var o=n(1738),r=n(769),i=n(21);t=function(e){return r(o(e)?new i(e):e)},e.exports=t},8604:function(e,t,n){var o=n(9100),r=n(3612);t=function(e){e=r(e),o(e,(function(e){"none"==getComputedStyle(e,"").getPropertyValue("display")&&(e.style.display=function(e){var t,n;return i[e]||(t=document.createElement(e),document.documentElement.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),i[e]=n),i[e]}(e.nodeName))}))};var i={};e.exports=t},2717:function(e,t,n){var o=n(8105),r=n(769),i=n(8009),a=n(6186),l=n(4460),s=(t=function(e,t){return s.extend(e,t)}).Base=function e(t,n,s){s=s||{};var c=n.className||a(n,"initialize.name")||"";delete n.className;var u=function(){var e=r(arguments);return this.initialize&&this.initialize.apply(this,e)||this};if(!l)try{u=new Function("toArr","return function "+c+"(){var args = toArr(arguments);return this.initialize ? this.initialize.apply(this, args) || this : this;};")(r)}catch(d){}return i(u,t),u.prototype.constructor=u,u.extend=function(t,n){return e(u,t,n)},u.inherits=function(e){i(u,e)},u.methods=function(e){return o(u.prototype,e),u},u.statics=function(e){return o(u,e),u},u.methods(n).statics(s),u}(Object,{className:"Base",callSuper:function(e,t,n){return e.prototype[t].apply(this,n)},toString:function(){return this.constructor.name}});e.exports=t},8734:function(e,t,n){var o=n(2717),r=n(1738),i=n(6026),a=n(8),l=n(928),s=n(9848);t=o({initialize:function(e){r(e)&&(e=t.parse(e)),this.model=e.model,this.val=e.val},toRgb:function(){var e=this.val;"hsl"===this.model&&(e=l(e));var t="rgba";return 1===e[3]&&(t="rgb",e=e.slice(0,3)),t+"("+e.join(", ")+")"},toHex:function(){var e=this.val;"hsl"===this.model&&(e=l(e));var t=s.encode(e.slice(0,3));return t[0]===t[1]&&t[2]===t[3]&&t[4]===t[5]&&(t=t[0]+t[2]+t[5]),"#"+t},toHsl:function(){var e=this.val;"rgb"===this.model&&(e=a(e));var t="hsla";return 1===e[3]&&(t="hsl",e=e.slice(0,3)),e[1]=e[1]+"%",e[2]=e[2]+"%",t+"("+e.join(", ")+")"}},{parse:function(e){var t,n,o=[0,0,0,1],r="rgb";if(n=e.match(c))for(n=n[1],t=0;t<3;t++)o[t]=parseInt(n[t]+n[t],16);else if(n=e.match(u))for(n=n[1],t=0;t<3;t++){var a=2*t;o[t]=parseInt(n.slice(a,a+2),16)}else if(n=e.match(d)){for(t=0;t<3;t++)o[t]=parseInt(n[t+1],0);n[4]&&(o[3]=parseFloat(n[4]))}else if(n=e.match(p)){for(t=0;t<3;t++)o[t]=Math.round(2.55*parseFloat(n[t+1]));n[4]&&(o[3]=parseFloat(n[4]))}else(n=e.match(f))&&(r="hsl",o=[(parseFloat(n[1])%360+360)%360,i(parseFloat(n[2]),0,100),i(parseFloat(n[3]),0,100),i(parseFloat(n[4]),0,1)]);return{val:o,model:r}}});var c=/^#([a-fA-F0-9]{3})$/,u=/^#([a-fA-F0-9]{6})$/,d=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d.]+)\s*)?\)$/,p=/^rgba?\(\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?[\d.]+)\s*)?\)$/,f=/^hsla?\(\s*([+-]?\d*[.]?\d+)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?[\d.]+)\s*)?\)$/;e.exports=t},2263:function(e,t,n){var o=n(2717),r=n(365),i=n(9100),a=n(4951),l=n(8996),s=n(8420);t=o({initialize:function(){this._events=this._events||{}},on:function(e,t){return this._events[e]=this._events[e]||[],this._events[e].push(t),this},off:function(e,t){var n=this._events;if(r(n,e)){var o=n[e].indexOf(t);return o>-1&&n[e].splice(o,1),this}},once:function(e,t){return this.on(e,l(t)),this},emit:function(e){var t=this;if(r(this._events,e)){var n=a(arguments,1),o=s(this._events[e]);return i(o,(function(e){return e.apply(t,n)}),this),this}},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this}},{mixin:function(e){i(["on","off","once","emit","removeAllListeners"],(function(n){e[n]=t.prototype[n]})),e._events=e._events||{}}}),e.exports=t},2192:function(e,t,n){var o=n(2717),r=n(3722),i=n(6214),a=n(9100),l=n(3145);t=o({initialize:function(e){i(e)?(this.size=e.length,a(e,(function(e,t){this[e]=t}),this)):(this.size=l(e).length,a(e,(function(e,t){this[t]=e}),this)),r(this)}}),e.exports=t},6741:function(e,t,n){var o=n(2717),r=n(6186),i=n(8105),a=n(2508),l=n(1738),s=n(3957);t=o({initialize:function(e,t){this._locale=e,this._langs=t},set:function(e,t){this._langs[e]?i(this._langs[e],t):this._langs[e]=t},t:function(e,t){var n="",o=this._langs[this._locale];return o?(n=r(o,e),t&&(l(n)?n=a(n,t):s(n)&&(n=n(t))),n||""):""},locale:function(e){this._locale=e}}),e.exports=t},5021:function(e,t,n){var o=n(7744),r=n(1931),i=n(9464),a=n(8032),l=n(5651),s=n(9760),c=r("local");t=o.extend({initialize:function(e,t){this._name=e,t=t||{};var n=c.getItem(e);try{n=JSON.parse(n)}catch(r){n={}}s(n)||(n={}),t=l(n,t),this.callSuper(o,"initialize",[t])},save:function(e){if(i(e))return c.removeItem(this._name);c.setItem(this._name,a(e))}}),e.exports=t},7622:function(e,t,n){var o=n(2263),r=n(2192),i=n(769),a=n(8971),l=n(8420),s=n(1738),c=n(6097);t=o.extend({initialize:function(e,n){this.name=e,this.setLevel(a(n)?t.level.DEBUG:n),this.callSuper(o,"initialize",arguments)},setLevel:function(e){return s(e)?((e=t.level[e.toUpperCase()])&&(this._level=e),this):(c(e)&&(this._level=e),this)},getLevel:function(){return this._level},formatter:function(e,t){return t},trace:function(){return this._log("trace",arguments)},debug:function(){return this._log("debug",arguments)},info:function(){return this._log("info",arguments)},warn:function(){return this._log("warn",arguments)},error:function(){return this._log("error",arguments)},_log:function(e,n){return 0===(n=i(n)).length||(this.emit("all",e,l(n)),t.level[e.toUpperCase()]<this._level||(this.emit(e,l(n)),("debug"===e?console.log:console[e]).apply(console,this.formatter(e,n)))),this}},{level:new r({TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5})}),e.exports=t},3737:function(e,t,n){var o=n(2263);t=o.extend({className:"MediaQuery",initialize:function(e){var t=this;this.callSuper(o,"initialize"),this._listener=function(){t.emit(t.isMatch()?"match":"unmatch")},this.setQuery(e)},setQuery:function(e){this._mql&&this._mql.removeListener(this._listener),this._mql=window.matchMedia(e),this._mql.addListener(this._listener)},isMatch:function(){return this._mql.matches}}),e.exports=t},2208:function(e,t,n){var o=n(2717);(t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)||(t=o({initialize:function(){},observe:function(){},disconnect:function(){},takeRecords:function(){}})),e.exports=t},4095:function(e,t,n){var o=n(1023),r=n(5241),i=n(3793),a=n(6866),l=n(3249),s=n(8105),c=n(5169);t=c.ResizeObserver?o.extend({initialize:function(e){var t=this;if(e._resizeSensor)return e._resizeSensor;this.callSuper(o,"initialize");var n=new c.ResizeObserver((function(){return t.emit()}));n.observe(e),e._resizeSensor=this,this._resizeObserver=n,this._el=e},destroy:function(){var e=this._el;e._resizeSensor&&(this.rmAllListeners(),delete e._resizeSensor,this._resizeObserver.unobserve(e))}}):o.extend({initialize:function(e){if(e._resizeSensor)return e._resizeSensor;this.callSuper(o,"initialize"),this._el=e,e._resizeSensor=this,l(["absolute","relative","fixed","sticky"],a(e,"position"))||a(e,"position","relative"),this._appendResizeSensor(),this._bindEvent()},destroy:function(){var e=this._el;e._resizeSensor&&(this.rmAllListeners(),delete e._resizeSensor,e.removeChild(this._resizeSensorEl))},_appendResizeSensor:function(){var e=this._el,t={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"},n={position:"absolute",left:"0px",top:"0px",transition:"0s"},o=r("div",{style:n}),i=r("div.resize-sensor-expand",{style:t},o),a=r("div.resize-sensor-shrink",{style:t},r("div",{style:s({width:"200%",height:"200%"},n)})),l=r("div.resize-sensor",{dir:"ltr",style:t},i,a);this._expandEl=i,this._expandChildEl=o,this._shrinkEl=a,this._resizeSensorEl=l,e.appendChild(l),this._resetExpandShrink()},_bindEvent:function(){var e=this;i.on(this._expandEl,"scroll",(function(){return e._onScroll()})),i.on(this._shrinkEl,"scroll",(function(){return e._onScroll()}))},_onScroll:function(){this.emit(),this._resetExpandShrink()},_resetExpandShrink:function(){var e=this._el,t=e.offsetWidth,n=e.offsetHeight;a(this._expandChildEl,{width:t+10,height:n+10}),s(this._expandEl,{scrollLeft:t+10,scrollTop:n+10}),s(this._shrinkEl,{scrollLeft:t+10,scrollTop:n+10})}}),e.exports=t},21:function(e,t,n){var o=n(2717),r=n(1738),i=n(9100),a=n(8178),l=new(t=o({className:"Select",initialize:function(e){return this.length=0,e?r(e)?l.find(e):void(e.nodeType&&(this[0]=e,this.length=1)):this},find:function(e){var n=new t;return this.each((function(){a(n,this.querySelectorAll(e))})),n},each:function(e){return i(this,(function(t,n){e.call(t,n,t)})),this}}))(document);e.exports=t},1023:function(e,t,n){var o=n(2717),r=n(8420),i=n(9100),a=n(769);t=o({initialize:function(){this._listeners=[]},addListener:function(e){this._listeners.push(e)},rmListener:function(e){var t=this._listeners.indexOf(e);t>-1&&this._listeners.splice(t,1)},rmAllListeners:function(){this._listeners=[]},emit:function(){var e=this,t=a(arguments),n=r(this._listeners);i(n,(function(n){return n.apply(e,t)}),this)}},{mixin:function(e){i(["addListener","rmListener","emit","rmAllListeners"],(function(n){e[n]=t.prototype[n]})),e._listeners=e._listeners||[]}}),e.exports=t},7005:function(e,t,n){var o=n(2717),r=n(5395);t=o({initialize:function(){this.clear()},clear:function(){this._items=[],this.size=0},push:function(e){return this._items.push(e),++this.size},pop:function(){if(this.size)return this.size--,this._items.pop()},peek:function(){return this._items[this.size-1]},forEach:function(e,t){t=arguments.length>1?t:this;for(var n=this._items,o=this.size-1,r=0;o>=0;o--,r++)e.call(t,n[o],r,this)},toArr:function(){return r(this._items)}}),e.exports=t},7744:function(e,t,n){var o=n(2263),r=n(1738),i=n(9760),a=n(9100),l=n(769);t=o.extend({initialize:function(e){this.callSuper(o,"initialize",arguments),this._data=e||{},this.save(this._data)},set:function(e,t){var n;r(e)?(n={})[e]=t:i(e)&&(n=e);var o=this;a(n,(function(e,t){var n=o._data[t];o._data[t]=e,o.emit("change",t,e,n)})),this.save(this._data)},get:function(e){var t=this._data;if(r(e))return t[e];var n={};return a(e,(function(e){n[e]=t[e]})),n},remove:function(e){e=l(e);var t=this._data;a(e,(function(e){delete t[e]})),this.save(t)},clear:function(){this._data={},this.save(this._data)},each:function(e){a(this._data,e)},save:function(e){this._data=e}}),e.exports=t},6032:function(e,t,n){var o=n(2717),r=n(8105),i=n(9405),a=n(7257),l=n(9464),s=n(9100),c=n(6214),u=n(769),d=n(1909),p=n(9760),f=n(2561);t=o({className:"Url",initialize:function(e){!e&&d&&(e=window.location.href),r(this,t.parse(e||""))},setQuery:function(e,t){var n=this.query;return p(e)?s(e,(function(e,t){n[t]=f(e)})):n[e]=f(t),this},rmQuery:function(e){var t=this.query;return c(e)||(e=u(e)),s(e,(function(e){delete t[e]})),this},toString:function(){return t.stringify(this)}},{parse:function(e){var t={protocol:"",auth:"",hostname:"",hash:"",query:{},port:"",pathname:"",slashes:!1},n=i(e),o=!1,r=n.match(h);if(r&&(r=r[0],t.protocol=r.toLowerCase(),n=n.substr(r.length)),r&&(o="//"===n.substr(0,2))&&(n=n.slice(2),t.slashes=!0),o){for(var l=n,s=-1,c=0,u=g.length;c<u;c++){var d=n.indexOf(g[c]);-1!==d&&(-1===s||d<s)&&(s=d)}s>-1&&(l=n.slice(0,s),n=n.slice(s));var p=l.lastIndexOf("@");-1!==p&&(t.auth=decodeURIComponent(l.slice(0,p)),l=l.slice(p+1)),t.hostname=l;var f=l.match(m);f&&(":"!==(f=f[0])&&(t.port=f.substr(1)),t.hostname=l.substr(0,l.length-f.length))}var v=n.indexOf("#");-1!==v&&(t.hash=n.substr(v),n=n.slice(0,v));var y=n.indexOf("?");return-1!==y&&(t.query=a.parse(n.substr(y+1)),n=n.slice(0,y)),t.pathname=n||"/",t},stringify:function(e){var t=e.protocol+(e.slashes?"//":"")+(e.auth?encodeURIComponent(e.auth)+"@":"")+e.hostname+(e.port?":"+e.port:"")+e.pathname;return l(e.query)||(t+="?"+a.stringify(e.query)),e.hash&&(t+=e.hash),t}});var h=/^([a-z0-9.+-]+:)/i,m=/:[0-9]*$/,g=["/","?","#"];e.exports=t},311:function(e,t,n){var o=n(3957),r=n(9993),i=n(5651),a=n(9760),l=n(7257);function s(e,t,n,r){return o(t)&&(r=n,n=t,t={}),{url:e,data:t,success:n,dataType:r}}(t=function(e){i(e,t.setting);var n,o=e.type,s=e.url,c=e.data,u=e.dataType,d=e.success,p=e.error,f=e.timeout,h=e.complete,m=e.xhr();return m.onreadystatechange=function(){if(4===m.readyState){var e;clearTimeout(n);var t=m.status;if(t>=200&&t<300||304===t){e=m.responseText,"xml"===u&&(e=m.responseXML);try{"json"===u&&(e=JSON.parse(e))}catch(o){}d(e,m)}else p(m);h(m)}},"GET"===o?(c=l.stringify(c))&&(s+=s.indexOf("?")>-1?"&"+c:"?"+c):"application/x-www-form-urlencoded"===e.contentType?a(c)&&(c=l.stringify(c)):"application/json"===e.contentType&&a(c)&&(c=JSON.stringify(c)),m.open(o,s,!0),m.setRequestHeader("Content-Type",e.contentType),f>0&&(n=setTimeout((function(){m.onreadystatechange=r,m.abort(),p(m,"timeout"),h(m)}),f)),m.send("GET"===o?null:c),m}).setting={type:"GET",success:r,error:r,complete:r,dataType:"json",contentType:"application/x-www-form-urlencoded",data:{},xhr:function(){return new XMLHttpRequest},timeout:0},t.get=function(){return t(s.apply(null,arguments))},t.post=function(){var e=s.apply(null,arguments);return e.type="POST",t(e)},e.exports=t},7514:function(e,t,n){var o=n(3145),r=n(5427),i=n(438),a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols;t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prototype,s=void 0===n||n,c=t.unenumerable,u=void 0!==c&&c,d=t.symbol,p=void 0!==d&&d,f=[];if((u||p)&&a){var h=o;u&&a&&(h=a);do{f=f.concat(h(e)),p&&l&&(f=f.concat(l(e)))}while(s&&(e=r(e))&&e!==Object.prototype);f=i(f)}else if(s)for(var m in e)f.push(m);else f=o(e);return f},e.exports=t},1849:function(e,t,n){var o=n(9100),r=n(8971),i=n(3957);t=function(e,t){r(t)&&(t=!0);var n=i(t),a={};return o(e,(function(e){a[e]=n?t(e):t})),a},e.exports=t},2990:function(e,t){t={encode:function(e){var t,n,r=[],i=e.length,a=i%3;i-=a;for(var l=0;l<i;l+=3)r.push((t=(e[l]<<16)+(e[l+1]<<8)+e[l+2],o[t>>18&63]+o[t>>12&63]+o[t>>6&63]+o[63&t]));return i=e.length,1===a?(n=e[i-1],r.push(o[n>>2]),r.push(o[n<<4&63]),r.push("==")):2===a&&(n=(e[i-2]<<8)+e[i-1],r.push(o[n>>10]),r.push(o[n>>4&63]),r.push(o[n<<2&63]),r.push("=")),r.join("")},decode:function(e){var t=e.length,o=0;"="===e[t-2]?o=2:"="===e[t-1]&&(o=1);var r,i,a,l,s,c,u,d=new Array(3*t/4-o);for(t=o>0?t-4:t,r=0,i=0;r<t;r+=4){var p=(a=e[r],l=e[r+1],s=e[r+2],c=e[r+3],n[a.charCodeAt(0)]<<18|n[l.charCodeAt(0)]<<12|n[s.charCodeAt(0)]<<6|n[c.charCodeAt(0)]);d[i++]=p>>16&255,d[i++]=p>>8&255,d[i++]=255&p}return 2===o?(u=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,d[i++]=255&u):1===o&&(u=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,d[i++]=u>>8&255,d[i++]=255&u),d}};for(var n=[],o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,i=o.length;r<i;r++)n[o.charCodeAt(r)]=r;e.exports=t},7542:function(e,t){t=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},e.exports=t},4994:function(e,t,n){var o=n(2510);t=o((function(e,t,n){return o((function(o){return e.apply(t,n.concat(o))}))})),e.exports=t},387:function(e,t,n){var o=n(6833);function r(e,t){this[t]=e.replace(/\w/,(function(e){return e.toUpperCase()}))}t=function(e){var t=o(e),n=t[0];return t.shift(),t.forEach(r,t),n+t.join("")},e.exports=t},6949:function(e,t,n){var o=n(365),r=n(6214);t=function(e,t){if(r(e))return e;if(t&&o(t,e))return[e];var n=[];return e.replace(i,(function(e,t,o,r){n.push(o?r.replace(a,"$1"):t||e)})),n};var i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;e.exports=t},7140:function(e,t){t=function(e,t){var n=[];t=t||1;for(var o=0,r=Math.ceil(e.length/t);o<r;o++){var i=o*t,a=i+t;n.push(e.slice(i,a))}return n},e.exports=t},6026:function(e,t,n){var o=n(8971);t=function(e,t,n){return o(n)&&(n=t,t=void 0),!o(t)&&e<t?t:e>n?n:e},e.exports=t},8420:function(e,t,n){var o=n(9760),r=n(6214),i=n(8105);t=function(e){return o(e)?r(e)?e.slice():i({},e):e},e.exports=t},1034:function(e,t,n){var o=n(9760),r=n(3957),i=n(6214),a=n(5154);t=function(e){return i(e)?e.map((function(e){return t(e)})):o(e)&&!r(e)?a(e,(function(e){return t(e)})):e},e.exports=t},4069:function(e,t,n){var o=n(769);t=function(){for(var e=o(arguments),t=[],n=0,r=e.length;n<r;n++)t=t.concat(o(e[n]));return t},e.exports=t},3249:function(e,t,n){var o=n(7375),r=n(1738),i=n(5793),a=n(5119);t=function(e,t){return r(e)?e.indexOf(t)>-1:(i(e)||(e=a(e)),o(e,t)>=0)},e.exports=t},5957:function(e,t,n){var o=n(1738),r=n(2990),i=n(4992),a=n(6214),l=n(3159),s=n(2989),c=n(96);(t=function(e,t){var n;if(t=c(t),o(e))n=new Uint8Array(r.decode(e));else if(i(e))e=e.slice(0),n=new Uint8Array(e);else if(a(e))n=new Uint8Array(e);else if("uint8array"===s(e))n=e.slice(0);else if(l(e)){n=new Uint8Array(e.length);for(var u=0;u<e.length;u++)n[u]=e[u]}if(n)switch(t){case"base64":n=r.encode(n);break;case"arraybuffer":n=n.buffer;break;case"array":n=[].slice.call(n);break;case"buffer":n=Buffer.from(n);break;case"blob":n=new Blob([n.buffer])}return n}).blobToArrBuffer=function(e){return new Promise((function(t,n){var o=new FileReader;o.onload=function(e){t(e.target.result)},o.onerror=function(e){n(e)},o.readAsArrayBuffer(e)}))},e.exports=t},975:function(e,t,n){var o=n(5651),r=n(6097),i=n(8971),a=n(6334),l={path:"/"};function s(e,n,s){if(!i(n)){if(s=o(s=s||{},l),r(s.expires)){var c=new Date;c.setMilliseconds(c.getMilliseconds()+864e5*s.expires),s.expires=c}return n=encodeURIComponent(n),e=encodeURIComponent(e),document.cookie=[e,"=",n,s.expires&&"; expires="+s.expires.toUTCString(),s.path&&"; path="+s.path,s.domain&&"; domain="+s.domain,s.secure?"; secure":""].join(""),t}for(var u=document.cookie?document.cookie.split("; "):[],d=e?void 0:{},p=0,f=u.length;p<f;p++){var h=u[p],m=h.split("="),g=a(m.shift());if(h=m.join("="),h=a(h),e===g){d=h;break}e||(d[g]=h)}return d}t={get:s,set:s,remove:function(e,t){return(t=t||{}).expires=-1,s(e,"",t)}},e.exports=t},4844:function(e,t,n){var o=n(8105),r=n(9993);t=function(e,t){t=t||r;var n=document.createElement("textarea"),i=document.body;o(n.style,{fontSize:"12pt",border:"0",padding:"0",margin:"0",position:"absolute",left:"-9999px"}),n.value=e,i.appendChild(n),n.setAttribute("readonly",""),n.select(),n.setSelectionRange(0,e.length);try{document.execCommand("copy"),t()}catch(a){t(a)}finally{i.removeChild(n)}},e.exports=t},6513:function(e,t,n){var o=n(9760);t=function(e){if(!o(e))return{};if(r)return r(e);function t(){}return t.prototype=e,new t};var r=Object.create;e.exports=t},6307:function(e,t,n){var o=n(8971),r=n(9100);t=function(e,t){return function(n){return r(arguments,(function(i,a){if(0!==a){var l=e(i);r(l,(function(e){t&&!o(n[e])||(n[e]=i[e])}))}})),n}},e.exports=t},8534:function(e,t,n){var o=n(5869),r=n(8971),i=n(387);t=o((function(e,t){return r(t)?(e=i(e),!r(a[e])):(a.cssText="",a.cssText=e+":"+t,!!a.length)}),(function(e,t){return e+" "+t}));var a=document.createElement("p").style;e.exports=t},7030:function(e,t,n){var o=n(1738),r=n(2517),i=n(2561),a=n(6392);t=function(e,n,a,p){1===arguments.length&&o(e)&&!u.test(e)&&(n=e,e=void 0),r(e=e||new Date)||(e=new Date(e));var f=(n=i(t.masks[n]||n||t.masks.default)).slice(0,4);"UTC:"!==f&&"GMT:"!==f||(n=n.slice(4),a=!0,"GMT:"===f&&(p=!0));var h=a?"getUTC":"get",m=e[h+"Date"](),g=e[h+"Day"](),v=e[h+"Month"](),y=e[h+"FullYear"](),b=e[h+"Hours"](),_=e[h+"Minutes"](),w=e[h+"Seconds"](),k=e[h+"Milliseconds"](),x=a?0:e.getTimezoneOffset(),S={d:m,dd:l(m),ddd:t.i18n.dayNames[g],dddd:t.i18n.dayNames[g+7],m:v+1,mm:l(v+1),mmm:t.i18n.monthNames[v],mmmm:t.i18n.monthNames[v+12],yy:i(y).slice(2),yyyy:y,h:b%12||12,hh:l(b%12||12),H:b,HH:l(b),M:_,MM:l(_),s:w,ss:l(w),l:l(k,3),L:l(Math.round(k/10)),t:b<12?"a":"p",tt:b<12?"am":"pm",T:b<12?"A":"P",TT:b<12?"AM":"PM",Z:p?"GMT":a?"UTC":(i(e).match(c)||[""]).pop().replace(d,""),o:(x>0?"-":"+")+l(100*Math.floor(Math.abs(x)/60)+Math.abs(x)%60,4),S:["th","st","nd","rd"][m%10>3?0:(m%100-m%10!=10)*m%10]};return n.replace(s,(function(e){return e in S?S[e]:e.slice(1,e.length-1)}))};var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return a(i(e),t,"0")},s=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,c=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,u=/\d/,d=/[^-+\dA-Z]/g;t.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:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},t.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},e.exports=t},4534:function(e,t){t=function(e,t,n){var o;return function(){var r=this,i=arguments;n||clearTimeout(o),n&&o||(o=setTimeout((function(){o=null,e.apply(r,i)}),t))}},e.exports=t},6334:function(e,t,n){var o=n(9100),r=n(5224),i=n(3915),a=n(4966);function l(e){return+("0x"+e)}t=function(e){try{return decodeURIComponent(e)}catch(n){var t=e.match(s);return t?(o(t,(function(t){e=e.replace(t,function(e){e=e.split("%").slice(1);var t=i(e,l);return e=r.encode(t),e=a.decode(e,!0)}(t))})),e):e}};var s=/(%[a-f0-9]{2})+/gi;e.exports=t},5651:function(e,t,n){t=n(6307)(n(7514),!0),e.exports=t},4151:function(e,t,n){var o=n(6949),r=n(1738),i=n(9760),a=n(9100);function l(e,t,n){for(var r=o(t,e),i=r.pop();t=r.shift();)e[t]||(e[t]={}),e=e[t];Object.defineProperty(e,i,n)}t=function(e,t,n){return r(t)?l(e,t,n):i(t)&&a(t,(function(t,n){l(e,n,t)})),e},e.exports=t},8966:function(e,t,n){var o=n(2717),r=n(3249);function i(){return!0}function a(){return!1}function l(e){var n,o=this.events[e.type],r=s.call(this,e,o);e=new t.Event(e);for(var i,a,l=0;(a=r[l++])&&!e.isPropagationStopped();)for(e.curTarget=a.el,i=0;(n=a.handlers[i++])&&!e.isImmediatePropagationStopped();)!1===n.handler.apply(a.el,[e])&&(e.preventDefault(),e.stopPropagation())}function s(e,t){var n,o,i,a,l=e.target,s=[],c=t.delegateCount;if(l.nodeType)for(;l!==this;l=l.parentNode||this){for(o=[],a=0;a<c;a++)void 0===o[n=(i=t[a]).selector+" "]&&(o[n]=r(this.querySelectorAll(n),l)),o[n]&&o.push(i);o.length&&s.push({el:l,handlers:o})}return c<t.length&&s.push({el:this,handlers:t.slice(c)}),s}t={add:function(e,t,n,o){var r,i={selector:n,handler:o};e.events||(e.events={}),(r=e.events[t])||((r=e.events[t]=[]).delegateCount=0,e.addEventListener(t,(function(){l.apply(e,arguments)}),!1)),n?r.splice(r.delegateCount++,0,i):r.push(i)},remove:function(e,t,n,o){var r=e.events;if(r&&r[t])for(var i,a=r[t],l=a.length;l--;)i=a[l],n&&i.selector!=n||i.handler!=o||(a.splice(l,1),i.selector&&a.delegateCount--)},Event:o({className:"Event",initialize:function(e){this.origEvent=e},isDefaultPrevented:a,isPropagationStopped:a,isImmediatePropagationStopped:a,preventDefault:function(){var e=this.origEvent;this.isDefaultPrevented=i,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.origEvent;this.isPropagationStopped=i,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.origEvent;this.isImmediatePropagationStopped=i,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}})},e.exports=t},6620:function(e,t,n){var o=n(1909),r=n(6631),i=n(3145);t=function(e){var t=c(e=(e=e||(o?navigator.userAgent:"")).toLowerCase(),"msie ");if(t)return{version:t,name:"ie"};if(l.test(e))return{version:11,name:"ie"};for(var n=0,i=s.length;n<i;n++){var u=s[n],d=e.match(a[u]);if(null!=d){var p=r(d[1].split(".")[0]);return"opera"===u&&(p=c(e,"version/")||p),{name:u,version:p}}}return{name:"unknown",version:-1}};var a={edge:/edge\/([0-9._]+)/,firefox:/firefox\/([0-9.]+)(?:\s|$)/,opera:/opera\/([0-9.]+)(?:\s|$)/,android:/android\s([0-9.]+)/,ios:/version\/([0-9._]+).*mobile.*safari.*/,safari:/version\/([0-9._]+).*safari/,chrome:/(?!chrom.*opr)chrom(?:e|ium)\/([0-9.]+)(:?\s|$)/},l=/trident\/7\./,s=i(a);function c(e,t){var n=e.indexOf(t);if(n>-1)return r(e.substring(n+t.length,e.indexOf(".",n)))}e.exports=t},5004:function(e,t,n){var o=n(1909),r=n(621);t=function(e){function t(t){return e.indexOf(t)>-1}if(!e&&o&&(e=navigator.userAgent),e){if(e=e.toLowerCase(),t("windows phone"))return"windows phone";if(t("win"))return"windows";if(t("android"))return"android";if(t("ipad")||t("iphone")||t("ipod"))return"ios";if(t("mac"))return"os x";if(t("linux"))return"linux"}else if(r){var n=process,i=n.platform,a=n.env;if("win32"===i||"cygwin"===a.OSTYPE||"msys"===a.OSTYPE)return"windows";if("darwin"===i)return"os x";if("linux"===i)return"linux"}return"unknown"},e.exports=t},466:function(e,t,n){var o=n(2510),r=n(2971),i=n(2571),a=n(3249);t=o((function(e,t){return t=r(t),i(e,(function(e){return!a(t,e)}))})),e.exports=t},9100:function(e,t,n){var o=n(5793),r=n(3145),i=n(6459);t=function(e,t,n){var a,l;if(t=i(t,n),o(e))for(a=0,l=e.length;a<l;a++)t(e[a],a,e);else{var s=r(e);for(a=0,l=s.length;a<l;a++)t(e[s[a]],s[a],e)}return e},e.exports=t},1580:function(e,t){t=function(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n},e.exports=t},5902:function(e,t,n){var o=n(3145),r=(t=function(e){return a.test(e)?e.replace(l,s):e}).map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},i="(?:"+o(r).join("|")+")",a=new RegExp(i),l=new RegExp(i,"g"),s=function(e){return r[e]};e.exports=t},4950:function(e,t,n){var o=n(2561);t=function(e){return o(e).replace(r,(function(e){switch(e){case'"':case"'":case"\\":return"\\"+e;case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}}))};var r=/["'\\\n\r\u2028\u2029]/g;e.exports=t},5207:function(e,t){t=function(e){return e.replace(/\W/g,"\\$&")},e.exports=t},3048:function(e,t){t=function(e){var t=document.createElement("style");return t.textContent=e,t.type="text/css",document.head.appendChild(t),t},e.exports=t},8098:function(e,t,n){var o=n(5693),r=n(5793),i=n(3145);t=function(e,t,n){t=o(t,n);for(var a=!r(e)&&i(e),l=(a||e).length,s=0;s<l;s++){var c=a?a[s]:s;if(!t(e[c],c,e))return!1}return!0},e.exports=t},8105:function(e,t,n){t=n(6307)(n(7514)),e.exports=t},3089:function(e,t,n){var o=n(3145);t=n(6307)(o),e.exports=t},282:function(e,t,n){var o=n(438),r=n(9405),i=n(3915),a=n(769);t=function(e){var t=a(e.match(l));return o(i(t,(function(e){return r(e)})))};var l=/((https?)|(ftp)):\/\/[\w.]+[^ \f\n\r\t\v"\\<>[\]\u2100-\uFFFF(),]*/gi;e.exports=t},2571:function(e,t,n){var o=n(5693),r=n(9100);t=function(e,t,n){var i=[];return t=o(t,n),r(e,(function(e,n,o){t(e,n,o)&&i.push(e)})),i},e.exports=t},8438:function(e,t,n){var o=n(6195),r=n(6167),i=n(5793),a=n(8971);t=function(e,t,n){var l=(i(e)?r:o)(e,t,n);if(!a(l)&&-1!==l)return e[l]},e.exports=t},6167:function(e,t,n){var o=n(5693);t=function(e,t,n,r){r=r||1,t=o(t,n);for(var i=e.length,a=r>0?0:i-1;a>=0&&a<i;){if(t(e[a],a,e))return a;a+=r}return-1},e.exports=t},6195:function(e,t,n){var o=n(5693),r=n(3145);t=function(e,t,n){t=o(t,n);for(var i,a=r(e),l=0,s=a.length;l<s;l++)if(t(e[i=a[l]],i,e))return i},e.exports=t},2971:function(e,t,n){var o=n(6214);function r(e,t){for(var n,i=e.length,a=-1;i--;)n=e[++a],o(n)?r(n,t):t.push(n);return t}t=function(e){return r(e,[])},e.exports=t},3722:function(e,t,n){var o=n(3145);t=function(e){return Object.freeze?Object.freeze(e):(o(e).forEach((function(t){Object.getOwnPropertyDescriptor(e,t).configurable&&Object.defineProperty(e,t,{writable:!1,configurable:!1})})),e)},e.exports=t},5427:function(e,t,n){var o=n(9760),r=n(3957),i=Object.getPrototypeOf,a={}.constructor;t=function(e){if(o(e)){if(i)return i(e);var t=e.__proto__;return t||null===t?t:r(e.constructor)?e.constructor.prototype:e instanceof a?a.prototype:void 0}},e.exports=t},5241:function(e,t,n){var o=n(2708),r=n(1738),i=n(1009),a=n(7661),l=n(6866),s=n(9100),c=n(3957);t=function(e,t){for(var n=arguments.length,u=new Array(n>2?n-2:0),d=2;d<n;d++)u[d-2]=arguments[d];(o(t)||r(t))&&(u.unshift(t),t=null),t||(t={});var p=function(e){for(var t="div",n="",o=[],r=[],a="",l=0,s=e.length;l<s;l++){var c=e[l];"#"===c||"."===c?(r.push(a),a=c):a+=c}r.push(a);for(var u=0,d=r.length;u<d;u++)(a=r[u])&&(i(a,"#")?n=a.slice(1):i(a,".")?o.push(a.slice(1)):t=a);return{tagName:t,id:n,classes:o}}(e),f=p.tagName,h=p.id,m=p.classes,g=document.createElement(f);return h&&g.setAttribute("id",h),a.add(g,m),s(u,(function(e){r(e)?g.appendChild(document.createTextNode(e)):o(e)&&g.appendChild(e)})),s(t,(function(e,t){r(e)?g.setAttribute(t,e):c(e)&&i(t,"on")?g.addEventListener(t.slice(2),e,!1):"style"===t&&l(g,e)})),g},e.exports=t},365:function(e,t){var n=Object.prototype.hasOwnProperty;t=function(e,t){return n.call(e,t)},e.exports=t},9848:function(e,t,n){var o=n(6024);t={encode:function(e){for(var t=[],n=0,o=e.length;n<o;n++){var r=e[n];t.push((r>>>4).toString(16)),t.push((15&r).toString(16))}return t.join("")},decode:function(e){var t=[],n=e.length;o(n)&&n--;for(var r=0;r<n;r+=2)t.push(parseInt(e.substr(r,2),16));return t}},e.exports=t},4249:function(e,t,n){var o=n(9100),r=n(5651);t=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"js",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r(l,i),e=e.replace(/</g,"<").replace(/>/g,">"),n=a[n];var s=0,c=[];o(n,(function(n){n.language&&(e=e.replace(n.re,(function(e,o){return o?(c[s++]=t(o,n.language,l),e.replace(o,"___subtmpl"+(s-1)+"___")):e})))})),o(n,(function(t,n){a[t.language]||(e=e.replace(t.re,"___"+n+"___$1___end"+n+"___"))}));var u=[];return e=e.replace(/___(?!subtmpl)\w+?___/g,(function(e){var t="end"===e.substr(3,3),o=(t?e.substr(6):e.substr(3)).replace(/_/g,""),r=u.length>0?u[u.length-1]:null;return!t&&(null==r||o==r||null!=r&&n[r]&&null!=n[r].embed&&n[r].embed.indexOf(o)>-1)?(u.push(o),e):t&&o==r?(u.pop(),e):""})),o(n,(function(t,n){var o=l[t.style]?' style="'.concat(l[t.style],'"'):"";e=e.replace(new RegExp("___end"+n+"___","g"),"</span>").replace(new RegExp("___"+n+"___","g"),'<span class="'.concat(t.style,'"').concat(o,">"))})),o(n,(function(t){t.language&&(e=e.replace(/___subtmpl\d+___/g,(function(e){var t=parseInt(e.replace(/___subtmpl(\d+)___/,"$1"),10);return c[t]})))})),e};var i={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},a={js:{comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|<|>|\||\?|\.)/g,style:"operator"}}};a.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:a.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}},a.css={comment:a.js.comment,string:a.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}},e.exports=t},4307:function(e,t,n){var o=n(2263),r=n(2767),i=n(9100),a=n(438),l=n(9405),s=n(3915),c=n(3957);t={on:function(e,t,n){c(t)&&(n=t,t={}),e=e.split(f),i(e,(function(e){if(e=p(e),t.element){var o=t.element,r=o._hotkeyListeners||{};o._hotkeyListeners=r,r[e]=r[e]||[];var i=function(t){e===d(t)&&n(t)};r[e].push({listener:i,origin:n}),o.addEventListener("keydown",i)}else u.on(e,n)}))},off:function(e,t,n){c(t)&&(n=t,t={}),e=e.split(f),i(e,(function(e){if(e=p(e),t.element){var o=t.element,r=o._hotkeyListeners;if(r&&r[e]){for(var i,a=r[e],l=0,s=a.length;l<s;l++)a[l].origin===n&&(i=a[l].listener,a.splice(l,1));i&&o.removeEventListener("keydown",i)}}else u.off(e,n)}))}};var u=new o;function d(e){var t=[];return e.ctrlKey&&t.push("ctrl"),e.shiftKey&&t.push("shift"),t.push(r(e.keyCode)),p(t.join("+"))}function p(e){var t=e.split(h);return t=s(t,(function(e){return l(e)})),(t=a(t)).sort(),t.join("+")}document.addEventListener("keydown",(function(e){u.emit(d(e),e)}));var f=/,/g,h=/\+/g;e.exports=t},928:function(e,t){t=function(e){var t,o,r,i=e[0]/360,a=e[1]/100,l=e[2]/100,s=[];if(e[3]&&(s[3]=e[3]),0===a)return r=n(255*l),s[0]=s[1]=s[2]=r,s;for(var c=2*l-(t=l<.5?l*(1+a):l+a-l*a),u=0;u<3;u++)(o=i+1/3*-(u-1))<0&&o++,o>1&&o--,r=6*o<1?c+6*(t-c)*o:2*o<1?t:3*o<2?c+(t-c)*(2/3-o)*6:c,s[u]=n(255*r);return s};var n=Math.round;e.exports=t},9548:function(e,t,n){var o=n(383),r=n(7005),i=n(6214),a=n(9100),l=n(1738),s=n(5154);t={parse:function(e){var t=[],n=new r;return o(e,{start:function(e,t){t=s(t,(function(e){return function(e){return e.replace(/"/g,'"')}(e)})),n.push({tag:e,attrs:t})},end:function(){var e=n.pop();if(n.size){var o=n.peek();i(o.content)||(o.content=[]),o.content.push(e)}else t.push(e)},comment:function(e){var o="\x3c!--".concat(e,"--\x3e"),r=n.peek();r?(r.content||(r.content=[]),r.content.push(o)):t.push(o)},text:function(e){var o=n.peek();o?(o.content||(o.content=[]),o.content.push(e)):t.push(e)}}),t},stringify:function e(t){var n="";return i(t)?a(t,(function(t){return n+=e(t)})):l(t)?n=t:(n+="<".concat(t.tag),a(t.attrs,(function(e,t){return n+=" ".concat(t,'="').concat(function(e){return e.replace(/"/g,""")}(e),'"')})),n+=">",t.content&&(n+=e(t.content)),n+="</".concat(t.tag,">")),n}},e.exports=t},2455:function(e,t){t=function(e){return e},e.exports=t},7375:function(e,t){t=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},e.exports=t},8009:function(e,t,n){var o=n(6513);t=function(e,t){e.prototype=o(t.prototype)},e.exports=t},5282:function(e,t,n){var o=n(9100);t=function(e){var t={};return o(e,(function(e,n){t[e]=n})),t},e.exports=t},5132:function(e,t,n){var o=n(3974);t=function(e){return"[object Arguments]"===o(e)},e.exports=t},6214:function(e,t,n){var o=n(3974);t=Array.isArray?Array.isArray:function(e){return"[object Array]"===o(e)},e.exports=t},4992:function(e,t,n){var o=n(3974);t=function(e){return"[object ArrayBuffer]"===o(e)},e.exports=t},5793:function(e,t,n){var o=n(6097),r=n(3957),i=Math.pow(2,53)-1;t=function(e){if(!e)return!1;var t=e.length;return o(t)&&t>=0&&t<=i&&!r(e)},e.exports=t},3750:function(e,t,n){var o=n(3974);t=function(e){return"[object Blob]"===o(e)},e.exports=t},6493:function(e,t){t=function(e){return!0===e||!1===e},e.exports=t},1909:function(e,t){t="object"==typeof window&&"object"==typeof document&&9===document.nodeType,e.exports=t},3159:function(e,t,n){var o=n(3957);t=function(e){return null!=e&&(!!e._isBuffer||e.constructor&&o(e.constructor.isBuffer)&&e.constructor.isBuffer(e))},e.exports=t},2517:function(e,t,n){var o=n(3974);t=function(e){return"[object Date]"===o(e)},e.exports=t},2708:function(e,t){t=function(e){return!(!e||1!==e.nodeType)},e.exports=t},9464:function(e,t,n){var o=n(5793),r=n(6214),i=n(1738),a=n(5132),l=n(3145);t=function(e){return null==e||(o(e)&&(r(e)||i(e)||a(e))?0===e.length:0===l(e).length)},e.exports=t},5701:function(e,t,n){var o=n(3957),r=n(365),i=n(3145);function a(e,t,n,l){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;if(e!=e)return t!=t;var s=typeof e;return("function"===s||"object"===s||"object"==typeof t)&&function(e,t,n,l){var s=toString.call(e);if(s!==toString.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t}var c="[object Array]"===s;if(!c){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,d=t.constructor;if(u!==d&&!(o(u)&&u instanceof u&&o(d)&&d instanceof d)&&"constructor"in e&&"constructor"in t)return!1}l=l||[];for(var p=(n=n||[]).length;p--;)if(n[p]===e)return l[p]===t;if(n.push(e),l.push(t),c){if((p=e.length)!==t.length)return!1;for(;p--;)if(!a(e[p],t[p],n,l))return!1}else{var f,h=i(e);if(p=h.length,i(t).length!==p)return!1;for(;p--;)if(f=h[p],!r(t,f)||!a(e[f],t[f],n,l))return!1}return n.pop(),l.pop(),!0}(e,t,n,l)}t=function(e,t){return a(e,t)},e.exports=t},2650:function(e,t,n){var o=n(3974);t=function(e){switch(o(e)){case"[object Error]":case"[object DOMException]":return!0;default:return e instanceof Error}},e.exports=t},3957:function(e,t,n){var o=n(3974);t=function(e){var t=o(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t},e.exports=t},8609:function(e,t,n){var o=n(5169),r=o.getComputedStyle,i=o.document;function a(e,t){return e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom}t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.display,o=void 0===n||n,l=t.visibility,s=void 0!==l&&l,c=t.opacity,u=void 0!==c&&c,d=t.size,p=void 0!==d&&d,f=t.viewport,h=void 0!==f&&f,m=t.overflow,g=void 0!==m&&m,v=r(e);if(o){var y=e.tagName;if("BODY"===y||"HTML"===y||"fixed"===v.position){if("none"===v.display)return!0;for(var b=e;b=b.parentElement;)if("none"===r(b).display)return!0}else if(null===e.offsetParent)return!0}if(s&&"hidden"===v.visibility)return!0;if(u){if("0"===v.opacity)return!0;for(var _=e;_=_.parentElement;)if("0"===r(_).opacity)return!0}var w=e.getBoundingClientRect();if(p&&(0===w.width||0===w.height))return!0;if(h)return a(w,{top:0,left:0,right:i.documentElement.clientWidth,bottom:i.documentElement.clientHeight});if(g)for(var k=e;k=k.parentElement;){var x=r(k).overflow;if(("scroll"===x||"hidden"===x)&&a(w,k.getBoundingClientRect()))return!0}return!1},e.exports=t},2884:function(e,t,n){var o=n(6097);t=function(e){return o(e)&&e%1==0},e.exports=t},4983:function(e,t){t=function(e){try{return JSON.parse(e),!0}catch(t){return!1}},e.exports=t},1751:function(e,t,n){var o=n(3974);t=function(e){return"[object Map]"===o(e)},e.exports=t},7468:function(e,t,n){var o=n(3145);t=function(e,t){var n=o(t),r=n.length;if(null==e)return!r;e=Object(e);for(var i=0;i<r;i++){var a=n[i];if(t[a]!==e[a]||!(a in e))return!1}return!0},e.exports=t},4460:function(e,t,n){var o=n(3957);t="undefined"!=typeof wx&&o(wx.openLocation),e.exports=t},1167:function(e,t,n){var o=n(1909),r=n(5869),i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i;t=r((function(e){return e=e||(o?navigator.userAgent:""),i.test(e)||a.test(e.substr(0,4))})),e.exports=t},1932:function(e,t,n){var o=n(6097);t=function(e){return o(e)&&e!==+e},e.exports=t},9122:function(e,t,n){var o=n(9760),r=n(3957),i=n(1168);t=function(e){return!!o(e)&&(r(e)?l.test(i(e)):s.test(i(e)))};var a=Object.prototype.hasOwnProperty,l=new RegExp("^"+i(a).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),s=/^\[object .+?Constructor\]$/;e.exports=t},3422:function(e,t){t=function(e){return null==e},e.exports=t},621:function(e,t,n){var o=n(3974);t="undefined"!=typeof process&&"[object process]"===o(process),e.exports=t},4236:function(e,t){t=function(e){return null===e},e.exports=t},6097:function(e,t,n){var o=n(3974);t=function(e){return"[object Number]"===o(e)},e.exports=t},9760:function(e,t){t=function(e){var t=typeof e;return!!e&&("function"===t||"object"===t)},e.exports=t},6024:function(e,t,n){var o=n(2884);t=function(e){return!!o(e)&&e%2!=0},e.exports=t},7696:function(e,t){t=function(e){var t=typeof e;return null==e||"function"!==t&&"object"!==t},e.exports=t},8796:function(e,t,n){var o=n(9760),r=n(3957);t=function(e){return o(e)&&r(e.then)&&r(e.catch)},e.exports=t},1976:function(e,t,n){var o=n(3974);t=function(e){return"[object RegExp]"===o(e)},e.exports=t},5945:function(e,t,n){var o=n(3974);t=function(e){return"[object Set]"===o(e)},e.exports=t},7181:function(e,t){t=function(e){return!!window.ShadowRoot&&e instanceof ShadowRoot},e.exports=t},9756:function(e,t){t=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.defComparator,o=0,r=e.length;o<r-1;o++)if(n(e[o],e[o+1])>0)return!1;return!0},t.defComparator=function(e,t){return e<t?-1:e>t?1:0},e.exports=t},1738:function(e,t,n){var o=n(3974);t=function(e){return"[object String]"===o(e)},e.exports=t},9350:function(e,t){t=function(e){return"symbol"==typeof e},e.exports=t},8971:function(e,t){t=function(e){return void 0===e},e.exports=t},7604:function(e,t,n){var o=n(6833);t=function(e){return o(e).join("-")},e.exports=t},2767:function(e,t,n){var o=n(1738),r=n(5282);t=function(e){return o(e)?i[e]:u[e]};for(var i={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,windows:91,"right windows":92,"windows menu":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=97;a<123;a++)i[String.fromCharCode(a)]=a-32;for(var l=48;l<58;l++)i[l-48]=l;for(var s=1;s<13;s++)i["f"+s]=s+111;for(var c=0;c<10;c++)i["numpad "+c]=c+96;var u=r(i);e.exports=t},3145:function(e,t,n){var o=n(365);t=Object.keys?Object.keys:function(e){var t=[];for(var n in e)o(e,n)&&t.push(n);return t},e.exports=t},3497:function(e,t){t=function(e){var t=e?e.length:0;if(t)return e[t-1]},e.exports=t},8091:function(e,t,n){var o=n(282),r=n(9100),i=n(5207);function a(e){return'<a href="'+e+'">'+e+"</a>"}t=function(e,t){t=t||a;var n=o(e);return r(n,(function(n){e=e.replace(new RegExp(i(n),"g"),t)})),e},e.exports=t},9410:function(e,t,n){var o=n(9993);t=function(e,t){t=t||o;var n=new Image;n.onload=function(){t(null,n)},n.onerror=function(e){t(e)},n.src=e},e.exports=t},4866:function(e,t){t=function(e,t){var n=document.createElement("script");n.src=e,n.onload=function(){var e=n.readyState&&"complete"!=n.readyState&&"loaded"!=n.readyState;t&&t(!e)},n.onerror=function(){t(!1)},document.body.appendChild(n)},e.exports=t},96:function(e,t,n){var o=n(2561);t=function(e){return o(e).toLocaleLowerCase()},e.exports=t},6392:function(e,t,n){var o=n(1710),r=n(2561);t=function(e,t,n){var i=(e=r(e)).length;return n=n||" ",i<t&&(e=(o(n,t-i)+e).slice(-t)),e},e.exports=t},5333:function(e,t){var n=/^\s+/;t=function(e,t){if(null==t)return e.trimLeft?e.trimLeft():e.replace(n,"");for(var o,r,i=0,a=e.length,l=t.length,s=!0;s&&i<a;)for(s=!1,o=-1,r=e.charAt(i);++o<l;)if(r===t[o]){s=!0,i++;break}return i>=a?"":e.substr(i,a)},e.exports=t},3915:function(e,t,n){var o=n(5693),r=n(3145),i=n(5793);t=function(e,t,n){t=o(t,n);for(var a=!i(e)&&r(e),l=(a||e).length,s=Array(l),c=0;c<l;c++){var u=a?a[c]:c;s[c]=t(e[u],u,e)}return s},e.exports=t},5154:function(e,t,n){var o=n(5693),r=n(3145);t=function(e,t,n){t=o(t,n);for(var i=r(e),a=i.length,l={},s=0;s<a;s++){var c=i[s];l[c]=t(e[c],c,e)}return l},e.exports=t},199:function(e,t,n){var o=n(3089),r=n(7468);t=function(e){return e=o({},e),function(t){return r(t,e)}},e.exports=t},3539:function(e,t){t=function(){for(var e=arguments,t=e[0],n=1,o=e.length;n<o;n++)e[n]>t&&(t=e[n]);return t},e.exports=t},1947:function(e,t,n){var o=n(3145);t={getItem:function(e){return(i[e]?r[e]:this[e])||null},setItem:function(e,t){i[e]?r[e]=t:this[e]=t},removeItem:function(e){i[e]?delete r[e]:delete this[e]},key:function(e){var t=a();return e>=0&&e<t.length?t[e]:null},clear:function(){for(var e,t=l(),n=0;e=t[n];n++)delete this[e];t=s();for(var o,i=0;o=t[i];i++)delete r[o]}},Object.defineProperty(t,"length",{enumerable:!1,configurable:!0,get:function(){return a().length}});var r={},i={getItem:1,setItem:1,removeItem:1,key:1,clear:1,length:1};function a(){return l().concat(s())}function l(){return o(t).filter((function(e){return!i[e]}))}function s(){return o(r)}e.exports=t},5869:function(e,t,n){var o=n(365);t=function(e,t){var n=function(r){var i=n.cache,a=""+(t?t.apply(this,arguments):r);return o(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return n.cache={},n},e.exports=t},8178:function(e,t,n){t=n(2510)((function(e,t){for(var n=e.length,o=0,r=t.length;o<r;o++)for(var i=t[o],a=0,l=i.length;a<l;a++)e[n++]=i[a];return e.length=n,e})),e.exports=t},7308:function(e,t,n){var o=n(9100),r=n(1738),i=n(8971),a=n(3249),l=n(6214),s=n(9760),c=n(769);(t=function(e,t){if(i(e))return n={},d((function(e,t){n[e]=t})),n;var n;if(r(e)&&i(t)||l(e))return function(e){if(!r(e)){var t={};return d((function(n,o){a(e,n)&&(t[n]=o)})),t}var n=p(e);if(n)return n.getAttribute("content")}(e);var c=e;s(c)||((c={})[e]=t),o(c,(function(e,t){var n=p(t);if(n)return n.setAttribute("content",e);(n=u.createElement("meta")).setAttribute("name",t),n.setAttribute("content",e),u.head.appendChild(n)}))}).remove=function(e){e=c(e),o(e,(function(e){var t=p(e);t&&u.head.removeChild(t)}))};var u=document;function d(e){var t=u.querySelectorAll("meta");o(t,(function(t){var n=t.getAttribute("name"),o=t.getAttribute("content");n&&o&&e(n,o)}))}function p(e){return u.querySelector('meta[name="'+e+'"]')}e.exports=t},8785:function(e,t){t=function(){for(var e=arguments,t=e[0],n=1,o=e.length;n<o;n++)e[n]<t&&(t=e[n]);return t},e.exports=t},9117:function(e,t,n){var o=n(6030),r=n(1738);t=function(e){if(r(e)){var t=e.match(l);return t?o(t[1])*i[t[2]||"ms"]:0}for(var n=e,s="ms",c=0,u=a.length;c<u;c++)if(n>=i[a[c]]){s=a[c];break}return+(n/i[s]).toFixed(2)+s};var i={ms:1,s:1e3};i.m=60*i.s,i.h=60*i.m,i.d=24*i.h,i.y=365.25*i.d;var a=["y","d","h","m","s"],l=/^((?:\d+)?\.?\d+) *(s|m|h|d|y)?$/;e.exports=t},1532:function(e,t,n){var o=n(1009),r=n(5169),i=n(2561);function a(e,t){if(e=i(e),t=i(t),o(e,"_")&&!o(t,"_"))return 1;if(o(t,"_")&&!o(e,"_"))return-1;for(var n,a,l,s,c=/^\d+|^\D+/;;){if(!e)return t?-1:0;if(!t)return 1;if(n=e.match(c)[0],a=t.match(c)[0],l=!r.isNaN(n),s=!r.isNaN(a),l&&!s)return-1;if(s&&!l)return 1;if(l&&s){var u=n-a;if(u)return u;if(n.length!==a.length)return+n||+a?a.length-n.length:n.length-a.length}else if(n!==a)return n<a?-1:1;e=e.substring(n.length),t=t.substring(a.length)}}t=function(e){return e.sort(a)},e.exports=t},9041:function(e,t){function n(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}t="object"==typeof process&&process.nextTick?process.nextTick:"function"==typeof setImmediate?function(e){setImmediate(n(e))}:function(e){setTimeout(n(e),0)},e.exports=t},9993:function(e,t){t=function(){},e.exports=t},3981:function(e,t){t=Date.now?Date.now:function(){return(new Date).getTime()},e.exports=t},3974:function(e,t){var n=Object.prototype.toString;t=function(e){return n.call(e)},e.exports=t},8996:function(e,t,n){t=n(3752)(n(7542),2),e.exports=t},6459:function(e,t,n){var o=n(8971);t=function(e,t,n){if(o(t))return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,o,r){return e.call(t,n,o,r)};case 4:return function(n,o,r,i){return e.call(t,n,o,r,i)}}return function(){return e.apply(t,arguments)}},e.exports=t},7571:function(e,t,n){var o=n(2263),r=n(6186),i=window.screen;t={get:function(){if(i){var e=r(i,"orientation.type");if(e)return e.split("-").shift()}return window.innerWidth>window.innerHeight?"landscape":"portrait"}},o.mixin(t),window.addEventListener("orientationchange",(function(){setTimeout((function(){t.emit("change",t.get())}),200)}),!1),e.exports=t},383:function(e,t,n){var o=n(3497),r=n(1849),i=n(1009),a=n(96);t=function(e,t){for(var n,r=[],p=e;e;){if(n=!0,o(r)&&d[o(r)]){var f=new RegExp("</".concat(o(r),"[^>]*>")).exec(e);if(f){var h=e.substring(0,f.index);e=e.substring(f.index+f[0].length),h&&t.text&&t.text(h)}k("",o(r))}else{if(i(e,"\x3c!--")){var m=e.indexOf("--\x3e");m>=0&&(t.comment&&t.comment(e.substring(4,m)),e=e.substring(m+3),n=!1)}else if(i(e,"<!")){var g=e.match(l);g&&(t.text&&t.text(e.substring(0,g[0].length)),e=e.substring(g[0].length),n=!1)}else if(i(e,"</")){var v=e.match(s);v&&(e=e.substring(v[0].length),v[0].replace(s,k),n=!1)}else if(i(e,"<")){var y=e.match(c);y&&(e=e.substring(y[0].length),y[0].replace(c,w),n=!1)}if(n){var b=e.indexOf("<"),_=b<0?e:e.substring(0,b);e=b<0?"":e.substring(b),t.text&&t.text(_)}}if(p===e)throw Error("Parse Error: "+e);p=e}function w(e,n,o,i){if(n=a(n),(i=!!i)||r.push(n),t.start){var l={};o.replace(u,(function(e,t,n,o,r){l[t]=n||o||r||""})),t.start(n,l,i)}}function k(e,n){var o;if(n=a(n))for(o=r.length-1;o>=0&&r[o]!==n;o--);else o=0;if(o>=0){for(var i=r.length-1;i>=o;i--)t.end&&t.end(r[i]);r.length=o}}k()};var l=/^<!\s*doctype((?:\s+[\w:]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,s=/^<\/([-A-Za-z0-9_]+)[^>]*>/,c=/^<([-A-Za-z0-9_]+)((?:\s+[-A-Za-z0-9_:@.]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,u=/([-A-Za-z0-9_:@.]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,d=r("script,style".split(","));e.exports=t},3752:function(e,t,n){var o=n(2510),r=n(769);t=o((function(e,t){return function(){var n=[];return n=(n=n.concat(t)).concat(r(arguments)),e.apply(this,n)}})),e.exports=t},5820:function(e,t,n){var o,r=n(3981),i=n(5169),a=i.performance,l=i.process;if(a&&a.now)t=function(){return a.now()};else if(l&&l.hrtime){var s=function(){var e=l.hrtime();return 1e9*e[0]+e[1]};o=s()-1e9*l.uptime(),t=function(){return(s()-o)/1e6}}else o=r(),t=function(){return r()-o};e.exports=t},896:function(e,t,n){var o=n(1738),r=n(6214),i=n(3249),a=n(9100);t=function(e,t,n){if(o(t)&&(t=[t]),r(t)){var l=t;t=function(e,t){return i(l,t)}}var s={},c=function(e,n){t(e,n)&&(s[n]=e)};return n&&(c=function(e,n){t(e,n)||(s[n]=e)}),a(e,c),s},e.exports=t},5546:function(e,t,n){var o=n(5169),r={down:"touchstart",move:"touchmove",up:"touchend"},i={down:"mousedown",move:"mousemove",up:"mouseup"},a={down:"pointerdown",move:"pointermove",up:"pointerup"},l="PointerEvent"in o,s="ontouchstart"in o;t=function(e){return l?a[e]:s?r[e]:i[e]},e.exports=t},6969:function(e,t,n){var o=n(5869),r=n(387),i=n(9931),a=n(365),l=n(7604);(t=o((function(e){if(e=e.replace(c,""),e=r(e),a(u,e))return e;for(var t=s.length;t--;){var n=s[t]+i(e);if(a(u,n))return n}return e}))).dash=o((function(e){var n=t(e);return(c.test(n)?"-":"")+l(n)}));var s=["O","ms","Moz","Webkit"],c=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,u=document.createElement("p").style;e.exports=t},500:function(e,t,n){var o=n(6214),r=n(6186);t=function(e){return o(e)?function(t){return r(t,e)}:(t=e,function(e){return null==e?void 0:e[t]});var t},e.exports=t},7257:function(e,t,n){var o=n(9405),r=n(9100),i=n(8971),a=n(6214),l=n(3915),s=n(9464),c=n(2571),u=n(9760);t={parse:function(e){var t={};return e=o(e).replace(d,""),r(e.split("&"),(function(e){var n=e.split("="),o=n.shift(),r=n.length>0?n.join("="):null;o=decodeURIComponent(o),r=decodeURIComponent(r),i(t[o])?t[o]=r:a(t[o])?t[o].push(r):t[o]=[t[o],r]})),t},stringify:function(e,n){return c(l(e,(function(e,o){return u(e)&&s(e)?"":a(e)?t.stringify(e,o):(n?encodeURIComponent(n):encodeURIComponent(o))+"="+encodeURIComponent(e)})),(function(e){return e.length>0})).join("&")}};var d=/^(\?|#|&)/g;e.exports=t},2228:function(e,t,n){var o,r,i=n(3981),a=n(1909),l=0;if(a){o=window.requestAnimationFrame,r=window.cancelAnimationFrame;for(var s=["ms","moz","webkit","o"],c=0,u=s.length;c<u&&!o;c++)o=window[s[c]+"RequestAnimationFrame"],r=window[s[c]+"CancelAnimationFrame"]||window[s[c]+"CancelRequestAnimationFrame"];o&&(o=o.bind(window),r=r.bind(window))}r=r||function(e){clearTimeout(e)},(o=o||function(e){var t=i(),n=Math.max(0,16-(t-l)),o=setTimeout((function(){e(t+n)}),n);return l=t+n,o}).cancel=r,t=o,e.exports=t},6774:function(e,t){t=function(e,t,n){null==t&&(t=e,e=0);var o=Math.random();return n||e%1||t%1?Math.min(e+o*(t-e+parseFloat("1e-"+((o+"").length-1))),t):e+Math.floor(o*(t-e+1))},e.exports=t},7731:function(module,exports,__webpack_require__){var random=__webpack_require__(6774),isBrowser=__webpack_require__(1909),isNode=__webpack_require__(621),crypto;exports=function(e){for(var t=new Uint8Array(e),n=0;n<e;n++)t[n]=random(0,255);return t},isBrowser?(crypto=window.crypto||window.msCrypto,crypto&&(exports=function(e){var t=new Uint8Array(e);return crypto.getRandomValues(t),t})):isNode&&(crypto=eval("require")("crypto"),exports=function(e){return crypto.randomBytes(e)}),module.exports=exports},5570:function(e,t){var n,o=[],r=document,i=r.documentElement.doScroll,a="DOMContentLoaded",l=(i?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);l||r.addEventListener(a,n=function(){for(r.removeEventListener(a,n),l=1;n=o.shift();)n()}),t=function(e){l?setTimeout(e,0):o.push(e)},e.exports=t},961:function(e,t,n){var o=n(5693);t=function(e,t,n){var r=[];t=o(t,n);for(var i=-1,a=e.length;++i<a;){var l=i-r.length,s=e[l];t(s,i,e)&&(r.push(s),e.splice(l,1))}return r},e.exports=t},1710:function(e,t){t=function(e,t){var n="";if(t<1)return"";for(;t>0;)1&t&&(n+=e),t>>=1,e+=e;return n},e.exports=t},894:function(e,t,n){var o=n(5207);t=function(e,t,n){return e.replace(new RegExp(o(t),"g"),n)},e.exports=t},2510:function(e,t){t=function(e,t){return t=null==t?e.length-1:+t,function(){var n,o=Math.max(arguments.length-t,0),r=new Array(o);for(n=0;n<o;n++)r[n]=arguments[n+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=new Array(t+1);for(n=0;n<t;n++)i[n]=arguments[n];return i[t]=r,e.apply(this,i)}},e.exports=t},5395:function(e,t){t=function(e){var t=e.length,n=Array(t);t--;for(var o=0;o<=t;o++)n[t-o]=e[o];return n},e.exports=t},8:function(e,t){t=function(e){var t,i,a=e[0]/255,l=e[1]/255,s=e[2]/255,c=n(a,l,s),u=o(a,l,s),d=u-c;(t=n(60*(t=u===c?0:a===u?(l-s)/d:l===u?2+(s-a)/d:4+(a-l)/d),360))<0&&(t+=360);var p=(c+u)/2;i=u===c?0:p<=.5?d/(u+c):d/(2-u-c);var f=[r(t),r(100*i),r(100*p)];return e[3]&&(f[3]=e[3]),f};var n=Math.min,o=Math.max,r=Math.round;e.exports=t},3290:function(e,t,n){var o=n(975);t=function(e){var t,n=window.location,r=n.hostname,i=n.pathname,a=r.split("."),l=i.split("/"),s="",c=l.length;if(!h())for(var u=a.length-1;u>=0;u--){var d=a[u];if(""!==d){if(h({domain:s=""===s?d:d+"."+s,path:t="/"})||h({domain:s}))return;for(var p=0;p<c;p++){var f=l[p];if(""!==f){if(h({domain:s,path:t+=f})||h({path:t}))return;if(h({domain:s,path:t+="/"})||h({path:t}))return}}}}function h(t){return t=t||{},o.remove(e,t),!o.get(e)}},e.exports=t},5169:function(e,t,n){t=n(1909)?window:n.g,e.exports=t},9651:function(e,t){t=function(e,t){if(null==t){if(e.trimRight)return e.trimRight();t=" \r\n\t\f\v"}for(var n,o,r=e.length-1,i=t.length,a=!0;a&&r>=0;)for(a=!1,n=-1,o=e.charAt(r);++n<i;)if(o===t[n]){a=!0,r--;break}return r>=0?e.substring(0,r+1):""},e.exports=t},5693:function(e,t,n){var o=n(3957),r=n(9760),i=n(6214),a=n(6459),l=n(199),s=n(2455),c=n(500);t=function(e,t,n){return null==e?s:o(e)?a(e,t,n):r(e)&&!i(e)?l(e):c(e)},e.exports=t},6186:function(e,t,n){var o=n(8971),r=n(6949);t=function(e,t){var n;for(n=(t=r(t,e)).shift();!o(n);){if(null==(e=e[n]))return;n=t.shift()}return e},e.exports=t},2806:function(e,t,n){var o=n(6949),r=n(8971),i=n(2561),a=n(9350),l=n(1738);t=function(e,t,n){var s,c=(t=o(t,e)).pop();for(s=t.shift();!r(s);){if(l(s)||a(s)||(s=i(s)),"__proto__"===s||"constructor"===s||"prototype"===s)return;e[s]||(e[s]={}),e=e[s],s=t.shift()}e[c]=n},e.exports=t},1931:function(e,t,n){var o=n(1947);t=function(e){var t;switch(e=e||"local"){case"local":t=window.localStorage;break;case"session":t=window.sessionStorage}try{var n="test-localStorage-"+Date.now();t.setItem(n,n);var r=t.getItem(n);if(t.removeItem(n),r!==n)throw new Error}catch(i){return o}return t},e.exports=t},4497:function(e,t,n){var o=n(6032);t=function(e,t){return e=new o(e),t=new o(t),e.port=0|e.port||("https"===e.protocol?443:80),t.port=0|t.port||("https"===t.protocol?443:80),e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port},e.exports=t},4951:function(e,t){t=function(e,t,n){var o=e.length;t=null==t?0:t<0?Math.max(o+t,0):Math.min(t,o),n=null==n?o:n<0?Math.max(o+n,0):Math.min(n,o);for(var r=[];t<n;)r.push(e[t++]);return r},e.exports=t},2797:function(e,t,n){var o=n(5693),r=n(5793),i=n(3145);t=function(e,t,n){t=o(t,n);for(var a=!r(e)&&i(e),l=(a||e).length,s=0;s<l;s++){var c=a?a[s]:s;if(t(e[c],c,e))return!0}return!1},e.exports=t},5145:function(e,t,n){var o=n(9756),r=n(5651),i=n(3145),a=n(6214),l=n(9760);t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(t,s);var n=t.deep,o=t.comparator,c=[],u=[];return function e(t){var r,s=c.indexOf(t);if(s>-1)return u[s];if(a(t)){r=[],c.push(t),u.push(r);for(var d=0,p=t.length;d<p;d++){var f=t[d];n&&l(f)?r[d]=e(f):r[d]=f}}else{r={},c.push(t),u.push(r);for(var h=i(t).sort(o),m=0,g=h.length;m<g;m++){var v=h[m],y=t[v];n&&l(y)?r[v]=e(y):r[v]=y}}return r}(e)};var s={deep:!1,comparator:o.defComparator};e.exports=t},6833:function(e,t){var n=/([A-Z])/g,o=/[_.\- ]+/g,r=/(^-)|(-$)/g;t=function(e){return(e=e.replace(n,"-$1").toLowerCase().replace(o,"-").replace(r,"")).split("-")},e.exports=t},1009:function(e,t){t=function(e,t){return 0===e.indexOf(t)},e.exports=t},2508:function(e,t,n){var o=n(6186),r=n(2561),i=/{{(.*?)}}/g;t=function(e,t){return e.replace(i,(function(e,n){return r(o(t,n))}))},e.exports=t},8032:function(e,t,n){var o=n(2989),r=n(9931),i=n(2561),a=n(8971),l=n(3957),s=n(1976);t=function(e,t){return JSON.stringify(e,(n=[],c=[],function(e,t){if(n.length>0){var u=n.indexOf(this);u>-1?(n.splice(u+1),c.splice(u,1/0,e)):(n.push(this),c.push(e));var d=n.indexOf(t);d>-1&&(t=n[0]===t?"[Circular ~]":"[Circular ~."+c.slice(0,d).join(".")+"]")}else n.push(t);return s(t)||l(t)?t="["+r(o(t))+" "+i(t)+"]":a(t)&&(t=null),t}),t);var n,c},e.exports=t},4801:function(e,t,n){var o=n(4950),r=n(2989),i=n(2561),a=n(1580),l=n(1168),s=n(3145),c=n(9100),u=n(2717),d=n(5427),p=n(466),f=n(8105),h=n(8796),m=n(2571),g=n(3981),v=n(7514),y=n(3249),b=n(9760),_=n(4460),w=n(6513),k=n(1009),x=n(2806),S=n(4151),C=n(896),E=n(5793);function T(e,n,o,r){var a=[];return c(n,(function(e){var n,l=Object.getOwnPropertyDescriptor(o,e),s=l&&l.get,c=l&&l.set;if(!r.accessGetter&&s)n="(...)";else try{if(n=o[e],y(r.ignore,n))return;h(n)&&n.catch((function(){}))}catch(u){n=u.message}a.push("".concat(A(e),":").concat(t(n,r))),s&&a.push("".concat(A("get "+i(e)),":").concat(t(l.get,r))),c&&a.push("".concat(A("set "+i(e)),":").concat(t(l.set,r)))})),'"'.concat(e,'":{')+a.join(",")+"}"}function A(e){return'"'.concat(I(e),'"')}function $(e){return'"'.concat(I(i(e)),'"')}function I(e){return o(e).replace(/\\'/g,"'").replace(/\t/g,"\\t")}t=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.self,c=n.startTime,u=void 0===c?g():c,h=n.timeout,b=void 0===h?0:h,_=n.depth,w=void 0===_?0:_,k=n.curDepth,x=void 0===k?1:k,S=n.visitor,C=void 0===S?new M:S,E=n.unenumerable,A=void 0!==E&&E,I=n.symbol,P=void 0!==I&&I,N=n.accessGetter,O=void 0!==N&&N,R=n.ignore,D=void 0===R?[]:R,L="",B={visitor:C,unenumerable:A,symbol:P,accessGetter:O,depth:w,curDepth:x+1,timeout:b,startTime:u,ignore:D},V=r(e,!1);if("String"===V)L=$(e);else if("Number"===V)L=i(e),a(L,"Infinity")&&(L='{"value":"'.concat(L,'","type":"Number"}'));else if("NaN"===V)L='{"value":"NaN","type":"Number"}';else if("Boolean"===V)L=e?"true":"false";else if("Null"===V)L="null";else if("Undefined"===V)L='{"type":"Undefined"}';else if("Symbol"===V){var z="Symbol";try{z=i(e)}catch(K){}L='{"value":'.concat($(z),',"type":"Symbol"}')}else{if(b&&g()-u>b)return $("Timeout");if(w&&x>w)return $("{...}");L="{";var F,H=[],j=C.get(e);if(j?(F=j.id,H.push('"reference":'.concat(F))):(F=C.set(e),H.push('"id":'.concat(F))),H.push('"type":"'.concat(V,'"')),a(V,"Function")?H.push('"value":'.concat($(l(e)))):"RegExp"===V&&H.push('"value":'.concat($(e))),!j){var G=s(e);if(G.length&&H.push(T("enumerable",G,o||e,B)),A){var U=p(v(e,{prototype:!1,unenumerable:!0}),G);U.length&&H.push(T("unenumerable",U,o||e,B))}if(P){var W=m(v(e,{prototype:!1,symbol:!0}),(function(e){return"symbol"==typeof e}));W.length&&H.push(T("symbol",W,o||e,B))}var Y=d(e);if(Y&&!y(D,Y)){var q='"proto":'.concat(t(Y,f(B,{self:o||e})));H.push(q)}}L+=H.join(",")+"}"}return L};var M=u({initialize:function(){this.id=1,this.visited=[]},set:function(e){var t=this.visited,n=this.id,o={id:n,val:e};return t.push(o),this.id++,n},get:function(e){for(var t=this.visited,n=0,o=t.length;n<o;n++){var r=t[n];if(e===r.val)return r}return!1}});function P(e,t){var n=t.map;if(!b(e))return e;var o=e.id,r=e.type,a=e.value,l=e.proto,s=e.reference,u=e.enumerable,d=e.unenumerable;if(s)return e;if("Number"===r)return"Infinity"===a?Number.POSITIVE_INFINITY:"-Infinity"===a?Number.NEGATIVE_INFINITY:NaN;if("Undefined"!==r){var p,f,h;if("Function"===r)(p=function(){}).toString=function(){return a},l&&Object.setPrototypeOf(p,P(l,t));else if("RegExp"===r)h=(f=a).lastIndexOf("/"),p=new RegExp(f.slice(1,h),f.slice(h+1));else{var m;"Object"!==r?(m=_?function(){}:new Function(r,""),l&&(m.prototype=P(l,t)),p=new m):p=w(l?P(l,t):null)}var g,v={};return u&&(E(u)&&(g=u.length,delete u.length),u=C(u,(function(e,t){return!y(u,e,t)})),c(u,(function(e,n){(v[n]||{}).get||(p[n]=P(e,t))})),g&&(p.length=g)),d&&(d=C(d,(function(e,t){return!y(d,e,t)})),c(d,(function(e,o){var r=v[o]||{};if(!r.get)if(e=P(e,t),b(e)&&e.reference){var i=e.reference;e=function(){return n[i]},r.get=e}else r.value=e;r.enumerable=!1,v[o]=r}))),S(p,v),n[o]=p,p}function y(e,n,o){o=i(o);var r=!1;return c(["get","set"],(function(i){if(k(o,i+" ")){var a=o.replace(i+" ","");e[a]&&("Timeout"===(n=P(n,t))&&(n=N),x(v,[a,i],n),r=!0)}})),r}}function N(){return"Timeout"}t.parse=function(e){var t,n={},o=P(JSON.parse(e),{map:n});return c(t=n,(function(e){for(var n=s(e),o=0,r=n.length;o<r;o++){var i=n[o];if(b(e[i])){var a=e[i].reference;a&&t[a]&&(e[i]=t[a])}}var l=d(e);l&&l.reference&&t[l.reference]&&Object.setPrototypeOf(e,t[l.reference])})),o},e.exports=t},6948:function(e,t){var n=/<[^>]*>/g;t=function(e){return e.replace(n,"")},e.exports=t},5773:function(e,t,n){var o=n(1738),r=n(769),i=n(8785),a=n(3915),l=n(9405);t=function(e){o(e)&&(e=r(e));for(var t="",n=arguments.length,c=new Array(n>1?n-1:0),u=1;u<n;u++)c[u-1]=arguments[u];for(var d=0,p=e.length;d<p;d++)t+=e[d],c[d]&&(t+=c[d]);for(var f=t.split("\n"),h=[],m=0,g=f.length;m<g;m++){var v=f[m].match(s);v&&h.push(v[1].length)}var y=h.length>0?i.apply(null,h):0;return l(a(f,(function(e){return" "===e[0]?e.slice(y):e})).join("\n"))};var s=/^(\s+)\S+/;e.exports=t},7e3:function(e,t,n){var o=n(2263),r=new(n(3737))("(prefers-color-scheme: dark)");t={get:function(){return r.isMatch()?"dark":"light"}},o.mixin(t),r.on("match",(function(){return t.emit("change","dark")})),r.on("unmatch",(function(){return t.emit("change","light")})),e.exports=t},5865:function(e,t,n){var o=n(4534);t=function(e,t){return o(e,t,!0)},e.exports=t},769:function(e,t,n){var o=n(5793),r=n(3915),i=n(6214),a=n(1738);t=function(e){return e?i(e)?e:o(e)&&!a(e)?r(e):[e]:[]},e.exports=t},9e3:function(e,t,n){var o=n(1738);t=function(e){return o(e)?"0"!==(e=e.toLowerCase())&&""!==e&&"false"!==e:!!e},e.exports=t},4433:function(e,t){var n=document;if(t=function(e){var t=n.createElement("body");return t.innerHTML=e,t.childNodes[0]},n.createRange&&n.body){var o=n.createRange();o.selectNode(n.body),o.createContextualFragment&&(t=function(e){return o.createContextualFragment(e).childNodes[0]})}e.exports=t},6631:function(e,t,n){var o=n(6030);t=function(e){return e?(e=o(e))-e%1:0===e?e:0},e.exports=t},6030:function(e,t,n){var o=n(6097),r=n(9760),i=n(3957),a=n(1738);t=function(e){if(o(e))return e;if(r(e)){var t=i(e.valueOf)?e.valueOf():e;e=r(t)?t+"":t}return a(e)?+e:0===e?e:+e},e.exports=t},1168:function(e,t,n){var o=n(3422);t=function(e){if(o(e))return"";try{return r.call(e)}catch(t){}try{return e+""}catch(t){}return""};var r=Function.prototype.toString;e.exports=t},2561:function(e,t){t=function(e){return null==e?"":e.toString()},e.exports=t},9405:function(e,t,n){var o=n(5333),r=n(9651);t=function(e,t){return null==t&&e.trim?e.trim():o(r(e,t),t)},e.exports=t},15:function(e,t,n){var o=n(5651),r=n(8971);t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(n,i);var a=n.ellipsis,l=n.separator;if(t>e.length)return e;var s=t-a.length;if(s<1)return a;var c=e.slice(0,s);if(r(l))return c+a;if(e.indexOf(l,s)!==s){var u=c.lastIndexOf(l);u>-1&&(c=c.slice(0,u))}return c+a};var i={ellipsis:"..."};e.exports=t},2989:function(e,t,n){var o=n(3974),r=n(1932),i=n(96),a=n(3159);t=function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return null===e&&(t="Null"),void 0===e&&(t="Undefined"),r(e)&&(t="NaN"),a(e)&&(t="Buffer"),t||(t=o(e).match(l))&&(t=t[1]),t?n?i(t):t:""};var l=/^\[object\s+(.*?)]$/;e.exports=t},5224:function(e,t,n){var o=n(7140),r=n(3915);t={encode:function(e){return e.length<32768?String.fromCodePoint.apply(String,e):r(o(e,32767),(function(e){return String.fromCodePoint.apply(String,e)})).join("")},decode:function(e){for(var t=[],n=0,o=e.length;n<o;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&r)<<10)+(1023&i)+65536):(t.push(r),n--)}else t.push(r)}return t}},e.exports=t},6962:function(e,t,n){var o=n(1909),r=n(1023),i=!1;function a(e){i&&t.emit(e)}t={start:function(){i=!0},stop:function(){i=!1}},r.mixin(t),o?(window.addEventListener("error",(function(e){if(e.error)a(e.error);else if(e.message){var t=new Error(e.message);t.stack="Error: ".concat(e.message," \n at ").concat(e.filename,":").concat(e.lineno,":").concat(e.colno),a(t)}})),window.addEventListener("unhandledrejection",(function(e){a(e.reason)}))):(process.on("uncaughtException",a),process.on("unhandledRejection",a)),e.exports=t},9389:function(e,t,n){var o=n(5902),r=n(3145);t=function(e){return l.test(e)?e.replace(s,c):e};var i=n(5282)(o.map),a="(?:"+r(i).join("|")+")",l=new RegExp(a),s=new RegExp(a,"g");function c(e){return i[e]}e.exports=t},5630:function(e,t){var n=0;t=function(e){var t=++n+"";return e?e+t:t},e.exports=t},438:function(e,t,n){var o=n(2571);function r(e,t){return e===t}t=function(e,t){return t=t||r,o(e,(function(e,n,o){for(var r=o.length;++n<r;)if(t(e,o[n]))return!1;return!0}))},e.exports=t},3805:function(e,t,n){var o=n(2561);t=function(e){return o(e).toLocaleUpperCase()},e.exports=t},9931:function(e,t){t=function(e){return e.length<1?e:e[0].toUpperCase()+e.slice(1)},e.exports=t},4966:function(e,t,n){var o=n(5224);t={encode:function(e){for(var t=o.decode(e),n="",r=0,i=t.length;r<i;r++)n+=f(t[r]);return n},decode:function(e,t){r=o.decode(e),i=0,a=r.length,l=0,s=0,c=0,u=128,d=191;for(var n,p=[];!1!==(n=h(t));)p.push(n);return o.encode(p)}};var r,i,a,l,s,c,u,d,p=String.fromCharCode;function f(e){if(!(4294967168&e))return p(e);var t,n,o="";for(4294965248&e?4294901760&e?4292870144&e||(t=3,n=240):(t=2,n=224):(t=1,n=192),o+=p((e>>6*t)+n);t>0;)o+=p(128|63&e>>6*(t-1)),t--;return o}function h(e){for(;;){if(i>=a&&c){if(e)return m();throw new Error("Invalid byte index")}if(i===a)return!1;var t=r[i];if(i++,c){if(t<u||t>d){if(e)return i--,m();throw new Error("Invalid continuation byte")}if(u=128,d=191,l=l<<6|63&t,++s===c){var n=l;return l=0,c=0,s=0,n}}else{if(!(128&t))return t;if(192==(224&t))c=1,l=31&t;else if(224==(240&t))224===t&&(u=160),237===t&&(d=159),c=2,l=15&t;else{if(240!=(248&t)){if(e)return m();throw new Error("Invalid UTF-8 detected")}240===t&&(u=144),244===t&&(d=143),c=3,l=7&t}}}}function m(){var e=i-s-1;return i=e+1,l=0,c=0,s=0,u=128,d=191,r[e]}e.exports=t},8046:function(e,t,n){var o=n(7731);t=function(){var e=o(16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,r[e[0]]+r[e[1]]+r[e[2]]+r[e[3]]+"-"+r[e[4]]+r[e[5]]+"-"+r[e[6]]+r[e[7]]+"-"+r[e[8]]+r[e[9]]+"-"+r[e[10]]+r[e[11]]+r[e[12]]+r[e[13]]+r[e[14]]+r[e[15]]};for(var r=[],i=0;i<256;i++)r[i]=(i+256).toString(16).substr(1);e.exports=t},5119:function(e,t,n){var o=n(9100);t=function(e){var t=[];return o(e,(function(e){t.push(e)})),t},e.exports=t},1505:function(e,t,n){var o=n(7308),r=n(6026),i=n(9405),a=n(9100),l=n(3915),s=n(1932);t=function(){var e=o("viewport");if(!e)return 1;e=l(e.split(","),(function(e){return i(e)}));var t=.25,n=5,c=1;a(e,(function(e){var o=(e=e.split("="))[0];e=e[1],"initial-scale"===o&&(c=+e),"maximum-scale"===o&&(n=+e),"minimum-scale"===o&&(t=+e)}));var u=r(c,t,n);return s(u)?1:u},e.exports=t},8862:function(e,t){t=function(e){for(var t=[],n=document.evaluate(e,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),o=0;o<n.snapshotLength;o++)t.push(n.snapshotItem(o));return t},e.exports=t},3019:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=[["menuitem","command"],["rel","roletype"],["article","article"],["header","banner"],["input","button",[["type","checkbox"]]],["summary","button",[["aria-expanded","false"]]],["summary","button",[["aria-expanded","true"]]],["input","button",[["type","button"]]],["input","button",[["type","image"]]],["input","button",[["type","reset"]]],["input","button",[["type","submit"]]],["button","button"],["td","cell"],["input","checkbox",[["type","checkbox"]]],["th","columnheader"],["input","combobox",[["type","email"]]],["input","combobox",[["type","search"]]],["input","combobox",[["type","tel"]]],["input","combobox",[["type","text"]]],["input","combobox",[["type","url"]]],["input","combobox",[["type","url"]]],["select","combobox"],["select","combobox",[["size",1]]],["aside","complementary"],["footer","contentinfo"],["dd","definition"],["dialog","dialog"],["body","document"],["figure","figure"],["form","form"],["form","form"],["form","form"],["span","generic"],["div","generic"],["table","grid",[["role","grid"]]],["td","gridcell",[["role","gridcell"]]],["details","group"],["fieldset","group"],["optgroup","group"],["h1","heading"],["h2","heading"],["h3","heading"],["h4","heading"],["h5","heading"],["h6","heading"],["img","img"],["img","img"],["a","link"],["area","link"],["link","link"],["menu","list"],["ol","list"],["ul","list"],["select","listbox"],["select","listbox"],["select","listbox"],["datalist","listbox"],["li","listitem"],["main","main"],["math","math"],["menuitem","command"],["nav","navigation"],["option","option"],["progress","progressbar"],["input","radio",[["type","radio"]]],["section","region"],["section","region"],["frame","region"],["tr","row"],["tbody","rowgroup"],["tfoot","rowgroup"],["thead","rowgroup"],["th","rowheader",[["scope","row"]]],["input","searchbox",[["type","search"]]],["hr","separator"],["input","slider",[["type","range"]]],["input","spinbutton",[["type","number"]]],["output","status"],["table","table"],["dfn","term"],["input","textbox"],["input","textbox",[["type","email"]]],["input","textbox",[["type","tel"]]],["input","textbox",[["type","text"]]],["input","textbox",[["type","url"]]],["textarea","textbox"]]},9196:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return(o=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(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}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=l(n(7214)),c=n(926),u=n(4725),d=l(n(4095)),p=l(n(5865)),f=l(n(96)),h=l(n(9100)),m=l(n(8734)),g=l(n(9848)),v=l(n(3805)),y=l(n(8105)),b=l(n(387)),_=l(n(3249)),w=l(n(6030)),k=l(n(3019)),x=l(n(1738));n(3270);var S=function(e){function t(t,n){void 0===n&&(n={});var o=e.call(this,t,{compName:"dom-highlighter"},n)||this;return o.overlay=new c.HighlightOverlay(window),o.reset=function(){var e=document.documentElement.clientWidth,t=document.documentElement.clientHeight;o.overlay.reset({viewportSize:{width:e,height:t},deviceScaleFactor:1,pageScaleFactor:1,pageZoomFactor:1,emulationScaleFactor:1,scrollX:window.scrollX,scrollY:window.scrollY})},o.initOptions(n,{showRulers:!1,showExtensionLines:!1,showInfo:!0,showStyles:!0,showAccessibilityInfo:!0,colorFormat:"hex",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)",monitorResize:!0}),o.overlay.setContainer(t),o.overlay.setPlatform("mac"),o.redraw=(0,p.default)((function(){o.reset(),o.draw()}),16),o.redraw(),o.bindEvent(),o}return r(t,e),t.prototype.highlight=function(e,t){t&&(0,y.default)(this.options,t),this.target=e,e instanceof HTMLElement&&this.options.monitorResize&&(this.resizeSensor&&this.resizeSensor.destroy(),this.resizeSensor=new d.default(e),this.resizeSensor.addListener(this.redraw)),this.redraw()},t.prototype.hide=function(){this.target=null,this.redraw()},t.prototype.intercept=function(e){this.interceptor=e},t.prototype.destroy=function(){window.removeEventListener("resize",this.redraw),window.removeEventListener("scroll",this.redraw),this.resizeSensor&&this.resizeSensor.destroy(),e.prototype.destroy.call(this)},t.prototype.draw=function(){var e=this.target;e&&(e instanceof Text?this.drawText(e):this.drawElement(e))},t.prototype.drawText=function(e){var t=this.options,n=document.createRange();n.selectNode(e);var o=n.getBoundingClientRect(),r=o.left,i=o.top,a=o.width,l=o.height;n.detach();var s={paths:[{path:this.rectToPath({left:r,top:i,width:a,height:l}),fillColor:T(t.contentColor),name:"content"}],showExtensionLines:t.showExtensionLines,showRulers:t.showRulers};t.showInfo&&(s.elementInfo={tagName:"#text",nodeWidth:a,nodeHeight:l}),this.overlay.drawHighlight(s)},t.prototype.drawElement=function(e){var t={paths:this.getPaths(e),showExtensionLines:this.options.showExtensionLines,showRulers:this.options.showRulers,colorFormat:this.options.colorFormat};if(this.options.showInfo&&(t.elementInfo=this.getElementInfo(e)),this.interceptor){var n=this.interceptor(t);n&&(t=n)}this.overlay.drawHighlight(t)},t.prototype.getPaths=function(e){var t=this.options,n=window.getComputedStyle(e),o=e.getBoundingClientRect(),r=o.left,i=o.top,a=o.width,l=o.height,s=function(e){return(0,u.pxToNum)(n.getPropertyValue(e))},c=s("margin-left"),d=s("margin-right"),p=s("margin-top"),f=s("margin-bottom"),h=s("border-left-width"),m=s("border-right-width"),g=s("border-top-width"),v=s("border-bottom-width"),y=s("padding-left"),b=s("padding-right"),_=s("padding-top"),w=s("padding-bottom");return[{path:this.rectToPath({left:r+h+y,top:i+g+_,width:a-h-y-m-b,height:l-g-_-v-w}),fillColor:T(t.contentColor),name:"content"},{path:this.rectToPath({left:r+h,top:i+g,width:a-h-m,height:l-g-v}),fillColor:T(t.paddingColor),name:"padding"},{path:this.rectToPath({left:r,top:i,width:a,height:l}),fillColor:T(t.borderColor),name:"border"},{path:this.rectToPath({left:r-c,top:i-p,width:a+c+d,height:l+p+f}),fillColor:T(t.marginColor),name:"margin"}]},t.prototype.getElementInfo=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height,r=e.getAttribute("class")||"";r=r.split(/\s+/).map((function(e){return"."+e})).join("");var i={tagName:(0,f.default)(e.tagName),className:r,idValue:e.id,nodeWidth:n,nodeHeight:o};return this.options.showStyles&&(i.style=this.getStyles(e)),this.options.showAccessibilityInfo&&(0,y.default)(i,this.getAccessibilityInfo(e)),i},t.prototype.getStyles=function(e){for(var t=window.getComputedStyle(e),n=!1,o=e.childNodes,r=0,i=o.length;r<i;r++)3===o[r].nodeType&&(n=!0);var a=[];return n&&a.push("color","font-family","font-size","line-height"),a.push("padding","margin","background-color"),A(t,a)},t.prototype.getAccessibilityInfo=function(e){var t=window.getComputedStyle(e);return i({showAccessibilityInfo:!0,contrast:i({contrastAlgorithm:"aa",textOpacity:.1},A(t,["font-size","font-weight","background-color","text-opacity"],!0)),isKeyboardFocusable:this.isFocusable(e)},this.getAccessibleNameAndRole(e))},t.prototype.isFocusable=function(e){var t=(0,f.default)(e.tagName);if((0,_.default)(["a","button","input","textarea","select","details"],t))return!0;var n=e.getAttribute("tabindex");return!!(n&&(0,w.default)(n)>-1)},t.prototype.getAccessibleNameAndRole=function(e){var t=e.getAttribute("labelledby")||e.getAttribute("aria-label"),n=e.getAttribute("role"),o=(0,f.default)(e.tagName);return k.default.forEach((function(t){var r,i;if(!n){var l=t[0],s=t[2];if(l===o){if(s)try{for(var c=a(s),u=c.next();!u.done;u=c.next()){var d=u.value;if(e.getAttribute(d[0])!==d[1])return}}catch(p){r={error:p}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}n=t[1]}}})),{accessibleName:t||e.getAttribute("title")||"",accessibleRole:n||"generic"}},t.prototype.bindEvent=function(){var e=this;window.addEventListener("resize",this.redraw),window.addEventListener("scroll",this.redraw),this.on("optionChange",(function(){return e.redraw()}))},t.prototype.rectToPath=function(e){var t=e.left,n=e.top,o=e.width,r=e.height,i=[];return i.push("M",t,n),i.push("L",t+o,n),i.push("L",t+o,n+r),i.push("L",t,n+r),i.push("Z"),i},t}(s.default);t.default=S,e.exports=S,e.exports.default=S;var C=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,E=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/;function T(e){return(0,x.default)(e)?e:e.a?"rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(e.a,")"):"rgb(".concat(e.r,", ").concat(e.g,", ").concat(e.b,")")}function A(e,t,n){void 0===n&&(n=!1);var o={};return(0,h.default)(t,(function(t){var r,i,a,l,s=e["text-opacity"===t?"color":t];s&&(r=s,(C.test(r)||E.test(r))&&(i=s,a=m.default.parse(i),l=a.val[3]||1,a.val=a.val.slice(0,3),a.val.push(Math.round(255*l)),s="#"+(0,v.default)(g.default.encode(a.val)),"text-opacity"===t&&(s=s.slice(7),s=g.default.decode(s)[0]/255)),n&&(t=(0,b.default)(t)),o[t]=s)})),o}},3703:function(e,t){var n=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(l){r={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function r(e,t){var n=e[3];return[(1-n)*t[0]+n*e[0],(1-n)*t[1]+n*e[1],(1-n)*t[2]+n*e[2],n+t[3]*(1-n)]}function i(e){var t=n(e,3),o=t[0],r=t[1],i=t[2];return.2126*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))}Object.defineProperty(t,"__esModule",{value:!0}),t.getContrastThreshold=t.isLargeFont=t.getAPCAThreshold=t.desiredLuminanceAPCA=t.contrastRatioByLuminanceAPCA=t.contrastRatioAPCA=t.luminanceAPCA=t.contrastRatio=t.luminance=t.rgbaToHsla=t.blendColors=void 0,t.blendColors=r,t.rgbaToHsla=function(e){var t=n(e,4),o=t[0],r=t[1],i=t[2],a=t[3],l=Math.max(o,r,i),s=Math.min(o,r,i),c=l-s,u=l+s,d=.5*u;return[s===l?0:o===l?(1/6*(r-i)/c+1)%1:r===l?1/6*(i-o)/c+1/3:1/6*(o-r)/c+2/3,0===d||1===d?0:d<=.5?c/u:c/(2-u),d,a]},t.luminance=i,t.contrastRatio=function(e,t){var n=i(r(e,t)),o=i(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)};var a=12.82051282051282,l=.06;function s(e){var t=n(e,3),o=t[0],r=t[1],i=t[2];return.2126729*Math.pow(o,2.4)+.7151522*Math.pow(r,2.4)+.072175*Math.pow(i,2.4)}function c(e){return e>.03?e:e+Math.pow(.03-e,1.45)}function u(e,t){if(e=c(e),t=c(t),Math.abs(e-t)<5e-4)return 0;var n=0;return 100*(t>=e?(n=1.25*(Math.pow(t,.55)-Math.pow(e,.58)))<.001?0:n<.078?n-n*a*l:n-l:(n=1.25*(Math.pow(t,.62)-Math.pow(e,.57)))>-.001?0:n>-.078?n-n*a*l:n+l)}t.luminanceAPCA=s,t.contrastRatioAPCA=function(e,t){return u(s(e),s(t))},t.contrastRatioByLuminanceAPCA=u,t.desiredLuminanceAPCA=function(e,t,n){function o(){return n?Math.pow(Math.abs(Math.pow(e,.62)-(-t-l)/1.25),1/.57):Math.pow(Math.abs(Math.pow(e,.55)-(t+l)/1.25),1/.58)}e=c(e),t/=100;var r=o();return(r<0||r>1)&&(n=!n,r=o()),r};var d=[[12,-1,-1,-1,-1,100,90,80,-1,-1],[14,-1,-1,-1,100,90,80,60,60,-1],[16,-1,-1,100,90,80,60,55,50,50],[18,-1,-1,90,80,60,55,50,40,40],[24,-1,100,80,60,55,50,40,38,35],[30,-1,90,70,55,50,40,38,35,40],[36,-1,80,60,50,40,38,35,30,25],[48,100,70,55,40,38,35,30,25,20],[60,90,60,50,38,35,30,25,20,20],[72,80,55,40,35,30,25,20,20,20],[96,70,50,35,30,25,20,20,20,20],[120,60,40,30,25,20,20,20,20,20]];function p(e,t){var n=72*parseFloat(e.replace("px",""))/96;return-1!==["bold","bolder","600","700","800","900"].indexOf(t)?n>=14:n>=18}d.reverse(),t.getAPCAThreshold=function(e,t){var r,i,a,l,s=parseFloat(e.replace("px","")),c=parseFloat(t);try{for(var u=o(d),p=u.next();!p.done;p=u.next()){var f=n(p.value),h=f[0],m=f.slice(1);if(s>=h)try{for(var g=(a=void 0,o([900,800,700,600,500,400,300,200,100].entries())),v=g.next();!v.done;v=g.next()){var y=n(v.value,2),b=y[0];if(c>=y[1]){var _=m[m.length-1-b];return-1===_?null:_}}}catch(w){a={error:w}}finally{try{v&&!v.done&&(l=g.return)&&l.call(g)}finally{if(a)throw a.error}}}}catch(w){r={error:w}}finally{try{p&&!p.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}return null},t.isLargeFont=p;var f={aa:3,aaa:4.5},h={aa:4.5,aaa:7};t.getContrastThreshold=function(e,t){return p(e,t)?f:h}},162:function(e,t){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(l){r={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.adoptStyleSheet=t.constrainNumber=t.ellipsify=t.createElement=t.createTextChild=t.createChild=t.log=t.Overlay=void 0;var i=function(){function e(e,t){void 0===t&&(t=[]),this.viewportSize={width:800,height:600},this.deviceScaleFactor=1,this.emulationScaleFactor=1,this.pageScaleFactor=1,this.pageZoomFactor=1,this.scrollX=0,this.scrollY=0,this.canvasWidth=0,this.canvasHeight=0,this._installed=!1,this._window=e,this._document=e.document,Array.isArray(t)||(t=[t]),this.style=t}return e.prototype.setCanvas=function(e){this.canvas=e,this._context=e.getContext("2d")},e.prototype.install=function(){var e,t;try{for(var o=n(this.style),r=o.next();!r.done;r=o.next())s(r.value)}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}this._installed=!0},e.prototype.uninstall=function(){var e,t,o=function(e){document.adoptedStyleSheets=document.adoptedStyleSheets.filter((function(t){return t!==e}))};try{for(var r=n(this.style),i=r.next();!i.done;i=r.next())o(i.value)}catch(a){e={error:a}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this._installed=!1},e.prototype.reset=function(e){e&&(this.viewportSize=e.viewportSize,this.visualViewportSize=e.visualViewportSize,this.deviceScaleFactor=e.deviceScaleFactor,this.pageScaleFactor=e.pageScaleFactor,this.pageZoomFactor=e.pageZoomFactor,this.emulationScaleFactor=e.emulationScaleFactor,this.scrollX=Math.round(e.scrollX),this.scrollY=Math.round(e.scrollY)),this.resetCanvas()},e.prototype.resetCanvas=function(){this.canvas&&this._context&&(this.canvas.width=this.deviceScaleFactor*this.viewportSize.width,this.canvas.height=this.deviceScaleFactor*this.viewportSize.height,this.canvas.style.width=this.viewportSize.width+"px",this.canvas.style.height=this.viewportSize.height+"px",this._context.scale(this.deviceScaleFactor,this.deviceScaleFactor),this.canvasWidth=this.viewportSize.width,this.canvasHeight=this.viewportSize.height)},e.prototype.setPlatform=function(e){this.platform=e,this._installed||this.install()},e.prototype.dispatch=function(e){this[e.shift()].apply(this,e)},e.prototype.eventHasCtrlOrMeta=function(e){return"mac"===this.platform?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey},Object.defineProperty(e.prototype,"context",{get:function(){if(!this._context)throw new Error("Context object is missing");return this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"document",{get:function(){if(!this._document)throw new Error("Document object is missing");return this._document},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"window",{get:function(){if(!this._window)throw new Error("Window object is missing");return this._window},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"installed",{get:function(){return this._installed},enumerable:!1,configurable:!0}),e}();function a(e,t,n){var o=l(t,n);return o.addEventListener("click",(function(e){e.stopPropagation()}),!1),e.appendChild(o),o}function l(e,t){var n=document.createElement(e);if(t){var o=t.split(/\s+/);o=o.map((function(e){return"luna-dom-highlighter-"+e})),n.className=o.join(" ")}return n}function s(e){document.adoptedStyleSheets=r(r([],o(document.adoptedStyleSheets),!1),[e],!1)}t.Overlay=i,t.log=function(e){var t=document.getElementById("log");t||((t=a(document.body,"div")).id="log"),a(t,"div").textContent=e},t.createChild=a,t.createTextChild=function(e,t){var n=document.createTextNode(t);return e.appendChild(n),n},t.createElement=l,t.ellipsify=function(e,t){return e.length<=t?String(e):e.substr(0,t-1)+"…"},t.constrainNumber=function(e,t,n){return e<t?e=t:e>n&&(e=n),e},t.adoptStyleSheet=s},3979:function(e,t,n){var o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(l){r={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.drawPath=t.formatColor=t.formatRgba=t.parseHexa=t.createPathForQuad=t.hatchFillPath=t.applyMatrixToPoint=t.emptyBounds=t.buildPath=t.fillPathWithBoxStyle=t.drawPathWithLineStyle=void 0;var l=a(n(1580)),s=n(3703);function c(e,t,n){var o=0;function r(r){for(var i=[],a=0;a<r;++a){var l=Math.round(e[o++]*n);t.maxX=Math.max(t.maxX,l),t.minX=Math.min(t.minX,l);var s=Math.round(e[o++]*n);t.maxY=Math.max(t.maxY,s),t.minY=Math.min(t.minY,s),t.leftmostXForY[s]=Math.min(t.leftmostXForY[s]||Number.MAX_VALUE,l),t.rightmostXForY[s]=Math.max(t.rightmostXForY[s]||Number.MIN_VALUE,l),t.topmostYForX[l]=Math.min(t.topmostYForX[l]||Number.MAX_VALUE,s),t.bottommostYForX[l]=Math.max(t.bottommostYForX[l]||Number.MIN_VALUE,s),t.allPoints.push({x:l,y:s}),i.push(l,s)}return i}for(var i=e.length,a=new Path2D;o<i;)switch(e[o++]){case"M":a.moveTo.apply(a,r(1));break;case"L":a.lineTo.apply(a,r(1));break;case"C":a.bezierCurveTo.apply(a,r(3));break;case"Q":a.quadraticCurveTo.apply(a,r(2));break;case"Z":a.closePath()}return a}t.drawPathWithLineStyle=function(e,t,n,o){void 0===o&&(o=1),n&&n.color&&(e.save(),e.translate(.5,.5),e.lineWidth=o,"dashed"===n.pattern&&e.setLineDash([3,3]),"dotted"===n.pattern&&e.setLineDash([2,2]),e.strokeStyle=n.color,e.stroke(t),e.restore())},t.fillPathWithBoxStyle=function(e,t,n,o,r){r&&(e.save(),r.fillColor&&(e.fillStyle=r.fillColor,e.fill(t)),r.hatchColor&&h(e,t,n,10,r.hatchColor,o,!1),e.restore())},t.buildPath=c,t.emptyBounds=function(){return{minX:Number.MAX_VALUE,minY:Number.MAX_VALUE,maxX:-Number.MAX_VALUE,maxY:-Number.MAX_VALUE,leftmostXForY:{},rightmostXForY:{},topmostYForX:{},bottommostYForX:{},allPoints:[]}},t.applyMatrixToPoint=function(e,t){var n=new DOMPoint(e.x,e.y);return{x:(n=n.matrixTransform(t)).x,y:n.y}};var u,d=5,p=3,f="";function h(e,t,n,o,r,i,a){if((e.canvas.width<n.maxX-n.minX||e.canvas.height<n.maxY-n.minY)&&(n={minX:0,maxX:e.canvas.width,minY:0,maxY:e.canvas.height,allPoints:[]}),!u||r!==f){f=r;var l=document.createElement("canvas");l.width=o,l.height=d+p;var s=l.getContext("2d");s.clearRect(0,0,l.width,l.height),s.rect(0,0,1,d),s.fillStyle=r,s.fill(),u=e.createPattern(l,"repeat")}e.save();var c=new DOMMatrix;u.setTransform(c.scale(a?-1:1,1).rotate(0,0,-45+i)),e.fillStyle=u,e.fill(t),e.restore()}function m(e){return(e.match(/#(\w\w)(\w\w)(\w\w)(\w\w)/)||[]).slice(1).map((function(e){return parseInt(e,16)/255}))}function g(e,t){if("rgb"===t){var n=r(e,4),o=n[0],i=n[1],a=n[2],l=n[3];return"rgb(".concat((255*o).toFixed()," ").concat((255*i).toFixed()," ").concat((255*a).toFixed()).concat(1===l?"":" / "+Math.round(100*l)/100,")")}if("hsl"===t){var c=r((0,s.rgbaToHsla)(e),4),u=c[0],d=c[1],p=c[2];return l=c[3],"hsl(".concat(Math.round(360*u),"deg ").concat(Math.round(100*d)," ").concat(Math.round(100*p)).concat(1===l?"":" / "+Math.round(100*l)/100,")")}throw new Error("NOT_REACHED")}t.hatchFillPath=h,t.createPathForQuad=function(e,t,n,a){var l,s,u=["M",e.p1.x,e.p1.y,"L",e.p2.x,e.p2.y,"L",e.p3.x,e.p3.y,"L",e.p4.x,e.p4.y];try{for(var d=o(t),p=d.next();!p.done;p=d.next()){var f=p.value;u=i(i([],r(u),!1),["L",f.p4.x,f.p4.y,"L",f.p3.x,f.p3.y,"L",f.p2.x,f.p2.y,"L",f.p1.x,f.p1.y,"L",f.p4.x,f.p4.y,"L",e.p4.x,e.p4.y],!1)}}catch(h){l={error:h}}finally{try{p&&!p.done&&(s=d.return)&&s.call(d)}finally{if(l)throw l.error}}return u.push("Z"),c(u,n,a)},t.parseHexa=m,t.formatRgba=g,t.formatColor=function(e,t){return"rgb"===t||"hsl"===t?g(m(e),t):(0,l.default)(e,"FF")?e.substr(0,7):e},t.drawPath=function(e,t,n,o,r,i,a){e.save();var l=c(t,i,a);return n&&(e.fillStyle=n,e.fill(l)),o&&("dashed"===r&&e.setLineDash([3,3]),"dotted"===r&&e.setLineDash([2,2]),e.lineWidth=2,e.strokeStyle=o,e.stroke(l)),e.restore(),l}},926:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return(o=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(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}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HighlightOverlay=void 0;var a=i(n(1580)),l=n(3703),s=n(162),c=n(3979),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.gridLabelState={gridLayerCounter:0},t}return r(t,e),t.prototype.setContainer=function(e){this._container=e},t.prototype.setPlatform=function(t){this.container&&this.container.classList.add("luna-dom-highlighter-platform-"+t),e.prototype.setPlatform.call(this,t)},Object.defineProperty(t.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),t.prototype.reset=function(t){e.prototype.reset.call(this,t),this.tooltip.innerHTML="",this.gridLabelState.gridLayerCounter=0},t.prototype.install=function(){var t=this.document.createElement("canvas");t.classList.add("luna-dom-highlighter-fill"),this.container.appendChild(t);var n=this.document.createElement("div");this.container.appendChild(n),this.tooltip=n,this.setCanvas(t),e.prototype.install.call(this)},t.prototype.uninstall=function(){this.document.body.classList.remove("fill"),this.document.body.innerHTML="",e.prototype.uninstall.call(this)},t.prototype.drawHighlight=function(e){this.context.save();for(var t=(0,c.emptyBounds)(),n=e.paths.slice();n.length;){var o=n.pop();o&&(this.context.save(),(0,c.drawPath)(this.context,o.path,o.fillColor,o.outlineColor,void 0,t,this.emulationScaleFactor),n.length&&(this.context.globalCompositeOperation="destination-out",(0,c.drawPath)(this.context,n[n.length-1].path,"red",void 0,void 0,t,this.emulationScaleFactor)),this.context.restore())}this.context.restore(),this.context.save();var r=Boolean(e.paths.length&&e.showRulers&&t.minX<20&&t.maxX+20<this.canvasWidth),i=Boolean(e.paths.length&&e.showRulers&&t.minY<20&&t.maxY+20<this.canvasHeight);return e.showRulers&&this.drawAxis(this.context,r,i),e.paths.length&&(e.showExtensionLines&&function(e,t,n,o,r,i,a,l){e.save();var s=a,c=l;if(e.strokeStyle=h,e.lineWidth=1,e.translate(.5,.5),n)for(var u in t.rightmostXForY)e.beginPath(),e.moveTo(s,Number(u)),e.lineTo(t.rightmostXForY[u],Number(u)),e.stroke();else for(var u in t.leftmostXForY)e.beginPath(),e.moveTo(0,Number(u)),e.lineTo(t.leftmostXForY[u],Number(u)),e.stroke();if(o)for(var d in t.bottommostYForX)e.beginPath(),e.moveTo(Number(d),c),e.lineTo(Number(d),t.topmostYForX[d]),e.stroke();else for(var d in t.topmostYForX)e.beginPath(),e.moveTo(Number(d),0),e.lineTo(Number(d),t.topmostYForX[d]),e.stroke();e.restore()}(this.context,t,r,i,0,0,this.canvasWidth,this.canvasHeight),e.elementInfo&&function(e,t,n,o,r,i){e.innerHTML="";var u=(0,s.createChild)(e,"div"),d=(0,s.createChild)(u,"div","tooltip-content"),p=function(e,t){var n,o=(0,s.createElement)("div","element-info"),r=(0,s.createChild)(o,"div","element-info-header"),i=(n=e).layoutObjectName&&(0,a.default)(n.layoutObjectName,"Grid")?"grid":n.layoutObjectName&&"LayoutNGFlexibleBox"===n.layoutObjectName?"flex":null;i&&(0,s.createChild)(r,"div","element-layout-type ".concat(i));var u=(0,s.createChild)(r,"div","element-description");(0,s.createChild)(u,"span","material-tag-name").textContent=e.tagName;var d=(0,s.createChild)(u,"span","material-node-id");d.textContent=e.idValue?"#"+(0,s.ellipsify)(e.idValue,80):"",d.classList.toggle("hidden",!e.idValue);var p=(0,s.createChild)(u,"span","material-class-name");d.textContent.length<80&&(p.textContent=(0,s.ellipsify)(e.className||"",80-d.textContent.length)),p.classList.toggle("hidden",!e.className);var f=(0,s.createChild)(r,"div","dimensions");(0,s.createChild)(f,"span","material-node-width").textContent=String(Math.round(100*e.nodeWidth)/100),(0,s.createTextChild)(f,"×"),(0,s.createChild)(f,"span","material-node-height").textContent=String(Math.round(100*e.nodeHeight)/100);var h,m=e.style||{};e.isLockedAncestor&&E("Showing content-visibility ancestor",""),e.isLocked&&E("Descendants are skipped due to content-visibility","");var g=m.color;g&&"#00000000"!==g&&T("Color",g,t);var v=m["font-family"],y=m["font-size"];v&&"0px"!==y&&E("Font","".concat(y," ").concat(v));var b=m["background-color"];b&&"#00000000"!==b&&T("Background",b,t);var _=m.margin;_&&"0px"!==_&&E("Margin",_);var w=m.padding;w&&"0px"!==w&&E("Padding",w);var k=e.contrast?e.contrast.backgroundColor:null,x=g&&"#00000000"!==g&&k&&"#00000000"!==k;function S(){h||(h=(0,s.createChild)(o,"div","element-info-body"))}function C(e,t,n){S();var o=(0,s.createChild)(h,"div","element-info-row");return(0,s.createChild)(o,"div","element-info-name").textContent=e,(0,s.createChild)(o,"div","element-info-gap"),(0,s.createChild)(o,"div",n||"")}function E(e,t){(0,s.createTextChild)(C(e,0,"element-info-value-text"),t)}function T(e,t,n){var o=C(e,0,"element-info-value-color"),r=(0,s.createChild)(o,"div","color-swatch");(0,s.createChild)(r,"div","color-swatch-inner").style.backgroundColor=t,(0,s.createTextChild)(o,(0,c.formatColor)(t,n))}return e.showAccessibilityInfo&&(function(e){S();var t=(0,s.createChild)(h,"div","element-info-row element-info-section");(0,s.createChild)(t,"div","section-name").textContent=e,(0,s.createChild)((0,s.createChild)(t,"div","separator-container"),"div","separator")}("Accessibility"),x&&m.color&&e.contrast&&function(e,t){var n=(0,c.parseHexa)(e),o=(0,c.parseHexa)(t.backgroundColor);n[3]*=t.textOpacity;var r=C("Contrast","","element-info-value-contrast"),i=(0,s.createChild)(r,"div","contrast-text");i.style.color=(0,c.formatRgba)(n,"rgb"),i.style.backgroundColor=t.backgroundColor,i.textContent="Aa";var a=(0,s.createChild)(r,"span");if("apca"===t.contrastAlgorithm){var u=(0,l.contrastRatioAPCA)(n,o),d=(0,l.getAPCAThreshold)(t.fontSize,t.fontWeight);a.textContent=String(Math.floor(100*u)/100)+"%",(0,s.createChild)(r,"div",null===d||Math.abs(u)<d?"a11y-icon a11y-icon-warning":"a11y-icon a11y-icon-ok")}else if("aa"===t.contrastAlgorithm||"aaa"===t.contrastAlgorithm){var p=(0,l.contrastRatio)(n,o);d=(0,l.getContrastThreshold)(t.fontSize,t.fontWeight)[t.contrastAlgorithm],a.textContent=String(Math.floor(100*p)/100),(0,s.createChild)(r,"div",p<d?"a11y-icon a11y-icon-warning":"a11y-icon a11y-icon-ok")}}(m.color,e.contrast),E("Name",e.accessibleName),E("Role",e.accessibleRole),function(e,t){(0,s.createChild)(C(e,"","element-info-value-icon"),"div",t)}("Keyboard-focusable",e.isKeyboardFocusable?"a11y-icon a11y-icon-ok":"a11y-icon a11y-icon-not-ok")),o}(t,n);d.appendChild(p);var f,h=d.offsetWidth,m=d.offsetHeight,g=10,v=r-2-g-16;if(o.maxX-o.minX<36)f=.5*(o.minX+o.maxX)-8;else{var y=o.minX+g,b=o.maxX-g-16;f=y>12&&y<v?y:(0,s.constrainNumber)(12,y,b)}var _=f<12||f>v,w=f-g;w=(0,s.constrainNumber)(w,2,r-h-2);var k=o.minY-8-m,x=!0;k<0?(k=Math.min(i-m,o.maxY+8),x=!1):o.minY>i&&(k=i-8-m);var S=w>=o.minX&&w+h<=o.maxX&&k>=o.minY&&k+m<=o.maxY;if(!(w<o.maxX&&w+h>o.minX&&k<o.maxY&&k+m>o.minY)||S){if(d.style.top=k+"px",d.style.left=w+"px",!_){var C=(0,s.createChild)(d,"div","tooltip-arrow");C.style.clipPath=x?"polygon(0 0, 100% 0, 50% 100%)":"polygon(50% 0, 0 100%, 100% 100%)",C.style.top=(x?m-1:-8)+"px",C.style.left=f-w+"px"}}else d.style.display="none"}(this.tooltip,e.elementInfo,e.colorFormat,t,this.canvasWidth,this.canvasHeight)),this.context.restore(),{bounds:t}},t.prototype.drawAxis=function(e,t,n){e.save();var o=this.pageZoomFactor*this.pageScaleFactor*this.emulationScaleFactor,r=this.scrollX*this.pageScaleFactor,i=this.scrollY*this.pageScaleFactor;function a(e){return Math.round(e*o)}function l(e){return Math.round(e/o)}var s=this.canvasWidth/o,c=this.canvasHeight/o,u=50;e.save(),e.fillStyle=f,n?e.fillRect(0,a(c)-15,a(s),a(c)):e.fillRect(0,0,a(s),15),e.globalCompositeOperation="destination-out",e.fillStyle="red",t?e.fillRect(a(s)-15,0,a(s),a(c)):e.fillRect(0,0,15,a(c)),e.restore(),e.fillStyle=f,t?e.fillRect(a(s)-15,0,a(s),a(c)):e.fillRect(0,0,15,a(c)),e.lineWidth=1,e.strokeStyle=p,e.fillStyle=p,e.save(),e.translate(-r,.5-i);for(var h=c+l(i),m=100;m<h;m+=100)e.save(),e.translate(r,a(m)),e.rotate(-Math.PI/2),e.fillText(String(m),2,t?a(s)-7:13),e.restore();e.translate(.5,-.5);for(var g=s+l(r),v=100;v<g;v+=100)e.save(),e.fillText(String(v),a(v)+2,n?i+a(c)-7:i+13),e.restore();for(e.restore(),e.save(),t&&(e.translate(a(s),0),e.scale(-1,1)),e.translate(-r,.5-i),h=c+l(i),m=u;m<h;m+=u){e.beginPath(),e.moveTo(r,a(m));var y=m%100?5:8;e.lineTo(r+y,a(m)),e.stroke()}for(e.strokeStyle=d,m=5;m<h;m+=5)m%u&&(e.beginPath(),e.moveTo(r,a(m)),e.lineTo(r+5,a(m)),e.stroke());for(e.restore(),e.save(),n&&(e.translate(0,a(c)),e.scale(1,-1)),e.translate(.5-r,-i),g=s+l(r),v=u;v<g;v+=u)e.beginPath(),e.moveTo(a(v),i),y=v%100?5:8,e.lineTo(a(v),i+y),e.stroke();for(e.strokeStyle=d,v=5;v<g;v+=5)v%u&&(e.beginPath(),e.moveTo(a(v),i),e.lineTo(a(v),i+5),e.stroke());e.restore(),e.restore()},t}(s.Overlay);t.HighlightOverlay=u;var d="rgba(0,0,0,0.2)",p="rgba(0,0,0,0.7)",f="rgba(255, 255, 255, 0.8)",h="rgba(128, 128, 128, 0.3)"},7214:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return(o=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(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}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(2263)),l=i(n(3693)),s=n(4725),c=i(n(9100)),u=i(n(8105)),d=i(n(5651)),p=i(n(961)),f=function(e){function t(t,n,o){var r=n.compName,i=(void 0===o?{}:o).theme,a=void 0===i?"light":i,u=e.call(this)||this;return u.subComponents=[],u.compName=r,u.c=(0,s.classPrefix)(r),u.options={},u.container=t,u.$container=(0,l.default)(t),u.$container.addClass(["luna-".concat(r),u.c("platform-".concat((0,s.getPlatform)()))]),u.on("optionChange",(function(e,t,n){var o=u.c;"theme"===e&&(u.$container.rmClass(o("theme-".concat(n))).addClass(o("theme-".concat(t))),(0,c.default)(u.subComponents,(function(e){return e.setOption("theme",t)})))})),u.setOption("theme",a),u}return r(t,e),t.prototype.destroy=function(){this.destroySubComponents();var e=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(e("platform-".concat((0,s.getPlatform)()))).rmClass(e("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()},t.prototype.setOption=function(e,t){var n=this,o=this.options,r={};"string"==typeof e?r[e]=t:r=e,(0,c.default)(r,(function(e,t){var r=o[t];o[t]=e,n.emit("optionChange",t,e,r)}))},t.prototype.getOption=function(e){return this.options[e]},t.prototype.addSubComponent=function(e){e.setOption("theme",this.options.theme),this.subComponents.push(e)},t.prototype.removeSubComponent=function(e){(0,p.default)(this.subComponents,(function(t){return t===e}))},t.prototype.destroySubComponents=function(){(0,c.default)(this.subComponents,(function(e){return e.destroy()})),this.subComponents=[]},t.prototype.initOptions=function(e,t){void 0===t&&(t={}),(0,d.default)(e,t),(0,u.default)(this.options,e)},t.prototype.find=function(e){return this.$container.find(this.c(e))},t}(a.default);t.default=f},4725:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.resetCanvasSize=t.getPlatform=t.pxToNum=t.executeAfterTransition=t.hasVerticalScrollbar=t.measuredScrollbarWidth=t.eventPage=t.eventClient=t.drag=t.classPrefix=void 0;var r=o(n(3915)),i=o(n(9405)),a=o(n(5169)),l=o(n(9548)),s=o(n(6097)),c=o(n(3249)),u=o(n(6030)),d=o(n(5004)),p=o(n(8609));function f(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];t(r),r.content&&f(r.content,t)}}t.classPrefix=function(e){var t="luna-".concat(e,"-");function n(e){return(0,r.default)((0,i.default)(e).split(/\s+/),(function(e){return(0,c.default)(e,t)?e:e.replace(/[\w-]+/,(function(e){return"".concat(t).concat(e)}))})).join(" ")}return function(e){if(/<[^>]*>/g.test(e))try{var t=l.default.parse(e);return f(t,(function(e){e.attrs&&e.attrs.class&&(e.attrs.class=n(e.attrs.class))})),l.default.stringify(t)}catch(o){return n(e)}return n(e)}};var h,m="ontouchstart"in a.default,g={start:"touchstart",move:"touchmove",end:"touchend"},v={start:"mousedown",move:"mousemove",end:"mouseup"};t.drag=function(e){return m?g[e]:v[e]},t.eventClient=function(e,t){var n="x"===e?"clientX":"clientY";return t[n]?t[n]:t.changedTouches?t.changedTouches[0][n]:0},t.eventPage=function(e,t){var n="x"===e?"pageX":"pageY";return t[n]?t[n]:t.changedTouches?t.changedTouches[0][n]:0},t.measuredScrollbarWidth=function(){if((0,s.default)(h))return h;if(!document)return 16;var e=document.createElement("div"),t=document.createElement("div");return e.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),t.setAttribute("style","height: 200px"),e.appendChild(t),document.body.appendChild(e),h=e.offsetWidth-e.clientWidth,document.body.removeChild(e),h},t.hasVerticalScrollbar=function(e){return e.scrollHeight>e.offsetHeight},t.executeAfterTransition=function(e,t){if((0,p.default)(e))return t();var n=function(o){o.target===e&&(e.removeEventListener("transitionend",n),t())};e.addEventListener("transitionend",n)},t.pxToNum=function(e){return(0,u.default)(e.replace("px",""))},t.getPlatform=function(){var e=(0,d.default)();return"os x"===e?"mac":e},t.resetCanvasSize=function(e){e.width=Math.round(e.offsetWidth*window.devicePixelRatio),e.height=Math.round(e.offsetHeight*window.devicePixelRatio)}},3270:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var o={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},r=/([astvzqmhlc])([^astvzqmhlc]*)/gi,i=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi,a=function(e){var t=[],n=String(e).trim();return"M"!==n[0]&&"m"!==n[0]||n.replace(r,(function(e,n,r){var a,l=n.toLowerCase(),s=(a=r.match(i))?a.map(Number):[],c=n;if("m"===l&&s.length>2&&(t.push([c].concat(s.splice(0,2))),l="l",c="m"===c?"l":"L"),s.length<o[l])return"";for(t.push([c].concat(s.splice(0,o[l])));s.length>=o[l]&&s.length&&o[l];)t.push([c].concat(s.splice(0,o[l])));return""})),t};function l(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(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}}(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){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var c=a;function u(e,t){var n=e.x*Math.cos(t)-e.y*Math.sin(t),o=e.y*Math.cos(t)+e.x*Math.sin(t);e.x=n,e.y=o}function d(e,t){e.x*=t,e.y*=t}var p=a,f=function(e){if(void 0!==e&&e.CanvasRenderingContext2D&&(!e.Path2D||(a=(i=e).document.createElement("canvas").getContext("2d"),s=new i.Path2D("M0 0 L1 1"),a.strokeStyle="red",a.lineWidth=1,a.stroke(s),255!==a.getImageData(0,0,1,1).data[0]))){var t=function(){function e(t){var n;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.segments=[],t&&t instanceof e?(n=this.segments).push.apply(n,l(t.segments)):t&&(this.segments=c(t))}var t,n;return t=e,(n=[{key:"addPath",value:function(t){var n;t&&t instanceof e&&(n=this.segments).push.apply(n,l(t.segments))}},{key:"moveTo",value:function(e,t){this.segments.push(["M",e,t])}},{key:"lineTo",value:function(e,t){this.segments.push(["L",e,t])}},{key:"arc",value:function(e,t,n,o,r,i){this.segments.push(["AC",e,t,n,o,r,!!i])}},{key:"arcTo",value:function(e,t,n,o,r){this.segments.push(["AT",e,t,n,o,r])}},{key:"ellipse",value:function(e,t,n,o,r,i,a,l){this.segments.push(["E",e,t,n,o,r,i,a,!!l])}},{key:"closePath",value:function(){this.segments.push(["Z"])}},{key:"bezierCurveTo",value:function(e,t,n,o,r,i){this.segments.push(["C",e,t,n,o,r,i])}},{key:"quadraticCurveTo",value:function(e,t,n,o){this.segments.push(["Q",e,t,n,o])}},{key:"rect",value:function(e,t,n,o){this.segments.push(["R",e,t,n,o])}}])&&function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),n=e.CanvasRenderingContext2D.prototype.fill,o=e.CanvasRenderingContext2D.prototype.stroke;e.CanvasRenderingContext2D.prototype.fill=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var r="nonzero";0===t.length||1===t.length&&"string"==typeof t[0]?n.apply(this,t):(2===arguments.length&&(r=t[1]),p(this,t[0].segments),n.call(this,r))},e.CanvasRenderingContext2D.prototype.stroke=function(e){e?(p(this,e.segments),o.call(this)):o.call(this)};var r=e.CanvasRenderingContext2D.prototype.isPointInPath;e.CanvasRenderingContext2D.prototype.isPointInPath=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if("Path2D"===t[0].constructor.name){var o=t[1],i=t[2],a=t[3]||"nonzero";return p(this,t[0].segments),r.apply(this,[o,i,a])}return r.apply(this,t)},e.Path2D=t}var i,a,s;function p(e,t){var n,o,r,i,a,l,s,c,p,f,h,m,g,v,y,b,_,w,k,x,S,C,E,T,A,$,I,M,P,N={x:0,y:0},O={x:0,y:0};e.beginPath();for(var R=0;R<t.length;++R){var D=t[R];switch("S"!==(x=D[0])&&"s"!==x&&"C"!==x&&"c"!==x&&(C=null,E=null),"T"!==x&&"t"!==x&&"Q"!==x&&"q"!==x&&(T=null,A=null),x){case"m":case"M":"m"===x?(h+=D[1],g+=D[2]):(h=D[1],g=D[2]),"M"!==x&&N||(N={x:h,y:g}),e.moveTo(h,g);break;case"l":h+=D[1],g+=D[2],e.lineTo(h,g);break;case"L":h=D[1],g=D[2],e.lineTo(h,g);break;case"H":h=D[1],e.lineTo(h,g);break;case"h":h+=D[1],e.lineTo(h,g);break;case"V":g=D[1],e.lineTo(h,g);break;case"v":g+=D[1],e.lineTo(h,g);break;case"a":case"A":"a"===x?(h+=D[6],g+=D[7]):(h=D[6],g=D[7]),b=D[1],_=D[2],s=D[3]*Math.PI/180,r=!!D[4],i=!!D[5],a={x:h,y:g},u(l={x:(O.x-a.x)/2,y:(O.y-a.y)/2},-s),(c=l.x*l.x/(b*b)+l.y*l.y/(_*_))>1&&(b*=c=Math.sqrt(c),_*=c),p=b*b*_*_,f=b*b*l.y*l.y+_*_*l.x*l.x,d(S={x:b*l.y/_,y:-_*l.x/b},i!==r?Math.sqrt((p-f)/f)||0:-Math.sqrt((p-f)/f)||0),o=Math.atan2((l.y-S.y)/_,(l.x-S.x)/b),n=Math.atan2(-(l.y+S.y)/_,-(l.x+S.x)/b),u(S,s),I=S,M=(a.x+O.x)/2,P=(a.y+O.y)/2,I.x+=M,I.y+=P,e.save(),e.translate(S.x,S.y),e.rotate(s),e.scale(b,_),e.arc(0,0,1,o,n,!i),e.restore();break;case"C":C=D[3],E=D[4],h=D[5],g=D[6],e.bezierCurveTo(D[1],D[2],C,E,h,g);break;case"c":e.bezierCurveTo(D[1]+h,D[2]+g,D[3]+h,D[4]+g,D[5]+h,D[6]+g),C=D[3]+h,E=D[4]+g,h+=D[5],g+=D[6];break;case"S":null!==C&&null!==E||(C=h,E=g),e.bezierCurveTo(2*h-C,2*g-E,D[1],D[2],D[3],D[4]),C=D[1],E=D[2],h=D[3],g=D[4];break;case"s":null!==C&&null!==E||(C=h,E=g),e.bezierCurveTo(2*h-C,2*g-E,D[1]+h,D[2]+g,D[3]+h,D[4]+g),C=D[1]+h,E=D[2]+g,h+=D[3],g+=D[4];break;case"Q":T=D[1],A=D[2],h=D[3],g=D[4],e.quadraticCurveTo(T,A,h,g);break;case"q":T=D[1]+h,A=D[2]+g,h+=D[3],g+=D[4],e.quadraticCurveTo(T,A,h,g);break;case"T":null!==T&&null!==A||(T=h,A=g),T=2*h-T,A=2*g-A,h=D[1],g=D[2],e.quadraticCurveTo(T,A,h,g);break;case"t":null!==T&&null!==A||(T=h,A=g),T=2*h-T,A=2*g-A,h+=D[1],g+=D[2],e.quadraticCurveTo(T,A,h,g);break;case"z":case"Z":h=N.x,g=N.y,N=void 0,e.closePath();break;case"AC":h=D[1],g=D[2],y=D[3],o=D[4],n=D[5],$=D[6],e.arc(h,g,y,o,n,$);break;case"AT":m=D[1],v=D[2],h=D[3],g=D[4],y=D[5],e.arcTo(m,v,h,g,y);break;case"E":h=D[1],g=D[2],b=D[3],_=D[4],s=D[5],o=D[6],n=D[7],$=D[8],e.save(),e.translate(h,g),e.rotate(s),e.scale(b,_),e.arc(0,0,1,o,n,$),e.restore();break;case"R":h=D[1],g=D[2],w=D[3],k=D[4],N={x:h,y:g},e.rect(h,g,w,k)}O.x=h,O.y=g}}};"undefined"!=typeof window&&f(window);var h={path2dPolyfill:f,parsePath:p}},7119:function(e){e.exports='.luna-dom-highlighter{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100000;pointer-events:none;font-size:13px}.luna-dom-highlighter-fill{position:absolute;top:0;right:0;bottom:0;left:0}.luna-dom-highlighter-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-highlighter-platform-mac{color:#303942;font-family:\'.SFNSDisplay-Regular\',\'Helvetica Neue\',\'Lucida Grande\',sans-serif}.luna-dom-highlighter-platform-windows{font-family:\'Segoe UI\',Tahoma,sans-serif}.luna-dom-highlighter-px{color:gray}#luna-dom-highlighter-element-title{position:absolute;z-index:10}.luna-dom-highlighter-tooltip-content{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#fff;padding:5px 8px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;min-width:100px;max-width:min(300px,100% - 4px);z-index:2;background-clip:padding-box;will-change:transform;text-rendering:optimizeLegibility;pointer-events:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}.luna-dom-highlighter-tooltip-content .luna-dom-highlighter-tooltip-arrow{background:#fff;width:15px;height:8px;position:absolute}.luna-dom-highlighter-element-info-section{margin-top:12px;margin-bottom:6px}.luna-dom-highlighter-section-name{color:#333;font-weight:500;font-size:10px;text-transform:uppercase;letter-spacing:.05em;line-height:12px}.luna-dom-highlighter-element-info{display:flex;flex-direction:column}.luna-dom-highlighter-element-info-header{display:flex;align-items:center}.luna-dom-highlighter-element-info-body{display:flex;flex-direction:column;padding-top:2px;margin-top:2px}.luna-dom-highlighter-element-info-row{display:flex;line-height:19px}.luna-dom-highlighter-separator-container{display:flex;align-items:center;flex:auto;margin-left:7px}.luna-dom-highlighter-separator{border-top:1px solid #ddd;width:100%}.luna-dom-highlighter-element-info-name{flex-shrink:0;color:#666}.luna-dom-highlighter-element-info-gap{flex:auto}.luna-dom-highlighter-element-info-value-color{display:flex;color:#303942;margin-left:10px;align-items:baseline}.luna-dom-highlighter-a11y-icon{width:16px;height:16px;background-repeat:no-repeat;display:inline-block}.luna-dom-highlighter-element-info-value-contrast{display:flex;align-items:center;text-align:right;color:#303942;margin-left:10px}.luna-dom-highlighter-element-info-value-contrast .luna-dom-highlighter-a11y-icon{margin-left:8px}.luna-dom-highlighter-element-info-value-icon{display:flex;align-items:center}.luna-dom-highlighter-element-info-value-text{text-align:right;color:#303942;margin-left:10px;align-items:baseline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-dom-highlighter-color-swatch{display:flex;margin-right:2px;width:10px;height:10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);line-height:10px}.luna-dom-highlighter-color-swatch-inner{flex:auto;border:1px solid #808002}.luna-dom-highlighter-element-layout-type{margin-right:10px;width:16px;height:16px}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-grid{background-image:url(\'data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="2.5" y="2.5" width="4" height="4" stroke="%231A73E8"/><rect x="9.5" y="2.5" width="4" height="4" stroke="%231A73E8"/><rect x="9.5" y="9.5" width="4" height="4" stroke="%231A73E8"/><rect x="2.5" y="9.5" width="4" height="4" stroke="%231A73E8"/></svg>\')}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-flex{background-image:url(\'data:image/svg+xml,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 3.5h8v3H1v-3zm-1 0a1 1 0 011-1h8a1 1 0 011 1v3a1 1 0 01-1 1H1a1 1 0 01-1-1v-3zm12 0h3v3h-3v-3zm-1 0a1 1 0 011-1h3a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-3zm-7 6H1v3h3v-3zm-3-1a1 1 0 00-1 1v3a1 1 0 001 1h3a1 1 0 001-1v-3a1 1 0 00-1-1H1zm6 4v-3h8v3H7zm-1-3a1 1 0 011-1h8a1 1 0 011 1v3a1 1 0 01-1 1H7a1 1 0 01-1-1v-3z" fill="%231A73E8"/></svg>\')}.luna-dom-highlighter-element-description{flex:1 1;font-weight:700;word-wrap:break-word;word-break:break-all}.luna-dom-highlighter-dimensions{color:#737373;text-align:right;margin-left:10px}.luna-dom-highlighter-material-node-width{margin-right:2px}.luna-dom-highlighter-material-node-height{margin-left:2px}.luna-dom-highlighter-material-tag-name{color:#881280}.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id{color:#1a1aa6}.luna-dom-highlighter-contrast-text{width:16px;height:16px;text-align:center;line-height:16px;margin-right:8px;border:1px solid #000;padding:0 1px}.luna-dom-highlighter-a11y-icon-not-ok{background-image:url(\'data:image/svg+xml,<svg fill="none" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m9 1.5c-4.14 0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5 7.5-3.36 7.5-7.5-3.36-7.5-7.5-7.5zm0 13.5c-3.315 0-6-2.685-6-6 0-1.3875.4725-2.6625 1.2675-3.675l8.4075 8.4075c-1.0125.795-2.2875 1.2675-3.675 1.2675zm4.7325-2.325-8.4075-8.4075c1.0125-.795 2.2875-1.2675 3.675-1.2675 3.315 0 6 2.685 6 6 0 1.3875-.4725 2.6625-1.2675 3.675z" fill="%239e9e9e"/></svg>\')}.luna-dom-highlighter-a11y-icon-warning{background-image:url(\'data:image/svg+xml,<svg fill="none" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m8.25 11.25h1.5v1.5h-1.5zm0-6h1.5v4.5h-1.5zm.7425-3.75c-4.14 0-7.4925 3.36-7.4925 7.5s3.3525 7.5 7.4925 7.5c4.1475 0 7.5075-3.36 7.5075-7.5s-3.36-7.5-7.5075-7.5zm.0075 13.5c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z" fill="%23e37400"/></svg>\')}.luna-dom-highlighter-a11y-icon-ok{background-image:url(\'data:image/svg+xml,<svg fill="none" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m9 1.5c-4.14 0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5 7.5-3.36 7.5-7.5-3.36-7.5-7.5-7.5zm0 13.5c-3.3075 0-6-2.6925-6-6s2.6925-6 6-6 6 2.6925 6 6-2.6925 6-6 6zm-1.5-4.35-1.95-1.95-1.05 1.05 3 3 6-6-1.05-1.05z" fill="%230ca40c"/></svg>\')}@media (forced-colors:active){:root,body{background-color:transparent;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content{border-color:Highlight;background-color:canvas;color:text;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content::after{background-color:Highlight}.luna-dom-highlighter-color-swatch-inner,.luna-dom-highlighter-contrast-text,.luna-dom-highlighter-separator{border-color:Highlight}.luna-dom-highlighter-section-name{color:Highlight}.luna-dom-highlighter-dimensions,.luna-dom-highlighter-element-info-name,.luna-dom-highlighter-element-info-value-color,.luna-dom-highlighter-element-info-value-contrast,.luna-dom-highlighter-element-info-value-icon,.luna-dom-highlighter-element-info-value-text,.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id,.luna-dom-highlighter-material-tag-name{color:canvastext}}\n\n/*# sourceMappingURL=luna-dom-highlighter.css.map*/'},5526:function(e,t,n){function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}n.d(t,{A:function(){return o}})},3029:function(e,t,n){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:function(){return o}})},2901:function(e,t,n){n.d(t,{A:function(){return i}});var o=n(816);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,(0,o.A)(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4467:function(e,t,n){n.d(t,{A:function(){return r}});var o=n(816);function r(e,t,n){return(t=(0,o.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},991:function(e,t,n){n.d(t,{A:function(){return r}});var o=n(3954);function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=(0,o.A)(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},r.apply(null,arguments)}},3954:function(e,t,n){function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{A:function(){return o}})},5361:function(e,t,n){function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function r(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}n.d(t,{A:function(){return r}})},388:function(e,t,n){n.d(t,{A:function(){return r}});var o=n(2284);function r(e,t){if(t&&("object"==(0,o.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},7528:function(e,t,n){function o(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:function(){return o}})},5458:function(e,t,n){n.d(t,{A:function(){return i}});var o=n(5526),r=n(7800);function i(e){return function(e){if(Array.isArray(e))return(0,o.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,r.A)(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.")}()}},816:function(e,t,n){n.d(t,{A:function(){return r}});var o=n(2284);function r(e){var t=function(e,t){if("object"!=(0,o.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=(0,o.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==(0,o.A)(t)?t:t+""}},2284:function(e,t,n){function o(e){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)}n.d(t,{A:function(){return o}})},7800:function(e,t,n){n.d(t,{A:function(){return r}});var o=n(5526);function r(e,t){if(e){if("string"==typeof e)return(0,o.A)(e,t);var n={}.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)?(0,o.A)(e,t):void 0}}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e2){if("object"==typeof window)return window}}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(7523);return __webpack_exports__}()}))}(eruda)),eruda.exports}requireEruda();const isff="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function addEvent(e,t,n,o){e.addEventListener?e.addEventListener(t,n,o):e.attachEvent&&e.attachEvent("on".concat(t),n)}function removeEvent(e,t,n,o){e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent&&e.detachEvent("on".concat(t),n)}function getMods(e,t){const n=t.slice(0,t.length-1);for(let o=0;o<n.length;o++)n[o]=e[n[o].toLowerCase()];return n}function getKeys(e){"string"!=typeof e&&(e="");const t=(e=e.replace(/\s/g,"")).split(",");let n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function compareArray(e,t){const n=e.length>=t.length?e:t,o=e.length>=t.length?t:e;let r=!0;for(let i=0;i<n.length;i++)-1===o.indexOf(n[i])&&(r=!1);return r}const _keyMap={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":isff?173:189,"=":isff?61:187,";":isff?59:186,"'":222,"[":219,"]":221,"\\":220},_modifier={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},modifierMap={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},_mods={16:!1,18:!1,17:!1,91:!1},_handlers={};for(let xe=1;xe<20;xe++)_keyMap["f".concat(xe)]=111+xe;let _downKeys=[],winListendFocus=null,_scope="all";const elementEventMap=new Map,code=e=>_keyMap[e.toLowerCase()]||_modifier[e.toLowerCase()]||e.toUpperCase().charCodeAt(0),getKey$1=e=>Object.keys(_keyMap).find((t=>_keyMap[t]===e)),getModifier=e=>Object.keys(_modifier).find((t=>_modifier[t]===e));function setScope(e){_scope=e||"all"}function getScope(){return _scope||"all"}function getPressedKeyCodes(){return _downKeys.slice(0)}function getPressedKeyString(){return _downKeys.map((e=>getKey$1(e)||getModifier(e)||String.fromCharCode(e)))}function getAllKeyCodes(){const e=[];return Object.keys(_handlers).forEach((t=>{_handlers[t].forEach((t=>{let{key:n,scope:o,mods:r,shortcut:i}=t;e.push({scope:o,shortcut:i,mods:r,keys:n.split("+").map((e=>code(e)))})}))})),e}function filter$1(e){const t=e.target||e.srcElement,{tagName:n}=t;let o=!0;const r="INPUT"===n&&!["checkbox","radio","range","button","file","reset","submit","color"].includes(t.type);return(t.isContentEditable||(r||"TEXTAREA"===n||"SELECT"===n)&&!t.readOnly)&&(o=!1),o}function isPressed(e){return"string"==typeof e&&(e=code(e)),-1!==_downKeys.indexOf(e)}function deleteScope(e,t){let n,o;e||(e=getScope());for(const r in _handlers)if(Object.prototype.hasOwnProperty.call(_handlers,r))for(n=_handlers[r],o=0;o<n.length;)if(n[o].scope===e){n.splice(o,1).forEach((e=>{let{element:t}=e;return removeKeyEvent(t)}))}else o++;getScope()===e&&setScope(t||"all")}function clearModifier(e){let t=e.keyCode||e.which||e.charCode;const n=_downKeys.indexOf(t);if(n>=0&&_downKeys.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&_downKeys.splice(0,_downKeys.length),93!==t&&224!==t||(t=91),t in _mods){_mods[t]=!1;for(const e in _modifier)_modifier[e]===t&&(hotkeys[e]=!1)}}function unbind(e){if(void 0===e)Object.keys(_handlers).forEach((e=>{Array.isArray(_handlers[e])&&_handlers[e].forEach((e=>eachUnbind(e))),delete _handlers[e]})),removeKeyEvent(null);else if(Array.isArray(e))e.forEach((e=>{e.key&&eachUnbind(e)}));else if("object"==typeof e)e.key&&eachUnbind(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];let[r,i]=n;"function"==typeof r&&(i=r,r=""),eachUnbind({key:e,scope:r,method:i,splitKey:"+"})}}const eachUnbind=e=>{let{key:t,scope:n,method:o,splitKey:r="+"}=e;getKeys(t).forEach((e=>{const t=e.split(r),i=t.length,a=t[i-1],l="*"===a?"*":code(a);if(!_handlers[l])return;n||(n=getScope());const s=i>1?getMods(_modifier,t):[],c=[];_handlers[l]=_handlers[l].filter((e=>{const t=(!o||e.method===o)&&e.scope===n&&compareArray(e.mods,s);return t&&c.push(e.element),!t})),c.forEach((e=>removeKeyEvent(e)))}))};function eventHandler(e,t,n,o){if(t.element!==o)return;let r;if(t.scope===n||"all"===t.scope){r=t.mods.length>0;for(const e in _mods)Object.prototype.hasOwnProperty.call(_mods,e)&&(!_mods[e]&&t.mods.indexOf(+e)>-1||_mods[e]&&-1===t.mods.indexOf(+e))&&(r=!1);(0!==t.mods.length||_mods[16]||_mods[18]||_mods[17]||_mods[91])&&!r&&"*"!==t.shortcut||(t.keys=[],t.keys=t.keys.concat(_downKeys),!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0)))}}function dispatch(e,t){const n=_handlers["*"];let o=e.keyCode||e.which||e.charCode;if(!hotkeys.filter.call(this,e))return;if(93!==o&&224!==o||(o=91),-1===_downKeys.indexOf(o)&&229!==o&&_downKeys.push(o),["metaKey","ctrlKey","altKey","shiftKey"].forEach((t=>{const n=modifierMap[t];e[t]&&-1===_downKeys.indexOf(n)?_downKeys.push(n):!e[t]&&_downKeys.indexOf(n)>-1?_downKeys.splice(_downKeys.indexOf(n),1):"metaKey"===t&&e[t]&&(_downKeys=_downKeys.filter((e=>e in modifierMap||e===o)))})),o in _mods){_mods[o]=!0;for(const t in _modifier)if(Object.prototype.hasOwnProperty.call(_modifier,t)){const n=modifierMap[_modifier[t]];hotkeys[t]=e[n]}if(!n)return}for(const l in _mods)Object.prototype.hasOwnProperty.call(_mods,l)&&(_mods[l]=e[modifierMap[l]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===_downKeys.indexOf(17)&&_downKeys.push(17),-1===_downKeys.indexOf(18)&&_downKeys.push(18),_mods[17]=!0,_mods[18]=!0);const r=getScope();if(n)for(let l=0;l<n.length;l++)n[l].scope===r&&("keydown"===e.type&&n[l].keydown||"keyup"===e.type&&n[l].keyup)&&eventHandler(e,n[l],r,t);if(!(o in _handlers))return;const i=_handlers[o],a=i.length;for(let l=0;l<a;l++)if(("keydown"===e.type&&i[l].keydown||"keyup"===e.type&&i[l].keyup)&&i[l].key){const n=i[l],{splitKey:o}=n,a=n.key.split(o),s=[];for(let e=0;e<a.length;e++)s.push(code(a[e]));s.sort().join("")===_downKeys.sort().join("")&&eventHandler(e,n,r,t)}}function hotkeys(e,t,n){_downKeys=[];const o=getKeys(e);let r=[],i="all",a=document,l=0,s=!1,c=!0,u="+",d=!1,p=!1;for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(i=t.scope),t.element&&(a=t.element),t.keyup&&(s=t.keyup),void 0!==t.keydown&&(c=t.keydown),void 0!==t.capture&&(d=t.capture),"string"==typeof t.splitKey&&(u=t.splitKey),!0===t.single&&(p=!0)),"string"==typeof t&&(i=t),p&&unbind(e,i);l<o.length;l++)r=[],(e=o[l].split(u)).length>1&&(r=getMods(_modifier,e)),(e="*"===(e=e[e.length-1])?"*":code(e))in _handlers||(_handlers[e]=[]),_handlers[e].push({keyup:s,keydown:c,scope:i,mods:r,shortcut:o[l],method:n,key:o[l],splitKey:u,element:a});if(void 0!==a&&window){if(!elementEventMap.has(a)){const e=function(){return dispatch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.event,a)},t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.event;dispatch(e,a),clearModifier(e)};elementEventMap.set(a,{keydownListener:e,keyupListenr:t,capture:d}),addEvent(a,"keydown",e,d),addEvent(a,"keyup",t,d)}if(!winListendFocus){const e=()=>{_downKeys=[]};winListendFocus={listener:e,capture:d},addEvent(window,"focus",e,d)}}}function trigger$2(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(_handlers).forEach((n=>{_handlers[n].filter((n=>n.scope===t&&n.shortcut===e)).forEach((e=>{e&&e.method&&e.method()}))}))}function removeKeyEvent(e){const t=Object.values(_handlers).flat();if(t.findIndex((t=>{let{element:n}=t;return n===e}))<0){const{keydownListener:t,keyupListenr:n,capture:o}=elementEventMap.get(e)||{};t&&n&&(removeEvent(e,"keyup",n,o),removeEvent(e,"keydown",t,o),elementEventMap.delete(e))}if(t.length<=0||elementEventMap.size<=0){if(Object.keys(elementEventMap).forEach((e=>{const{keydownListener:t,keyupListenr:n,capture:o}=elementEventMap.get(e)||{};t&&n&&(removeEvent(e,"keyup",n,o),removeEvent(e,"keydown",t,o),elementEventMap.delete(e))})),elementEventMap.clear(),Object.keys(_handlers).forEach((e=>delete _handlers[e])),winListendFocus){const{listener:e,capture:t}=winListendFocus;removeEvent(window,"focus",e,t),winListendFocus=null}}}const _api={getPressedKeyString:getPressedKeyString,setScope:setScope,getScope:getScope,deleteScope:deleteScope,getPressedKeyCodes:getPressedKeyCodes,getAllKeyCodes:getAllKeyCodes,isPressed:isPressed,filter:filter$1,trigger:trigger$2,unbind:unbind,keyMap:_keyMap,modifier:_modifier,modifierMap:modifierMap};for(const xe in _api)Object.prototype.hasOwnProperty.call(_api,xe)&&(hotkeys[xe]=_api[xe]);if("undefined"!=typeof window){const e=window.hotkeys;hotkeys.noConflict=t=>(t&&window.hotkeys===hotkeys&&(window.hotkeys=e),hotkeys),window.hotkeys=hotkeys}var zhCn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",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:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _sfc_main$2A=defineComponent({__name:"index",setup:e=>(e,t)=>{const n=resolveComponent("ElConfigProvider");return openBlock(),createBlock(n,{locale:unref(zhCn),button:{autoInsertSpace:!0}},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["locale"])}});function tryOnScopeDispose$1(e){return!!getCurrentScope()&&(onScopeDispose(e),!0)}const isClient$1="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const toString$2=Object.prototype.toString,isObject$5=e=>"[object Object]"===toString$2.call(e),noop$3=()=>{};function toRef(...e){if(1!==e.length)return toRef$1(...e);const t=e[0];return"function"==typeof t?readonly(customRef((()=>({get:t,set:noop$3})))):ref(t)}function createSingletonPromise(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n}function toArray$1(e){return Array.isArray(e)?e:[e]}function getLifeCycleTarget(e){return getCurrentInstance()}function tryOnMounted$1(e,t=!0,n){getLifeCycleTarget()?onMounted(e,n):t?e():nextTick(e)}function useTimeoutFn$1(e,t,n={}){const{immediate:o=!0,immediateCallback:r=!1}=n,i=shallowRef(!1);let a=null;function l(){a&&(clearTimeout(a),a=null)}function s(){i.value=!1,l()}function c(...n){r&&e(),l(),i.value=!0,a=setTimeout((()=>{i.value=!1,a=null,e(...n)}),toValue(t))}return o&&(i.value=!0,isClient$1&&c()),tryOnScopeDispose$1(s),{isPending:shallowReadonly(i),start:c,stop:s}}function watchImmediate(e,t,n){return watch(e,t,{...n,immediate:!0})}var nprogress$2={exports:{}},nprogress$1=nprogress$2.exports,hasRequiredNprogress;function requireNprogress(){return hasRequiredNprogress||(hasRequiredNprogress=1,nprogress$2.exports=function(){var e,t,n={version:"0.2.0"},o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function r(e,t,n){return e<t?t:e>n?n:e}function i(e){return 100*(-1+e)}function a(e,t,n){var r;return(r="translate3d"===o.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,r}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(o[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=r(e,o.minimum,1),n.status=1===e?null:e;var i=n.render(!t),c=i.querySelector(o.barSelector),u=o.speed,d=o.easing;return i.offsetWidth,l((function(t){""===o.positionUsing&&(o.positionUsing=n.getPositioningCSS()),s(c,a(e,u,d)),1===e?(s(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){s(i,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),o.trickleSpeed)};return o.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*r(Math.random()*t,.1,.95)),t=r(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},e=0,t=0,n.promise=function(o){return o&&"resolved"!==o.state()?(0===t&&n.start(),e++,t++,o.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var r,a=t.querySelector(o.barSelector),l=e?"-100":i(n.status||0),c=document.querySelector(o.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),o.showSpinner||(r=t.querySelector(o.spinnerSelector))&&f(r),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function o(t){var n=document.body.style;if(t in n)return t;for(var o,r=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((o=e[r]+i)in n)return o;return t}function r(e){return e=n(e),t[e]||(t[e]=o(e))}function i(e,t,n){t=r(t),e.style[t]=n}return function(e,t){var n,o,r=arguments;if(2==r.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&i(e,n,o);else i(e,r[1],r[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),o=n+t;c(n,t)||(e.className=o.substring(1))}function d(e,t){var n,o=p(e);c(e,t)&&(n=o.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n}()),nprogress$2.exports}var nprogressExports=requireNprogress();const nprogress=getDefaultExportFromCjs(nprogressExports);function useNProgress(e=null,t){const n=toRef(e),o=computed({set:e=>e?nprogress.start():nprogress.done(),get:()=>"number"==typeof n.value&&n.value<1}),r=nprogress.set;return nprogress.set=e=>(n.value=e,r.call(nprogress,e)),watchEffect((()=>{"number"==typeof n.value&&isClient$1&&r.call(nprogress,n.value)})),tryOnScopeDispose$1(nprogress.remove),{isLoading:o,progress:n,start:nprogress.start,done:nprogress.done,remove:()=>{n.value=null,nprogress.remove()}}}const pinia=createPinia(),useKeepAliveStore=defineStore("keepAlive",(()=>{const e=ref([]);return{list:e,add:function(t){"string"==typeof t?!e.value.includes(t)&&e.value.push(t):t.forEach((t=>{t&&!e.value.includes(t)&&e.value.push(t)}))},remove:function(t){e.value="string"==typeof t?e.value.filter((e=>e!==t)):e.value.filter((e=>!t.includes(e)))},clean:function(){e.value=[]}}})),menus={meta:{title:"多级导航",icon:"heroicons-solid:menu-alt-3"},children:[{path:"/multilevel_menu_example/page",meta:{title:"导航1"}},{meta:{title:"导航2"},children:[{path:"/multilevel_menu_example/level2/page",meta:{title:"导航2-1"}},{meta:{title:"导航2-2"},children:[{path:"/multilevel_menu_example/level2/level3/page1",meta:{title:"导航2-2-1"}},{path:"/multilevel_menu_example/level2/level3/page2",meta:{title:"导航2-2-2"}}]}]}]},menu=[{meta:{title:"演示",icon:"uim:box"},children:[menus]}];var pathBrowserify,hasRequiredPathBrowserify;function requirePathBrowserify(){if(hasRequiredPathBrowserify)return pathBrowserify;function e(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function t(e,t){for(var n,o="",r=0,i=-1,a=0,l=0;l<=e.length;++l){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(i===l-1||1===a);else if(i!==l-1&&2===a){if(o.length<2||2!==r||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){var s=o.lastIndexOf("/");if(s!==o.length-1){-1===s?(o="",r=0):r=(o=o.slice(0,s)).length-1-o.lastIndexOf("/"),i=l,a=0;continue}}else if(2===o.length||1===o.length){o="",r=0,i=l,a=0;continue}t&&(o.length>0?o+="/..":o="..",r=2)}else o.length>0?o+="/"+e.slice(i+1,l):o=e.slice(i+1,l),r=l-i-1;i=l,a=0}else 46===n&&-1!==a?++a:a=-1}return o}hasRequiredPathBrowserify=1;var n={resolve:function(){for(var n,o="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a;i>=0?a=arguments[i]:(void 0===n&&(n=process.cwd()),a=n),e(a),0!==a.length&&(o=a+"/"+o,r=47===a.charCodeAt(0))}return o=t(o,!r),r?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(n){if(e(n),0===n.length)return".";var o=47===n.charCodeAt(0),r=47===n.charCodeAt(n.length-1);return 0!==(n=t(n,!o)).length||o||(n="."),n.length>0&&r&&(n+="/"),o?"/"+n:n},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,o=0;o<arguments.length;++o){var r=arguments[o];e(r),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":n.normalize(t)},relative:function(t,o){if(e(t),e(o),t===o)return"";if((t=n.resolve(t))===(o=n.resolve(o)))return"";for(var r=1;r<t.length&&47===t.charCodeAt(r);++r);for(var i=t.length,a=i-r,l=1;l<o.length&&47===o.charCodeAt(l);++l);for(var s=o.length-l,c=a<s?a:s,u=-1,d=0;d<=c;++d){if(d===c){if(s>c){if(47===o.charCodeAt(l+d))return o.slice(l+d+1);if(0===d)return o.slice(l+d)}else a>c&&(47===t.charCodeAt(r+d)?u=d:0===d&&(u=0));break}var p=t.charCodeAt(r+d);if(p!==o.charCodeAt(l+d))break;47===p&&(u=d)}var f="";for(d=r+u+1;d<=i;++d)d!==i&&47!==t.charCodeAt(d)||(0===f.length?f+="..":f+="/..");return f.length>0?f+o.slice(l+u):(l+=u,47===o.charCodeAt(l)&&++l,o.slice(l))},_makeLong:function(e){return e},dirname:function(t){if(e(t),0===t.length)return".";for(var n=t.charCodeAt(0),o=47===n,r=-1,i=!0,a=t.length-1;a>=1;--a)if(47===(n=t.charCodeAt(a))){if(!i){r=a;break}}else i=!1;return-1===r?o?"/":".":o&&1===r?"//":t.slice(0,r)},basename:function(t,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');e(t);var o,r=0,i=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var l=n.length-1,s=-1;for(o=t.length-1;o>=0;--o){var c=t.charCodeAt(o);if(47===c){if(!a){r=o+1;break}}else-1===s&&(a=!1,s=o+1),l>=0&&(c===n.charCodeAt(l)?-1==--l&&(i=o):(l=-1,i=s))}return r===i?i=s:-1===i&&(i=t.length),t.slice(r,i)}for(o=t.length-1;o>=0;--o)if(47===t.charCodeAt(o)){if(!a){r=o+1;break}}else-1===i&&(a=!1,i=o+1);return-1===i?"":t.slice(r,i)},extname:function(t){e(t);for(var n=-1,o=0,r=-1,i=!0,a=0,l=t.length-1;l>=0;--l){var s=t.charCodeAt(l);if(47!==s)-1===r&&(i=!1,r=l+1),46===s?-1===n?n=l:1!==a&&(a=1):-1!==n&&(a=-1);else if(!i){o=l+1;break}}return-1===n||-1===r||0===a||1===a&&n===r-1&&n===o+1?"":t.slice(n,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,o=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+o:n+e+o:o}("/",e)},parse:function(t){e(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var o,r=t.charCodeAt(0),i=47===r;i?(n.root="/",o=1):o=0;for(var a=-1,l=0,s=-1,c=!0,u=t.length-1,d=0;u>=o;--u)if(47!==(r=t.charCodeAt(u)))-1===s&&(c=!1,s=u+1),46===r?-1===a?a=u:1!==d&&(d=1):-1!==a&&(d=-1);else if(!c){l=u+1;break}return-1===a||-1===s||0===d||1===d&&a===s-1&&a===l+1?-1!==s&&(n.base=n.name=0===l&&i?t.slice(1,s):t.slice(l,s)):(0===l&&i?(n.name=t.slice(1,a),n.base=t.slice(1,s)):(n.name=t.slice(l,a),n.base=t.slice(l,s)),n.ext=t.slice(a,s)),l>0?n.dir=t.slice(0,l-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,pathBrowserify=n}var pathBrowserifyExports=requirePathBrowserify();const path=getDefaultExportFromCjs(pathBrowserifyExports);function resolveRoutePath(e,t){return e?path.resolve(e,t??""):t??""}const scriptRel="modulepreload",assetsURL=function(e,t){return new URL(e,t).href},seen={},__vitePreload=function(e,t,n){let o=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map((e=>Promise.resolve(e).then((e=>({status:"fulfilled",value:e})),(e=>({status:"rejected",reason:e}))))))};const r=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));o=e(t.map((e=>{if((e=assetsURL(e,n))in seen)return;seen[e]=!0;const t=e.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!n)for(let n=r.length-1;n>=0;n--){const o=r[n];if(o.href===e&&(!t||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${e}"]${o}`))return;const i=document.createElement("link");return i.rel=t?"stylesheet":scriptRel,t||(i.as="script"),i.crossOrigin="",i.href=e,a&&i.setAttribute("nonce",a),document.head.appendChild(i),t?new Promise(((t,n)=>{i.addEventListener("load",t),i.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0})))}function r(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then((t=>{for(const e of t||[])"rejected"===e.status&&r(e.reason);return e().catch(r)}))},apiDashboard={getBaseInfo:()=>api.get("/statistic/base"),getChatStatistic:e=>api.get("/statistic/chatStatistic",{params:{days:e.days}}),getBaiduVisit:e=>api.get("/statistic/baiduVisit",{params:{days:e.days}}),getObserverCharts:e=>api.get("/statistic/observerCharts",{params:e})};var extendStatics=function(e,t){return(extendStatics=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 __extends(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}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Browser=function(){return function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}}(),Env=function(){return function(){this.browser=new Browser,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}}(),env=new Env;function detect(e,t){var n=t.browser,o=e.match(/Firefox\/([\d.]+)/),r=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),i=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);o&&(n.firefox=!0,n.version=o[1]),r&&(n.ie=!0,n.version=r[1]),i&&(n.edge=!0,n.version=i[1],n.newEdge=+i[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 l=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in l||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(env.wxa=!0,env.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?env.worker=!0:!env.hasGlobalWindow||"Deno"in window?(env.node=!0,env.svgSupported=!0):detect(navigator.userAgent,env);var DEFAULT_FONT_SIZE=12,DEFAULT_FONT_FAMILY="sans-serif",DEFAULT_FONT=DEFAULT_FONT_SIZE+"px "+DEFAULT_FONT_FAMILY,OFFSET=20,SCALE=100,defaultWidthMapStr="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function getTextWidthMap(e){var t={};if("undefined"==typeof JSON)return t;for(var n=0;n<e.length;n++){var o=String.fromCharCode(n+32),r=(e.charCodeAt(n)-OFFSET)/SCALE;t[o]=r}return t}var DEFAULT_TEXT_WIDTH_MAP=getTextWidthMap(defaultWidthMapStr),platformApi={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,o){if(!e){var r=platformApi.createCanvas();e=r&&r.getContext("2d")}if(e)return t!==o&&(t=e.font=o||DEFAULT_FONT),e.measureText(n);n=n||"";var i=/((?:\d+)?\.?\d*)px/.exec(o=o||DEFAULT_FONT),a=i&&+i[1]||DEFAULT_FONT_SIZE,l=0;if(o.indexOf("mono")>=0)l=a*n.length;else for(var s=0;s<n.length;s++){var c=DEFAULT_TEXT_WIDTH_MAP[n[s]];l+=null==c?a:c*a}return{width:l}}}(),loadImage:function(e,t,n){var o=new Image;return o.onload=t,o.onerror=n,o.src=e,o}},BUILTIN_OBJECT=reduce(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),TYPED_ARRAY=reduce(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),objToString=Object.prototype.toString,arrayProto=Array.prototype,nativeForEach=arrayProto.forEach,nativeFilter=arrayProto.filter,nativeSlice=arrayProto.slice,nativeMap=arrayProto.map,ctorFunction=function(){}.constructor,protoFunction=ctorFunction?ctorFunction.prototype:null,protoKey="__proto__",idStart=2311;function guid(){return idStart++}function logError(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function clone$4(e){if(null==e||"object"!=typeof e)return e;var t=e,n=objToString.call(e);if("[object Array]"===n){if(!isPrimitive(e)){t=[];for(var o=0,r=e.length;o<r;o++)t[o]=clone$4(e[o])}}else if(TYPED_ARRAY[n]){if(!isPrimitive(e)){var i=e.constructor;if(i.from)t=i.from(e);else{t=new i(e.length);for(o=0,r=e.length;o<r;o++)t[o]=e[o]}}}else if(!BUILTIN_OBJECT[n]&&!isPrimitive(e)&&!isDom(e))for(var a in t={},e)e.hasOwnProperty(a)&&a!==protoKey&&(t[a]=clone$4(e[a]));return t}function merge$1(e,t,n){if(!isObject$4(t)||!isObject$4(e))return n?clone$4(t):e;for(var o in t)if(t.hasOwnProperty(o)&&o!==protoKey){var r=e[o],i=t[o];!isObject$4(i)||!isObject$4(r)||isArray$2(i)||isArray$2(r)||isDom(i)||isDom(r)||isBuiltInObject(i)||isBuiltInObject(r)||isPrimitive(i)||isPrimitive(r)?!n&&o in e||(e[o]=clone$4(t[o])):merge$1(r,i,n)}return e}function mergeAll(e,t){for(var n=e[0],o=1,r=e.length;o<r;o++)n=merge$1(n,e[o],t);return n}function extend$1(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==protoKey&&(e[n]=t[n]);return e}function defaults$1(e,t,n){for(var o=keys(t),r=0,i=o.length;r<i;r++){var a=o[r];(n?null!=t[a]:null==e[a])&&(e[a]=t[a])}return e}function indexOf(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n}return-1}function inherits$1(e,t){var n=e.prototype;function o(){}for(var r in o.prototype=t.prototype,e.prototype=new o,n)n.hasOwnProperty(r)&&(e.prototype[r]=n[r]);e.prototype.constructor=e,e.superClass=t}function mixin(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var o=Object.getOwnPropertyNames(t),r=0;r<o.length;r++){var i=o[r];"constructor"!==i&&(n?null!=t[i]:null==e[i])&&(e[i]=t[i])}else defaults$1(e,t,n)}function isArrayLike(e){return!!e&&("string"!=typeof e&&"number"==typeof e.length)}function each$f(e,t,n){if(e&&t)if(e.forEach&&e.forEach===nativeForEach)e.forEach(t,n);else if(e.length===+e.length)for(var o=0,r=e.length;o<r;o++)t.call(n,e[o],o,e);else for(var i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function map$1(e,t,n){if(!e)return[];if(!t)return slice(e);if(e.map&&e.map===nativeMap)return e.map(t,n);for(var o=[],r=0,i=e.length;r<i;r++)o.push(t.call(n,e[r],r,e));return o}function reduce(e,t,n,o){if(e&&t){for(var r=0,i=e.length;r<i;r++)n=t.call(o,n,e[r],r,e);return n}}function filter(e,t,n){if(!e)return[];if(!t)return slice(e);if(e.filter&&e.filter===nativeFilter)return e.filter(t,n);for(var o=[],r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)&&o.push(e[r]);return o}function find(e,t,n){if(e&&t)for(var o=0,r=e.length;o<r;o++)if(t.call(n,e[o],o,e))return e[o]}function keys(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}function bindPolyfill(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return function(){return e.apply(t,n.concat(nativeSlice.call(arguments)))}}var bind$2=protoFunction&&isFunction$2(protoFunction.bind)?protoFunction.call.bind(protoFunction.bind):bindPolyfill;function curry$1(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(nativeSlice.call(arguments)))}}function isArray$2(e){return Array.isArray?Array.isArray(e):"[object Array]"===objToString.call(e)}function isFunction$2(e){return"function"==typeof e}function isString$2(e){return"string"==typeof e}function isStringSafe(e){return"[object String]"===objToString.call(e)}function isNumber$2(e){return"number"==typeof e}function isObject$4(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function isBuiltInObject(e){return!!BUILTIN_OBJECT[objToString.call(e)]}function isTypedArray$1(e){return!!TYPED_ARRAY[objToString.call(e)]}function isDom(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function isGradientObject(e){return null!=e.colorStops}function isImagePatternObject(e){return null!=e.image}function isRegExp$1(e){return"[object RegExp]"===objToString.call(e)}function eqNaN(e){return e!=e}function retrieve(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,o=e.length;n<o;n++)if(null!=e[n])return e[n]}function retrieve2(e,t){return null!=e?e:t}function retrieve3(e,t,n){return null!=e?e:null!=t?t:n}function slice(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return nativeSlice.apply(e,t)}function normalizeCssArray$1(e){if("number"==typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function assert(e,t){if(!e)throw new Error(t)}function trim$2(e){return null==e?null:"function"==typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var primitiveKey="__ec_primitive__";function setAsPrimitive(e){e[primitiveKey]=!0}function isPrimitive(e){return e[primitiveKey]}var MapPolyfill=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 keys(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),isNativeMapSupported="function"==typeof Map;function maybeNativeMap(){return isNativeMapSupported?new Map:new MapPolyfill}var HashMap=function(){function e(t){var n=isArray$2(t);this.data=maybeNativeMap();var o=this;function r(e,t){n?o.set(e,t):o.set(t,e)}t instanceof e?t.each(r):t&&each$f(t,r)}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,o){e.call(t,n,o)}))},e.prototype.keys=function(){var e=this.data.keys();return isNativeMapSupported?Array.from(e):e},e.prototype.removeKey=function(e){this.data.delete(e)},e}();function createHashMap(e){return new HashMap(e)}function concatArray(e,t){for(var n=new e.constructor(e.length+t.length),o=0;o<e.length;o++)n[o]=e[o];var r=e.length;for(o=0;o<t.length;o++)n[o+r]=t[o];return n}function createObject(e,t){var n;if(Object.create)n=Object.create(e);else{var o=function(){};o.prototype=e,n=new o}return t&&extend$1(n,t),n}function disableUserSelect(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function hasOwn(e,t){return e.hasOwnProperty(t)}function noop$2(){}var RADIAN_TO_DEGREE=180/Math.PI;function create$2(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function copy$1(e,t){return e[0]=t[0],e[1]=t[1],e}function clone$3(e){return[e[0],e[1]]}function set$1(e,t,n){return e[0]=t,e[1]=n,e}function add(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function scaleAndAdd$1(e,t,n,o){return e[0]=t[0]+n[0]*o,e[1]=t[1]+n[1]*o,e}function sub(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function len(e){return Math.sqrt(lenSquare(e))}function lenSquare(e){return e[0]*e[0]+e[1]*e[1]}function scale$2(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function normalize$3(e,t){var n=len(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function distance(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var dist$1=distance;function distanceSquare(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var distSquare=distanceSquare;function lerp$1(e,t,n,o){return e[0]=t[0]+o*(n[0]-t[0]),e[1]=t[1]+o*(n[1]-t[1]),e}function applyTransform$1(e,t,n){var o=t[0],r=t[1];return e[0]=n[0]*o+n[2]*r+n[4],e[1]=n[1]*o+n[3]*r+n[5],e}function min$2(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function max$2(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var Param=function(){return function(e,t){this.target=e,this.topTarget=t&&t.topTarget}}(),Draggable=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 Param(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,o=e.offsetY,r=n-this._x,i=o-this._y;this._x=n,this._y=o,t.drift(r,i,e),this.handler.dispatchToElement(new Param(t,e),"drag",e.event);var a=this.handler.findHover(n,o,t).target,l=this._dropTarget;this._dropTarget=a,t!==a&&(l&&a!==l&&this.handler.dispatchToElement(new Param(l,e),"dragleave",e.event),a&&a!==l&&this.handler.dispatchToElement(new Param(a,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new Param(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Param(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}(),Eventful=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,o){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof t&&(o=n,n=t,t=null),!n||!e)return this;var i=this._$eventProcessor;null!=t&&i&&i.normalizeQuery&&(t=i.normalizeQuery(t)),r[e]||(r[e]=[]);for(var a=0;a<r[e].length;a++)if(r[e][a].h===n)return this;var l={h:n,query:t,ctx:o||this,callAtLast:n.zrEventfulCallAtLast},s=r[e].length-1,c=r[e][s];return c&&c.callAtLast?r[e].splice(s,0,l):r[e].push(l),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 o=[],r=0,i=n[e].length;r<i;r++)n[e][r].h!==t&&o.push(n[e][r]);n[e]=o}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 o=this._$handlers[e],r=this._$eventProcessor;if(o)for(var i=t.length,a=o.length,l=0;l<a;l++){var s=o[l];if(!r||!r.filter||null==s.query||r.filter(e,s.query))switch(i){case 0:s.h.call(s.ctx);break;case 1:s.h.call(s.ctx,t[0]);break;case 2:s.h.call(s.ctx,t[0],t[1]);break;default:s.h.apply(s.ctx,t)}}return r&&r.afterTrigger&&r.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 o=this._$handlers[e],r=this._$eventProcessor;if(o)for(var i=t.length,a=t[i-1],l=o.length,s=0;s<l;s++){var c=o[s];if(!r||!r.filter||null==c.query||r.filter(e,c.query))switch(i){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,i-1))}}return r&&r.afterTrigger&&r.afterTrigger(e),this},e}(),LN2=Math.log(2);function determinant(e,t,n,o,r,i){var a=o+"-"+r,l=e.length;if(i.hasOwnProperty(a))return i[a];if(1===t){var s=Math.round(Math.log((1<<l)-1&~r)/LN2);return e[n][s]}for(var c=o|1<<n,u=n+1;o&1<<u;)u++;for(var d=0,p=0,f=0;p<l;p++){var h=1<<p;h&r||(d+=(f%2?-1:1)*e[n][p]*determinant(e,t-1,u,c,r|h,i),f++)}return i[a]=d,d}function buildTransformer(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]]],o={},r=determinant(n,8,0,0,0,o);if(0!==r){for(var i=[],a=0;a<8;a++)for(var l=0;l<8;l++)null==i[l]&&(i[l]=0),i[l]+=((a+l)%2?-1:1)*determinant(n,7,0===a?1:0,1<<a,1<<l,o)/r*t[a];return function(e,t,n){var o=t*i[6]+n*i[7]+1;e[0]=(t*i[0]+n*i[1]+i[2])/o,e[1]=(t*i[3]+n*i[4]+i[5])/o}}}var EVENT_SAVED_PROP="___zrEVENTSAVED",_calcOut$1=[];function transformLocalCoord(e,t,n,o,r){return transformCoordWithViewport(_calcOut$1,t,o,r,!0)&&transformCoordWithViewport(e,n,_calcOut$1[0],_calcOut$1[1])}function transformCoordWithViewport(e,t,n,o,r){if(t.getBoundingClientRect&&env.domSupported&&!isCanvasEl(t)){var i=t[EVENT_SAVED_PROP]||(t[EVENT_SAVED_PROP]={}),a=preparePointerTransformer(prepareCoordMarkers(t,i),i,r);if(a)return a(e,n,o),!0}return!1}function prepareCoordMarkers(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var o=["left","right"],r=["top","bottom"],i=0;i<4;i++){var a=document.createElement("div"),l=i%2,s=(i>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",o[l]+":0",r[s]+":0",o[1-l]+":auto",r[1-s]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function preparePointerTransformer(e,t,n){for(var o=n?"invTrans":"trans",r=t[o],i=t.srcCoords,a=[],l=[],s=!0,c=0;c<4;c++){var u=e[c].getBoundingClientRect(),d=2*c,p=u.left,f=u.top;a.push(p,f),s=s&&i&&p===i[d]&&f===i[d+1],l.push(e[c].offsetLeft,e[c].offsetTop)}return s&&r?r:(t.srcCoords=a,t[o]=n?buildTransformer(l,a):buildTransformer(a,l))}function isCanvasEl(e){return"CANVAS"===e.nodeName.toUpperCase()}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&","<":"<",">":">",'"':""","'":"'"};function encodeHTML(e){return null==e?"":(e+"").replace(replaceReg,(function(e,t){return replaceMap[t]}))}var MOUSE_EVENT_REG=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_calcOut=[],firefoxNotSupportOffsetXY=env.browser.firefox&&+env.browser.version.split(".")[0]<39;function clientToLocal(e,t,n,o){return n=n||{},o?calculateZrXY(e,t,n):firefoxNotSupportOffsetXY&&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):calculateZrXY(e,t,n),n}function calculateZrXY(e,t,n){if(env.domSupported&&e.getBoundingClientRect){var o=t.clientX,r=t.clientY;if(isCanvasEl(e)){var i=e.getBoundingClientRect();return n.zrX=o-i.left,void(n.zrY=r-i.top)}if(transformCoordWithViewport(_calcOut,e,o,r))return n.zrX=_calcOut[0],void(n.zrY=_calcOut[1])}n.zrX=n.zrY=0}function getNativeEvent(e){return e||window.event}function normalizeEvent(e,t,n){if(null!=(t=getNativeEvent(t)).zrX)return t;var o=t.type;if(o&&o.indexOf("touch")>=0){var r="touchend"!==o?t.targetTouches[0]:t.changedTouches[0];r&&clientToLocal(e,r,t,n)}else{clientToLocal(e,t,t,n);var i=getWheelDeltaMayPolyfill(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var a=t.button;return null==t.which&&void 0!==a&&MOUSE_EVENT_REG.test(t.type)&&(t.which=1&a?1:2&a?3:4&a?2:0),t}function getWheelDeltaMayPolyfill(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,o=e.deltaY;return null==n||null==o?t:3*(0!==o?Math.abs(o):Math.abs(n))*(o>0?-1:o<0?1:n>0?-1:1)}function addEventListener(e,t,n,o){e.addEventListener(t,n,o)}function removeEventListener(e,t,n,o){e.removeEventListener(t,n,o)}var stop=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function isMiddleOrRightButtonOnMouseUpDown(e){return 2===e.which||3===e.which}var GestureMgr=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 o=e.touches;if(o){for(var r={points:[],touches:[],target:t,event:e},i=0,a=o.length;i<a;i++){var l=o[i],s=clientToLocal(n,l,{});r.points.push([s.zrX,s.zrY]),r.touches.push(l)}this._track.push(r)}},e.prototype._recognize=function(e){for(var t in recognizers)if(recognizers.hasOwnProperty(t)){var n=recognizers[t](this._track,e);if(n)return n}},e}();function dist(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function center$1(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var recognizers={pinch:function(e,t){var n=e.length;if(n){var o=(e[n-1]||{}).points,r=(e[n-2]||{}).points||o;if(r&&r.length>1&&o&&o.length>1){var i=dist(o)/dist(r);!isFinite(i)&&(i=1),t.pinchScale=i;var a=center$1(o);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}};function create$1(){return[1,0,0,1,0,0]}function identity$1(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function copy(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 mul(e,t,n){var o=t[0]*n[0]+t[2]*n[1],r=t[1]*n[0]+t[3]*n[1],i=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],l=t[0]*n[4]+t[2]*n[5]+t[4],s=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=o,e[1]=r,e[2]=i,e[3]=a,e[4]=l,e[5]=s,e}function translate$1(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 rotate(e,t,n,o){void 0===o&&(o=[0,0]);var r=t[0],i=t[2],a=t[4],l=t[1],s=t[3],c=t[5],u=Math.sin(n),d=Math.cos(n);return e[0]=r*d+l*u,e[1]=-r*u+l*d,e[2]=i*d+s*u,e[3]=-i*u+d*s,e[4]=d*(a-o[0])+u*(c-o[1])+o[0],e[5]=d*(c-o[1])-u*(a-o[0])+o[1],e}function scale$1(e,t,n){var o=n[0],r=n[1];return e[0]=t[0]*o,e[1]=t[1]*r,e[2]=t[2]*o,e[3]=t[3]*r,e[4]=t[4]*o,e[5]=t[5]*r,e}function invert(e,t){var n=t[0],o=t[2],r=t[4],i=t[1],a=t[3],l=t[5],s=n*a-i*o;return s?(s=1/s,e[0]=a*s,e[1]=-i*s,e[2]=-o*s,e[3]=n*s,e[4]=(o*l-a*r)*s,e[5]=(i*r-n*l)*s,e):null}function clone$2(e){var t=create$1();return copy(t,e),t}var Point=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,o){e.x=t.x+n.x*o,e.y=t.y+n.y*o},e.lerp=function(e,t,n,o){var r=1-o;e.x=r*t.x+o*n.x,e.y=r*t.y+o*n.y},e}(),mathMin$a=Math.min,mathMax$a=Math.max,lt$1=new Point,rb=new Point,lb=new Point,rt$1=new Point,minTv$1=new Point,maxTv$1=new Point,BoundingRect=function(){function e(e,t,n,o){n<0&&(e+=n,n=-n),o<0&&(t+=o,o=-o),this.x=e,this.y=t,this.width=n,this.height=o}return e.prototype.union=function(e){var t=mathMin$a(e.x,this.x),n=mathMin$a(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$a(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$a(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,o=e.height/t.height,r=create$1();return translate$1(r,r,[-t.x,-t.y]),scale$1(r,r,[n,o]),translate$1(r,r,[e.x,e.y]),r},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var o=this,r=o.x,i=o.x+o.width,a=o.y,l=o.y+o.height,s=t.x,c=t.x+t.width,u=t.y,d=t.y+t.height,p=!(i<s||c<r||l<u||d<a);if(n){var f=1/0,h=0,m=Math.abs(i-s),g=Math.abs(c-r),v=Math.abs(l-u),y=Math.abs(d-a),b=Math.min(m,g),_=Math.min(v,y);i<s||c<r?b>h&&(h=b,m<g?Point.set(maxTv$1,-m,0):Point.set(maxTv$1,g,0)):b<f&&(f=b,m<g?Point.set(minTv$1,m,0):Point.set(minTv$1,-g,0)),l<u||d<a?_>h&&(h=_,v<y?Point.set(maxTv$1,0,-v):Point.set(maxTv$1,0,y)):b<f&&(f=b,v<y?Point.set(minTv$1,0,v):Point.set(minTv$1,0,-y))}return n&&Point.copy(n,p?minTv$1:maxTv$1),p},e.prototype.contain=function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.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,o){if(o){if(o[1]<1e-5&&o[1]>-1e-5&&o[2]<1e-5&&o[2]>-1e-5){var r=o[0],i=o[3],a=o[4],l=o[5];return t.x=n.x*r+a,t.y=n.y*i+l,t.width=n.width*r,t.height=n.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}lt$1.x=lb.x=n.x,lt$1.y=rt$1.y=n.y,rb.x=rt$1.x=n.x+n.width,rb.y=lb.y=n.y+n.height,lt$1.transform(o),rt$1.transform(o),rb.transform(o),lb.transform(o),t.x=mathMin$a(lt$1.x,rb.x,lb.x,rt$1.x),t.y=mathMin$a(lt$1.y,rb.y,lb.y,rt$1.y);var s=mathMax$a(lt$1.x,rb.x,lb.x,rt$1.x),c=mathMax$a(lt$1.y,rb.y,lb.y,rt$1.y);t.width=s-t.x,t.height=c-t.y}else t!==n&&e.copy(t,n)},e}(),SILENT="silent";function makeEventPacket(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:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return __extends(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Eventful),HoveredResult=function(){return function(e,t){this.x=e,this.y=t}}(),handlerNames=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],tmpRect$1=new BoundingRect(0,0,0,0),Handler=function(e){function t(t,n,o,r,i){var a=e.call(this)||this;return a._hovered=new HoveredResult(0,0),a.storage=t,a.painter=n,a.painterRoot=r,a._pointerSize=i,o=o||new EmptyProxy,a.proxy=null,a.setHandlerProxy(o),a._draggingMgr=new Draggable(a),a}return __extends(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(each$f(handlerNames,(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,o=isOutsideBoundary(this,t,n),r=this._hovered,i=r.target;i&&!i.__zr&&(i=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=o?new HoveredResult(t,n):this.findHover(t,n),l=a.target,s=this.proxy;s.setCursor&&s.setCursor(l?l.cursor:"default"),i&&l!==i&&this.dispatchToElement(r,"mouseout",e),this.dispatchToElement(a,"mousemove",e),l&&l!==i&&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 HoveredResult(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 o=(e=e||{}).target;if(!o||!o.silent){for(var r="on"+t,i=makeEventPacket(t,e,n);o&&(o[r]&&(i.cancelBubble=!!o[r].call(o,i)),o.trigger(t,i),o=o.__hostTarget?o.__hostTarget:o.parent,!i.cancelBubble););i.cancelBubble||(this.trigger(t,i),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"==typeof e[r]&&e[r].call(e,i),e.trigger&&e.trigger(t,i)})))}},t.prototype.findHover=function(e,t,n){var o=this.storage.getDisplayList(),r=new HoveredResult(e,t);if(setHoverTarget(o,r,e,t,n),this._pointerSize&&!r.target){for(var i=[],a=this._pointerSize,l=a/2,s=new BoundingRect(e-l,t-l,a,a),c=o.length-1;c>=0;c--){var u=o[c];u===n||u.ignore||u.ignoreCoarsePointer||u.parent&&u.parent.ignoreCoarsePointer||(tmpRect$1.copy(u.getBoundingRect()),u.transform&&tmpRect$1.applyTransform(u.transform),tmpRect$1.intersect(s)&&i.push(u))}if(i.length)for(var d=Math.PI/12,p=2*Math.PI,f=0;f<l;f+=4)for(var h=0;h<p;h+=d){if(setHoverTarget(i,r,e+f*Math.cos(h),t+f*Math.sin(h),n),r.target)return r}}return r},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new GestureMgr);var n=this._gestureMgr;"start"===t&&n.clear();var o=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),o){var r=o.type;e.gestureEvent=r;var i=new HoveredResult;i.target=o.target,this.dispatchToElement(i,r,o.event)}},t}(Eventful);function isHover(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var o=e,r=void 0,i=!1;o;){if(o.ignoreClip&&(i=!0),!i){var a=o.getClipPath();if(a&&!a.contain(t,n))return!1}o.silent&&(r=!0);var l=o.__hostTarget;o=l||o.parent}return!r||SILENT}return!1}function setHoverTarget(e,t,n,o,r){for(var i=e.length-1;i>=0;i--){var a=e[i],l=void 0;if(a!==r&&!a.ignore&&(l=isHover(a,n,o))&&(!t.topTarget&&(t.topTarget=a),l!==SILENT)){t.target=a;break}}}function isOutsideBoundary(e,t,n){var o=e.painter;return t<0||t>o.getWidth()||n<0||n>o.getHeight()}each$f(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){Handler.prototype[e]=function(t){var n,o,r=t.zrX,i=t.zrY,a=isOutsideBoundary(this,r,i);if("mouseup"===e&&a||(o=(n=this.findHover(r,i)).target),"mousedown"===e)this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if("mouseup"===e)this._upEl=o;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||dist$1(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));var DEFAULT_MIN_MERGE=32,DEFAULT_MIN_GALLOPING=7;function minRunLength(e){for(var t=0;e>=DEFAULT_MIN_MERGE;)t|=1&e,e>>=1;return e+t}function makeAscendingRun(e,t,n,o){var r=t+1;if(r===n)return 1;if(o(e[r++],e[t])<0){for(;r<n&&o(e[r],e[r-1])<0;)r++;reverseRun(e,t,r)}else for(;r<n&&o(e[r],e[r-1])>=0;)r++;return r-t}function reverseRun(e,t,n){for(n--;t<n;){var o=e[t];e[t++]=e[n],e[n--]=o}}function binaryInsertionSort(e,t,n,o,r){for(o===t&&o++;o<n;o++){for(var i,a=e[o],l=t,s=o;l<s;)r(a,e[i=l+s>>>1])<0?s=i:l=i+1;var c=o-l;switch(c){case 3:e[l+3]=e[l+2];case 2:e[l+2]=e[l+1];case 1:e[l+1]=e[l];break;default:for(;c>0;)e[l+c]=e[l+c-1],c--}e[l]=a}}function gallopLeft(e,t,n,o,r,i){var a=0,l=0,s=1;if(i(e,t[n+r])>0){for(l=o-r;s<l&&i(e,t[n+r+s])>0;)a=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l),a+=r,s+=r}else{for(l=r+1;s<l&&i(e,t[n+r-s])<=0;)a=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l);var c=a;a=r-s,s=r-c}for(a++;a<s;){var u=a+(s-a>>>1);i(e,t[n+u])>0?a=u+1:s=u}return s}function gallopRight(e,t,n,o,r,i){var a=0,l=0,s=1;if(i(e,t[n+r])<0){for(l=r+1;s<l&&i(e,t[n+r-s])<0;)a=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l);var c=a;a=r-s,s=r-c}else{for(l=o-r;s<l&&i(e,t[n+r+s])>=0;)a=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l),a+=r,s+=r}for(a++;a<s;){var u=a+(s-a>>>1);i(e,t[n+u])<0?s=u:a=u+1}return s}function TimSort(e,t){var n,o,r=DEFAULT_MIN_GALLOPING,i=0,a=[];function l(l){var s=n[l],c=o[l],u=n[l+1],d=o[l+1];o[l]=c+d,l===i-3&&(n[l+1]=n[l+2],o[l+1]=o[l+2]),i--;var p=gallopRight(e[u],e,s,c,0,t);s+=p,0!==(c-=p)&&0!==(d=gallopLeft(e[s+c-1],e,u,d,d-1,t))&&(c<=d?function(n,o,i,l){var s=0;for(s=0;s<o;s++)a[s]=e[n+s];var c=0,u=i,d=n;if(e[d++]=e[u++],0==--l){for(s=0;s<o;s++)e[d+s]=a[c+s];return}if(1===o){for(s=0;s<l;s++)e[d+s]=e[u+s];return void(e[d+l]=a[c])}var p,f,h,m=r;for(;;){p=0,f=0,h=!1;do{if(t(e[u],a[c])<0){if(e[d++]=e[u++],f++,p=0,0==--l){h=!0;break}}else if(e[d++]=a[c++],p++,f=0,1==--o){h=!0;break}}while((p|f)<m);if(h)break;do{if(0!==(p=gallopRight(e[u],a,c,o,0,t))){for(s=0;s<p;s++)e[d+s]=a[c+s];if(d+=p,c+=p,(o-=p)<=1){h=!0;break}}if(e[d++]=e[u++],0==--l){h=!0;break}if(0!==(f=gallopLeft(a[c],e,u,l,0,t))){for(s=0;s<f;s++)e[d+s]=e[u+s];if(d+=f,u+=f,0===(l-=f)){h=!0;break}}if(e[d++]=a[c++],1==--o){h=!0;break}m--}while(p>=DEFAULT_MIN_GALLOPING||f>=DEFAULT_MIN_GALLOPING);if(h)break;m<0&&(m=0),m+=2}if((r=m)<1&&(r=1),1===o){for(s=0;s<l;s++)e[d+s]=e[u+s];e[d+l]=a[c]}else{if(0===o)throw new Error;for(s=0;s<o;s++)e[d+s]=a[c+s]}}(s,c,u,d):function(n,o,i,l){var s=0;for(s=0;s<l;s++)a[s]=e[i+s];var c=n+o-1,u=l-1,d=i+l-1,p=0,f=0;if(e[d--]=e[c--],0==--o){for(p=d-(l-1),s=0;s<l;s++)e[p+s]=a[s];return}if(1===l){for(f=(d-=o)+1,p=(c-=o)+1,s=o-1;s>=0;s--)e[f+s]=e[p+s];return void(e[d]=a[u])}var h=r;for(;;){var m=0,g=0,v=!1;do{if(t(a[u],e[c])<0){if(e[d--]=e[c--],m++,g=0,0==--o){v=!0;break}}else if(e[d--]=a[u--],g++,m=0,1==--l){v=!0;break}}while((m|g)<h);if(v)break;do{if(0!==(m=o-gallopRight(a[u],e,n,o,o-1,t))){for(o-=m,f=(d-=m)+1,p=(c-=m)+1,s=m-1;s>=0;s--)e[f+s]=e[p+s];if(0===o){v=!0;break}}if(e[d--]=a[u--],1==--l){v=!0;break}if(0!==(g=l-gallopLeft(e[c],a,0,l,l-1,t))){for(l-=g,f=(d-=g)+1,p=(u-=g)+1,s=0;s<g;s++)e[f+s]=a[p+s];if(l<=1){v=!0;break}}if(e[d--]=e[c--],0==--o){v=!0;break}h--}while(m>=DEFAULT_MIN_GALLOPING||g>=DEFAULT_MIN_GALLOPING);if(v)break;h<0&&(h=0),h+=2}(r=h)<1&&(r=1);if(1===l){for(f=(d-=o)+1,p=(c-=o)+1,s=o-1;s>=0;s--)e[f+s]=e[p+s];e[d]=a[u]}else{if(0===l)throw new Error;for(p=d-(l-1),s=0;s<l;s++)e[p+s]=a[s]}}(s,c,u,d))}return n=[],o=[],{mergeRuns:function(){for(;i>1;){var e=i-2;if(e>=1&&o[e-1]<=o[e]+o[e+1]||e>=2&&o[e-2]<=o[e]+o[e-1])o[e-1]<o[e+1]&&e--;else if(o[e]>o[e+1])break;l(e)}},forceMergeRuns:function(){for(;i>1;){var e=i-2;e>0&&o[e-1]<o[e+1]&&e--,l(e)}},pushRun:function(e,t){n[i]=e,o[i]=t,i+=1}}}function sort$2(e,t,n,o){n||(n=0),o||(o=e.length);var r=o-n;if(!(r<2)){var i=0;if(r<DEFAULT_MIN_MERGE)binaryInsertionSort(e,n,o,n+(i=makeAscendingRun(e,n,o,t)),t);else{var a=TimSort(e,t),l=minRunLength(r);do{if((i=makeAscendingRun(e,n,o,t))<l){var s=r;s>l&&(s=l),binaryInsertionSort(e,n,n+s,n+i,t),i=s}a.pushRun(n,i),a.mergeRuns(),r-=i,n+=i}while(0!==r);a.forceMergeRuns()}}}var REDRAW_BIT=1,STYLE_CHANGED_BIT=2,SHAPE_CHANGED_BIT=4,invalidZErrorLogged=!1;function logInvalidZError(){invalidZErrorLogged||(invalidZErrorLogged=!0)}function shapeCompareFunc(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Storage=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}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,o=0,r=t.length;o<r;o++)this._updateAndAddDisplayable(t[o],null,e);n.length=this._displayListLen,sort$2(n,shapeCompareFunc)},e.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var o=e.getClipPath();if(e.ignoreClip)t=null;else if(o){t=t?t.slice():[];for(var r=o,i=e;r;)r.parent=i,r.updateTransform(),t.push(r),i=r,r=r.getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),l=0;l<a.length;l++){var s=a[l];e.__dirty&&(s.__dirty|=REDRAW_BIT),this._updateAndAddDisplayable(s,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)&&(logInvalidZError(),c.z=0),isNaN(c.z2)&&(logInvalidZError(),c.z2=0),isNaN(c.zlevel)&&(logInvalidZError(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var u=e.getDecalElement&&e.getDecalElement();u&&this._updateAndAddDisplayable(u,t,n);var d=e.getTextGuideLine();d&&this._updateAndAddDisplayable(d,t,n);var p=e.getTextContent();p&&this._updateAndAddDisplayable(p,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 o=indexOf(this._roots,e);o>=0&&this._roots.splice(o,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}(),requestAnimationFrame$2;requestAnimationFrame$2=env.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var easingFuncs={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,o=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=o*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/o)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/o)*.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-easingFuncs.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*easingFuncs.bounceIn(2*e):.5*easingFuncs.bounceOut(2*e-1)+.5}},mathPow$2=Math.pow,mathSqrt$3=Math.sqrt,EPSILON$4=1e-8,EPSILON_NUMERIC=1e-4,THREE_SQRT=mathSqrt$3(3),ONE_THIRD=1/3,_v0=create$2(),_v1=create$2(),_v2=create$2();function isAroundZero$1(e){return e>-1e-8&&e<EPSILON$4}function isNotAroundZero$1(e){return e>EPSILON$4||e<-1e-8}function cubicAt(e,t,n,o,r){var i=1-r;return i*i*(i*e+3*r*t)+r*r*(r*o+3*i*n)}function cubicDerivativeAt(e,t,n,o,r){var i=1-r;return 3*(((t-e)*i+2*(n-t)*r)*i+(o-n)*r*r)}function cubicRootAt(e,t,n,o,r,i){var a=o+3*(t-n)-e,l=3*(n-2*t+e),s=3*(t-e),c=e-r,u=l*l-3*a*s,d=l*s-9*a*c,p=s*s-3*l*c,f=0;if(isAroundZero$1(u)&&isAroundZero$1(d)){if(isAroundZero$1(l))i[0]=0;else(S=-s/l)>=0&&S<=1&&(i[f++]=S)}else{var h=d*d-4*u*p;if(isAroundZero$1(h)){var m=d/u,g=-m/2;(S=-l/a+m)>=0&&S<=1&&(i[f++]=S),g>=0&&g<=1&&(i[f++]=g)}else if(h>0){var v=mathSqrt$3(h),y=u*l+1.5*a*(-d+v),b=u*l+1.5*a*(-d-v);(S=(-l-((y=y<0?-mathPow$2(-y,ONE_THIRD):mathPow$2(y,ONE_THIRD))+(b=b<0?-mathPow$2(-b,ONE_THIRD):mathPow$2(b,ONE_THIRD))))/(3*a))>=0&&S<=1&&(i[f++]=S)}else{var _=(2*u*l-3*a*d)/(2*mathSqrt$3(u*u*u)),w=Math.acos(_)/3,k=mathSqrt$3(u),x=Math.cos(w),S=(-l-2*k*x)/(3*a),C=(g=(-l+k*(x+THREE_SQRT*Math.sin(w)))/(3*a),(-l+k*(x-THREE_SQRT*Math.sin(w)))/(3*a));S>=0&&S<=1&&(i[f++]=S),g>=0&&g<=1&&(i[f++]=g),C>=0&&C<=1&&(i[f++]=C)}}return f}function cubicExtrema(e,t,n,o,r){var i=6*n-12*t+6*e,a=9*t+3*o-3*e-9*n,l=3*t-3*e,s=0;if(isAroundZero$1(a)){if(isNotAroundZero$1(i))(u=-l/i)>=0&&u<=1&&(r[s++]=u)}else{var c=i*i-4*a*l;if(isAroundZero$1(c))r[0]=-i/(2*a);else if(c>0){var u,d=mathSqrt$3(c),p=(-i-d)/(2*a);(u=(-i+d)/(2*a))>=0&&u<=1&&(r[s++]=u),p>=0&&p<=1&&(r[s++]=p)}}return s}function cubicSubdivide(e,t,n,o,r,i){var a=(t-e)*r+e,l=(n-t)*r+t,s=(o-n)*r+n,c=(l-a)*r+a,u=(s-l)*r+l,d=(u-c)*r+c;i[0]=e,i[1]=a,i[2]=c,i[3]=d,i[4]=d,i[5]=u,i[6]=s,i[7]=o}function cubicProjectPoint(e,t,n,o,r,i,a,l,s,c,u){var d,p,f,h,m,g=.005,v=1/0;_v0[0]=s,_v0[1]=c;for(var y=0;y<1;y+=.05)_v1[0]=cubicAt(e,n,r,a,y),_v1[1]=cubicAt(t,o,i,l,y),(h=distSquare(_v0,_v1))<v&&(d=y,v=h);v=1/0;for(var b=0;b<32&&!(g<EPSILON_NUMERIC);b++)p=d-g,f=d+g,_v1[0]=cubicAt(e,n,r,a,p),_v1[1]=cubicAt(t,o,i,l,p),h=distSquare(_v1,_v0),p>=0&&h<v?(d=p,v=h):(_v2[0]=cubicAt(e,n,r,a,f),_v2[1]=cubicAt(t,o,i,l,f),m=distSquare(_v2,_v0),f<=1&&m<v?(d=f,v=m):g*=.5);return u&&(u[0]=cubicAt(e,n,r,a,d),u[1]=cubicAt(t,o,i,l,d)),mathSqrt$3(v)}function cubicLength(e,t,n,o,r,i,a,l,s){for(var c=e,u=t,d=0,p=1/s,f=1;f<=s;f++){var h=f*p,m=cubicAt(e,n,r,a,h),g=cubicAt(t,o,i,l,h),v=m-c,y=g-u;d+=Math.sqrt(v*v+y*y),c=m,u=g}return d}function quadraticAt$1(e,t,n,o){var r=1-o;return r*(r*e+2*o*t)+o*o*n}function quadraticDerivativeAt(e,t,n,o){return 2*((1-o)*(t-e)+o*(n-t))}function quadraticRootAt(e,t,n,o,r){var i=e-2*t+n,a=2*(t-e),l=e-o,s=0;if(isAroundZero$1(i)){if(isNotAroundZero$1(a))(u=-l/a)>=0&&u<=1&&(r[s++]=u)}else{var c=a*a-4*i*l;if(isAroundZero$1(c))(u=-a/(2*i))>=0&&u<=1&&(r[s++]=u);else if(c>0){var u,d=mathSqrt$3(c),p=(-a-d)/(2*i);(u=(-a+d)/(2*i))>=0&&u<=1&&(r[s++]=u),p>=0&&p<=1&&(r[s++]=p)}}return s}function quadraticExtremum(e,t,n){var o=e+n-2*t;return 0===o?.5:(e-t)/o}function quadraticSubdivide(e,t,n,o,r){var i=(t-e)*o+e,a=(n-t)*o+t,l=(a-i)*o+i;r[0]=e,r[1]=i,r[2]=l,r[3]=l,r[4]=a,r[5]=n}function quadraticProjectPoint(e,t,n,o,r,i,a,l,s){var c,u=.005,d=1/0;_v0[0]=a,_v0[1]=l;for(var p=0;p<1;p+=.05){_v1[0]=quadraticAt$1(e,n,r,p),_v1[1]=quadraticAt$1(t,o,i,p),(g=distSquare(_v0,_v1))<d&&(c=p,d=g)}d=1/0;for(var f=0;f<32&&!(u<EPSILON_NUMERIC);f++){var h=c-u,m=c+u;_v1[0]=quadraticAt$1(e,n,r,h),_v1[1]=quadraticAt$1(t,o,i,h);var g=distSquare(_v1,_v0);if(h>=0&&g<d)c=h,d=g;else{_v2[0]=quadraticAt$1(e,n,r,m),_v2[1]=quadraticAt$1(t,o,i,m);var v=distSquare(_v2,_v0);m<=1&&v<d?(c=m,d=v):u*=.5}}return s&&(s[0]=quadraticAt$1(e,n,r,c),s[1]=quadraticAt$1(t,o,i,c)),mathSqrt$3(d)}function quadraticLength(e,t,n,o,r,i,a){for(var l=e,s=t,c=0,u=1/a,d=1;d<=a;d++){var p=d*u,f=quadraticAt$1(e,n,r,p),h=quadraticAt$1(t,o,i,p),m=f-l,g=h-s;c+=Math.sqrt(m*m+g*g),l=f,s=h}return c}var regexp=/cubic-bezier\(([0-9,\.e ]+)\)/;function createCubicEasingFunc(e){var t=e&®exp.exec(e);if(t){var n=t[1].split(","),o=+trim$2(n[0]),r=+trim$2(n[1]),i=+trim$2(n[2]),a=+trim$2(n[3]);if(isNaN(o+r+i+a))return;var l=[];return function(e){return e<=0?0:e>=1?1:cubicRootAt(0,o,i,1,e,l)&&cubicAt(0,r,a,1,l[0])}}}var Clip=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||noop$2,this.ondestroy=e.ondestroy||noop$2,this.onrestart=e.onrestart||noop$2,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,o=e-this._startTime-this._pausedTime,r=o/n;r<0&&(r=0),r=Math.min(r,1);var i=this.easingFunc,a=i?i(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var l=o%n;this._startTime=e-l,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=isFunction$2(e)?e:easingFuncs[e]||createCubicEasingFunc(e)},e}(),Entry=function(){return function(e){this.value=e}}(),LinkedList=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new Entry(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}(),LRU=function(){function e(e){this._list=new LinkedList,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,o=this._map,r=null;if(null==o[e]){var i=n.len(),a=this._lastRemovedEntry;if(i>=this._maxSize&&i>0){var l=n.head;n.remove(l),delete o[l.key],r=l.value,this._lastRemovedEntry=l}a?a.value=t:a=new Entry(t),a.key=e,n.insertEntry(a),o[e]=a}return r},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}(),kCSSColorTable={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 clampCssByte(e){return(e=Math.round(e))<0?0:e>255?255:e}function clampCssAngle(e){return(e=Math.round(e))<0?0:e>360?360:e}function clampCssFloat(e){return e<0?0:e>1?1:e}function parseCssInt(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?clampCssByte(parseFloat(t)/100*255):clampCssByte(parseInt(t,10))}function parseCssFloat(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?clampCssFloat(parseFloat(t)/100):clampCssFloat(parseFloat(t))}function cssHueToRgb(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 lerpNumber(e,t,n){return e+(t-e)*n}function setRgba(e,t,n,o,r){return e[0]=t,e[1]=n,e[2]=o,e[3]=r,e}function copyRgba(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var colorCache=new LRU(20),lastRemovedArr=null;function putToCache(e,t){lastRemovedArr&©Rgba(lastRemovedArr,t),lastRemovedArr=colorCache.put(e,lastRemovedArr||t.slice())}function parse(e,t){if(e){t=t||[];var n=colorCache.get(e);if(n)return copyRgba(t,n);var o=(e+="").replace(/ /g,"").toLowerCase();if(o in kCSSColorTable)return copyRgba(t,kCSSColorTable[o]),putToCache(e,t),t;var r,i=o.length;if("#"===o.charAt(0))return 4===i||5===i?(r=parseInt(o.slice(1,4),16))>=0&&r<=4095?(setRgba(t,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===i?parseInt(o.slice(4),16)/15:1),putToCache(e,t),t):void setRgba(t,0,0,0,1):7===i||9===i?(r=parseInt(o.slice(1,7),16))>=0&&r<=16777215?(setRgba(t,(16711680&r)>>16,(65280&r)>>8,255&r,9===i?parseInt(o.slice(7),16)/255:1),putToCache(e,t),t):void setRgba(t,0,0,0,1):void 0;var a=o.indexOf("("),l=o.indexOf(")");if(-1!==a&&l+1===i){var s=o.substr(0,a),c=o.substr(a+1,l-(a+1)).split(","),u=1;switch(s){case"rgba":if(4!==c.length)return 3===c.length?setRgba(t,+c[0],+c[1],+c[2],1):setRgba(t,0,0,0,1);u=parseCssFloat(c.pop());case"rgb":return c.length>=3?(setRgba(t,parseCssInt(c[0]),parseCssInt(c[1]),parseCssInt(c[2]),3===c.length?u:parseCssFloat(c[3])),putToCache(e,t),t):void setRgba(t,0,0,0,1);case"hsla":return 4!==c.length?void setRgba(t,0,0,0,1):(c[3]=parseCssFloat(c[3]),hsla2rgba(c,t),putToCache(e,t),t);case"hsl":return 3!==c.length?void setRgba(t,0,0,0,1):(hsla2rgba(c,t),putToCache(e,t),t);default:return}}setRgba(t,0,0,0,1)}}function hsla2rgba(e,t){var n=(parseFloat(e[0])%360+360)%360/360,o=parseCssFloat(e[1]),r=parseCssFloat(e[2]),i=r<=.5?r*(o+1):r+o-r*o,a=2*r-i;return setRgba(t=t||[],clampCssByte(255*cssHueToRgb(a,i,n+1/3)),clampCssByte(255*cssHueToRgb(a,i,n)),clampCssByte(255*cssHueToRgb(a,i,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function rgba2hsla(e){if(e){var t,n,o=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.min(o,r,i),l=Math.max(o,r,i),s=l-a,c=(l+a)/2;if(0===s)t=0,n=0;else{n=c<.5?s/(l+a):s/(2-l-a);var u=((l-o)/6+s/2)/s,d=((l-r)/6+s/2)/s,p=((l-i)/6+s/2)/s;o===l?t=p-d:r===l?t=1/3+u-p:i===l&&(t=2/3+d-u),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,c];return null!=e[3]&&f.push(e[3]),f}}function lift(e,t){var n=parse(e);if(n){for(var o=0;o<3;o++)n[o]=t<0?n[o]*(1-t)|0:(255-n[o])*t+n[o]|0,n[o]>255?n[o]=255:n[o]<0&&(n[o]=0);return stringify(n,4===n.length?"rgba":"rgb")}}function fastLerp(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var o=e*(t.length-1),r=Math.floor(o),i=Math.ceil(o),a=t[r],l=t[i],s=o-r;return n[0]=clampCssByte(lerpNumber(a[0],l[0],s)),n[1]=clampCssByte(lerpNumber(a[1],l[1],s)),n[2]=clampCssByte(lerpNumber(a[2],l[2],s)),n[3]=clampCssFloat(lerpNumber(a[3],l[3],s)),n}}function lerp(e,t,n){if(t&&t.length&&e>=0&&e<=1){var o=e*(t.length-1),r=Math.floor(o),i=Math.ceil(o),a=parse(t[r]),l=parse(t[i]),s=o-r,c=stringify([clampCssByte(lerpNumber(a[0],l[0],s)),clampCssByte(lerpNumber(a[1],l[1],s)),clampCssByte(lerpNumber(a[2],l[2],s)),clampCssFloat(lerpNumber(a[3],l[3],s))],"rgba");return n?{color:c,leftIndex:r,rightIndex:i,value:o}:c}}function modifyHSL(e,t,n,o){var r=parse(e);if(e)return r=rgba2hsla(r),null!=t&&(r[0]=clampCssAngle(t)),null!=n&&(r[1]=parseCssFloat(n)),null!=o&&(r[2]=parseCssFloat(o)),stringify(hsla2rgba(r),"rgba")}function modifyAlpha(e,t){var n=parse(e);if(n&&null!=t)return n[3]=clampCssFloat(t),stringify(n,"rgba")}function stringify(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+")"}}function lum(e,t){var n=parse(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var liftedColorCache=new LRU(100);function liftColor(e){if(isString$2(e)){var t=liftedColorCache.get(e);return t||(t=lift(e,-.1),liftedColorCache.put(e,t)),t}if(isGradientObject(e)){var n=extend$1({},e);return n.colorStops=map$1(e.colorStops,(function(e){return{offset:e.offset,color:lift(e.color,-.1)}})),n}return e}var mathRound$1=Math.round;function normalizeColor(e){var t;if(e&&"transparent"!==e){if("string"==typeof e&&e.indexOf("rgba")>-1){var n=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}}var EPSILON$3=1e-4;function isAroundZero(e){return e<EPSILON$3&&e>-1e-4}function round3(e){return mathRound$1(1e3*e)/1e3}function round4(e){return mathRound$1(1e4*e)/1e4}function getMatrixStr(e){return"matrix("+round3(e[0])+","+round3(e[1])+","+round3(e[2])+","+round3(e[3])+","+round4(e[4])+","+round4(e[5])+")"}var TEXT_ALIGN_TO_ANCHOR={left:"start",right:"end",center:"middle",middle:"middle"};function adjustTextY$1(e,t,n){return"top"===n?e+=t/2:"bottom"===n&&(e-=t/2),e}function hasShadow(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function getShadowKey(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(",")}function isImagePattern(e){return e&&!!e.image}function isSVGPattern(e){return e&&!!e.svgElement}function isPattern(e){return isImagePattern(e)||isSVGPattern(e)}function isLinearGradient(e){return"linear"===e.type}function isRadialGradient(e){return"radial"===e.type}function isGradient(e){return e&&("linear"===e.type||"radial"===e.type)}function getIdURL(e){return"url(#"+e+")"}function getPathPrecision(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function getSRTTransformString(e){var t=e.x||0,n=e.y||0,o=(e.rotation||0)*RADIAN_TO_DEGREE,r=retrieve2(e.scaleX,1),i=retrieve2(e.scaleY,1),a=e.skewX||0,l=e.skewY||0,s=[];return(t||n)&&s.push("translate("+t+"px,"+n+"px)"),o&&s.push("rotate("+o+")"),1===r&&1===i||s.push("scale("+r+","+i+")"),(a||l)&&s.push("skew("+mathRound$1(a*RADIAN_TO_DEGREE)+"deg, "+mathRound$1(l*RADIAN_TO_DEGREE)+"deg)"),s.join(" ")}var encodeBase64=env.hasGlobalWindow&&isFunction$2(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:"undefined"!=typeof Buffer?function(e){return Buffer.from(e).toString("base64")}:function(e){return null},arraySlice=Array.prototype.slice;function interpolateNumber$1(e,t,n){return(t-e)*n+e}function interpolate1DArray(e,t,n,o){for(var r=t.length,i=0;i<r;i++)e[i]=interpolateNumber$1(t[i],n[i],o);return e}function interpolate2DArray(e,t,n,o){for(var r=t.length,i=r&&t[0].length,a=0;a<r;a++){e[a]||(e[a]=[]);for(var l=0;l<i;l++)e[a][l]=interpolateNumber$1(t[a][l],n[a][l],o)}return e}function add1DArray(e,t,n,o){for(var r=t.length,i=0;i<r;i++)e[i]=t[i]+n[i]*o;return e}function add2DArray(e,t,n,o){for(var r=t.length,i=r&&t[0].length,a=0;a<r;a++){e[a]||(e[a]=[]);for(var l=0;l<i;l++)e[a][l]=t[a][l]+n[a][l]*o}return e}function fillColorStops(e,t){for(var n=e.length,o=t.length,r=n>o?t:e,i=Math.min(n,o),a=r[i-1]||{color:[0,0,0,0],offset:0},l=i;l<Math.max(n,o);l++)r.push({offset:a.offset,color:a.color.slice()})}function fillArray(e,t,n){var o=e,r=t;if(o.push&&r.push){var i=o.length,a=r.length;if(i!==a)if(i>a)o.length=a;else for(var l=i;l<a;l++)o.push(1===n?r[l]:arraySlice.call(r[l]));var s=o[0]&&o[0].length;for(l=0;l<o.length;l++)if(1===n)isNaN(o[l])&&(o[l]=r[l]);else for(var c=0;c<s;c++)isNaN(o[l][c])&&(o[l][c]=r[l][c])}}function cloneValue(e){if(isArrayLike(e)){var t=e.length;if(isArrayLike(e[0])){for(var n=[],o=0;o<t;o++)n.push(arraySlice.call(e[o]));return n}return arraySlice.call(e)}return e}function rgba2String(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(",")+")"}function guessArrayDim(e){return isArrayLike(e&&e[0])?2:1}var VALUE_TYPE_NUMBER=0,VALUE_TYPE_1D_ARRAY=1,VALUE_TYPE_2D_ARRAY=2,VALUE_TYPE_COLOR=3,VALUE_TYPE_LINEAR_GRADIENT=4,VALUE_TYPE_RADIAL_GRADIENT=5,VALUE_TYPE_UNKOWN=6;function isGradientValueType(e){return e===VALUE_TYPE_LINEAR_GRADIENT||e===VALUE_TYPE_RADIAL_GRADIENT}function isArrayValueType(e){return e===VALUE_TYPE_1D_ARRAY||e===VALUE_TYPE_2D_ARRAY}var tmpRgba=[0,0,0,0],Track=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 o=this.keyframes,r=o.length,i=!1,a=VALUE_TYPE_UNKOWN,l=t;if(isArrayLike(t)){var s=guessArrayDim(t);a=s,(1===s&&!isNumber$2(t[0])||2===s&&!isNumber$2(t[0][0]))&&(i=!0)}else if(isNumber$2(t)&&!eqNaN(t))a=VALUE_TYPE_NUMBER;else if(isString$2(t))if(isNaN(+t)){var c=parse(t);c&&(l=c,a=VALUE_TYPE_COLOR)}else a=VALUE_TYPE_NUMBER;else if(isGradientObject(t)){var u=extend$1({},l);u.colorStops=map$1(t.colorStops,(function(e){return{offset:e.offset,color:parse(e.color)}})),isLinearGradient(t)?a=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(t)&&(a=VALUE_TYPE_RADIAL_GRADIENT),l=u}0===r?this.valType=a:a===this.valType&&a!==VALUE_TYPE_UNKOWN||(i=!0),this.discrete=this.discrete||i;var d={time:e,value:l,rawValue:t,percent:0};return n&&(d.easing=n,d.easingFunc=isFunction$2(n)?n:easingFuncs[n]||createCubicEasingFunc(n)),o.push(d),d},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var o=this.valType,r=n.length,i=n[r-1],a=this.discrete,l=isArrayValueType(o),s=isGradientValueType(o),c=0;c<r;c++){var u=n[c],d=u.value,p=i.value;u.percent=u.time/e,a||(l&&c!==r-1?fillArray(d,p,o):s&&fillColorStops(d.colorStops,p.colorStops))}if(!a&&o!==VALUE_TYPE_RADIAL_GRADIENT&&t&&this.needsAnimate()&&t.needsAnimate()&&o===t.valType&&!t._finished){this._additiveTrack=t;var f=n[0].value;for(c=0;c<r;c++)o===VALUE_TYPE_NUMBER?n[c].additiveValue=n[c].value-f:o===VALUE_TYPE_COLOR?n[c].additiveValue=add1DArray([],n[c].value,f,-1):isArrayValueType(o)&&(n[c].additiveValue=o===VALUE_TYPE_1D_ARRAY?add1DArray([],n[c].value,f,-1):add2DArray([],n[c].value,f,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,o,r,i=null!=this._additiveTrack,a=i?"additiveValue":"value",l=this.valType,s=this.keyframes,c=s.length,u=this.propName,d=l===VALUE_TYPE_COLOR,p=this._lastFr,f=Math.min;if(1===c)o=r=s[0];else{if(t<0)n=0;else if(t<this._lastFrP){for(n=f(p+1,c-1);n>=0&&!(s[n].percent<=t);n--);n=f(n,c-2)}else{for(n=p;n<c&&!(s[n].percent>t);n++);n=f(n-1,c-2)}r=s[n+1],o=s[n]}if(o&&r){this._lastFr=n,this._lastFrP=t;var h=r.percent-o.percent,m=0===h?1:f((t-o.percent)/h,1);r.easingFunc&&(m=r.easingFunc(m));var g=i?this._additiveValue:d?tmpRgba:e[u];if(!isArrayValueType(l)&&!d||g||(g=this._additiveValue=[]),this.discrete)e[u]=m<1?o.rawValue:r.rawValue;else if(isArrayValueType(l))l===VALUE_TYPE_1D_ARRAY?interpolate1DArray(g,o[a],r[a],m):interpolate2DArray(g,o[a],r[a],m);else if(isGradientValueType(l)){var v=o[a],y=r[a],b=l===VALUE_TYPE_LINEAR_GRADIENT;e[u]={type:b?"linear":"radial",x:interpolateNumber$1(v.x,y.x,m),y:interpolateNumber$1(v.y,y.y,m),colorStops:map$1(v.colorStops,(function(e,t){var n=y.colorStops[t];return{offset:interpolateNumber$1(e.offset,n.offset,m),color:rgba2String(interpolate1DArray([],e.color,n.color,m))}})),global:y.global},b?(e[u].x2=interpolateNumber$1(v.x2,y.x2,m),e[u].y2=interpolateNumber$1(v.y2,y.y2,m)):e[u].r=interpolateNumber$1(v.r,y.r,m)}else if(d)interpolate1DArray(g,o[a],r[a],m),i||(e[u]=rgba2String(g));else{var _=interpolateNumber$1(o[a],r[a],m);i?this._additiveValue=_:e[u]=_}i&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,o=this._additiveValue;t===VALUE_TYPE_NUMBER?e[n]=e[n]+o:t===VALUE_TYPE_COLOR?(parse(e[n],tmpRgba),add1DArray(tmpRgba,tmpRgba,o,1),e[n]=rgba2String(tmpRgba)):t===VALUE_TYPE_1D_ARRAY?add1DArray(e[n],e[n],o,1):t===VALUE_TYPE_2D_ARRAY&&add2DArray(e[n],e[n],o,1)},e}(),Animator=function(){function e(e,t,n,o){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&o?logError("Can' use additive animation on looped animation."):(this._additiveAnimators=o,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,keys(t),n)},e.prototype.whenWithKeys=function(e,t,n,o){for(var r=this._tracks,i=0;i<n.length;i++){var a=n[i],l=r[a];if(!l){l=r[a]=new Track(a);var s=void 0,c=this._getAdditiveTrack(a);if(c){var u=c.keyframes,d=u[u.length-1];s=d&&d.value,c.valType===VALUE_TYPE_COLOR&&s&&(s=rgba2String(s))}else s=this._target[a];if(null==s)continue;e>0&&l.addKeyframe(0,cloneValue(s),o),this._trackKeys.push(a)}l.addKeyframe(e,cloneValue(t[a]),o)}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 o=0;o<n.length;o++){var r=n[o].getTrack(e);r&&(t=r)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,n=[],o=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var i=this._trackKeys[r],a=this._tracks[i],l=this._getAdditiveTrack(i),s=a.keyframes,c=s.length;if(a.prepare(o,l),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var u=s[c-1];u&&(t._target[a.propName]=u.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var d=new Clip({life:o,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var o=t._additiveAnimators;if(o){for(var r=!1,i=0;i<o.length;i++)if(o[i]._clip){r=!0;break}r||(t._additiveAnimators=null)}for(i=0;i<n.length;i++)n[i].step(t._target,e);var a=t._onframeCbs;if(a)for(i=0;i<a.length;i++)a[i](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),e&&d.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 map$1(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,o=this._trackKeys,r=0;r<e.length;r++){var i=n[e[r]];i&&!i.isFinished()&&(t?i.step(this._target,1):1===this._started&&i.step(this._target,0),i.setFinished())}var a=!0;for(r=0;r<o.length;r++)if(!n[o[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},e.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var o=0;o<t.length;o++){var r=t[o],i=this._tracks[r];if(i&&!i.isFinished()){var a=i.keyframes,l=a[n?0:a.length-1];l&&(e[r]=cloneValue(l.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||keys(e);for(var n=0;n<t.length;n++){var o=t[n],r=this._tracks[o];if(r){var i=r.keyframes;if(i.length>1){var a=i.pop();r.addKeyframe(a.time,e[o]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},e}();function getTime$1(){return(new Date).getTime()}var Animation=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 __extends(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=getTime$1()-this._pausedTime,n=t-this._time,o=this._head;o;){var r=o.next;o.step(t,n)?(o.ondestroy(),this.removeClip(o),o=r):o=r}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0,requestAnimationFrame$2((function t(){e._running&&(requestAnimationFrame$2(t),!e._paused&&e.update())}))},t.prototype.start=function(){this._running||(this._time=getTime$1(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=getTime$1(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime$1()-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 Animator(e,t.loop);return this.addAnimator(n),n},t}(Eventful),TOUCH_CLICK_DELAY=300,globalEventSupported=env.domSupported,localNativeListenerNames=(mouseHandlerNames=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],pointerEventNameMap={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:mouseHandlerNames,touch:["touchstart","touchend","touchmove"],pointer:map$1(mouseHandlerNames,(function(e){var t=e.replace("mouse","pointer");return pointerEventNameMap.hasOwnProperty(t)?t:e}))}),mouseHandlerNames,pointerEventNameMap,globalNativeListenerNames={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},wheelEventSupported=!1;function isPointerFromTouch(e){var t=e.pointerType;return"pen"===t||"touch"===t}function setTouchTimer(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function markTouch(e){e&&(e.zrByTouch=!0)}function normalizeGlobalEvent(e,t){return normalizeEvent(e.dom,new FakeGlobalEvent(e,t),!0)}function isLocalEl(e,t){for(var n=t,o=!1;n&&9!==n.nodeType&&!(o=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return o}var FakeGlobalEvent=function(){return function(e,t){this.stopPropagation=noop$2,this.stopImmediatePropagation=noop$2,this.preventDefault=noop$2,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}}(),localDOMHandlers={mousedown:function(e){e=normalizeEvent(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=normalizeEvent(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=normalizeEvent(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){isLocalEl(this,(e=normalizeEvent(this.dom,e)).toElement||e.relatedTarget)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){wheelEventSupported=!0,e=normalizeEvent(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){wheelEventSupported||(e=normalizeEvent(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){markTouch(e=normalizeEvent(this.dom,e)),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),localDOMHandlers.mousemove.call(this,e),localDOMHandlers.mousedown.call(this,e)},touchmove:function(e){markTouch(e=normalizeEvent(this.dom,e)),this.handler.processGesture(e,"change"),localDOMHandlers.mousemove.call(this,e)},touchend:function(e){markTouch(e=normalizeEvent(this.dom,e)),this.handler.processGesture(e,"end"),localDOMHandlers.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<TOUCH_CLICK_DELAY&&localDOMHandlers.click.call(this,e)},pointerdown:function(e){localDOMHandlers.mousedown.call(this,e)},pointermove:function(e){isPointerFromTouch(e)||localDOMHandlers.mousemove.call(this,e)},pointerup:function(e){localDOMHandlers.mouseup.call(this,e)},pointerout:function(e){isPointerFromTouch(e)||localDOMHandlers.mouseout.call(this,e)}};each$f(["click","dblclick","contextmenu"],(function(e){localDOMHandlers[e]=function(t){t=normalizeEvent(this.dom,t),this.trigger(e,t)}}));var globalDOMHandlers={pointermove:function(e){isPointerFromTouch(e)||globalDOMHandlers.mousemove.call(this,e)},pointerup:function(e){globalDOMHandlers.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 mountLocalDOMEventListeners(e,t){var n=t.domHandlers;env.pointerEventsSupported?each$f(localNativeListenerNames.pointer,(function(o){mountSingleDOMEventListener(t,o,(function(t){n[o].call(e,t)}))})):(env.touchEventsSupported&&each$f(localNativeListenerNames.touch,(function(o){mountSingleDOMEventListener(t,o,(function(r){n[o].call(e,r),setTouchTimer(t)}))})),each$f(localNativeListenerNames.mouse,(function(o){mountSingleDOMEventListener(t,o,(function(r){r=getNativeEvent(r),t.touching||n[o].call(e,r)}))})))}function mountGlobalDOMEventListeners(e,t){function n(n){mountSingleDOMEventListener(t,n,(function(o){o=getNativeEvent(o),isLocalEl(e,o.target)||(o=normalizeGlobalEvent(e,o),t.domHandlers[n].call(e,o))}),{capture:!0})}env.pointerEventsSupported?each$f(globalNativeListenerNames.pointer,n):env.touchEventsSupported||each$f(globalNativeListenerNames.mouse,n)}function mountSingleDOMEventListener(e,t,n,o){e.mounted[t]=n,e.listenerOpts[t]=o,addEventListener(e.domTarget,t,n,o)}function unmountDOMEventListeners(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&removeEventListener(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var DOMHandlerScope=function(){return function(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}}(),HandlerDomProxy=function(e){function t(t,n){var o=e.call(this)||this;return o.__pointerCapturing=!1,o.dom=t,o.painterRoot=n,o._localHandlerScope=new DOMHandlerScope(t,localDOMHandlers),globalEventSupported&&(o._globalHandlerScope=new DOMHandlerScope(document,globalDOMHandlers)),mountLocalDOMEventListeners(o,o._localHandlerScope),o}return __extends(t,e),t.prototype.dispose=function(){unmountDOMEventListeners(this._localHandlerScope),globalEventSupported&&unmountDOMEventListeners(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,globalEventSupported&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?mountGlobalDOMEventListeners(this,t):unmountDOMEventListeners(t)}},t}(Eventful),dpr=1;env.hasGlobalWindow&&(dpr=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var devicePixelRatio=dpr,DARK_MODE_THRESHOLD=.4,DARK_LABEL_COLOR="#333",LIGHT_LABEL_COLOR="#ccc",LIGHTER_LABEL_COLOR="#eee",mIdentity=identity$1,EPSILON$2=5e-5;function isNotAroundZero(e){return e>EPSILON$2||e<-5e-5}var scaleTmp=[],tmpTransform=[],originTransform=create$1(),abs=Math.abs,Transformable=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 isNotAroundZero(this.rotation)||isNotAroundZero(this.x)||isNotAroundZero(this.y)||isNotAroundZero(this.scaleX-1)||isNotAroundZero(this.scaleY-1)||isNotAroundZero(this.skewX)||isNotAroundZero(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||create$1(),t?this.getLocalTransform(n):mIdentity(n),e&&(t?mul(n,e,n):copy(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(mIdentity(n),this.invTransform=null)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(scaleTmp);var n=scaleTmp[0]<0?-1:1,o=scaleTmp[1]<0?-1:1,r=((scaleTmp[0]-n)*t+n)/scaleTmp[0]||0,i=((scaleTmp[1]-o)*t+o)/scaleTmp[1]||0;e[0]*=r,e[1]*=r,e[2]*=i,e[3]*=i}this.invTransform=this.invTransform||create$1(),invert(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],o=Math.atan2(e[1],e[0]),r=Math.PI/2+o-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(r),t=Math.sqrt(t),this.skewX=r,this.skewY=0,this.rotation=-o,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&&(e.invTransform=e.invTransform||create$1(),mul(tmpTransform,e.invTransform,t),t=tmpTransform);var n=this.originX,o=this.originY;(n||o)&&(originTransform[4]=n,originTransform[5]=o,mul(tmpTransform,t,originTransform),tmpTransform[4]-=n,tmpTransform[5]-=o,t=tmpTransform),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],o=this.invTransform;return o&&applyTransform$1(n,n,o),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],o=this.transform;return o&&applyTransform$1(n,n,o),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&abs(e[0]-1)>1e-10&&abs(e[3]-1)>1e-10?Math.sqrt(abs(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){copyTransform(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,o=e.originY||0,r=e.scaleX,i=e.scaleY,a=e.anchorX,l=e.anchorY,s=e.rotation||0,c=e.x,u=e.y,d=e.skewX?Math.tan(e.skewX):0,p=e.skewY?Math.tan(-e.skewY):0;if(n||o||a||l){var f=n+a,h=o+l;t[4]=-f*r-d*h*i,t[5]=-h*i-p*f*r}else t[4]=t[5]=0;return t[0]=r,t[3]=i,t[1]=p*r,t[2]=d*i,s&&rotate(t,t,s),t[4]+=n+c,t[5]+=o+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}(),TRANSFORMABLE_PROPS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform(e,t){for(var n=0;n<TRANSFORMABLE_PROPS.length;n++){var o=TRANSFORMABLE_PROPS[n];e[o]=t[o]}}var textWidthCache={};function getWidth(e,t){var n=textWidthCache[t=t||DEFAULT_FONT];n||(n=textWidthCache[t]=new LRU(500));var o=n.get(e);return null==o&&(o=platformApi.measureText(e,t).width,n.put(e,o)),o}function innerGetBoundingRect(e,t,n,o){var r=getWidth(e,t),i=getLineHeight(t),a=adjustTextX(0,r,n),l=adjustTextY(0,i,o);return new BoundingRect(a,l,r,i)}function getBoundingRect(e,t,n,o){var r=((e||"")+"").split("\n");if(1===r.length)return innerGetBoundingRect(r[0],t,n,o);for(var i=new BoundingRect(0,0,0,0),a=0;a<r.length;a++){var l=innerGetBoundingRect(r[a],t,n,o);0===a?i.copy(l):i.union(l)}return i}function adjustTextX(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function adjustTextY(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function getLineHeight(e){return getWidth("国",e)}function parsePercent$1(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function calculateTextPosition(e,t,n){var o=t.position||"inside",r=null!=t.distance?t.distance:5,i=n.height,a=n.width,l=i/2,s=n.x,c=n.y,u="left",d="top";if(o instanceof Array)s+=parsePercent$1(o[0],n.width),c+=parsePercent$1(o[1],n.height),u=null,d=null;else switch(o){case"left":s-=r,c+=l,u="right",d="middle";break;case"right":s+=r+a,c+=l,d="middle";break;case"top":s+=a/2,c-=r,u="center",d="bottom";break;case"bottom":s+=a/2,c+=i+r,u="center";break;case"inside":s+=a/2,c+=l,u="center",d="middle";break;case"insideLeft":s+=r,c+=l,d="middle";break;case"insideRight":s+=a-r,c+=l,u="right",d="middle";break;case"insideTop":s+=a/2,c+=r,u="center";break;case"insideBottom":s+=a/2,c+=i-r,u="center",d="bottom";break;case"insideTopLeft":s+=r,c+=r;break;case"insideTopRight":s+=a-r,c+=r,u="right";break;case"insideBottomLeft":s+=r,c+=i-r,d="bottom";break;case"insideBottomRight":s+=a-r,c+=i-r,u="right",d="bottom"}return(e=e||{}).x=s,e.y=c,e.align=u,e.verticalAlign=d,e}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,(function(e,t){return e[t]=!0,e}),{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect(0,0,0,0),Element$1=function(){function e(e){this.id=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 o=this.transform;o||(o=this.transform=[1,0,0,1,0,0]),o[4]+=e,o[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,o=n.local,r=t.innerTransformable,i=void 0,a=void 0,l=!1;r.parent=o?this:null;var s=!1;if(r.copyTransform(t),null!=n.position){var c=tmpBoundingRect;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),o||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,n,c):calculateTextPosition(tmpTextPosCalcRes,n,c),r.x=tmpTextPosCalcRes.x,r.y=tmpTextPosCalcRes.y,i=tmpTextPosCalcRes.align,a=tmpTextPosCalcRes.verticalAlign;var u=n.origin;if(u&&null!=n.rotation){var d=void 0,p=void 0;"center"===u?(d=.5*c.width,p=.5*c.height):(d=parsePercent$1(u[0],c.width),p=parsePercent$1(u[1],c.height)),s=!0,r.originX=-r.x+d+(o?0:c.x),r.originY=-r.y+p+(o?0:c.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],s||(r.originX=-f[0],r.originY=-f[1]));var h=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,v=void 0,y=void 0;h&&this.canBeInsideText()?(g=n.insideFill,v=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(g),y=!0)):(g=n.outsideFill,v=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(g),y=!0)),(g=g||"#000")===m.fill&&v===m.stroke&&y===m.autoStroke&&i===m.align&&a===m.verticalAlign||(l=!0,m.fill=g,m.stroke=v,m.autoStroke=y,m.align=i,m.verticalAlign=a,t.setDefaultTextStyle(m)),t.__dirty|=REDRAW_BIT,l&&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()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof t&&parse(t);n||(n=[255,255,255,1]);for(var o=n[3],r=this.__zr.isDarkMode(),i=0;i<3;i++)n[i]=n[i]*o+(r?0:255)*(1-o);return n[3]=1,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||{},extend$1(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(isObject$4(e))for(var n=keys(e),o=0;o<n.length;o++){var r=n[o];this.attrKV(r,e[r])}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 o=this.animators[n],r=o.__fromStateTransition;if(!(o.getLoop()||r&&r!==PRESERVED_NORMAL_STATE)){var i=o.targetName,a=i?t[i]:t;o.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,PRIMARY_STATES_KEYS$1)},e.prototype._savePrimaryToNormal=function(e,t,n){for(var o=0;o<n.length;o++){var r=n[o];null==e[r]||r in t||(t[r]=this[r])}},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(PRESERVED_NORMAL_STATE,!1,e)},e.prototype.useState=function(e,t,n,o){var r=e===PRESERVED_NORMAL_STATE;if(this.hasState()||!r){var i=this.currentStates,a=this.stateTransition;if(!(indexOf(i,e)>=0)||!t&&1!==i.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(e)),l||(l=this.states&&this.states[e]),l||r){r||this.saveCurrentToNormalState(l);var s=!!(l&&l.hoverLayer||o);s&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,l,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,s),u&&u.useState(e,t,n,s),r?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!s&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),l}logError("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var o=[],r=this.currentStates,i=e.length,a=i===r.length;if(a)for(var l=0;l<i;l++)if(e[l]!==r[l]){a=!1;break}if(a)return;for(l=0;l<i;l++){var s=e[l],c=void 0;this.stateProxy&&(c=this.stateProxy(s,e)),c||(c=this.states[s]),c&&o.push(c)}var u=o[i-1],d=!!(u&&u.hoverLayer||n);d&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(o),f=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(e.join(","),p,this._normalState,!1,!t&&!this.__inHover&&f&&f.duration>0,f);var h=this._textContent,m=this._textGuide;h&&h.useStates(e,t,d),m&&m.useStates(e,t,d),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},e.prototype.isSilent=function(){for(var e=this.silent,t=this.parent;!e&&t;){if(t.silent){e=!0;break}t=t.parent}return e},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=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 o=this.currentStates.slice(),r=indexOf(o,e),i=indexOf(o,t)>=0;r>=0?i?o.splice(r,1):o[r]=t:n&&!i&&o.push(t),this.useStates(o)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},o=0;o<e.length;o++){var r=e[o];extend$1(n,r),r.textConfig&&extend$1(t=t||{},r.textConfig)}return t&&(n.textConfig=t),n},e.prototype._applyStateObj=function(e,t,n,o,r,i){var a=!(t&&o);t&&t.textConfig?(this.textConfig=extend$1({},o?this.textConfig:n.textConfig),extend$1(this.textConfig,t.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var l={},s=!1,c=0;c<PRIMARY_STATES_KEYS$1.length;c++){var u=PRIMARY_STATES_KEYS$1[c],d=r&&DEFAULT_ANIMATABLE_MAP[u];t&&null!=t[u]?d?(s=!0,l[u]=t[u]):this[u]=t[u]:a&&null!=n[u]&&(d?(s=!0,l[u]=n[u]):this[u]=n[u])}if(!r)for(c=0;c<this.animators.length;c++){var p=this.animators[c],f=p.targetName;p.getLoop()||p.__changeFinalValue(f?(t||n)[f]:t||n)}s&&this._transitionState(e,l,i)},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 Transformable,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),extend$1(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|=REDRAW_BIT;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 o=e?this[e]:this,r=new Animator(o,t,n);return e&&(r.targetName=e),this.addAnimator(r,e),r},e.prototype.addAnimator=function(e,t){var n=this.__zr,o=this;e.during((function(){o.updateDuringAnimation(t)})).done((function(){var t=o.animators,n=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,o=n.length,r=[],i=0;i<o;i++){var a=n[i];e&&e!==a.scope?r.push(a):a.stop(t)}return this.animators=r,this},e.prototype.animateTo=function(e,t,n){animateTo(this,e,t,n)},e.prototype.animateFrom=function(e,t,n){animateTo(this,e,t,n,!0)},e.prototype._transitionState=function(e,t,n,o){for(var r=animateTo(this,t,n,o),i=0;i<r.length;i++)r[i].__fromStateTransition=e},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;function n(e,n,o,r){function i(e,t){Object.defineProperty(t,0,{get:function(){return e[o]},set:function(t){e[o]=t}}),Object.defineProperty(t,1,{get:function(){return e[r]},set:function(t){e[r]=t}})}Object.defineProperty(t,e,{get:function(){this[n]||i(this,this[n]=[]);return this[n]},set:function(e){this[o]=e[0],this[r]=e[1],this[n]=e,i(this,e)}})}t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=REDRAW_BIT,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();function animateTo(e,t,n,o,r){var i=[];animateToShallow(e,"",e,t,n=n||{},o,i,r);var a=i.length,l=!1,s=n.done,c=n.aborted,u=function(){l=!0,--a<=0&&(l?s&&s():c&&c())},d=function(){--a<=0&&(l?s&&s():c&&c())};a||s&&s(),i.length>0&&n.during&&i[0].during((function(e,t){n.during(t)}));for(var p=0;p<i.length;p++){var f=i[p];u&&f.done(u),d&&f.aborted(d),n.force&&f.duration(n.duration),f.start(n.easing)}return i}function copyArrShallow(e,t,n){for(var o=0;o<n;o++)e[o]=t[o]}function is2DArray(e){return isArrayLike(e[0])}function copyValue(e,t,n){if(isArrayLike(t[n]))if(isArrayLike(e[n])||(e[n]=[]),isTypedArray$1(t[n])){var o=t[n].length;e[n].length!==o&&(e[n]=new t[n].constructor(o),copyArrShallow(e[n],t[n],o))}else{var r=t[n],i=e[n],a=r.length;if(is2DArray(r))for(var l=r[0].length,s=0;s<a;s++)i[s]?copyArrShallow(i[s],r[s],l):i[s]=Array.prototype.slice.call(r[s]);else copyArrShallow(i,r,a);i.length=r.length}else e[n]=t[n]}function isValueSame(e,t){return e===t||isArrayLike(e)&&isArrayLike(t)&&is1DArraySame(e,t)}function is1DArraySame(e,t){var n=e.length;if(n!==t.length)return!1;for(var o=0;o<n;o++)if(e[o]!==t[o])return!1;return!0}function animateToShallow(e,t,n,o,r,i,a,l){for(var s=keys(o),c=r.duration,u=r.delay,d=r.additive,p=r.setToFinal,f=!isObject$4(i),h=e.animators,m=[],g=0;g<s.length;g++){var v=s[g],y=o[v];if(null!=y&&null!=n[v]&&(f||i[v]))if(!isObject$4(y)||isArrayLike(y)||isGradientObject(y))m.push(v);else{if(t){l||(n[v]=y,e.updateDuringAnimation(t));continue}animateToShallow(e,v,n[v],y,r,i&&i[v],a,l)}else l||(n[v]=y,e.updateDuringAnimation(t),m.push(v))}var b=m.length;if(!d&&b)for(var _=0;_<h.length;_++){if((k=h[_]).targetName===t)if(k.stopTracks(m)){var w=indexOf(h,k);h.splice(w,1)}}if(r.force||(b=(m=filter(m,(function(e){return!isValueSame(o[e],n[e])}))).length),b>0||r.force&&!a.length){var k,x=void 0,S=void 0,C=void 0;if(l){S={},p&&(x={});for(_=0;_<b;_++){S[v=m[_]]=n[v],p?x[v]=o[v]:n[v]=o[v]}}else if(p){C={};for(_=0;_<b;_++){C[v=m[_]]=cloneValue(n[v]),copyValue(n,o,v)}}(k=new Animator(n,!1,!1,d?filter(h,(function(e){return e.targetName===t})):null)).targetName=t,r.scope&&(k.scope=r.scope),p&&x&&k.whenWithKeys(0,x,m),C&&k.whenWithKeys(0,C,m),k.whenWithKeys(null==c?500:c,l?S:o,m).delay(u||0),e.addAnimator(k,t),a.push(k)}}mixin(Element$1,Eventful),mixin(Element$1,Transformable);var Group$3=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return __extends(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,o=n.indexOf(t);o>=0&&(n.splice(o,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=indexOf(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,o=n[t];if(e&&e!==this&&e.parent!==this&&e!==o){n[t]=e,o.parent=null;var r=this.__zr;r&&o.removeSelfFromZr(r),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,o=indexOf(n,e);return o<0||(n.splice(o,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 o=e[n];t&&o.removeSelfFromZr(t),o.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var n=this._children,o=0;o<n.length;o++){var r=n[o];e.call(t,r,o)}return this},t.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var o=this._children[n],r=e.call(t,o);o.isGroup&&!r&&o.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 BoundingRect(0,0,0,0),n=e||this._children,o=[],r=null,i=0;i<n.length;i++){var a=n[i];if(!a.ignore&&!a.invisible){var l=a.getBoundingRect(),s=a.getLocalTransform(o);s?(BoundingRect.applyTransform(t,l,s),(r=r||t.clone()).union(t)):(r=r||l.clone()).union(l)}}return r||t},t}(Element$1);Group$3.prototype.type="group";var painterCtors={},instances$2={};function delInstance(e){delete instances$2[e]}function isDarkMode(e){if(!e)return!1;if("string"==typeof e)return lum(e,1)<DARK_MODE_THRESHOLD;if(e.colorStops){for(var t=e.colorStops,n=0,o=t.length,r=0;r<o;r++)n+=lum(t[r].color,1);return(n/=o)<DARK_MODE_THRESHOLD}return!1}var ZRender=function(){function e(e,t,n){var o=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 r=new Storage,i=n.renderer||"canvas";painterCtors[i]||(i=keys(painterCtors)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new painterCtors[i](t,r,n,e),l=n.ssr||a.ssrOnly;this.storage=r,this.painter=a;var s,c=env.node||env.worker||l?null:new HandlerDomProxy(a.getViewportRoot(),a.root),u=n.useCoarsePointer;(null==u||"auto"===u?env.touchEventsSupported:!!u)&&(s=retrieve2(n.pointerSize,44)),this.handler=new Handler(r,a,c,a.root,s),this.animation=new Animation({stage:{update:l?null:function(){return o._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(e){!this._disposed&&e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){!this._disposed&&e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},e.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=isDarkMode(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){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(e){var t,n=getTime$1();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var o=getTime$1();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:o-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._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},e.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this._disposed||this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},e.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},e.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof Group$3&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,delInstance(this.id))},e}(),ssrDataGetter;function init$2(e,t){var n=new ZRender(guid(),e,t);return instances$2[n.id]=n,n}function registerPainter(e,t){painterCtors[e]=t}function getElementSSRData(e){if("function"==typeof ssrDataGetter)return ssrDataGetter(e)}function registerSSRDataGetter(e){ssrDataGetter=e}var RADIAN_EPSILON=1e-4,ROUND_SUPPORTED_PRECISION_MAX=20;function _trim(e){return e.replace(/^\s+|\s+$/g,"")}function linearMap$2(e,t,n,o){var r=t[0],i=t[1],a=n[0],l=n[1],s=i-r,c=l-a;if(0===s)return 0===c?a:(a+l)/2;if(o)if(s>0){if(e<=r)return a;if(e>=i)return l}else{if(e>=r)return a;if(e<=i)return l}else{if(e===r)return a;if(e===i)return l}return(e-r)/s*c+a}function parsePercent(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 isString$2(e)?_trim(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function round$3(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),ROUND_SUPPORTED_PRECISION_MAX),e=(+e).toFixed(t),n?e:+e}function asc$2(e){return e.sort((function(e,t){return e-t})),e}function getPrecision(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 getPrecisionSafe(e)}function getPrecisionSafe(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),o=n>0?+t.slice(n+1):0,r=n>0?n:t.length,i=t.indexOf("."),a=i<0?0:r-1-i;return Math.max(0,a-o)}function getPixelPrecision(e,t){var n=Math.log,o=Math.LN10,r=Math.floor(n(e[1]-e[0])/o),i=Math.round(n(Math.abs(t[1]-t[0]))/o),a=Math.min(Math.max(-r+i,0),20);return isFinite(a)?a:20}function getPercentSeats(e,t){var n=reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];for(var o=Math.pow(10,t),r=map$1(e,(function(e){return(isNaN(e)?0:e)/n*o*100})),i=100*o,a=map$1(r,(function(e){return Math.floor(e)})),l=reduce(a,(function(e,t){return e+t}),0),s=map$1(r,(function(e,t){return e-a[t]}));l<i;){for(var c=Number.NEGATIVE_INFINITY,u=null,d=0,p=s.length;d<p;++d)s[d]>c&&(c=s[d],u=d);++a[u],s[u]=0,++l}return map$1(a,(function(e){return e/o}))}function addSafe(e,t){var n=Math.max(getPrecision(e),getPrecision(t)),o=e+t;return n>ROUND_SUPPORTED_PRECISION_MAX?o:round$3(o,n)}var MAX_SAFE_INTEGER=9007199254740991;function remRadian(e){var t=2*Math.PI;return(e%t+t)%t}function isRadianAroundZero(e){return e>-1e-4&&e<RADIAN_EPSILON}var TIME_REG=/^(?:(\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 parseDate$1(e){if(e instanceof Date)return e;if(isString$2(e)){var t=TIME_REG.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 quantity(e){return Math.pow(10,quantityExponent(e))}function quantityExponent(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 nice(e,t){var n=quantityExponent(e),o=Math.pow(10,n),r=e/o;return e=(r<1.5?1:r<2.5?2:r<4?3:r<7?5:10)*o,n>=-20?+e.toFixed(n<0?-n:0):e}function quantile(e,t){var n=(e.length-1)*t+1,o=Math.floor(n),r=+e[o-1],i=n-o;return i?r+i*(e[o]-r):r}function reformIntervals(e){e.sort((function(e,t){return l(e,t,0)?-1:1}));for(var t=-1/0,n=1,o=0;o<e.length;){for(var r=e[o].interval,i=e[o].close,a=0;a<2;a++)r[a]<=t&&(r[a]=t,i[a]=a?1:1-n),t=r[a],n=i[a];r[0]===r[1]&&i[0]*i[1]!=1?e.splice(o,1):o++}return e;function l(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]==(n?-1:1)||!n&&l(e,t,1))}}function numericToNumber(e){var t=parseFloat(e);return t==e&&(0!==t||!isString$2(e)||e.indexOf("x")<=0)?t:NaN}function isNumeric(e){return!isNaN(numericToNumber(e))}function getRandomIdBase(){return Math.round(9*Math.random())}function getGreatestCommonDividor(e,t){return 0===t?e:getGreatestCommonDividor(t,e%t)}function getLeastCommonMultiple(e,t){return null==e?t:null==t?e:e*t/getGreatestCommonDividor(e,t)}function throwError$1(e){throw new Error(e)}function interpolateNumber(e,t,n){return(t-e)*n+e}var DUMMY_COMPONENT_NAME_PREFIX="series\0",INTERNAL_COMPONENT_ID_PREFIX="\0_ec_\0";function normalizeToArray(e){return e instanceof Array?e:null==e?[]:[e]}function defaultEmphasis(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var o=0,r=n.length;o<r;o++){var i=n[o];!e.emphasis[t].hasOwnProperty(i)&&e[t].hasOwnProperty(i)&&(e.emphasis[t][i]=e[t][i])}}}var TEXT_STYLE_OPTIONS=["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 getDataItemValue(e){return!isObject$4(e)||isArray$2(e)||e instanceof Date?e:e.value}function isDataItemOption(e){return isObject$4(e)&&!(e instanceof Array)}function mappingToExists(e,t,n){var o="normalMerge"===n,r="replaceMerge"===n,i="replaceAll"===n;e=e||[],t=(t||[]).slice();var a=createHashMap();each$f(t,(function(e,n){isObject$4(e)||(t[n]=null)}));var l=prepareResult(e,a,n);return(o||r)&&mappingById(l,e,a,t),o&&mappingByName(l,t),o||r?mappingByIndex(l,t,r):i&&mappingInReplaceAllMode(l,t),makeIdAndName(l),l}function prepareResult(e,t,n){var o=[];if("replaceAll"===n)return o;for(var r=0;r<e.length;r++){var i=e[r];i&&null!=i.id&&t.set(i.id,r),o.push({existing:"replaceMerge"===n||isComponentIdInternal(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return o}function mappingById(e,t,n,o){each$f(o,(function(r,i){if(r&&null!=r.id){var a=makeComparableKey(r.id),l=n.get(a);if(null!=l){var s=e[l];assert(!s.newOption,'Duplicated option on id "'+a+'".'),s.newOption=r,s.existing=t[l],o[i]=null}}}))}function mappingByName(e,t){each$f(t,(function(n,o){if(n&&null!=n.name)for(var r=0;r<e.length;r++){var i=e[r].existing;if(!e[r].newOption&&i&&(null==i.id||null==n.id)&&!isComponentIdInternal(n)&&!isComponentIdInternal(i)&&keyExistAndEqual("name",i,n))return e[r].newOption=n,void(t[o]=null)}}))}function mappingByIndex(e,t,n){each$f(t,(function(t){if(t){for(var o,r=0;(o=e[r])&&(o.newOption||isComponentIdInternal(o.existing)||o.existing&&null!=t.id&&!keyExistAndEqual("id",t,o.existing));)r++;o?(o.newOption=t,o.brandNew=n):e.push({newOption:t,brandNew:n,existing:null,keyInfo:null}),r++}}))}function mappingInReplaceAllMode(e,t){each$f(t,(function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})}))}function makeIdAndName(e){var t=createHashMap();each$f(e,(function(e){var n=e.existing;n&&t.set(n.id,e)})),each$f(e,(function(e){var n=e.newOption;assert(!n||null==n.id||!t.get(n.id)||t.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&t.set(n.id,e),!e.keyInfo&&(e.keyInfo={})})),each$f(e,(function(e,n){var o=e.existing,r=e.newOption,i=e.keyInfo;if(isObject$4(r)){if(i.name=null!=r.name?makeComparableKey(r.name):o?o.name:DUMMY_COMPONENT_NAME_PREFIX+n,o)i.id=makeComparableKey(o.id);else if(null!=r.id)i.id=makeComparableKey(r.id);else{var a=0;do{i.id="\0"+i.name+"\0"+a++}while(t.get(i.id))}t.set(i.id,e)}}))}function keyExistAndEqual(e,t,n){var o=convertOptionIdName(t[e],null),r=convertOptionIdName(n[e],null);return null!=o&&null!=r&&o===r}function makeComparableKey(e){return convertOptionIdName(e,"")}function convertOptionIdName(e,t){return null==e?t:isString$2(e)?e:isNumber$2(e)||isStringSafe(e)?e+"":t}function isNameSpecified(e){var t=e.name;return!(!t||!t.indexOf(DUMMY_COMPONENT_NAME_PREFIX))}function isComponentIdInternal(e){return e&&null!=e.id&&0===makeComparableKey(e.id).indexOf(INTERNAL_COMPONENT_ID_PREFIX)}function makeInternalComponentId(e){return INTERNAL_COMPONENT_ID_PREFIX+e}function setComponentTypeToKeyInfo(e,t,n){each$f(e,(function(e){var o=e.newOption;isObject$4(o)&&(e.keyInfo.mainType=t,e.keyInfo.subType=determineSubType(t,o,e.existing,n))}))}function determineSubType(e,t,n,o){return t.type?t.type:n?n.subType:o.determineSubType(e,t)}function compressBatches(e,t){var n={},o={};return r(e||[],n),r(t||[],o,n),[i(n),i(o)];function r(e,t,n){for(var o=0,r=e.length;o<r;o++){var i=convertOptionIdName(e[o].seriesId,null);if(null==i)return;for(var a=normalizeToArray(e[o].dataIndex),l=n&&n[i],s=0,c=a.length;s<c;s++){var u=a[s];l&&l[u]?l[u]=null:(t[i]||(t[i]={}))[u]=1}}}function i(e,t){var n=[];for(var o in e)if(e.hasOwnProperty(o)&&null!=e[o])if(t)n.push(+o);else{var r=i(e[o],!0);r.length&&n.push({seriesId:o,dataIndex:r})}return n}}function queryDataIndex(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?isArray$2(t.dataIndex)?map$1(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?isArray$2(t.name)?map$1(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function makeInner(){var e="__ec_inner_"+innerUniqueIndex++;return function(t){return t[e]||(t[e]={})}}var innerUniqueIndex=getRandomIdBase();function parseFinder$1(e,t,n){var o=preParseFinder(t,n),r=o.mainTypeSpecified,i=o.queryOptionMap,a=o.others,l=n?n.defaultMainType:null;return!r&&l&&i.set(l,{}),i.each((function(t,o){var r=queryReferringComponents(e,o,t,{useDefault:l===o,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[o+"Models"]=r.models,a[o+"Model"]=r.models[0]})),a}function preParseFinder(e,t){var n;if(isString$2(e)){var o={};o[e+"Index"]=0,n=o}else n=e;var r=createHashMap(),i={},a=!1;return each$f(n,(function(e,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var o=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=o[1],s=(o[2]||"").toLowerCase();if(l&&s&&!(t&&t.includeMainTypes&&indexOf(t.includeMainTypes,l)<0))a=a||!!l,(r.get(l)||r.set(l,{}))[s]=e}else i[n]=e})),{mainTypeSpecified:a,queryOptionMap:r,others:i}}var SINGLE_REFERRING={useDefault:!0,enableAll:!1,enableNone:!1},MULTIPLE_REFERRING={useDefault:!1,enableAll:!0,enableNone:!0};function queryReferringComponents(e,t,n,o){o=o||SINGLE_REFERRING;var r=n.index,i=n.id,a=n.name,l={models:null,specified:null!=r||null!=i||null!=a};if(!l.specified){var s=void 0;return l.models=o.useDefault&&(s=e.getComponent(t))?[s]:[],l}return"none"===r||!1===r?(assert(o.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===r&&(assert(o.enableAll,'`"all"` is not a valid value on index option.'),r=i=a=null),l.models=e.queryComponents({mainType:t,index:r,id:i,name:a}),l)}function setAttribute(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function getAttribute(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function getTooltipRenderMode(e){return"auto"===e?env.domSupported?"html":"richText":e||"html"}function groupData(e,t){var n=createHashMap(),o=[];return each$f(e,(function(e){var r=t(e);(n.get(r)||(o.push(r),n.set(r,[]))).push(e)})),{keys:o,buckets:n}}function interpolateRawValues(e,t,n,o,r){var i=null==t||"auto"===t;if(null==o)return o;if(isNumber$2(o))return round$3(h=interpolateNumber(n||0,o,r),i?Math.max(getPrecision(n||0),getPrecision(o)):t);if(isString$2(o))return r<1?n:o;for(var a=[],l=n,s=o,c=Math.max(l?l.length:0,s.length),u=0;u<c;++u){var d=e.getDimensionInfo(u);if(d&&"ordinal"===d.type)a[u]=(r<1&&l?l:s)[u];else{var p=l&&l[u]?l[u]:0,f=s[u],h=interpolateNumber(p,f,r);a[u]=round$3(h,i?Math.max(getPrecision(p),getPrecision(f)):t)}}return a}var TYPE_DELIMITER=".",IS_CONTAINER="___EC__COMPONENT__CONTAINER___",IS_EXTENDED_CLASS="___EC__EXTENDED_CLASS___";function parseClassType(e){var t={main:"",sub:""};if(e){var n=e.split(TYPE_DELIMITER);t.main=n[0]||"",t.sub=n[1]||""}return t}function checkClassType(e){assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function isExtendedClass(e){return!(!e||!e[IS_EXTENDED_CLASS])}function enableClassExtend(e,t){e.$constructor=e,e.extend=function(e){var t,n=this;return isESClass(n)?t=function(e){function t(){return e.apply(this,arguments)||this}return __extends(t,e),t}(n):(t=function(){(e.$constructor||n).apply(this,arguments)},inherits$1(t,this)),extend$1(t.prototype,e),t[IS_EXTENDED_CLASS]=!0,t.extend=this.extend,t.superCall=superCall,t.superApply=superApply,t.superClass=n,t}}function isESClass(e){return isFunction$2(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function mountExtend(e,t){e.extend=t.extend}var classBase=Math.round(10*Math.random());function enableClassCheck(e){var t=["__\0is_clz",classBase++].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function superCall(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return this.superClass.prototype[t].apply(e,n)}function superApply(e,t,n){return this.superClass.prototype[t].apply(e,n)}function enableClassManagement(e){var t={};e.registerClass=function(e){var n=e.type||e.prototype.type;if(n){checkClassType(n),e.prototype.type=n;var o=parseClassType(n);if(o.sub){if(o.sub!==IS_CONTAINER){var r=function(e){var n=t[e.main];n&&n[IS_CONTAINER]||((n=t[e.main]={})[IS_CONTAINER]=!0);return n}(o);r[o.sub]=e}}else t[o.main]=e}return e},e.getClass=function(e,n,o){var r=t[e];if(r&&r[IS_CONTAINER]&&(r=n?r[n]:null),o&&!r)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return r},e.getClassesByMainType=function(e){var n=parseClassType(e),o=[],r=t[n.main];return r&&r[IS_CONTAINER]?each$f(r,(function(e,t){t!==IS_CONTAINER&&o.push(e)})):o.push(r),o},e.hasClass=function(e){var n=parseClassType(e);return!!t[n.main]},e.getAllClassMainTypes=function(){var e=[];return each$f(t,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){var n=parseClassType(e),o=t[n.main];return o&&o[IS_CONTAINER]}}function makeStyleMapper(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,o,r){for(var i={},a=0;a<e.length;a++){var l=e[a][1];if(!(o&&indexOf(o,l)>=0||r&&indexOf(r,l)<0)){var s=n.getShallow(l,t);null!=s&&(i[e[a][0]]=s)}}return i}}var AREA_STYLE_KEY_MAP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],getAreaStyle=makeStyleMapper(AREA_STYLE_KEY_MAP),AreaStyleMixin=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return getAreaStyle(this,e,t)},e}(),globalImageCache=new LRU(50);function findExistImage(e){if("string"==typeof e){var t=globalImageCache.get(e);return t&&t.image}return e}function createOrUpdateImage(e,t,n,o,r){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var i=globalImageCache.get(e),a={hostEl:n,cb:o,cbPayload:r};return i?!isImageReady(t=i.image)&&i.pending.push(a):((t=platformApi.loadImage(e,imageOnLoad,imageOnLoad)).__zrImageSrc=e,globalImageCache.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}return e}return t}function imageOnLoad(){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],o=n.cb;o&&o(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function isImageReady(e){return e&&e.width&&e.height}var STYLE_REG=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function truncateText2(e,t,n,o,r,i){if(!n)return e.text="",void(e.isTruncated=!1);var a=(t+"").split("\n");i=prepareTruncateOptions(n,o,r,i);for(var l=!1,s={},c=0,u=a.length;c<u;c++)truncateSingleLine(s,a[c],i),a[c]=s.textLine,l=l||s.isTruncated;e.text=a.join("\n"),e.isTruncated=l}function prepareTruncateOptions(e,t,n,o){var r=extend$1({},o=o||{});r.font=t,n=retrieve2(n,"..."),r.maxIterations=retrieve2(o.maxIterations,2);var i=r.minChar=retrieve2(o.minChar,0);r.cnCharWidth=getWidth("国",t);var a=r.ascCharWidth=getWidth("a",t);r.placeholder=retrieve2(o.placeholder,"");for(var l=e=Math.max(0,e-1),s=0;s<i&&l>=a;s++)l-=a;var c=getWidth(n,t);return c>l&&(n="",c=0),l=e-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=l,r.containerWidth=e,r}function truncateSingleLine(e,t,n){var o=n.containerWidth,r=n.font,i=n.contentWidth;if(!o)return e.textLine="",void(e.isTruncated=!1);var a=getWidth(t,r);if(a<=o)return e.textLine=t,void(e.isTruncated=!1);for(var l=0;;l++){if(a<=i||l>=n.maxIterations){t+=n.ellipsis;break}var s=0===l?estimateLength(t,i,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(t.length*i/a):0;a=getWidth(t=t.substr(0,s),r)}""===t&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function estimateLength(e,t,n,o){for(var r=0,i=0,a=e.length;i<a&&r<t;i++){var l=e.charCodeAt(i);r+=0<=l&&l<=127?n:o}return i}function parsePlainText(e,t){null!=e&&(e+="");var n,o=t.overflow,r=t.padding,i=t.font,a="truncate"===o,l=getLineHeight(i),s=retrieve2(t.lineHeight,l),c=!!t.backgroundColor,u="truncate"===t.lineOverflow,d=!1,p=t.width,f=(n=null==p||"break"!==o&&"breakAll"!==o?e?e.split("\n"):[]:e?wrapText(e,t.font,p,"breakAll"===o,0).lines:[]).length*s,h=retrieve2(t.height,f);if(f>h&&u){var m=Math.floor(h/s);d=d||n.length>m,n=n.slice(0,m)}if(e&&a&&null!=p)for(var g=prepareTruncateOptions(p,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),v={},y=0;y<n.length;y++)truncateSingleLine(v,n[y],g),n[y]=v.textLine,d=d||v.isTruncated;var b=h,_=0;for(y=0;y<n.length;y++)_=Math.max(getWidth(n[y],i),_);null==p&&(p=_);var w=_;return r&&(b+=r[0]+r[2],w+=r[1]+r[3],p+=r[1]+r[3]),c&&(w=p),{lines:n,height:h,outerWidth:w,outerHeight:b,lineHeight:s,calculatedLineHeight:l,contentWidth:_,contentHeight:f,width:p,isTruncated:d}}var RichTextToken=function(){return function(){}}(),RichTextLine=function(){return function(e){this.tokens=[],e&&(this.tokens=e)}}(),RichTextContentBlock=function(){return function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}}();function parseRichText(e,t){var n=new RichTextContentBlock;if(null!=e&&(e+=""),!e)return n;for(var o,r=t.width,i=t.height,a=t.overflow,l="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},s=STYLE_REG.lastIndex=0;null!=(o=STYLE_REG.exec(e));){var c=o.index;c>s&&pushTokens(n,e.substring(s,c),t,l),pushTokens(n,o[2],t,l,o[1]),s=STYLE_REG.lastIndex}s<e.length&&pushTokens(n,e.substring(s,e.length),t,l);var u=[],d=0,p=0,f=t.padding,h="truncate"===a,m="truncate"===t.lineOverflow,g={};function v(e,t,n){e.width=t,e.lineHeight=n,d+=n,p=Math.max(p,t)}e:for(var y=0;y<n.lines.length;y++){for(var b=n.lines[y],_=0,w=0,k=0;k<b.tokens.length;k++){var x=(O=b.tokens[k]).styleName&&t.rich[O.styleName]||{},S=O.textPadding=x.padding,C=S?S[1]+S[3]:0,E=O.font=x.font||t.font;O.contentHeight=getLineHeight(E);var T=retrieve2(x.height,O.contentHeight);if(O.innerHeight=T,S&&(T+=S[0]+S[2]),O.height=T,O.lineHeight=retrieve3(x.lineHeight,t.lineHeight,T),O.align=x&&x.align||t.align,O.verticalAlign=x&&x.verticalAlign||"middle",m&&null!=i&&d+O.lineHeight>i){var A=n.lines.length;k>0?(b.tokens=b.tokens.slice(0,k),v(b,w,_),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y),n.isTruncated=n.isTruncated||n.lines.length<A;break e}var $=x.width,I=null==$||"auto"===$;if("string"==typeof $&&"%"===$.charAt($.length-1))O.percentWidth=$,u.push(O),O.contentWidth=getWidth(O.text,E);else{if(I){var M=x.backgroundColor,P=M&&M.image;P&&isImageReady(P=findExistImage(P))&&(O.width=Math.max(O.width,P.width*T/P.height))}var N=h&&null!=r?r-w:null;null!=N&&N<O.width?!I||N<C?(O.text="",O.width=O.contentWidth=0):(truncateText2(g,O.text,N-C,E,t.ellipsis,{minChar:t.truncateMinChar}),O.text=g.text,n.isTruncated=n.isTruncated||g.isTruncated,O.width=O.contentWidth=getWidth(O.text,E)):O.contentWidth=getWidth(O.text,E)}O.width+=C,w+=O.width,x&&(_=Math.max(_,O.lineHeight))}v(b,w,_)}n.outerWidth=n.width=retrieve2(r,p),n.outerHeight=n.height=retrieve2(i,d),n.contentHeight=d,n.contentWidth=p,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]);for(y=0;y<u.length;y++){var O,R=(O=u[y]).percentWidth;O.width=parseInt(R,10)/100*n.width}return n}function pushTokens(e,t,n,o,r){var i,a,l=""===t,s=r&&n.rich[r]||{},c=e.lines,u=s.font||n.font,d=!1;if(o){var p=s.padding,f=p?p[1]+p[3]:0;if(null!=s.width&&"auto"!==s.width){var h=parsePercent$1(s.width,o.width)+f;c.length>0&&h+o.accumWidth>o.width&&(i=t.split("\n"),d=!0),o.accumWidth=h}else{var m=wrapText(t,u,o.width,o.breakAll,o.accumWidth);o.accumWidth=m.accumWidth+f,a=m.linesWidths,i=m.lines}}else i=t.split("\n");for(var g=0;g<i.length;g++){var v=i[g],y=new RichTextToken;if(y.styleName=r,y.text=v,y.isLineHolder=!v&&!l,"number"==typeof s.width?y.width=s.width:y.width=a?a[g]:getWidth(v,u),g||d)c.push(new RichTextLine([y]));else{var b=(c[c.length-1]||(c[0]=new RichTextLine)).tokens,_=b.length;1===_&&b[0].isLineHolder?b[0]=y:(v||!_||l)&&b.push(y)}}}function isAlphabeticLetter(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var breakCharMap=reduce(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function isWordBreakChar(e){return!isAlphabeticLetter(e)||!!breakCharMap[e]}function wrapText(e,t,n,o,r){for(var i=[],a=[],l="",s="",c=0,u=0,d=0;d<e.length;d++){var p=e.charAt(d);if("\n"!==p){var f=getWidth(p,t),h=!o&&!isWordBreakChar(p);(i.length?u+f>n:r+u+f>n)?u?(l||s)&&(h?(l||(l=s,s="",u=c=0),i.push(l),a.push(u-c),s+=p,l="",u=c+=f):(s&&(l+=s,s="",c=0),i.push(l),a.push(u),l=p,u=f)):h?(i.push(s),a.push(c),s=p,c=f):(i.push(p),a.push(f)):(u+=f,h?(s+=p,c+=f):(s&&(l+=s,s="",c=0),l+=p))}else s&&(l+=s,u+=c),i.push(l),a.push(u),l="",s="",c=0,u=0}return i.length||l||(l=e,s="",c=0),s&&(l+=s),l&&(i.push(l),a.push(u)),1===i.length&&(u+=r),{accumWidth:u,lines:i,linesWidths:a}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(10*Math.random()),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(e){function t(t){return e.call(this,t)||this}var n;return __extends(t,e),t.prototype._init=function(t){for(var n=keys(t),o=0;o<n.length;o++){var r=n[o];"style"===r?this.useStyle(t[r]):e.prototype.attrKV.call(this,r,t[r])}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,o){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&isDisplayableCulled(this,e,t)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var i=0;i<this.__clipPaths.length;++i)if(this.__clipPaths[i].isZeroArea())return!1;if(o&&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(),o=this.style,r=o.shadowBlur||0,i=o.shadowOffsetX||0,a=o.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new BoundingRect(0,0,0,0)),t?BoundingRect.applyTransform(e,n,t):e.copy(n),(r||i||a)&&(e.width+=2*r+Math.abs(i),e.height+=2*r+Math.abs(a),e.x=Math.min(e.x,e.x+i-r),e.y=Math.min(e.y,e.y+a-r));var l=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-l),e.y=Math.floor(e.y-l),e.width=Math.ceil(e.width+1+2*l),e.height=Math.ceil(e.height+1+2*l))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new BoundingRect(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:extend$1(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=STYLE_CHANGED_BIT,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&STYLE_CHANGED_BIT)},t.prototype.styleUpdated=function(){this.__dirty&=-3},t.prototype.createStyle=function(e){return createObject(DEFAULT_COMMON_STYLE,e)},t.prototype.useStyle=function(e){e[STYLE_MAGIC_KEY]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[STYLE_MAGIC_KEY]},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,PRIMARY_STATES_KEYS)},t.prototype._applyStateObj=function(t,n,o,r,i,a){e.prototype._applyStateObj.call(this,t,n,o,r,i,a);var l,s=!(n&&r);if(n&&n.style?i?r?l=n.style:(l=this._mergeStyle(this.createStyle(),o.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:o.style),this._mergeStyle(l,n.style)):s&&(l=o.style),l)if(i){var c=this.style;if(this.style=this.createStyle(s?{}:c),s)for(var u=keys(c),d=0;d<u.length;d++){(f=u[d])in l&&(l[f]=l[f],this.style[f]=c[f])}var p=keys(l);for(d=0;d<p.length;d++){var f=p[d];this.style[f]=this.style[f]}this._transitionState(t,{style:l},a,this.getAnimationStyleProps())}else this.useStyle(l);var h=this.__inHover?PRIMARY_STATES_KEYS_IN_HOVER_LAYER:PRIMARY_STATES_KEYS;for(d=0;d<h.length;d++){f=h[d];n&&null!=n[f]?this[f]=n[f]:s&&null!=o[f]&&(this[f]=o[f])}},t.prototype._mergeStates=function(t){for(var n,o=e.prototype._mergeStates.call(this,t),r=0;r<t.length;r++){var i=t[r];i.style&&(n=n||{},this._mergeStyle(n,i.style))}return n&&(o.style=n),o},t.prototype._mergeStyle=function(e,t){return extend$1(e,t),e},t.prototype.getAnimationStyleProps=function(){return DEFAULT_COMMON_ANIMATION_PROPS},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=REDRAW_BIT|STYLE_CHANGED_BIT)),t}(Element$1),tmpRect=new BoundingRect(0,0,0,0),viewRect=new BoundingRect(0,0,0,0);function isDisplayableCulled(e,t,n){return tmpRect.copy(e.getBoundingRect()),e.transform&&tmpRect.applyTransform(e.transform),viewRect.width=t,viewRect.height=n,!tmpRect.intersect(viewRect)}var mathMin$9=Math.min,mathMax$9=Math.max,mathSin$4=Math.sin,mathCos$4=Math.cos,PI2$8=2*Math.PI,start=create$2(),end=create$2(),extremity=create$2();function fromPoints(e,t,n){if(0!==e.length){for(var o=e[0],r=o[0],i=o[0],a=o[1],l=o[1],s=1;s<e.length;s++)o=e[s],r=mathMin$9(r,o[0]),i=mathMax$9(i,o[0]),a=mathMin$9(a,o[1]),l=mathMax$9(l,o[1]);t[0]=r,t[1]=a,n[0]=i,n[1]=l}}function fromLine(e,t,n,o,r,i){r[0]=mathMin$9(e,n),r[1]=mathMin$9(t,o),i[0]=mathMax$9(e,n),i[1]=mathMax$9(t,o)}var xDim=[],yDim=[];function fromCubic(e,t,n,o,r,i,a,l,s,c){var u=cubicExtrema,d=cubicAt,p=u(e,n,r,a,xDim);s[0]=1/0,s[1]=1/0,c[0]=-1/0,c[1]=-1/0;for(var f=0;f<p;f++){var h=d(e,n,r,a,xDim[f]);s[0]=mathMin$9(h,s[0]),c[0]=mathMax$9(h,c[0])}p=u(t,o,i,l,yDim);for(f=0;f<p;f++){var m=d(t,o,i,l,yDim[f]);s[1]=mathMin$9(m,s[1]),c[1]=mathMax$9(m,c[1])}s[0]=mathMin$9(e,s[0]),c[0]=mathMax$9(e,c[0]),s[0]=mathMin$9(a,s[0]),c[0]=mathMax$9(a,c[0]),s[1]=mathMin$9(t,s[1]),c[1]=mathMax$9(t,c[1]),s[1]=mathMin$9(l,s[1]),c[1]=mathMax$9(l,c[1])}function fromQuadratic(e,t,n,o,r,i,a,l){var s=quadraticExtremum,c=quadraticAt$1,u=mathMax$9(mathMin$9(s(e,n,r),1),0),d=mathMax$9(mathMin$9(s(t,o,i),1),0),p=c(e,n,r,u),f=c(t,o,i,d);a[0]=mathMin$9(e,r,p),a[1]=mathMin$9(t,i,f),l[0]=mathMax$9(e,r,p),l[1]=mathMax$9(t,i,f)}function fromArc(e,t,n,o,r,i,a,l,s){var c=min$2,u=max$2,d=Math.abs(r-i);if(d%PI2$8<1e-4&&d>1e-4)return l[0]=e-n,l[1]=t-o,s[0]=e+n,void(s[1]=t+o);if(start[0]=mathCos$4(r)*n+e,start[1]=mathSin$4(r)*o+t,end[0]=mathCos$4(i)*n+e,end[1]=mathSin$4(i)*o+t,c(l,start,end),u(s,start,end),(r%=PI2$8)<0&&(r+=PI2$8),(i%=PI2$8)<0&&(i+=PI2$8),r>i&&!a?i+=PI2$8:r<i&&a&&(r+=PI2$8),a){var p=i;i=r,r=p}for(var f=0;f<i;f+=Math.PI/2)f>r&&(extremity[0]=mathCos$4(f)*n+e,extremity[1]=mathSin$4(f)*o+t,c(l,extremity,l),u(s,extremity,s))}var CMD$4={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min$1=[],max$1=[],min2=[],max2=[],mathMin$8=Math.min,mathMax$8=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$2=Math.abs,PI$8=Math.PI,PI2$7=2*PI$8,hasTypedArray="undefined"!=typeof Float32Array,tmpAngles=[];function modPI2(e){return Math.round(e/PI$8*1e8)/1e8%2*PI$8}function normalizeArcAngles(e,t){var n=modPI2(e[0]);n<0&&(n+=PI2$7);var o=n-e[0],r=e[1];r+=o,!t&&r-n>=PI2$7?r=n+PI2$7:t&&n-r>=PI2$7?r=n-PI2$7:!t&&n>r?r=n+(PI2$7-modPI2(n-r)):t&&n<r&&(r=n-(PI2$7-modPI2(r-n))),e[0]=n,e[1]=r}var PathProxy=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=mathAbs$2(n/devicePixelRatio/e)||0,this._uy=mathAbs$2(n/devicePixelRatio/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(CMD$4.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=mathAbs$2(e-this._xi),o=mathAbs$2(t-this._yi),r=n>this._ux||o>this._uy;if(this.addData(CMD$4.L,e,t),this._ctx&&r&&this._ctx.lineTo(e,t),r)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var i=n*n+o*o;i>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=i)}return this},e.prototype.bezierCurveTo=function(e,t,n,o,r,i){return this._drawPendingPt(),this.addData(CMD$4.C,e,t,n,o,r,i),this._ctx&&this._ctx.bezierCurveTo(e,t,n,o,r,i),this._xi=r,this._yi=i,this},e.prototype.quadraticCurveTo=function(e,t,n,o){return this._drawPendingPt(),this.addData(CMD$4.Q,e,t,n,o),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,o),this._xi=n,this._yi=o,this},e.prototype.arc=function(e,t,n,o,r,i){this._drawPendingPt(),tmpAngles[0]=o,tmpAngles[1]=r,normalizeArcAngles(tmpAngles,i),o=tmpAngles[0];var a=(r=tmpAngles[1])-o;return this.addData(CMD$4.A,e,t,n,n,o,a,0,i?0:1),this._ctx&&this._ctx.arc(e,t,n,o,r,i),this._xi=mathCos$3(r)*n+e,this._yi=mathSin$3(r)*n+t,this},e.prototype.arcTo=function(e,t,n,o,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,o,r),this},e.prototype.rect=function(e,t,n,o){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,o),this.addData(CMD$4.R,e,t,n,o),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$4.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||!hasTypedArray||(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,o=this._len,r=0;r<t;r++)n+=e[r].len();hasTypedArray&&this.data instanceof Float32Array&&(this.data=new Float32Array(o+n));for(r=0;r<t;r++)for(var i=e[r].data,a=0;a<i.length;a++)this.data[o++]=i[a];this._len=o},e.prototype.addData=function(e,t,n,o,r,i,a,l,s){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,hasTypedArray&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){min$1[0]=min$1[1]=min2[0]=min2[1]=Number.MAX_VALUE,max$1[0]=max$1[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,o=0,r=0,i=0;for(e=0;e<this._len;){var a=t[e++],l=1===e;switch(l&&(r=n=t[e],i=o=t[e+1]),a){case CMD$4.M:n=r=t[e++],o=i=t[e++],min2[0]=r,min2[1]=i,max2[0]=r,max2[1]=i;break;case CMD$4.L:fromLine(n,o,t[e],t[e+1],min2,max2),n=t[e++],o=t[e++];break;case CMD$4.C:fromCubic(n,o,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],min2,max2),n=t[e++],o=t[e++];break;case CMD$4.Q:fromQuadratic(n,o,t[e++],t[e++],t[e],t[e+1],min2,max2),n=t[e++],o=t[e++];break;case CMD$4.A:var s=t[e++],c=t[e++],u=t[e++],d=t[e++],p=t[e++],f=t[e++]+p;e+=1;var h=!t[e++];l&&(r=mathCos$3(p)*u+s,i=mathSin$3(p)*d+c),fromArc(s,c,u,d,p,f,h,min2,max2),n=mathCos$3(f)*u+s,o=mathSin$3(f)*d+c;break;case CMD$4.R:fromLine(r=n=t[e++],i=o=t[e++],r+t[e++],i+t[e++],min2,max2);break;case CMD$4.Z:n=r,o=i}min$2(min$1,min$1,min2),max$2(max$1,max$1,max2)}return 0===e&&(min$1[0]=min$1[1]=max$1[0]=max$1[1]=0),new BoundingRect(min$1[0],min$1[1],max$1[0]-min$1[0],max$1[1]-min$1[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,n=this._ux,o=this._uy,r=0,i=0,a=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var s=this._pathSegLen,c=0,u=0,d=0;d<t;){var p=e[d++],f=1===d;f&&(a=r=e[d],l=i=e[d+1]);var h=-1;switch(p){case CMD$4.M:r=a=e[d++],i=l=e[d++];break;case CMD$4.L:var m=e[d++],g=(b=e[d++])-i;(mathAbs$2($=m-r)>n||mathAbs$2(g)>o||d===t-1)&&(h=Math.sqrt($*$+g*g),r=m,i=b);break;case CMD$4.C:var v=e[d++],y=e[d++],b=(m=e[d++],e[d++]),_=e[d++],w=e[d++];h=cubicLength(r,i,v,y,m,b,_,w,10),r=_,i=w;break;case CMD$4.Q:h=quadraticLength(r,i,v=e[d++],y=e[d++],m=e[d++],b=e[d++],10),r=m,i=b;break;case CMD$4.A:var k=e[d++],x=e[d++],S=e[d++],C=e[d++],E=e[d++],T=e[d++],A=T+E;d+=1,f&&(a=mathCos$3(E)*S+k,l=mathSin$3(E)*C+x),h=mathMax$8(S,C)*mathMin$8(PI2$7,Math.abs(T)),r=mathCos$3(A)*S+k,i=mathSin$3(A)*C+x;break;case CMD$4.R:a=r=e[d++],l=i=e[d++],h=2*e[d++]+2*e[d++];break;case CMD$4.Z:var $=a-r;g=l-i;h=Math.sqrt($*$+g*g),r=a,i=l}h>=0&&(s[u++]=h,c+=h)}return this._pathLen=c,c},e.prototype.rebuildPath=function(e,t){var n,o,r,i,a,l,s,c,u,d,p=this.data,f=this._ux,h=this._uy,m=this._len,g=t<1,v=0,y=0,b=0;if(!g||(this._pathSegLen||this._calculateLength(),s=this._pathSegLen,c=t*this._pathLen))e:for(var _=0;_<m;){var w=p[_++],k=1===_;switch(k&&(n=r=p[_],o=i=p[_+1]),w!==CMD$4.L&&b>0&&(e.lineTo(u,d),b=0),w){case CMD$4.M:n=r=p[_++],o=i=p[_++],e.moveTo(r,i);break;case CMD$4.L:a=p[_++],l=p[_++];var x=mathAbs$2(a-r),S=mathAbs$2(l-i);if(x>f||S>h){if(g){if(v+(q=s[y++])>c){var C=(c-v)/q;e.lineTo(r*(1-C)+a*C,i*(1-C)+l*C);break e}v+=q}e.lineTo(a,l),r=a,i=l,b=0}else{var E=x*x+S*S;E>b&&(u=a,d=l,b=E)}break;case CMD$4.C:var T=p[_++],A=p[_++],$=p[_++],I=p[_++],M=p[_++],P=p[_++];if(g){if(v+(q=s[y++])>c){cubicSubdivide(r,T,$,M,C=(c-v)/q,tmpOutX),cubicSubdivide(i,A,I,P,C,tmpOutY),e.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}v+=q}e.bezierCurveTo(T,A,$,I,M,P),r=M,i=P;break;case CMD$4.Q:T=p[_++],A=p[_++],$=p[_++],I=p[_++];if(g){if(v+(q=s[y++])>c){quadraticSubdivide(r,T,$,C=(c-v)/q,tmpOutX),quadraticSubdivide(i,A,I,C,tmpOutY),e.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}v+=q}e.quadraticCurveTo(T,A,$,I),r=$,i=I;break;case CMD$4.A:var N=p[_++],O=p[_++],R=p[_++],D=p[_++],L=p[_++],B=p[_++],V=p[_++],z=!p[_++],F=R>D?R:D,H=mathAbs$2(R-D)>.001,j=L+B,G=!1;if(g)v+(q=s[y++])>c&&(j=L+B*(c-v)/q,G=!0),v+=q;if(H&&e.ellipse?e.ellipse(N,O,R,D,V,L,j,z):e.arc(N,O,F,L,j,z),G)break e;k&&(n=mathCos$3(L)*R+N,o=mathSin$3(L)*D+O),r=mathCos$3(j)*R+N,i=mathSin$3(j)*D+O;break;case CMD$4.R:n=r=p[_],o=i=p[_+1],a=p[_++],l=p[_++];var U=p[_++],W=p[_++];if(g){if(v+(q=s[y++])>c){var Y=c-v;e.moveTo(a,l),e.lineTo(a+mathMin$8(Y,U),l),(Y-=U)>0&&e.lineTo(a+U,l+mathMin$8(Y,W)),(Y-=W)>0&&e.lineTo(a+mathMax$8(U-Y,0),l+W),(Y-=U)>0&&e.lineTo(a,l+mathMax$8(W-Y,0));break e}v+=q}e.rect(a,l,U,W);break;case CMD$4.Z:if(g){var q;if(v+(q=s[y++])>c){C=(c-v)/q;e.lineTo(r*(1-C)+n*C,i*(1-C)+o*C);break e}v+=q}e.closePath(),r=n,i=o}}},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=CMD$4,e.initDefaultProps=((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,void(t._version=0)),e}();function containStroke$4(e,t,n,o,r,i,a){if(0===r)return!1;var l=r,s=0;if(a>t+l&&a>o+l||a<t-l&&a<o-l||i>e+l&&i>n+l||i<e-l&&i<n-l)return!1;if(e===n)return Math.abs(i-e)<=l/2;var c=(s=(t-o)/(e-n))*i-a+(e*o-n*t)/(e-n);return c*c/(s*s+1)<=l/2*l/2}function containStroke$3(e,t,n,o,r,i,a,l,s,c,u){if(0===s)return!1;var d=s;return!(u>t+d&&u>o+d&&u>i+d&&u>l+d||u<t-d&&u<o-d&&u<i-d&&u<l-d||c>e+d&&c>n+d&&c>r+d&&c>a+d||c<e-d&&c<n-d&&c<r-d&&c<a-d)&&cubicProjectPoint(e,t,n,o,r,i,a,l,c,u,null)<=d/2}function containStroke$2(e,t,n,o,r,i,a,l,s){if(0===a)return!1;var c=a;return!(s>t+c&&s>o+c&&s>i+c||s<t-c&&s<o-c&&s<i-c||l>e+c&&l>n+c&&l>r+c||l<e-c&&l<n-c&&l<r-c)&&quadraticProjectPoint(e,t,n,o,r,i,l,s,null)<=c/2}var PI2$6=2*Math.PI;function normalizeRadian(e){return(e%=PI2$6)<0&&(e+=PI2$6),e}var PI2$5=2*Math.PI;function containStroke$1(e,t,n,o,r,i,a,l,s){if(0===a)return!1;var c=a;l-=e,s-=t;var u=Math.sqrt(l*l+s*s);if(u-c>n||u+c<n)return!1;if(Math.abs(o-r)%PI2$5<1e-4)return!0;if(i){var d=o;o=normalizeRadian(r),r=normalizeRadian(d)}else o=normalizeRadian(o),r=normalizeRadian(r);o>r&&(r+=PI2$5);var p=Math.atan2(s,l);return p<0&&(p+=PI2$5),p>=o&&p<=r||p+PI2$5>=o&&p+PI2$5<=r}function windingLine(e,t,n,o,r,i){if(i>t&&i>o||i<t&&i<o)return 0;if(o===t)return 0;var a=(i-t)/(o-t),l=o<t?1:-1;1!==a&&0!==a||(l=o<t?.5:-.5);var s=a*(n-e)+e;return s===r?1/0:s>r?l:0}var CMD$3=PathProxy.CMD,PI2$4=2*Math.PI,EPSILON$1=1e-4;function isAroundEqual$1(e,t){return Math.abs(e-t)<EPSILON$1}var roots=[-1,-1,-1],extrema=[-1,-1];function swapExtrema(){var e=extrema[0];extrema[0]=extrema[1],extrema[1]=e}function windingCubic(e,t,n,o,r,i,a,l,s,c){if(c>t&&c>o&&c>i&&c>l||c<t&&c<o&&c<i&&c<l)return 0;var u=cubicRootAt(t,o,i,l,c,roots);if(0===u)return 0;for(var d=0,p=-1,f=void 0,h=void 0,m=0;m<u;m++){var g=roots[m],v=0===g||1===g?.5:1;cubicAt(e,n,r,a,g)<s||(p<0&&(p=cubicExtrema(t,o,i,l,extrema),extrema[1]<extrema[0]&&p>1&&swapExtrema(),f=cubicAt(t,o,i,l,extrema[0]),p>1&&(h=cubicAt(t,o,i,l,extrema[1]))),2===p?g<extrema[0]?d+=f<t?v:-v:g<extrema[1]?d+=h<f?v:-v:d+=l<h?v:-v:g<extrema[0]?d+=f<t?v:-v:d+=l<f?v:-v)}return d}function windingQuadratic(e,t,n,o,r,i,a,l){if(l>t&&l>o&&l>i||l<t&&l<o&&l<i)return 0;var s=quadraticRootAt(t,o,i,l,roots);if(0===s)return 0;var c=quadraticExtremum(t,o,i);if(c>=0&&c<=1){for(var u=0,d=quadraticAt$1(t,o,i,c),p=0;p<s;p++){var f=0===roots[p]||1===roots[p]?.5:1;quadraticAt$1(e,n,r,roots[p])<a||(roots[p]<c?u+=d<t?f:-f:u+=i<d?f:-f)}return u}f=0===roots[0]||1===roots[0]?.5:1;return quadraticAt$1(e,n,r,roots[0])<a?0:i<t?f:-f}function windingArc(e,t,n,o,r,i,a,l){if((l-=t)>n||l<-n)return 0;var s=Math.sqrt(n*n-l*l);roots[0]=-s,roots[1]=s;var c=Math.abs(o-r);if(c<1e-4)return 0;if(c>=PI2$4-1e-4){o=0,r=PI2$4;var u=i?1:-1;return a>=roots[0]+e&&a<=roots[1]+e?u:0}if(o>r){var d=o;o=r,r=d}o<0&&(o+=PI2$4,r+=PI2$4);for(var p=0,f=0;f<2;f++){var h=roots[f];if(h+e>a){var m=Math.atan2(l,h);u=i?1:-1;m<0&&(m=PI2$4+m),(m>=o&&m<=r||m+PI2$4>=o&&m+PI2$4<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(u=-u),p+=u)}}return p}function containPath(e,t,n,o,r){for(var i,a,l=e.data,s=e.len(),c=0,u=0,d=0,p=0,f=0,h=0;h<s;){var m=l[h++],g=1===h;switch(m===CMD$3.M&&h>1&&(n||(c+=windingLine(u,d,p,f,o,r))),g&&(p=u=l[h],f=d=l[h+1]),m){case CMD$3.M:u=p=l[h++],d=f=l[h++];break;case CMD$3.L:if(n){if(containStroke$4(u,d,l[h],l[h+1],t,o,r))return!0}else c+=windingLine(u,d,l[h],l[h+1],o,r)||0;u=l[h++],d=l[h++];break;case CMD$3.C:if(n){if(containStroke$3(u,d,l[h++],l[h++],l[h++],l[h++],l[h],l[h+1],t,o,r))return!0}else c+=windingCubic(u,d,l[h++],l[h++],l[h++],l[h++],l[h],l[h+1],o,r)||0;u=l[h++],d=l[h++];break;case CMD$3.Q:if(n){if(containStroke$2(u,d,l[h++],l[h++],l[h],l[h+1],t,o,r))return!0}else c+=windingQuadratic(u,d,l[h++],l[h++],l[h],l[h+1],o,r)||0;u=l[h++],d=l[h++];break;case CMD$3.A:var v=l[h++],y=l[h++],b=l[h++],_=l[h++],w=l[h++],k=l[h++];h+=1;var x=!!(1-l[h++]);i=Math.cos(w)*b+v,a=Math.sin(w)*_+y,g?(p=i,f=a):c+=windingLine(u,d,i,a,o,r);var S=(o-v)*_/b+v;if(n){if(containStroke$1(v,y,_,w,w+k,x,t,S,r))return!0}else c+=windingArc(v,y,_,w,w+k,x,S,r);u=Math.cos(w+k)*b+v,d=Math.sin(w+k)*_+y;break;case CMD$3.R:if(p=u=l[h++],f=d=l[h++],i=p+l[h++],a=f+l[h++],n){if(containStroke$4(p,f,i,f,t,o,r)||containStroke$4(i,f,i,a,t,o,r)||containStroke$4(i,a,p,a,t,o,r)||containStroke$4(p,a,p,f,t,o,r))return!0}else c+=windingLine(i,f,i,a,o,r),c+=windingLine(p,a,p,f,o,r);break;case CMD$3.Z:if(n){if(containStroke$4(u,d,p,f,t,o,r))return!0}else c+=windingLine(u,d,p,f,o,r);u=p,d=f}}return n||isAroundEqual$1(d,f)||(c+=windingLine(u,d,p,f,o,r)||0),0!==c}function contain$2(e,t,n){return containPath(e,0,!1,t,n)}function containStroke(e,t,n,o){return containPath(e,t,!0,n,o)}var DEFAULT_PATH_STYLE=defaults$1({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults$1({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(e){function t(t){return e.call(this,t)||this}var n;return __extends(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var o=this.style;if(o.decal){var r=this._decalEl=this._decalEl||new t;r.buildPath===t.prototype.buildPath&&(r.buildPath=function(e){n.buildPath(e,n.shape)}),r.silent=!0;var i=r.style;for(var a in o)i[a]!==o[a]&&(i[a]=o[a]);i.fill=o.fill?o.decal:null,i.decal=null,i.shadowColor=null,o.strokeFirst&&(i.stroke=null);for(var l=0;l<pathCopyParams.length;++l)r[pathCopyParams[l]]=this[pathCopyParams[l]];r.__dirty|=REDRAW_BIT}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var n=keys(t);this.shape=this.getDefaultShape();var o=this.getDefaultStyle();o&&this.useStyle(o);for(var r=0;r<n.length;r++){var i=n[r],a=t[i];"style"===i?this.style?extend$1(this.style,a):this.useStyle(a):"shape"===i?extend$1(this.shape,a):e.prototype.attrKV.call(this,i,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(isString$2(e)){var t=lum(e,0);return t>.5?DARK_LABEL_COLOR:t>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}if(e)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(isString$2(t)){var n=this.__zr;if(!(!n||!n.isDarkMode())===lum(e,0)<DARK_MODE_THRESHOLD)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=-5},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 PathProxy(!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 o=!1;this.path||(o=!0,this.createPathProxy());var r=this.path;(o||this.__dirty&SHAPE_CHANGED_BIT)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),e=r.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var i=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){i.copy(e);var a=t.strokeNoScale?this.getLineScale():1,l=t.lineWidth;if(!this.hasFill()){var s=this.strokeContainThreshold;l=Math.max(l,null==s?4:s)}a>1e-10&&(i.width+=l/a,i.height+=l/a,i.x-=l/a/2,i.y-=l/a/2)}return i}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),o=this.getBoundingRect(),r=this.style;if(e=n[0],t=n[1],o.contain(e,t)){var i=this.path;if(this.hasStroke()){var a=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),containStroke(i,a/l,e,t)))return!0}if(this.hasFill())return contain$2(i,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,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:extend$1(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},t.prototype.createStyle=function(e){return createObject(DEFAULT_PATH_STYLE,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=extend$1({},this.shape))},t.prototype._applyStateObj=function(t,n,o,r,i,a){e.prototype._applyStateObj.call(this,t,n,o,r,i,a);var l,s=!(n&&r);if(n&&n.shape?i?r?l=n.shape:(l=extend$1({},o.shape),extend$1(l,n.shape)):(l=extend$1({},r?this.shape:o.shape),extend$1(l,n.shape)):s&&(l=o.shape),l)if(i){this.shape=extend$1({},this.shape);for(var c={},u=keys(l),d=0;d<u.length;d++){var p=u[d];"object"==typeof l[p]?this.shape[p]=l[p]:c[p]=l[p]}this._transitionState(t,{shape:c},a)}else this.shape=l,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var n,o=e.prototype._mergeStates.call(this,t),r=0;r<t.length;r++){var i=t[r];i.shape&&(n=n||{},this._mergeStyle(n,i.shape))}return n&&(o.shape=n),o},t.prototype.getAnimationStyleProps=function(){return DEFAULT_PATH_ANIMATION_PROPS},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(t){function n(n){var o=t.call(this,n)||this;return e.init&&e.init.call(o,n),o}return __extends(n,t),n.prototype.getDefaultStyle=function(){return clone$4(e.style)},n.prototype.getDefaultShape=function(){return clone$4(e.shape)},n}(t);for(var o in e)"function"==typeof e[o]&&(n.prototype[o]=e[o]);return n},t.initDefaultProps=((n=t.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=REDRAW_BIT|STYLE_CHANGED_BIT|SHAPE_CHANGED_BIT)),t}(Displayable),DEFAULT_TSPAN_STYLE=defaults$1({strokeFirst:!0,font:DEFAULT_FONT,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},DEFAULT_PATH_STYLE),TSpan=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(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 createObject(DEFAULT_TSPAN_STYLE,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=getBoundingRect(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var o=e.lineWidth;n.x-=o/2,n.y-=o/2,n.width+=o,n.height+=o}this._rect=n}return this._rect},t.initDefaultProps=void(t.prototype.dirtyRectTolerance=10),t}(Displayable);TSpan.prototype.type="tspan";var DEFAULT_IMAGE_STYLE=defaults$1({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults$1({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike$1(e){return!!(e&&"string"!=typeof e&&e.width&&e.height)}var ZRImage=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.createStyle=function(e){return createObject(DEFAULT_IMAGE_STYLE,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var o=isImageLike$1(t.image)?t.image:this.__image;if(!o)return 0;var r="width"===e?"height":"width",i=t[r];return null==i?o[e]:o[e]/o[r]*i},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new BoundingRect(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Displayable);function buildPath$2(e,t){var n,o,r,i,a,l=t.x,s=t.y,c=t.width,u=t.height,d=t.r;c<0&&(l+=c,c=-c),u<0&&(s+=u,u=-u),"number"==typeof d?n=o=r=i=d:d instanceof Array?1===d.length?n=o=r=i=d[0]:2===d.length?(n=r=d[0],o=i=d[1]):3===d.length?(n=d[0],o=i=d[1],r=d[2]):(n=d[0],o=d[1],r=d[2],i=d[3]):n=o=r=i=0,n+o>c&&(n*=c/(a=n+o),o*=c/a),r+i>c&&(r*=c/(a=r+i),i*=c/a),o+r>u&&(o*=u/(a=o+r),r*=u/a),n+i>u&&(n*=u/(a=n+i),i*=u/a),e.moveTo(l+n,s),e.lineTo(l+c-o,s),0!==o&&e.arc(l+c-o,s+o,o,-Math.PI/2,0),e.lineTo(l+c,s+u-r),0!==r&&e.arc(l+c-r,s+u-r,r,0,Math.PI/2),e.lineTo(l+i,s+u),0!==i&&e.arc(l+i,s+u-i,i,Math.PI/2,Math.PI),e.lineTo(l,s+n),0!==n&&e.arc(l+n,s+n,n,Math.PI,1.5*Math.PI)}ZRImage.prototype.type="image";var round$2=Math.round;function subPixelOptimizeLine$1(e,t,n){if(t){var o=t.x1,r=t.x2,i=t.y1,a=t.y2;e.x1=o,e.x2=r,e.y1=i,e.y2=a;var l=n&&n.lineWidth;return l?(round$2(2*o)===round$2(2*r)&&(e.x1=e.x2=subPixelOptimize$1(o,l,!0)),round$2(2*i)===round$2(2*a)&&(e.y1=e.y2=subPixelOptimize$1(i,l,!0)),e):e}}function subPixelOptimizeRect$1(e,t,n){if(t){var o=t.x,r=t.y,i=t.width,a=t.height;e.x=o,e.y=r,e.width=i,e.height=a;var l=n&&n.lineWidth;return l?(e.x=subPixelOptimize$1(o,l,!0),e.y=subPixelOptimize$1(r,l,!0),e.width=Math.max(subPixelOptimize$1(o+i,l,!1)-e.x,0===i?0:1),e.height=Math.max(subPixelOptimize$1(r+a,l,!1)-e.y,0===a?0:1),e):e}}function subPixelOptimize$1(e,t,n){if(!t)return e;var o=round$2(2*e);return(o+round$2(t))%2==0?o/2:(o+(n?1:-1))/2}var RectShape=function(){return function(){this.x=0,this.y=0,this.width=0,this.height=0}}(),subPixelOptimizeOutputShape$1={},Rect$2=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultShape=function(){return new RectShape},t.prototype.buildPath=function(e,t){var n,o,r,i;if(this.subPixelOptimize){var a=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,t,this.style);n=a.x,o=a.y,r=a.width,i=a.height,a.r=t.r,t=a}else n=t.x,o=t.y,r=t.width,i=t.height;t.r?buildPath$2(e,t):e.rect(n,o,r,i)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Path);Rect$2.prototype.type="rect";var DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults$1({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},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=DEFAULT_RICH_TEXT_COLOR,n.attr(t),n}return __extends(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(){this._childCursor=0,normalizeTextStyle(this.style),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 BoundingRect(0,0,0,0),t=this._children,n=[],o=null,r=0;r<t.length;r++){var i=t[r],a=i.getBoundingRect(),l=i.getLocalTransform(n);l?(e.copy(a),e.applyTransform(l),(o=o||e.clone()).union(e)):(o=o||a.clone()).union(a)}this._rect=o||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||DEFAULT_RICH_TEXT_COLOR},t.prototype.setTextContent=function(e){},t.prototype._mergeStyle=function(e,t){if(!t)return e;var n=t.rich,o=e.rich||n&&{};return extend$1(e,t),n&&o?(this._mergeRich(o,n),e.rich=o):o&&(e.rich=o),e},t.prototype._mergeRich=function(e,t){for(var n=keys(t),o=0;o<n.length;o++){var r=n[o];e[r]=e[r]||{},extend$1(e[r],t[r])}},t.prototype.getAnimationStyleProps=function(){return DEFAULT_TEXT_ANIMATION_PROPS},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||DEFAULT_FONT,n=e.padding,o=parsePlainText(getStyleText(e),e),r=needDrawBackground(e),i=!!e.backgroundColor,a=o.outerHeight,l=o.outerWidth,s=o.contentWidth,c=o.lines,u=o.lineHeight,d=this._defaultStyle;this.isTruncated=!!o.isTruncated;var p=e.x||0,f=e.y||0,h=e.align||d.align||"left",m=e.verticalAlign||d.verticalAlign||"top",g=p,v=adjustTextY(f,o.contentHeight,m);if(r||n){var y=adjustTextX(p,l,h),b=adjustTextY(f,a,m);r&&this._renderBackground(e,e,y,b,l,a)}v+=u/2,n&&(g=getTextXForPadding(p,h,n),"top"===m?v+=n[0]:"bottom"===m&&(v-=n[2]));for(var _=0,w=!1,k=(getFill("fill"in e?e.fill:(w=!0,d.fill))),x=(getStroke("stroke"in e?e.stroke:i||d.autoStroke&&!w?null:(_=DEFAULT_STROKE_LINE_WIDTH,d.stroke))),S=e.textShadowBlur>0,C=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),E=o.calculatedLineHeight,T=0;T<c.length;T++){var A=this._getOrCreateChild(TSpan),$=A.createStyle();A.useStyle($),$.text=c[T],$.x=g,$.y=v,$.textAlign=h,$.textBaseline="middle",$.opacity=e.opacity,$.strokeFirst=!0,S&&($.shadowBlur=e.textShadowBlur||0,$.shadowColor=e.textShadowColor||"transparent",$.shadowOffsetX=e.textShadowOffsetX||0,$.shadowOffsetY=e.textShadowOffsetY||0),$.stroke=x,$.fill=k,x&&($.lineWidth=e.lineWidth||_,$.lineDash=e.lineDash,$.lineDashOffset=e.lineDashOffset||0),$.font=t,setSeparateFont($,e),v+=u,C&&A.setBoundingRect(new BoundingRect(adjustTextX($.x,s,$.textAlign),adjustTextY($.y,E,$.textBaseline),s,E))}},t.prototype._updateRichTexts=function(){var e=this.style,t=parseRichText(getStyleText(e),e),n=t.width,o=t.outerWidth,r=t.outerHeight,i=e.padding,a=e.x||0,l=e.y||0,s=this._defaultStyle,c=e.align||s.align,u=e.verticalAlign||s.verticalAlign;this.isTruncated=!!t.isTruncated;var d=adjustTextX(a,o,c),p=adjustTextY(l,r,u),f=d,h=p;i&&(f+=i[3],h+=i[0]);var m=f+n;needDrawBackground(e)&&this._renderBackground(e,e,d,p,o,r);for(var g=!!e.backgroundColor,v=0;v<t.lines.length;v++){for(var y=t.lines[v],b=y.tokens,_=b.length,w=y.lineHeight,k=y.width,x=0,S=f,C=m,E=_-1,T=void 0;x<_&&(!(T=b[x]).align||"left"===T.align);)this._placeToken(T,e,w,h,S,"left",g),k-=T.width,S+=T.width,x++;for(;E>=0&&"right"===(T=b[E]).align;)this._placeToken(T,e,w,h,C,"right",g),k-=T.width,C-=T.width,E--;for(S+=(n-(S-f)-(m-C)-k)/2;x<=E;)T=b[x],this._placeToken(T,e,w,h,S+T.width/2,"center",g),S+=T.width,x++;h+=w}},t.prototype._placeToken=function(e,t,n,o,r,i,a){var l=t.rich[e.styleName]||{};l.text=e.text;var s=e.verticalAlign,c=o+n/2;"top"===s?c=o+e.height/2:"bottom"===s&&(c=o+n-e.height/2),!e.isLineHolder&&needDrawBackground(l)&&this._renderBackground(l,t,"right"===i?r-e.width:"center"===i?r-e.width/2:r,c-e.height/2,e.width,e.height);var u=!!l.backgroundColor,d=e.textPadding;d&&(r=getTextXForPadding(r,i,d),c-=e.height/2-d[0]-e.innerHeight/2);var p=this._getOrCreateChild(TSpan),f=p.createStyle();p.useStyle(f);var h=this._defaultStyle,m=!1,g=0,v=getFill("fill"in l?l.fill:"fill"in t?t.fill:(m=!0,h.fill)),y=getStroke("stroke"in l?l.stroke:"stroke"in t?t.stroke:u||a||h.autoStroke&&!m?null:(g=DEFAULT_STROKE_LINE_WIDTH,h.stroke)),b=l.textShadowBlur>0||t.textShadowBlur>0;f.text=e.text,f.x=r,f.y=c,b&&(f.shadowBlur=l.textShadowBlur||t.textShadowBlur||0,f.shadowColor=l.textShadowColor||t.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||t.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||t.textShadowOffsetY||0),f.textAlign=i,f.textBaseline="middle",f.font=e.font||DEFAULT_FONT,f.opacity=retrieve3(l.opacity,t.opacity,1),setSeparateFont(f,l),y&&(f.lineWidth=retrieve3(l.lineWidth,t.lineWidth,g),f.lineDash=retrieve2(l.lineDash,t.lineDash),f.lineDashOffset=t.lineDashOffset||0,f.stroke=y),v&&(f.fill=v);var _=e.contentWidth,w=e.contentHeight;p.setBoundingRect(new BoundingRect(adjustTextX(f.x,_,f.textAlign),adjustTextY(f.y,w,f.textBaseline),_,w))},t.prototype._renderBackground=function(e,t,n,o,r,i){var a,l,s,c=e.backgroundColor,u=e.borderWidth,d=e.borderColor,p=c&&c.image,f=c&&!p,h=e.borderRadius,m=this;if(f||e.lineHeight||u&&d){(a=this._getOrCreateChild(Rect$2)).useStyle(a.createStyle()),a.style.fill=null;var g=a.shape;g.x=n,g.y=o,g.width=r,g.height=i,g.r=h,a.dirtyShape()}if(f)(s=a.style).fill=c||null,s.fillOpacity=retrieve2(e.fillOpacity,1);else if(p){(l=this._getOrCreateChild(ZRImage)).onload=function(){m.dirtyStyle()};var v=l.style;v.image=c.image,v.x=n,v.y=o,v.width=r,v.height=i}u&&d&&((s=a.style).lineWidth=u,s.stroke=d,s.strokeOpacity=retrieve2(e.strokeOpacity,1),s.lineDash=e.borderDash,s.lineDashOffset=e.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(s.strokeFirst=!0,s.lineWidth*=2));var y=(a||l).style;y.shadowBlur=e.shadowBlur||0,y.shadowColor=e.shadowColor||"transparent",y.shadowOffsetX=e.shadowOffsetX||0,y.shadowOffsetY=e.shadowOffsetY||0,y.opacity=retrieve3(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return hasSeparateFont(e)&&(t=[e.fontStyle,e.fontWeight,parseFontSize(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&trim$2(t)||e.textFont||e.font},t}(Displayable),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(e){return"string"!=typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?DEFAULT_FONT_SIZE+"px":e+"px":e}function setSeparateFont(e,t){for(var n=0;n<FONT_PARTS.length;n++){var o=FONT_PARTS[n],r=t[o];null!=r&&(e[o]=r)}}function hasSeparateFont(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function normalizeTextStyle(e){return normalizeStyle(e),each$f(e.rich,normalizeStyle),e}function normalizeStyle(e){if(e){e.font=ZRText.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||VALID_TEXT_ALIGN[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||VALID_TEXT_VERTICAL_ALIGN[n]?n:"top",e.padding&&(e.padding=normalizeCssArray$1(e.padding))}}function getStroke(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function getFill(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function getTextXForPadding(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function getStyleText(e){var t=e.text;return null!=t&&(t+=""),t}function needDrawBackground(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var getECData=makeInner(),setCommonECData=function(e,t,n,o){if(o){var r=getECData(o);r.dataIndex=n,r.dataType=t,r.seriesIndex=e,r.ssrType="chart","group"===o.type&&o.traverse((function(o){var r=getECData(o);r.seriesIndex=e,r.dataIndex=n,r.dataType=t,r.ssrType="chart"}))}},_highlightNextDigit=1,_highlightKeyMap={},getSavedStates=makeInner(),getComponentStates=makeInner(),HOVER_STATE_NORMAL=0,HOVER_STATE_BLUR=1,HOVER_STATE_EMPHASIS=2,SPECIAL_STATES=["emphasis","blur","select"],DISPLAY_STATES=["normal","emphasis","blur","select"],Z2_EMPHASIS_LIFT=10,Z2_SELECT_LIFT=9,HIGHLIGHT_ACTION_TYPE="highlight",DOWNPLAY_ACTION_TYPE="downplay",SELECT_ACTION_TYPE="select",UNSELECT_ACTION_TYPE="unselect",TOGGLE_SELECT_ACTION_TYPE="toggleSelect";function hasFillOrStroke(e){return null!=e&&"none"!==e}function doChangeHoverState(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function singleEnterEmphasis(e){doChangeHoverState(e,"emphasis",HOVER_STATE_EMPHASIS)}function singleLeaveEmphasis(e){e.hoverState===HOVER_STATE_EMPHASIS&&doChangeHoverState(e,"normal",HOVER_STATE_NORMAL)}function singleEnterBlur(e){doChangeHoverState(e,"blur",HOVER_STATE_BLUR)}function singleLeaveBlur(e){e.hoverState===HOVER_STATE_BLUR&&doChangeHoverState(e,"normal",HOVER_STATE_NORMAL)}function singleEnterSelect(e){e.selected=!0}function singleLeaveSelect(e){e.selected=!1}function updateElementState(e,t,n){t(e,n)}function traverseUpdateState(e,t,n){updateElementState(e,t,n),e.isGroup&&e.traverse((function(e){updateElementState(e,t,n)}))}function setStatesFlag(e,t){switch(t){case"emphasis":e.hoverState=HOVER_STATE_EMPHASIS;break;case"normal":e.hoverState=HOVER_STATE_NORMAL;break;case"blur":e.hoverState=HOVER_STATE_BLUR;break;case"select":e.selected=!0}}function getFromStateStyle(e,t,n,o){for(var r=e.style,i={},a=0;a<t.length;a++){var l=t[a],s=r[l];i[l]=null==s?o&&o[l]:s}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(i,t)}return i}function createEmphasisDefaultState(e,t,n,o){var r=n&&indexOf(n,"select")>=0,i=!1;if(e instanceof Path){var a=getSavedStates(e),l=r&&a.selectFill||a.normalFill,s=r&&a.selectStroke||a.normalStroke;if(hasFillOrStroke(l)||hasFillOrStroke(s)){var c=(o=o||{}).style||{};"inherit"===c.fill?(i=!0,o=extend$1({},o),(c=extend$1({},c)).fill=l):!hasFillOrStroke(c.fill)&&hasFillOrStroke(l)?(i=!0,o=extend$1({},o),(c=extend$1({},c)).fill=liftColor(l)):!hasFillOrStroke(c.stroke)&&hasFillOrStroke(s)&&(i||(o=extend$1({},o),c=extend$1({},c)),c.stroke=liftColor(s)),o.style=c}}if(o&&null==o.z2){i||(o=extend$1({},o));var u=e.z2EmphasisLift;o.z2=e.z2+(null!=u?u:Z2_EMPHASIS_LIFT)}return o}function createSelectDefaultState(e,t,n){if(n&&null==n.z2){n=extend$1({},n);var o=e.z2SelectLift;n.z2=e.z2+(null!=o?o:Z2_SELECT_LIFT)}return n}function createBlurDefaultState(e,t,n){var o=indexOf(e.currentStates,t)>=0,r=e.style.opacity,i=o?null:getFromStateStyle(e,["opacity"],t,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=extend$1({},n),a=extend$1({opacity:o?r:.1*i.opacity},a),n.style=a),n}function elementStateProxy(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return createEmphasisDefaultState(this,e,t,n);if("blur"===e)return createBlurDefaultState(this,e,n);if("select"===e)return createSelectDefaultState(this,e,n)}return n}function setDefaultStateProxy(e){e.stateProxy=elementStateProxy;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=elementStateProxy),n&&(n.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(e,t){!shouldSilent(e,t)&&!e.__highByOuter&&traverseUpdateState(e,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(e,t){!shouldSilent(e,t)&&!e.__highByOuter&&traverseUpdateState(e,singleLeaveEmphasis)}function enterEmphasis(e,t){e.__highByOuter|=1<<(t||0),traverseUpdateState(e,singleEnterEmphasis)}function leaveEmphasis(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&traverseUpdateState(e,singleLeaveEmphasis)}function enterBlur(e){traverseUpdateState(e,singleEnterBlur)}function leaveBlur(e){traverseUpdateState(e,singleLeaveBlur)}function enterSelect(e){traverseUpdateState(e,singleEnterSelect)}function leaveSelect(e){traverseUpdateState(e,singleLeaveSelect)}function shouldSilent(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function allLeaveBlur(e){var t=e.getModel(),n=[],o=[];t.eachComponent((function(t,r){var i=getComponentStates(r),a="series"===t,l=a?e.getViewOfSeriesModel(r):e.getViewOfComponentModel(r);!a&&o.push(l),i.isBlured&&(l.group.traverse((function(e){singleLeaveBlur(e)})),a&&n.push(r)),i.isBlured=!1})),each$f(o,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)}))}function blurSeries(e,t,n,o){var r=o.getModel();function i(e,t){for(var n=0;n<t.length;n++){var o=e.getItemGraphicEl(t[n]);o&&leaveBlur(o)}}if(n=n||"coordinateSystem",null!=e&&t&&"none"!==t){var a=r.getSeriesByIndex(e),l=a.coordinateSystem;l&&l.master&&(l=l.master);var s=[];r.eachSeries((function(e){var r=a===e,c=e.coordinateSystem;if(c&&c.master&&(c=c.master),!("series"===n&&!r||"coordinateSystem"===n&&!(c&&l?c===l:r)||"series"===t&&r)){if(o.getViewOfSeriesModel(e).group.traverse((function(e){e.__highByOuter&&r&&"self"===t||singleEnterBlur(e)})),isArrayLike(t))i(e.getData(),t);else if(isObject$4(t))for(var u=keys(t),d=0;d<u.length;d++)i(e.getData(u[d]),t[u[d]]);s.push(e),getComponentStates(e).isBlured=!0}})),r.eachComponent((function(e,t){if("series"!==e){var n=o.getViewOfComponentModel(t);n&&n.toggleBlurSeries&&n.toggleBlurSeries(s,!0,r)}}))}}function blurComponent(e,t,n){if(null!=e&&null!=t){var o=n.getModel().getComponent(e,t);if(o){getComponentStates(o).isBlured=!0;var r=n.getViewOfComponentModel(o);r&&r.focusBlurEnabled&&r.group.traverse((function(e){singleEnterBlur(e)}))}}}function blurSeriesFromHighlightPayload(e,t,n){var o=e.seriesIndex,r=e.getData(t.dataType);if(r){var i=queryDataIndex(r,t);i=(isArray$2(i)?i[0]:i)||0;var a=r.getItemGraphicEl(i);if(!a)for(var l=r.count(),s=0;!a&&s<l;)a=r.getItemGraphicEl(s++);if(a){var c=getECData(a);blurSeries(o,c.focus,c.blurScope,n)}else{var u=e.get(["emphasis","focus"]),d=e.get(["emphasis","blurScope"]);null!=u&&blurSeries(o,u,d,n)}}}function findComponentHighDownDispatchers(e,t,n,o){var r={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return r;var i=o.getModel().getComponent(e,t);if(!i)return r;var a=o.getViewOfComponentModel(i);if(!a||!a.findHighDownDispatchers)return r;for(var l,s=a.findHighDownDispatchers(n),c=0;c<s.length;c++)if("self"===getECData(s[c]).focus){l=!0;break}return{focusSelf:l,dispatchers:s}}function handleGlobalMouseOverForHighDown(e,t,n){var o=getECData(e),r=findComponentHighDownDispatchers(o.componentMainType,o.componentIndex,o.componentHighDownName,n),i=r.dispatchers,a=r.focusSelf;i?(a&&blurComponent(o.componentMainType,o.componentIndex,n),each$f(i,(function(e){return enterEmphasisWhenMouseOver(e,t)}))):(blurSeries(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&blurComponent(o.componentMainType,o.componentIndex,n),enterEmphasisWhenMouseOver(e,t))}function handleGlobalMouseOutForHighDown(e,t,n){allLeaveBlur(n);var o=getECData(e),r=findComponentHighDownDispatchers(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;r?each$f(r,(function(e){return leaveEmphasisWhenMouseOut(e,t)})):leaveEmphasisWhenMouseOut(e,t)}function toggleSelectionFromPayload(e,t,n){if(isSelectChangePayload(t)){var o=t.dataType,r=queryDataIndex(e.getData(o),t);isArray$2(r)||(r=[r]),e[t.type===TOGGLE_SELECT_ACTION_TYPE?"toggleSelect":t.type===SELECT_ACTION_TYPE?"select":"unselect"](r,o)}}function updateSeriesElementSelection(e){each$f(e.getAllData(),(function(t){var n=t.data,o=t.type;n.eachItemGraphicEl((function(t,n){e.isSelected(n,o)?enterSelect(t):leaveSelect(t)}))}))}function getAllSelectedIndices(e){var t=[];return e.eachSeries((function(e){each$f(e.getAllData(),(function(n){n.data;var o=n.type,r=e.getSelectedDataIndices();if(r.length>0){var i={dataIndex:r,seriesIndex:e.seriesIndex};null!=o&&(i.dataType=o),t.push(i)}}))})),t}function enableHoverEmphasis(e,t,n){setAsHighDownDispatcher(e,!0),traverseUpdateState(e,setDefaultStateProxy),enableHoverFocus(e,t,n)}function disableHoverEmphasis(e){setAsHighDownDispatcher(e,!1)}function toggleHoverEmphasis(e,t,n,o){o?disableHoverEmphasis(e):enableHoverEmphasis(e,t,n)}function enableHoverFocus(e,t,n){var o=getECData(e);null!=t?(o.focus=t,o.blurScope=n):o.focus&&(o.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(e,t,n,o){n=n||"itemStyle";for(var r=0;r<OTHER_STATES.length;r++){var i=OTHER_STATES[r],a=t.getModel([i,n]);e.ensureState(i).style=o?o(a):a[defaultStyleGetterMap[n]]()}}function setAsHighDownDispatcher(e,t){var n=!1===t,o=e;e.highDownSilentOnTouch&&(o.__highDownSilentOnTouch=e.highDownSilentOnTouch),n&&!o.__highDownDispatcher||(o.__highByOuter=o.__highByOuter||0,o.__highDownDispatcher=!n)}function isHighDownDispatcher(e){return!(!e||!e.__highDownDispatcher)}function enableComponentHighDownFeatures(e,t,n){var o=getECData(e);o.componentMainType=t.mainType,o.componentIndex=t.componentIndex,o.componentHighDownName=n}function getHighlightDigit(e){var t=_highlightKeyMap[e];return null==t&&_highlightNextDigit<=32&&(t=_highlightKeyMap[e]=_highlightNextDigit++),t}function isSelectChangePayload(e){var t=e.type;return t===SELECT_ACTION_TYPE||t===UNSELECT_ACTION_TYPE||t===TOGGLE_SELECT_ACTION_TYPE}function isHighDownPayload(e){var t=e.type;return t===HIGHLIGHT_ACTION_TYPE||t===DOWNPLAY_ACTION_TYPE}function savePathStates(e){var t=getSavedStates(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}var CMD$2=PathProxy.CMD,points$2=[[],[],[]],mathSqrt$2=Math.sqrt,mathAtan2=Math.atan2;function transformPath(e,t){if(t){var n,o,r,i,a,l,s=e.data,c=e.len(),u=CMD$2.M,d=CMD$2.C,p=CMD$2.L,f=CMD$2.R,h=CMD$2.A,m=CMD$2.Q;for(r=0,i=0;r<c;){switch(n=s[r++],i=r,o=0,n){case u:case p:o=1;break;case d:o=3;break;case m:o=2;break;case h:var g=t[4],v=t[5],y=mathSqrt$2(t[0]*t[0]+t[1]*t[1]),b=mathSqrt$2(t[2]*t[2]+t[3]*t[3]),_=mathAtan2(-t[1]/b,t[0]/y);s[r]*=y,s[r++]+=g,s[r]*=b,s[r++]+=v,s[r++]*=y,s[r++]*=b,s[r++]+=_,s[r++]+=_,i=r+=2;break;case f:l[0]=s[r++],l[1]=s[r++],applyTransform$1(l,l,t),s[i++]=l[0],s[i++]=l[1],l[0]+=s[r++],l[1]+=s[r++],applyTransform$1(l,l,t),s[i++]=l[0],s[i++]=l[1]}for(a=0;a<o;a++){var w=points$2[a];w[0]=s[r++],w[1]=s[r++],applyTransform$1(w,w,t),s[i++]=w[0],s[i++]=w[1]}}e.increaseVersion()}}var mathSqrt$1=Math.sqrt,mathSin$2=Math.sin,mathCos$2=Math.cos,PI$7=Math.PI;function vMag(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function vRatio(e,t){return(e[0]*t[0]+e[1]*t[1])/(vMag(e)*vMag(t))}function vAngle(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(vRatio(e,t))}function processArc(e,t,n,o,r,i,a,l,s,c,u){var d=s*(PI$7/180),p=mathCos$2(d)*(e-n)/2+mathSin$2(d)*(t-o)/2,f=-1*mathSin$2(d)*(e-n)/2+mathCos$2(d)*(t-o)/2,h=p*p/(a*a)+f*f/(l*l);h>1&&(a*=mathSqrt$1(h),l*=mathSqrt$1(h));var m=(r===i?-1:1)*mathSqrt$1((a*a*(l*l)-a*a*(f*f)-l*l*(p*p))/(a*a*(f*f)+l*l*(p*p)))||0,g=m*a*f/l,v=m*-l*p/a,y=(e+n)/2+mathCos$2(d)*g-mathSin$2(d)*v,b=(t+o)/2+mathSin$2(d)*g+mathCos$2(d)*v,_=vAngle([1,0],[(p-g)/a,(f-v)/l]),w=[(p-g)/a,(f-v)/l],k=[(-1*p-g)/a,(-1*f-v)/l],x=vAngle(w,k);if(vRatio(w,k)<=-1&&(x=PI$7),vRatio(w,k)>=1&&(x=0),x<0){var S=Math.round(x/PI$7*1e6)/1e6;x=2*PI$7+S%2*PI$7}u.addData(c,y,b,a,l,_,x,d,i)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,numberReg$1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(e){var t=new PathProxy;if(!e)return t;var n,o=0,r=0,i=o,a=r,l=PathProxy.CMD,s=e.match(commandReg);if(!s)return t;for(var c=0;c<s.length;c++){for(var u=s[c],d=u.charAt(0),p=void 0,f=u.match(numberReg$1)||[],h=f.length,m=0;m<h;m++)f[m]=parseFloat(f[m]);for(var g=0;g<h;){var v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,k=void 0,x=void 0,S=o,C=r,E=void 0,T=void 0;switch(d){case"l":o+=f[g++],r+=f[g++],p=l.L,t.addData(p,o,r);break;case"L":o=f[g++],r=f[g++],p=l.L,t.addData(p,o,r);break;case"m":o+=f[g++],r+=f[g++],p=l.M,t.addData(p,o,r),i=o,a=r,d="l";break;case"M":o=f[g++],r=f[g++],p=l.M,t.addData(p,o,r),i=o,a=r,d="L";break;case"h":o+=f[g++],p=l.L,t.addData(p,o,r);break;case"H":o=f[g++],p=l.L,t.addData(p,o,r);break;case"v":r+=f[g++],p=l.L,t.addData(p,o,r);break;case"V":r=f[g++],p=l.L,t.addData(p,o,r);break;case"C":p=l.C,t.addData(p,f[g++],f[g++],f[g++],f[g++],f[g++],f[g++]),o=f[g-2],r=f[g-1];break;case"c":p=l.C,t.addData(p,f[g++]+o,f[g++]+r,f[g++]+o,f[g++]+r,f[g++]+o,f[g++]+r),o+=f[g-2],r+=f[g-1];break;case"S":v=o,y=r,E=t.len(),T=t.data,n===l.C&&(v+=o-T[E-4],y+=r-T[E-3]),p=l.C,S=f[g++],C=f[g++],o=f[g++],r=f[g++],t.addData(p,v,y,S,C,o,r);break;case"s":v=o,y=r,E=t.len(),T=t.data,n===l.C&&(v+=o-T[E-4],y+=r-T[E-3]),p=l.C,S=o+f[g++],C=r+f[g++],o+=f[g++],r+=f[g++],t.addData(p,v,y,S,C,o,r);break;case"Q":S=f[g++],C=f[g++],o=f[g++],r=f[g++],p=l.Q,t.addData(p,S,C,o,r);break;case"q":S=f[g++]+o,C=f[g++]+r,o+=f[g++],r+=f[g++],p=l.Q,t.addData(p,S,C,o,r);break;case"T":v=o,y=r,E=t.len(),T=t.data,n===l.Q&&(v+=o-T[E-4],y+=r-T[E-3]),o=f[g++],r=f[g++],p=l.Q,t.addData(p,v,y,o,r);break;case"t":v=o,y=r,E=t.len(),T=t.data,n===l.Q&&(v+=o-T[E-4],y+=r-T[E-3]),o+=f[g++],r+=f[g++],p=l.Q,t.addData(p,v,y,o,r);break;case"A":b=f[g++],_=f[g++],w=f[g++],k=f[g++],x=f[g++],processArc(S=o,C=r,o=f[g++],r=f[g++],k,x,b,_,w,p=l.A,t);break;case"a":b=f[g++],_=f[g++],w=f[g++],k=f[g++],x=f[g++],processArc(S=o,C=r,o+=f[g++],r+=f[g++],k,x,b,_,w,p=l.A,t)}}"z"!==d&&"Z"!==d||(p=l.Z,t.addData(p),o=i,r=a),n=p}return t.toStatic(),t}var SVGPath=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.applyTransform=function(e){},t}(Path);function isPathProxy(e){return null!=e.setData}function createPathOptions(e,t){var n=createPathProxyFromString(e),o=extend$1({},t);return o.buildPath=function(e){if(isPathProxy(e)){e.setData(n.data),(t=e.getContext())&&e.rebuildPath(t,1)}else{var t=e;n.rebuildPath(t,1)}},o.applyTransform=function(e){transformPath(n,e),this.dirtyShape()},o}function createFromString(e,t){return new SVGPath(createPathOptions(e,t))}function extendFromString(e,t){var n=createPathOptions(e,t);return function(e){function t(t){var o=e.call(this,t)||this;return o.applyTransform=n.applyTransform,o.buildPath=n.buildPath,o}return __extends(t,e),t}(SVGPath)}function mergePath$1(e,t){for(var n=[],o=e.length,r=0;r<o;r++){var i=e[r];n.push(i.getUpdatedPathProxy(!0))}var a=new Path(t);return a.createPathProxy(),a.buildPath=function(e){if(isPathProxy(e)){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t,1)}},a}function clonePath(e,t){t=t||{};var n=new Path;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?transformPath(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 CircleShape=function(){return function(){this.cx=0,this.cy=0,this.r=0}}(),Circle=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultShape=function(){return new CircleShape},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}(Path);Circle.prototype.type="circle";var EllipseShape=function(){return function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}}(),Ellipse=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultShape=function(){return new EllipseShape},t.prototype.buildPath=function(e,t){var n=.5522848,o=t.cx,r=t.cy,i=t.rx,a=t.ry,l=i*n,s=a*n;e.moveTo(o-i,r),e.bezierCurveTo(o-i,r-s,o-l,r-a,o,r-a),e.bezierCurveTo(o+l,r-a,o+i,r-s,o+i,r),e.bezierCurveTo(o+i,r+s,o+l,r+a,o,r+a),e.bezierCurveTo(o-l,r+a,o-i,r+s,o-i,r),e.closePath()},t}(Path);Ellipse.prototype.type="ellipse";var PI$6=Math.PI,PI2$3=2*PI$6,mathSin$1=Math.sin,mathCos$1=Math.cos,mathACos=Math.acos,mathATan2=Math.atan2,mathAbs$1=Math.abs,mathSqrt=Math.sqrt,mathMax$7=Math.max,mathMin$7=Math.min,e=1e-4;function intersect(t,n,o,r,i,a,l,s){var c=o-t,u=r-n,d=l-i,p=s-a,f=p*c-d*u;if(!(f*f<e))return[t+(f=(d*(n-a)-p*(t-i))/f)*c,n+f*u]}function computeCornerTangents(e,t,n,o,r,i,a){var l=e-n,s=t-o,c=(a?i:-i)/mathSqrt(l*l+s*s),u=c*s,d=-c*l,p=e+u,f=t+d,h=n+u,m=o+d,g=(p+h)/2,v=(f+m)/2,y=h-p,b=m-f,_=y*y+b*b,w=r-i,k=p*m-h*f,x=(b<0?-1:1)*mathSqrt(mathMax$7(0,w*w*_-k*k)),S=(k*b-y*x)/_,C=(-k*y-b*x)/_,E=(k*b+y*x)/_,T=(-k*y+b*x)/_,A=S-g,$=C-v,I=E-g,M=T-v;return A*A+$*$>I*I+M*M&&(S=E,C=T),{cx:S,cy:C,x0:-u,y0:-d,x1:S*(r/w-1),y1:C*(r/w-1)}}function normalizeCornerRadius(e){var t;if(isArray$2(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}function buildPath$1(t,n){var o,r=mathMax$7(n.r,0),i=mathMax$7(n.r0||0,0),a=r>0;if(a||i>0){if(a||(r=i,i=0),i>r){var l=r;r=i,i=l}var s=n.startAngle,c=n.endAngle;if(!isNaN(s)&&!isNaN(c)){var u=n.cx,d=n.cy,p=!!n.clockwise,f=mathAbs$1(c-s),h=f>PI2$3&&f%PI2$3;if(h>e&&(f=h),r>e)if(f>PI2$3-e)t.moveTo(u+r*mathCos$1(s),d+r*mathSin$1(s)),t.arc(u,d,r,s,c,!p),i>e&&(t.moveTo(u+i*mathCos$1(c),d+i*mathSin$1(c)),t.arc(u,d,i,c,s,p));else{var m=void 0,g=void 0,v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,k=void 0,x=void 0,S=void 0,C=void 0,E=void 0,T=void 0,A=void 0,$=void 0,I=void 0,M=r*mathCos$1(s),P=r*mathSin$1(s),N=i*mathCos$1(c),O=i*mathSin$1(c),R=f>e;if(R){var D=n.cornerRadius;D&&(m=(o=normalizeCornerRadius(D))[0],g=o[1],v=o[2],y=o[3]);var L=mathAbs$1(r-i)/2;if(b=mathMin$7(L,v),_=mathMin$7(L,y),w=mathMin$7(L,m),k=mathMin$7(L,g),C=x=mathMax$7(b,_),E=S=mathMax$7(w,k),(x>e||S>e)&&(T=r*mathCos$1(c),A=r*mathSin$1(c),$=i*mathCos$1(s),I=i*mathSin$1(s),f<PI$6)){var B=intersect(M,P,$,I,T,A,N,O);if(B){var V=M-B[0],z=P-B[1],F=T-B[0],H=A-B[1],j=1/mathSin$1(mathACos((V*F+z*H)/(mathSqrt(V*V+z*z)*mathSqrt(F*F+H*H)))/2),G=mathSqrt(B[0]*B[0]+B[1]*B[1]);C=mathMin$7(x,(r-G)/(j+1)),E=mathMin$7(S,(i-G)/(j-1))}}}if(R)if(C>e){var U=mathMin$7(v,C),W=mathMin$7(y,C),Y=computeCornerTangents($,I,M,P,r,U,p),q=computeCornerTangents(T,A,N,O,r,W,p);t.moveTo(u+Y.cx+Y.x0,d+Y.cy+Y.y0),C<x&&U===W?t.arc(u+Y.cx,d+Y.cy,C,mathATan2(Y.y0,Y.x0),mathATan2(q.y0,q.x0),!p):(U>0&&t.arc(u+Y.cx,d+Y.cy,U,mathATan2(Y.y0,Y.x0),mathATan2(Y.y1,Y.x1),!p),t.arc(u,d,r,mathATan2(Y.cy+Y.y1,Y.cx+Y.x1),mathATan2(q.cy+q.y1,q.cx+q.x1),!p),W>0&&t.arc(u+q.cx,d+q.cy,W,mathATan2(q.y1,q.x1),mathATan2(q.y0,q.x0),!p))}else t.moveTo(u+M,d+P),t.arc(u,d,r,s,c,!p);else t.moveTo(u+M,d+P);if(i>e&&R)if(E>e){U=mathMin$7(m,E),Y=computeCornerTangents(N,O,T,A,i,-(W=mathMin$7(g,E)),p),q=computeCornerTangents(M,P,$,I,i,-U,p);t.lineTo(u+Y.cx+Y.x0,d+Y.cy+Y.y0),E<S&&U===W?t.arc(u+Y.cx,d+Y.cy,E,mathATan2(Y.y0,Y.x0),mathATan2(q.y0,q.x0),!p):(W>0&&t.arc(u+Y.cx,d+Y.cy,W,mathATan2(Y.y0,Y.x0),mathATan2(Y.y1,Y.x1),!p),t.arc(u,d,i,mathATan2(Y.cy+Y.y1,Y.cx+Y.x1),mathATan2(q.cy+q.y1,q.cx+q.x1),p),U>0&&t.arc(u+q.cx,d+q.cy,U,mathATan2(q.y1,q.x1),mathATan2(q.y0,q.x0),!p))}else t.lineTo(u+N,d+O),t.arc(u,d,i,c,s,p);else t.lineTo(u+N,d+O)}else t.moveTo(u,d);t.closePath()}}}var SectorShape=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}}(),Sector=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultShape=function(){return new SectorShape},t.prototype.buildPath=function(e,t){buildPath$1(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Path);Sector.prototype.type="sector";var RingShape=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.r0=0}}(),Ring=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultShape=function(){return new RingShape},t.prototype.buildPath=function(e,t){var n=t.cx,o=t.cy,r=2*Math.PI;e.moveTo(n+t.r,o),e.arc(n,o,t.r,0,r,!1),e.moveTo(n+t.r0,o),e.arc(n,o,t.r0,0,r,!0)},t}(Path);function smoothBezier(e,t,n,o){var r,i,a,l,s=[],c=[],u=[],d=[];if(o){a=[1/0,1/0],l=[-1/0,-1/0];for(var p=0,f=e.length;p<f;p++)min$2(a,a,e[p]),max$2(l,l,e[p]);min$2(a,a,o[0]),max$2(l,l,o[1])}for(p=0,f=e.length;p<f;p++){var h=e[p];if(n)r=e[p?p-1:f-1],i=e[(p+1)%f];else{if(0===p||p===f-1){s.push(clone$3(e[p]));continue}r=e[p-1],i=e[p+1]}sub(c,i,r),scale$2(c,c,t);var m=distance(h,r),g=distance(h,i),v=m+g;0!==v&&(m/=v,g/=v),scale$2(u,c,-m),scale$2(d,c,g);var y=add([],h,u),b=add([],h,d);o&&(max$2(y,y,a),min$2(y,y,l),max$2(b,b,a),min$2(b,b,l)),s.push(y),s.push(b)}return n&&s.push(s.shift()),s}function buildPath(e,t,n){var o=t.smooth,r=t.points;if(r&&r.length>=2){if(o){var i=smoothBezier(r,o,n,t.smoothConstraint);e.moveTo(r[0][0],r[0][1]);for(var a=r.length,l=0;l<(n?a:a-1);l++){var s=i[2*l],c=i[2*l+1],u=r[(l+1)%a];e.bezierCurveTo(s[0],s[1],c[0],c[1],u[0],u[1])}}else{e.moveTo(r[0][0],r[0][1]);l=1;for(var d=r.length;l<d;l++)e.lineTo(r[l][0],r[l][1])}n&&e.closePath()}}Ring.prototype.type="ring";var PolygonShape=function(){return function(){this.points=null,this.smooth=0,this.smoothConstraint=null}}(),Polygon=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultShape=function(){return new PolygonShape},t.prototype.buildPath=function(e,t){buildPath(e,t,!0)},t}(Path);Polygon.prototype.type="polygon";var PolylineShape=function(){return function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}}(),Polyline$1=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new PolylineShape},t.prototype.buildPath=function(e,t){buildPath(e,t,!1)},t}(Path);Polyline$1.prototype.type="polyline";var subPixelOptimizeOutputShape={},LineShape=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}(),Line$1=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new LineShape},t.prototype.buildPath=function(e,t){var n,o,r,i;if(this.subPixelOptimize){var a=subPixelOptimizeLine$1(subPixelOptimizeOutputShape,t,this.style);n=a.x1,o=a.y1,r=a.x2,i=a.y2}else n=t.x1,o=t.y1,r=t.x2,i=t.y2;var l=t.percent;0!==l&&(e.moveTo(n,o),l<1&&(r=n*(1-l)+r*l,i=o*(1-l)+i*l),e.lineTo(r,i))},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}(Path);Line$1.prototype.type="line";var out=[],BezierCurveShape=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 someVectorAt(e,t,n){var o=e.cpx2,r=e.cpy2;return null!=o||null!=r?[(n?cubicDerivativeAt:cubicAt)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?cubicDerivativeAt:cubicAt)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?quadraticDerivativeAt:quadraticAt$1)(e.x1,e.cpx1,e.x2,t),(n?quadraticDerivativeAt:quadraticAt$1)(e.y1,e.cpy1,e.y2,t)]}var BezierCurve=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new BezierCurveShape},t.prototype.buildPath=function(e,t){var n=t.x1,o=t.y1,r=t.x2,i=t.y2,a=t.cpx1,l=t.cpy1,s=t.cpx2,c=t.cpy2,u=t.percent;0!==u&&(e.moveTo(n,o),null==s||null==c?(u<1&&(quadraticSubdivide(n,a,r,u,out),a=out[1],r=out[2],quadraticSubdivide(o,l,i,u,out),l=out[1],i=out[2]),e.quadraticCurveTo(a,l,r,i)):(u<1&&(cubicSubdivide(n,a,s,r,u,out),a=out[1],s=out[2],r=out[3],cubicSubdivide(o,l,c,i,u,out),l=out[1],c=out[2],i=out[3]),e.bezierCurveTo(a,l,s,c,r,i)))},t.prototype.pointAt=function(e){return someVectorAt(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=someVectorAt(this.shape,e,!0);return normalize$3(t,t)},t}(Path);BezierCurve.prototype.type="bezier-curve";var ArcShape=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),Arc=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ArcShape},t.prototype.buildPath=function(e,t){var n=t.cx,o=t.cy,r=Math.max(t.r,0),i=t.startAngle,a=t.endAngle,l=t.clockwise,s=Math.cos(i),c=Math.sin(i);e.moveTo(s*r+n,c*r+o),e.arc(n,o,r,i,a,!l)},t}(Path);Arc.prototype.type="arc";var CompoundPath=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return __extends(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||[],o=0;o<n.length;o++)n[o].buildPath(e,n[o].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),Path.prototype.getBoundingRect.call(this)},t}(Path),Gradient=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}(),LinearGradient=function(e){function t(t,n,o,r,i,a){var l=e.call(this,i)||this;return l.x=null==t?0:t,l.y=null==n?0:n,l.x2=null==o?1:o,l.y2=null==r?0:r,l.type="linear",l.global=a||!1,l}return __extends(t,e),t}(Gradient),RadialGradient=function(e){function t(t,n,o,r,i){var a=e.call(this,r)||this;return a.x=null==t?.5:t,a.y=null==n?.5:n,a.r=null==o?.5:o,a.type="radial",a.global=i||!1,a}return __extends(t,e),t}(Gradient),extent=[0,0],extent2=[0,0],minTv=new Point,maxTv=new Point,OrientedBoundingRect=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Point;for(n=0;n<2;n++)this._axes[n]=new Point;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,o=this._axes,r=e.x,i=e.y,a=r+e.width,l=i+e.height;if(n[0].set(r,i),n[1].set(a,i),n[2].set(a,l),n[3].set(r,l),t)for(var s=0;s<4;s++)n[s].transform(t);Point.sub(o[0],n[1],n[0]),Point.sub(o[1],n[3],n[0]),o[0].normalize(),o[1].normalize();for(s=0;s<2;s++)this._origin[s]=o[s].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,o=!t;return minTv.set(1/0,1/0),maxTv.set(0,0),!this._intersectCheckOneSide(this,e,minTv,maxTv,o,1)&&(n=!1,o)||!this._intersectCheckOneSide(e,this,minTv,maxTv,o,-1)&&(n=!1,o)||o||Point.copy(t,n?minTv:maxTv),n},e.prototype._intersectCheckOneSide=function(e,t,n,o,r,i){for(var a=!0,l=0;l<2;l++){var s=this._axes[l];if(this._getProjMinMaxOnAxis(l,e._corners,extent),this._getProjMinMaxOnAxis(l,t._corners,extent2),extent[1]<extent2[0]||extent[0]>extent2[1]){if(a=!1,r)return a;var c=Math.abs(extent2[0]-extent[1]),u=Math.abs(extent[0]-extent2[1]);Math.min(c,u)>o.len()&&(c<u?Point.scale(o,s,-c*i):Point.scale(o,s,u*i))}else if(n){c=Math.abs(extent2[0]-extent[1]),u=Math.abs(extent[0]-extent2[1]);Math.min(c,u)<n.len()&&(c<u?Point.scale(n,s,c*i):Point.scale(n,s,-u*i))}}return a},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var o=this._axes[e],r=this._origin,i=t[0].dot(o)+r[e],a=i,l=i,s=1;s<t.length;s++){var c=t[s].dot(o)+r[e];a=Math.min(c,a),l=Math.max(c,l)}n[0]=a,n[1]=l},e}(),m$1=[],IncrementalDisplayable=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 __extends(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 BoundingRect(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],o=n.getBoundingRect().clone();n.needLocalTransform()&&o.applyTransform(n.getLocalTransform(m$1)),e.union(o)}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 o=0;o<this._displayables.length;o++){if(this._displayables[o].contain(e,t))return!0}return!1},t}(Displayable),transitionStore=makeInner();function getAnimationConfig(e,t,n,o,r){var i;if(t&&t.ecModel){var a=t.ecModel.getUpdatePayload();i=a&&a.animation}var l="update"===e;if(t&&t.isAnimationEnabled()){var s=void 0,c=void 0,u=void 0;return o?(s=retrieve2(o.duration,200),c=retrieve2(o.easing,"cubicOut"),u=0):(s=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),u=t.getShallow(l?"animationDelayUpdate":"animationDelay")),i&&(null!=i.duration&&(s=i.duration),null!=i.easing&&(c=i.easing),null!=i.delay&&(u=i.delay)),isFunction$2(u)&&(u=u(n,r)),isFunction$2(s)&&(s=s(n)),{duration:s||0,delay:u,easing:c}}return null}function animateOrSetProps(e,t,n,o,r,i,a){var l,s=!1;isFunction$2(r)?(a=i,i=r,r=null):isObject$4(r)&&(i=r.cb,a=r.during,s=r.isFrom,l=r.removeOpt,r=r.dataIndex);var c="leave"===e;c||t.stopAnimation("leave");var u=getAnimationConfig(e,o,r,c?l||{}:null,o&&o.getAnimationDelayParams?o.getAnimationDelayParams(t,r):null);if(u&&u.duration>0){var d={duration:u.duration,delay:u.delay||0,easing:u.easing,done:i,force:!!i||!!a,setToFinal:!c,scope:e,during:a};s?t.animateFrom(n,d):t.animateTo(n,d)}else t.stopAnimation(),!s&&t.attr(n),a&&a(1),i&&i()}function updateProps$1(e,t,n,o,r,i){animateOrSetProps("update",e,t,n,o,r,i)}function initProps(e,t,n,o,r,i){animateOrSetProps("enter",e,t,n,o,r,i)}function isElementRemoved(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 removeElement(e,t,n,o,r,i){isElementRemoved(e)||animateOrSetProps("leave",e,t,n,o,r,i)}function fadeOutDisplayable(e,t,n,o){e.removeTextContent(),e.removeTextGuideLine(),removeElement(e,{style:{opacity:0}},t,n,o)}function removeElementWithFadeOut(e,t,n){function o(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||fadeOutDisplayable(e,t,n,o)})):fadeOutDisplayable(e,t,n,o)}function saveOldStyle(e){transitionStore(e).oldStyle=e.style}function getOldStyle(e){return transitionStore(e).oldStyle}var mathMax$6=Math.max,mathMin$6=Math.min,_customShapeMap={};function extendShape(e){return Path.extend(e)}var extendPathFromString=extendFromString;function extendPath(e,t){return extendPathFromString(e,t)}function registerShape(e,t){_customShapeMap[e]=t}function getShapeClass(e){if(_customShapeMap.hasOwnProperty(e))return _customShapeMap[e]}function makePath(e,t,n,o){var r=createFromString(e,t);return n&&("center"===o&&(n=centerGraphic(n,r.getBoundingRect())),resizePath(r,n)),r}function makeImage(e,t,n){var o=new ZRImage({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var r={width:e.width,height:e.height};o.setStyle(centerGraphic(t,r))}}});return o}function centerGraphic(e,t){var n,o=t.width/t.height,r=e.height*o;return n=r<=e.width?e.height:(r=e.width)/o,{x:e.x+e.width/2-r/2,y:e.y+e.height/2-n/2,width:r,height:n}}var mergePath=mergePath$1;function resizePath(e,t){if(e.applyTransform){var n=e.getBoundingRect().calculateTransform(t);e.applyTransform(n)}}function subPixelOptimizeLine(e,t){return subPixelOptimizeLine$1(e,e,{lineWidth:t}),e}function subPixelOptimizeRect(e){return subPixelOptimizeRect$1(e.shape,e.shape,e.style),e}var subPixelOptimize=subPixelOptimize$1;function getTransform$1(e,t){for(var n=identity$1([]);e&&e!==t;)mul(n,e.getLocalTransform(),n),e=e.parent;return n}function applyTransform(e,t,n){return t&&!isArrayLike(t)&&(t=Transformable.getLocalTransform(t)),n&&(t=invert([],t)),applyTransform$1([],e,t)}function transformDirection(e,t,n){var o=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),r=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),i=["left"===e?-o:"right"===e?o:0,"top"===e?-r:"bottom"===e?r:0];return i=applyTransform(i,t,n),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function isNotGroup(e){return!e.isGroup}function isPath$1(e){return null!=e.shape}function groupTransition(e,t,n){if(e&&t){var o,r=(o={},e.traverse((function(e){isNotGroup(e)&&e.anid&&(o[e.anid]=e)})),o);t.traverse((function(e){if(isNotGroup(e)&&e.anid){var t=r[e.anid];if(t){var o=i(e);e.attr(i(t)),updateProps$1(e,o,n,getECData(e).dataIndex)}}}))}function i(e){var t={x:e.x,y:e.y,rotation:e.rotation};return isPath$1(e)&&(t.shape=extend$1({},e.shape)),t}}function clipPointsByRect(e,t){return map$1(e,(function(e){var n=e[0];n=mathMax$6(n,t.x),n=mathMin$6(n,t.x+t.width);var o=e[1];return o=mathMax$6(o,t.y),[n,o=mathMin$6(o,t.y+t.height)]}))}function clipRectByRect(e,t){var n=mathMax$6(e.x,t.x),o=mathMin$6(e.x+e.width,t.x+t.width),r=mathMax$6(e.y,t.y),i=mathMin$6(e.y+e.height,t.y+t.height);if(o>=n&&i>=r)return{x:n,y:r,width:o-n,height:i-r}}function createIcon(e,t,n){var o=extend$1({rectHover:!0},t),r=o.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),defaults$1(r,n),new ZRImage(o)):makePath(e.replace("path://",""),o,n,"center")}function linePolygonIntersect(e,t,n,o,r){for(var i=0,a=r[r.length-1];i<r.length;i++){var l=r[i];if(lineLineIntersect$1(e,t,n,o,l[0],l[1],a[0],a[1]))return!0;a=l}}function lineLineIntersect$1(e,t,n,o,r,i,a,l){var s=n-e,c=o-t,u=a-r,d=l-i,p=crossProduct2d$1(u,d,s,c);if(nearZero(p))return!1;var f=e-r,h=t-i,m=crossProduct2d$1(f,h,s,c)/p;if(m<0||m>1)return!1;var g=crossProduct2d$1(f,h,u,d)/p;return!(g<0||g>1)}function crossProduct2d$1(e,t,n,o){return e*o-n*t}function nearZero(e){return e<=1e-6&&e>=-1e-6}function setTooltipConfig(e){var t=e.itemTooltipOption,n=e.componentModel,o=e.itemName,r=isString$2(t)?{formatter:t}:t,i=n.mainType,a=n.componentIndex,l={componentType:i,name:o,$vars:["name"]};l[i+"Index"]=a;var s=e.formatterParamsExtra;s&&each$f(keys(s),(function(e){hasOwn(l,e)||(l[e]=s[e],l.$vars.push(e))}));var c=getECData(e.el);c.componentMainType=i,c.componentIndex=a,c.tooltipConfig={name:o,option:defaults$1({content:o,encodeHTMLContent:!0,formatterParams:l},r)}}function traverseElement(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function traverseElements(e,t){if(e)if(isArray$2(e))for(var n=0;n<e.length;n++)traverseElement(e[n],t);else traverseElement(e,t)}registerShape("circle",Circle),registerShape("ellipse",Ellipse),registerShape("sector",Sector),registerShape("ring",Ring),registerShape("polygon",Polygon),registerShape("polyline",Polyline$1),registerShape("rect",Rect$2),registerShape("line",Line$1),registerShape("bezierCurve",BezierCurve),registerShape("arc",Arc);const graphic=Object.freeze(Object.defineProperty({__proto__:null,Arc:Arc,BezierCurve:BezierCurve,BoundingRect:BoundingRect,Circle:Circle,CompoundPath:CompoundPath,Ellipse:Ellipse,Group:Group$3,Image:ZRImage,IncrementalDisplayable:IncrementalDisplayable,Line:Line$1,LinearGradient:LinearGradient,OrientedBoundingRect:OrientedBoundingRect,Path:Path,Point:Point,Polygon:Polygon,Polyline:Polyline$1,RadialGradient:RadialGradient,Rect:Rect$2,Ring:Ring,Sector:Sector,Text:ZRText,applyTransform:applyTransform,clipPointsByRect:clipPointsByRect,clipRectByRect:clipRectByRect,createIcon:createIcon,extendPath:extendPath,extendShape:extendShape,getShapeClass:getShapeClass,getTransform:getTransform$1,groupTransition:groupTransition,initProps:initProps,isElementRemoved:isElementRemoved,lineLineIntersect:lineLineIntersect$1,linePolygonIntersect:linePolygonIntersect,makeImage:makeImage,makePath:makePath,mergePath:mergePath,registerShape:registerShape,removeElement:removeElement,removeElementWithFadeOut:removeElementWithFadeOut,resizePath:resizePath,setTooltipConfig:setTooltipConfig,subPixelOptimize:subPixelOptimize,subPixelOptimizeLine:subPixelOptimizeLine,subPixelOptimizeRect:subPixelOptimizeRect,transformDirection:transformDirection,traverseElements:traverseElements,updateProps:updateProps$1},Symbol.toStringTag,{value:"Module"}));var EMPTY_OBJ={};function setLabelText(e,t){for(var n=0;n<SPECIAL_STATES.length;n++){var o=SPECIAL_STATES[n],r=t[o],i=e.ensureState(o);i.style=i.style||{},i.style.text=r}var a=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(a,!0)}function getLabelText(e,t,n){var o,r=e.labelFetcher,i=e.labelDataIndex,a=e.labelDimIndex,l=t.normal;r&&(o=r.getFormattedLabel(i,"normal",null,a,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==o&&(o=isFunction$2(e.defaultText)?e.defaultText(i,e,n):e.defaultText);for(var s={normal:o},c=0;c<SPECIAL_STATES.length;c++){var u=SPECIAL_STATES[c],d=t[u];s[u]=retrieve2(r?r.getFormattedLabel(i,u,null,a,d&&d.get("formatter")):null,o)}return s}function setLabelStyle(e,t,n,o){n=n||EMPTY_OBJ;for(var r=e instanceof ZRText,i=!1,a=0;a<DISPLAY_STATES.length;a++){if((p=t[DISPLAY_STATES[a]])&&p.getShallow("show")){i=!0;break}}var l=r?e:e.getTextContent();if(i){r||(l||(l=new ZRText,e.setTextContent(l)),e.stateProxy&&(l.stateProxy=e.stateProxy));var s=getLabelText(n,t),c=t.normal,u=!!c.getShallow("show"),d=createTextStyle(c,o&&o.normal,n,!1,!r);d.text=s.normal,r||e.setTextConfig(createTextConfig(c,n,!1));for(a=0;a<SPECIAL_STATES.length;a++){var p,f=SPECIAL_STATES[a];if(p=t[f]){var h=l.ensureState(f),m=!!retrieve2(p.getShallow("show"),u);if(m!==u&&(h.ignore=!m),h.style=createTextStyle(p,o&&o[f],n,!0,!r),h.style.text=s[f],!r)e.ensureState(f).textConfig=createTextConfig(p,n,!0)}}l.silent=!!c.getShallow("silent"),null!=l.style.x&&(d.x=l.style.x),null!=l.style.y&&(d.y=l.style.y),l.ignore=!u,l.useStyle(d),l.dirty(),n.enableTextSetter&&(labelInner(l).setLabelText=function(e){var o=getLabelText(n,t,e);setLabelText(l,o)})}else l&&(l.ignore=!0);e.dirty()}function getLabelStatesModels(e,t){t=t||"label";for(var n={normal:e.getModel(t)},o=0;o<SPECIAL_STATES.length;o++){var r=SPECIAL_STATES[o];n[r]=e.getModel([r,t])}return n}function createTextStyle(e,t,n,o,r){var i={};return setTextStyleCommon(i,e,n,o,r),t&&extend$1(i,t),i}function createTextConfig(e,t,n){t=t||{};var o,r={},i=e.getShallow("rotate"),a=retrieve2(e.getShallow("distance"),n?null:5),l=e.getShallow("offset");return"outside"===(o=e.getShallow("position")||(n?null:"inside"))&&(o=t.defaultOutsidePosition||"top"),null!=o&&(r.position=o),null!=l&&(r.offset=l),null!=i&&(i*=Math.PI/180,r.rotation=i),null!=a&&(r.distance=a),r.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",r}function setTextStyleCommon(e,t,n,o,r){n=n||EMPTY_OBJ;var i,a=t.ecModel,l=a&&a.option.textStyle,s=getRichItemNames(t);if(s)for(var c in i={},s)if(s.hasOwnProperty(c)){var u=t.getModel(["rich",c]);setTokenTextStyle(i[c]={},u,l,n,o,r,!1,!0)}i&&(e.rich=i);var d=t.get("overflow");d&&(e.overflow=d);var p=t.get("minMargin");null!=p&&(e.margin=p),setTokenTextStyle(e,t,l,n,o,r,!0,!1)}function getRichItemNames(e){for(var t;e&&e!==e.ecModel;){var n=(e.option||EMPTY_OBJ).rich;if(n){t=t||{};for(var o=keys(n),r=0;r<o.length;r++){t[o[r]]=1}}e=e.parentModel}return t}var TEXT_PROPS_WITH_GLOBAL=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],TEXT_PROPS_SELF=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],TEXT_PROPS_BOX=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function setTokenTextStyle(e,t,n,o,r,i,a,l){n=!r&&n||EMPTY_OBJ;var s=o&&o.inheritColor,c=t.getShallow("color"),u=t.getShallow("textBorderColor"),d=retrieve2(t.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=s||null),"inherit"!==u&&"auto"!==u||(u=s||null),i||(c=c||n.color,u=u||n.textBorderColor),null!=c&&(e.fill=c),null!=u&&(e.stroke=u);var p=retrieve2(t.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(e.lineWidth=p);var f=retrieve2(t.getShallow("textBorderType"),n.textBorderType);null!=f&&(e.lineDash=f);var h=retrieve2(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=h&&(e.lineDashOffset=h),r||null!=d||l||(d=o&&o.defaultOpacity),null!=d&&(e.opacity=d),r||i||null==e.fill&&o.inheritColor&&(e.fill=o.inheritColor);for(var m=0;m<TEXT_PROPS_WITH_GLOBAL.length;m++){var g=TEXT_PROPS_WITH_GLOBAL[m];null!=(y=retrieve2(t.getShallow(g),n[g]))&&(e[g]=y)}for(m=0;m<TEXT_PROPS_SELF.length;m++){g=TEXT_PROPS_SELF[m];null!=(y=t.getShallow(g))&&(e[g]=y)}if(null==e.verticalAlign){var v=t.getShallow("baseline");null!=v&&(e.verticalAlign=v)}if(!a||!o.disableBox){for(m=0;m<TEXT_PROPS_BOX.length;m++){var y;g=TEXT_PROPS_BOX[m];null!=(y=t.getShallow(g))&&(e[g]=y)}var b=t.getShallow("borderType");null!=b&&(e.borderDash=b),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!s||(e.backgroundColor=s),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!s||(e.borderColor=s)}}function getFont(e,t){var n=t&&t.getModel("textStyle");return trim$2([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 labelInner=makeInner();function setLabelValueAnimation(e,t,n,o){if(e){var r=labelInner(e);r.prevValue=r.value,r.value=n;var i=t.normal;r.valueAnimation=i.get("valueAnimation"),r.valueAnimation&&(r.precision=i.get("precision"),r.defaultInterpolatedText=o,r.statesModels=t)}}function animateLabelValue(e,t,n,o,r){var i=labelInner(e);if(i.valueAnimation&&i.prevValue!==i.value){var a=i.defaultInterpolatedText,l=retrieve2(i.interpolatedValue,i.prevValue),s=i.value;e.percent=0,(null==i.prevValue?initProps:updateProps$1)(e,{percent:1},o,t,null,(function(o){var c=interpolateRawValues(n,i.precision,l,s,o);i.interpolatedValue=1===o?null:c;var u=getLabelText({labelDataIndex:t,labelFetcher:r,defaultText:a?a(c):c+""},i.statesModels,c);setLabelText(e,u)}))}}var PATH_COLOR=["textStyle","color"],textStyleParams=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],tmpText=new ZRText,TextStyleMixin=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(PATH_COLOR):null)},e.prototype.getFont=function(){return getFont({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<textStyleParams.length;n++)t[textStyleParams[n]]=this.getShallow(textStyleParams[n]);return tmpText.useStyle(t),tmpText.update(),tmpText.getBoundingRect()},e}(),LINE_STYLE_KEY_MAP=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],getLineStyle=makeStyleMapper(LINE_STYLE_KEY_MAP),LineStyleMixin=function(){function e(){}return e.prototype.getLineStyle=function(e){return getLineStyle(this,e)},e}(),ITEM_STYLE_KEY_MAP=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],getItemStyle=makeStyleMapper(ITEM_STYLE_KEY_MAP),ItemStyleMixin=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return getItemStyle(this,e,t)},e}(),Model=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){},e.prototype.mergeOption=function(e,t){merge$1(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,o=null==n?n:n[e];if(null==o&&!t){var r=this.parentModel;r&&(o=r.getShallow(e))}return o},e.prototype.getModel=function(t,n){var o=null!=t,r=o?this.parsePath(t):null;return new e(o?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},e.prototype.isEmpty=function(){return null==this.option},e.prototype.restoreData=function(){},e.prototype.clone=function(){return new(0,this.constructor)(clone$4(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(!env.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 o=0;o<e.length&&(!e[o]||null!=(n=n&&"object"==typeof n?n[e[o]]:null));o++);return null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel)),n},e}();enableClassExtend(Model),enableClassCheck(Model),mixin(Model,LineStyleMixin),mixin(Model,ItemStyleMixin),mixin(Model,AreaStyleMixin),mixin(Model,TextStyleMixin);var base=Math.round(10*Math.random());function getUID(e){return[e||"",base++].join("_")}function enableSubTypeDefaulter(e){var t={};e.registerSubTypeDefaulter=function(e,n){var o=parseClassType(e);t[o.main]=n},e.determineSubType=function(n,o){var r=o.type;if(!r){var i=parseClassType(n).main;e.hasSubTypes(n)&&t[i]&&(r=t[i](o))}return r}}function enableTopologicalTravel(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,o,r,i){if(e.length){var a=function(e){var o={},r=[];return each$f(e,(function(i){var a=n(o,i),l=function(e,t){var n=[];return each$f(e,(function(e){indexOf(t,e)>=0&&n.push(e)})),n}(a.originalDeps=t(i),e);a.entryCount=l.length,0===a.entryCount&&r.push(i),each$f(l,(function(e){indexOf(a.predecessor,e)<0&&a.predecessor.push(e);var t=n(o,e);indexOf(t.successor,e)<0&&t.successor.push(i)}))})),{graph:o,noEntryList:r}}(o),l=a.graph,s=a.noEntryList,c={};for(each$f(e,(function(e){c[e]=!0}));s.length;){var u=s.pop(),d=l[u],p=!!c[u];p&&(r.call(i,u,d.originalDeps.slice()),delete c[u]),each$f(d.successor,p?h:f)}each$f(c,(function(){throw new Error("")}))}function f(e){l[e].entryCount--,0===l[e].entryCount&&s.push(e)}function h(e){c[e]=!0,f(e)}}}function inheritDefaultOption(e,t){return merge$1(merge$1({},e,!0),t,!0)}const langEN={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",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},langZH={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||DEFAULT_LOCALE).toUpperCase().indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE;function registerLocale(e,t){e=e.toUpperCase(),localeModels[e]=new Model(t),localeStorage[e]=t}function createLocaleObject(e){if(isString$2(e)){var t=localeStorage[e.toUpperCase()]||{};return e===LOCALE_ZH||e===LOCALE_EN?clone$4(t):merge$1(clone$4(t),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}return merge$1(clone$4(e),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(e){return localeModels[e]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN),registerLocale(LOCALE_ZH,langZH);var ONE_SECOND=1e3,ONE_MINUTE=60*ONE_SECOND,ONE_HOUR=60*ONE_MINUTE,ONE_DAY=24*ONE_HOUR,ONE_YEAR=365*ONE_DAY,defaultLeveledFormatter={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}"},fullDayFormatter="{yyyy}-{MM}-{dd}",fullLeveledFormatter={year:"{yyyy}",month:"{yyyy}-{MM}",day:fullDayFormatter,hour:fullDayFormatter+" "+defaultLeveledFormatter.hour,minute:fullDayFormatter+" "+defaultLeveledFormatter.minute,second:fullDayFormatter+" "+defaultLeveledFormatter.second,millisecond:defaultLeveledFormatter.none},primaryTimeUnits=["year","month","day","hour","minute","second","millisecond"],timeUnits$2=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(e,t){return"0000".substr(0,t-(e+="").length)+e}function getPrimaryTimeUnit(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 isPrimaryTimeUnit(e){return e===getPrimaryTimeUnit(e)}function getDefaultFormatPrecisionOfInterval(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format$1(e,t,n,o){var r=parseDate$1(e),i=r[fullYearGetterName(n)](),a=r[monthGetterName(n)]()+1,l=Math.floor((a-1)/3)+1,s=r[dateGetterName(n)](),c=r["get"+(n?"UTC":"")+"Day"](),u=r[hoursGetterName(n)](),d=(u-1)%12+1,p=r[minutesGetterName(n)](),f=r[secondsGetterName(n)](),h=r[millisecondsGetterName(n)](),m=u>=12?"pm":"am",g=m.toUpperCase(),v=(o instanceof Model?o:getLocaleModel(o||SYSTEM_LANG)||getDefaultLocaleModel()).getModel("time"),y=v.get("month"),b=v.get("monthAbbr"),_=v.get("dayOfWeek"),w=v.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,m+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,pad(i%100+"",2)).replace(/{Q}/g,l+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,b[a-1]).replace(/{MM}/g,pad(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,pad(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,_[c]).replace(/{ee}/g,w[c]).replace(/{e}/g,c+"").replace(/{HH}/g,pad(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,pad(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,pad(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,pad(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,pad(h,3)).replace(/{S}/g,h+"")}function leveledFormat(e,t,n,o,r){var i=null;if(isString$2(n))i=n;else if(isFunction$2(n))i=n(e.value,t,{level:e.level});else{var a=extend$1({},defaultLeveledFormatter);if(e.level>0)for(var l=0;l<primaryTimeUnits.length;++l)a[primaryTimeUnits[l]]="{primary|"+a[primaryTimeUnits[l]]+"}";var s=n?!1===n.inherit?n:defaults$1(n,a):a,c=getUnitFromValue(e.value,r);if(s[c])i=s[c];else if(s.inherit){for(l=timeUnits$2.indexOf(c)-1;l>=0;--l)if(s[c]){i=s[c];break}i=i||a.none}if(isArray$2(i)){var u=null==e.level?0:e.level>=0?e.level:i.length+e.level;i=i[u=Math.min(u,i.length-1)]}}return format$1(new Date(e.value),i,r,o)}function getUnitFromValue(e,t){var n=parseDate$1(e),o=n[monthGetterName(t)]()+1,r=n[dateGetterName(t)](),i=n[hoursGetterName(t)](),a=n[minutesGetterName(t)](),l=n[secondsGetterName(t)](),s=0===n[millisecondsGetterName(t)](),c=s&&0===l,u=c&&0===a,d=u&&0===i,p=d&&1===r;return p&&1===o?"year":p?"month":d?"day":u?"hour":c?"minute":s?"second":"millisecond"}function getUnitValue(e,t,n){var o=isNumber$2(e)?parseDate$1(e):e;switch(t=t||getUnitFromValue(e,n)){case"year":return o[fullYearGetterName(n)]();case"half-year":return o[monthGetterName(n)]()>=6?1:0;case"quarter":return Math.floor((o[monthGetterName(n)]()+1)/4);case"month":return o[monthGetterName(n)]();case"day":return o[dateGetterName(n)]();case"half-day":return o[hoursGetterName(n)]()/24;case"hour":return o[hoursGetterName(n)]();case"minute":return o[minutesGetterName(n)]();case"second":return o[secondsGetterName(n)]();case"millisecond":return o[millisecondsGetterName(n)]()}}function fullYearGetterName(e){return e?"getUTCFullYear":"getFullYear"}function monthGetterName(e){return e?"getUTCMonth":"getMonth"}function dateGetterName(e){return e?"getUTCDate":"getDate"}function hoursGetterName(e){return e?"getUTCHours":"getHours"}function minutesGetterName(e){return e?"getUTCMinutes":"getMinutes"}function secondsGetterName(e){return e?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(e){return e?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(e){return e?"setUTCFullYear":"setFullYear"}function monthSetterName(e){return e?"setUTCMonth":"setMonth"}function dateSetterName(e){return e?"setUTCDate":"setDate"}function hoursSetterName(e){return e?"setUTCHours":"setHours"}function minutesSetterName(e){return e?"setUTCMinutes":"setMinutes"}function secondsSetterName(e){return e?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(e){return e?"setUTCMilliseconds":"setMilliseconds"}function addCommas(e){if(!isNumeric(e))return isString$2(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function toCamelCase$1(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 normalizeCssArray=normalizeCssArray$1;function makeValueReadable(e,t,n){function o(e){return e&&trim$2(e)?e:"-"}function r(e){return!(null==e||isNaN(e)||!isFinite(e))}var i="time"===t,a=e instanceof Date;if(i||a){var l=i?parseDate$1(e):e;if(!isNaN(+l))return format$1(l,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===t)return isStringSafe(e)?o(e):isNumber$2(e)&&r(e)?e+"":"-";var s=numericToNumber(e);return r(s)?addCommas(s):isStringSafe(e)?o(e):"boolean"==typeof e?e+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(e,t){return"{"+e+(null==t?"":t)+"}"};function formatTpl(e,t,n){isArray$2(t)||(t=[t]);var o=t.length;if(!o)return"";for(var r=t[0].$vars||[],i=0;i<r.length;i++){var a=TPL_VAR_ALIAS[i];e=e.replace(wrapVar(a),wrapVar(a,0))}for(var l=0;l<o;l++)for(var s=0;s<r.length;s++){var c=t[l][r[s]];e=e.replace(wrapVar(TPL_VAR_ALIAS[s],l),n?encodeHTML(c):c)}return e}function formatTplSimple(e,t,n){return each$f(t,(function(t,n){e=e.replace("{"+n+"}",t)})),e}function getTooltipMarker(e,t){var n=isString$2(e)?{color:e,extraCssText:t}:e||{},o=n.color,r=n.type;t=n.extraCssText;var i=n.renderMode||"html";return o?"html"===i?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+encodeHTML(o)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+encodeHTML(o)+";"+(t||"")+'"></span>':{renderMode:i,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function convertToColorString(e,t){return t=t||"transparent",isString$2(e)?e:isObject$4(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function windowOpen(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var each$e=each$f,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(e,t,n,o,r){var i=0,a=0;null==o&&(o=1/0),null==r&&(r=1/0);var l=0;t.eachChild((function(s,c){var u,d,p=s.getBoundingRect(),f=t.childAt(c+1),h=f&&f.getBoundingRect();if("horizontal"===e){var m=p.width+(h?-h.x+p.x:0);(u=i+m)>o||s.newline?(i=0,u=m,a+=l+n,l=p.height):l=Math.max(l,p.height)}else{var g=p.height+(h?-h.y+p.y:0);(d=a+g)>r||s.newline?(i+=l+n,a=0,d=g,l=p.width):l=Math.max(l,p.width)}s.newline||(s.x=i,s.y=a,s.markRedraw(),"horizontal"===e?i=u+n:a=d+n)}))}var box=boxLayout;function getAvailableSize(e,t,n){var o=t.width,r=t.height,i=parsePercent(e.left,o),a=parsePercent(e.top,r),l=parsePercent(e.right,o),s=parsePercent(e.bottom,r);return(isNaN(i)||isNaN(parseFloat(e.left)))&&(i=0),(isNaN(l)||isNaN(parseFloat(e.right)))&&(l=o),(isNaN(a)||isNaN(parseFloat(e.top)))&&(a=0),(isNaN(s)||isNaN(parseFloat(e.bottom)))&&(s=r),n=normalizeCssArray(n||0),{width:Math.max(l-i-n[1]-n[3],0),height:Math.max(s-a-n[0]-n[2],0)}}function getLayoutRect(e,t,n){n=normalizeCssArray(n||0);var o=t.width,r=t.height,i=parsePercent(e.left,o),a=parsePercent(e.top,r),l=parsePercent(e.right,o),s=parsePercent(e.bottom,r),c=parsePercent(e.width,o),u=parsePercent(e.height,r),d=n[2]+n[0],p=n[1]+n[3],f=e.aspect;switch(isNaN(c)&&(c=o-l-p-i),isNaN(u)&&(u=r-s-d-a),null!=f&&(isNaN(c)&&isNaN(u)&&(f>o/r?c=.8*o:u=.8*r),isNaN(c)&&(c=f*u),isNaN(u)&&(u=c/f)),isNaN(i)&&(i=o-l-c-p),isNaN(a)&&(a=r-s-u-d),e.left||e.right){case"center":i=o/2-c/2-n[3];break;case"right":i=o-c-p}switch(e.top||e.bottom){case"middle":case"center":a=r/2-u/2-n[0];break;case"bottom":a=r-u-d}i=i||0,a=a||0,isNaN(c)&&(c=o-p-i-(l||0)),isNaN(u)&&(u=r-d-a-(s||0));var h=new BoundingRect(i+n[3],a+n[0],c,u);return h.margin=n,h}function positionElement(e,t,n,o,r,i){var a,l=!r||!r.hv||r.hv[0],s=!r||!r.hv||r.hv[1],c=r&&r.boundingMode||"all";if((i=i||e).x=e.x,i.y=e.y,!l&&!s)return!1;if("raw"===c)a="group"===e.type?new BoundingRect(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 d=getLayoutRect(defaults$1({width:a.width,height:a.height},t),n,o),p=l?d.x-a.x:0,f=s?d.y-a.y:0;return"raw"===c?(i.x=p,i.y=f):(i.x+=p,i.y+=f),i===e&&e.markRedraw(),!0}function sizeCalculable(e,t){return null!=e[HV_NAMES[t][0]]||null!=e[HV_NAMES[t][1]]&&null!=e[HV_NAMES[t][2]]}function fetchLayoutMode(e){var t=e.layoutMode||e.constructor.layoutMode;return isObject$4(t)?t:t?{type:t}:null}function mergeLayoutParam(e,t,n){var o=n&&n.ignoreSize;!isArray$2(o)&&(o=[o,o]);var r=a(HV_NAMES[0],0),i=a(HV_NAMES[1],1);function a(n,r){var i={},a=0,c={},u=0;if(each$e(n,(function(t){c[t]=e[t]})),each$e(n,(function(e){l(t,e)&&(i[e]=c[e]=t[e]),s(i,e)&&a++,s(c,e)&&u++})),o[r])return s(t,n[1])?c[n[2]]=null:s(t,n[2])&&(c[n[1]]=null),c;if(2!==u&&a){if(a>=2)return i;for(var d=0;d<n.length;d++){var p=n[d];if(!l(i,p)&&l(e,p)){i[p]=e[p];break}}return i}return c}function l(e,t){return e.hasOwnProperty(t)}function s(e,t){return null!=e[t]&&"auto"!==e[t]}function c(e,t,n){each$e(e,(function(e){t[e]=n[e]}))}c(HV_NAMES[0],e,r),c(HV_NAMES[1],e,i)}function getLayoutParams(e){return copyLayoutParams({},e)}function copyLayoutParams(e,t){return t&&e&&each$e(LOCATION_PARAMS,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}curry$1(boxLayout,"vertical"),curry$1(boxLayout,"horizontal");var inner$l=makeInner(),ComponentModel=function(e){function t(t,n,o){var r=e.call(this,t,n,o)||this;return r.uid=getUID("ec_cpt_model"),r}var n;return __extends(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=fetchLayoutMode(this),o=n?getLayoutParams(e):{};merge$1(e,t.getTheme().get(this.mainType)),merge$1(e,this.getDefaultOption()),n&&mergeLayoutParam(e,o,n)},t.prototype.mergeOption=function(e,t){merge$1(this.option,e,!0);var n=fetchLayoutMode(this);n&&mergeLayoutParam(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!isExtendedClass(e))return e.defaultOption;var t=inner$l(this);if(!t.defaultOption){for(var n=[],o=e;o;){var r=o.prototype.defaultOption;r&&n.push(r),o=o.superClass}for(var i={},a=n.length-1;a>=0;a--)i=merge$1(i,n[a],!0);t.defaultOption=i}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",o=e+"Id";return queryReferringComponents(this.ecModel,e,{index:this.get(n,!0),id:this.get(o,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.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}(Model);function getDependencies(e){var t=[];return each$f(ComponentModel.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=map$1(t,(function(e){return parseClassType(e).main})),"dataset"!==e&&indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}mountExtend(ComponentModel,Model),enableClassManagement(ComponentModel),enableSubTypeDefaulter(ComponentModel),enableTopologicalTravel(ComponentModel,getDependencies);var platform$3="";"undefined"!=typeof navigator&&(platform$3=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)";const globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform$3.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};var VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(e){innerGlobalModel(e).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(e,t,n){var o={},r=querySeriesUpstreamDatasetModel(t);if(!r||!e)return o;var i,a,l=[],s=[],c=t.ecModel,u=innerGlobalModel(c).datasetMap,d=r.uid+"_"+n.seriesLayoutBy;each$f(e=e.slice(),(function(t,n){var r=isObject$4(t)?t:e[n]={name:t};"ordinal"===r.type&&null==i&&(i=n,a=h(r)),o[r.name]=[]}));var p=u.get(d)||u.set(d,{categoryWayDim:a,valueWayDim:0});function f(e,t,n){for(var o=0;o<n;o++)e.push(t+o)}function h(e){var t=e.dimsDef;return t?t.length:1}return each$f(e,(function(e,t){var n=e.name,r=h(e);if(null==i){var a=p.valueWayDim;f(o[n],a,r),f(s,a,r),p.valueWayDim+=r}else if(i===t)f(o[n],0,r),f(l,0,r);else{a=p.categoryWayDim;f(o[n],a,r),f(s,a,r),p.categoryWayDim+=r}})),l.length&&(o.itemName=l),s.length&&(o.seriesName=s),o}function makeSeriesEncodeForNameBased(e,t,n){var o={};if(!querySeriesUpstreamDatasetModel(e))return o;var r,i=t.sourceFormat,a=t.dimensionsDefine;i!==SOURCE_FORMAT_OBJECT_ROWS&&i!==SOURCE_FORMAT_KEYED_COLUMNS||each$f(a,(function(e,t){"name"===(isObject$4(e)?e.name:e)&&(r=t)}));var l=function(){for(var e={},o={},l=[],s=0,c=Math.min(5,n);s<c;s++){var u=doGuessOrdinal(t.data,i,t.seriesLayoutBy,a,t.startIndex,s);l.push(u);var d=u===BE_ORDINAL.Not;if(d&&null==e.v&&s!==r&&(e.v=s),(null==e.n||e.n===e.v||!d&&l[e.n]===BE_ORDINAL.Not)&&(e.n=s),p(e)&&l[e.n]!==BE_ORDINAL.Not)return e;d||(u===BE_ORDINAL.Might&&null==o.v&&s!==r&&(o.v=s),null!=o.n&&o.n!==o.v||(o.n=s))}function p(e){return null!=e.v&&null!=e.n}return p(e)?e:p(o)?o:null}();if(l){o.value=[l.v];var s=null!=r?r:l.n;o.itemName=[s],o.seriesName=[s]}return o}function querySeriesUpstreamDatasetModel(e){if(!e.get("data",!0))return queryReferringComponents(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},SINGLE_REFERRING).models[0]}function queryDatasetUpstreamDatasetModels(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?queryReferringComponents(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},SINGLE_REFERRING).models:[]}function guessOrdinal(e,t){return doGuessOrdinal(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function doGuessOrdinal(e,t,n,o,r,i){var a,l,s;if(isTypedArray$1(e))return BE_ORDINAL.Not;if(o){var c=o[i];isObject$4(c)?(l=c.name,s=c.type):isString$2(c)&&(l=c)}if(null!=s)return"ordinal"===s?BE_ORDINAL.Must:BE_ORDINAL.Not;if(t===SOURCE_FORMAT_ARRAY_ROWS){var u=e;if(n===SERIES_LAYOUT_BY_ROW){for(var d=u[i],p=0;p<(d||[]).length&&p<5;p++)if(null!=(a=b(d[r+p])))return a}else for(p=0;p<u.length&&p<5;p++){var f=u[r+p];if(f&&null!=(a=b(f[i])))return a}}else if(t===SOURCE_FORMAT_OBJECT_ROWS){var h=e;if(!l)return BE_ORDINAL.Not;for(p=0;p<h.length&&p<5;p++){if((v=h[p])&&null!=(a=b(v[l])))return a}}else if(t===SOURCE_FORMAT_KEYED_COLUMNS){var m=e;if(!l)return BE_ORDINAL.Not;if(!(d=m[l])||isTypedArray$1(d))return BE_ORDINAL.Not;for(p=0;p<d.length&&p<5;p++)if(null!=(a=b(d[p])))return a}else if(t===SOURCE_FORMAT_ORIGINAL){var g=e;for(p=0;p<g.length&&p<5;p++){var v,y=getDataItemValue(v=g[p]);if(!isArray$2(y))return BE_ORDINAL.Not;if(null!=(a=b(y[i])))return a}}function b(e){var t=isString$2(e);return null!=e&&Number.isFinite(Number(e))&&""!==e?t?BE_ORDINAL.Might:BE_ORDINAL.Not:t&&"-"!==e?BE_ORDINAL.Must:void 0}return BE_ORDINAL.Not}var internalOptionCreatorMap=createHashMap();function registerInternalOptionCreator(e,t){assert(null==internalOptionCreatorMap.get(e)&&t),internalOptionCreatorMap.set(e,t)}function concatInternalOptions(e,t,n){var o=internalOptionCreatorMap.get(t);if(!o)return n;var r=o(e);return r?n.concat(r):n}var innerColor=makeInner(),innerDecal=makeInner(),PaletteMixin=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var o=normalizeToArray(this.get("color",!0)),r=this.get("colorLayer",!0);return getFromPalette(this,innerColor,o,r,e,t,n)},e.prototype.clearColorPalette=function(){clearPalette(this,innerColor)},e}(),reCreateSeriesIndices,assertSeriesInitialized,initBase;function getDecalFromPalette(e,t,n,o){var r=normalizeToArray(e.get(["aria","decal","decals"]));return getFromPalette(e,innerDecal,r,null,t,n,o)}function getNearestPalette(e,t){for(var n=e.length,o=0;o<n;o++)if(e[o].length>t)return e[o];return e[n-1]}function getFromPalette(e,t,n,o,r,i,a){var l=t(i=i||e),s=l.paletteIdx||0,c=l.paletteNameMap=l.paletteNameMap||{};if(c.hasOwnProperty(r))return c[r];var u=null!=a&&o?getNearestPalette(o,a):n;if((u=u||n)&&u.length){var d=u[s];return r&&(c[r]=d),l.paletteIdx=(s+1)%u.length,d}}function clearPalette(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.init=function(e,t,n,o,r,i){o=o||{},this.option=null,this._theme=new Model(o),this._locale=new Model(r),this._optionManager=i},t.prototype.setOption=function(e,t,n){var o=normalizeSetOptionInput(t);this._optionManager.setOption(e,n,o),this._resetOption(null,o)},t.prototype.resetOption=function(e,t){return this._resetOption(e,normalizeSetOptionInput(t))},t.prototype._resetOption=function(e,t){var n=!1,o=this._optionManager;if(!e||"recreate"===e){var r=o.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(r,t)):initBase(this,r),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var i=o.getTimelineOption(this);i&&(n=!0,this._mergeOption(i,t))}if(!e||"recreate"===e||"media"===e){var a=o.getMediaOption(this);a.length&&each$f(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,o=this._componentsMap,r=this._componentsCount,i=[],a=createHashMap(),l=t&&t.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$f(e,(function(e,t){null!=e&&(ComponentModel.hasClass(t)?t&&(i.push(t),a.set(t,!0)):n[t]=null==n[t]?clone$4(e):merge$1(n[t],e,!0))})),l&&l.each((function(e,t){ComponentModel.hasClass(t)&&!a.get(t)&&(i.push(t),a.set(t,!0))})),ComponentModel.topologicalTravel(i,ComponentModel.getAllClassMainTypes(),(function(t){var i=concatInternalOptions(this,t,normalizeToArray(e[t])),a=o.get(t),s=a?l&&l.get(t)?"replaceMerge":"normalMerge":"replaceAll",c=mappingToExists(a,i,s);setComponentTypeToKeyInfo(c,t,ComponentModel),n[t]=null,o.set(t,null),r.set(t,0);var u,d=[],p=[],f=0;each$f(c,(function(e,n){var o=e.existing,r=e.newOption;if(r){var i="series"===t,a=ComponentModel.getClass(t,e.keyInfo.subType,!i);if(!a)return;if("tooltip"===t){if(u)return;u=!0}if(o&&o.constructor===a)o.name=e.keyInfo.name,o.mergeOption(r,this),o.optionUpdated(r,!1);else{var l=extend$1({componentIndex:n},e.keyInfo);extend$1(o=new a(r,this,this,l),l),e.brandNew&&(o.__requireNewView=!0),o.init(r,this,this),o.optionUpdated(null,!0)}}else o&&(o.mergeOption({},this),o.optionUpdated({},!1));o?(d.push(o.option),p.push(o),f++):(d.push(void 0),p.push(void 0))}),this),n[t]=d,o.set(t,p),r.set(t,f),"series"===t&&reCreateSeriesIndices(this)}),this),this._seriesIndices||reCreateSeriesIndices(this)},t.prototype.getOption=function(){var e=clone$4(this.option);return each$f(e,(function(t,n){if(ComponentModel.hasClass(n)){for(var o=normalizeToArray(t),r=o.length,i=!1,a=r-1;a>=0;a--)o[a]&&!isComponentIdInternal(o[a])?i=!0:(o[a]=null,!i&&r--);o.length=r,e[n]=o}})),delete e[OPTION_INNER_KEY],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 o=n[t||0];if(o)return o;if(null==t)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var n,o=e.index,r=e.id,i=e.name,a=this._componentsMap.get(t);return a&&a.length?(null!=o?(n=[],each$f(normalizeToArray(o),(function(e){a[e]&&n.push(a[e])}))):n=null!=r?queryByIdOrName("id",r,a):null!=i?queryByIdOrName("name",i,a):filter(a,(function(e){return!!e})),filterBySubType(n,e)):[]},t.prototype.findComponents=function(e){var t,n,o,r,i,a=e.query,l=e.mainType,s=(n=l+"Index",o=l+"Id",r=l+"Name",!(t=a)||null==t[n]&&null==t[o]&&null==t[r]?null:{mainType:l,index:t[n],id:t[o],name:t[r]}),c=s?this.queryComponents(s):filter(this._componentsMap.get(l),(function(e){return!!e}));return i=filterBySubType(c,e),e.filter?filter(i,e.filter):i},t.prototype.eachComponent=function(e,t,n){var o=this._componentsMap;if(isFunction$2(e)){var r=t,i=e;o.each((function(e,t){for(var n=0;e&&n<e.length;n++){var o=e[n];o&&i.call(r,t,o,o.componentIndex)}}))}else for(var a=isString$2(e)?o.get(e):isObject$4(e)?this.findComponents(e):null,l=0;a&&l<a.length;l++){var s=a[l];s&&t.call(n,s,s.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=convertOptionIdName(e,null);return 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 filter(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},t.prototype.getSeries=function(){return filter(this._componentsMap.get("series"),(function(e){return!!e}))},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){assertSeriesInitialized(this),each$f(this._seriesIndices,(function(n){var o=this._componentsMap.get("series")[n];e.call(t,o,n)}),this)},t.prototype.eachRawSeries=function(e,t){each$f(this._componentsMap.get("series"),(function(n){n&&e.call(t,n,n.componentIndex)}))},t.prototype.eachSeriesByType=function(e,t,n){assertSeriesInitialized(this),each$f(this._seriesIndices,(function(o){var r=this._componentsMap.get("series")[o];r.subType===e&&t.call(n,r,o)}),this)},t.prototype.eachRawSeriesByType=function(e,t,n){return each$f(this.getSeriesByType(e),t,n)},t.prototype.isSeriesFiltered=function(e){return assertSeriesInitialized(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){assertSeriesInitialized(this);var n=[];each$f(this._seriesIndices,(function(o){var r=this._componentsMap.get("series")[o];e.call(t,r,o)&&n.push(o)}),this),this._seriesIndices=n,this._seriesIndicesMap=createHashMap(n)},t.prototype.restoreData=function(e){reCreateSeriesIndices(this);var t=this._componentsMap,n=[];t.each((function(e,t){ComponentModel.hasClass(t)&&n.push(t)})),ComponentModel.topologicalTravel(n,ComponentModel.getAllClassMainTypes(),(function(n){each$f(t.get(n),(function(t){!t||"series"===n&&isNotTargetSeries(t,e)||t.restoreData()}))}))},t.internalField=(reCreateSeriesIndices=function(e){var t=e._seriesIndices=[];each$f(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=createHashMap(t)},assertSeriesInitialized=function(e){},void(initBase=function(e,t){e.option={},e.option[OPTION_INNER_KEY]=OPTION_INNER_VALUE,e._componentsMap=createHashMap({series:[]}),e._componentsCount=createHashMap();var n=t.aria;isObject$4(n)&&null==n.enabled&&(n.enabled=!0),mergeTheme(t,e._theme.option),merge$1(t,globalDefault,!1),e._mergeOption(t,null)})),t}(Model);function isNotTargetSeries(e,t){if(t){var n=t.seriesIndex,o=t.seriesId,r=t.seriesName;return null!=n&&e.componentIndex!==n||null!=o&&e.id!==o||null!=r&&e.name!==r}}function mergeTheme(e,t){var n=e.color&&!e.colorLayer;each$f(t,(function(t,o){"colorLayer"===o&&n||ComponentModel.hasClass(o)||("object"==typeof t?e[o]=e[o]?merge$1(e[o],t,!1):clone$4(t):null==e[o]&&(e[o]=t))}))}function queryByIdOrName(e,t,n){if(isArray$2(t)){var o=createHashMap();return each$f(t,(function(e){null!=e&&(null!=convertOptionIdName(e,null)&&o.set(e,!0))})),filter(n,(function(t){return t&&o.get(t[e])}))}var r=convertOptionIdName(t,null);return filter(n,(function(t){return t&&null!=r&&t[e]===r}))}function filterBySubType(e,t){return t.hasOwnProperty("subType")?filter(e,(function(e){return e&&e.subType===t.subType})):e}function normalizeSetOptionInput(e){var t=createHashMap();return e&&each$f(normalizeToArray(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}mixin(GlobalModel,PaletteMixin);var availableMethods=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],ExtensionAPI=function(){return function(e){each$f(availableMethods,(function(t){this[t]=bind$2(e[t],e)}),this)}}(),coordinateSystemCreators={},CoordinateSystemManager=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];each$f(coordinateSystemCreators,(function(o,r){var i=o.create(e,t);n=n.concat(i||[])})),this._coordinateSystems=n},e.prototype.update=function(e,t){each$f(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){coordinateSystemCreators[e]=t},e.get=function(e){return coordinateSystemCreators[e]},e}(),QUERY_REG=/^(min|max)?(.+)$/,OptionManager=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,n){e&&(each$f(normalizeToArray(e.series),(function(e){e&&e.data&&isTypedArray$1(e.data)&&setAsPrimitive(e.data)})),each$f(normalizeToArray(e.dataset),(function(e){e&&e.source&&isTypedArray$1(e.source)&&setAsPrimitive(e.source)}))),e=clone$4(e);var o=this._optionBackup,r=parseRawOption(e,t,!o);this._newBaseOption=r.baseOption,o?(r.timelineOptions.length&&(o.timelineOptions=r.timelineOptions),r.mediaList.length&&(o.mediaList=r.mediaList),r.mediaDefault&&(o.mediaDefault=r.mediaDefault)):this._optionBackup=r},e.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],clone$4(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;if(n.length){var o=e.getComponent("timeline");o&&(t=clone$4(n[o.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t=this._api.getWidth(),n=this._api.getHeight(),o=this._mediaList,r=this._mediaDefault,i=[],a=[];if(!o.length&&!r)return a;for(var l=0,s=o.length;l<s;l++)applyMediaQuery(o[l].query,t,n)&&i.push(l);return!i.length&&r&&(i=[-1]),i.length&&!indicesEquals(i,this._currentMediaIndices)&&(a=map$1(i,(function(e){return clone$4(-1===e?r.option:o[e].option)}))),this._currentMediaIndices=i,a},e}();function parseRawOption(e,t,n){var o,r,i=[],a=e.baseOption,l=e.timeline,s=e.options,c=e.media,u=!!e.media,d=!!(s||l||a&&a.timeline);function p(e){each$f(t,(function(t){t(e,n)}))}return a?(r=a).timeline||(r.timeline=l):((d||u)&&(e.options=e.media=null),r=e),u&&isArray$2(c)&&each$f(c,(function(e){e&&e.option&&(e.query?i.push(e):o||(o=e))})),p(r),each$f(s,(function(e){return p(e)})),each$f(i,(function(e){return p(e.option)})),{baseOption:r,timelineOptions:s||[],mediaDefault:o,mediaList:i}}function applyMediaQuery(e,t,n){var o={width:t,height:n,aspectratio:t/n},r=!0;return each$f(e,(function(e,t){var n=t.match(QUERY_REG);if(n&&n[1]&&n[2]){var i=n[1],a=n[2].toLowerCase();compare(o[a],e,i)||(r=!1)}})),r}function compare(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t}function indicesEquals(e,t){return e.join(",")===t.join(",")}var each$d=each$f,isObject$3=isObject$4,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(e){var t=e&&e.itemStyle;if(t)for(var n=0,o=POSSIBLE_STYLES.length;n<o;n++){var r=POSSIBLE_STYLES[n],i=t.normal,a=t.emphasis;i&&i[r]&&(e[r]=e[r]||{},e[r].normal?merge$1(e[r].normal,i[r]):e[r].normal=i[r],i[r]=null),a&&a[r]&&(e[r]=e[r]||{},e[r].emphasis?merge$1(e[r].emphasis,a[r]):e[r].emphasis=a[r],a[r]=null)}}function convertNormalEmphasis(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var o=e[t].normal,r=e[t].emphasis;o&&(n?(e[t].normal=e[t].emphasis=null,defaults$1(e[t],o)):e[t]=o),r&&(e.emphasis=e.emphasis||{},e.emphasis[t]=r,r.focus&&(e.emphasis.focus=r.focus),r.blurScope&&(e.emphasis.blurScope=r.blurScope))}}function removeEC3NormalStatus(e){convertNormalEmphasis(e,"itemStyle"),convertNormalEmphasis(e,"lineStyle"),convertNormalEmphasis(e,"areaStyle"),convertNormalEmphasis(e,"label"),convertNormalEmphasis(e,"labelLine"),convertNormalEmphasis(e,"upperLabel"),convertNormalEmphasis(e,"edgeLabel")}function compatTextStyle(e,t){var n=isObject$3(e)&&e[t],o=isObject$3(n)&&n.textStyle;if(o)for(var r=0,i=TEXT_STYLE_OPTIONS.length;r<i;r++){var a=TEXT_STYLE_OPTIONS[r];o.hasOwnProperty(a)&&(n[a]=o[a])}}function compatEC3CommonStyles(e){e&&(removeEC3NormalStatus(e),compatTextStyle(e,"label"),e.emphasis&&compatTextStyle(e.emphasis,"label"))}function processSeries(e){if(isObject$3(e)){compatEC2ItemStyle(e),removeEC3NormalStatus(e),compatTextStyle(e,"label"),compatTextStyle(e,"upperLabel"),compatTextStyle(e,"edgeLabel"),e.emphasis&&(compatTextStyle(e.emphasis,"label"),compatTextStyle(e.emphasis,"upperLabel"),compatTextStyle(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(compatEC2ItemStyle(t),compatEC3CommonStyles(t));var n=e.markLine;n&&(compatEC2ItemStyle(n),compatEC3CommonStyles(n));var o=e.markArea;o&&compatEC3CommonStyles(o);var r=e.data;if("graph"===e.type){r=r||e.nodes;var i=e.links||e.edges;if(i&&!isTypedArray$1(i))for(var a=0;a<i.length;a++)compatEC3CommonStyles(i[a]);each$f(e.categories,(function(e){removeEC3NormalStatus(e)}))}if(r&&!isTypedArray$1(r))for(a=0;a<r.length;a++)compatEC3CommonStyles(r[a]);if((t=e.markPoint)&&t.data){var l=t.data;for(a=0;a<l.length;a++)compatEC3CommonStyles(l[a])}if((n=e.markLine)&&n.data){var s=n.data;for(a=0;a<s.length;a++)isArray$2(s[a])?(compatEC3CommonStyles(s[a][0]),compatEC3CommonStyles(s[a][1])):compatEC3CommonStyles(s[a])}"gauge"===e.type?(compatTextStyle(e,"axisLabel"),compatTextStyle(e,"title"),compatTextStyle(e,"detail")):"treemap"===e.type?(convertNormalEmphasis(e.breadcrumb,"itemStyle"),each$f(e.levels,(function(e){removeEC3NormalStatus(e)}))):"tree"===e.type&&removeEC3NormalStatus(e.leaves)}}function toArr(e){return isArray$2(e)?e:e?[e]:[]}function toObj(e){return(isArray$2(e)?e[0]:e)||{}}function globalCompatStyle(e,t){each$d(toArr(e.series),(function(e){isObject$3(e)&&processSeries(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),each$d(n,(function(t){each$d(toArr(e[t]),(function(e){e&&(compatTextStyle(e,"axisLabel"),compatTextStyle(e.axisPointer,"label"))}))})),each$d(toArr(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;compatTextStyle(t,"axisLabel"),compatTextStyle(t&&t.axisPointer,"label")})),each$d(toArr(e.calendar),(function(e){convertNormalEmphasis(e,"itemStyle"),compatTextStyle(e,"dayLabel"),compatTextStyle(e,"monthLabel"),compatTextStyle(e,"yearLabel")})),each$d(toArr(e.radar),(function(e){compatTextStyle(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)})),each$d(toArr(e.geo),(function(e){isObject$3(e)&&(compatEC3CommonStyles(e),each$d(toArr(e.regions),(function(e){compatEC3CommonStyles(e)})))})),each$d(toArr(e.timeline),(function(e){compatEC3CommonStyles(e),convertNormalEmphasis(e,"label"),convertNormalEmphasis(e,"itemStyle"),convertNormalEmphasis(e,"controlStyle",!0);var t=e.data;isArray$2(t)&&each$f(t,(function(e){isObject$4(e)&&(convertNormalEmphasis(e,"label"),convertNormalEmphasis(e,"itemStyle"))}))})),each$d(toArr(e.toolbox),(function(e){convertNormalEmphasis(e,"iconStyle"),each$d(e.feature,(function(e){convertNormalEmphasis(e,"iconStyle")}))})),compatTextStyle(toObj(e.axisPointer),"label"),compatTextStyle(toObj(e.tooltip).axisPointer,"label")}function get(e,t){for(var n=t.split(","),o=e,r=0;r<n.length&&null!=(o=o&&o[n[r]]);r++);return o}function set(e,t,n,o){for(var r,i=t.split(","),a=e,l=0;l<i.length-1;l++)null==a[r=i[l]]&&(a[r]={}),a=a[r];null==a[i[l]]&&(a[i[l]]=n)}function compatLayoutProperties(e){e&&each$f(LAYOUT_PROPERTIES,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var LAYOUT_PROPERTIES=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],COMPATITABLE_COMPONENTS=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],BAR_ITEM_STYLE_MAP=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function compatBarItemStyle(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<BAR_ITEM_STYLE_MAP.length;n++){var o=BAR_ITEM_STYLE_MAP[n][1],r=BAR_ITEM_STYLE_MAP[n][0];null!=t[o]&&(t[r]=t[o])}}function compatPieLabel(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function compatSunburstState(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function compatGraphFocus(e){e&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency"))}function traverseTree(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&traverseTree(e[n].children,t)}function globalBackwardCompat(e,t){globalCompatStyle(e,t),e.series=normalizeToArray(e.series),each$f(e.series,(function(e){if(isObject$4(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t){if(null!=e.clockWise&&(e.clockwise=e.clockWise),compatPieLabel(e.label),(r=e.data)&&!isTypedArray$1(r))for(var n=0;n<r.length;n++)compatPieLabel(r[n]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===t){var o=get(e,"pointer.color");null!=o&&set(e,"itemStyle.color",o)}else if("bar"===t){var r;if(compatBarItemStyle(e),compatBarItemStyle(e.backgroundStyle),compatBarItemStyle(e.emphasis),(r=e.data)&&!isTypedArray$1(r))for(n=0;n<r.length;n++)"object"==typeof r[n]&&(compatBarItemStyle(r[n]),compatBarItemStyle(r[n]&&r[n].emphasis))}else if("sunburst"===t){var i=e.highlightPolicy;i&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=i)),compatSunburstState(e),traverseTree(e.data,compatSunburstState)}else"graph"===t||"sankey"===t?compatGraphFocus(e):"map"===t&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&defaults$1(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),compatLayoutProperties(e)}})),e.dataRange&&(e.visualMap=e.dataRange),each$f(COMPATITABLE_COMPONENTS,(function(t){var n=e[t];n&&(isArray$2(n)||(n=[n]),each$f(n,(function(e){compatLayoutProperties(e)})))}))}function dataStack(e){var t=createHashMap();e.eachSeries((function(e){var n=e.get("stack");if(n){var o=t.get(n)||t.set(n,[]),r=e.getData(),i={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:e};if(!i.stackedDimension||!i.isStackedByIndex&&!i.stackedByDimension)return;o.length&&r.setCalculationInfo("stackedOnSeries",o[o.length-1].seriesModel),o.push(i)}})),t.each(calculateStack)}function calculateStack(e){each$f(e,(function(t,n){var o=[],r=[NaN,NaN],i=[t.stackResultDimension,t.stackedOverDimension],a=t.data,l=t.isStackedByIndex,s=t.seriesModel.get("stackStrategy")||"samesign";a.modify(i,(function(i,c,u){var d,p,f=a.get(t.stackedDimension,u);if(isNaN(f))return r;l?p=a.getRawIndex(u):d=a.get(t.stackedByDimension,u);for(var h=NaN,m=n-1;m>=0;m--){var g=e[m];if(l||(p=g.data.rawIndexOf(g.stackedByDimension,d)),p>=0){var v=g.data.getByRawIndex(g.stackResultDimension,p);if("all"===s||"positive"===s&&v>0||"negative"===s&&v<0||"samesign"===s&&f>=0&&v>0||"samesign"===s&&f<=0&&v<0){f=addSafe(f,v),h=v;break}}}return o[0]=f,o[1]=h,o}))}))}var SourceImpl=function(){return function(e){this.data=e.data||(e.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=e.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=e.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,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 o=t[n];null==o.type&&guessOrdinal(this,n)===BE_ORDINAL.Must&&(o.type="ordinal")}}}(),_a$1,_b,_c,providerMethods,mountMethods;function isSourceInstance(e){return e instanceof SourceImpl}function createSource(e,t,n){n=n||detectSourceFormat(e);var o=t.seriesLayoutBy,r=determineSourceDimensions(e,n,o,t.sourceHeader,t.dimensions);return new SourceImpl({data:e,sourceFormat:n,seriesLayoutBy:o,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:clone$4(t)})}function createSourceFromSeriesDataOption(e){return new SourceImpl({data:e,sourceFormat:isTypedArray$1(e)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL})}function cloneSourceShallow(e){return new SourceImpl({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:clone$4(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function detectSourceFormat(e){var t=SOURCE_FORMAT_UNKNOWN;if(isTypedArray$1(e))t=SOURCE_FORMAT_TYPED_ARRAY;else if(isArray$2(e)){0===e.length&&(t=SOURCE_FORMAT_ARRAY_ROWS);for(var n=0,o=e.length;n<o;n++){var r=e[n];if(null!=r){if(isArray$2(r)||isTypedArray$1(r)){t=SOURCE_FORMAT_ARRAY_ROWS;break}if(isObject$4(r)){t=SOURCE_FORMAT_OBJECT_ROWS;break}}}}else if(isObject$4(e))for(var i in e)if(hasOwn(e,i)&&isArrayLike(e[i])){t=SOURCE_FORMAT_KEYED_COLUMNS;break}return t}function determineSourceDimensions(e,t,n,o,r){var i,a;if(!e)return{dimensionsDefine:normalizeDimensionsOption(r),startIndex:a,dimensionsDetectedCount:i};if(t===SOURCE_FORMAT_ARRAY_ROWS){var l=e;"auto"===o||null==o?arrayRowsTravelFirst((function(e){null!=e&&"-"!==e&&(isString$2(e)?null==a&&(a=1):a=0)}),n,l,10):a=isNumber$2(o)?o:o?1:0,r||1!==a||(r=[],arrayRowsTravelFirst((function(e,t){r[t]=null!=e?e+"":""}),n,l,1/0)),i=r?r.length:n===SERIES_LAYOUT_BY_ROW?l.length:l[0]?l[0].length:null}else if(t===SOURCE_FORMAT_OBJECT_ROWS)r||(r=objectRowsCollectDimensions(e));else if(t===SOURCE_FORMAT_KEYED_COLUMNS)r||(r=[],each$f(e,(function(e,t){r.push(t)})));else if(t===SOURCE_FORMAT_ORIGINAL){var s=getDataItemValue(e[0]);i=isArray$2(s)&&s.length||1}return{startIndex:a,dimensionsDefine:normalizeDimensionsOption(r),dimensionsDetectedCount:i}}function objectRowsCollectDimensions(e){for(var t,n=0;n<e.length&&!(t=e[n++]););if(t)return keys(t)}function normalizeDimensionsOption(e){if(e){var t=createHashMap();return map$1(e,(function(e,n){var o={name:(e=isObject$4(e)?e:{name:e}).name,displayName:e.displayName,type:e.type};if(null==o.name)return o;o.name+="",null==o.displayName&&(o.displayName=o.name);var r=t.get(o.name);return r?o.name+="-"+r.count++:t.set(o.name,{count:1}),o}))}}function arrayRowsTravelFirst(e,t,n,o){if(t===SERIES_LAYOUT_BY_ROW)for(var r=0;r<n.length&&r<o;r++)e(n[r]?n[r][0]:null,r);else{var i=n[0]||[];for(r=0;r<i.length&&r<o;r++)e(i[r],r)}}function shouldRetrieveDataByName(e){var t=e.sourceFormat;return t===SOURCE_FORMAT_OBJECT_ROWS||t===SOURCE_FORMAT_KEYED_COLUMNS}var DefaultDataProvider=function(){function e(e,t){var n=isSourceInstance(e)?e:createSourceFromSeriesDataOption(e);this._source=n;var o=this._data=n.data;n.sourceFormat===SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=t,this._data=o),mountMethods(this,o,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;mountMethods=function(e,r,i){var a=i.sourceFormat,l=i.seriesLayoutBy,s=i.startIndex,c=i.dimensionsDefine;if(extend$1(e,providerMethods[getMethodMapKey(a,l)]),a===SOURCE_FORMAT_TYPED_ARRAY)e.getItem=t,e.count=o,e.fillStorage=n;else{var u=getRawSourceItemGetter(a,l);e.getItem=bind$2(u,null,r,s,c);var d=getRawSourceDataCounter(a,l);e.count=bind$2(d,null,r,s,c)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,o=this._dimSize,r=o*e,i=0;i<o;i++)t[i]=n[r+i];return t},n=function(e,t,n,o){for(var r=this._data,i=this._dimSize,a=0;a<i;a++){for(var l=o[a],s=null==l[0]?1/0:l[0],c=null==l[1]?-1/0:l[1],u=t-e,d=n[a],p=0;p<u;p++){var f=r[p*i+a];d[e+p]=f,f<s&&(s=f),f>c&&(c=f)}l[0]=s,l[1]=c}},o=function(){return this._data?this._data.length/this._dimSize:0};function r(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}(e={})[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:r},e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:r},e[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(e){var t=this._data;each$f(e,(function(e,n){for(var o=t[n]||(t[n]=[]),r=0;r<(e||[]).length;r++)o.push(e[r])}))}},e[SOURCE_FORMAT_ORIGINAL]={appendData:r},e[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},providerMethods=e}(),e}(),getItemSimply=function(e,t,n,o){return e[o]},rawSourceItemGetterMap=(_a$1={},_a$1[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(e,t,n,o){return e[o+t]},_a$1[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(e,t,n,o,r){o+=t;for(var i=r||[],a=e,l=0;l<a.length;l++){var s=a[l];i[l]=s?s[o]:null}return i},_a$1[SOURCE_FORMAT_OBJECT_ROWS]=getItemSimply,_a$1[SOURCE_FORMAT_KEYED_COLUMNS]=function(e,t,n,o,r){for(var i=r||[],a=0;a<n.length;a++){var l=e[n[a].name];i[a]=l?l[o]:null}return i},_a$1[SOURCE_FORMAT_ORIGINAL]=getItemSimply,_a$1);function getRawSourceItemGetter(e,t){return rawSourceItemGetterMap[getMethodMapKey(e,t)]}var countSimply=function(e,t,n){return e.length},rawSourceDataCounterMap=(_b={},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(e,t,n){return Math.max(0,e.length-t)},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(e,t,n){var o=e[0];return o?Math.max(0,o.length-t):0},_b[SOURCE_FORMAT_OBJECT_ROWS]=countSimply,_b[SOURCE_FORMAT_KEYED_COLUMNS]=function(e,t,n){var o=e[n[0].name];return o?o.length:0},_b[SOURCE_FORMAT_ORIGINAL]=countSimply,_b);function getRawSourceDataCounter(e,t){return rawSourceDataCounterMap[getMethodMapKey(e,t)]}var getRawValueSimply=function(e,t,n){return e[t]},rawSourceValueGetterMap=(_c={},_c[SOURCE_FORMAT_ARRAY_ROWS]=getRawValueSimply,_c[SOURCE_FORMAT_OBJECT_ROWS]=function(e,t,n){return e[n]},_c[SOURCE_FORMAT_KEYED_COLUMNS]=getRawValueSimply,_c[SOURCE_FORMAT_ORIGINAL]=function(e,t,n){var o=getDataItemValue(e);return o instanceof Array?o[t]:o},_c[SOURCE_FORMAT_TYPED_ARRAY]=getRawValueSimply,_c);function getRawSourceValueGetter(e){return rawSourceValueGetterMap[e]}function getMethodMapKey(e,t){return e===SOURCE_FORMAT_ARRAY_ROWS?e+"_"+t:e}function retrieveRawValue(e,t,n){if(e){var o=e.getRawDataItem(t);if(null!=o){var r=e.getStore(),i=r.getSource().sourceFormat;if(null!=n){var a=e.getDimensionIndex(n),l=r.getDimensionProperty(a);return getRawSourceValueGetter(i)(o,a,l)}var s=o;return i===SOURCE_FORMAT_ORIGINAL&&(s=getDataItemValue(o)),s}}}var DIMENSION_LABEL_REG=/\{@(.+?)\}/g,DataFormatMixin=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),o=this.getRawValue(e,t),r=n.getRawIndex(e),i=n.getName(e),a=n.getRawDataItem(e),l=n.getItemVisual(e,"style"),s=l&&l[n.getItemVisual(e,"drawType")||"fill"],c=l&&l.stroke,u=this.mainType,d="series"===u,p=n.userOutput&&n.userOutput.get();return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:i,dataIndex:r,data:a,dataType:t,value:o,color:s,borderColor:c,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,o,r,i){t=t||"normal";var a=this.getData(n),l=this.getDataParams(e,n);(i&&(l.value=i.interpolatedValue),null!=o&&isArray$2(l.value)&&(l.value=l.value[o]),r)||(r=a.getItemModel(e).get("normal"===t?["label","formatter"]:[t,"label","formatter"]));return isFunction$2(r)?(l.status=t,l.dimensionIndex=o,r(l)):isString$2(r)?formatTpl(r,l).replace(DIMENSION_LABEL_REG,(function(t,n){var o=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(o-1)&&(r=+r.slice(1,o-1));var l=retrieveRawValue(a,e,r);if(i&&isArray$2(i.interpolatedValue)){var s=a.getDimensionIndex(r);s>=0&&(l=i.interpolatedValue[s])}return null!=l?l+"":""})):void 0},e.prototype.getRawValue=function(e,t){return retrieveRawValue(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function normalizeTooltipFormatResult(e){var t,n;return isObject$4(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function createTask(e){return new Task(e)}var Task=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,o=e&&e.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!o&&(t=this._plan(this.context));var i,a=u(this._modBy),l=this._modDataCount||0,s=u(e&&e.modBy),c=e&&e.modDataCount||0;function u(e){return!(e>=1)&&(e=1),e}a===s&&l===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,i=this._doReset(o)),this._modBy=s,this._modDataCount=c;var d=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!o&&(i||p<f)){var h=this._progress;if(isArray$2(h))for(var m=0;m<h.length;m++)this._doProgress(h[m],p,f,s,c);else this._doProgress(h,p,f,s,c)}this._dueIndex=f;var g=null!=this._settedOutputEnd?this._settedOutputEnd:f;this._outputDueEnd=g}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,o,r){iterator$1.reset(t,n,o,r),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:iterator$1.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),isArray$2(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var o=this._downstream;return o&&o.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}(),iterator$1=function(){var e,t,n,o,r,i={reset:function(s,c,u,d){t=s,e=c,n=u,o=d,r=Math.ceil(o/n),i.next=n>1&&o>0?l:a}};return i;function a(){return t<e?t++:null}function l(){var i=t%r*n+Math.ceil(t/r),a=t>=e?null:i<o?i:t;return t++,a}}();function parseDataValue(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||isNumber$2(e)||null==e||"-"===e||(e=+parseDate$1(e)),null==e||""===e?NaN:Number(e))}var valueParserMap=createHashMap({number:function(e){return parseFloat(e)},time:function(e){return+parseDate$1(e)},trim:function(e){return isString$2(e)?trim$2(e):e}});function getRawValueParser(e){return valueParserMap.get(e)}var ORDER_COMPARISON_OP_MAP={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}},FilterOrderComparator=function(){function e(e,t){if(!isNumber$2(t)){throwError$1("")}this._opFn=ORDER_COMPARISON_OP_MAP[e],this._rvalFloat=numericToNumber(t)}return e.prototype.evaluate=function(e){return isNumber$2(e)?this._opFn(e,this._rvalFloat):this._opFn(numericToNumber(e),this._rvalFloat)},e}(),SortOrderComparator=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=isNumber$2(e)?e:numericToNumber(e),o=isNumber$2(t)?t:numericToNumber(t),r=isNaN(n),i=isNaN(o);if(r&&(n=this._incomparable),i&&(o=this._incomparable),r&&i){var a=isString$2(e),l=isString$2(t);a&&(n=l?e:0),l&&(o=a?t:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},e}(),FilterEqualityComparator=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=numericToNumber(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=numericToNumber(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function createFilterComparator(e,t){return"eq"===e||"ne"===e?new FilterEqualityComparator("eq"===e,t):hasOwn(ORDER_COMPARISON_OP_MAP,e)?new FilterOrderComparator(e,t):null}var ExternalSource=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 parseDataValue(e,t)},e}();function createExternalSource(e,t){var n=new ExternalSource,o=e.data,r=n.sourceFormat=e.sourceFormat,i=e.startIndex;e.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError$1("");var a=[],l={},s=e.dimensionsDefine;if(s)each$f(s,(function(e,t){var n=e.name,o={index:t,name:n,displayName:e.displayName};if(a.push(o),null!=n){hasOwn(l,n)&&throwError$1(""),l[n]=o}}));else for(var c=0;c<e.dimensionsDetectedCount;c++)a.push({index:c});var u=getRawSourceItemGetter(r,SERIES_LAYOUT_BY_COLUMN);t.__isBuiltIn&&(n.getRawDataItem=function(e){return u(o,i,a,e)},n.getRawData=bind$2(getRawData,null,e)),n.cloneRawData=bind$2(cloneRawData,null,e);var d=getRawSourceDataCounter(r,SERIES_LAYOUT_BY_COLUMN);n.count=bind$2(d,null,o,i,a);var p=getRawSourceValueGetter(r);n.retrieveValue=function(e,t){var n=u(o,i,a,e);return f(n,t)};var f=n.retrieveValueFromItem=function(e,t){if(null!=e){var n=a[t];return n?p(e,t,n.name):void 0}};return n.getDimensionInfo=bind$2(getDimensionInfo,null,a,l),n.cloneAllDimensionInfo=bind$2(cloneAllDimensionInfo,null,a),n}function getRawData(e){if(!isSupportedSourceFormat(e.sourceFormat)){throwError$1("")}return e.data}function cloneRawData(e){var t=e.sourceFormat,n=e.data;if(!isSupportedSourceFormat(t)){throwError$1("")}if(t===SOURCE_FORMAT_ARRAY_ROWS){for(var o=[],r=0,i=n.length;r<i;r++)o.push(n[r].slice());return o}if(t===SOURCE_FORMAT_OBJECT_ROWS){for(o=[],r=0,i=n.length;r<i;r++)o.push(extend$1({},n[r]));return o}}function getDimensionInfo(e,t,n){if(null!=n)return isNumber$2(n)||!isNaN(n)&&!hasOwn(t,n)?e[n]:hasOwn(t,n)?t[n]:void 0}function cloneAllDimensionInfo(e){return clone$4(e)}var externalTransformMap=createHashMap();function registerExternalTransform(e){var t=(e=clone$4(e)).type;t||throwError$1("");var n=t.split(":");2!==n.length&&throwError$1("");var o=!1;"echarts"===n[0]&&(t=n[1],o=!0),e.__isBuiltIn=o,externalTransformMap.set(t,e)}function applyDataTransform(e,t,n){var o=normalizeToArray(e),r=o.length;r||throwError$1("");for(var i=0,a=r;i<a;i++){t=applySingleDataTransform(o[i],t),i!==a-1&&(t.length=Math.max(t.length,1))}return t}function applySingleDataTransform(e,t,n,o){t.length||throwError$1(""),isObject$4(e)||throwError$1("");var r=e.type,i=externalTransformMap.get(r);i||throwError$1("");var a=map$1(t,(function(e){return createExternalSource(e,i)}));return map$1(normalizeToArray(i.transform({upstream:a[0],upstreamList:a,config:clone$4(e.config)})),(function(e,n){var o;isObject$4(e)||throwError$1(""),e.data||throwError$1(""),isSupportedSourceFormat(detectSourceFormat(e.data))||throwError$1("");var r=t[0];if(r&&0===n&&!e.dimensions){var i=r.startIndex;i&&(e.data=r.data.slice(0,i).concat(e.data)),o={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:i,dimensions:r.metaRawOption.dimensions}}else o={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:0,dimensions:e.dimensions};return createSource(e.data,o,null)}))}function isSupportedSourceFormat(e){return e===SOURCE_FORMAT_ARRAY_ROWS||e===SOURCE_FORMAT_OBJECT_ROWS}var UNDEFINED="undefined",CtorUint32Array=typeof Uint32Array===UNDEFINED?Array:Uint32Array,CtorUint16Array=typeof Uint16Array===UNDEFINED?Array:Uint16Array,CtorInt32Array$1=typeof Int32Array===UNDEFINED?Array:Int32Array,CtorFloat64Array=typeof Float64Array===UNDEFINED?Array:Float64Array,dataCtors={float:CtorFloat64Array,int:CtorInt32Array$1,ordinal:Array,number:Array,time:CtorFloat64Array},defaultDimValueGetters;function getIndicesCtor(e){return e>65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function prepareStore(e,t,n,o,r){var i=dataCtors[n||"float"];if(r){var a=e[t],l=a&&a.length;if(l!==o){for(var s=new i(o),c=0;c<l;c++)s[c]=a[c];e[t]=s}}else e[t]=new i(o)}var DataStore=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=createHashMap()}return e.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=e.getSource(),r=this.defaultDimValueGetter=defaultDimValueGetters[o.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[],shouldRetrieveDataByName(o),this._dimensions=map$1(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,o=this._dimensions,r=n.get(e);if(null!=r){if(o[r].type===t)return r}else r=o.length;return o[r]={type:t},n.set(e,r),this._chunks[r]=new dataCtors[t||"float"](this._rawCount),this._rawExtent[r]=getInitialExtent(),r},e.prototype.collectOrdinalMeta=function(e,t){var n=this._chunks[e],o=this._dimensions[e],r=this._rawExtent,i=o.ordinalOffset||0,a=n.length;0===i&&(r[e]=getInitialExtent());for(var l=r[e],s=i;s<a;s++){var c=n[s]=t.parseAndCollect(n[s]);isNaN(c)||(l[0]=Math.min(c,l[0]),l[1]=Math.max(c,l[1]))}o.ordinalMeta=t,o.ordinalOffset=a,o.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 o=t.count();return t.persistent||(o+=n),n<o&&this._initDataFromProvider(n,o,!0),[n,o]},e.prototype.appendValues=function(e,t){for(var n=this._chunks,o=this._dimensions,r=o.length,i=this._rawExtent,a=this.count(),l=a+Math.max(e.length,t||0),s=0;s<r;s++){prepareStore(n,s,(f=o[s]).type,l,!0)}for(var c=[],u=a;u<l;u++)for(var d=u-a,p=0;p<r;p++){var f=o[p],h=defaultDimValueGetters.arrayRows.call(this,e[d]||c,f.property,d,p);n[p][u]=h;var m=i[p];h<m[0]&&(m[0]=h),h>m[1]&&(m[1]=h)}return this._rawCount=this._count=l,{start:a,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var o=this._provider,r=this._chunks,i=this._dimensions,a=i.length,l=this._rawExtent,s=map$1(i,(function(e){return e.property})),c=0;c<a;c++){var u=i[c];l[c]||(l[c]=getInitialExtent()),prepareStore(r,c,u.type,t,n)}if(o.fillStorage)o.fillStorage(e,t,r,l);else for(var d=[],p=e;p<t;p++){d=o.getItem(p,d);for(var f=0;f<a;f++){var h=r[f],m=this._dimValueGetter(d,s[f],p,f);h[p]=m;var g=l[f];m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}!o.persistent&&o.clean&&o.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=[],o=[];if(null==t){t=e,e=[];for(var r=0;r<this._dimensions.length;r++)o.push(r)}else o=e;r=0;for(var i=o.length;r<i;r++)n.push(this.get(o[r],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,o=this.count();n<o;n++){var r=this.get(e,n);isNaN(r)||(t+=r)}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})),o=this.count();return 0===o?0:o%2==1?n[(o-1)/2]:(n[o/2]+n[o/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 o=0,r=this._count-1;o<=r;){var i=(o+r)/2|0;if(t[i]<e)o=i+1;else{if(!(t[i]>e))return i;r=i-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var o=this._chunks[e],r=[];if(!o)return r;null==n&&(n=1/0);for(var i=1/0,a=-1,l=0,s=0,c=this.count();s<c;s++){var u=t-o[this.getRawIndex(s)],d=Math.abs(u);d<=n&&((d<i||d===i&&u>=0&&a<0)&&(i=d,a=u,l=0),u===a&&(r[l++]=s))}return r.length=l,r},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,o=this._count;if(n===Array){e=new n(o);for(var r=0;r<o;r++)e[r]=t[r]}else e=new n(t.buffer,0,o)}else{e=new(n=getIndicesCtor(this._rawCount))(this.count());for(r=0;r<e.length;r++)e[r]=r}return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),o=n.count(),r=new(getIndicesCtor(n._rawCount))(o),i=[],a=e.length,l=0,s=e[0],c=n._chunks,u=0;u<o;u++){var d=void 0,p=n.getRawIndex(u);if(0===a)d=t(u);else if(1===a){d=t(c[s][p],u)}else{for(var f=0;f<a;f++)i[f]=c[e[f]][p];i[f]=u,d=t.apply(null,i)}d&&(r[l++]=p)}return l<o&&(n._indices=r),n._count=l,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(e){var t=this.clone(),n=t._count;if(!n)return this;var o=keys(e),r=o.length;if(!r)return this;var i=t.count(),a=new(getIndicesCtor(t._rawCount))(i),l=0,s=o[0],c=e[s][0],u=e[s][1],d=t._chunks,p=!1;if(!t._indices){var f=0;if(1===r){for(var h=d[o[0]],m=0;m<n;m++){((b=h[m])>=c&&b<=u||isNaN(b))&&(a[l++]=f),f++}p=!0}else if(2===r){h=d[o[0]];var g=d[o[1]],v=e[o[1]][0],y=e[o[1]][1];for(m=0;m<n;m++){var b=h[m],_=g[m];(b>=c&&b<=u||isNaN(b))&&(_>=v&&_<=y||isNaN(_))&&(a[l++]=f),f++}p=!0}}if(!p)if(1===r)for(m=0;m<i;m++){var w=t.getRawIndex(m);((b=d[o[0]][w])>=c&&b<=u||isNaN(b))&&(a[l++]=w)}else for(m=0;m<i;m++){for(var k=!0,x=(w=t.getRawIndex(m),0);x<r;x++){var S=o[x];((b=d[S][w])<e[S][0]||b>e[S][1])&&(k=!1)}k&&(a[l++]=t.getRawIndex(m))}return l<i&&(t._indices=a),t._count=l,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 o=e._chunks,r=[],i=t.length,a=e.count(),l=[],s=e._rawExtent,c=0;c<t.length;c++)s[t[c]]=getInitialExtent();for(var u=0;u<a;u++){for(var d=e.getRawIndex(u),p=0;p<i;p++)l[p]=o[t[p]][d];l[i]=u;var f=n&&n.apply(null,l);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(c=0;c<f.length;c++){var h=t[c],m=f[c],g=s[h],v=o[h];v&&(v[d]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}}},e.prototype.lttbDownSample=function(e,t){var n,o,r,i=this.clone([e],!0),a=i._chunks[e],l=this.count(),s=0,c=Math.floor(1/t),u=this.getRawIndex(0),d=new(getIndicesCtor(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));d[s++]=u;for(var p=1;p<l-1;p+=c){for(var f=Math.min(p+c,l-1),h=Math.min(p+2*c,l),m=(h+f)/2,g=0,v=f;v<h;v++){var y=a[C=this.getRawIndex(v)];isNaN(y)||(g+=y)}g/=h-f;var b=p,_=Math.min(p+c,l),w=p-1,k=a[u];n=-1,r=b;var x=-1,S=0;for(v=b;v<_;v++){var C;y=a[C=this.getRawIndex(v)];isNaN(y)?(S++,x<0&&(x=C)):(o=Math.abs((w-m)*(y-k)-(w-v)*(g-k)))>n&&(n=o,r=C)}S>0&&S<_-b&&(d[s++]=Math.min(x,r),r=Math.max(x,r)),d[s++]=r,u=r}return d[s++]=this.getRawIndex(l-1),i._count=s,i._indices=d,i.getRawIndex=this._getRawIdx,i},e.prototype.minmaxDownSample=function(e,t){for(var n=this.clone([e],!0),o=n._chunks,r=Math.floor(1/t),i=o[e],a=this.count(),l=new(getIndicesCtor(this._rawCount))(2*Math.ceil(a/r)),s=0,c=0;c<a;c+=r){var u=c,d=i[this.getRawIndex(u)],p=c,f=i[this.getRawIndex(p)],h=r;c+r>a&&(h=a-c);for(var m=0;m<h;m++){var g=i[this.getRawIndex(c+m)];g<d&&(d=g,u=c+m),g>f&&(f=g,p=c+m)}var v=this.getRawIndex(u),y=this.getRawIndex(p);u<p?(l[s++]=v,l[s++]=y):(l[s++]=y,l[s++]=v)}return n._count=s,n._indices=l,n._updateGetRawIdx(),n},e.prototype.downSample=function(e,t,n,o){for(var r=this.clone([e],!0),i=r._chunks,a=[],l=Math.floor(1/t),s=i[e],c=this.count(),u=r._rawExtent[e]=getInitialExtent(),d=new(getIndicesCtor(this._rawCount))(Math.ceil(c/l)),p=0,f=0;f<c;f+=l){l>c-f&&(l=c-f,a.length=l);for(var h=0;h<l;h++){var m=this.getRawIndex(f+h);a[h]=s[m]}var g=n(a),v=this.getRawIndex(Math.min(f+o(a,g)||0,c-1));s[v]=g,g<u[0]&&(u[0]=g),g>u[1]&&(u[1]=g),d[p++]=v}return r._count=p,r._indices=d,r._updateGetRawIdx(),r},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,o=this._chunks,r=0,i=this.count();r<i;r++){var a=this.getRawIndex(r);switch(n){case 0:t(r);break;case 1:t(o[e[0]][a],r);break;case 2:t(o[e[0]][a],o[e[1]][a],r);break;default:for(var l=0,s=[];l<n;l++)s[l]=o[e[l]][a];s[l]=r,t.apply(null,s)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],n=getInitialExtent();if(!t)return n;var o,r=this.count();if(!this._indices)return this._rawExtent[e].slice();if(o=this._extent[e])return o.slice();for(var i=(o=n)[0],a=o[1],l=0;l<r;l++){var s=t[this.getRawIndex(l)];s<i&&(i=s),s>a&&(a=s)}return o=[i,a],this._extent[e]=o,o},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],o=this._chunks,r=0;r<o.length;r++)n.push(o[r][t]);return n},e.prototype.clone=function(t,n){var o=new e,r=this._chunks,i=t&&reduce(t,(function(e,t){return e[t]=!0,e}),{});if(i)for(var a=0;a<r.length;a++)o._chunks[a]=i[a]?cloneChunk(r[a]):r[a];else o._chunks=r;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=clone$4(this._extent),e._rawExtent=clone$4(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 o=0;o<n;o++)t[o]=this._indices[o]}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,o){return parseDataValue(e[o],this._dimensions[o])}defaultDimValueGetters={arrayRows:e,objectRows:function(e,t,n,o){return parseDataValue(e[t],this._dimensions[o])},keyedColumns:e,original:function(e,t,n,o){var r=e&&(null==e.value?e:e.value);return parseDataValue(r instanceof Array?r[o]:r,this._dimensions[o])},typedArray:function(e,t,n,o){return e[o]}}}(),e}(),SourceManager=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,o=this._getUpstreamSourceManagers(),r=!!o.length;if(isSeries(n)){var i=n,a=void 0,l=void 0,s=void 0;if(r){var c=o[0];c.prepareSource(),a=(s=c.getSource()).data,l=s.sourceFormat,t=[c._getVersionSign()]}else l=isTypedArray$1(a=i.get("data",!0))?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,t=[];var u=this._getSourceMetaRawOption()||{},d=s&&s.metaRawOption||{},p=retrieve2(u.seriesLayoutBy,d.seriesLayoutBy)||null,f=retrieve2(u.sourceHeader,d.sourceHeader),h=retrieve2(u.dimensions,d.dimensions);e=p!==d.seriesLayoutBy||!!f!=!!d.sourceHeader||h?[createSource(a,{seriesLayoutBy:p,sourceHeader:f,dimensions:h},l)]:[]}else{var m=n;if(r){var g=this._applyTransform(o);e=g.sourceList,t=g.upstreamSignList}else{e=[createSource(m.get("source",!0),this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,o=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==e.length&&doThrow("")}var i=[],a=[];return each$f(e,(function(e){e.prepareSource();var t=e.getSource(r||0);null==r||t||doThrow(""),i.push(t),a.push(e._getVersionSign())})),o?t=applyDataTransform(o,i,{datasetIndex:n.componentIndex}):null!=r&&(t=[cloneSourceShallow(i[0])]),{sourceList:t,upstreamSignList:a}},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 o=this._storeList,r=o[0];r||(r=o[0]={});var i=r[n];if(!i){var a=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&a?i=a._innerGetDataStore(e,t,n):(i=new DataStore).initData(new DefaultDataProvider(t,e.length),e),r[n]=i}return i},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(isSeries(e)){var t=querySeriesUpstreamDatasetModel(e);return t?[t.getSourceManager()]:[]}return map$1(queryDatasetUpstreamDatasetModels(e),(function(e){return e.getSourceManager()}))},e.prototype._getSourceMetaRawOption=function(){var e,t,n,o=this._sourceHost;if(isSeries(o))e=o.get("seriesLayoutBy",!0),t=o.get("sourceHeader",!0),n=o.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=o;e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:n}},e}();function disableTransformOptionMerge(e){e.option.transform&&setAsPrimitive(e.option.transform)}function isSeries(e){return"series"===e.mainType}function doThrow(e){throw new Error(e)}var TOOLTIP_LINE_HEIGHT_CSS="line-height:1";function getTooltipLineHeight(e){var t=e.lineHeight;return null==t?TOOLTIP_LINE_HEIGHT_CSS:"line-height:"+encodeHTML(t+"")+"px"}function getTooltipTextStyle(e,t){var n=e.color||"#6e7079",o=e.fontSize||12,r=e.fontWeight||"400",i=e.color||"#464646",a=e.fontSize||14,l=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+encodeHTML(o+"")+"px;color:"+encodeHTML(n)+";font-weight:"+encodeHTML(r+""),valueStyle:"font-size:"+encodeHTML(a+"")+"px;color:"+encodeHTML(i)+";font-weight:"+encodeHTML(l+"")}:{nameStyle:{fontSize:o,fill:n,fontWeight:r},valueStyle:{fontSize:a,fill:i,fontWeight:l}}}var HTML_GAPS=[0,10,20,30],RICH_TEXT_GAPS=["","\n","\n\n","\n\n\n"];function createTooltipMarkup(e,t){return t.type=e,t}function isSectionFragment(e){return"section"===e.type}function getBuilder(e){return isSectionFragment(e)?buildSection:buildNameValue}function getBlockGapLevel(e){if(isSectionFragment(e)){var t=0,n=e.blocks.length,o=n>1||n>0&&!e.noHeader;return each$f(e.blocks,(function(e){var n=getBlockGapLevel(e);n>=t&&(t=n+ +(o&&(!n||isSectionFragment(e)&&!e.noHeader)))})),t}return 0}function buildSection(e,t,n,o){var r=t.noHeader,i=getGap(getBlockGapLevel(t)),a=[],l=t.blocks||[];assert(!l||isArray$2(l)),l=l||[];var s=e.orderMode;if(t.sortBlocks&&s){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(c,s)){var u=new SortOrderComparator(c[s],null);l.sort((function(e,t){return u.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===s&&l.reverse()}each$f(l,(function(n,r){var l=t.valueFormatter,s=getBuilder(n)(l?extend$1(extend$1({},e),{valueFormatter:l}):e,n,r>0?i.html:0,o);null!=s&&a.push(s)}));var d="richText"===e.renderMode?a.join(i.richText):wrapBlockHTML(o,a.join(""),r?n:i.html);if(r)return d;var p=makeValueReadable(t.header,"ordinal",e.useUTC),f=getTooltipTextStyle(o,e.renderMode).nameStyle,h=getTooltipLineHeight(o);return"richText"===e.renderMode?wrapInlineNameRichText(e,p,f)+i.richText+d:wrapBlockHTML(o,'<div style="'+f+";"+h+';">'+encodeHTML(p)+"</div>"+d,n)}function buildNameValue(e,t,n,o){var r=e.renderMode,i=t.noName,a=t.noValue,l=!t.markerType,s=t.name,c=e.useUTC,u=t.valueFormatter||e.valueFormatter||function(e){return map$1(e=isArray$2(e)?e:[e],(function(e,t){return makeValueReadable(e,isArray$2(f)?f[t]:f,c)}))};if(!i||!a){var d=l?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",r),p=i?"":makeValueReadable(s,"ordinal",c),f=t.valueType,h=a?[]:u(t.value,t.dataIndex),m=!l||!i,g=!l&&i,v=getTooltipTextStyle(o,r),y=v.nameStyle,b=v.valueStyle;return"richText"===r?(l?"":d)+(i?"":wrapInlineNameRichText(e,p,y))+(a?"":wrapInlineValueRichText(e,h,m,g,b)):wrapBlockHTML(o,(l?"":d)+(i?"":wrapInlineNameHTML(p,!l,y))+(a?"":wrapInlineValueHTML(h,m,g,b)),n)}}function buildTooltipMarkup(e,t,n,o,r,i){if(e)return getBuilder(e)({useUTC:r,renderMode:n,orderMode:o,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,i)}function getGap(e){return{html:HTML_GAPS[e],richText:RICH_TEXT_GAPS[e]}}function wrapBlockHTML(e,t,n){return'<div style="'+("margin: "+n+"px 0 0")+";"+getTooltipLineHeight(e)+';">'+t+'<div style="clear:both"></div></div>'}function wrapInlineNameHTML(e,t,n){return'<span style="'+n+";"+(t?"margin-left:2px":"")+'">'+encodeHTML(e)+"</span>"}function wrapInlineValueHTML(e,t,n,o){return'<span style="'+(t?"float:right;margin-left:"+(n?"10px":"20px"):"")+";"+o+'">'+map$1(e=isArray$2(e)?e:[e],(function(e){return encodeHTML(e)})).join(" ")+"</span>"}function wrapInlineNameRichText(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function wrapInlineValueRichText(e,t,n,o,r){var i=[r],a=o?10:20;return n&&i.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(isArray$2(t)?t.join(" "):t,i)}function retrieveVisualColorForTooltipMarker(e,t){return convertToColorString(e.getData().getItemVisual(t,"style")[e.visualDrawType])}function getPaddingFromTooltipModel(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var TooltipMarkupStyleCreator=function(){function e(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var o="richText"===n?this._generateStyleName():null,r=getTooltipMarker({color:t,type:e,renderMode:n,markerId:o});return isString$2(r)?r:(this.richTextStyles[o]=r.style,r.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};isArray$2(t)?each$f(t,(function(e){return extend$1(n,e)})):extend$1(n,t);var o=this._generateStyleName();return this.richTextStyles[o]=n,"{"+o+"|"+e+"}"},e}();function defaultSeriesFormatTooltip(e){var t,n,o,r,i=e.series,a=e.dataIndex,l=e.multipleSeries,s=i.getData(),c=s.mapDimensionsAll("defaultedTooltip"),u=c.length,d=i.getRawValue(a),p=isArray$2(d),f=retrieveVisualColorForTooltipMarker(i,a);if(u>1||p&&!u){var h=formatTooltipArrayValue(d,i,a,c,f);t=h.inlineValues,n=h.inlineValueTypes,o=h.blocks,r=h.inlineValues[0]}else if(u){var m=s.getDimensionInfo(c[0]);r=t=retrieveRawValue(s,a,c[0]),n=m.type}else r=t=p?d[0]:d;var g=isNameSpecified(i),v=g&&i.name||"",y=s.getName(a),b=l?v:y;return createTooltipMarkup("section",{header:v,noHeader:l||!g,sortParam:r,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:f,name:b,noName:!trim$2(b),value:t,valueType:n,dataIndex:a})].concat(o||[])})}function formatTooltipArrayValue(e,t,n,o,r){var i=t.getData(),a=reduce(e,(function(e,t,n){var o=i.getDimensionInfo(n);return e||o&&!1!==o.tooltip&&null!=o.displayName}),!1),l=[],s=[],c=[];function u(e,t){var n=i.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(a?c.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:e,valueType:n.type})):(l.push(e),s.push(n.type)))}return o.length?each$f(o,(function(e){u(retrieveRawValue(i,n,e),e)})):each$f(e,u),{inlineValues:l,inlineValueTypes:s,blocks:c}}var inner$k=makeInner();function getSelectionKey(e,t){return e.getName(t)||e.getId(t)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}var n;return __extends(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(inner$k(this).sourceManager=new SourceManager(this)).prepareSource();var o=this.getInitialData(e,n);wrapData(o,this),this.dataTask.context.data=o,inner$k(this).dataBeforeProcessed=o,autoSeriesName(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=fetchLayoutMode(this),o=n?getLayoutParams(e):{},r=this.subType;ComponentModel.hasClass(r)&&(r+="Series"),merge$1(e,t.getTheme().get(this.subType)),merge$1(e,this.getDefaultOption()),defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&mergeLayoutParam(e,o,n)},t.prototype.mergeOption=function(e,t){e=merge$1(this.option,e,!0),this.fillDataTextStyle(e.data);var n=fetchLayoutMode(this);n&&mergeLayoutParam(this.option,e,n);var o=inner$k(this).sourceManager;o.dirty(),o.prepareSource();var r=this.getInitialData(e,t);wrapData(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,inner$k(this).dataBeforeProcessed=r,autoSeriesName(this),this._initSelectedMapFromData(r)},t.prototype.fillDataTextStyle=function(e){if(e&&!isTypedArray$1(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&defaultEmphasis(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=getCurrentTask(this);if(t){var n=t.context.data;return null!=e&&n.getLinkedData?n.getLinkedData(e):n}return inner$k(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=getCurrentTask(this);if(t){var n=t.context;n.outputData=e,t!==this.dataTask&&(n.data=e)}inner$k(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return createHashMap(e)},t.prototype.getSourceManager=function(){return inner$k(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return inner$k(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 defaultSeriesFormatTooltip({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(env.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 o=this.ecModel,r=PaletteMixin.prototype.getColorFromPalette.call(this,e,t,n);return r||(r=o.getColorFromPalette(e,t,n)),r},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 o=this.option.selectedMode,r=this.getData(t);if("series"===o||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var i=0;i<e.length;i++){var a=getSelectionKey(r,e[i]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},t.prototype.toggleSelect=function(e,t){for(var n=[],o=0;o<e.length;o++)n[0]=e[o],this.isSelected(e[o],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=keys(e),n=[],o=0;o<t.length;o++){var r=e[t[o]];r>=0&&n.push(r)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var o=this.getData(t);return("all"===n||n[getSelectionKey(o,e)])&&!o.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,o,r=this.option,i=r.selectedMode,a=t.length;if(i&&a)if("series"===i)r.selectedMap="all";else if("multiple"===i){isObject$4(r.selectedMap)||(r.selectedMap={});for(var l=r.selectedMap,s=0;s<a;s++){var c=t[s];l[d=getSelectionKey(e,c)]=!0,this._selectedDataIndicesMap[d]=e.getRawIndex(c)}}else if("single"===i||!0===i){var u=t[a-1],d=getSelectionKey(e,u);r.selectedMap=((n={})[d]=!0,n),this._selectedDataIndicesMap=((o={})[d]=e.getRawIndex(u),o)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each((function(n){var o=e.getRawDataItem(n);o&&o.selected&&t.push(n)})),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return ComponentModel.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}(ComponentModel);function autoSeriesName(e){var t=e.name;isNameSpecified(e)||(e.name=getSeriesAutoName(e)||t)}function getSeriesAutoName(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),o=[];return each$f(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&o.push(n.displayName)})),o.join(" ")}function dataTaskCount(e){return e.model.getRawData().count()}function dataTaskReset(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function wrapData(e,t){each$f(concatArray(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,curry$1(onDataChange,t))}))}function onDataChange(e,t){var n=getCurrentTask(e);return n&&n.setOutputEnd((t||this).count()),t}function getCurrentTask(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var o=n.currentTask;if(o){var r=o.agentStubMap;r&&(o=r.get(e.uid))}return o}}mixin(SeriesModel,DataFormatMixin),mixin(SeriesModel,PaletteMixin),mountExtend(SeriesModel,ComponentModel);var ComponentView=function(){function e(){this.group=new Group$3,this.uid=getUID("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,o){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,o){},e.prototype.updateLayout=function(e,t,n,o){},e.prototype.updateVisual=function(e,t,n,o){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();function createRenderPlanner(){var e=makeInner();return function(t){var n=e(t),o=t.pipelineContext,r=!!n.large,i=!!n.progressiveRender,a=n.large=!(!o||!o.large),l=n.progressiveRender=!(!o||!o.progressiveRender);return!(r===a&&i===l)&&"reset"}}enableClassExtend(ComponentView),enableClassManagement(ComponentView);var inner$j=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function e(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,o){},e.prototype.highlight=function(e,t,n,o){var r=e.getData(o&&o.dataType);r&&toggleHighlight(r,o,"emphasis")},e.prototype.downplay=function(e,t,n,o){var r=e.getData(o&&o.dataType);r&&toggleHighlight(r,o,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,o){this.render(e,t,n,o)},e.prototype.updateLayout=function(e,t,n,o){this.render(e,t,n,o)},e.prototype.updateVisual=function(e,t,n,o){this.render(e,t,n,o)},e.prototype.eachRendered=function(e){traverseElements(this.group,e)},e.markUpdateMethod=function(e,t){inner$j(e).updateMethod=t},e.protoInitialize=void(e.prototype.type="chart"),e}();function elSetState(e,t,n){e&&isHighDownDispatcher(e)&&("emphasis"===t?enterEmphasis:leaveEmphasis)(e,n)}function toggleHighlight(e,t,n){var o=queryDataIndex(e,t),r=t&&null!=t.highlightKey?getHighlightDigit(t.highlightKey):null;null!=o?each$f(normalizeToArray(o),(function(t){elSetState(e.getItemGraphicEl(t),n,r)})):e.eachItemGraphicEl((function(e){elSetState(e,n,r)}))}function renderTaskPlan(e){return renderPlanner(e.model)}function renderTaskReset(e){var t=e.model,n=e.ecModel,o=e.api,r=e.payload,i=t.pipelineContext.progressiveRender,a=e.view,l=r&&inner$j(r).updateMethod,s=i?"incrementalPrepareRender":l&&a[l]?l:"render";return"render"!==s&&a[s](t,n,o,r),progressMethodMap[s]}enableClassExtend(ChartView),enableClassManagement(ChartView);var progressMethodMap={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)}}},ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle$2(e,t,n){var o,r,i,a,l,s=0,c=0,u=null;function d(){c=(new Date).getTime(),u=null,e.apply(i,a||[])}t=t||0;var p=function(){for(var e=[],p=0;p<arguments.length;p++)e[p]=arguments[p];o=(new Date).getTime(),i=this,a=e;var f=l||t,h=l||n;l=null,r=o-(h?s:c)-f,clearTimeout(u),h?u=setTimeout(d,f):r>=0?d():u=setTimeout(d,-r),s=o};return p.clear=function(){u&&(clearTimeout(u),u=null)},p.debounceNextCall=function(e){l=e},p}function createOrUpdate(e,t,n,o){var r=e[t];if(r){var i=r[ORIGIN_METHOD]||r,a=r[THROTTLE_TYPE];if(r[RATE]!==n||a!==o){if(null==n||!o)return e[t]=i;(r=e[t]=throttle$2(i,n,"debounce"===o))[ORIGIN_METHOD]=i,r[THROTTLE_TYPE]=o,r[RATE]=n}return r}}function clear$1(e,t){var n=e[t];n&&n[ORIGIN_METHOD]&&(n.clear&&n.clear(),e[t]=n[ORIGIN_METHOD])}var inner$i=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(e,t){var n=e.visualStyleMapper||defaultStyleMappers[t];return n||defaultStyleMappers.itemStyle}function getDefaultColorKey(e,t){var n=e.visualDrawType||defaultColorKey[t];return n||"fill"}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),o=e.visualStyleAccessPath||"itemStyle",r=e.getModel(o),i=getStyleMapper(e,o)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var l=getDefaultColorKey(e,o),s=i[l],c=isFunction$2(s)?s:null,u="auto"===i.fill||"auto"===i.stroke;if(!i[l]||c||u){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());i[l]||(i[l]=d,n.setVisual("colorFromPalette",!0)),i.fill="auto"===i.fill||isFunction$2(i.fill)?d:i.fill,i.stroke="auto"===i.stroke||isFunction$2(i.stroke)?d:i.stroke}if(n.setVisual("style",i),n.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var o=e.getDataParams(n),r=extend$1({},i);r[l]=c(o),t.setItemVisual(n,"style",r)}}}},sharedModel=new Model,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),o=e.visualStyleAccessPath||"itemStyle",r=getStyleMapper(e,o),i=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[o]){sharedModel.option=n[o];var a=r(sharedModel);extend$1(e.ensureUniqueItemVisual(t,"style"),a),sharedModel.option.decal&&(e.setItemVisual(t,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),i in a&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(e){var t=createHashMap();e.eachSeries((function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var o=e.type+"-"+n,r=t.get(o);r||(r={},t.set(o,r)),inner$i(e).scope=r}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),o={},r=t.getData(),i=inner$i(t).scope,a=t.visualStyleAccessPath||"itemStyle",l=getDefaultColorKey(t,a);r.each((function(e){var t=r.getRawIndex(e);o[t]=e})),n.each((function(e){var a=o[e];if(r.getItemVisual(a,"colorFromPalette")){var s=r.ensureUniqueItemVisual(a,"style"),c=n.getName(e)||e+"",u=n.count();s[l]=t.getColorFromPalette(c,i,u)}}))}}))}},PI$5=Math.PI;function defaultLoading(e,t){defaults$1(t=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 Group$3,o=new Rect$2({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(o);var r,i=new ZRText({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 Rect$2({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(a),t.showSpinner&&((r=new Arc({shape:{startAngle:-PI$5/2,endAngle:-PI$5/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*PI$5/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*PI$5/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,s=(e.getWidth()-2*l-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:l),c=e.getHeight()/2;t.showSpinner&&r.setShape({cx:s,cy:c}),a.setShape({x:s-l,y:c-l,width:2*l,height:2*l}),o.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var Scheduler=function(){function e(e,t,n,o){this._stageTaskMap=createHashMap(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),o=this._visualHandlers=o.slice(),this._allHandlers=n.concat(o)}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),o=n.context,r=!t&&n.progressiveEnabled&&(!o||o.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,i=o&&o.modDataCount;return{step:r,modBy:null!=i?Math.ceil(i/r):null,modDataCount:i}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),o=e.getData().count(),r=n.progressiveEnabled&&t.incrementalPrepareRender&&o>=n.threshold,i=e.get("large")&&o>=e.get("largeThreshold"),a="mod"===e.get("progressiveChunkMode")?o:null;e.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:i}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=createHashMap();e.eachSeries((function(e){var o=e.getProgressive(),r=e.uid;n.set(r,{id:r,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:o&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;each$f(this._allHandlers,(function(o){var r=e.get(o.uid)||e.set(o.uid,{});assert(!(o.reset&&o.overallReset),""),o.reset&&this._createSeriesStageTask(o,r,t,n),o.overallReset&&this._createOverallStageTask(o,r,t,n)}),this)},e.prototype.prepareView=function(e,t,n,o){var r=e.renderTask,i=r.context;i.model=t,i.ecModel=n,i.api=o,r.__block=!e.incrementalPrepareRender,this._pipe(t,r)},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,o){o=o||{};var r=!1,i=this;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}each$f(e,(function(e,l){if(!o.visualType||o.visualType===e.visualType){var s=i._stageTaskMap.get(e.uid),c=s.seriesTaskMap,u=s.overallTask;if(u){var d,p=u.agentStubMap;p.each((function(e){a(o,e)&&(e.dirty(),d=!0)})),d&&u.dirty(),i.updatePayload(u,n);var f=i.getPerformArgs(u,o.block);p.each((function(e){e.perform(f)})),u.perform(f)&&(r=!0)}else c&&c.each((function(l,s){a(o,l)&&l.dirty();var c=i.getPerformArgs(l,o.block);c.skip=!e.performRawSeries&&t.isSeriesFiltered(l.context.model),i.updatePayload(l,n),l.perform(c)&&(r=!0)}))}})),this.unfinished=r||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,o){var r=this,i=t.seriesTaskMap,a=t.seriesTaskMap=createHashMap(),l=e.seriesType,s=e.getTargetSeries;function c(t){var l=t.uid,s=a.set(l,i&&i.get(l)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));s.context={model:t,ecModel:n,api:o,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:r},r._pipe(t,s)}e.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):s&&s(n,o).each(c)},e.prototype._createOverallStageTask=function(e,t,n,o){var r=this,i=t.overallTask=t.overallTask||createTask({reset:overallTaskReset});i.context={ecModel:n,api:o,overallReset:e.overallReset,scheduler:r};var a=i.agentStubMap,l=i.agentStubMap=createHashMap(),s=e.seriesType,c=e.getTargetSeries,u=!0,d=!1;function p(e){var t=e.uid,n=l.set(t,a&&a.get(t)||(d=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));n.context={model:e,overallProgress:u},n.agent=i,n.__block=u,r._pipe(e,n)}assert(!e.createOnAllSeries,""),s?n.eachRawSeriesByType(s,p):c?c(n,o).each(p):(u=!1,each$f(n.getSeries(),p)),d&&i.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,o=this._pipelineMap.get(n);!o.head&&(o.head=t),o.tail&&o.tail.pipe(t),o.tail=t,t.__idxInPipeline=o.count++,t.__pipeline=o},e.wrapStageHandler=function(e,t){return isFunction$2(e)&&(e={overallReset:e,seriesType:detectSeriseType(e)}),e.uid=getUID("stageHandler"),t&&(e.visualType=t),e},e}();function overallTaskReset(e){e.overallReset(e.ecModel,e.api,e.payload)}function stubReset(e){return e.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function seriesTaskReset(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=normalizeToArray(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?map$1(t,(function(e,t){return makeSeriesTaskProgress(t)})):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(e){return function(t,n){var o=n.data,r=n.resetDefines[e];if(r&&r.dataEach)for(var i=t.start;i<t.end;i++)r.dataEach(o,i);else r&&r.progress&&r.progress(t,o)}}function seriesTaskCount(e){return e.data.count()}function detectSeriseType(e){seriesType=null;try{e(ecModelMock,apiMock)}catch(e2){}return seriesType}var ecModelMock={},apiMock={},seriesType;function mockMethods(e,t){for(var n in t.prototype)e[n]=noop$2}mockMethods(ecModelMock,GlobalModel),mockMethods(apiMock,ExtensionAPI),ecModelMock.eachSeriesByType=ecModelMock.eachRawSeriesByType=function(e){seriesType=e},ecModelMock.eachComponent=function(e){"series"===e.mainType&&e.subType&&(seriesType=e.subType)};var colorAll=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const lightTheme={color:colorAll,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],colorAll]};var contrastColor="#B9B8CE",backgroundColor="#100C2A",axisCommon=function(){return{axisLine:{lineStyle:{color:contrastColor}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},colorPalette=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],theme={darkMode:!0,color:colorPalette,backgroundColor:backgroundColor,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:contrastColor},pageTextStyle:{color:contrastColor}},textStyle:{color:contrastColor},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:contrastColor}},dataZoom:{borderColor:"#71708A",textStyle:{color:contrastColor},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:contrastColor}},timeline:{lineStyle:{color:contrastColor},label:{color:contrastColor},controlStyle:{color:contrastColor,borderColor:contrastColor}},calendar:{itemStyle:{color:backgroundColor},dayLabel:{color:contrastColor},monthLabel:{color:contrastColor},yearLabel:{color:contrastColor}},timeAxis:axisCommon(),logAxis:axisCommon(),valueAxis:axisCommon(),categoryAxis:axisCommon(),line:{symbol:"circle"},graph:{color:colorPalette},gauge:{title:{color:contrastColor},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:contrastColor},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};theme.categoryAxis.splitLine.show=!1;var ECEventProcessor=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},o={};if(isString$2(e)){var r=parseClassType(e);t.mainType=r.main||null,t.subType=r.sub||null}else{var i=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};each$f(e,(function(e,r){for(var l=!1,s=0;s<i.length;s++){var c=i[s],u=r.lastIndexOf(c);if(u>0&&u===r.length-c.length){var d=r.slice(0,u);"data"!==d&&(t.mainType=d,t[c.toLowerCase()]=e,l=!0)}}a.hasOwnProperty(r)&&(n[r]=e,l=!0),l||(o[r]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:o}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var o=n.targetEl,r=n.packedEvent,i=n.model,a=n.view;if(!i||!a)return!0;var l=t.cptQuery,s=t.dataQuery;return c(l,i,"mainType")&&c(l,i,"subType")&&c(l,i,"index","componentIndex")&&c(l,i,"name")&&c(l,i,"id")&&c(s,r,"name")&&c(s,r,"dataIndex")&&c(s,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,o,r));function c(e,t,n,o){return null==e[n]||t[o||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var o={},r={},i=!1,a=0;a<SYMBOL_PROPS_WITH_CB.length;a++){var l=SYMBOL_PROPS_WITH_CB[a],s=e.get(l);isFunction$2(s)?(i=!0,r[l]=s):o[l]=s}if(o.symbol=o.symbol||e.defaultSymbol,n.setVisual(extend$1({legendIcon:e.legendIcon||o.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},o)),!t.isSeriesFiltered(e)){var c=keys(r);return{dataEach:i?function(t,n){for(var o=e.getRawValue(n),i=e.getDataParams(n),a=0;a<c.length;a++){var l=c[a];t.setItemVisual(n,l,r[l](o,i))}}:null}}}}},dataSymbolTask={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),o=0;o<SYMBOL_PROPS.length;o++){var r=SYMBOL_PROPS[o],i=n.getShallow(r,!0);null!=i&&e.setItemVisual(t,r,i)}}:null}}};function getItemVisualFromData(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)}}function getVisualFromData(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)}}function setItemVisualFromData(e,t,n,o){switch(n){case"color":e.ensureUniqueItemVisual(t,"style")[e.getVisual("drawType")]=o,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=o;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,o)}}function createLegacyDataSelectAction(e,t){function n(t,n){var o=[];return t.eachComponent({mainType:"series",subType:e,query:n},(function(e){o.push(e.seriesIndex)})),o}each$f([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],(function(e){t(e[0],(function(t,o,r){t=extend$1({},t),r.dispatchAction(extend$1(t,{type:e[1],seriesIndex:n(o,t)}))}))}))}function handleSeriesLegacySelectEvents(e,t,n,o,r){var i=e+t;n.isSilent(i)||o.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,o=e.option.selectedMap,a=r.selected,l=0;l<a.length;l++)if(a[l].seriesIndex===t){var s=e.getData(),c=queryDataIndex(s,r.fromActionPayload);n.trigger(i,{type:i,seriesId:e.id,name:isArray$2(c)?s.getName(c[0]):s.getName(c),selected:isString$2(o)?o:extend$1({},o)})}}))}function handleLegacySelectEvents(e,t,n){e.on("selectchanged",(function(e){var o=n.getModel();e.isFromClick?(handleSeriesLegacySelectEvents("map","selectchanged",t,o,e),handleSeriesLegacySelectEvents("pie","selectchanged",t,o,e)):"select"===e.fromAction?(handleSeriesLegacySelectEvents("map","selected",t,o,e),handleSeriesLegacySelectEvents("pie","selected",t,o,e)):"unselect"===e.fromAction&&(handleSeriesLegacySelectEvents("map","unselected",t,o,e),handleSeriesLegacySelectEvents("pie","unselected",t,o,e))}))}function findEventDispatcher(e,t,n){for(var o;e&&(!t(e)||(o=e,!n));)e=e.__hostTarget||e.parent;return o}var wmUniqueIndex=Math.round(9*Math.random()),supportDefineProperty="function"==typeof Object.defineProperty,WeakMap$1=function(){function e(){this._id="__ec_inner_"+wmUniqueIndex++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var n=this._guard(e);return supportDefineProperty?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}(),Triangle=Path.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,o=t.cy,r=t.width/2,i=t.height/2;e.moveTo(n,o-i),e.lineTo(n+r,o+i),e.lineTo(n-r,o+i),e.closePath()}}),Diamond=Path.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,o=t.cy,r=t.width/2,i=t.height/2;e.moveTo(n,o-i),e.lineTo(n+r,o),e.lineTo(n,o+i),e.lineTo(n-r,o),e.closePath()}}),Pin=Path.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,o=t.y,r=t.width/5*3,i=Math.max(r,t.height),a=r/2,l=a*a/(i-a),s=o-i+a+l,c=Math.asin(l/a),u=Math.cos(c)*a,d=Math.sin(c),p=Math.cos(c),f=.6*a,h=.7*a;e.moveTo(n-u,s+l),e.arc(n,s,a,Math.PI-c,2*Math.PI+c),e.bezierCurveTo(n+u-d*f,s+l+p*f,n,o-h,n,o),e.bezierCurveTo(n,o-h,n-u+d*f,s+l+p*f,n-u,s+l),e.closePath()}}),Arrow=Path.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,o=t.width,r=t.x,i=t.y,a=o/3*2;e.moveTo(r,i),e.lineTo(r+a,i+n),e.lineTo(r,i+n/4*3),e.lineTo(r-a,i+n),e.lineTo(r,i),e.closePath()}}),symbolCtors={line:Line$1,rect:Rect$2,roundRect:Rect$2,square:Rect$2,circle:Circle,diamond:Diamond,pin:Pin,arrow:Arrow,triangle:Triangle},symbolShapeMakers={line:function(e,t,n,o,r){r.x1=e,r.y1=t+o/2,r.x2=e+n,r.y2=t+o/2},rect:function(e,t,n,o,r){r.x=e,r.y=t,r.width=n,r.height=o},roundRect:function(e,t,n,o,r){r.x=e,r.y=t,r.width=n,r.height=o,r.r=Math.min(n,o)/4},square:function(e,t,n,o,r){var i=Math.min(n,o);r.x=e,r.y=t,r.width=i,r.height=i},circle:function(e,t,n,o,r){r.cx=e+n/2,r.cy=t+o/2,r.r=Math.min(n,o)/2},diamond:function(e,t,n,o,r){r.cx=e+n/2,r.cy=t+o/2,r.width=n,r.height=o},pin:function(e,t,n,o,r){r.x=e+n/2,r.y=t+o/2,r.width=n,r.height=o},arrow:function(e,t,n,o,r){r.x=e+n/2,r.y=t+o/2,r.width=n,r.height=o},triangle:function(e,t,n,o,r){r.cx=e+n/2,r.cy=t+o/2,r.width=n,r.height=o}},symbolBuildProxies={};each$f(symbolCtors,(function(e,t){symbolBuildProxies[t]=new e}));var SymbolClz=Path.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var o=calculateTextPosition(e,t,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===t.position&&(o.y=n.y+.4*n.height),o},buildPath:function(e,t,n){var o=t.symbolType;if("none"!==o){var r=symbolBuildProxies[o];r||(r=symbolBuildProxies[o="rect"]),symbolShapeMakers[o](t.x,t.y,t.width,t.height,r.shape),r.buildPath(e,r.shape,n)}}});function symbolPathSetColor(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 createSymbol$1(e,t,n,o,r,i,a){var l,s=0===e.indexOf("empty");return s&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),(l=0===e.indexOf("image://")?makeImage(e.slice(8),new BoundingRect(t,n,o,r),a?"center":"cover"):0===e.indexOf("path://")?makePath(e.slice(7),{},new BoundingRect(t,n,o,r),a?"center":"cover"):new SymbolClz({shape:{symbolType:e,x:t,y:n,width:o,height:r}})).__isEmptyBrush=s,l.setColor=symbolPathSetColor,i&&l.setColor(i),l}function normalizeSymbolSize(e){return isArray$2(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function normalizeSymbolOffset(e,t){if(null!=e)return isArray$2(e)||(e=[e,e]),[parsePercent(e[0],t[0])||0,parsePercent(retrieve2(e[1],e[0]),t[1])||0]}function isSafeNum(e){return isFinite(e)}function createLinearGradient(e,t,n){var o=null==t.x?0:t.x,r=null==t.x2?1:t.x2,i=null==t.y?0:t.y,a=null==t.y2?0:t.y2;return t.global||(o=o*n.width+n.x,r=r*n.width+n.x,i=i*n.height+n.y,a=a*n.height+n.y),o=isSafeNum(o)?o:0,r=isSafeNum(r)?r:1,i=isSafeNum(i)?i:0,a=isSafeNum(a)?a:0,e.createLinearGradient(o,i,r,a)}function createRadialGradient(e,t,n){var o=n.width,r=n.height,i=Math.min(o,r),a=null==t.x?.5:t.x,l=null==t.y?.5:t.y,s=null==t.r?.5:t.r;return t.global||(a=a*o+n.x,l=l*r+n.y,s*=i),a=isSafeNum(a)?a:.5,l=isSafeNum(l)?l:.5,s=s>=0&&isSafeNum(s)?s:.5,e.createRadialGradient(a,l,0,a,l,s)}function getCanvasGradient(e,t,n){for(var o="radial"===t.type?createRadialGradient(e,t,n):createLinearGradient(e,t,n),r=t.colorStops,i=0;i<r.length;i++)o.addColorStop(r[i].offset,r[i].color);return o}function isClipPathChanged(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}function parseInt10(e){return parseInt(e,10)}function getSize$1(e,t,n){var o=["width","height"][t],r=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=n[o]&&"auto"!==n[o])return parseFloat(n[o]);var l=document.defaultView.getComputedStyle(e);return(e[r]||parseInt10(l[o])||parseInt10(e.style[o]))-(parseInt10(l[i])||0)-(parseInt10(l[a])||0)|0}function normalizeLineDash(e,t){return e&&"solid"!==e&&t>0?"dashed"===e?[4*t,2*t]:"dotted"===e?[t]:isNumber$2(e)?[e]:isArray$2(e)?e:null:null}function getLineDash(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&normalizeLineDash(t.lineDash,t.lineWidth),o=t.lineDashOffset;if(n){var r=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;r&&1!==r&&(n=map$1(n,(function(e){return e/r})),o/=r)}return[n,o]}var pathProxyForDraw=new PathProxy(!0);function styleHasStroke(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function isValidStrokeFillStyle(e){return"string"==typeof e&&"none"!==e}function styleHasFill(e){var t=e.fill;return null!=t&&"none"!==t}function doFillPath(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 doStrokePath(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 createCanvasPattern(e,t,n){var o=createOrUpdateImage(t.image,t.__image,n);if(isImageReady(o)){var r=e.createPattern(o,t.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var i=new DOMMatrix;i.translateSelf(t.x||0,t.y||0),i.rotateSelf(0,0,(t.rotation||0)*RADIAN_TO_DEGREE),i.scaleSelf(t.scaleX||1,t.scaleY||1),r.setTransform(i)}return r}}function brushPath(e,t,n,o){var r,i=styleHasStroke(n),a=styleHasFill(n),l=n.strokePercent,s=l<1,c=!t.path;t.silent&&!s||!c||t.createPathProxy();var u=t.path||pathProxyForDraw,d=t.__dirty;if(!o){var p=n.fill,f=n.stroke,h=a&&!!p.colorStops,m=i&&!!f.colorStops,g=a&&!!p.image,v=i&&!!f.image,y=void 0,b=void 0,_=void 0,w=void 0,k=void 0;(h||m)&&(k=t.getBoundingRect()),h&&(y=d?getCanvasGradient(e,p,k):t.__canvasFillGradient,t.__canvasFillGradient=y),m&&(b=d?getCanvasGradient(e,f,k):t.__canvasStrokeGradient,t.__canvasStrokeGradient=b),g&&(_=d||!t.__canvasFillPattern?createCanvasPattern(e,p,t):t.__canvasFillPattern,t.__canvasFillPattern=_),v&&(w=d||!t.__canvasStrokePattern?createCanvasPattern(e,f,t):t.__canvasStrokePattern,t.__canvasStrokePattern=_),h?e.fillStyle=y:g&&(_?e.fillStyle=_:a=!1),m?e.strokeStyle=b:v&&(w?e.strokeStyle=w:i=!1)}var x,S,C=t.getGlobalScale();u.setScale(C[0],C[1],t.segmentIgnoreThreshold),e.setLineDash&&n.lineDash&&(x=(r=getLineDash(t))[0],S=r[1]);var E=!0;(c||d&SHAPE_CHANGED_BIT)&&(u.setDPR(e.dpr),s?u.setContext(null):(u.setContext(e),E=!1),u.reset(),t.buildPath(u,t.shape,o),u.toStatic(),t.pathUpdated()),E&&u.rebuildPath(e,s?l:1),x&&(e.setLineDash(x),e.lineDashOffset=S),o||(n.strokeFirst?(i&&doStrokePath(e,n),a&&doFillPath(e,n)):(a&&doFillPath(e,n),i&&doStrokePath(e,n))),x&&e.setLineDash([])}function brushImage(e,t,n){var o=t.__image=createOrUpdateImage(n.image,t.__image,t,t.onload);if(o&&isImageReady(o)){var r=n.x||0,i=n.y||0,a=t.getWidth(),l=t.getHeight(),s=o.width/o.height;if(null==a&&null!=l?a=l*s:null==l&&null!=a?l=a/s:null==a&&null==l&&(a=o.width,l=o.height),n.sWidth&&n.sHeight){var c=n.sx||0,u=n.sy||0;e.drawImage(o,c,u,n.sWidth,n.sHeight,r,i,a,l)}else if(n.sx&&n.sy){var d=a-(c=n.sx),p=l-(u=n.sy);e.drawImage(o,c,u,d,p,r,i,a,l)}else e.drawImage(o,r,i,a,l)}}function brushText(e,t,n){var o,r=n.text;if(null!=r&&(r+=""),r){e.font=n.font||DEFAULT_FONT,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var i=void 0,a=void 0;e.setLineDash&&n.lineDash&&(i=(o=getLineDash(t))[0],a=o[1]),i&&(e.setLineDash(i),e.lineDashOffset=a),n.strokeFirst?(styleHasStroke(n)&&e.strokeText(r,n.x,n.y),styleHasFill(n)&&e.fillText(r,n.x,n.y)):(styleHasFill(n)&&e.fillText(r,n.x,n.y),styleHasStroke(n)&&e.strokeText(r,n.x,n.y)),i&&e.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(e,t,n,o,r){var i=!1;if(!o&&t===(n=n||{}))return!1;if(o||t.opacity!==n.opacity){flushPathDrawn(e,r),i=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?DEFAULT_COMMON_STYLE.opacity:a}(o||t.blend!==n.blend)&&(i||(flushPathDrawn(e,r),i=!0),e.globalCompositeOperation=t.blend||DEFAULT_COMMON_STYLE.blend);for(var l=0;l<SHADOW_NUMBER_PROPS.length;l++){var s=SHADOW_NUMBER_PROPS[l];(o||t[s]!==n[s])&&(i||(flushPathDrawn(e,r),i=!0),e[s]=e.dpr*(t[s]||0))}return(o||t.shadowColor!==n.shadowColor)&&(i||(flushPathDrawn(e,r),i=!0),e.shadowColor=t.shadowColor||DEFAULT_COMMON_STYLE.shadowColor),i}function bindPathAndTextCommonStyle(e,t,n,o,r){var i=getStyle$1(t,r.inHover),a=o?null:n&&getStyle$1(n,r.inHover)||{};if(i===a)return!1;var l=bindCommonProps(e,i,a,o,r);if((o||i.fill!==a.fill)&&(l||(flushPathDrawn(e,r),l=!0),isValidStrokeFillStyle(i.fill)&&(e.fillStyle=i.fill)),(o||i.stroke!==a.stroke)&&(l||(flushPathDrawn(e,r),l=!0),isValidStrokeFillStyle(i.stroke)&&(e.strokeStyle=i.stroke)),(o||i.opacity!==a.opacity)&&(l||(flushPathDrawn(e,r),l=!0),e.globalAlpha=null==i.opacity?1:i.opacity),t.hasStroke()){var s=i.lineWidth/(i.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==s&&(l||(flushPathDrawn(e,r),l=!0),e.lineWidth=s)}for(var c=0;c<STROKE_PROPS.length;c++){var u=STROKE_PROPS[c],d=u[0];(o||i[d]!==a[d])&&(l||(flushPathDrawn(e,r),l=!0),e[d]=i[d]||u[1])}return l}function bindImageStyle(e,t,n,o,r){return bindCommonProps(e,getStyle$1(t,r.inHover),n&&getStyle$1(n,r.inHover),o,r)}function setContextTransform(e,t){var n=t.transform,o=e.dpr||1;n?e.setTransform(o*n[0],o*n[1],o*n[2],o*n[3],o*n[4],o*n[5]):e.setTransform(o,0,0,o,0,0)}function updateClipStatus(e,t,n){for(var o=!1,r=0;r<e.length;r++){var i=e[r];o=o||i.isZeroArea(),setContextTransform(t,i),t.beginPath(),i.buildPath(t,i.shape),t.clip()}n.allClipped=o}function isTransformChanged(e,t){return e&&t?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&&!t)}var DRAW_TYPE_PATH=1,DRAW_TYPE_IMAGE=2,DRAW_TYPE_TEXT=3,DRAW_TYPE_INCREMENTAL=4;function canPathBatch(e){var t=styleHasFill(e),n=styleHasStroke(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)}function flushPathDrawn(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function getStyle$1(e,t){return t&&e.__hoverStyle||e.style}function brushSingle(e,t){brush$1(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function brush$1(e,t,n,o){var r=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return t.__dirty&=-2,void(t.__isRendered=!1);var i=t.__clipPaths,a=n.prevElClipPaths,l=!1,s=!1;if(a&&!isClipPathChanged(i,a)||(a&&a.length&&(flushPathDrawn(e,n),e.restore(),s=l=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),i&&i.length&&(flushPathDrawn(e,n),e.save(),updateClipStatus(i,e,n),l=!0),n.prevElClipPaths=i),n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var c=n.prevEl;c||(s=l=!0);var u=t instanceof Path&&t.autoBatch&&canPathBatch(t.style);l||isTransformChanged(r,c.transform)?(flushPathDrawn(e,n),setContextTransform(e,t)):u||flushPathDrawn(e,n);var d=getStyle$1(t,n.inHover);t instanceof Path?(n.lastDrawType!==DRAW_TYPE_PATH&&(s=!0,n.lastDrawType=DRAW_TYPE_PATH),bindPathAndTextCommonStyle(e,t,c,s,n),u&&(n.batchFill||n.batchStroke)||e.beginPath(),brushPath(e,t,d,u),u&&(n.batchFill=d.fill||"",n.batchStroke=d.stroke||"")):t instanceof TSpan?(n.lastDrawType!==DRAW_TYPE_TEXT&&(s=!0,n.lastDrawType=DRAW_TYPE_TEXT),bindPathAndTextCommonStyle(e,t,c,s,n),brushText(e,t,d)):t instanceof ZRImage?(n.lastDrawType!==DRAW_TYPE_IMAGE&&(s=!0,n.lastDrawType=DRAW_TYPE_IMAGE),bindImageStyle(e,t,c,s,n),brushImage(e,t,d)):t.getTemporalDisplayables&&(n.lastDrawType!==DRAW_TYPE_INCREMENTAL&&(s=!0,n.lastDrawType=DRAW_TYPE_INCREMENTAL),brushIncremental(e,t,n)),u&&o&&flushPathDrawn(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}}function brushIncremental(e,t,n){var o=t.getDisplayables(),r=t.getTemporalDisplayables();e.save();var i,a,l={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(i=t.getCursor(),a=o.length;i<a;i++){(u=o[i]).beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),brush$1(e,u,l,i===a-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),l.prevEl=u}for(var s=0,c=r.length;s<c;s++){var u;(u=r[s]).beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),brush$1(e,u,l,s===c-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),l.prevEl=u}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var decalMap=new WeakMap$1,decalCache=new LRU(100),decalKeys=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function createOrUpdatePatternFromDecal(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),o=t.getZr(),r="svg"===o.painter.type;e.dirty&&decalMap.delete(e);var i=decalMap.get(e);if(i)return i;var a=defaults$1(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 l={repeat:"repeat"};return function(e){for(var t,i=[n],l=!0,s=0;s<decalKeys.length;++s){var c=a[decalKeys[s]];if(null!=c&&!isArray$2(c)&&!isString$2(c)&&!isNumber$2(c)&&"boolean"!=typeof c){l=!1;break}i.push(c)}if(l){t=i.join(",")+(r?"-svg":"");var u=decalCache.get(t);u&&(r?e.svgElement=u:e.image=u)}var d,p=normalizeDashArrayX(a.dashArrayX),f=normalizeDashArrayY(a.dashArrayY),h=normalizeSymbolArray(a.symbol),m=getLineBlockLengthX(p),g=getLineBlockLengthY(f),v=!r&&platformApi.createCanvas(),y=r&&{tag:"g",attrs:{},key:"dcl",children:[]},b=function(){for(var e=1,t=0,n=m.length;t<n;++t)e=getLeastCommonMultiple(e,m[t]);var o=1;for(t=0,n=h.length;t<n;++t)o=getLeastCommonMultiple(o,h[t].length);e*=o;var r=g*m.length*h.length;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();v&&(v.width=b.width*n,v.height=b.height*n,d=v.getContext("2d"));(function(){d&&(d.clearRect(0,0,v.width,v.height),a.backgroundColor&&(d.fillStyle=a.backgroundColor,d.fillRect(0,0,v.width,v.height)));for(var e=0,t=0;t<f.length;++t)e+=f[t];if(e<=0)return;var i=-g,l=0,s=0,c=0;for(;i<b.height;){if(l%2==0){for(var u=s/2%h.length,m=0,_=0,w=0;m<2*b.width;){var k=0;for(t=0;t<p[c].length;++t)k+=p[c][t];if(k<=0)break;if(_%2==0){var x=.5*(1-a.symbolSize),S=m+p[c][_]*x,C=i+f[l]*x,E=p[c][_]*a.symbolSize,T=f[l]*a.symbolSize,A=w/2%h[u].length;$(S,C,E,T,h[u][A])}m+=p[c][_],++w,++_===p[c].length&&(_=0)}++c===p.length&&(c=0)}i+=f[l],++s,++l===f.length&&(l=0)}function $(e,t,i,l,s){var c=r?1:n,u=createSymbol$1(s,e*c,t*c,i*c,l*c,a.color,a.symbolKeepAspect);if(r){var p=o.painter.renderOneToVNode(u);p&&y.children.push(p)}else brushSingle(d,u)}})(),l&&decalCache.put(t,v||y);e.image=v,e.svgElement=y,e.svgWidth=b.width,e.svgHeight=b.height}(l),l.rotation=a.rotation,l.scaleX=l.scaleY=r?1:1/n,decalMap.set(e,l),e.dirty=!1,l}function normalizeSymbolArray(e){if(!e||0===e.length)return[["rect"]];if(isString$2(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!isString$2(e[n])){t=!1;break}if(t)return normalizeSymbolArray([e]);var o=[];for(n=0;n<e.length;++n)isString$2(e[n])?o.push([e[n]]):o.push(e[n]);return o}function normalizeDashArrayX(e){if(!e||0===e.length)return[[0,0]];if(isNumber$2(e))return[[r=Math.ceil(e),r]];for(var t=!0,n=0;n<e.length;++n)if(!isNumber$2(e[n])){t=!1;break}if(t)return normalizeDashArrayX([e]);var o=[];for(n=0;n<e.length;++n)if(isNumber$2(e[n])){var r=Math.ceil(e[n]);o.push([r,r])}else{r=map$1(e[n],(function(e){return Math.ceil(e)}));r.length%2==1?o.push(r.concat(r)):o.push(r)}return o}function normalizeDashArrayY(e){if(!e||"object"==typeof e&&0===e.length)return[0,0];if(isNumber$2(e)){var t=Math.ceil(e);return[t,t]}var n=map$1(e,(function(e){return Math.ceil(e)}));return e.length%2?n.concat(n):n}function getLineBlockLengthX(e){return map$1(e,(function(e){return getLineBlockLengthY(e)}))}function getLineBlockLengthY(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2==1?2*t:t}function decalVisual(e,t){e.eachRawSeries((function(n){if(!e.isSeriesFiltered(n)){var o=n.getData();o.hasItemVisual()&&o.each((function(e){var n=o.getItemVisual(e,"decal");n&&(o.ensureUniqueItemVisual(e,"style").decal=createOrUpdatePatternFromDecal(n,t))}));var r=o.getVisual("decal");if(r)o.getVisual("style").decal=createOrUpdatePatternFromDecal(r,t)}}))}var lifecycle=new Eventful,implsStore={};function registerImpl(e,t){implsStore[e]=t}function getImpl(e){return implsStore[e]}var TEST_FRAME_REMAIN_TIME=1,PRIORITY_PROCESSOR_SERIES_FILTER=800,PRIORITY_PROCESSOR_DATASTACK=900,PRIORITY_PROCESSOR_FILTER=1e3,PRIORITY_PROCESSOR_DEFAULT=2e3,PRIORITY_PROCESSOR_STATISTIC=5e3,PRIORITY_VISUAL_LAYOUT=1e3,PRIORITY_VISUAL_PROGRESSIVE_LAYOUT=1100,PRIORITY_VISUAL_GLOBAL=2e3,PRIORITY_VISUAL_CHART=3e3,PRIORITY_VISUAL_COMPONENT=4e3,PRIORITY_VISUAL_CHART_DATA_CUSTOM=4500,PRIORITY_VISUAL_POST_CHART_LAYOUT=4600,PRIORITY_VISUAL_BRUSH=5e3,PRIORITY_VISUAL_ARIA=6e3,PRIORITY_VISUAL_DECAL=7e3,PRIORITY={PROCESSOR:{FILTER:PRIORITY_PROCESSOR_FILTER,SERIES_FILTER:PRIORITY_PROCESSOR_SERIES_FILTER,STATISTIC:PRIORITY_PROCESSOR_STATISTIC},VISUAL:{LAYOUT:PRIORITY_VISUAL_LAYOUT,PROGRESSIVE_LAYOUT:PRIORITY_VISUAL_PROGRESSIVE_LAYOUT,GLOBAL:PRIORITY_VISUAL_GLOBAL,CHART:PRIORITY_VISUAL_CHART,POST_CHART_LAYOUT:PRIORITY_VISUAL_POST_CHART_LAYOUT,COMPONENT:PRIORITY_VISUAL_COMPONENT,BRUSH:PRIORITY_VISUAL_BRUSH,CHART_ITEM:PRIORITY_VISUAL_CHART_DATA_CUSTOM,ARIA:PRIORITY_VISUAL_ARIA,DECAL:PRIORITY_VISUAL_DECAL}},IN_MAIN_PROCESS_KEY="__flagInMainProcess",PENDING_UPDATE="__pendingUpdate",STATUS_NEEDS_UPDATE_KEY="__needsUpdateStatus",ACTION_REG=/^[a-zA-Z0-9_]+$/,CONNECT_STATUS_KEY="__connectUpdateStatus",CONNECT_STATUS_PENDING=0,CONNECT_STATUS_UPDATING=1,CONNECT_STATUS_UPDATED=2;function createRegisterEventWithLowercaseECharts(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return toLowercaseNameAndCallEventful(this,e,t);disposedWarning(this.id)}}function createRegisterEventWithLowercaseMessageCenter(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return toLowercaseNameAndCallEventful(this,e,t)}}function toLowercaseNameAndCallEventful(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),Eventful.prototype[t].apply(e,n)}var MessageCenter=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(Eventful),messageCenterProto=MessageCenter.prototype,prepare,prepareView,updateDirectly,updateMethods,doConvertPixel,updateStreamModes,doDispatchAction,flushPendingActions,triggerUpdatedEvent,bindRenderedEvent,bindMouseEvent,render,renderComponents,renderSeries,createExtensionAPI,enableConnect,markStatusToUpdate,applyChangedStates;messageCenterProto.on=createRegisterEventWithLowercaseMessageCenter("on"),messageCenterProto.off=createRegisterEventWithLowercaseMessageCenter("off");var ECharts=function(e){function t(t,n,o){var r=e.call(this,new ECEventProcessor)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],o=o||{},isString$2(n)&&(n=themeStorage[n]),r._dom=t;o.ssr&®isterSSRDataGetter((function(e){var t=getECData(e),n=t.dataIndex;if(null!=n){var o=createHashMap();return o.set("series_index",t.seriesIndex),o.set("data_index",n),t.ssrType&&o.set("ssr_type",t.ssrType),o}}));var i=r._zr=init$2(t,{renderer:o.renderer||"canvas",devicePixelRatio:o.devicePixelRatio,width:o.width,height:o.height,ssr:o.ssr,useDirtyRect:retrieve2(o.useDirtyRect,!1),useCoarsePointer:retrieve2(o.useCoarsePointer,"auto"),pointerSize:o.pointerSize});r._ssr=o.ssr,r._throttledZrFlush=throttle$2(bind$2(i.flush,i),17),(n=clone$4(n))&&globalBackwardCompat(n,!0),r._theme=n,r._locale=createLocaleObject(o.locale||SYSTEM_LANG),r._coordSysMgr=new CoordinateSystemManager;var a=r._api=createExtensionAPI(r);function l(e,t){return e.__prio-t.__prio}return sort$2(visualFuncs,l),sort$2(dataProcessorFuncs,l),r._scheduler=new Scheduler(r,a,dataProcessorFuncs,visualFuncs),r._messageCenter=new MessageCenter,r._initEvents(),r.resize=bind$2(r.resize,r),i.animation.on("frame",r._onframe,r),bindRenderedEvent(i,r),bindMouseEvent(i,r),setAsPrimitive(r),r}return __extends(t,e),t.prototype._onframe=function(){if(!this._disposed){applyChangedStates(this);var e=this._scheduler;if(this[PENDING_UPDATE]){var t=this[PENDING_UPDATE].silent;this[IN_MAIN_PROCESS_KEY]=!0;try{prepare(this),updateMethods.update.call(this,null,this[PENDING_UPDATE].updateParams)}catch(e2){throw this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,e2}this._zr.flush(),this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,flushPendingActions.call(this,t),triggerUpdatedEvent.call(this,t)}else if(e.unfinished){var n=TEST_FRAME_REMAIN_TIME,o=this._model,r=this._api;e.unfinished=!1;do{var i=+new Date;e.performSeriesTasks(o),e.performDataProcessorTasks(o),updateStreamModes(this,o),e.performVisualTasks(o),renderSeries(this,this._model,r,"remain",{}),n-=+new Date-i}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[IN_MAIN_PROCESS_KEY])if(this._disposed)disposedWarning(this.id);else{var o,r,i;if(isObject$4(t)&&(n=t.lazyUpdate,o=t.silent,r=t.replaceMerge,i=t.transition,t=t.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||t){var a=new OptionManager(this._api),l=this._theme,s=this._model=new GlobalModel;s.scheduler=this._scheduler,s.ssr=this._ssr,s.init(null,null,null,l,this._locale,a)}this._model.setOption(e,{replaceMerge:r},optionPreprocessorFuncs);var c={seriesTransition:i,optionChanged:!0};if(n)this[PENDING_UPDATE]={silent:o,updateParams:c},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,c)}catch(e2){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,e2}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,o),triggerUpdatedEvent.call(this,o)}}},t.prototype.setTheme=function(){},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||env.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){return e=e||{},this._zr.painter.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(env.svgSupported){var e=this._zr;return each$f(e.storage.getDisplayList(),(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,o=[],r=this;each$f(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=r._componentsMap[e.__viewId];t.group.ignore||(o.push(t),t.group.ignore=!0)}))}));var i="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return each$f(o,(function(e){e.group.ignore=!1})),i}disposedWarning(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,o=Math.min,r=Math.max,i=1/0;if(connectedGroups[n]){var a=i,l=i,s=-1/0,c=-1/0,u=[],d=e&&e.pixelRatio||this.getDevicePixelRatio();each$f(instances$1,(function(i,d){if(i.group===n){var p=t?i.getZr().painter.getSvgDom().innerHTML:i.renderToCanvas(clone$4(e)),f=i.getDom().getBoundingClientRect();a=o(f.left,a),l=o(f.top,l),s=r(f.right,s),c=r(f.bottom,c),u.push({dom:p,left:f.left,top:f.top})}}));var p=(s*=d)-(a*=d),f=(c*=d)-(l*=d),h=platformApi.createCanvas(),m=init$2(h,{renderer:t?"svg":"canvas"});if(m.resize({width:p,height:f}),t){var g="";return each$f(u,(function(e){var t=e.left-a,n=e.top-l;g+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=g,e.connectedBackgroundColor&&m.painter.setBackgroundColor(e.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return e.connectedBackgroundColor&&m.add(new Rect$2({shape:{x:0,y:0,width:p,height:f},style:{fill:e.connectedBackgroundColor}})),each$f(u,(function(e){var t=new ZRImage({style:{x:e.left*d-a,y:e.top*d-l,image:e.dom}});m.add(t)})),m.refreshImmediately(),h.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}disposedWarning(this.id)},t.prototype.convertToPixel=function(e,t){return doConvertPixel(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return doConvertPixel(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){var n;if(!this._disposed)return each$f(parseFinder$1(this._model,e),(function(e,o){o.indexOf("Models")>=0&&each$f(e,(function(e){var r=e.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(t);else if("seriesModels"===o){var i=this._chartsMap[e.__viewId];i&&i.containPoint&&(n=n||i.containPoint(t,e))}}),this)}),this),!!n;disposedWarning(this.id)},t.prototype.getVisual=function(e,t){var n=parseFinder$1(this._model,e,{defaultMainType:"series"}),o=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?o.indexOfRawIndex(n.dataIndex):null;return null!=r?getItemVisualFromData(o,r,t):getVisualFromData(o,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=this;each$f(MOUSE_EVENT_NAMES,(function(t){var n=function(n){var o,r=e.getModel(),i=n.target;if("globalout"===t?o={}:i&&findEventDispatcher(i,(function(e){var t=getECData(e);if(t&&null!=t.dataIndex){var n=t.dataModel||r.getSeriesByIndex(t.seriesIndex);return o=n&&n.getDataParams(t.dataIndex,t.dataType,i)||{},!0}if(t.eventData)return o=extend$1({},t.eventData),!0}),!0),o){var a=o.componentType,l=o.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",l=o.seriesIndex);var s=a&&null!=l&&r.getComponent(a,l),c=s&&e["series"===s.mainType?"_chartsMap":"_componentsMap"][s.__viewId];o.event=n,o.type=t,e._$eventProcessor.eventInfo={targetEl:i,packedEvent:o,model:s,view:c},e.trigger(t,o)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),each$f(eventActionMap,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),each$f(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),handleLegacySelectEvents(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?disposedWarning(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)disposedWarning(this.id);else{this._disposed=!0,this.getDom()&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var e=this,t=e._api,n=e._model;each$f(e._componentsViews,(function(e){e.dispose(n,t)})),each$f(e._chartsViews,(function(e){e.dispose(n,t)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete instances$1[e.id]}},t.prototype.resize=function(e){if(!this[IN_MAIN_PROCESS_KEY])if(this._disposed)disposedWarning(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),o=e&&e.silent;this[PENDING_UPDATE]&&(null==o&&(o=this[PENDING_UPDATE].silent),n=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{n&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend$1({duration:0},e&&e.animation)})}catch(e2){throw this[IN_MAIN_PROCESS_KEY]=!1,e2}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,o),triggerUpdatedEvent.call(this,o)}}},t.prototype.showLoading=function(e,t){if(this._disposed)disposedWarning(this.id);else if(isObject$4(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),loadingEffects[e]){var n=loadingEffects[e](this._api,t),o=this._zr;this._loadingFX=n,o.add(n)}},t.prototype.hideLoading=function(){this._disposed?disposedWarning(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=extend$1({},e);return t.type=eventActionMap[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)disposedWarning(this.id);else if(isObject$4(t)||(t={silent:!!t}),actions[e.type]&&this._model)if(this[IN_MAIN_PROCESS_KEY])this._pendingActions.push(e);else{var n=t.silent;doDispatchAction.call(this,e,n);var o=t.flush;o?this._zr.flush():!1!==o&&env.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,n),triggerUpdatedEvent.call(this,n)}},t.prototype.updateLabelLayout=function(){lifecycle.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)disposedWarning(this.id);else{var t=e.seriesIndex;this.getModel().getSeriesByIndex(t).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,o=0;o<n.length;o++){var r=n[o];"emphasis"!==r&&"blur"!==r&&"select"!==r&&t.push(r)}e.selected&&e.states.select&&t.push("select"),e.hoverState===HOVER_STATE_EMPHASIS&&e.states.emphasis?t.push("emphasis"):e.hoverState===HOVER_STATE_BLUR&&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 o(e,n,r,-1/0),!0}))}}function o(e,t,n,r){var i=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var l=e.childrenRef(),s=0;s<l.length;s++)r=Math.max(o(l[s],t,n,r),r);else e.z=t,e.zlevel=n,r=Math.max(e.z2,r);if(i&&(i.z=t,i.zlevel=n,isFinite(r)&&(i.z2=r+2)),a){var c=e.textGuideLineConfig;a.z=t,a.zlevel=n,isFinite(r)&&(a.z2=r+(c&&c.showAbove?1:-1))}return r}function r(e,t){t.eachRendered((function(e){if(!isElementRemoved(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 o=e.getModel("stateAnimation"),r=e.isAnimationEnabled(),i=o.get("duration"),a=i>0?{duration:i,delay:o.get("delay"),easing:o.get("easing")}:null;n.eachRendered((function(e){if(e.states&&e.states.emphasis){if(isElementRemoved(e))return;if(e instanceof Path&&savePathStates(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(r){e.stateTransition=a;var o=e.getTextContent(),i=e.getTextGuideLine();o&&(o.stateTransition=a),i&&(i.stateTransition=a)}e.__dirty&&t(e)}}))}prepare=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),prepareView(e,!0),prepareView(e,!1),t.plan()},prepareView=function(e,t){for(var n=e._model,o=e._scheduler,r=t?e._componentsViews:e._chartsViews,i=t?e._componentsMap:e._chartsMap,a=e._zr,l=e._api,s=0;s<r.length;s++)r[s].__alive=!1;function c(e){var s=e.__requireNewView;e.__requireNewView=!1;var c="_ec_"+e.id+"_"+e.type,u=!s&&i[c];if(!u){var d=parseClassType(e.type);(u=new(t?ComponentView.getClass(d.main,d.sub):ChartView.getClass(d.sub))).init(n,l),i[c]=u,r.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&&o.prepareView(u,e,n,l)}t?n.eachComponent((function(e,t){"series"!==e&&c(t)})):n.eachSeries(c);for(s=0;s<r.length;){var u=r[s];u.__alive?s++:(!t&&u.renderTask.dispose(),a.remove(u.group),u.dispose(n,l),r.splice(s,1),i[u.__id]===u&&delete i[u.__id],u.__id=u.group.__ecComponentInfo=null)}},updateDirectly=function(e,t,n,o,r){var i=e._model;if(i.setUpdatePayload(n),o){var a={};a[o+"Id"]=n[o+"Id"],a[o+"Index"]=n[o+"Index"],a[o+"Name"]=n[o+"Name"];var l={mainType:o,query:a};r&&(l.subType=r);var s,c=n.excludeSeriesId;null!=c&&(s=createHashMap(),each$f(normalizeToArray(c),(function(e){var t=convertOptionIdName(e,null);null!=t&&s.set(t,!0)}))),i&&i.eachComponent(l,(function(t){if(!(s&&null!=s.get(t.id)))if(isHighDownPayload(n))if(t instanceof SeriesModel)n.type!==HIGHLIGHT_ACTION_TYPE||n.notBlur||t.get(["emphasis","disabled"])||blurSeriesFromHighlightPayload(t,n,e._api);else{var o=findComponentHighDownDispatchers(t.mainType,t.componentIndex,n.name,e._api),r=o.focusSelf,i=o.dispatchers;n.type===HIGHLIGHT_ACTION_TYPE&&r&&!n.notBlur&&blurComponent(t.mainType,t.componentIndex,e._api),i&&each$f(i,(function(e){n.type===HIGHLIGHT_ACTION_TYPE?enterEmphasis(e):leaveEmphasis(e)}))}else isSelectChangePayload(n)&&t instanceof SeriesModel&&(toggleSelectionFromPayload(t,n,e._api),updateSeriesElementSelection(t),markStatusToUpdate(e))}),e),i&&i.eachComponent(l,(function(t){s&&null!=s.get(t.id)||u(e["series"===o?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else each$f([].concat(e._componentsViews).concat(e._chartsViews),u);function u(o){o&&o.__alive&&o[t]&&o[t](o.__model,i,e._api,n)}},updateMethods={prepareAndUpdate:function(e){prepare(this),updateMethods.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,n){var o=this._model,r=this._api,i=this._zr,a=this._coordSysMgr,l=this._scheduler;if(o){o.setUpdatePayload(t),l.restoreData(o,t),l.performSeriesTasks(o),a.create(o,r),l.performDataProcessorTasks(o,t),updateStreamModes(this,o),a.update(o,r),e(o),l.performVisualTasks(o,t),render(this,o,r,t,n);var s=o.get("backgroundColor")||"transparent",c=o.get("darkMode");i.setBackgroundColor(s),null!=c&&"auto"!==c&&i.setDarkMode(c),lifecycle.trigger("afterupdate",o,r)}},updateTransform:function(t){var n=this,o=this._model,r=this._api;if(o){o.setUpdatePayload(t);var i=[];o.eachComponent((function(e,a){if("series"!==e){var l=n.getViewOfComponentModel(a);if(l&&l.__alive)if(l.updateTransform){var s=l.updateTransform(a,o,r,t);s&&s.update&&i.push(l)}else i.push(l)}}));var a=createHashMap();o.eachSeries((function(e){var i=n._chartsMap[e.__viewId];if(i.updateTransform){var l=i.updateTransform(e,o,r,t);l&&l.update&&a.set(e.uid,1)}else a.set(e.uid,1)})),e(o),this._scheduler.performVisualTasks(o,t,{setDirty:!0,dirtyMap:a}),renderSeries(this,o,r,t,{},a),lifecycle.trigger("afterupdate",o,r)}},updateView:function(t){var n=this._model;n&&(n.setUpdatePayload(t),ChartView.markUpdateMethod(t,"updateView"),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0}),render(this,n,this._api,t,{}),lifecycle.trigger("afterupdate",n,this._api))},updateVisual:function(t){var n=this,o=this._model;o&&(o.setUpdatePayload(t),o.eachSeries((function(e){e.getData().clearAllVisual()})),ChartView.markUpdateMethod(t,"updateVisual"),e(o),this._scheduler.performVisualTasks(o,t,{visualType:"visual",setDirty:!0}),o.eachComponent((function(e,r){if("series"!==e){var i=n.getViewOfComponentModel(r);i&&i.__alive&&i.updateVisual(r,o,n._api,t)}})),o.eachSeries((function(e){n._chartsMap[e.__viewId].updateVisual(e,o,n._api,t)})),lifecycle.trigger("afterupdate",o,this._api))},updateLayout:function(e){updateMethods.update.call(this,e)}},doConvertPixel=function(e,t,n,o){if(e._disposed)disposedWarning(e.id);else for(var r,i=e._model,a=e._coordSysMgr.getCoordinateSystems(),l=parseFinder$1(i,n),s=0;s<a.length;s++){var c=a[s];if(c[t]&&null!=(r=c[t](i,l,o)))return r}},updateStreamModes=function(e,t){var n=e._chartsMap,o=e._scheduler;t.eachSeries((function(e){o.updateStreamModes(e,n[e.__viewId])}))},doDispatchAction=function(e,t){var n=this,o=this.getModel(),r=e.type,i=e.escapeConnect,a=actions[r],l=a.actionInfo,s=(l.update||"update").split(":"),c=s.pop(),u=null!=s[0]&&parseClassType(s[0]);this[IN_MAIN_PROCESS_KEY]=!0;var d=[e],p=!1;e.batch&&(p=!0,d=map$1(e.batch,(function(t){return(t=defaults$1(extend$1({},t),e)).batch=null,t})));var f,h=[],m=isSelectChangePayload(e),g=isHighDownPayload(e);if(g&&allLeaveBlur(this._api),each$f(d,(function(t){if((f=(f=a.action(t,n._model,n._api))||extend$1({},t)).type=l.event||f.type,h.push(f),g){var o=preParseFinder(e),r=o.queryOptionMap,i=o.mainTypeSpecified?r.keys()[0]:"series";updateDirectly(n,c,t,i),markStatusToUpdate(n)}else m?(updateDirectly(n,c,t,"series"),markStatusToUpdate(n)):u&&updateDirectly(n,c,t,u.main,u.sub)})),"none"!==c&&!g&&!m&&!u)try{this[PENDING_UPDATE]?(prepare(this),updateMethods.update.call(this,e),this[PENDING_UPDATE]=null):updateMethods[c].call(this,e)}catch(e2){throw this[IN_MAIN_PROCESS_KEY]=!1,e2}if(f=p?{type:l.event||r,escapeConnect:i,batch:h}:h[0],this[IN_MAIN_PROCESS_KEY]=!1,!t){var v=this._messageCenter;if(v.trigger(f.type,f),m){var y={type:"selectchanged",escapeConnect:i,selected:getAllSelectedIndices(o),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};v.trigger(y.type,y)}}},flushPendingActions=function(e){for(var t=this._pendingActions;t.length;){var n=t.shift();doDispatchAction.call(this,n,e)}},triggerUpdatedEvent=function(e){!e&&this.trigger("updated")},bindRenderedEvent=function(e,t){e.on("rendered",(function(n){t.trigger("rendered",n),!e.animation.isFinished()||t[PENDING_UPDATE]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},bindMouseEvent=function(e,t){e.on("mouseover",(function(e){var n=findEventDispatcher(e.target,isHighDownDispatcher);n&&(handleGlobalMouseOverForHighDown(n,e,t._api),markStatusToUpdate(t))})).on("mouseout",(function(e){var n=findEventDispatcher(e.target,isHighDownDispatcher);n&&(handleGlobalMouseOutForHighDown(n,e,t._api),markStatusToUpdate(t))})).on("click",(function(e){var n=findEventDispatcher(e.target,(function(e){return null!=getECData(e).dataIndex}),!0);if(n){var o=n.selected?"unselect":"select",r=getECData(n);t._api.dispatchAction({type:o,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}}))},render=function(e,t,n,o,r){!function(e){var t=[],n=[],o=!1;if(e.eachComponent((function(e,r){var i=r.get("zlevel")||0,a=r.get("z")||0,l=r.getZLevelKey();o=o||!!l,("series"===e?n:t).push({zlevel:i,z:a,idx:r.componentIndex,type:e,key:l})})),o){var r,i,a=t.concat(n);sort$2(a,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),each$f(a,(function(t){var n=e.getComponent(t.type,t.idx),o=t.zlevel,a=t.key;null!=r&&(o=Math.max(r,o)),a?(o===r&&a!==i&&o++,i=a):i&&(o===r&&o++,i=""),r=o,n.setZLevel(o)}))}}(t),renderComponents(e,t,n,o,r),each$f(e._chartsViews,(function(e){e.__alive=!1})),renderSeries(e,t,n,o,r),each$f(e._chartsViews,(function(e){e.__alive||e.remove(t,n)}))},renderComponents=function(e,t,o,a,l,s){each$f(s||e._componentsViews,(function(e){var l=e.__model;r(l,e),e.render(l,t,o,a),n(l,e),i(l,e)}))},renderSeries=function(e,t,o,a,l,s){var c=e._scheduler;l=extend$1(l||{},{updatedSeries:t.getSeries()}),lifecycle.trigger("series:beforeupdate",t,o,l);var u=!1;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var o=n.renderTask;c.updatePayload(o,a),r(t,n),s&&s.get(t.uid)&&o.dirty(),o.perform(c.getPerformArgs(o))&&(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),updateSeriesElementSelection(t)})),c.unfinished=u||c.unfinished,lifecycle.trigger("series:layoutlabels",t,o,l),lifecycle.trigger("series:transition",t,o,l),t.eachSeries((function(t){var o=e._chartsMap[t.__viewId];n(t,o),i(t,o)})),function(e,t){var n=e._zr,o=n.storage,r=0;o.traverse((function(e){e.isGroup||r++})),r>t.get("hoverLayerThreshold")&&!env.node&&!env.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),lifecycle.trigger("series:afterupdate",t,o,l)},markStatusToUpdate=function(e){e[STATUS_NEEDS_UPDATE_KEY]=!0,e.getZr().wakeUp()},applyChangedStates=function(e){e[STATUS_NEEDS_UPDATE_KEY]&&(e.getZr().storage.traverse((function(e){isElementRemoved(e)||t(e)})),e[STATUS_NEEDS_UPDATE_KEY]=!1)},createExtensionAPI=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return __extends(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){enterEmphasis(t,n),markStatusToUpdate(e)},n.prototype.leaveEmphasis=function(t,n){leaveEmphasis(t,n),markStatusToUpdate(e)},n.prototype.enterBlur=function(t){enterBlur(t),markStatusToUpdate(e)},n.prototype.leaveBlur=function(t){leaveBlur(t),markStatusToUpdate(e)},n.prototype.enterSelect=function(t){enterSelect(t),markStatusToUpdate(e)},n.prototype.leaveSelect=function(t){leaveSelect(t),markStatusToUpdate(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}(ExtensionAPI))(e)},enableConnect=function(e){function t(e,t){for(var n=0;n<e.length;n++){e[n][CONNECT_STATUS_KEY]=t}}each$f(eventActionMap,(function(n,o){e._messageCenter.on(o,(function(n){if(connectedGroups[e.group]&&e[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(n&&n.escapeConnect)return;var o=e.makeActionFromEvent(n),r=[];each$f(instances$1,(function(t){t!==e&&t.group===e.group&&r.push(t)})),t(r,CONNECT_STATUS_PENDING),each$f(r,(function(e){e[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&e.dispatchAction(o)})),t(r,CONNECT_STATUS_UPDATED)}}))}))}}(),t}(Eventful),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on"),echartsProto.off=createRegisterEventWithLowercaseECharts("off"),echartsProto.one=function(e,t,n){var o=this;this.on.call(this,e,(function n(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];t&&t.apply&&t.apply(this,r),o.off(e,n)}),n)};var MOUSE_EVENT_NAMES=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function disposedWarning(e){}var actions={},eventActionMap={},dataProcessorFuncs=[],optionPreprocessorFuncs=[],visualFuncs=[],themeStorage={},loadingEffects={},instances$1={},connectedGroups={},idBase=+new Date-0,DOM_ATTRIBUTE_KEY="_echarts_instance_";function init$1(e,t,n){var o=getInstanceByDom(e);if(o)return o;var r=new ECharts(e,t,n);return r.id="ec_"+idBase++,instances$1[r.id]=r,setAttribute(e,DOM_ATTRIBUTE_KEY,r.id),enableConnect(r),lifecycle.trigger("afterinit",r),r}function getInstanceByDom(e){return instances$1[getAttribute(e,DOM_ATTRIBUTE_KEY)]}function registerTheme(e,t){themeStorage[e]=t}function registerPreprocessor(e){indexOf(optionPreprocessorFuncs,e)<0&&optionPreprocessorFuncs.push(e)}function registerProcessor(e,t){normalizeRegister(dataProcessorFuncs,e,t,PRIORITY_PROCESSOR_DEFAULT)}function registerPostInit(e){registerUpdateLifecycle("afterinit",e)}function registerPostUpdate(e){registerUpdateLifecycle("afterupdate",e)}function registerUpdateLifecycle(e,t){lifecycle.on(e,t)}function registerAction(e,t,n){isFunction$2(t)&&(n=t,t="");var o=isObject$4(e)?e.type:[e,e={event:t}][0];e.event=(e.event||o).toLowerCase(),t=e.event,eventActionMap[t]||(assert(ACTION_REG.test(o)&&ACTION_REG.test(t)),actions[o]||(actions[o]={action:n,actionInfo:e}),eventActionMap[t]=o)}function registerCoordinateSystem(e,t){CoordinateSystemManager.register(e,t)}function registerLayout(e,t){normalizeRegister(visualFuncs,e,t,PRIORITY_VISUAL_LAYOUT,"layout")}function registerVisual(e,t){normalizeRegister(visualFuncs,e,t,PRIORITY_VISUAL_CHART,"visual")}var registeredTasks=[];function normalizeRegister(e,t,n,o,r){if((isFunction$2(t)||isObject$4(t))&&(n=t,t=o),!(indexOf(registeredTasks,n)>=0)){registeredTasks.push(n);var i=Scheduler.wrapStageHandler(n,r);i.__prio=t,i.__raw=n,e.push(i)}}function registerLoading(e,t){loadingEffects[e]=t}function registerMap$1(e,t,n){var o=getImpl("registerMap");o&&o(e,t,n)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask),registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask),registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask),registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask),registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask),registerVisual(PRIORITY_VISUAL_DECAL,decalVisual),registerPreprocessor(globalBackwardCompat),registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack),registerLoading("default",defaultLoading),registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop$2),registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop$2),registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop$2),registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop$2),registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop$2),registerTheme("light",lightTheme),registerTheme("dark",theme);var extensions=[],extensionRegisters={registerPreprocessor:registerPreprocessor,registerProcessor:registerProcessor,registerPostInit:registerPostInit,registerPostUpdate:registerPostUpdate,registerUpdateLifecycle:registerUpdateLifecycle,registerAction:registerAction,registerCoordinateSystem:registerCoordinateSystem,registerLayout:registerLayout,registerVisual:registerVisual,registerTransform:registerTransform,registerLoading:registerLoading,registerMap:registerMap$1,registerImpl:registerImpl,PRIORITY:PRIORITY,ComponentModel:ComponentModel,ComponentView:ComponentView,SeriesModel:SeriesModel,ChartView:ChartView,registerComponentModel:function(e){ComponentModel.registerClass(e)},registerComponentView:function(e){ComponentView.registerClass(e)},registerSeriesModel:function(e){SeriesModel.registerClass(e)},registerChartView:function(e){ChartView.registerClass(e)},registerSubTypeDefaulter:function(e,t){ComponentModel.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){registerPainter(e,t)}};function use(e){isArray$2(e)?each$f(e,(function(e){use(e)})):indexOf(extensions,e)>=0||(extensions.push(e),isFunction$2(e)&&(e={install:e}),e.install(extensionRegisters))}function dataIndexMapValueLength(e){return null==e?0:e.length||1}function defaultKeyGetter(e){return e}var DataDiffer=function(){function e(e,t,n,o,r,i){this._old=e,this._new=t,this._oldKeyGetter=n||defaultKeyGetter,this._newKeyGetter=o||defaultKeyGetter,this.context=r,this._diffModeMultiple="multiple"===i}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={},o=new Array(e.length),r=new Array(t.length);this._initIndexMap(e,null,o,"_oldKeyGetter"),this._initIndexMap(t,n,r,"_newKeyGetter");for(var i=0;i<e.length;i++){var a=o[i],l=n[a],s=dataIndexMapValueLength(l);if(s>1){var c=l.shift();1===l.length&&(n[a]=l[0]),this._update&&this._update(c,i)}else 1===s?(n[a]=null,this._update&&this._update(l,i)):this._remove&&this._remove(i)}this._performRestAdd(r,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},o={},r=[],i=[];this._initIndexMap(e,n,r,"_oldKeyGetter"),this._initIndexMap(t,o,i,"_newKeyGetter");for(var a=0;a<r.length;a++){var l=r[a],s=n[l],c=o[l],u=dataIndexMapValueLength(s),d=dataIndexMapValueLength(c);if(u>1&&1===d)this._updateManyToOne&&this._updateManyToOne(c,s),o[l]=null;else if(1===u&&d>1)this._updateOneToMany&&this._updateOneToMany(c,s),o[l]=null;else if(1===u&&1===d)this._update&&this._update(c,s),o[l]=null;else if(u>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,s),o[l]=null;else if(u>1)for(var p=0;p<u;p++)this._remove&&this._remove(s[p]);else this._remove&&this._remove(s)}this._performRestAdd(i,o)},e.prototype._performRestAdd=function(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=t[o],i=dataIndexMapValueLength(r);if(i>1)for(var a=0;a<i;a++)this._add&&this._add(r[a]);else 1===i&&this._add&&this._add(r);t[o]=null}},e.prototype._initIndexMap=function(e,t,n,o){for(var r=this._diffModeMultiple,i=0;i<e.length;i++){var a="_ec_"+this[o](e[i],i);if(r||(n[i]=a),t){var l=t[a],s=dataIndexMapValueLength(l);0===s?(t[a]=i,r&&n.push(a)):1===s?t[a]=[l,i]:l.push(i)}}},e}(),DimensionUserOuput=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 summarizeDimensions(e,t){var n={},o=n.encode={},r=createHashMap(),i=[],a=[],l={};each$f(e.dimensions,(function(t){var n=e.getDimensionInfo(t),s=n.coordDim;if(s){var c=n.coordDimIndex;getOrCreateEncodeArr(o,s)[c]=t,n.isExtraCoord||(r.set(s,1),mayLabelDimType(n.type)&&(i[0]=t),getOrCreateEncodeArr(l,s)[c]=e.getDimensionIndex(n.name)),n.defaultTooltip&&a.push(t)}VISUAL_DIMENSIONS.each((function(e,t){var r=getOrCreateEncodeArr(o,t),i=n.otherDims[t];null!=i&&!1!==i&&(r[i]=n.name)}))}));var s=[],c={};r.each((function(e,t){var n=o[t];c[t]=n[0],s=s.concat(n)})),n.dataDimsOnCoord=s,n.dataDimIndicesOnCoord=map$1(s,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=c;var u=o.label;u&&u.length&&(i=u.slice());var d=o.tooltip;return d&&d.length?a=d.slice():a.length||(a=i.slice()),o.defaultedLabel=i,o.defaultedTooltip=a,n.userOutput=new DimensionUserOuput(l,t),n}function getOrCreateEncodeArr(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function getDimensionTypeByAxis(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function mayLabelDimType(e){return!("ordinal"===e||"time"===e)}var SeriesDimensionDefine=function(){return function(e){this.otherDims={},null!=e&&extend$1(this,e)}}(),inner$h=makeInner(),dimTypeShort={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},SeriesDataSchema=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=ensureSourceDimNameMap(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return 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=shouldRetrieveDataByName(this.source),n=!shouldOmitUnusedDimensions(e),o="",r=[],i=0,a=0;i<e;i++){var l=void 0,s=void 0,c=void 0,u=this.dimensions[a];if(u&&u.storeDimIndex===i)l=t?u.name:null,s=u.type,c=u.ordinalMeta,a++;else{var d=this.getSourceDimension(i);d&&(l=t?d.name:null,s=d.type)}r.push({property:l,type:s,ordinalMeta:c}),!t||null==l||u&&u.isCalculationCoord||(o+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),o+="$",o+=dimTypeShort[s]||"f",c&&(o+=c.uid),o+="$"}var p=this.source;return{dimensions:r,hash:[p.seriesLayoutBy,p.startIndex,o].join("$$")}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var o=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===t)r.isCalculationCoord||(o=r.name),n++;else{var i=this.getSourceDimension(t);i&&(o=i.name)}e.push(o)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function isSeriesDataSchema(e){return e instanceof SeriesDataSchema}function createDimNameMap(e){for(var t=createHashMap(),n=0;n<(e||[]).length;n++){var o=e[n],r=isObject$4(o)?o.name:o;null!=r&&null==t.get(r)&&t.set(r,n)}return t}function ensureSourceDimNameMap(e){var t=inner$h(e);return t.dimNameMap||(t.dimNameMap=createDimNameMap(e.dimensionsDefine))}function shouldOmitUnusedDimensions(e){return e>30}var isObject$2=isObject$4,map=map$1,CtorInt32Array="undefined"==typeof Int32Array?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=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","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var o=!1;isSeriesDataSchema(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(o=!0,n=e),n=n||["x","y"];for(var r={},i=[],a={},l=!1,s={},c=0;c<n.length;c++){var u=n[c],d=isString$2(u)?new SeriesDimensionDefine({name:u}):u instanceof SeriesDimensionDefine?u:new SeriesDimensionDefine(u),p=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=p,d.coordDimIndex=0);var f=d.otherDims=d.otherDims||{};i.push(p),r[p]=d,null!=s[p]&&(l=!0),d.createInvertedIndices&&(a[p]=[]),0===f.itemName&&(this._nameDimIdx=c),0===f.itemId&&(this._idDimIdx=c),o&&(d.storeDimIndex=c)}if(this.dimensions=i,this._dimInfos=r,this._initGetDimensionInfo(l),this.hostModel=t,this._invertedIndicesMap=a,this._dimOmitted){var h=this._dimIdxToName=createHashMap();each$f(i,(function(e){h.set(r[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 o=this._schema.getSourceDimension(t);return o?o.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(isNumber$2(e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},e.prototype._getStoreDimIndex=function(e){return this.getDimensionIndex(e)},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 o=n.encode[e];return o?o[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 o,r=this;if(e instanceof DataStore&&(o=e),!o){var i=this.dimensions,a=isSourceInstance(e)||isArrayLike(e)?new DefaultDataProvider(e,i.length):e;o=new DataStore;var l=map(i,(function(e){return{type:r._dimInfos[e].type,property:e}}));o.initData(a,l,n)}this._store=o,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,o.count()),this._dimSummary=summarizeDimensions(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&&t.length),o=n.start,r=n.end,i=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var a=o;a<r;a++){var l=a-o;this._nameList[a]=t[l],i&&makeIdFromName(this,a)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var o=this._dimInfos[t[n]];o.ordinalMeta&&e.collectOrdinalMeta(o.storeDimIndex,o.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==SOURCE_FORMAT_TYPED_ARRAY&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var o=this._nameList,r=this._idList;if(n.getSource().sourceFormat===SOURCE_FORMAT_ORIGINAL&&!n.pure)for(var i=[],a=e;a<t;a++){var l=n.getItem(a,i);if(!this.hasItemOption&&isDataItemOption(l)&&(this.hasItemOption=!0),l){var s=l.name;null==o[a]&&null!=s&&(o[a]=convertOptionIdName(s,null));var c=l.id;null==r[a]&&null!=c&&(r[a]=convertOptionIdName(c,null))}}if(this._shouldMakeIdFromName())for(a=e;a<t;a++)makeIdFromName(this,a);prepareInvertedIndex(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){isObject$2(e)?extend$1(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=getIdNameFromStore(this,this._nameDimIdx,t)),null==n&&(n=""),n},e.prototype._getCategory=function(e,t){var n=this._store.get(e,t),o=this._store.getOrdinalMeta(e);return o?o.categories[n]:n},e.prototype.getId=function(e){return getId(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var n=this._store,o=this._dimInfos[e];if(o)return n.get(o.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var n=this._store,o=this._dimInfos[e];if(o)return n.getByRawIndex(o.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,o=this._store;return isArray$2(e)?o.getValues(map(e,(function(e){return n._getStoreDimIndex(e)})),t):o.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,o=t.length;n<o;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],o=n&&n[t];return null==o||isNaN(o)?INDEX_NOT_FOUND:o},e.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},e.prototype.each=function(e,t,n){isFunction$2(e)&&(n=t,t=e,e=[]);var o=n||this,r=map(normalizeDimensions(e),this._getStoreDimIndex,this);this._store.each(r,o?bind$2(t,o):t)},e.prototype.filterSelf=function(e,t,n){isFunction$2(e)&&(n=t,t=e,e=[]);var o=n||this,r=map(normalizeDimensions(e),this._getStoreDimIndex,this);return this._store=this._store.filter(r,o?bind$2(t,o):t),this},e.prototype.selectRange=function(e){var t=this,n={};return each$f(keys(e),(function(o){var r=t._getStoreDimIndex(o);n[r]=e[o]})),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(e,t,n){isFunction$2(e)&&(n=t,t=e,e=[]),n=n||this;var o=[];return this.each(e,(function(){o.push(t&&t.apply(this,arguments))}),n),o},e.prototype.map=function(e,t,n,o){var r=n||o||this,i=map(normalizeDimensions(e),this._getStoreDimIndex,this),a=cloneListForMapAndSample(this);return a._store=this._store.map(i,r?bind$2(t,r):t),a},e.prototype.modify=function(e,t,n,o){var r=n||o||this,i=map(normalizeDimensions(e),this._getStoreDimIndex,this);this._store.modify(i,r?bind$2(t,r):t)},e.prototype.downSample=function(e,t,n,o){var r=cloneListForMapAndSample(this);return r._store=this._store.downSample(this._getStoreDimIndex(e),t,n,o),r},e.prototype.minmaxDownSample=function(e,t){var n=cloneListForMapAndSample(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(e),t),n},e.prototype.lttbDownSample=function(e,t){var n=cloneListForMapAndSample(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 Model(n,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new DataDiffer(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return getId(e,t)}),(function(e){return getId(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||{},isObject$2(e)?extend$1(this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var n=this._itemVisuals[e],o=n&&n[t];return null==o?this.getVisual(t):o},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,o=n[e];o||(o=n[e]={});var r=o[t];return null==r&&(isArray$2(r=this.getVisual(t))?r=r.slice():isObject$2(r)&&(r=extend$1({},r)),o[t]=r),r},e.prototype.setItemVisual=function(e,t,n){var o=this._itemVisuals[e]||{};this._itemVisuals[e]=o,isObject$2(t)?extend$1(o,t):o[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){isObject$2(e)?extend$1(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?extend$1(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;setCommonECData(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){each$f(this._graphicEls,(function(n,o){n&&e&&e.call(t,n,o)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];isFunction$2(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(slice(arguments)))})},e.internalField=(prepareInvertedIndex=function(e){var t=e._invertedIndicesMap;each$f(t,(function(n,o){var r=e._dimInfos[o],i=r.ordinalMeta,a=e._store;if(i){n=t[o]=new CtorInt32Array(i.categories.length);for(var l=0;l<n.length;l++)n[l]=INDEX_NOT_FOUND;for(l=0;l<a.count();l++)n[a.get(r.storeDimIndex,l)]=l}}))},getIdNameFromStore=function(e,t,n){return convertOptionIdName(e._getCategory(t,n),null)},getId=function(e,t){var n=e._idList[t];return null==n&&null!=e._idDimIdx&&(n=getIdNameFromStore(e,e._idDimIdx,t)),null==n&&(n=ID_PREFIX+t),n},normalizeDimensions=function(e){return isArray$2(e)||(e=null!=e?[e]:[]),e},cloneListForMapAndSample=function(t){var n=new e(t._schema?t._schema:map(t.dimensions,t._getDimInfo,t),t.hostModel);return transferProperties(n,t),n},transferProperties=function(e,t){each$f(TRANSFERABLE_PROPERTIES.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,each$f(CLONE_PROPERTIES,(function(n){e[n]=clone$4(t[n])})),e._calculationInfo=extend$1({},t._calculationInfo)},void(makeIdFromName=function(e,t){var n=e._nameList,o=e._idList,r=e._nameDimIdx,i=e._idDimIdx,a=n[t],l=o[t];if(null==a&&null!=r&&(n[t]=a=getIdNameFromStore(e,r,t)),null==l&&null!=i&&(o[t]=l=getIdNameFromStore(e,i,t)),null==l&&null!=a){var s=e._nameRepeatCount,c=s[a]=(s[a]||0)+1;l=a,c>1&&(l+="__ec__"+c),o[t]=l}})),e}();function prepareSeriesDataSchema(e,t){isSourceInstance(e)||(e=createSourceFromSeriesDataOption(e));var n=(t=t||{}).coordDimensions||[],o=t.dimensionsDefine||e.dimensionsDefine||[],r=createHashMap(),i=[],a=getDimCount(e,n,o,t.dimensionsCount),l=t.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(a),s=o===e.dimensionsDefine,c=s?ensureSourceDimNameMap(e):createDimNameMap(o),u=t.encodeDefine;!u&&t.encodeDefaulter&&(u=t.encodeDefaulter(e,a));for(var d=createHashMap(u),p=new CtorInt32Array$1(a),f=0;f<p.length;f++)p[f]=-1;function h(e){var t=p[e];if(t<0){var n=o[e],r=isObject$4(n)?n:{name:n},a=new SeriesDimensionDefine,l=r.name;null!=l&&null!=c.get(l)&&(a.name=a.displayName=l),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var s=i.length;return p[e]=s,a.storeDimIndex=e,i.push(a),a}return i[t]}if(!l)for(f=0;f<a;f++)h(f);d.each((function(e,t){var n=normalizeToArray(e).slice();if(1===n.length&&!isString$2(n[0])&&n[0]<0)d.set(t,!1);else{var o=d.set(t,[]);each$f(n,(function(e,n){var r=isString$2(e)?c.get(e):e;null!=r&&r<a&&(o[n]=r,g(h(r),t,n))}))}}));var m=0;function g(e,t,n){null!=VISUAL_DIMENSIONS.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,r.set(t,!0))}each$f(n,(function(e){var t,n,o,r;if(isString$2(e))t=e,r={};else{t=(r=e).name;var i=r.ordinalMeta;r.ordinalMeta=null,(r=extend$1({},r)).ordinalMeta=i,n=r.dimsDef,o=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var l=d.get(t);if(!1!==l){if(!(l=normalizeToArray(l)).length)for(var c=0;c<(n&&n.length||1);c++){for(;m<a&&null!=h(m).coordDim;)m++;m<a&&l.push(m++)}each$f(l,(function(e,i){var a=h(e);if(s&&null!=r.type&&(a.type=r.type),g(defaults$1(a,r),t,i),null==a.name&&n){var l=n[i];!isObject$4(l)&&(l={name:l}),a.name=a.displayName=l.name,a.defaultTooltip=l.defaultTooltip}o&&defaults$1(a.otherDims,o)}))}}));var v=t.generateCoord,y=t.generateCoordCount,b=null!=y;y=v?y||1:0;var _=v||"value";function w(e){null==e.name&&(e.name=e.coordDim)}if(l)each$f(i,(function(e){w(e)})),i.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var k=0;k<a;k++){var x=h(k);null==x.coordDim&&(x.coordDim=genCoordDimName(_,r,b),x.coordDimIndex=0,(!v||y<=0)&&(x.isExtraCoord=!0),y--),w(x),null!=x.type||guessOrdinal(e,k)!==BE_ORDINAL.Must&&(!x.isExtraCoord||null==x.otherDims.itemName&&null==x.otherDims.seriesName)||(x.type="ordinal")}return removeDuplication(i),new SeriesDataSchema({source:e,dimensions:i,fullDimensionCount:a,dimensionOmitted:l})}function removeDuplication(e){for(var t=createHashMap(),n=0;n<e.length;n++){var o=e[n],r=o.name,i=t.get(r)||0;i>0&&(o.name=r+(i-1)),i++,t.set(r,i)}}function getDimCount(e,t,n,o){var r=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,o||0);return each$f(t,(function(e){var t;isObject$4(e)&&(t=e.dimsDef)&&(r=Math.max(r,t.length))})),r}function genCoordDimName(e,t,n){if(n||t.hasKey(e)){for(var o=0;t.hasKey(e+o);)o++;e+=o}return t.set(e,!0),e}var CoordSysInfo=function(){return function(e){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=e}}();function getCoordSysInfoBySeries(e){var t=e.get("coordinateSystem"),n=new CoordSysInfo(t),o=fetchers[t];if(o)return o(e,n,n.axisMap,n.categoryAxisMap),n}var fetchers={cartesian2d:function(e,t,n,o){var r=e.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],i=e.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];t.coordSysDims=["x","y"],n.set("x",r),n.set("y",i),isCategory(r)&&(o.set("x",r),t.firstCategoryDimIndex=0),isCategory(i)&&(o.set("y",i),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,o){var r=e.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];t.coordSysDims=["single"],n.set("single",r),isCategory(r)&&(o.set("single",r),t.firstCategoryDimIndex=0)},polar:function(e,t,n,o){var r=e.getReferringComponents("polar",SINGLE_REFERRING).models[0],i=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",i),n.set("angle",a),isCategory(i)&&(o.set("radius",i),t.firstCategoryDimIndex=0),isCategory(a)&&(o.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,o){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,o){var r=e.ecModel,i=r.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=i.dimensions.slice();each$f(i.parallelAxisIndex,(function(e,i){var l=r.getComponent("parallelAxis",e),s=a[i];n.set(s,l),isCategory(l)&&(o.set(s,l),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=i))}))}};function isCategory(e){return"category"===e.get("type")}function enableDataStack(e,t,n){var o,r,i,a=(n=n||{}).byIndex,l=n.stackedCoordDimension;isLegacyDimensionsInput(t)?o=t:(r=t.schema,o=r.dimensions,i=t.store);var s,c,u,d,p=!(!e||!e.get("stack"));if(each$f(o,(function(e,t){isString$2(e)&&(o[t]=e={name:e}),p&&!e.isExtraCoord&&(a||s||!e.ordinalMeta||(s=e),c||"ordinal"===e.type||"time"===e.type||l&&l!==e.coordDim||(c=e))})),!c||a||s||(a=!0),c){u="__\0ecstackresult_"+e.id,d="__\0ecstackedover_"+e.id,s&&(s.createInvertedIndices=!0);var f=c.coordDim,h=c.type,m=0;each$f(o,(function(e){e.coordDim===f&&m++}));var g={name:u,coordDim:f,coordDimIndex:m,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},v={name:d,coordDim:d,coordDimIndex:m+1,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};r?(i&&(g.storeDimIndex=i.ensureCalculationDimension(d,h),v.storeDimIndex=i.ensureCalculationDimension(u,h)),r.appendCalculationDimension(g),r.appendCalculationDimension(v)):(o.push(g),o.push(v))}return{stackedDimension:c&&c.name,stackedByDimension:s&&s.name,isStackedByIndex:a,stackedOverDimension:d,stackResultDimension:u}}function isLegacyDimensionsInput(e){return!isSeriesDataSchema(e.schema)}function isDimensionStacked(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function getStackedDimension(e,t){return isDimensionStacked(e,t)?e.getCalculationInfo("stackResultDimension"):t}function getCoordSysDimDefs(e,t){var n,o=e.get("coordinateSystem"),r=CoordinateSystemManager.get(o);return t&&t.coordSysDims&&(n=map$1(t.coordSysDims,(function(e){var n={name:e},o=t.axisMap.get(e);if(o){var r=o.get("type");n.type=getDimensionTypeByAxis(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function injectOrdinalMeta(e,t,n){var o,r;return n&&each$f(e,(function(e,i){var a=e.coordDim,l=n.categoryAxisMap.get(a);l&&(null==o&&(o=i),e.ordinalMeta=l.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(r=!0)})),r||null==o||(e[o].otherDims.itemName=0),o}function createSeriesData(e,t,n){n=n||{};var o,r=t.getSourceManager(),i=!1;e?(i=!0,o=createSourceFromSeriesDataOption(e)):i=(o=r.getSource()).sourceFormat===SOURCE_FORMAT_ORIGINAL;var a=getCoordSysInfoBySeries(t),l=getCoordSysDimDefs(t,a),s=n.useEncodeDefaulter,c=isFunction$2(s)?s:s?curry$1(makeSeriesEncodeForAxisCoordSys,l,t):null,u=prepareSeriesDataSchema(o,{coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!i}),d=injectOrdinalMeta(u.dimensions,n.createInvertedIndices,a),p=i?null:r.getSharedDataStore(u),f=enableDataStack(t,{schema:u,store:p}),h=new SeriesData(u,t);h.setCalculationInfo(f);var m=null!=d&&isNeedCompleteOrdinalData(o)?function(e,t,n,o){return o===d?n:this.defaultDimValueGetter(e,t,n,o)}:null;return h.hasItemOption=!1,h.initData(i?o:p,null,m),h}function isNeedCompleteOrdinalData(e){if(e.sourceFormat===SOURCE_FORMAT_ORIGINAL)return!isArray$2(getDataItemValue(firstDataNotNull(e.data||[])))}function firstDataNotNull(e){for(var t=0;t<e.length&&null==e[t];)t++;return e[t]}var Scale=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}();enableClassManagement(Scale);var uidBase=0,OrdinalMeta=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++uidBase}return e.createByAxisModel=function(t){var n=t.option,o=n.data,r=o&&map$1(o,getName);return new e({categories:r,needCollect:!r,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(!isString$2(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var o=this._getOrCreateMap();return null==(t=o.get(e))&&(n?(t=this.categories.length,this.categories[t]=e,o.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},e}();function getName(e){return isObject$4(e)&&null!=e.value?e.value:e+""}function isIntervalOrLogScale(e){return"interval"===e.type||"log"===e.type}function intervalScaleNiceTicks(e,t,n,o){var r={},i=e[1]-e[0],a=r.interval=nice(i/t);null!=n&&a<n&&(a=r.interval=n),null!=o&&a>o&&(a=r.interval=o);var l=r.intervalPrecision=getIntervalPrecision(a);return fixExtent(r.niceTickExtent=[round$3(Math.ceil(e[0]/a)*a,l),round$3(Math.floor(e[1]/a)*a,l)],e),r}function increaseInterval(e){var t=Math.pow(10,quantityExponent(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,round$3(n*t)}function getIntervalPrecision(e){return getPrecision(e)+2}function clamp(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function fixExtent(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),clamp(e,0,t),clamp(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function contain$1(e,t){return e>=t[0]&&e<=t[1]}function normalize$2(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function scale(e,t){return e*(t[1]-t[0])+t[0]}var OrdinalScale=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var o=n.getSetting("ordinalMeta");return o||(o=new OrdinalMeta({})),isArray$2(o)&&(o=new OrdinalMeta({categories:map$1(o,(function(e){return isObject$4(e)?e.value:e}))})),n._ordinalMeta=o,n._extent=n.getSetting("extent")||[0,o.categories.length-1],n}return __extends(t,e),t.prototype.parse=function(e){return null==e?NaN:isString$2(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return contain$1(e=this.parse(e),this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return normalize$2(e=this._getTickNumber(this.parse(e)),this._extent)},t.prototype.scale=function(e){return e=Math.round(scale(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=[],o=this._ticksByOrdinalNumber=[],r=0,i=this._ordinalMeta.categories.length,a=Math.min(i,t.length);r<a;++r){var l=t[r];n[r]=l,o[l]=r}for(var s=0;r<i;++r){for(;null!=o[s];)s++;n.push(s),o[s]=r}}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}(Scale);Scale.registerClass(OrdinalScale);var roundNumber=round$3,IntervalScale=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 __extends(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return contain$1(e,this._extent)},t.prototype.normalize=function(e){return normalize$2(e,this._extent)},t.prototype.scale=function(e){return scale(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=getIntervalPrecision(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,o=this._niceExtent,r=this._intervalPrecision,i=[];if(!t)return i;n[0]<o[0]&&(e?i.push({value:roundNumber(o[0]-t,r)}):i.push({value:n[0]}));for(var a=o[0];a<=o[1]&&(i.push({value:a}),(a=roundNumber(a+t,r))!==i[i.length-1].value);)if(i.length>1e4)return[];var l=i.length?i[i.length-1].value:o[1];return n[1]>l&&(e?i.push({value:roundNumber(l+t,r)}):i.push({value:n[1]})),i},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],o=this.getExtent(),r=1;r<t.length;r++){for(var i=t[r],a=t[r-1],l=0,s=[],c=(i.value-a.value)/e;l<e-1;){var u=roundNumber(a.value+(l+1)*c);u>o[0]&&u<o[1]&&s.push(u),l++}n.push(s)}return n},t.prototype.getLabel=function(e,t){if(null==e)return"";var n=t&&t.precision;return null==n?n=getPrecision(e.value)||0:"auto"===n&&(n=this._intervalPrecision),addCommas(roundNumber(e.value,n,!0))},t.prototype.calcNiceTicks=function(e,t,n){e=e||5;var o=this._extent,r=o[1]-o[0];if(isFinite(r)){r<0&&(r=-r,o.reverse());var i=intervalScaleNiceTicks(o,e,t,n);this._intervalPrecision=i.intervalPrecision,this._interval=i.interval,this._niceExtent=i.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[1]+=n/2),t[0]-=n/2}else t[1]=1;var o=t[1]-t[0];isFinite(o)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var r=this._interval;e.fixMin||(t[0]=roundNumber(Math.floor(t[0]/r)*r)),e.fixMax||(t[1]=roundNumber(Math.ceil(t[1]/r)*r))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(Scale);Scale.registerClass(IntervalScale);var supportFloat32Array="undefined"!=typeof Float32Array,Float32ArrayCtor=supportFloat32Array?Float32Array:Array;function createFloat32Array(e){return isArray$2(e)?supportFloat32Array?new Float32Array(e):e:new Float32ArrayCtor(e)}var STACK_PREFIX="__ec_stack_";function getSeriesStackId$1(e){return e.get("stack")||STACK_PREFIX+e.seriesIndex}function getAxisKey$1(e){return e.dim+e.index}function getLayoutOnAxis(e){var t=[],n=e.axis,o="axis0";if("category"===n.type){for(var r=n.getBandWidth(),i=0;i<e.count;i++)t.push(defaults$1({bandWidth:r,axisKey:o,stackId:STACK_PREFIX+i},e));var a=doCalBarWidthAndOffset(t),l=[];for(i=0;i<e.count;i++){var s=a[o][STACK_PREFIX+i];s.offsetCenter=s.offset+s.width/2,l.push(s)}return l}}function prepareLayoutBarSeries(e,t){var n=[];return t.eachSeriesByType(e,(function(e){isOnCartesian(e)&&n.push(e)})),n}function getValueAxesMinGaps(e){var t={};each$f(e,(function(e){var n=e.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var o=e.getData(),r=n.dim+"_"+n.index,i=o.getDimensionIndex(o.mapDimension(n.dim)),a=o.getStore(),l=0,s=a.count();l<s;++l){var c=a.get(i,l);t[r]?t[r].push(c):t[r]=[c]}}));var n={};for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];if(r){r.sort((function(e,t){return e-t}));for(var i=null,a=1;a<r.length;++a){var l=r[a]-r[a-1];l>0&&(i=null===i?l:Math.min(i,l))}n[o]=i}}return n}function makeColumnLayout(e){var t=getValueAxesMinGaps(e),n=[];return each$f(e,(function(e){var o,r=e.coordinateSystem.getBaseAxis(),i=r.getExtent();if("category"===r.type)o=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,l=t[a],s=Math.abs(i[1]-i[0]),c=r.scale.getExtent(),u=Math.abs(c[1]-c[0]);o=l?s/u*l:s}else{var d=e.getData();o=Math.abs(i[1]-i[0])/d.count()}var p=parsePercent(e.get("barWidth"),o),f=parsePercent(e.get("barMaxWidth"),o),h=parsePercent(e.get("barMinWidth")||(isInLargeMode(e)?.5:1),o),m=e.get("barGap"),g=e.get("barCategoryGap");n.push({bandWidth:o,barWidth:p,barMaxWidth:f,barMinWidth:h,barGap:m,barCategoryGap:g,axisKey:getAxisKey$1(r),stackId:getSeriesStackId$1(e)})})),doCalBarWidthAndOffset(n)}function doCalBarWidthAndOffset(e){var t={};each$f(e,(function(e,n){var o=e.axisKey,r=e.bandWidth,i=t[o]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=i.stacks;t[o]=i;var l=e.stackId;a[l]||i.autoWidthCount++,a[l]=a[l]||{width:0,maxWidth:0};var s=e.barWidth;s&&!a[l].width&&(a[l].width=s,s=Math.min(i.remainedWidth,s),i.remainedWidth-=s);var c=e.barMaxWidth;c&&(a[l].maxWidth=c);var u=e.barMinWidth;u&&(a[l].minWidth=u);var d=e.barGap;null!=d&&(i.gap=d);var p=e.barCategoryGap;null!=p&&(i.categoryGap=p)}));var n={};return each$f(t,(function(e,t){n[t]={};var o=e.stacks,r=e.bandWidth,i=e.categoryGap;if(null==i){var a=keys(o).length;i=Math.max(35-4*a,15)+"%"}var l=parsePercent(i,r),s=parsePercent(e.gap,1),c=e.remainedWidth,u=e.autoWidthCount,d=(c-l)/(u+(u-1)*s);d=Math.max(d,0),each$f(o,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){o=e.width;t&&(o=Math.min(o,t)),n&&(o=Math.max(o,n)),e.width=o,c-=o+s*o,u--}else{var o=d;t&&t<o&&(o=Math.min(t,c)),n&&n>o&&(o=n),o!==d&&(e.width=o,c-=o+s*o,u--)}})),d=(c-l)/(u+(u-1)*s),d=Math.max(d,0);var p,f=0;each$f(o,(function(e,t){e.width||(e.width=d),p=e,f+=e.width*(1+s)})),p&&(f-=p.width*s);var h=-f/2;each$f(o,(function(e,o){n[t][o]=n[t][o]||{bandWidth:r,offset:h,width:e.width},h+=e.width*(1+s)}))})),n}function retrieveColumnLayout(e,t,n){if(e&&t)return e[getAxisKey$1(t)]}function layout$4(e,t){var n=prepareLayoutBarSeries(e,t),o=makeColumnLayout(n);each$f(n,(function(e){var t=e.getData(),n=e.coordinateSystem.getBaseAxis(),r=getSeriesStackId$1(e),i=o[getAxisKey$1(n)][r],a=i.offset,l=i.width;t.setLayout({bandWidth:i.bandWidth,offset:a,size:l})}))}function createProgressiveLayout(e){return{seriesType:e,plan:createRenderPlanner(),reset:function(e){if(isOnCartesian(e)){var t=e.getData(),n=e.coordinateSystem,o=n.getBaseAxis(),r=n.getOtherAxis(o),i=t.getDimensionIndex(t.mapDimension(r.dim)),a=t.getDimensionIndex(t.mapDimension(o.dim)),l=e.get("showBackground",!0),s=t.mapDimension(r.dim),c=t.getCalculationInfo("stackResultDimension"),u=isDimensionStacked(t,s)&&!!t.getCalculationInfo("stackedOnSeries"),d=r.isHorizontal(),p=getValueAxisStart(o,r),f=isInLargeMode(e),h=e.get("barMinHeight")||0,m=c&&t.getDimensionIndex(c),g=t.getLayout("size"),v=t.getLayout("offset");return{progress:function(e,t){for(var o,r=e.count,s=f&&createFloat32Array(3*r),c=f&&l&&createFloat32Array(3*r),y=f&&createFloat32Array(r),b=n.master.getRect(),_=d?b.width:b.height,w=t.getStore(),k=0;null!=(o=e.next());){var x=w.get(u?m:i,o),S=w.get(a,o),C=p,E=void 0;u&&(E=+x-w.get(i,o));var T=void 0,A=void 0,$=void 0,I=void 0;if(d){var M=n.dataToPoint([x,S]);if(u)C=n.dataToPoint([E,S])[0];T=C,A=M[1]+v,$=M[0]-C,I=g,Math.abs($)<h&&($=($<0?-1:1)*h)}else{M=n.dataToPoint([S,x]);if(u)C=n.dataToPoint([S,E])[1];T=M[0]+v,A=C,$=g,I=M[1]-C,Math.abs(I)<h&&(I=(I<=0?-1:1)*h)}f?(s[k]=T,s[k+1]=A,s[k+2]=d?$:I,c&&(c[k]=d?b.x:T,c[k+1]=d?A:b.y,c[k+2]=_),y[o]=o):t.setItemLayout(o,{x:T,y:A,width:$,height:I}),k+=3}f&&t.setLayout({largePoints:s,largeDataIndices:y,largeBackgroundPoints:c,valueAxisHorizontal:d})}}}}}}function isOnCartesian(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function isInLargeMode(e){return e.pipelineContext&&e.pipelineContext.large}function getValueAxisStart(e,t){var n=t.model.get("startValue");return n||(n=0),t.toGlobalCoord(t.dataToCoord("log"===t.type?n>0?n:1:n))}var bisect=function(e,t,n,o){for(;n<o;){var r=n+o>>>1;e[r][1]<t?n=r+1:o=r}return n},TimeScale=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return __extends(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return format$1(e.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var o=this.getSetting("useUTC");return leveledFormat(e,t,n,this.getSetting("locale"),o)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var o=this.getSetting("useUTC"),r=getIntervalTicks(this._minLevelUnit,this._approxInterval,o,t);return(n=n.concat(r)).push({value:t[1],level:0}),n},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=ONE_DAY,t[1]+=ONE_DAY),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]-ONE_DAY}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,n){e=e||10;var o=this._extent,r=o[1]-o[0];this._approxInterval=r/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var i=scaleIntervals.length,a=Math.min(bisect(scaleIntervals,this._approxInterval,0,i),i-1);this._interval=scaleIntervals[a][1],this._minLevelUnit=scaleIntervals[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return isNumber$2(e)?e:+parseDate$1(e)},t.prototype.contain=function(e){return contain$1(this.parse(e),this._extent)},t.prototype.normalize=function(e){return normalize$2(this.parse(e),this._extent)},t.prototype.scale=function(e){return scale(e,this._extent)},t.type="time",t}(IntervalScale),scaleIntervals=[["second",ONE_SECOND],["minute",ONE_MINUTE],["hour",ONE_HOUR],["quarter-day",6*ONE_HOUR],["half-day",12*ONE_HOUR],["day",1.2*ONE_DAY],["half-week",3.5*ONE_DAY],["week",7*ONE_DAY],["month",31*ONE_DAY],["quarter",95*ONE_DAY],["half-year",ONE_YEAR/2],["year",ONE_YEAR]];function isUnitValueSame(e,t,n,o){var r=parseDate$1(t),i=parseDate$1(n),a=function(e){return getUnitValue(r,e,o)===getUnitValue(i,e,o)},l=function(){return a("year")},s=function(){return l()&&a("month")},c=function(){return s()&&a("day")},u=function(){return c()&&a("hour")},d=function(){return u()&&a("minute")},p=function(){return d()&&a("second")};switch(e){case"year":return l();case"month":return s();case"day":return c();case"hour":return u();case"minute":return d();case"second":return p();case"millisecond":return p()&&a("millisecond")}}function getDateInterval(e,t){return(e/=ONE_DAY)>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function getMonthInterval(e){return(e/=30*ONE_DAY)>6?6:e>3?3:e>2?2:1}function getHourInterval(e){return(e/=ONE_HOUR)>12?12:e>6?6:e>3.5?4:e>2?2:1}function getMinutesAndSecondsInterval(e,t){return(e/=t?ONE_MINUTE:ONE_SECOND)>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function getMillisecondsInterval(e){return nice(e)}function getFirstTimestampOfUnit(e,t,n){var o=new Date(e);switch(getPrimaryTimeUnit(t)){case"year":case"month":o[monthSetterName(n)](0);case"day":o[dateSetterName(n)](1);case"hour":o[hoursSetterName(n)](0);case"minute":o[minutesSetterName(n)](0);case"second":o[secondsSetterName(n)](0),o[millisecondsSetterName(n)](0)}return o.getTime()}function getIntervalTicks(e,t,n,o){var r=timeUnits$2,i=0;function a(e,t,n,r,i,a,l){for(var s=new Date(t),c=t,u=s[r]();c<n&&c<=o[1];)l.push({value:c}),u+=e,s[i](u),c=s.getTime();l.push({value:c,notAdd:!0})}function l(e,r,i){var l=[],s=!r.length;if(!isUnitValueSame(getPrimaryTimeUnit(e),o[0],o[1],n)){s&&(r=[{value:getFirstTimestampOfUnit(new Date(o[0]),e,n)},{value:o[1]}]);for(var c=0;c<r.length-1;c++){var u=r[c].value,d=r[c+1].value;if(u!==d){var p=void 0,f=void 0,h=void 0;switch(e){case"year":p=Math.max(1,Math.round(t/ONE_DAY/365)),f=fullYearGetterName(n),h=fullYearSetterName(n);break;case"half-year":case"quarter":case"month":p=getMonthInterval(t),f=monthGetterName(n),h=monthSetterName(n);break;case"week":case"half-week":case"day":p=getDateInterval(t),f=dateGetterName(n),h=dateSetterName(n);break;case"half-day":case"quarter-day":case"hour":p=getHourInterval(t),f=hoursGetterName(n),h=hoursSetterName(n);break;case"minute":p=getMinutesAndSecondsInterval(t,!0),f=minutesGetterName(n),h=minutesSetterName(n);break;case"second":p=getMinutesAndSecondsInterval(t,!1),f=secondsGetterName(n),h=secondsSetterName(n);break;case"millisecond":p=getMillisecondsInterval(t),f=millisecondsGetterName(n),h=millisecondsSetterName(n)}a(p,u,d,f,h,0,l),"year"===e&&i.length>1&&0===c&&i.unshift({value:i[0].value-p})}}for(c=0;c<l.length;c++)i.push(l[c]);return l}}for(var s=[],c=[],u=0,d=0,p=0;p<r.length&&i++<1e4;++p){var f=getPrimaryTimeUnit(r[p]);if(isPrimaryTimeUnit(r[p]))if(l(r[p],s[s.length-1]||[],c),f!==(r[p+1]?getPrimaryTimeUnit(r[p+1]):null)){if(c.length){d=u,c.sort((function(e,t){return e.value-t.value}));for(var h=[],m=0;m<c.length;++m){var g=c[m].value;0!==m&&c[m-1].value===g||(h.push(c[m]),g>=o[0]&&g<=o[1]&&u++)}var v=(o[1]-o[0])/t;if(u>1.5*v&&d>v/1.5)break;if(s.push(h),u>v||e===r[p])break}c=[]}}var y=filter(map$1(s,(function(e){return filter(e,(function(e){return e.value>=o[0]&&e.value<=o[1]&&!e.notAdd}))})),(function(e){return e.length>0})),b=[],_=y.length-1;for(p=0;p<y.length;++p)for(var w=y[p],k=0;k<w.length;++k)b.push({value:w[k].value,level:_-p});b.sort((function(e,t){return e.value-t.value}));var x=[];for(p=0;p<b.length;++p)0!==p&&b[p].value===b[p-1].value||x.push(b[p]);return x}Scale.registerClass(TimeScale);var scaleProto=Scale.prototype,intervalScaleProto=IntervalScale.prototype,roundingErrorFix=round$3,mathFloor$1=Math.floor,mathCeil$1=Math.ceil,mathPow$1=Math.pow,mathLog$1=Math.log,LogScale=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new IntervalScale,t._interval=0,t}return __extends(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,o=t.getExtent();return map$1(intervalScaleProto.getTicks.call(this,e),(function(e){var t=e.value,r=round$3(mathPow$1(this.base,t));return r=t===n[0]&&this._fixMin?fixRoundingError(r,o[0]):r,{value:r=t===n[1]&&this._fixMax?fixRoundingError(r,o[1]):r}}),this)},t.prototype.setExtent=function(e,t){var n=mathLog$1(this.base);e=mathLog$1(Math.max(0,e))/n,t=mathLog$1(Math.max(0,t))/n,intervalScaleProto.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=scaleProto.getExtent.call(this);t[0]=mathPow$1(e,t[0]),t[1]=mathPow$1(e,t[1]);var n=this._originalScale.getExtent();return this._fixMin&&(t[0]=fixRoundingError(t[0],n[0])),this._fixMax&&(t[1]=fixRoundingError(t[1],n[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=mathLog$1(e[0])/mathLog$1(t),e[1]=mathLog$1(e[1])/mathLog$1(t),scaleProto.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 o=quantity(n);for(e/n*o<=.5&&(o*=10);!isNaN(o)&&Math.abs(o)<1&&Math.abs(o)>0;)o*=10;var r=[round$3(mathCeil$1(t[0]/o)*o),round$3(mathFloor$1(t[1]/o)*o)];this._interval=o,this._niceExtent=r}},t.prototype.calcNiceExtent=function(e){intervalScaleProto.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 contain$1(e=mathLog$1(e)/mathLog$1(this.base),this._extent)},t.prototype.normalize=function(e){return normalize$2(e=mathLog$1(e)/mathLog$1(this.base),this._extent)},t.prototype.scale=function(e){return e=scale(e,this._extent),mathPow$1(this.base,e)},t.type="log",t}(Scale),proto=LogScale.prototype;function fixRoundingError(e,t){return roundingErrorFix(e,getPrecision(t))}proto.getMinorTicks=intervalScaleProto.getMinorTicks,proto.getLabel=intervalScaleProto.getLabel,Scale.registerClass(LogScale);var ScaleRawExtentInfo=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 o=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var r=t.get("min",!0);null==r&&(r=t.get("startValue",!0));var i=this._modelMinRaw=r;isFunction$2(i)?this._modelMinNum=parseAxisModelMinMax(e,i({min:n[0],max:n[1]})):"dataMin"!==i&&(this._modelMinNum=parseAxisModelMinMax(e,i));var a=this._modelMaxRaw=t.get("max",!0);if(isFunction$2(a)?this._modelMaxNum=parseAxisModelMinMax(e,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=parseAxisModelMinMax(e,a)),o)this._axisDataLen=t.getCategories().length;else{var l=t.get("boundaryGap"),s=isArray$2(l)?l:[l||0,l||0];"boolean"==typeof s[0]||"boolean"==typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[parsePercent$1(s[0],1),parsePercent$1(s[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,o=this._axisDataLen,r=this._boundaryGapInner,i=e?null:n-t||Math.abs(t),a="dataMin"===this._modelMinRaw?t:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,s=null!=a,c=null!=l;null==a&&(a=e?o?0:NaN:t-r[0]*i),null==l&&(l=e?o?o-1:NaN:n+r[1]*i),(null==a||!isFinite(a))&&(a=NaN),(null==l||!isFinite(l))&&(l=NaN);var u=eqNaN(a)||eqNaN(l)||e&&!o;this._needCrossZero&&(a>0&&l>0&&!s&&(a=0),a<0&&l<0&&!c&&(l=0));var d=this._determinedMin,p=this._determinedMax;return null!=d&&(a=d,s=!0),null!=p&&(l=p,c=!0),{min:a,max:l,minFixed:s,maxFixed:c,isBlank:u}},e.prototype.modifyDataMinMax=function(e,t){this[DATA_MIN_MAX_ATTR[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){this[DETERMINED_MIN_MAX_ATTR[e]]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(e,t,n){var o=e.rawExtentInfo;return o||(o=new ScaleRawExtentInfo(e,t,n),e.rawExtentInfo=o,o)}function parseAxisModelMinMax(e,t){return null==t?null:eqNaN(t)?NaN:e.parse(t)}function getScaleExtent(e,t){var n=e.type,o=ensureScaleRawExtentInfo(e,t,e.getExtent()).calculate();e.setBlank(o.isBlank);var r=o.min,i=o.max,a=t.ecModel;if(a&&"time"===n){var l=prepareLayoutBarSeries("bar",a),s=!1;if(each$f(l,(function(e){s=s||e.getBaseAxis()===t.axis})),s){var c=makeColumnLayout(l),u=adjustScaleForOverflow(r,i,t,c);r=u.min,i=u.max}}return{extent:[r,i],fixMin:o.minFixed,fixMax:o.maxFixed}}function adjustScaleForOverflow(e,t,n,o){var r=n.axis.getExtent(),i=Math.abs(r[1]-r[0]),a=retrieveColumnLayout(o,n.axis);if(void 0===a)return{min:e,max:t};var l=1/0;each$f(a,(function(e){l=Math.min(e.offset,l)}));var s=-1/0;each$f(a,(function(e){s=Math.max(e.offset+e.width,s)})),l=Math.abs(l),s=Math.abs(s);var c=l+s,u=t-e,d=u/(1-(l+s)/i)-u;return{min:e-=d*(l/c),max:t+=d*(s/c)}}function niceScaleExtent(e,t){var n=t,o=getScaleExtent(e,n),r=o.extent,i=n.get("splitNumber");e instanceof LogScale&&(e.base=n.get("logBase"));var a=e.type,l=n.get("interval"),s="interval"===a||"time"===a;e.setExtent(r[0],r[1]),e.calcNiceExtent({splitNumber:i,fixMin:o.fixMin,fixMax:o.fixMax,minInterval:s?n.get("minInterval"):null,maxInterval:s?n.get("maxInterval"):null}),null!=l&&e.setInterval&&e.setInterval(l)}function createScaleByModel$1(e,t){if(t=t||e.get("type"))switch(t){case"category":return new OrdinalScale({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Scale.getClass(t)||IntervalScale)}}function ifAxisCrossZero(e){var t=e.scale.getExtent(),n=t[0],o=t[1];return!(n>0&&o>0||n<0&&o<0)}function makeLabelFormatter(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?function(t){return function(n,o){return e.scale.getFormattedLabel(n,o,t)}}(t):isString$2(t)?function(t){return function(n){var o=e.scale.getLabel(n);return t.replace("{value}",null!=o?o:"")}}(t):isFunction$2(t)?function(t){return function(o,r){return null!=n&&(r=o.value-n),t(getAxisRawValue(e,o),r,null!=o.level?{level:o.level}:null)}}(t):function(t){return e.scale.getLabel(t)}}function getAxisRawValue(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function estimateLabelUnionRect(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var o,r,i=n.getExtent();r=n instanceof OrdinalScale?n.count():(o=n.getTicks()).length;var a,l=e.getLabelModel(),s=makeLabelFormatter(e),c=1;r>40&&(c=Math.ceil(r/40));for(var u=0;u<r;u+=c){var d=s(o?o[u]:{value:i[0]+u},u),p=rotateTextRect(l.getTextRect(d),l.get("rotate")||0);a?a.union(p):a=p}return a}}function rotateTextRect(e,t){var n=t*Math.PI/180,o=e.width,r=e.height,i=o*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=o*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new BoundingRect(e.x,e.y,i,a)}function getOptionCategoryInterval(e){var t=e.get("interval");return null==t?"auto":t}function shouldShowAllLabels(e){return"category"===e.type&&0===getOptionCategoryInterval(e.getLabelModel())}function getDataDimensionsOnAxis(e,t){var n={};return each$f(e.mapDimensionsAll(t),(function(t){n[getStackedDimension(e,t)]=!0})),keys(n)}function unionAxisExtentFromData(e,t,n){t&&each$f(getDataDimensionsOnAxis(t,n),(function(n){var o=t.getApproximateExtent(n);o[0]<e[0]&&(e[0]=o[0]),o[1]>e[1]&&(e[1]=o[1])}))}var AxisModelCommonMixin=function(){function e(){}return e.prototype.getNeedCrossZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}(),EPSILON=1e-8;function isAroundEqual(e,t){return Math.abs(e-t)<EPSILON}function contain(e,t,n){var o=0,r=e[0];if(!r)return!1;for(var i=1;i<e.length;i++){var a=e[i];o+=windingLine(r[0],r[1],a[0],a[1],t,n),r=a}var l=e[0];return isAroundEqual(r[0],l[0])&&isAroundEqual(r[1],l[1])||(o+=windingLine(r[0],r[1],l[0],l[1],t,n)),0!==o}var TMP_TRANSFORM=[];function transformPoints(e,t){for(var n=0;n<e.length;n++)applyTransform$1(e[n],e[n],t)}function updateBBoxFromPoints(e,t,n,o){for(var r=0;r<e.length;r++){var i=e[r];o&&(i=o.project(i)),i&&isFinite(i[0])&&isFinite(i[1])&&(min$2(t,t,i),max$2(n,n,i))}}function centroid$1(e){for(var t=0,n=0,o=0,r=e.length,i=e[r-1][0],a=e[r-1][1],l=0;l<r;l++){var s=e[l][0],c=e[l][1],u=i*c-s*a;t+=u,n+=(i+s)*u,o+=(a+c)*u,i=s,a=c}return t?[n/t/3,o/t/3,t]:[e[0][0]||0,e[0][1]||0]}var Region=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}(),GeoJSONPolygonGeometry=function(){return function(e,t){this.type="polygon",this.exterior=e,this.interiors=t}}(),GeoJSONLineStringGeometry=function(){return function(e){this.type="linestring",this.points=e}}(),GeoJSONRegion=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.type="geoJSON",r.geometries=n,r._center=o&&[o[0],o[1]],r}return __extends(t,e),t.prototype.calcCenter=function(){for(var e,t=this.geometries,n=0,o=0;o<t.length;o++){var r=t[o],i=r.exterior,a=i&&i.length;a>n&&(e=r,n=a)}if(e)return centroid$1(e.exterior);var l=this.getBoundingRect();return[l.x+l.width/2,l.y+l.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var n=[1/0,1/0],o=[-1/0,-1/0];return each$f(this.geometries,(function(t){"polygon"===t.type?updateBBoxFromPoints(t.exterior,n,o,e):each$f(t.points,(function(t){updateBBoxFromPoints(t,n,o,e)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(o[0])&&isFinite(o[1])||(n[0]=n[1]=o[0]=o[1]=0),t=new BoundingRect(n[0],n[1],o[0]-n[0],o[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 o=0,r=n.length;o<r;o++){var i=n[o];if("polygon"===i.type){var a=i.exterior,l=i.interiors;if(contain(a,e[0],e[1])){for(var s=0;s<(l?l.length:0);s++)if(contain(l[s],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,t,n,o){var r=this.getBoundingRect(),i=r.width/r.height;n?o||(o=n/i):n=i*o;for(var a=new BoundingRect(e,t,n,o),l=r.calculateTransform(a),s=this.geometries,c=0;c<s.length;c++){var u=s[c];"polygon"===u.type?(transformPoints(u.exterior,l),each$f(u.interiors,(function(e){transformPoints(e,l)}))):each$f(u.points,(function(e){transformPoints(e,l)}))}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.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}(Region),GeoSVGRegion=function(e){function t(t,n){var o=e.call(this,t)||this;return o.type="geoSVG",o._elOnlyForCalculate=n,o}return __extends(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],o=identity$1(TMP_TRANSFORM),r=e;r&&!r.isGeoSVGGraphicRoot;)mul(o,r.getLocalTransform(),o),r=r.parent;return invert(o,o),applyTransform$1(n,n,o),n},t}(Region);function decode(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;return null==n&&(n=1024),each$f(t.features,(function(e){var t=e.geometry,o=t.encodeOffsets,r=t.coordinates;if(o)switch(t.type){case"LineString":t.coordinates=decodeRing(r,o,n);break;case"Polygon":case"MultiLineString":decodeRings(r,o,n);break;case"MultiPolygon":each$f(r,(function(e,t){return decodeRings(e,o[t],n)}))}})),t.UTF8Encoding=!1,t}function decodeRings(e,t,n){for(var o=0;o<e.length;o++)e[o]=decodeRing(e[o],t[o],n)}function decodeRing(e,t,n){for(var o=[],r=t[0],i=t[1],a=0;a<e.length;a+=2){var l=e.charCodeAt(a)-64,s=e.charCodeAt(a+1)-64;l=l>>1^-(1&l),s=s>>1^-(1&s),r=l+=r,i=s+=i,o.push([l/n,s/n])}return o}function parseGeoJSON(e,t){return map$1(filter((e=decode(e)).features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,o=e.geometry,r=[];switch(o.type){case"Polygon":var i=o.coordinates;r.push(new GeoJSONPolygonGeometry(i[0],i.slice(1)));break;case"MultiPolygon":each$f(o.coordinates,(function(e){e[0]&&r.push(new GeoJSONPolygonGeometry(e[0],e.slice(1)))}));break;case"LineString":r.push(new GeoJSONLineStringGeometry([o.coordinates]));break;case"MultiLineString":r.push(new GeoJSONLineStringGeometry(o.coordinates))}var a=new GeoJSONRegion(n[t||"name"],r,n.cp);return a.properties=n,a}))}var inner$g=makeInner();function tickValuesToNumbers(e,t){var n=map$1(t,(function(t){return e.scale.parse(t)}));return"time"===e.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function createAxisLabels(e){var t=e.getLabelModel().get("customValues");if(t){var n=makeLabelFormatter(e),o=e.scale.getExtent();return{labels:map$1(filter(tickValuesToNumbers(e,t),(function(e){return e>=o[0]&&e<=o[1]})),(function(t){var o={value:t};return{formattedLabel:n(o),rawLabel:e.scale.getLabel(o),tickValue:t}}))}}return"category"===e.type?makeCategoryLabels(e):makeRealNumberLabels(e)}function createAxisTicks(e,t){var n=e.getTickModel().get("customValues");if(n){var o=e.scale.getExtent();return{ticks:filter(tickValuesToNumbers(e,n),(function(e){return e>=o[0]&&e<=o[1]}))}}return"category"===e.type?makeCategoryTicks(e,t):{ticks:map$1(e.scale.getTicks(),(function(e){return e.value}))}}function makeCategoryLabels(e){var t=e.getLabelModel(),n=makeCategoryLabelsActually(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function makeCategoryLabelsActually(e,t){var n,o=getListCache(e,"labels"),r=getOptionCategoryInterval(t),i=listCacheGet(o,r);return i||listCacheSet(o,r,{labels:isFunction$2(r)?makeLabelsByCustomizedCategoryInterval(e,r):makeLabelsByNumericCategoryInterval(e,n="auto"===r?makeAutoCategoryInterval(e):r),labelCategoryInterval:n})}function makeCategoryTicks(e,t){var n,o,r=getListCache(e,"ticks"),i=getOptionCategoryInterval(t),a=listCacheGet(r,i);if(a)return a;if(t.get("show")&&!e.scale.isBlank()||(n=[]),isFunction$2(i))n=makeLabelsByCustomizedCategoryInterval(e,i,!0);else if("auto"===i){var l=makeCategoryLabelsActually(e,e.getLabelModel());o=l.labelCategoryInterval,n=map$1(l.labels,(function(e){return e.tickValue}))}else n=makeLabelsByNumericCategoryInterval(e,o=i,!0);return listCacheSet(r,i,{ticks:n,tickCategoryInterval:o})}function makeRealNumberLabels(e){var t=e.scale.getTicks(),n=makeLabelFormatter(e);return{labels:map$1(t,(function(t,o){return{level:t.level,formattedLabel:n(t,o),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}function getListCache(e,t){return inner$g(e)[t]||(inner$g(e)[t]=[])}function listCacheGet(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function listCacheSet(e,t,n){return e.push({key:t,value:n}),n}function makeAutoCategoryInterval(e){var t=inner$g(e).autoInterval;return null!=t?t:inner$g(e).autoInterval=e.calculateCategoryInterval()}function calculateCategoryInterval(e){var t=fetchAutoCategoryIntervalCalculationParams(e),n=makeLabelFormatter(e),o=(t.axisRotate-t.labelRotate)/180*Math.PI,r=e.scale,i=r.getExtent(),a=r.count();if(i[1]-i[0]<1)return 0;var l=1;a>40&&(l=Math.max(1,Math.floor(a/40)));for(var s=i[0],c=e.dataToCoord(s+1)-e.dataToCoord(s),u=Math.abs(c*Math.cos(o)),d=Math.abs(c*Math.sin(o)),p=0,f=0;s<=i[1];s+=l){var h,m,g=getBoundingRect(n({value:s}),t.font,"center","top");h=1.3*g.width,m=1.3*g.height,p=Math.max(p,h,7),f=Math.max(f,m,7)}var v=p/u,y=f/d;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(v,y))),_=inner$g(e.model),w=e.getExtent(),k=_.lastAutoInterval,x=_.lastTickCount;return null!=k&&null!=x&&Math.abs(k-b)<=1&&Math.abs(x-a)<=1&&k>b&&_.axisExtent0===w[0]&&_.axisExtent1===w[1]?b=k:(_.lastTickCount=a,_.lastAutoInterval=b,_.axisExtent0=w[0],_.axisExtent1=w[1]),b}function fetchAutoCategoryIntervalCalculationParams(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()}}function makeLabelsByNumericCategoryInterval(e,t,n){var o=makeLabelFormatter(e),r=e.scale,i=r.getExtent(),a=e.getLabelModel(),l=[],s=Math.max((t||0)+1,1),c=i[0],u=r.count();0!==c&&s>1&&u/s>2&&(c=Math.round(Math.ceil(c/s)*s));var d=shouldShowAllLabels(e),p=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;p&&c!==i[0]&&m(i[0]);for(var h=c;h<=i[1];h+=s)m(h);function m(e){var t={value:e};l.push(n?e:{formattedLabel:o(t),rawLabel:r.getLabel(t),tickValue:e})}return f&&h-s!==i[1]&&m(i[1]),l}function makeLabelsByCustomizedCategoryInterval(e,t,n){var o=e.scale,r=makeLabelFormatter(e),i=[];return each$f(o.getTicks(),(function(e){var a=o.getLabel(e),l=e.value;t(e.value,a)&&i.push(n?l:{formattedLabel:r(e),rawLabel:a,tickValue:l})})),i}var NORMALIZED_EXTENT=[0,1],Axis=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]),o=Math.max(t[0],t[1]);return e>=n&&e<=o},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return getPixelPrecision(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,o=this.scale;return e=o.normalize(e),this.onBand&&"ordinal"===o.type&&fixExtentWithBands(n=n.slice(),o.count()),linearMap$2(e,NORMALIZED_EXTENT,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,o=this.scale;this.onBand&&"ordinal"===o.type&&fixExtentWithBands(n=n.slice(),o.count());var r=linearMap$2(e,n,NORMALIZED_EXTENT,t);return this.scale.scale(r)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=map$1(createAxisTicks(this,t).ticks,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this);return fixOnBandTicksCoords(this,n,t.get("alignWithLabel"),e.clamp),n},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick").get("splitNumber");return e>0&&e<100||(e=5),map$1(this.scale.getMinorTicks(e),(function(e){return map$1(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this)},e.prototype.getViewLabels=function(){return createAxisLabels(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 o=Math.abs(e[1]-e[0]);return Math.abs(o)/n},e.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},e}();function fixExtentWithBands(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}function fixOnBandTicksCoords(e,t,n,o){var r=t.length;if(e.onBand&&!n&&r){var i,a,l=e.getExtent();if(1===r)t[0].coord=l[0],i=t[1]={coord:l[1],tickValue:t[0].tickValue};else{var s=t[r-1].tickValue-t[0].tickValue,c=(t[r-1].coord-t[0].coord)/s;each$f(t,(function(e){e.coord-=c/2}));var u=e.scale.getExtent();a=1+u[1]-t[r-1].tickValue,i={coord:t[r-1].coord+c*a,tickValue:u[1]+1},t.push(i)}var d=l[0]>l[1];p(t[0].coord,l[0])&&(o?t[0].coord=l[0]:t.shift()),o&&p(l[0],t[0].coord)&&t.unshift({coord:l[0]}),p(l[1],i.coord)&&(o?i.coord=l[1]:t.pop()),o&&p(i.coord,l[1])&&t.push({coord:l[1]})}function p(e,t){return e=round$3(e),t=round$3(t),d?e>t:e<t}}var PI2$2=2*Math.PI,CMD$1=PathProxy.CMD,DEFAULT_SEARCH_SPACE=["top","right","bottom","left"];function getCandidateAnchor(e,t,n,o,r){var i=n.width,a=n.height;switch(e){case"top":o.set(n.x+i/2,n.y-t),r.set(0,-1);break;case"bottom":o.set(n.x+i/2,n.y+a+t),r.set(0,1);break;case"left":o.set(n.x-t,n.y+a/2),r.set(-1,0);break;case"right":o.set(n.x+i+t,n.y+a/2),r.set(1,0)}}function projectPointToArc(e,t,n,o,r,i,a,l,s){a-=e,l-=t;var c=Math.sqrt(a*a+l*l),u=(a/=c)*n+e,d=(l/=c)*n+t;if(Math.abs(o-r)%PI2$2<1e-4)return s[0]=u,s[1]=d,c-n;if(i){var p=o;o=normalizeRadian(r),r=normalizeRadian(p)}else o=normalizeRadian(o),r=normalizeRadian(r);o>r&&(r+=PI2$2);var f=Math.atan2(l,a);if(f<0&&(f+=PI2$2),f>=o&&f<=r||f+PI2$2>=o&&f+PI2$2<=r)return s[0]=u,s[1]=d,c-n;var h=n*Math.cos(o)+e,m=n*Math.sin(o)+t,g=n*Math.cos(r)+e,v=n*Math.sin(r)+t,y=(h-a)*(h-a)+(m-l)*(m-l),b=(g-a)*(g-a)+(v-l)*(v-l);return y<b?(s[0]=h,s[1]=m,Math.sqrt(y)):(s[0]=g,s[1]=v,Math.sqrt(b))}function projectPointToLine(e,t,n,o,r,i,a,l){var s=r-e,c=i-t,u=n-e,d=o-t,p=Math.sqrt(u*u+d*d),f=(s*(u/=p)+c*(d/=p))/p;l&&(f=Math.min(Math.max(f,0),1)),f*=p;var h=a[0]=e+f*u,m=a[1]=t+f*d;return Math.sqrt((h-r)*(h-r)+(m-i)*(m-i))}function projectPointToRect(e,t,n,o,r,i,a){n<0&&(e+=n,n=-n),o<0&&(t+=o,o=-o);var l=e+n,s=t+o,c=a[0]=Math.min(Math.max(r,e),l),u=a[1]=Math.min(Math.max(i,t),s);return Math.sqrt((c-r)*(c-r)+(u-i)*(u-i))}var tmpPt=[];function nearestPointOnRect(e,t,n){var o=projectPointToRect(t.x,t.y,t.width,t.height,e.x,e.y,tmpPt);return n.set(tmpPt[0],tmpPt[1]),o}function nearestPointOnPath(e,t,n){for(var o,r,i=0,a=0,l=0,s=0,c=1/0,u=t.data,d=e.x,p=e.y,f=0;f<u.length;){var h=u[f++];1===f&&(l=i=u[f],s=a=u[f+1]);var m=c;switch(h){case CMD$1.M:i=l=u[f++],a=s=u[f++];break;case CMD$1.L:m=projectPointToLine(i,a,u[f],u[f+1],d,p,tmpPt,!0),i=u[f++],a=u[f++];break;case CMD$1.C:m=cubicProjectPoint(i,a,u[f++],u[f++],u[f++],u[f++],u[f],u[f+1],d,p,tmpPt),i=u[f++],a=u[f++];break;case CMD$1.Q:m=quadraticProjectPoint(i,a,u[f++],u[f++],u[f],u[f+1],d,p,tmpPt),i=u[f++],a=u[f++];break;case CMD$1.A:var g=u[f++],v=u[f++],y=u[f++],b=u[f++],_=u[f++],w=u[f++];f+=1;var k=!!(1-u[f++]);o=Math.cos(_)*y+g,r=Math.sin(_)*b+v,f<=1&&(l=o,s=r),m=projectPointToArc(g,v,b,_,_+w,k,(d-g)*b/y+g,p,tmpPt),i=Math.cos(_+w)*y+g,a=Math.sin(_+w)*b+v;break;case CMD$1.R:m=projectPointToRect(l=i=u[f++],s=a=u[f++],u[f++],u[f++],d,p,tmpPt);break;case CMD$1.Z:m=projectPointToLine(i,a,l,s,d,p,tmpPt,!0),i=l,a=s}m<c&&(c=m,n.set(tmpPt[0],tmpPt[1]))}return c}var pt0=new Point,pt1=new Point,pt2=new Point,dir=new Point,dir2=new Point;function updateLabelLinePoints(e,t){if(e){var n=e.getTextGuideLine(),o=e.getTextContent();if(o&&n){var r=e.textGuideLineConfig||{},i=[[0,0],[0,0],[0,0]],a=r.candidates||DEFAULT_SEARCH_SPACE,l=o.getBoundingRect().clone();l.applyTransform(o.getComputedTransform());var s=1/0,c=r.anchor,u=e.getComputedTransform(),d=u&&invert([],u),p=t.get("length2")||0;c&&pt2.copy(c);for(var f=0;f<a.length;f++){getCandidateAnchor(a[f],0,l,pt0,dir),Point.scaleAndAdd(pt1,pt0,dir,p),pt1.transform(d);var h=e.getBoundingRect(),m=c?c.distance(pt1):e instanceof Path?nearestPointOnPath(pt1,e.path,pt2):nearestPointOnRect(pt1,h,pt2);m<s&&(s=m,pt1.transform(u),pt2.transform(u),pt2.toArray(i[0]),pt1.toArray(i[1]),pt0.toArray(i[2]))}limitTurnAngle(i,t.get("minTurnAngle")),n.setShape({points:i})}}}var tmpArr=[],tmpProjPoint=new Point;function limitTurnAngle(e,t){if(t<=180&&t>0){t=t/180*Math.PI,pt0.fromArray(e[0]),pt1.fromArray(e[1]),pt2.fromArray(e[2]),Point.sub(dir,pt0,pt1),Point.sub(dir2,pt2,pt1);var n=dir.len(),o=dir2.len();if(!(n<.001||o<.001)){dir.scale(1/n),dir2.scale(1/o);var r=dir.dot(dir2);if(Math.cos(t)<r){var i=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr),tmpProjPoint.scaleAndAdd(dir2,i/Math.tan(Math.PI-t));var a=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(a))return;a<0?Point.copy(tmpProjPoint,pt1):a>1&&Point.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(e[1])}}}}function limitSurfaceAngle(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,pt0.fromArray(e[0]),pt1.fromArray(e[1]),pt2.fromArray(e[2]),Point.sub(dir,pt1,pt0),Point.sub(dir2,pt2,pt1);var o=dir.len(),r=dir2.len();if(!(o<.001||r<.001))if(dir.scale(1/o),dir2.scale(1/r),dir.dot(t)<Math.cos(n)){var i=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr);var a=Math.PI/2,l=a+Math.acos(dir2.dot(t))-n;if(l>=a)Point.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,i/Math.tan(Math.PI/2-l));var s=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(s))return;s<0?Point.copy(tmpProjPoint,pt1):s>1&&Point.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(e[1])}}}function setLabelLineState(e,t,n,o){var r="normal"===n,i=r?e:e.ensureState(n);i.ignore=t;var a=o.get("smooth");a&&!0===a&&(a=.3),i.shape=i.shape||{},a>0&&(i.shape.smooth=a);var l=o.getModel("lineStyle").getLineStyle();r?e.useStyle(l):i.style=l}function buildLabelLinePath(e,t){var n=t.smooth,o=t.points;if(o)if(e.moveTo(o[0][0],o[0][1]),n>0&&o.length>=3){var r=dist$1(o[0],o[1]),i=dist$1(o[1],o[2]);if(!r||!i)return e.lineTo(o[1][0],o[1][1]),void e.lineTo(o[2][0],o[2][1]);var a=Math.min(r,i)*n,l=lerp$1([],o[1],o[0],a/r),s=lerp$1([],o[1],o[2],a/i),c=lerp$1([],l,s,.5);e.bezierCurveTo(l[0],l[1],l[0],l[1],c[0],c[1]),e.bezierCurveTo(s[0],s[1],s[0],s[1],o[2][0],o[2][1])}else for(var u=1;u<o.length;u++)e.lineTo(o[u][0],o[u][1])}function setLabelLineStyle(e,t,n){var o=e.getTextGuideLine(),r=e.getTextContent();if(r){for(var i=t.normal,a=i.get("show"),l=r.ignore,s=0;s<DISPLAY_STATES.length;s++){var c=DISPLAY_STATES[s],u=t[c],d="normal"===c;if(u){var p=u.get("show");if((d?l:retrieve2(r.states[c]&&r.states[c].ignore,l))||!retrieve2(p,a)){var f=d?o:o&&o.states[c];f&&(f.ignore=!0),o&&setLabelLineState(o,!0,c,u);continue}o||(o=new Polyline$1,e.setTextGuideLine(o),d||!l&&a||setLabelLineState(o,!0,"normal",t.normal),e.stateProxy&&(o.stateProxy=e.stateProxy)),setLabelLineState(o,!1,c,u)}}if(o){defaults$1(o.style,n),o.style.fill=null;var h=i.get("showAbove");(e.textGuideLineConfig=e.textGuideLineConfig||{}).showAbove=h||!1,o.buildPath=buildLabelLinePath}}else o&&e.removeTextGuideLine()}function getLabelLineStatesModels(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},o=0;o<SPECIAL_STATES.length;o++){var r=SPECIAL_STATES[o];n[r]=e.getModel([r,t])}return n}function prepareLayoutList(e){for(var t=[],n=0;n<e.length;n++){var o=e[n];if(!o.defaultAttr.ignore){var r=o.label,i=r.getComputedTransform(),a=r.getBoundingRect(),l=!i||i[1]<1e-5&&i[2]<1e-5,s=r.style.margin||0,c=a.clone();c.applyTransform(i),c.x-=s/2,c.y-=s/2,c.width+=s,c.height+=s;var u=l?new OrientedBoundingRect(a,i):null;t.push({label:r,labelLine:o.labelLine,rect:c,localRect:a,obb:u,priority:o.priority,defaultAttr:o.defaultAttr,layoutOption:o.computedLayoutOption,axisAligned:l,transform:i})}}return t}function shiftLayout(e,t,n,o,r,i){var a=e.length;if(!(a<2)){e.sort((function(e,n){return e.rect[t]-n.rect[t]}));for(var l,s=0,c=!1,u=0;u<a;u++){var d=e[u],p=d.rect;(l=p[t]-s)<0&&(p[t]-=l,d.label[t]-=l,c=!0),s=p[t]+p[n]}var f,h,m=e[0],g=e[a-1];return v(),f<0&&_(-f,.8),h<0&&_(h,.8),v(),y(f,h,1),y(h,f,-1),v(),f<0&&w(-f),h<0&&w(h),c}function v(){f=m.rect[t]-o,h=r-g.rect[t]-g.rect[n]}function y(e,t,n){if(e<0){var o=Math.min(t,-e);if(o>0){b(o*n,0,a);var r=o+e;r<0&&_(-r*n,1)}else _(-e*n,1)}}function b(n,o,r){0!==n&&(c=!0);for(var i=o;i<r;i++){var a=e[i];a.rect[t]+=n,a.label[t]+=n}}function _(o,r){for(var i=[],l=0,s=1;s<a;s++){var c=e[s-1].rect,u=Math.max(e[s].rect[t]-c[t]-c[n],0);i.push(u),l+=u}if(l){var d=Math.min(Math.abs(o)/l,r);if(o>0)for(s=0;s<a-1;s++){b(i[s]*d,0,s+1)}else for(s=a-1;s>0;s--){b(-(i[s-1]*d),s,a)}}}function w(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),o=0;o<a-1;o++)if(t>0?b(n,0,o+1):b(-n,a-o-1,a),(e-=n)<=0)return}}function shiftLayoutOnX(e,t,n,o){return shiftLayout(e,"x","width",t,n)}function shiftLayoutOnY(e,t,n,o){return shiftLayout(e,"y","height",t,n)}function hideOverlap(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new BoundingRect(0,0,0,0);function o(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var r=0;r<e.length;r++){var i=e[r],a=i.axisAligned,l=i.localRect,s=i.transform,c=i.label,u=i.labelLine;n.copy(i.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var d=i.obb,p=!1,f=0;f<t.length;f++){var h=t[f];if(n.intersect(h.rect)){if(a&&h.axisAligned){p=!0;break}if(h.obb||(h.obb=new OrientedBoundingRect(h.localRect,h.transform)),d||(d=new OrientedBoundingRect(l,s)),d.intersect(h.obb)){p=!0;break}}}p?(o(c),u&&o(u)):(c.attr("ignore",i.defaultAttr.ignore),u&&u.attr("ignore",i.defaultAttr.labelGuideIgnore),t.push(i))}}function cloneArr(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}function prepareLayoutCallbackParams(e,t){var n=e.label,o=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:cloneArr(o&&o.shape.points)}}var LABEL_OPTION_TO_STYLE_KEYS=["align","verticalAlign","width","height","fontSize"],dummyTransformable=new Transformable,labelLayoutInnerStore=makeInner(),labelLineAnimationStore=makeInner();function extendWithKeys(e,t,n){for(var o=0;o<n.length;o++){var r=n[o];null!=t[r]&&(e[r]=t[r])}}var LABEL_LAYOUT_PROPS=["x","y","rotation"],LabelManager=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(e,t,n,o,r){var i=o.style,a=o.__hostTarget.textConfig||{},l=o.getComputedTransform(),s=o.getBoundingRect().plain();BoundingRect.applyTransform(s,s,l),l?dummyTransformable.setLocalTransform(l):(dummyTransformable.x=dummyTransformable.y=dummyTransformable.rotation=dummyTransformable.originX=dummyTransformable.originY=0,dummyTransformable.scaleX=dummyTransformable.scaleY=1),dummyTransformable.rotation=normalizeRadian(dummyTransformable.rotation);var c,u=o.__hostTarget;if(u){c=u.getBoundingRect().plain();var d=u.getComputedTransform();BoundingRect.applyTransform(c,c,d)}var p=c&&u.getTextGuideLine();this._labelList.push({label:o,labelLine:p,seriesModel:n,dataIndex:e,dataType:t,layoutOption:r,computedLayoutOption:null,rect:s,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:o.ignore,labelGuideIgnore:p&&p.ignore,x:dummyTransformable.x,y:dummyTransformable.y,scaleX:dummyTransformable.scaleX,scaleY:dummyTransformable.scaleY,rotation:dummyTransformable.rotation,style:{x:i.x,y:i.y,align:i.align,verticalAlign:i.verticalAlign,width:i.width,height:i.height,fontSize:i.fontSize},cursor:o.cursor,attachedPos:a.position,attachedRot:a.rotation}})},e.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var n=e.__model,o=n.get("labelLayout");(isFunction$2(o)||keys(o).length)&&e.group.traverse((function(e){if(e.ignore)return!0;var r=e.getTextContent(),i=getECData(e);r&&!r.disableLabelLayout&&t._addLabel(i.dataIndex,i.dataType,n,r,o)}))},e.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),n=e.getHeight();function o(e,t){return function(){updateLabelLinePoints(e,t)}}for(var r=0;r<this._labelList.length;r++){var i=this._labelList[r],a=i.label,l=a.__hostTarget,s=i.defaultAttr,c=void 0;c=(c=isFunction$2(i.layoutOption)?i.layoutOption(prepareLayoutCallbackParams(i,l)):i.layoutOption)||{},i.computedLayoutOption=c;var u=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:s.attachedPos,rotation:null!=c.rotate?c.rotate*u:s.attachedRot,offset:[c.dx||0,c.dy||0]});var d=!1;if(null!=c.x?(a.x=parsePercent(c.x,t),a.setStyle("x",0),d=!0):(a.x=s.x,a.setStyle("x",s.style.x)),null!=c.y?(a.y=parsePercent(c.y,n),a.setStyle("y",0),d=!0):(a.y=s.y,a.setStyle("y",s.style.y)),c.labelLinePoints){var p=l.getTextGuideLine();p&&(p.setShape({points:c.labelLinePoints}),d=!1)}labelLayoutInnerStore(a).needsUpdateLabelLine=d,a.rotation=null!=c.rotate?c.rotate*u:s.rotation,a.scaleX=s.scaleX,a.scaleY=s.scaleY;for(var f=0;f<LABEL_OPTION_TO_STYLE_KEYS.length;f++){var h=LABEL_OPTION_TO_STYLE_KEYS[f];a.setStyle(h,null!=c[h]?c[h]:s.style[h])}if(c.draggable){if(a.draggable=!0,a.cursor="move",l){var m=i.seriesModel;if(null!=i.dataIndex)m=i.seriesModel.getData(i.dataType).getItemModel(i.dataIndex);a.on("drag",o(l,m.getModel("labelLine")))}}else a.off("drag"),a.cursor=s.cursor}},e.prototype.layout=function(e){var t=e.getWidth(),n=e.getHeight(),o=prepareLayoutList(this._labelList),r=filter(o,(function(e){return"shiftX"===e.layoutOption.moveOverlap})),i=filter(o,(function(e){return"shiftY"===e.layoutOption.moveOverlap}));shiftLayoutOnX(r,0,t),shiftLayoutOnY(i,0,n),hideOverlap(filter(o,(function(e){return e.layoutOption.hideOverlap})))},e.prototype.processLabelsOverall=function(){var e=this;each$f(this._chartViewList,(function(t){var n=t.__model,o=t.ignoreLabelLineUpdate,r=n.isAnimationEnabled();t.group.traverse((function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var i=!o,a=t.getTextContent();!i&&a&&(i=labelLayoutInnerStore(a).needsUpdateLabelLine),i&&e._updateLabelLine(t,n),r&&e._animateLabels(t,n)}))}))},e.prototype._updateLabelLine=function(e,t){var n=e.getTextContent(),o=getECData(e),r=o.dataIndex;if(n&&null!=r){var i=t.getData(o.dataType),a=i.getItemModel(r),l={},s=i.getItemVisual(r,"style");if(s){var c=i.getVisual("drawType");l.stroke=s[c]}var u=a.getModel("labelLine");setLabelLineStyle(e,getLabelLineStatesModels(a),l),updateLabelLinePoints(e,u)}},e.prototype._animateLabels=function(e,t){var n=e.getTextContent(),o=e.getTextGuideLine();if(n&&(e.forceLabelAnimation||!n.ignore&&!n.invisible&&!e.disableLabelAnimation&&!isElementRemoved(e))){var r=(f=labelLayoutInnerStore(n)).oldLayout,i=getECData(e),a=i.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},s=t.getData(i.dataType);if(r){n.attr(r);var c=e.prevStates;c&&(indexOf(c,"select")>=0&&n.attr(f.oldLayoutSelect),indexOf(c,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),updateProps$1(n,l,t,a)}else if(n.attr(l),!labelInner(n).valueAnimation){var u=retrieve2(n.style.opacity,1);n.style.opacity=0,initProps(n,{style:{opacity:u}},t,a)}if(f.oldLayout=l,n.states.select){var d=f.oldLayoutSelect={};extendWithKeys(d,l,LABEL_LAYOUT_PROPS),extendWithKeys(d,n.states.select,LABEL_LAYOUT_PROPS)}if(n.states.emphasis){var p=f.oldLayoutEmphasis={};extendWithKeys(p,l,LABEL_LAYOUT_PROPS),extendWithKeys(p,n.states.emphasis,LABEL_LAYOUT_PROPS)}animateLabelValue(n,a,s,t,t)}if(o&&!o.ignore&&!o.invisible){r=(f=labelLineAnimationStore(o)).oldLayout;var f,h={points:o.shape.points};r?(o.attr({shape:r}),updateProps$1(o,{shape:h},t)):(o.setShape(h),o.style.strokePercent=0,initProps(o,{style:{strokePercent:1}},t)),f.oldLayout=h}},e}(),getLabelManager=makeInner();function installLabelLayout(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){var o=getLabelManager(t).labelManager;o||(o=getLabelManager(t).labelManager=new LabelManager),o.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var o=getLabelManager(t).labelManager;n.updatedSeries.forEach((function(e){o.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),o.updateLayoutConfig(t),o.layout(t),o.processLabelsOverall()}))}var mathSin=Math.sin,mathCos=Math.cos,PI$4=Math.PI,PI2$1=2*Math.PI,degree=180/PI$4,SVGPathRebuilder=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,o,r,i){this._add("C",e,t,n,o,r,i)},e.prototype.quadraticCurveTo=function(e,t,n,o){this._add("Q",e,t,n,o)},e.prototype.arc=function(e,t,n,o,r,i){this.ellipse(e,t,n,n,0,o,r,i)},e.prototype.ellipse=function(e,t,n,o,r,i,a,l){var s=a-i,c=!l,u=Math.abs(s),d=isAroundZero(u-PI2$1)||(c?s>=PI2$1:-s>=PI2$1),p=s>0?s%PI2$1:s%PI2$1+PI2$1,f=!1;f=!!d||!isAroundZero(u)&&p>=PI$4==!!c;var h=e+n*mathCos(i),m=t+o*mathSin(i);this._start&&this._add("M",h,m);var g=Math.round(r*degree);if(d){var v=1/this._p,y=(c?1:-1)*(PI2$1-v);this._add("A",n,o,g,1,+c,e+n*mathCos(i+y),t+o*mathSin(i+y)),v>.01&&this._add("A",n,o,g,0,+c,h,m)}else{var b=e+n*mathCos(a),_=t+o*mathSin(a);this._add("A",n,o,g,+f,+c,b,_)}},e.prototype.rect=function(e,t,n,o){this._add("M",e,t),this._add("l",n,0),this._add("l",0,o),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,o,r,i,a,l,s){for(var c=[],u=this._p,d=1;d<arguments.length;d++){var p=arguments[d];if(isNaN(p))return void(this._invalid=!0);c.push(Math.round(p*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}(),NONE="none",mathRound=Math.round;function pathHasFill(e){var t=e.fill;return null!=t&&t!==NONE}function pathHasStroke(e){var t=e.stroke;return null!=t&&t!==NONE}var strokeProps=["lineCap","miterLimit","lineJoin"],svgStrokeProps=map$1(strokeProps,(function(e){return"stroke-"+e.toLowerCase()}));function mapStyleToAttrs(e,t,n,o){var r=null==t.opacity?1:t.opacity;if(n instanceof ZRImage)e("opacity",r);else{if(pathHasFill(t)){var i=normalizeColor(t.fill);e("fill",i.color);var a=null!=t.fillOpacity?t.fillOpacity*i.opacity*r:i.opacity*r;a<1&&e("fill-opacity",a)}else e("fill",NONE);if(pathHasStroke(t)){var l=normalizeColor(t.stroke);e("stroke",l.color);var s=t.strokeNoScale?n.getLineScale():1,c=s?(t.lineWidth||0)/s:0,u=null!=t.strokeOpacity?t.strokeOpacity*l.opacity*r:l.opacity*r,d=t.strokeFirst;if(1!==c&&e("stroke-width",c),d&&e("paint-order",d?"stroke":"fill"),u<1&&e("stroke-opacity",u),t.lineDash){var p=getLineDash(n),f=p[0],h=p[1];f&&(h=mathRound(h||0),e("stroke-dasharray",f.join(",")),(h||o)&&e("stroke-dashoffset",h))}for(var m=0;m<strokeProps.length;m++){var g=strokeProps[m];if(t[g]!==DEFAULT_PATH_STYLE[g]){var v=t[g]||DEFAULT_PATH_STYLE[g];v&&e(svgStrokeProps[m],v)}}}}}var SVGNS="http://www.w3.org/2000/svg",XLINKNS="http://www.w3.org/1999/xlink",XMLNS="http://www.w3.org/2000/xmlns/",XML_NAMESPACE="http://www.w3.org/XML/1998/namespace",META_DATA_PREFIX="ecmeta_";function createElement(e){return document.createElementNS(SVGNS,e)}function createVNode(e,t,n,o,r){return{tag:e,attrs:n||{},children:o,text:r,key:t}}function createElementOpen(e,t){var n=[];if(t)for(var o in t){var r=t[o],i=o;!1!==r&&(!0!==r&&null!=r&&(i+='="'+r+'"'),n.push(i))}return"<"+e+" "+n.join(" ")+">"}function createElementClose(e){return"</"+e+">"}function vNodeToString(e,t){var n=(t=t||{}).newline?"\n":"";return function e(t){var o=t.children,r=t.tag,i=t.attrs,a=t.text;return createElementOpen(r,i)+("style"!==r?encodeHTML(a):a||"")+(o?""+n+map$1(o,(function(t){return e(t)})).join(n)+n:"")+createElementClose(r)}(e)}function getCssString(e,t,n){var o=(n=n||{}).newline?"\n":"",r=" {"+o,i=o+"}",a=map$1(keys(e),(function(t){return t+r+map$1(keys(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(o)+i})).join(o),l=map$1(keys(t),(function(e){return"@keyframes "+e+r+map$1(keys(t[e]),(function(n){return n+r+map$1(keys(t[e][n]),(function(o){var r=t[e][n][o];return"d"===o&&(r='path("'+r+'")'),o+":"+r+";"})).join(o)+i})).join(o)+i})).join(o);return a||l?["<![CDATA[",a,l,"]]>"].join(o):""}function createBrushScope(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(e,t,n,o){return createVNode("svg","root",{width:e,height:t,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:!!o&&"0 0 "+e+" "+t},n)}var cssClassIdx=0;function getClassId(){return cssClassIdx++}var EASING_MAP={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"},transformOriginKey="transform-origin";function buildPathString(e,t,n){var o=extend$1({},e.shape);extend$1(o,t),e.buildPath(n,o);var r=new SVGPathRebuilder;return r.reset(getPathPrecision(e)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function setTransformOrigin(e,t){var n=t.originX,o=t.originY;(n||o)&&(e[transformOriginKey]=n+"px "+o+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function createCompoundPathCSSAnimation(e,t,n){var o,r,i=e.shape.paths,a={};if(each$f(i,(function(e){var t=createBrushScope(n.zrId);t.animation=!0,createCSSAnimation(e,{},t,!0);var i=t.cssAnims,l=t.cssNodes,s=keys(i),c=s.length;if(c){var u=i[r=s[c-1]];for(var d in u){var p=u[d];a[d]=a[d]||{d:""},a[d].d+=p.d||""}for(var f in l){var h=l[f].animation;h.indexOf(r)>=0&&(o=h)}}})),o){t.d=!1;var l=addAnimation(a,n);return o.replace(r,l)}}function getEasingFunc(e){return isString$2(e)?EASING_MAP[e]?"cubic-bezier("+EASING_MAP[e]+")":createCubicEasingFunc(e)?e:"":""}function createCSSAnimation(e,t,n,o){var r=e.animators,i=r.length,a=[];if(e instanceof CompoundPath){if(g=createCompoundPathCSSAnimation(e,t,n))a.push(g);else if(!i)return}else if(!i)return;for(var l={},s=0;s<i;s++){var c=r[s],u=[c.getMaxTime()/1e3+"s"],d=getEasingFunc(c.getClip().easing),p=c.getDelay();d?u.push(d):u.push("linear"),p&&u.push(p/1e3+"s"),c.getLoop()&&u.push("infinite");var f=u.join(" ");l[f]=l[f]||[f,[]],l[f][1].push(c)}function h(r){var i,a=r[1],l=a.length,s={},c={},u={},d="animation-timing-function";function p(e,t,n){for(var o=e.getTracks(),r=e.getMaxTime(),i=0;i<o.length;i++){var a=o[i];if(a.needsAnimate()){var l=a.keyframes,s=a.propName;if(n&&(s=n(s)),s)for(var c=0;c<l.length;c++){var u=l[c],p=Math.round(u.time/r*100)+"%",f=getEasingFunc(u.easing),h=u.rawValue;(isString$2(h)||isNumber$2(h))&&(t[p]=t[p]||{},t[p][s]=u.rawValue,f&&(t[p][d]=f))}}}}for(var f=0;f<l;f++){(x=(k=a[f]).targetName)?"shape"===x&&p(k,c):!o&&p(k,s)}for(var h in s){var m={};copyTransform(m,e),extend$1(m,s[h]);var g=getSRTTransformString(m),v=s[h][d];u[h]=g?{transform:g}:{},setTransformOrigin(u[h],m),v&&(u[h][d]=v)}var y=!0;for(var h in c){u[h]=u[h]||{};var b=!i;v=c[h][d];b&&(i=new PathProxy);var _=i.len();i.reset(),u[h].d=buildPathString(e,c[h],i);var w=i.len();if(!b&&_!==w){y=!1;break}v&&(u[h][d]=v)}if(!y)for(var h in u)delete u[h].d;if(!o)for(f=0;f<l;f++){var k,x;"style"===(x=(k=a[f]).targetName)&&p(k,u,(function(e){return ANIMATE_STYLE_MAP[e]}))}var S,C=keys(u),E=!0;for(f=1;f<C.length;f++){var T=C[f-1],A=C[f];if(u[T][transformOriginKey]!==u[A][transformOriginKey]){E=!1;break}S=u[T][transformOriginKey]}if(E&&S){for(var h in u)u[h][transformOriginKey]&&delete u[h][transformOriginKey];t[transformOriginKey]=S}if(filter(C,(function(e){return keys(u[e]).length>0})).length)return addAnimation(u,n)+" "+r[0]+" both"}for(var m in l){var g;(g=h(l[m]))&&a.push(g)}if(a.length){var v=n.zrId+"-cls-"+getClassId();n.cssNodes["."+v]={animation:a.join(",")},t.class=v}}function createCSSEmphasis(e,t,n){if(!e.ignore)if(e.isSilent()){setClassAttribute(c={"pointer-events":"none"},t,n)}else{var o=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},r=o.fill;if(!r){var i=e.style&&e.style.fill,a=e.states.select&&e.states.select.style&&e.states.select.style.fill,l=e.currentStates.indexOf("select")>=0&&a||i;l&&(r=liftColor(l))}var s=o.lineWidth;if(s)s/=!o.strokeNoScale&&e.transform?e.transform[0]:1;var c={cursor:"pointer"};r&&(c.fill=r),o.stroke&&(c.stroke=o.stroke),s&&(c["stroke-width"]=s),setClassAttribute(c,t,n)}}function setClassAttribute(e,t,n,o){var r=JSON.stringify(e),i=n.cssStyleCache[r];i||(i=n.zrId+"-cls-"+getClassId(),n.cssStyleCache[r]=i,n.cssNodes["."+i+":hover"]=e),t.class=t.class?t.class+" "+i:i}var round$1=Math.round;function isImageLike(e){return e&&isString$2(e.src)}function isCanvasLike(e){return e&&isFunction$2(e.toDataURL)}function setStyleAttrs(e,t,n,o){mapStyleToAttrs((function(r,i){var a="fill"===r||"stroke"===r;a&&isGradient(i)?setGradient(t,e,r,o):a&&isPattern(i)?setPattern(n,e,r,o):e[r]=i,a&&o.ssr&&"none"===i&&(e["pointer-events"]="visible")}),t,n,!1),setShadow(n,e,o)}function setMetaData(e,t){var n=getElementSSRData(t);n&&(n.each((function(t,n){null!=t&&(e[(META_DATA_PREFIX+n).toLowerCase()]=t+"")})),t.isSilent()&&(e[META_DATA_PREFIX+"silent"]="true"))}function noRotateScale(e){return isAroundZero(e[0]-1)&&isAroundZero(e[1])&&isAroundZero(e[2])&&isAroundZero(e[3]-1)}function noTranslate(e){return isAroundZero(e[4])&&isAroundZero(e[5])}function setTransform(e,t,n){if(t&&(!noTranslate(t)||!noRotateScale(t))){var o=1e4;e.transform=noRotateScale(t)?"translate("+round$1(t[4]*o)/o+" "+round$1(t[5]*o)/o+")":getMatrixStr(t)}}function convertPolyShape(e,t,n){for(var o=e.points,r=[],i=0;i<o.length;i++)r.push(round$1(o[i][0]*n)/n),r.push(round$1(o[i][1]*n)/n);t.points=r.join(" ")}function validatePolyShape(e){return!e.smooth}function createAttrsConvert(e){var t=map$1(e,(function(e){return"string"==typeof e?[e,e]:e}));return function(e,n,o){for(var r=0;r<t.length;r++){var i=t[r],a=e[i[0]];null!=a&&(n[i[1]]=round$1(a*o)/o)}}}var builtinShapesDef={circle:[createAttrsConvert(["cx","cy","r"])],polyline:[convertPolyShape,validatePolyShape],polygon:[convertPolyShape,validatePolyShape]};function hasShapeAnimation(e){for(var t=e.animators,n=0;n<t.length;n++)if("shape"===t[n].targetName)return!0;return!1}function brushSVGPath(e,t){var n=e.style,o=e.shape,r=builtinShapesDef[e.type],i={},a=t.animation,l="path",s=e.style.strokePercent,c=t.compress&&getPathPrecision(e)||4;if(!r||t.willUpdate||r[1]&&!r[1](o)||a&&hasShapeAnimation(e)||s<1){var u=!e.path||e.shapeChanged();e.path||e.createPathProxy();var d=e.path;u&&(d.beginPath(),e.buildPath(d,e.shape),e.pathUpdated());var p=d.getVersion(),f=e,h=f.__svgPathBuilder;f.__svgPathVersion===p&&h&&s===f.__svgPathStrokePercent||(h||(h=f.__svgPathBuilder=new SVGPathRebuilder),h.reset(c),d.rebuildPath(h,s),h.generateStr(),f.__svgPathVersion=p,f.__svgPathStrokePercent=s),i.d=h.getStr()}else{l=e.type;var m=Math.pow(10,c);r[0](o,i,m)}return setTransform(i,e.transform),setStyleAttrs(i,n,e,t),setMetaData(i,e),t.animation&&createCSSAnimation(e,i,t),t.emphasis&&createCSSEmphasis(e,i,t),createVNode(l,e.id+"",i)}function brushSVGImage(e,t){var n=e.style,o=n.image;if(o&&!isString$2(o)&&(isImageLike(o)?o=o.src:isCanvasLike(o)&&(o=o.toDataURL())),o){var r=n.x||0,i=n.y||0,a={href:o,width:n.width,height:n.height};return r&&(a.x=r),i&&(a.y=i),setTransform(a,e.transform),setStyleAttrs(a,n,e,t),setMetaData(a,e),t.animation&&createCSSAnimation(e,a,t),createVNode("image",e.id+"",a)}}function brushSVGTSpan(e,t){var n=e.style,o=n.text;if(null!=o&&(o+=""),o&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||DEFAULT_FONT,i=n.x||0,a=adjustTextY$1(n.y||0,getLineHeight(r),n.textBaseline),l={"dominant-baseline":"central","text-anchor":TEXT_ALIGN_TO_ANCHOR[n.textAlign]||n.textAlign};if(hasSeparateFont(n)){var s="",c=n.fontStyle,u=parseFontSize(n.fontSize);if(!parseFloat(u))return;var d=n.fontFamily||DEFAULT_FONT_FAMILY,p=n.fontWeight;s+="font-size:"+u+";font-family:"+d+";",c&&"normal"!==c&&(s+="font-style:"+c+";"),p&&"normal"!==p&&(s+="font-weight:"+p+";"),l.style=s}else l.style="font: "+r;return o.match(/\s/)&&(l["xml:space"]="preserve"),i&&(l.x=i),a&&(l.y=a),setTransform(l,e.transform),setStyleAttrs(l,n,e,t),setMetaData(l,e),t.animation&&createCSSAnimation(e,l,t),createVNode("text",e.id+"",l,void 0,o)}}function brush(e,t){return e instanceof Path?brushSVGPath(e,t):e instanceof ZRImage?brushSVGImage(e,t):e instanceof TSpan?brushSVGTSpan(e,t):void 0}function setShadow(e,t,n){var o=e.style;if(hasShadow(o)){var r=getShadowKey(e),i=n.shadowCache,a=i[r];if(!a){var l=e.getGlobalScale(),s=l[0],c=l[1];if(!s||!c)return;var u=o.shadowOffsetX||0,d=o.shadowOffsetY||0,p=o.shadowBlur,f=normalizeColor(o.shadowColor),h=f.opacity,m=f.color,g=p/2/s+" "+p/2/c;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=createVNode("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[createVNode("feDropShadow","",{dx:u/s,dy:d/c,stdDeviation:g,"flood-color":m,"flood-opacity":h})]),i[r]=a}t.filter=getIdURL(a)}}function setGradient(e,t,n,o){var r,i=e[n],a={gradientUnits:i.global?"userSpaceOnUse":"objectBoundingBox"};if(isLinearGradient(i))r="linearGradient",a.x1=i.x,a.y1=i.y,a.x2=i.x2,a.y2=i.y2;else{if(!isRadialGradient(i))return;r="radialGradient",a.cx=retrieve2(i.x,.5),a.cy=retrieve2(i.y,.5),a.r=retrieve2(i.r,.5)}for(var l=i.colorStops,s=[],c=0,u=l.length;c<u;++c){var d=100*round4(l[c].offset)+"%",p=normalizeColor(l[c].color),f=p.color,h=p.opacity,m={offset:d};m["stop-color"]=f,h<1&&(m["stop-opacity"]=h),s.push(createVNode("stop",c+"",m))}var g=vNodeToString(createVNode(r,"",a,s)),v=o.gradientCache,y=v[g];y||(y=o.zrId+"-g"+o.gradientIdx++,v[g]=y,a.id=y,o.defs[y]=createVNode(r,y,a,s)),t[n]=getIdURL(y)}function setPattern(e,t,n,o){var r,i=e.style[n],a=e.getBoundingRect(),l={},s=i.repeat,c="no-repeat"===s,u="repeat-x"===s,d="repeat-y"===s;if(isImagePattern(i)){var p=i.imageWidth,f=i.imageHeight,h=void 0,m=i.image;if(isString$2(m)?h=m:isImageLike(m)?h=m.src:isCanvasLike(m)&&(h=m.toDataURL()),"undefined"==typeof Image){var g="Image width/height must been given explictly in svg-ssr renderer.";assert(p,g),assert(f,g)}else if(null==p||null==f){var v=function(e,t){if(e){var n=e.elm,o=p||t.width,r=f||t.height;"pattern"===e.tag&&(u?(r=1,o/=a.width):d&&(o=1,r/=a.height)),e.attrs.width=o,e.attrs.height=r,n&&(n.setAttribute("width",o),n.setAttribute("height",r))}},y=createOrUpdateImage(h,null,e,(function(e){c||v(k,e),v(r,e)}));y&&y.width&&y.height&&(p=p||y.width,f=f||y.height)}r=createVNode("image","img",{href:h,width:p,height:f}),l.width=p,l.height=f}else i.svgElement&&(r=clone$4(i.svgElement),l.width=i.svgWidth,l.height=i.svgHeight);if(r){var b,_;c?b=_=1:u?(_=1,b=l.width/a.width):d?(b=1,_=l.height/a.height):l.patternUnits="userSpaceOnUse",null==b||isNaN(b)||(l.width=b),null==_||isNaN(_)||(l.height=_);var w=getSRTTransformString(i);w&&(l.patternTransform=w);var k=createVNode("pattern","",l,[r]),x=vNodeToString(k),S=o.patternCache,C=S[x];C||(C=o.zrId+"-p"+o.patternIdx++,S[x]=C,l.id=C,k=o.defs[C]=createVNode("pattern",C,l,[r])),t[n]=getIdURL(C)}}function setClipPath(e,t,n){var o=n.clipPathCache,r=n.defs,i=o[e.id];if(!i){var a={id:i=n.zrId+"-c"+n.clipPathIdx++};o[e.id]=i,r[i]=createVNode("clipPath",i,a,[brushSVGPath(e,n)])}t["clip-path"]=getIdURL(i)}function createTextNode(e){return document.createTextNode(e)}function insertBefore(e,t,n){e.insertBefore(t,n)}function removeChild(e,t){e.removeChild(t)}function appendChild(e,t){e.appendChild(t)}function parentNode(e){return e.parentNode}function nextSibling(e){return e.nextSibling}function setTextContent(e,t){e.textContent=t}var colonChar=58,xChar=120,emptyNode=createVNode("","");function isUndef(e){return void 0===e}function isDef$1(e){return void 0!==e}function createKeyToOldIdx(e,t,n){for(var o={},r=t;r<=n;++r){var i=e[r].key;void 0!==i&&(o[i]=r)}return o}function sameVnode(e,t){var n=e.key===t.key;return e.tag===t.tag&&n}function createElm(e){var t,n=e.children,o=e.tag;if(isDef$1(o)){var r=e.elm=createElement(o);if(updateAttrs(emptyNode,e),isArray$2(n))for(t=0;t<n.length;++t){var i=n[t];null!=i&&appendChild(r,createElm(i))}else isDef$1(e.text)&&!isObject$4(e.text)&&appendChild(r,createTextNode(e.text))}else e.elm=createTextNode(e.text);return e.elm}function addVnodes(e,t,n,o,r){for(;o<=r;++o){var i=n[o];null!=i&&insertBefore(e,createElm(i),t)}}function removeVnodes(e,t,n,o){for(;n<=o;++n){var r=t[n];if(null!=r)if(isDef$1(r.tag))removeChild(parentNode(r.elm),r.elm);else removeChild(e,r.elm)}}function updateAttrs(e,t){var n,o=t.elm,r=e&&e.attrs||{},i=t.attrs||{};if(r!==i){for(n in i){var a=i[n];r[n]!==a&&(!0===a?o.setAttribute(n,""):!1===a?o.removeAttribute(n):"style"===n?o.style.cssText=a:n.charCodeAt(0)!==xChar?o.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?o.setAttributeNS(XMLNS,n,a):n.charCodeAt(3)===colonChar?o.setAttributeNS(XML_NAMESPACE,n,a):n.charCodeAt(5)===colonChar?o.setAttributeNS(XLINKNS,n,a):o.setAttribute(n,a))}for(n in r)n in i||o.removeAttribute(n)}}function updateChildren(e,t,n){for(var o,r,i,a=0,l=0,s=t.length-1,c=t[0],u=t[s],d=n.length-1,p=n[0],f=n[d];a<=s&&l<=d;)null==c?c=t[++a]:null==u?u=t[--s]:null==p?p=n[++l]:null==f?f=n[--d]:sameVnode(c,p)?(patchVnode(c,p),c=t[++a],p=n[++l]):sameVnode(u,f)?(patchVnode(u,f),u=t[--s],f=n[--d]):sameVnode(c,f)?(patchVnode(c,f),insertBefore(e,c.elm,nextSibling(u.elm)),c=t[++a],f=n[--d]):sameVnode(u,p)?(patchVnode(u,p),insertBefore(e,u.elm,c.elm),u=t[--s],p=n[++l]):(isUndef(o)&&(o=createKeyToOldIdx(t,a,s)),isUndef(r=o[p.key])||(i=t[r]).tag!==p.tag?insertBefore(e,createElm(p),c.elm):(patchVnode(i,p),t[r]=void 0,insertBefore(e,i.elm,c.elm)),p=n[++l]);(a<=s||l<=d)&&(a>s?addVnodes(e,null==n[d+1]?null:n[d+1].elm,n,l,d):removeVnodes(e,t,a,s))}function patchVnode(e,t){var n=t.elm=e.elm,o=e.children,r=t.children;e!==t&&(updateAttrs(e,t),isUndef(t.text)?isDef$1(o)&&isDef$1(r)?o!==r&&updateChildren(n,o,r):isDef$1(r)?(isDef$1(e.text)&&setTextContent(n,""),addVnodes(n,null,r,0,r.length-1)):isDef$1(o)?removeVnodes(n,o,0,o.length-1):isDef$1(e.text)&&setTextContent(n,""):e.text!==t.text&&(isDef$1(o)&&removeVnodes(n,o,0,o.length-1),setTextContent(n,t.text)))}function patch(e,t){if(sameVnode(e,t))patchVnode(e,t);else{var n=e.elm,o=parentNode(n);createElm(t),null!==o&&(insertBefore(o,t.elm,nextSibling(n)),removeVnodes(o,[e],0,0))}return t}var svgId=0,SVGPainter=function(){function e(e,t,n){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=t,this._opts=n=extend$1({},n),this.root=e,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(n.width,n.height),e&&!n.ssr){var o=this._viewport=document.createElement("div");o.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),o.appendChild(r),e.appendChild(o)}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",patch(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return brush(e,createBrushScope(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,o=this._height,r=createBrushScope(this._id);r.animation=e.animation,r.willUpdate=e.willUpdate,r.compress=e.compress,r.emphasis=e.emphasis,r.ssr=this._opts.ssr;var i=[],a=this._bgVNode=createBackgroundVNode(n,o,this._backgroundColor,r);a&&i.push(a);var l=e.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(t,r,l?l.children:i),l&&i.push(l);var s=map$1(keys(r.defs),(function(e){return r.defs[e]}));if(s.length&&i.push(createVNode("defs","defs",{},s)),e.animation){var c=getCssString(r.cssNodes,r.cssAnims,{newline:!0});if(c){var u=createVNode("style","stl",{},[],c);i.push(u)}}return createSVGVNode(n,o,i,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},vNodeToString(this.renderToVNode({animation:retrieve2(e.cssAnimation,!0),emphasis:retrieve2(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox: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 o,r,i=e.length,a=[],l=0,s=0,c=0;c<i;c++){var u=e[c];if(!u.invisible){var d=u.__clipPaths,p=d&&d.length||0,f=r&&r.length||0,h=void 0;for(h=Math.max(p-1,f-1);h>=0&&(!d||!r||d[h]!==r[h]);h--);for(var m=f-1;m>h;m--)o=a[--l-1];for(var g=h+1;g<p;g++){var v={};setClipPath(d[g],v,t);var y=createVNode("g","clip-g-"+s++,v,[]);(o?o.children:n).push(y),a[l++]=y,o=y}r=d;var b=brush(u,t);b&&(o?o.children:n).push(b)}}},e.prototype.resize=function(e,t){var n=this._opts,o=this.root,r=this._viewport;if(null!=e&&(n.width=e),null!=t&&(n.height=t),o&&r&&(r.style.display="none",e=getSize$1(o,0,n),t=getSize$1(o,1,n),r.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,r){var i=r.style;i.width=e+"px",i.height=t+"px"}if(isPattern(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",e),a.setAttribute("height",t));var l=this._bgVNode&&this._bgVNode.elm;l&&(l.setAttribute("width",e),l.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=encodeBase64(t))&&n+"base64,"+t:n+"charset=UTF-8,"+encodeURIComponent(t)},e}();function createMethodNotSupport(e){return function(){}}function createBackgroundVNode(e,t,n,o){var r;if(n&&"none"!==n)if(r=createVNode("rect","bg",{width:e,height:t,x:"0",y:"0"}),isGradient(n))setGradient({fill:n},r.attrs,"fill",o);else if(isPattern(n))setPattern({style:{fill:n},dirty:noop$2,getBoundingRect:function(){return{width:e,height:t}}},r.attrs,"fill",o);else{var i=normalizeColor(n),a=i.color,l=i.opacity;r.attrs.fill=a,l<1&&(r.attrs["fill-opacity"]=l)}return r}function install$T(e){e.registerPainter("svg",SVGPainter)}function createDom(e,t,n){var o=platformApi.createCanvas(),r=t.getWidth(),i=t.getHeight(),a=o.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=i+"px",o.setAttribute("data-zr-dom-id",e)),o.width=r*n,o.height=i*n,o}var Layer=function(e){function t(t,n,o){var r,i=e.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null,o=o||devicePixelRatio,"string"==typeof t?r=createDom(t,n,o):isObject$4(t)&&(t=(r=t).id),i.id=t,i.dom=r;var a=r.style;return a&&(disableUserSelect(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),i.painter=n,i.dpr=o,i}return __extends(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=createDom("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,o){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,i=[],a=this.maxRepaintRectCount,l=!1,s=new BoundingRect(0,0,0,0);function c(e){if(e.isFinite()&&!e.isZero())if(0===i.length){(t=new BoundingRect(0,0,0,0)).copy(e),i.push(t)}else{for(var t,n=!1,o=1/0,r=0,c=0;c<i.length;++c){var u=i[c];if(u.intersect(e)){var d=new BoundingRect(0,0,0,0);d.copy(u),d.union(e),i[c]=d,n=!0;break}if(l){s.copy(e),s.union(u);var p=e.width*e.height,f=u.width*u.height,h=s.width*s.height-p-f;h<o&&(o=h,r=c)}}if(l&&(i[r].union(e),n=!0),!n)(t=new BoundingRect(0,0,0,0)).copy(e),i.push(t);l||(l=i.length>=a)}}for(var u=this.__startIndex;u<this.__endIndex;++u){if(f=e[u]){var d=f.shouldBePainted(n,o,!0,!0);(h=f.__isRendered&&(f.__dirty&REDRAW_BIT||!d)?f.getPrevPaintRect():null)&&c(h);var p=d&&(f.__dirty&REDRAW_BIT||!f.__isRendered)?f.getPaintRect():null;p&&c(p)}}for(u=this.__prevStartIndex;u<this.__prevEndIndex;++u){var f,h;d=(f=t[u])&&f.shouldBePainted(n,o,!0,!0);if(f&&(!d||!f.__zr)&&f.__isRendered)(h=f.getPrevPaintRect())&&c(h)}do{r=!1;for(u=0;u<i.length;)if(i[u].isZero())i.splice(u,1);else{for(var m=u+1;m<i.length;)i[u].intersect(i[m])?(r=!0,i[u].union(i[m]),i.splice(m,1)):m++;u++}}while(r);return this._paintRects=i,i},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var n=this.dpr,o=this.dom,r=o.style,i=this.domBack;r&&(r.width=e+"px",r.height=t+"px"),o.width=e*n,o.height=t*n,i&&(i.width=e*n,i.height=t*n,1!==n&&this.ctxBack.scale(n,n))},t.prototype.clear=function(e,t,n){var o=this.dom,r=this.ctx,i=o.width,a=o.height;t=t||this.clearColor;var l=this.motionBlur&&!e,s=this.lastFrameAlpha,c=this.dpr,u=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(o,0,0,i/c,a/c));var d=this.domBack;function p(e,n,o,i){if(r.clearRect(e,n,o,i),t&&"transparent"!==t){var a=void 0;if(isGradientObject(t))a=(t.global||t.__width===o&&t.__height===i)&&t.__canvasGradient||getCanvasGradient(r,t,{x:0,y:0,width:o,height:i}),t.__canvasGradient=a,t.__width=o,t.__height=i;else isImagePatternObject(t)&&(t.scaleX=t.scaleX||c,t.scaleY=t.scaleY||c,a=createCanvasPattern(r,t,{dirty:function(){u.setUnpainted(),u.painter.refresh()}}));r.save(),r.fillStyle=a||t,r.fillRect(e,n,o,i),r.restore()}l&&(r.save(),r.globalAlpha=s,r.drawImage(d,e,n,o,i),r.restore())}!n||l?p(0,0,i,a):n.length&&each$f(n,(function(e){p(e.x*c,e.y*c,e.width*c,e.height*c)}))},t}(Eventful),HOVER_LAYER_ZLEVEL=1e5,CANVAS_ZLEVEL=314159,EL_AFTER_INCREMENTAL_INC=.01,INCREMENTAL_INC=.001;function isLayerValid(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}function createRoot(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}var CanvasPainter=function(){function e(e,t,n,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=extend$1({},n||{}),this.dpr=n.devicePixelRatio||devicePixelRatio,this._singleCanvas=r,this.root=e,e.style&&(disableUserSelect(e),e.innerHTML=""),this.storage=t;var i=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(r){var l=e,s=l.width,c=l.height;null!=n.width&&(s=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,l.width=s*this.dpr,l.height=c*this.dpr,this._width=s,this._height=c;var u=new Layer(l,this,this.dpr);u.__builtin__=!0,u.initContext(),a[CANVAS_ZLEVEL]=u,u.zlevel=CANVAS_ZLEVEL,i.push(CANVAS_ZLEVEL),this._domRoot=e}else{this._width=getSize$1(e,0,n),this._height=getSize$1(e,1,n);var d=this._domRoot=createRoot(this._width,this._height);e.appendChild(d)}}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,o=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var r=0;r<o.length;r++){var i=o[r],a=this._layers[i];if(!a.__builtin__&&a.refresh){var l=0===r?this._backgroundColor:null;a.refresh(l)}}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 o,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},i=0;i<t;i++){var a=e[i];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(HOVER_LAYER_ZLEVEL)),o||(o=n.ctx).save(),brush$1(o,a,r,i===t-1))}o&&o.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(HOVER_LAYER_ZLEVEL)},e.prototype.paintOne=function(e,t){brushSingle(e,t)},e.prototype._paintList=function(e,t,n,o){if(this._redrawId===o){n=n||!1,this._updateLayerStatus(e);var r=this._doPaintList(e,t,n),i=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(e),i)this.eachLayer((function(e){e.afterBrush&&e.afterBrush()}));else{var l=this;requestAnimationFrame$2((function(){l._paintList(e,t,n,o)}))}}},e.prototype._compositeManually=function(){var e=this.getLayer(CANVAS_ZLEVEL).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(o){o.virtual&&e.drawImage(o.dom,0,0,t,n)}))},e.prototype._doPaintList=function(e,t,n){for(var o=this,r=[],i=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var l=this._zlevelList[a],s=this._layers[l];s.__builtin__&&s!==this._hoverlayer&&(s.__dirty||n)&&r.push(s)}for(var c=!0,u=!1,d=function(a){var l,s=r[a],d=s.ctx,f=i&&s.createRepaintRects(e,t,p._width,p._height),h=n?s.__startIndex:s.__drawIndex,m=!n&&s.incremental&&Date.now,g=m&&Date.now(),v=s.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,v,f);else if(h===s.__startIndex){var y=e[h];y.incremental&&y.notClear&&!n||s.clear(!1,v,f)}-1===h&&(h=s.__startIndex);var b=function(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:o._width,viewHeight:o._height};for(l=h;l<s.__endIndex;l++){var r=e[l];if(r.__inHover&&(u=!0),o._doPaintEl(r,s,i,t,n,l===s.__endIndex-1),m)if(Date.now()-g>15)break}n.prevElClipPaths&&d.restore()};if(f)if(0===f.length)l=s.__endIndex;else for(var _=p.dpr,w=0;w<f.length;++w){var k=f[w];d.save(),d.beginPath(),d.rect(k.x*_,k.y*_,k.width*_,k.height*_),d.clip(),b(k),d.restore()}else d.save(),b(),d.restore();s.__drawIndex=l,s.__drawIndex<s.__endIndex&&(c=!1)},p=this,f=0;f<r.length;f++)d(f);return env.wxa&&each$f(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:c,needsRefreshHover:u}},e.prototype._doPaintEl=function(e,t,n,o,r,i){var a=t.ctx;if(n){var l=e.getPaintRect();(!o||l&&l.intersect(o))&&(brush$1(a,e,r,i),e.setPrevPaintRect(l))}else brush$1(a,e,r,i)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=CANVAS_ZLEVEL);var n=this._layers[e];return n||((n=new Layer("zr_"+e,this,this.dpr)).zlevel=e,n.__builtin__=!0,this._layerConfig[e]?merge$1(n,this._layerConfig[e],!0):this._layerConfig[e-EL_AFTER_INCREMENTAL_INC]&&merge$1(n,this._layerConfig[e-EL_AFTER_INCREMENTAL_INC],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},e.prototype.insertLayer=function(e,t){var n=this._layers,o=this._zlevelList,r=o.length,i=this._domRoot,a=null,l=-1;if(!n[e]&&isLayerValid(t)){if(r>0&&e>o[0]){for(l=0;l<r-1&&!(o[l]<e&&o[l+1]>e);l++);a=n[o[l]]}if(o.splice(l+1,0,e),n[e]=t,!t.virtual)if(a){var s=a.dom;s.nextSibling?i.insertBefore(t.dom,s.nextSibling):i.appendChild(t.dom)}else i.firstChild?i.insertBefore(t.dom,i.firstChild):i.appendChild(t.dom);t.painter||(t.painter=this)}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,o=0;o<n.length;o++){var r=n[o];e.call(t,this._layers[r],r)}},e.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,o=0;o<n.length;o++){var r=n[o],i=this._layers[r];i.__builtin__&&e.call(t,i,r)}},e.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,o=0;o<n.length;o++){var r=n[o],i=this._layers[r];i.__builtin__||e.call(t,i,r)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){i&&(i.__endIndex!==e&&(i.__dirty=!0),i.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){if((l=e[n]).zlevel!==e[n-1].zlevel||l.incremental){this._needsManuallyCompositing=!0;break}}var o,r,i=null,a=0;for(r=0;r<e.length;r++){var l,s=(l=e[r]).zlevel,c=void 0;o!==s&&(o=s,a=0),l.incremental?((c=this.getLayer(s+INCREMENTAL_INC,this._needsManuallyCompositing)).incremental=!0,a=1):c=this.getLayer(s+(a>0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),c.__builtin__||logError("ZLevel "+s+" has been used by unkown layer "+c.id),c!==i&&(c.__used=!0,c.__startIndex!==r&&(c.__dirty=!0),c.__startIndex=r,c.incremental?c.__drawIndex=-1:c.__drawIndex=r,t(r),i=c),l.__dirty&REDRAW_BIT&&!l.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=r))}t(r),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,each$f(this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?merge$1(n[e],t,!0):n[e]=t;for(var o=0;o<this._zlevelList.length;o++){var r=this._zlevelList[o];if(r===e||r===e+EL_AFTER_INCREMENTAL_INC)merge$1(this._layers[r],n[e],!0)}}},e.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,o=t[e];o&&(o.dom.parentNode.removeChild(o.dom),delete t[e],n.splice(indexOf(n,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var o=this._opts,r=this.root;if(null!=e&&(o.width=e),null!=t&&(o.height=t),e=getSize$1(r,0,o),t=getSize$1(r,1,o),n.style.display="",this._width!==e||t!==this._height){for(var i in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(i)&&this._layers[i].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(CANVAS_ZLEVEL).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[CANVAS_ZLEVEL].dom;var t=new Layer("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 o=t.dom.width,r=t.dom.height;this.eachLayer((function(e){e.__builtin__?n.drawImage(e.dom,0,0,o,r):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())}))}else for(var i={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),l=0,s=a.length;l<s;l++){var c=a[l];brush$1(n,c,i,l===s-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();function install$S(e){e.registerPainter("canvas",CanvasPainter)}var LineSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return __extends(t,e),t.prototype.getInitialData=function(e){return createSeriesData(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new Group$3,n=createSymbol$1("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var o=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),i="none"===o?"circle":o,a=.8*e.itemHeight,l=createSymbol$1(i,(e.itemWidth-a)/2,(e.itemHeight-a)/2,a,a,e.itemStyle.fill);t.add(l),l.setStyle(e.itemStyle);var s="inherit"===e.iconRotate?r:e.iconRotate||0;return l.rotation=s*Math.PI/180,l.setOrigin([e.itemWidth/2,e.itemHeight/2]),i.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.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}(SeriesModel);function getDefaultLabel(e,t){var n=e.mapDimensionsAll("defaultedLabel"),o=n.length;if(1===o){var r=retrieveRawValue(e,t,n[0]);return null!=r?r+"":null}if(o){for(var i=[],a=0;a<n.length;a++)i.push(retrieveRawValue(e,t,n[a]));return i.join(" ")}}function getDefaultInterpolatedLabel(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!isArray$2(t))return t+"";for(var o=[],r=0;r<n.length;r++){var i=e.getDimensionIndex(n[r]);i>=0&&o.push(t[i])}return o.join(" ")}var Symbol$1=function(e){function t(t,n,o,r){var i=e.call(this)||this;return i.updateData(t,n,o,r),i}return __extends(t,e),t.prototype._createSymbol=function(e,t,n,o,r){this.removeAll();var i=createSymbol$1(e,-1,-1,2,2,null,r);i.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),i.drift=driftSymbol,this._symbolType=e,this.add(i)},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(){enterEmphasis(this.childAt(0))},t.prototype.downplay=function(){leaveEmphasis(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,o,r){this.silent=!1;var i=e.getItemVisual(n,"symbol")||"circle",a=e.hostModel,l=t.getSymbolSize(e,n),s=i!==this._symbolType,c=r&&r.disableAnimation;if(s){var u=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(i,e,n,l,u)}else{(p=this.childAt(0)).silent=!1;var d={scaleX:l[0]/2,scaleY:l[1]/2};c?p.attr(d):updateProps$1(p,d,a,n),saveOldStyle(p)}if(this._updateCommon(e,n,l,o,r),s){var p=this.childAt(0);if(!c){d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,initProps(p,d,a,n)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,o,r){var i,a,l,s,c,u,d,p,f,h=this.childAt(0),m=e.hostModel;if(o&&(i=o.emphasisItemStyle,a=o.blurItemStyle,l=o.selectItemStyle,s=o.focus,c=o.blurScope,d=o.labelStatesModels,p=o.hoverScale,f=o.cursorStyle,u=o.emphasisDisabled),!o||e.hasItemOption){var g=o&&o.itemModel?o.itemModel:e.getItemModel(t),v=g.getModel("emphasis");i=v.getModel("itemStyle").getItemStyle(),l=g.getModel(["select","itemStyle"]).getItemStyle(),a=g.getModel(["blur","itemStyle"]).getItemStyle(),s=v.get("focus"),c=v.get("blurScope"),u=v.get("disabled"),d=getLabelStatesModels(g),p=v.getShallow("scale"),f=g.getShallow("cursor")}var y=e.getItemVisual(t,"symbolRotate");h.attr("rotation",(y||0)*Math.PI/180||0);var b=normalizeSymbolOffset(e.getItemVisual(t,"symbolOffset"),n);b&&(h.x=b[0],h.y=b[1]),f&&h.attr("cursor",f);var _=e.getItemVisual(t,"style"),w=_.fill;if(h instanceof ZRImage){var k=h.style;h.useStyle(extend$1({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},_))}else h.__isEmptyBrush?h.useStyle(extend$1({},_)):h.useStyle(_),h.style.decal=null,h.setColor(w,r&&r.symbolInnerColor),h.style.strokeNoScale=!0;var x=e.getItemVisual(t,"liftZ"),S=this._z2;null!=x?null==S&&(this._z2=h.z2,h.z2+=x):null!=S&&(h.z2=S,this._z2=null);var C=r&&r.useNameLabel;setLabelStyle(h,d,{labelFetcher:m,labelDataIndex:t,defaultText:function(t){return C?e.getName(t):getDefaultLabel(e,t)},inheritColor:w,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var E=h.ensureState("emphasis");E.style=i,h.ensureState("select").style=l,h.ensureState("blur").style=a;var T=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;E.scaleX=this._sizeX*T,E.scaleY=this._sizeY*T,this.setSymbolScale(1),toggleHoverEmphasis(this,s,c,u)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var o=this.childAt(0),r=getECData(this).dataIndex,i=n&&n.animation;if(this.silent=o.silent=!0,n&&n.fadeLabel){var a=o.getTextContent();a&&removeElement(a,{style:{opacity:0}},t,{dataIndex:r,removeOpt:i,cb:function(){o.removeTextContent()}})}else o.removeTextContent();removeElement(o,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:r,cb:e,removeOpt:i})},t.getSymbolSize=function(e,t){return normalizeSymbolSize(e.getItemVisual(t,"symbolSize"))},t}(Group$3);function driftSymbol(e,t){this.parent.drift(e,t)}function symbolNeedsDraw$1(e,t,n,o){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(o.isIgnore&&o.isIgnore(n))&&!(o.clipShape&&!o.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function normalizeUpdateOpt(e){return null==e||isObject$4(e)||(e={isIgnore:e}),e||{}}function makeSeriesScope$2(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:getLabelStatesModels(t),cursorStyle:t.get("cursor")}}var SymbolDraw=function(){function e(e){this.group=new Group$3,this._SymbolCtor=e||Symbol$1}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=normalizeUpdateOpt(t);var n=this.group,o=e.hostModel,r=this._data,i=this._SymbolCtor,a=t.disableAnimation,l=makeSeriesScope$2(e),s={disableAnimation:a},c=t.getSymbolPoint||function(t){return e.getItemLayout(t)};r||n.removeAll(),e.diff(r).add((function(o){var r=c(o);if(symbolNeedsDraw$1(e,r,o,t)){var a=new i(e,o,l,s);a.setPosition(r),e.setItemGraphicEl(o,a),n.add(a)}})).update((function(u,d){var p=r.getItemGraphicEl(d),f=c(u);if(symbolNeedsDraw$1(e,f,u,t)){var h=e.getItemVisual(u,"symbol")||"circle",m=p&&p.getSymbolType&&p.getSymbolType();if(!p||m&&m!==h)n.remove(p),(p=new i(e,u,l,s)).setPosition(f);else{p.updateData(e,u,l,s);var g={x:f[0],y:f[1]};a?p.attr(g):updateProps$1(p,g,o)}n.add(p),e.setItemGraphicEl(u,p)}else n.remove(p)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),o)})).execute(),this._getSymbolPoint=c,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var o=e._getSymbolPoint(n);t.setPosition(o),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=makeSeriesScope$2(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function o(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=normalizeUpdateOpt(n);for(var r=e.start;r<e.end;r++){var i=t.getItemLayout(r);if(symbolNeedsDraw$1(t,i,r,n)){var a=new this._SymbolCtor(t,r,this._seriesScope);a.traverse(o),a.setPosition(i),this.group.add(a),t.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},e.prototype.eachRendered=function(e){traverseElements(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 prepareDataCoordInfo(e,t,n){var o=e.getBaseAxis(),r=e.getOtherAxis(o),i=getValueStart(r,n),a=o.dim,l=r.dim,s=t.mapDimension(l),c=t.mapDimension(a),u="x"===l||"radius"===l?1:0,d=map$1(e.dimensions,(function(e){return t.mapDimension(e)})),p=!1,f=t.getCalculationInfo("stackResultDimension");return isDimensionStacked(t,d[0])&&(p=!0,d[0]=f),isDimensionStacked(t,d[1])&&(p=!0,d[1]=f),{dataDimsForPoint:d,valueStart:i,valueAxisDim:l,baseAxisDim:a,stacked:!!p,valueDim:s,baseDim:c,baseDataOffset:u,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function getValueStart(e,t){var n=0,o=e.scale.getExtent();return"start"===t?n=o[0]:"end"===t?n=o[1]:isNumber$2(t)&&!isNaN(t)?n=t:o[0]>0?n=o[0]:o[1]<0&&(n=o[1]),n}function getStackedOnPoint(e,t,n,o){var r=NaN;e.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),o)),isNaN(r)&&(r=e.valueStart);var i=e.baseDataOffset,a=[];return a[i]=n.get(e.baseDim,o),a[1-i]=r,t.dataToPoint(a)}function diffData(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}function lineAnimationDiff(e,t,n,o,r,i,a,l){for(var s=diffData(e,t),c=[],u=[],d=[],p=[],f=[],h=[],m=[],g=prepareDataCoordInfo(r,t,a),v=e.getLayout("points")||[],y=t.getLayout("points")||[],b=0;b<s.length;b++){var _=s[b],w=!0,k=void 0,x=void 0;switch(_.cmd){case"=":k=2*_.idx,x=2*_.idx1;var S=v[k],C=v[k+1],E=y[x],T=y[x+1];(isNaN(S)||isNaN(C))&&(S=E,C=T),c.push(S,C),u.push(E,T),d.push(n[k],n[k+1]),p.push(o[x],o[x+1]),m.push(t.getRawIndex(_.idx1));break;case"+":var A=_.idx,$=g.dataDimsForPoint,I=r.dataToPoint([t.get($[0],A),t.get($[1],A)]);x=2*A,c.push(I[0],I[1]),u.push(y[x],y[x+1]);var M=getStackedOnPoint(g,r,t,A);d.push(M[0],M[1]),p.push(o[x],o[x+1]),m.push(t.getRawIndex(A));break;case"-":w=!1}w&&(f.push(_),h.push(h.length))}h.sort((function(e,t){return m[e]-m[t]}));var P=c.length,N=createFloat32Array(P),O=createFloat32Array(P),R=createFloat32Array(P),D=createFloat32Array(P),L=[];for(b=0;b<h.length;b++){var B=h[b],V=2*b,z=2*B;N[V]=c[z],N[V+1]=c[z+1],O[V]=u[z],O[V+1]=u[z+1],R[V]=d[z],R[V+1]=d[z+1],D[V]=p[z],D[V+1]=p[z+1],L[b]=f[B]}return{current:N,next:O,stackedOnCurrent:R,stackedOnNext:D,status:L}}var mathMin$5=Math.min,mathMax$5=Math.max;function isPointNull$1(e,t){return isNaN(e)||isNaN(t)}function drawSegment(e,t,n,o,r,i,a,l,s){for(var c,u,d,p,f,h,m=n,g=0;g<o;g++){var v=t[2*m],y=t[2*m+1];if(m>=r||m<0)break;if(isPointNull$1(v,y)){if(s){m+=i;continue}break}if(m===n)e[i>0?"moveTo":"lineTo"](v,y),d=v,p=y;else{var b=v-c,_=y-u;if(b*b+_*_<.5){m+=i;continue}if(a>0){for(var w=m+i,k=t[2*w],x=t[2*w+1];k===v&&x===y&&g<o;)g++,m+=i,k=t[2*(w+=i)],x=t[2*w+1],b=(v=t[2*m])-c,_=(y=t[2*m+1])-u;var S=g+1;if(s)for(;isPointNull$1(k,x)&&S<o;)S++,k=t[2*(w+=i)],x=t[2*w+1];var C=.5,E=0,T=0,A=void 0,$=void 0;if(S>=o||isPointNull$1(k,x))f=v,h=y;else{E=k-c,T=x-u;var I=v-c,M=k-v,P=y-u,N=x-y,O=void 0,R=void 0;if("x"===l){var D=E>0?1:-1;f=v-D*(O=Math.abs(I))*a,h=y,A=v+D*(R=Math.abs(M))*a,$=y}else if("y"===l){var L=T>0?1:-1;f=v,h=y-L*(O=Math.abs(P))*a,A=v,$=y+L*(R=Math.abs(N))*a}else O=Math.sqrt(I*I+P*P),f=v-E*a*(1-(C=(R=Math.sqrt(M*M+N*N))/(R+O))),h=y-T*a*(1-C),$=y+T*a*C,A=mathMin$5(A=v+E*a*C,mathMax$5(k,v)),$=mathMin$5($,mathMax$5(x,y)),A=mathMax$5(A,mathMin$5(k,v)),h=y-(T=($=mathMax$5($,mathMin$5(x,y)))-y)*O/R,f=mathMin$5(f=v-(E=A-v)*O/R,mathMax$5(c,v)),h=mathMin$5(h,mathMax$5(u,y)),A=v+(E=v-(f=mathMax$5(f,mathMin$5(c,v))))*R/O,$=y+(T=y-(h=mathMax$5(h,mathMin$5(u,y))))*R/O}e.bezierCurveTo(d,p,f,h,v,y),d=A,p=$}else e.lineTo(v,y)}c=v,u=y,m+=i}return g}var ECPolylineShape=function(){return function(){this.smooth=0,this.smoothConstraint=!0}}(),ECPolyline=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return __extends(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ECPolylineShape},t.prototype.buildPath=function(e,t){var n=t.points,o=0,r=n.length/2;if(t.connectNulls){for(;r>0&&isPointNull$1(n[2*r-2],n[2*r-1]);r--);for(;o<r&&isPointNull$1(n[2*o],n[2*o+1]);o++);}for(;o<r;)o+=drawSegment(e,n,o,r,r,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,o,r=this.path.data,i=PathProxy.CMD,a="x"===t,l=[],s=0;s<r.length;){var c=void 0,u=void 0,d=void 0,p=void 0,f=void 0,h=void 0,m=void 0;switch(r[s++]){case i.M:n=r[s++],o=r[s++];break;case i.L:if(c=r[s++],u=r[s++],(m=a?(e-n)/(c-n):(e-o)/(u-o))<=1&&m>=0){var g=a?(u-o)*m+o:(c-n)*m+n;return a?[e,g]:[g,e]}n=c,o=u;break;case i.C:c=r[s++],u=r[s++],d=r[s++],p=r[s++],f=r[s++],h=r[s++];var v=a?cubicRootAt(n,c,d,f,e,l):cubicRootAt(o,u,p,h,e,l);if(v>0)for(var y=0;y<v;y++){var b=l[y];if(b<=1&&b>=0){g=a?cubicAt(o,u,p,h,b):cubicAt(n,c,d,f,b);return a?[e,g]:[g,e]}}n=f,o=h}}},t}(Path),ECPolygonShape=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(ECPolylineShape),ECPolygon=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return __extends(t,e),t.prototype.getDefaultShape=function(){return new ECPolygonShape},t.prototype.buildPath=function(e,t){var n=t.points,o=t.stackedOnPoints,r=0,i=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;i>0&&isPointNull$1(n[2*i-2],n[2*i-1]);i--);for(;r<i&&isPointNull$1(n[2*r],n[2*r+1]);r++);}for(;r<i;){var l=drawSegment(e,n,r,i,i,1,t.smooth,a,t.connectNulls);drawSegment(e,o,r+l-1,l,i,-1,t.stackedOnSmooth,a,t.connectNulls),r+=l+1,e.closePath()}},t}(Path);function createGridClipPath(e,t,n,o,r){var i=e.getArea(),a=i.x,l=i.y,s=i.width,c=i.height,u=n.get(["lineStyle","width"])||0;a-=u/2,l-=u/2,s+=u,c+=u,s=Math.ceil(s),a!==Math.floor(a)&&(a=Math.floor(a),s++);var d=new Rect$2({shape:{x:a,y:l,width:s,height:c}});if(t){var p=e.getBaseAxis(),f=p.isHorizontal(),h=p.inverse;f?(h&&(d.shape.x+=s),d.shape.width=0):(h||(d.shape.y+=c),d.shape.height=0);var m=isFunction$2(r)?function(e){r(e,d)}:null;initProps(d,{shape:{width:s,height:c,x:a,y:l}},n,null,o,m)}return d}function createPolarClipPath(e,t,n){var o=e.getArea(),r=round$3(o.r0,1),i=round$3(o.r,1),a=new Sector({shape:{cx:round$3(e.cx,1),cy:round$3(e.cy,1),r0:r,r:i,startAngle:o.startAngle,endAngle:o.endAngle,clockwise:o.clockwise}});t&&("angle"===e.getBaseAxis().dim?a.shape.endAngle=o.startAngle:a.shape.r=r,initProps(a,{shape:{endAngle:o.endAngle,r:i}},n));return a}function createClipPath(e,t,n,o,r){return e?"polar"===e.type?createPolarClipPath(e,t,n):"cartesian2d"===e.type?createGridClipPath(e,t,n,o,r):null:null}function isCoordinateSystemType(e,t){return e.type===t}function isPointsSame(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function bboxFromPoints(e){for(var t=1/0,n=1/0,o=-1/0,r=-1/0,i=0;i<e.length;){var a=e[i++],l=e[i++];isNaN(a)||(t=Math.min(a,t),o=Math.max(a,o)),isNaN(l)||(n=Math.min(l,n),r=Math.max(l,r))}return[[t,n],[o,r]]}function getBoundingDiff(e,t){var n=bboxFromPoints(e),o=n[0],r=n[1],i=bboxFromPoints(t),a=i[0],l=i[1];return Math.max(Math.abs(o[0]-a[0]),Math.abs(o[1]-a[1]),Math.abs(r[0]-l[0]),Math.abs(r[1]-l[1]))}function getSmooth(e){return isNumber$2(e)?e:e?.5:0}function getStackedOnPoints(e,t,n){if(!n.valueDim)return[];for(var o=t.count(),r=createFloat32Array(2*o),i=0;i<o;i++){var a=getStackedOnPoint(n,e,t,i);r[2*i]=a[0],r[2*i+1]=a[1]}return r}function turnPointsIntoStep(e,t,n,o,r){var i=n.getBaseAxis(),a="x"===i.dim||"radius"===i.dim?0:1,l=[],s=0,c=[],u=[],d=[],p=[];if(r){for(s=0;s<e.length;s+=2){var f=t||e;isNaN(f[s])||isNaN(f[s+1])||p.push(e[s],e[s+1])}e=p}for(s=0;s<e.length-2;s+=2)switch(d[0]=e[s+2],d[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],l.push(u[0],u[1]),o){case"end":c[a]=d[a],c[1-a]=u[1-a],l.push(c[0],c[1]);break;case"middle":var h=(u[a]+d[a])/2,m=[];c[a]=m[a]=h,c[1-a]=u[1-a],m[1-a]=d[1-a],l.push(c[0],c[1]),l.push(m[0],m[1]);break;default:c[a]=u[a],c[1-a]=d[1-a],l.push(c[0],c[1])}return l.push(e[s++],e[s++]),l}function clipColorStops(e,t){var n,o,r=[],i=e.length;function a(e,t,n){var o=e.coord;return{coord:n,color:lerp((n-o)/(t.coord-o),[e.color,t.color])}}for(var l=0;l<i;l++){var s=e[l],c=s.coord;if(c<0)n=s;else{if(c>t){o?r.push(a(o,s,t)):n&&r.push(a(n,s,0),a(n,s,t));break}n&&(r.push(a(n,s,0)),n=null),r.push(s),o=s}}return r}function getVisualGradient(e,t,n){var o=e.getVisual("visualMeta");if(o&&o.length&&e.count()&&"cartesian2d"===t.type){for(var r,i,a=o.length-1;a>=0;a--){var l=e.getDimensionInfo(o[a].dimension);if("x"===(r=l&&l.coordDim)||"y"===r){i=o[a];break}}if(i){var s=t.getAxis(r),c=map$1(i.stops,(function(e){return{coord:s.toGlobalCoord(s.dataToCoord(e.value)),color:e.color}})),u=c.length,d=i.outerColors.slice();u&&c[0].coord>c[u-1].coord&&(c.reverse(),d.reverse());var p=clipColorStops(c,"x"===r?n.getWidth():n.getHeight()),f=p.length;if(!f&&u)return c[0].coord<0?d[1]?d[1]:c[u-1].color:d[0]?d[0]:c[0].color;var h=p[0].coord-10,m=p[f-1].coord+10,g=m-h;if(g<.001)return"transparent";each$f(p,(function(e){e.offset=(e.coord-h)/g})),p.push({offset:f?p[f-1].offset:.5,color:d[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:d[0]||"transparent"});var v=new LinearGradient(0,0,0,0,p,!0);return v[r]=h,v[r+"2"]=m,v}}}function getIsIgnoreFunc(e,t,n){var o=e.get("showAllSymbol"),r="auto"===o;if(!o||r){var i=n.getAxesByScale("ordinal")[0];if(i&&(!r||!canShowAllSymbolForCategory(i,t))){var a=t.mapDimension(i.dim),l={};return each$f(i.getViewLabels(),(function(e){var t=i.scale.getRawOrdinalNumber(e.tickValue);l[t]=1})),function(e){return!l.hasOwnProperty(t.get(a,e))}}}}function canShowAllSymbolForCategory(e,t){var n=e.getExtent(),o=Math.abs(n[1]-n[0])/e.scale.count();isNaN(o)&&(o=0);for(var r=t.count(),i=Math.max(1,Math.round(r/5)),a=0;a<r;a+=i)if(1.5*Symbol$1.getSymbolSize(t,a)[e.isHorizontal()?1:0]>o)return!1;return!0}function isPointNull(e,t){return isNaN(e)||isNaN(t)}function getLastIndexNotNull(e){for(var t=e.length/2;t>0&&isPointNull(e[2*t-2],e[2*t-1]);t--);return t-1}function getPointAtIndex(e,t){return[e[2*t],e[2*t+1]]}function getIndexRange(e,t,n){for(var o,r,i=e.length/2,a="x"===n?0:1,l=0,s=-1,c=0;c<i;c++)if(r=e[2*c+a],!isNaN(r)&&!isNaN(e[2*c+1-a]))if(0!==c){if(o<=t&&r>=t||o>=t&&r<=t){s=c;break}l=c,o=r}else o=r;return{range:[l,s],t:(t-o)/(r-o)}}function anyStateShowEndLabel(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<SPECIAL_STATES.length;t++)if(e.get([SPECIAL_STATES[t],"endLabel","show"]))return!0;return!1}function createLineClipPath(e,t,n,o){if(isCoordinateSystemType(t,"cartesian2d")){var r=o.getModel("endLabel"),i=r.get("valueAnimation"),a=o.getData(),l={lastFrameIndex:0},s=anyStateShowEndLabel(o)?function(n,o){e._endLabelOnDuring(n,o,a,l,i,r,t)}:null,c=t.getBaseAxis().isHorizontal(),u=createGridClipPath(t,n,o,(function(){var t=e._endLabel;t&&n&&null!=l.originalX&&t.attr({x:l.originalX,y:l.originalY})}),s);if(!o.get("clip",!0)){var d=u.shape,p=Math.max(d.width,d.height);c?(d.y-=p,d.height+=2*p):(d.x-=p,d.width+=2*p)}return s&&s(1,u),u}return createPolarClipPath(t,n,o)}function getEndLabelStateSpecified(e,t){var n=t.getBaseAxis(),o=n.isHorizontal(),r=n.inverse,i=o?r?"right":"left":"center",a=o?"middle":r?"top":"bottom";return{normal:{align:e.get("align")||i,verticalAlign:e.get("verticalAlign")||a}}}var LineView=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.init=function(){var e=new Group$3,t=new SymbolDraw;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e,this._changePolyState=bind$2(this._changePolyState,this)},t.prototype.render=function(e,t,n){var o=e.coordinateSystem,r=this.group,i=e.getData(),a=e.getModel("lineStyle"),l=e.getModel("areaStyle"),s=i.getLayout("points")||[],c="polar"===o.type,u=this._coordSys,d=this._symbolDraw,p=this._polyline,f=this._polygon,h=this._lineGroup,m=!t.ssr&&e.get("animation"),g=!l.isEmpty(),v=l.get("origin"),y=prepareDataCoordInfo(o,i,v),b=g&&getStackedOnPoints(o,i,y),_=e.get("showSymbol"),w=e.get("connectNulls"),k=_&&!c&&getIsIgnoreFunc(e,i,o),x=this._data;x&&x.eachItemGraphicEl((function(e,t){e.__temp&&(r.remove(e),x.setItemGraphicEl(t,null))})),_||d.remove(),r.add(h);var S,C=!c&&e.get("step");o&&o.getArea&&e.get("clip",!0)&&(null!=(S=o.getArea()).width?(S.x-=.1,S.y-=.1,S.width+=.2,S.height+=.2):S.r0&&(S.r0-=.5,S.r+=.5)),this._clipShapeForSymbol=S;var E=getVisualGradient(i,o,n)||i.getVisual("style")[i.getVisual("drawType")];if(p&&u.type===o.type&&C===this._step){g&&!f?f=this._newPolygon(s,b):f&&!g&&(h.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(e,o,convertToColorString(E));var T=h.getClipPath();if(T)initProps(T,{shape:createLineClipPath(this,o,!1,e).shape},e);else h.setClipPath(createLineClipPath(this,o,!0,e));_&&d.updateData(i,{isIgnore:k,clipShape:S,disableAnimation:!0,getSymbolPoint:function(e){return[s[2*e],s[2*e+1]]}}),isPointsSame(this._stackedOnPoints,b)&&isPointsSame(this._points,s)||(m?this._doUpdateAnimation(i,b,o,n,C,v,w):(C&&(b&&(b=turnPointsIntoStep(b,s,o,C,w)),s=turnPointsIntoStep(s,null,o,C,w)),p.setShape({points:s}),f&&f.setShape({points:s,stackedOnPoints:b})))}else _&&d.updateData(i,{isIgnore:k,clipShape:S,disableAnimation:!0,getSymbolPoint:function(e){return[s[2*e],s[2*e+1]]}}),m&&this._initSymbolLabelAnimation(i,o,S),C&&(b&&(b=turnPointsIntoStep(b,s,o,C,w)),s=turnPointsIntoStep(s,null,o,C,w)),p=this._newPolyline(s),g?f=this._newPolygon(s,b):f&&(h.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(e,o,convertToColorString(E)),h.setClipPath(createLineClipPath(this,o,!0,e));var A=e.getModel("emphasis"),$=A.get("focus"),I=A.get("blurScope"),M=A.get("disabled");(p.useStyle(defaults$1(a.getLineStyle(),{fill:"none",stroke:E,lineJoin:"bevel"})),setStatesStylesFromModel(p,e,"lineStyle"),p.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"]))&&(p.getState("emphasis").style.lineWidth=+p.style.lineWidth+1);getECData(p).seriesIndex=e.seriesIndex,toggleHoverEmphasis(p,$,I,M);var P=getSmooth(e.get("smooth")),N=e.get("smoothMonotone");if(p.setShape({smooth:P,smoothMonotone:N,connectNulls:w}),f){var O=i.getCalculationInfo("stackedOnSeries"),R=0;f.useStyle(defaults$1(l.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel",decal:i.getVisual("style").decal})),O&&(R=getSmooth(O.get("smooth"))),f.setShape({smooth:P,stackedOnSmooth:R,smoothMonotone:N,connectNulls:w}),setStatesStylesFromModel(f,e,"areaStyle"),getECData(f).seriesIndex=e.seriesIndex,toggleHoverEmphasis(f,$,I,M)}var D=this._changePolyState;i.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=D)})),this._polyline.onHoverStateChange=D,this._data=i,this._coordSys=o,this._stackedOnPoints=b,this._points=s,this._step=C,this._valueOrigin=v,e.get("triggerLineEvent")&&(this.packEventData(e,p),f&&this.packEventData(e,f))},t.prototype.packEventData=function(e,t){getECData(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,o){var r=e.getData(),i=queryDataIndex(r,o);if(this._changePolyState("emphasis"),!(i instanceof Array)&&null!=i&&i>=0){var a=r.getLayout("points"),l=r.getItemGraphicEl(i);if(!l){var s=a[2*i],c=a[2*i+1];if(isNaN(s)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s,c))return;var u=e.get("zlevel")||0,d=e.get("z")||0;(l=new Symbol$1(r,i)).x=s,l.y=c,l.setZ(u,d);var p=l.getSymbolPath().getTextContent();p&&(p.zlevel=u,p.z=d,p.z2=this._polyline.z2+1),l.__temp=!0,r.setItemGraphicEl(i,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else ChartView.prototype.highlight.call(this,e,t,n,o)},t.prototype.downplay=function(e,t,n,o){var r=e.getData(),i=queryDataIndex(r,o);if(this._changePolyState("normal"),null!=i&&i>=0){var a=r.getItemGraphicEl(i);a&&(a.__temp?(r.setItemGraphicEl(i,null),this.group.remove(a)):a.downplay())}else ChartView.prototype.downplay.call(this,e,t,n,o)},t.prototype._changePolyState=function(e){var t=this._polygon;setStatesFlag(this._polyline,e),t&&setStatesFlag(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new ECPolyline({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 ECPolygon({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var o,r,i=t.getBaseAxis(),a=i.inverse;"cartesian2d"===t.type?(o=i.isHorizontal(),r=!1):"polar"===t.type&&(o="angle"===i.dim,r=!0);var l=e.hostModel,s=l.get("animationDuration");isFunction$2(s)&&(s=s(null));var c=l.get("animationDelay")||0,u=isFunction$2(c)?c(null):c;e.eachItemGraphicEl((function(e,i){var l=e;if(l){var d=[e.x,e.y],p=void 0,f=void 0,h=void 0;if(n)if(r){var m=n,g=t.pointToCoord(d);o?(p=m.startAngle,f=m.endAngle,h=-g[1]/180*Math.PI):(p=m.r0,f=m.r,h=g[0])}else{var v=n;o?(p=v.x,f=v.x+v.width,h=e.x):(p=v.y+v.height,f=v.y,h=e.y)}var y=f===p?0:(h-p)/(f-p);a&&(y=1-y);var b=isFunction$2(c)?c(i):s*y+u,_=l.getSymbolPath(),w=_.getTextContent();l.attr({scaleX:0,scaleY:0}),l.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 o=e.getModel("endLabel");if(anyStateShowEndLabel(e)){var r=e.getData(),i=this._polyline,a=r.getLayout("points");if(!a)return i.removeTextContent(),void(this._endLabel=null);var l=this._endLabel;l||((l=this._endLabel=new ZRText({z2:200})).ignoreClip=!0,i.setTextContent(this._endLabel),i.disableLabelAnimation=!0);var s=getLastIndexNotNull(a);s>=0&&(setLabelStyle(i,getLabelStatesModels(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:s,defaultText:function(e,t,n){return null!=n?getDefaultInterpolatedLabel(r,n):getDefaultLabel(r,e)},enableTextSetter:!0},getEndLabelStateSpecified(o,t)),i.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,o,r,i,a){var l=this._endLabel,s=this._polyline;if(l){e<1&&null==o.originalX&&(o.originalX=l.x,o.originalY=l.y);var c=n.getLayout("points"),u=n.hostModel,d=u.get("connectNulls"),p=i.get("precision"),f=i.get("distance")||0,h=a.getBaseAxis(),m=h.isHorizontal(),g=h.inverse,v=t.shape,y=g?m?v.x:v.y+v.height:m?v.x+v.width:v.y,b=(m?f:0)*(g?-1:1),_=(m?0:-f)*(g?-1:1),w=m?"x":"y",k=getIndexRange(c,y,w),x=k.range,S=x[1]-x[0],C=void 0;if(S>=1){if(S>1&&!d){var E=getPointAtIndex(c,x[0]);l.attr({x:E[0]+b,y:E[1]+_}),r&&(C=u.getRawValue(x[0]))}else{(E=s.getPointOn(y,w))&&l.attr({x:E[0]+b,y:E[1]+_});var T=u.getRawValue(x[0]),A=u.getRawValue(x[1]);r&&(C=interpolateRawValues(n,p,T,A,k.t))}o.lastFrameIndex=x[0]}else{var $=1===e||o.lastFrameIndex>0?x[0]:0;E=getPointAtIndex(c,$);r&&(C=u.getRawValue($)),l.attr({x:E[0]+b,y:E[1]+_})}if(r){var I=labelInner(l);"function"==typeof I.setLabelText&&I.setLabelText(C)}}},t.prototype._doUpdateAnimation=function(e,t,n,o,r,i,a){var l=this._polyline,s=this._polygon,c=e.hostModel,u=lineAnimationDiff(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin),d=u.current,p=u.stackedOnCurrent,f=u.next,h=u.stackedOnNext;if(r&&(p=turnPointsIntoStep(u.stackedOnCurrent,u.current,n,r,a),d=turnPointsIntoStep(u.current,null,n,r,a),h=turnPointsIntoStep(u.stackedOnNext,u.next,n,r,a),f=turnPointsIntoStep(u.next,null,n,r,a)),getBoundingDiff(d,f)>3e3||s&&getBoundingDiff(p,h)>3e3)return l.stopAnimation(),l.setShape({points:f}),void(s&&(s.stopAnimation(),s.setShape({points:f,stackedOnPoints:h})));l.shape.__points=u.current,l.shape.points=d;var m={shape:{points:f}};u.current!==d&&(m.shape.__points=u.next),l.stopAnimation(),updateProps$1(l,m,c),s&&(s.setShape({points:d,stackedOnPoints:p}),s.stopAnimation(),updateProps$1(s,{shape:{stackedOnPoints:h}},c),l.shape.points!==s.shape.points&&(s.shape.points=l.shape.points));for(var g=[],v=u.status,y=0;y<v.length;y++){if("="===v[y].cmd){var b=e.getItemGraphicEl(v[y].idx1);b&&g.push({el:b,ptIdx:y})}}l.animators&&l.animators.length&&l.animators[0].during((function(){s&&s.dirtyShape();for(var e=l.shape.__points,t=0;t<g.length;t++){var n=g[t].el,o=2*g[t].ptIdx;n.x=e[o],n.y=e[o+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,o){e.__temp&&(t.remove(e),n.setItemGraphicEl(o,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(ChartView);function pointsLayout(e,t){return{seriesType:e,plan:createRenderPlanner(),reset:function(e){var n=e.getData(),o=e.coordinateSystem,r=e.pipelineContext,i=t||r.large;if(o){var a=map$1(o.dimensions,(function(e){return n.mapDimension(e)})).slice(0,2),l=a.length,s=n.getCalculationInfo("stackResultDimension");isDimensionStacked(n,a[0])&&(a[0]=s),isDimensionStacked(n,a[1])&&(a[1]=s);var c=n.getStore(),u=n.getDimensionIndex(a[0]),d=n.getDimensionIndex(a[1]);return l&&{progress:function(e,t){for(var n=e.end-e.start,r=i&&createFloat32Array(n*l),a=[],s=[],p=e.start,f=0;p<e.end;p++){var h=void 0;if(1===l){var m=c.get(u,p);h=o.dataToPoint(m,null,s)}else a[0]=c.get(u,p),a[1]=c.get(d,p),h=o.dataToPoint(a,null,s);i?(r[f++]=h[0],r[f++]=h[1]):t.setItemLayout(p,h.slice())}i&&t.setLayout("points",r)}}}}}}var samplers={average:function(e){for(var t=0,n=0,o=0;o<e.length;o++)isNaN(e[o])||(t+=e[o],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]}},indexSampler=function(e){return Math.round(e.length/2)};function dataSample(e){return{seriesType:e,reset:function(e,t,n){var o=e.getData(),r=e.get("sampling"),i=e.coordinateSystem,a=o.count();if(a>10&&"cartesian2d"===i.type&&r){var l=i.getBaseAxis(),s=i.getOtherAxis(l),c=l.getExtent(),u=n.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(u||1),p=Math.round(a/d);if(isFinite(p)&&p>1){"lttb"===r?e.setData(o.lttbDownSample(o.mapDimension(s.dim),1/p)):"minmax"===r&&e.setData(o.minmaxDownSample(o.mapDimension(s.dim),1/p));var f=void 0;isString$2(r)?f=samplers[r]:isFunction$2(r)&&(f=r),f&&e.setData(o.downSample(o.mapDimension(s.dim),1/p,f,indexSampler))}}}}}function install$R(e){e.registerChartView(LineView),e.registerSeriesModel(LineSeriesModel),e.registerLayout(pointsLayout("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,dataSample("line"))}var BaseBarSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.getInitialData=function(e,t){return createSeriesData(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var o=this.coordinateSystem;if(o&&o.clampData){var r=o.clampData(e),i=o.dataToPoint(r);if(n)each$f(o.getAxes(),(function(e,n){if("category"===e.type&&null!=t){var o=e.getTicksCoords(),a=e.getTickModel().get("alignWithLabel"),l=r[n],s="x1"===t[n]||"y1"===t[n];if(s&&!a&&(l+=1),o.length<2)return;if(2===o.length)return void(i[n]=e.toGlobalCoord(e.getExtent()[s?1:0]));for(var c=void 0,u=void 0,d=1,p=0;p<o.length;p++){var f=o[p].coord,h=p===o.length-1?o[p-1].tickValue+d:o[p].tickValue;if(h===l){u=f;break}if(h<l)c=f;else if(null!=c&&h>l){u=(f+c)/2;break}1===p&&(d=h-o[0].tickValue)}null==u&&(c?c&&(u=o[o.length-1].coord):u=o[0].coord),i[n]=e.toGlobalCoord(u)}}));else{var a=this.getData(),l=a.getLayout("offset"),s=a.getLayout("size"),c=o.getBaseAxis().isHorizontal()?0:1;i[c]+=l+s/2}return i}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}(SeriesModel);SeriesModel.registerClass(BaseBarSeriesModel);var BarSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.getInitialData=function(){return createSeriesData(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=inheritDefaultOption(BaseBarSeriesModel.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}(BaseBarSeriesModel),SausageShape=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}}(),SausagePath=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return __extends(t,e),t.prototype.getDefaultShape=function(){return new SausageShape},t.prototype.buildPath=function(e,t){var n=t.cx,o=t.cy,r=Math.max(t.r0||0,0),i=Math.max(t.r,0),a=.5*(i-r),l=r+a,s=t.startAngle,c=t.endAngle,u=t.clockwise,d=2*Math.PI,p=u?c-s<d:s-c<d;p||(s=c-(u?d:-d));var f=Math.cos(s),h=Math.sin(s),m=Math.cos(c),g=Math.sin(c);p?(e.moveTo(f*r+n,h*r+o),e.arc(f*l+n,h*l+o,a,-Math.PI+s,s,!u)):e.moveTo(f*i+n,h*i+o),e.arc(n,o,i,s,c,!u),e.arc(m*l+n,g*l+o,a,c-2*Math.PI,c-Math.PI,!u),0!==r&&e.arc(n,o,r,c,s,u)},t}(Path);function createSectorCalculateTextPosition(e,t){var n=(t=t||{}).isRoundCap;return function(t,o,r){var i=o.position;if(!i||i instanceof Array)return calculateTextPosition(t,o,r);var a=e(i),l=null!=o.distance?o.distance:5,s=this.shape,c=s.cx,u=s.cy,d=s.r,p=s.r0,f=(d+p)/2,h=s.startAngle,m=s.endAngle,g=(h+m)/2,v=n?Math.abs(d-p)/2:0,y=Math.cos,b=Math.sin,_=c+d*y(h),w=u+d*b(h),k="left",x="top";switch(a){case"startArc":_=c+(p-l)*y(g),w=u+(p-l)*b(g),k="center",x="top";break;case"insideStartArc":_=c+(p+l)*y(g),w=u+(p+l)*b(g),k="center",x="bottom";break;case"startAngle":_=c+f*y(h)+adjustAngleDistanceX(h,l+v,!1),w=u+f*b(h)+adjustAngleDistanceY(h,l+v,!1),k="right",x="middle";break;case"insideStartAngle":_=c+f*y(h)+adjustAngleDistanceX(h,-l+v,!1),w=u+f*b(h)+adjustAngleDistanceY(h,-l+v,!1),k="left",x="middle";break;case"middle":_=c+f*y(g),w=u+f*b(g),k="center",x="middle";break;case"endArc":_=c+(d+l)*y(g),w=u+(d+l)*b(g),k="center",x="bottom";break;case"insideEndArc":_=c+(d-l)*y(g),w=u+(d-l)*b(g),k="center",x="top";break;case"endAngle":_=c+f*y(m)+adjustAngleDistanceX(m,l+v,!0),w=u+f*b(m)+adjustAngleDistanceY(m,l+v,!0),k="left",x="middle";break;case"insideEndAngle":_=c+f*y(m)+adjustAngleDistanceX(m,-l+v,!0),w=u+f*b(m)+adjustAngleDistanceY(m,-l+v,!0),k="right",x="middle";break;default:return calculateTextPosition(t,o,r)}return(t=t||{}).x=_,t.y=w,t.align=k,t.verticalAlign=x,t}}function setSectorTextRotation(e,t,n,o){if(isNumber$2(o))e.setTextConfig({rotation:o});else if(isArray$2(t))e.setTextConfig({rotation:0});else{var r,i=e.shape,a=i.clockwise?i.startAngle:i.endAngle,l=i.clockwise?i.endAngle:i.startAngle,s=(a+l)/2,c=n(t);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=s;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=l;break;default:return void e.setTextConfig({rotation:0})}var u=1.5*Math.PI-r;"middle"===c&&u>Math.PI/2&&u<1.5*Math.PI&&(u-=Math.PI),e.setTextConfig({rotation:u})}}function adjustAngleDistanceX(e,t,n){return t*Math.sin(e)*(n?-1:1)}function adjustAngleDistanceY(e,t,n){return t*Math.cos(e)*(n?1:-1)}function getSectorCornerRadius(e,t,n){var o=e.get("borderRadius");if(null==o)return n?{cornerRadius:0}:null;isArray$2(o)||(o=[o,o,o,o]);var r=Math.abs(t.r||0-t.r0||0);return{cornerRadius:map$1(o,(function(e){return parsePercent$1(e,r)}))}}var mathMax$4=Math.max,mathMin$4=Math.min;function getClipArea(e,t){var n=e.getArea&&e.getArea();if(isCoordinateSystemType(e,"cartesian2d")){var o=e.getBaseAxis();if("category"!==o.type||!o.onBand){var r=t.getLayout("bandWidth");o.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}var BarView=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return __extends(t,e),t.prototype.render=function(e,t,n,o){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var r=e.get("coordinateSystem");"cartesian2d"!==r&&"polar"!==r||(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,o))},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){traverseElements(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,o){var r,i=this.group,a=e.getData(),l=this._data,s=e.coordinateSystem,c=s.getBaseAxis();"cartesian2d"===s.type?r=c.isHorizontal():"polar"===s.type&&(r="angle"===c.dim);var u=e.isAnimationEnabled()?e:null,d=shouldRealtimeSort(e,s);d&&this._enableRealtimeSort(d,a,n);var p=e.get("clip",!0)||d,f=getClipArea(s,a);i.removeClipPath();var h=e.get("roundCap",!0),m=e.get("showBackground",!0),g=e.getModel("backgroundStyle"),v=g.get("borderRadius")||0,y=[],b=this._backgroundEls,_=o&&o.isInitSort,w=o&&"changeAxisOrder"===o.type;function k(e){var t=getLayout[s.type](a,e),n=createBackgroundEl(s,r,t);return n.useStyle(g.getItemStyle()),"cartesian2d"===s.type?n.setShape("r",v):n.setShape("cornerRadius",v),y[e]=n,n}a.diff(l).add((function(t){var n=a.getItemModel(t),o=getLayout[s.type](a,t,n);if(m&&k(t),a.hasValue(t)&&isValidLayout[s.type](o)){var l=!1;p&&(l=clip[s.type](f,o));var g=elementCreator[s.type](e,a,t,o,r,u,c.model,!1,h);d&&(g.forceLabelAnimation=!0),updateStyle(g,a,t,n,o,e,r,"polar"===s.type),_?g.attr({shape:o}):d?updateRealtimeAnimation(d,u,g,o,t,r,!1,!1):initProps(g,{shape:o},e,t),a.setItemGraphicEl(t,g),i.add(g),g.ignore=l}})).update((function(t,n){var o=a.getItemModel(t),x=getLayout[s.type](a,t,o);if(m){var S=void 0;0===b.length?S=k(n):((S=b[n]).useStyle(g.getItemStyle()),"cartesian2d"===s.type?S.setShape("r",v):S.setShape("cornerRadius",v),y[t]=S);var C=getLayout[s.type](a,t);updateProps$1(S,{shape:createBackgroundShape(r,C,s)},u,t)}var E=l.getItemGraphicEl(n);if(a.hasValue(t)&&isValidLayout[s.type](x)){var T=!1;if(p&&(T=clip[s.type](f,x))&&i.remove(E),E?saveOldStyle(E):E=elementCreator[s.type](e,a,t,x,r,u,c.model,!!E,h),d&&(E.forceLabelAnimation=!0),w){var A=E.getTextContent();if(A){var $=labelInner(A);null!=$.prevValue&&($.prevValue=$.value)}}else updateStyle(E,a,t,o,x,e,r,"polar"===s.type);_?E.attr({shape:x}):d?updateRealtimeAnimation(d,u,E,x,t,r,!0,w):updateProps$1(E,{shape:x},e,t,null),a.setItemGraphicEl(t,E),E.ignore=T,i.add(E)}else i.remove(E)})).remove((function(t){var n=l.getItemGraphicEl(t);n&&removeElementWithFadeOut(n,e,t)})).execute();var x=this._backgroundGroup||(this._backgroundGroup=new Group$3);x.removeAll();for(var S=0;S<y.length;++S)x.add(y[S]);i.add(x),this._backgroundEls=y,this._data=a},t.prototype._renderLarge=function(e,t,n){this._clear(),createLarge$1(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),createLarge$1(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&createClipPath(e.coordinateSystem,!1,e),n=this.group;t?n.setClipPath(t):n.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var o=this;if(t.count()){var r=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var i=function(e){var n=t.getItemGraphicEl(e),o=n&&n.shape;return o&&Math.abs(r.isHorizontal()?o.height:o.width)||0};this._onRendered=function(){o._updateSortWithinSameData(t,i,r,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var o=[];return e.each(e.mapDimension(t.dim),(function(e,t){var r=n(t);r=null==r?NaN:r,o.push({dataIndex:t,mappedValue:r,ordinalNumber:e})})),o.sort((function(e,t){return t.mappedValue-e.mappedValue})),{ordinalNumbers:map$1(o,(function(e){return e.ordinalNumber}))}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var o=n.scale,r=e.mapDimension(n.dim),i=Number.MAX_VALUE,a=0,l=o.getOrdinalMeta().categories.length;a<l;++a){var s=e.rawIndexOf(r,o.getRawOrdinalNumber(a)),c=s<0?Number.MIN_VALUE:t(e.indexOfRawIndex(s));if(c>i)return!0;i=c}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,o=n.getExtent(),r=Math.max(0,o[0]),i=Math.min(o[1],n.getOrdinalMeta().categories.length-1);r<=i;++r)if(e.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,o){if(this._isOrderChangedWithinSameData(e,t,n)){var r=this._dataSort(e,n,t);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},t.prototype._dispatchInitSort=function(e,t,n){var o=t.baseAxis,r=this._dataSort(e,o,(function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:r})},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){removeElementWithFadeOut(t,e,getECData(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}(ChartView),clip={cartesian2d:function(e,t){var n=t.width<0?-1:1,o=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),o<0&&(t.y+=t.height,t.height=-t.height);var r=e.x+e.width,i=e.y+e.height,a=mathMax$4(t.x,e.x),l=mathMin$4(t.x+t.width,r),s=mathMax$4(t.y,e.y),c=mathMin$4(t.y+t.height,i),u=l<a,d=c<s;return t.x=u&&a>r?l:a,t.y=d&&s>i?c:s,t.width=u?0:l-a,t.height=d?0:c-s,n<0&&(t.x+=t.width,t.width=-t.width),o<0&&(t.y+=t.height,t.height=-t.height),u||d},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var o=t.r;t.r=t.r0,t.r0=o}var r=mathMin$4(t.r,e.r),i=mathMax$4(t.r0,e.r0);t.r=r,t.r0=i;var a=r-i<0;if(n<0){o=t.r;t.r=t.r0,t.r0=o}return a}},elementCreator={cartesian2d:function(e,t,n,o,r,i,a,l,s){var c=new Rect$2({shape:extend$1({},o),z2:1});(c.__dataIndex=n,c.name="item",i)&&(c.shape[r?"height":"width"]=0);return c},polar:function(e,t,n,o,r,i,a,l,s){var c=!r&&s?SausagePath:Sector,u=new c({shape:o,z2:1});u.name="item";var d=createPolarPositionMapping(r);if(u.calculateTextPosition=createSectorCalculateTextPosition(d,{isRoundCap:c===SausagePath}),i){var p=r?"r":"endAngle",f={};u.shape[p]=r?o.r0:o.startAngle,f[p]=o[p],(l?updateProps$1:initProps)(u,{shape:f},i)}return u}};function shouldRealtimeSort(e,t){var n=e.get("realtimeSort",!0),o=t.getBaseAxis();if(n&&"category"===o.type&&"cartesian2d"===t.type)return{baseAxis:o,otherAxis:t.getOtherAxis(o)}}function updateRealtimeAnimation(e,t,n,o,r,i,a,l){var s,c;i?(c={x:o.x,width:o.width},s={y:o.y,height:o.height}):(c={y:o.y,height:o.height},s={x:o.x,width:o.width}),l||(a?updateProps$1:initProps)(n,{shape:s},t,r,null),(a?updateProps$1:initProps)(n,{shape:c},t?e.baseAxis.model:null,r)}function checkPropertiesNotValid(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var rectPropties=["x","y","width","height"],polarPropties=["cx","cy","r","startAngle","endAngle"],isValidLayout={cartesian2d:function(e){return!checkPropertiesNotValid(e,rectPropties)},polar:function(e){return!checkPropertiesNotValid(e,polarPropties)}},getLayout={cartesian2d:function(e,t,n){var o=e.getItemLayout(t),r=n?getLineWidth(n,o):0,i=o.width>0?1:-1,a=o.height>0?1:-1;return{x:o.x+i*r/2,y:o.y+a*r/2,width:o.width-i*r,height:o.height-a*r}},polar:function(e,t,n){var o=e.getItemLayout(t);return{cx:o.cx,cy:o.cy,r0:o.r0,r:o.r,startAngle:o.startAngle,endAngle:o.endAngle,clockwise:o.clockwise}}};function isZeroOnPolar(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function createPolarPositionMapping(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 updateStyle(e,t,n,o,r,i,a,l){var s=t.getItemVisual(n,"style");if(l){if(!i.get("roundCap")){var c=e.shape;extend$1(c,getSectorCornerRadius(o.getModel("itemStyle"),c,!0)),e.setShape(c)}}else{var u=o.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(s);var d=o.getShallow("cursor");d&&e.attr("cursor",d);var p=l?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",f=getLabelStatesModels(o);setLabelStyle(e,f,{labelFetcher:i,labelDataIndex:n,defaultText:getDefaultLabel(i.getData(),n),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:p});var h=e.getTextContent();if(l&&h){var m=o.get(["label","position"]);e.textConfig.inside="middle"===m||null,setSectorTextRotation(e,"outside"===m?p:m,createPolarPositionMapping(a),o.get(["label","rotate"]))}setLabelValueAnimation(h,f,i.getRawValue(n),(function(e){return getDefaultInterpolatedLabel(t,e)}));var g=o.getModel(["emphasis"]);toggleHoverEmphasis(e,g.get("focus"),g.get("blurScope"),g.get("disabled")),setStatesStylesFromModel(e,o),isZeroOnPolar(r)&&(e.style.fill="none",e.style.stroke="none",each$f(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}function getLineWidth(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var o=e.get(["itemStyle","borderWidth"])||0,r=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(o,r,i)}var LagePathShape=function(){return function(){}}(),LargePath=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return __extends(t,e),t.prototype.getDefaultShape=function(){return new LagePathShape},t.prototype.buildPath=function(e,t){for(var n=t.points,o=this.baseDimIdx,r=1-this.baseDimIdx,i=[],a=[],l=this.barWidth,s=0;s<n.length;s+=3)a[o]=l,a[r]=n[s+2],i[o]=n[s+o],i[r]=n[s+r],e.rect(i[0],i[1],a[0],a[1])},t}(Path);function createLarge$1(e,t,n,o){var r=e.getData(),i=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),l=r.getLayout("size"),s=e.getModel("backgroundStyle"),c=r.getLayout("largeBackgroundPoints");if(c){var u=new LargePath({shape:{points:c},incremental:!!o,silent:!0,z2:0});u.baseDimIdx=i,u.largeDataIndices=a,u.barWidth=l,u.useStyle(s.getItemStyle()),t.add(u),n&&n.push(u)}var d=new LargePath({shape:{points:r.getLayout("largePoints")},incremental:!!o,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=i,d.largeDataIndices=a,d.barWidth=l,t.add(d),d.useStyle(r.getVisual("style")),d.style.stroke=null,getECData(d).seriesIndex=e.seriesIndex,e.get("silent")||(d.on("mousedown",largePathUpdateDataIndex),d.on("mousemove",largePathUpdateDataIndex)),n&&n.push(d)}var largePathUpdateDataIndex=throttle$2((function(e){var t=largePathFindDataIndex(this,e.offsetX,e.offsetY);getECData(this).dataIndex=t>=0?t:null}),30,!1);function largePathFindDataIndex(e,t,n){for(var o=e.baseDimIdx,r=1-o,i=e.shape.points,a=e.largeDataIndices,l=[],s=[],c=e.barWidth,u=0,d=i.length/3;u<d;u++){var p=3*u;if(s[o]=c,s[r]=i[p+2],l[o]=i[p+o],l[r]=i[p+r],s[r]<0&&(l[r]+=s[r],s[r]=-s[r]),t>=l[0]&&t<=l[0]+s[0]&&n>=l[1]&&n<=l[1]+s[1])return a[u]}return-1}function createBackgroundShape(e,t,n){if(isCoordinateSystemType(n,"cartesian2d")){var o=t,r=n.getArea();return{x:e?o.x:r.x,y:e?r.y:o.y,width:e?o.width:r.width,height:e?r.height:o.height}}var i=t;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:e?r.r0:i.r0,r:e?r.r:i.r,startAngle:e?i.startAngle:0,endAngle:e?i.endAngle:2*Math.PI}}function createBackgroundEl(e,t,n){return new("polar"===e.type?Sector:Rect$2)({shape:createBackgroundShape(t,n,e),silent:!0,z2:0})}function install$Q(e){e.registerChartView(BarView),e.registerSeriesModel(BarSeriesModel),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,curry$1(layout$4,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,dataSample("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)}))}))}var PI2=2*Math.PI,RADIAN$2=Math.PI/180;function getViewRect$5(e,t){return getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function getBasicPieLayout(e,t){var n=getViewRect$5(e,t),o=e.get("center"),r=e.get("radius");isArray$2(r)||(r=[0,r]);var i,a,l=parsePercent(n.width,t.getWidth()),s=parsePercent(n.height,t.getHeight()),c=Math.min(l,s),u=parsePercent(r[0],c/2),d=parsePercent(r[1],c/2),p=e.coordinateSystem;if(p){var f=p.dataToPoint(o);i=f[0]||0,a=f[1]||0}else isArray$2(o)||(o=[o,o]),i=parsePercent(o[0],l)+n.x,a=parsePercent(o[1],s)+n.y;return{cx:i,cy:a,r0:u,r:d}}function pieLayout(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),o=t.mapDimension("value"),r=getViewRect$5(e,n),i=getBasicPieLayout(e,n),a=i.cx,l=i.cy,s=i.r,c=i.r0,u=-e.get("startAngle")*RADIAN$2,d=e.get("endAngle"),p=e.get("padAngle")*RADIAN$2;d="auto"===d?u-PI2:-d*RADIAN$2;var f=e.get("minAngle")*RADIAN$2+p,h=0;t.each(o,(function(e){!isNaN(e)&&h++}));var m=t.getSum(o),g=Math.PI/(m||h)*2,v=e.get("clockwise"),y=e.get("roseType"),b=e.get("stillShowZeroSum"),_=t.getDataExtent(o);_[0]=0;var w=v?1:-1,k=[u,d],x=w*p/2;normalizeArcAngles(k,!v),u=k[0],d=k[1];var S=getSeriesLayoutData(e);S.startAngle=u,S.endAngle=d,S.clockwise=v;var C=Math.abs(d-u),E=C,T=0,A=u;if(t.setLayout({viewRect:r,r:s}),t.each(o,(function(e,n){var o;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:l,r0:c,r:y?NaN:s});else{(o="area"!==y?0===m&&b?g:e*g:C/h)<f?(o=f,E-=f):T+=e;var r=A+w*o,i=0,u=0;p>o?u=i=A+w*o/2:(i=A+x,u=r-x),t.setItemLayout(n,{angle:o,startAngle:i,endAngle:u,clockwise:v,cx:a,cy:l,r0:c,r:y?linearMap$2(e,_,[c,s]):s}),A=r}})),E<PI2&&h)if(E<=.001){var $=C/h;t.each(o,(function(e,n){if(!isNaN(e)){var o=t.getItemLayout(n);o.angle=$;var r=0,i=0;$<p?i=r=u+w*(n+.5)*$:(r=u+w*n*$+x,i=u+w*(n+1)*$-x),o.startAngle=r,o.endAngle=i}}))}else g=E/T,A=u,t.each(o,(function(e,n){if(!isNaN(e)){var o=t.getItemLayout(n),r=o.angle===f?f:e*g,i=0,a=0;r<p?a=i=A+w*r/2:(i=A+x,a=A+w*r-x),o.startAngle=i,o.endAngle=a,A+=w*r}}))}))}var getSeriesLayoutData=makeInner();function dataFilter$1(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var o=e.getData();o.filterSelf((function(e){for(var t=o.getName(e),r=0;r<n.length;r++)if(!n[r].isSelected(t))return!1;return!0}))}}}}var RADIAN$1=Math.PI/180;function adjustSingleSide(e,t,n,o,r,i,a,l,s,c){if(!(e.length<2)){for(var u=e.length,d=0;d<u;d++)if("outer"===e[d].position&&"labelLine"===e[d].labelAlignTo){var p=e[d].label.x-c;e[d].linePoints[1][0]+=p,e[d].label.x=c}shiftLayoutOnY(e,s,s+a)&&function(e){for(var i={list:[],maxY:0},a={list:[],maxY:0},l=0;l<e.length;l++)if("none"===e[l].labelAlignTo){var s=e[l],c=s.label.y>n?a:i,u=Math.abs(s.label.y-n);if(u>=c.maxY){var d=s.label.x-t-s.len2*r,p=o+s.len,h=Math.abs(d)<p?Math.sqrt(u*u/(1-d*d/p/p)):p;c.rB=h,c.maxY=u}c.list.push(s)}f(i),f(a)}(e)}function f(e){for(var i=e.rB,a=i*i,l=0;l<e.list.length;l++){var s=e.list[l],c=Math.abs(s.label.y-n),u=o+s.len,d=u*u,p=Math.sqrt(Math.abs((1-c*c/a)*d)),f=t+(p+s.len2)*r,h=f-s.label.x;constrainTextWidth(s,s.targetTextWidth-h*r,!0),s.label.x=f}}}function avoidOverlap(e,t,n,o,r,i,a,l){for(var s=[],c=[],u=Number.MAX_VALUE,d=-Number.MAX_VALUE,p=0;p<e.length;p++){var f=e[p].label;isPositionCenter(e[p])||(f.x<t?(u=Math.min(u,f.x),s.push(e[p])):(d=Math.max(d,f.x),c.push(e[p])))}for(p=0;p<e.length;p++){if(!isPositionCenter(g=e[p])&&g.linePoints){if(null!=g.labelStyleWidth)continue;f=g.label;var h=g.linePoints,m=void 0;m="edge"===g.labelAlignTo?f.x<t?h[2][0]-g.labelDistance-a-g.edgeDistance:a+r-g.edgeDistance-h[2][0]-g.labelDistance:"labelLine"===g.labelAlignTo?f.x<t?u-a-g.bleedMargin:a+r-d-g.bleedMargin:f.x<t?f.x-a-g.bleedMargin:a+r-f.x-g.bleedMargin,g.targetTextWidth=m,constrainTextWidth(g,m)}}adjustSingleSide(c,t,n,o,1,r,i,a,l,d),adjustSingleSide(s,t,n,o,-1,r,i,a,l,u);for(p=0;p<e.length;p++){var g;if(!isPositionCenter(g=e[p])&&g.linePoints){f=g.label,h=g.linePoints;var v="edge"===g.labelAlignTo,y=f.style.padding,b=y?y[1]+y[3]:0,_=f.style.backgroundColor?0:b,w=g.rect.width+_,k=h[1][0]-h[2][0];v?f.x<t?h[2][0]=a+g.edgeDistance+w+g.labelDistance:h[2][0]=a+r-g.edgeDistance-w-g.labelDistance:(f.x<t?h[2][0]=f.x+g.labelDistance:h[2][0]=f.x-g.labelDistance,h[1][0]=h[2][0]+k),h[1][1]=h[2][1]=f.y}}}function constrainTextWidth(e,t,n){if(void 0===n&&(n=!1),null==e.labelStyleWidth){var o=e.label,r=o.style,i=e.rect,a=r.backgroundColor,l=r.padding,s=l?l[1]+l[3]:0,c=r.overflow,u=i.width+(a?0:s);if(t<u||n){var d=i.height;if(c&&c.match("break")){o.setStyle("backgroundColor",null),o.setStyle("width",t-s);var p=o.getBoundingRect();o.setStyle("width",Math.ceil(p.width)),o.setStyle("backgroundColor",a)}else{var f=t-s,h=t<u?f:n?f>e.unconstrainedWidth?null:f:null;o.setStyle("width",h)}var m=o.getBoundingRect();i.width=m.width;var g=(o.style.margin||0)+2.1;i.height=m.height+g,i.y-=(i.height-d)/2}}}function isPositionCenter(e){return"center"===e.position}function pieLabelLayout(e){var t,n,o=e.getData(),r=[],i=!1,a=(e.get("minShowLabelAngle")||0)*RADIAN$1,l=o.getLayout("viewRect"),s=o.getLayout("r"),c=l.width,u=l.x,d=l.y,p=l.height;function f(e){e.ignore=!0}o.each((function(e){var l=o.getItemGraphicEl(e),d=l.shape,p=l.getTextContent(),h=l.getTextGuideLine(),m=o.getItemModel(e),g=m.getModel("label"),v=g.get("position")||m.get(["emphasis","label","position"]),y=g.get("distanceToLabelLine"),b=g.get("alignTo"),_=parsePercent(g.get("edgeDistance"),c),w=g.get("bleedMargin"),k=m.getModel("labelLine"),x=k.get("length");x=parsePercent(x,c);var S=k.get("length2");if(S=parsePercent(S,c),Math.abs(d.endAngle-d.startAngle)<a)return each$f(p.states,f),p.ignore=!0,void(h&&(each$f(h.states,f),h.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}(p)){var C,E,T,A,$=(d.startAngle+d.endAngle)/2,I=Math.cos($),M=Math.sin($);t=d.cx,n=d.cy;var P="inside"===v||"inner"===v;if("center"===v)C=d.cx,E=d.cy,A="center";else{var N=(P?(d.r+d.r0)/2*I:d.r*I)+t,O=(P?(d.r+d.r0)/2*M:d.r*M)+n;if(C=N+3*I,E=O+3*M,!P){var R=N+I*(x+s-d.r),D=O+M*(x+s-d.r),L=R+(I<0?-1:1)*S;C="edge"===b?I<0?u+_:u+c-_:L+(I<0?-y:y),E=D,T=[[N,O],[R,D],[L,D]]}A=P?"center":"edge"===b?I>0?"right":"left":I>0?"left":"right"}var B=Math.PI,V=0,z=g.get("rotate");if(isNumber$2(z))V=z*(B/180);else if("center"===v)V=0;else if("radial"===z||!0===z){V=I<0?-$+B:-$}else if("tangential"===z&&"outside"!==v&&"outer"!==v){var F=Math.atan2(I,M);F<0&&(F=2*B+F),M>0&&(F=B+F),V=F-B}if(i=!!V,p.x=C,p.y=E,p.rotation=V,p.setStyle({verticalAlign:"middle"}),P){p.setStyle({align:A});var H=p.states.select;H&&(H.x+=p.x,H.y+=p.y)}else{var j=p.getBoundingRect().clone();j.applyTransform(p.getComputedTransform());var G=(p.style.margin||0)+2.1;j.y-=G/2,j.height+=G,r.push({label:p,labelLine:h,position:v,len:x,len2:S,minTurnAngle:k.get("minTurnAngle"),maxSurfaceAngle:k.get("maxSurfaceAngle"),surfaceNormal:new Point(I,M),linePoints:T,textAlign:A,labelDistance:y,labelAlignTo:b,edgeDistance:_,bleedMargin:w,rect:j,unconstrainedWidth:j.width,labelStyleWidth:p.style.width})}l.setTextConfig({inside:P})}})),!i&&e.get("avoidLabelOverlap")&&avoidOverlap(r,t,n,s,c,p,u,d);for(var h=0;h<r.length;h++){var m=r[h],g=m.label,v=m.labelLine,y=isNaN(g.x)||isNaN(g.y);if(g){g.setStyle({align:m.textAlign}),y&&(each$f(g.states,f),g.ignore=!0);var b=g.states.select;b&&(b.x+=g.x,b.y+=g.y)}if(v){var _=m.linePoints;y||!_?(each$f(v.states,f),v.ignore=!0):(limitTurnAngle(_,m.minTurnAngle),limitSurfaceAngle(_,m.surfaceNormal,m.maxSurfaceAngle),v.setShape({points:_}),g.__hostTarget.textGuideLineConfig={anchor:new Point(_[0][0],_[0][1])})}}}var PiePiece=function(e){function t(t,n,o){var r=e.call(this)||this;r.z2=2;var i=new ZRText;return r.setTextContent(i),r.updateData(t,n,o,!0),r}return __extends(t,e),t.prototype.updateData=function(e,t,n,o){var r=this,i=e.hostModel,a=e.getItemModel(t),l=a.getModel("emphasis"),s=e.getItemLayout(t),c=extend$1(getSectorCornerRadius(a.getModel("itemStyle"),s,!0),s);if(isNaN(c.startAngle))r.setShape(c);else{if(o){r.setShape(c);var u=i.getShallow("animationType");i.ecModel.ssr?(initProps(r,{scaleX:0,scaleY:0},i,{dataIndex:t,isFrom:!0}),r.originX=c.cx,r.originY=c.cy):"scale"===u?(r.shape.r=s.r0,initProps(r,{shape:{r:s.r}},i,t)):null!=n?(r.setShape({startAngle:n,endAngle:n}),initProps(r,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},i,t)):(r.shape.endAngle=s.startAngle,updateProps$1(r,{shape:{endAngle:s.endAngle}},i,t))}else saveOldStyle(r),updateProps$1(r,{shape:c},i,t);r.useStyle(e.getItemVisual(t,"style")),setStatesStylesFromModel(r,a);var d=(s.startAngle+s.endAngle)/2,p=i.get("selectedOffset"),f=Math.cos(d)*p,h=Math.sin(d)*p,m=a.getShallow("cursor");m&&r.attr("cursor",m),this._updateLabel(i,e,t),r.ensureState("emphasis").shape=extend$1({r:s.r+(l.get("scale")&&l.get("scaleSize")||0)},getSectorCornerRadius(l.getModel("itemStyle"),s)),extend$1(r.ensureState("select"),{x:f,y:h,shape:getSectorCornerRadius(a.getModel(["select","itemStyle"]),s)}),extend$1(r.ensureState("blur"),{shape:getSectorCornerRadius(a.getModel(["blur","itemStyle"]),s)});var g=r.getTextGuideLine(),v=r.getTextContent();g&&extend$1(g.ensureState("select"),{x:f,y:h}),extend$1(v.ensureState("select"),{x:f,y:h}),toggleHoverEmphasis(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))}},t.prototype._updateLabel=function(e,t,n){var o=this,r=t.getItemModel(n),i=r.getModel("labelLine"),a=t.getItemVisual(n,"style"),l=a&&a.fill,s=a&&a.opacity;setLabelStyle(o,getLabelStatesModels(r),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:l,defaultOpacity:s,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var c=o.getTextContent();o.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var u=e.get(["label","position"]);if("outside"!==u&&"outer"!==u)o.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new Polyline$1,this.setTextGuideLine(d)),setLabelLineStyle(this,getLabelLineStatesModels(r),{stroke:l,opacity:retrieve3(i.get(["lineStyle","opacity"]),s,1)})}},t}(Sector),PieView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return __extends(t,e),t.prototype.render=function(e,t,n,o){var r,i=e.getData(),a=this._data,l=this.group;if(!a&&i.count()>0){for(var s=i.getItemLayout(0),c=1;isNaN(s&&s.startAngle)&&c<i.count();++c)s=i.getItemLayout(c);s&&(r=s.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),0===i.count()&&e.get("showEmptyCircle")){var u=getSeriesLayoutData(e),d=new Sector({shape:extend$1(getBasicPieLayout(e,n),u)});d.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=d,l.add(d)}i.diff(a).add((function(e){var t=new PiePiece(i,e,r);i.setItemGraphicEl(e,t),l.add(t)})).update((function(e,t){var n=a.getItemGraphicEl(t);n.updateData(i,e,r),n.off("click"),l.add(n),i.setItemGraphicEl(e,n)})).remove((function(t){removeElementWithFadeOut(a.getItemGraphicEl(t),e,t)})).execute(),pieLabelLayout(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=i)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var o=e[0]-n.cx,r=e[1]-n.cy,i=Math.sqrt(o*o+r*r);return i<=n.r&&i>=n.r0}},t.type="pie",t}(ChartView);function createSeriesDataSimply(e,t,n){t=isArray$2(t)&&{coordDimensions:t}||extend$1({encodeDefine:e.getEncode()},t);var o=e.getSource(),r=prepareSeriesDataSchema(o,t).dimensions,i=new SeriesData(r,e);return i.initData(o,n),i}var LegendVisualProvider=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}(),innerData=makeInner(),PieSeriesModel=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$2(this.getData,this),bind$2(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),o=innerData(n),r=o.seats;if(!r){var i=[];n.each(n.mapDimension("value"),(function(e){i.push(e)})),r=o.seats=getPercentSeats(i,n.hostModel.get("percentPrecision"))}var a=e.prototype.getDataParams.call(this,t);return a.percent=r[t]||0,a.$vars.push("percent"),a},t.prototype._defaultLabelLine=function(e){defaultEmphasis(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,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(SeriesModel);function negativeDataFilter(e){return{seriesType:e,reset:function(e,t){var n=e.getData();n.filterSelf((function(e){var t=n.mapDimension("value"),o=n.get(t,e);return!(isNumber$2(o)&&!isNaN(o)&&o<0)}))}}}function install$P(e){e.registerChartView(PieView),e.registerSeriesModel(PieSeriesModel),createLegacyDataSelectAction("pie",e.registerAction),e.registerLayout(curry$1(pieLayout,"pie")),e.registerProcessor(dataFilter$1("pie")),e.registerProcessor(negativeDataFilter("pie"))}var ScatterSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return __extends(t,e),t.prototype.getInitialData=function(e,t){return createSeriesData(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}(SeriesModel),BOOST_SIZE_THRESHOLD=4,LargeSymbolPathShape=function(){return function(){}}(),LargeSymbolPath=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return __extends(t,e),t.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var n,o=t.points,r=t.size,i=this.symbolProxy,a=i.shape,l=e.getContext?e.getContext():e,s=l&&r[0]<BOOST_SIZE_THRESHOLD,c=this.softClipShape;if(s)this._ctx=l;else{for(this._ctx=null,n=this._off;n<o.length;){var u=o[n++],d=o[n++];isNaN(u)||isNaN(d)||(c&&!c.contain(u,d)||(a.x=u-r[0]/2,a.y=d-r[1]/2,a.width=r[0],a.height=r[1],i.buildPath(e,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},t.prototype.afterBrush=function(){var e,t=this.shape,n=t.points,o=t.size,r=this._ctx,i=this.softClipShape;if(r){for(e=this._off;e<n.length;){var a=n[e++],l=n[e++];isNaN(a)||isNaN(l)||(i&&!i.contain(a,l)||r.fillRect(a-o[0]/2,l-o[1]/2,o[0],o[1]))}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var n=this.shape,o=n.points,r=n.size,i=Math.max(r[0],4),a=Math.max(r[1],4),l=o.length/2-1;l>=0;l--){var s=2*l,c=o[s]-i/2,u=o[s+1]-a/2;if(e>=c&&t>=u&&e<=c+i&&t<=u+a)return l}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),o=this.getBoundingRect();return e=n[0],t=n[1],o.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,o=t.size,r=o[0],i=o[1],a=1/0,l=1/0,s=-1/0,c=-1/0,u=0;u<n.length;){var d=n[u++],p=n[u++];a=Math.min(d,a),s=Math.max(d,s),l=Math.min(p,l),c=Math.max(p,c)}e=this._rect=new BoundingRect(a-r/2,l-i/2,s-a+r,c-l+i)}return e},t}(Path),LargeSymbolDraw=function(){function e(){this.group=new Group$3}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),o=4*e.startIndex*2;t=new Float32Array(t.buffer,o,n)}e.setShape("points",t),e.reset()}))},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,n){var o=this._newAdded[0],r=t.getLayout("points"),i=o&&o.shape.points;if(i&&i.length<2e4){var a=i.length,l=new Float32Array(a+r.length);l.set(i),l.set(r,a),o.endIndex=e.end,o.setShape({points:l})}else{this._newAdded=[];var s=this._create();s.startIndex=e.start,s.endIndex=e.end,s.incremental=!0,s.setShape({points:r}),this._setCommon(s,t,n)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new LargeSymbolPath({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,n){var o=t.hostModel;n=n||{};var r=t.getVisual("symbolSize");e.setShape("size",r instanceof Array?r:[r,r]),e.softClipShape=n.clipShape||null,e.symbolProxy=createSymbol$1(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var i=e.shape.size[0]<BOOST_SIZE_THRESHOLD;e.useStyle(o.getModel("itemStyle").getItemStyle(i?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("style"),l=a&&a.fill;l&&e.setColor(l);var s=getECData(e);s.seriesIndex=o.seriesIndex,e.on("mousemove",(function(t){s.dataIndex=null;var n=e.hoverDataIdx;n>=0&&(s.dataIndex=n+(e.startIndex||0))}))},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),ScatterView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=e.getData();this._updateSymbolDraw(o,e).updateData(o,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var o=e.getData();this._updateSymbolDraw(o,e).incrementalPrepareUpdate(o),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 o=e.getData();if(this.group.dirty(),!this._finished||o.count()>1e4)return{update:!0};var r=pointsLayout("").reset(e,t,n);r.progress&&r.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout(o)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var t=e.coordinateSystem;return t&&t.getArea&&t.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,o=t.pipelineContext.large;return n&&o===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=o?new LargeSymbolDraw:new SymbolDraw,this._isLargeDraw=o,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}(ChartView),GridModel=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(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}(ComponentModel),CartesianAxisModel=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},t.type="cartesian2dAxis",t}(ComponentModel);mixin(CartesianAxisModel,AxisModelCommonMixin);var defaultOption$1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},categoryAxis=merge$1({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge$1({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}}},defaultOption$1),timeAxis=merge$1({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults$1({logBase:10},valueAxis);const axisDefault={category:categoryAxis,value:valueAxis,time:timeAxis,log:logAxis};var AXIS_TYPES={value:1,category:1,time:1,log:1};function axisModelCreator(e,t,n,o){each$f(AXIS_TYPES,(function(r,i){var a=merge$1(merge$1({},axisDefault[i],!0),o,!0),l=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+i,n}return __extends(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=fetchLayoutMode(this),o=n?getLayoutParams(e):{};merge$1(e,t.getTheme().get(i+"Axis")),merge$1(e,this.getDefaultOption()),e.type=getAxisType(e),n&&mergeLayoutParam(e,o,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=OrdinalMeta.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."+i,n.defaultOption=a,n}(n);e.registerComponentModel(l)})),e.registerSubTypeDefaulter(t+"Axis",getAxisType)}function getAxisType(e){return e.type||(e.data?"category":"value")}var Cartesian=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 map$1(this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),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}(),cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(e){return"interval"===e.type||"time"===e.type}var Cartesian2D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=cartesian2DDimensions,t}return __extends(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(canCalculateAffineTransform(e)&&canCalculateAffineTransform(t)){var n=e.getExtent(),o=t.getExtent(),r=this.dataToPoint([n[0],o[0]]),i=this.dataToPoint([n[1],o[1]]),a=n[1]-n[0],l=o[1]-o[0];if(a&&l){var s=(i[0]-r[0])/a,c=(i[1]-r[1])/l,u=r[0]-n[0]*s,d=r[1]-o[0]*c,p=this._transform=[s,0,0,c,u,d];this._invTransform=invert([],p)}}},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),o=this.dataToPoint(t),r=this.getArea(),i=new BoundingRect(n[0],n[1],o[0]-n[0],o[1]-n[1]);return r.intersect(i)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var o=e[0],r=e[1];if(this._transform&&null!=o&&isFinite(o)&&null!=r&&isFinite(r))return applyTransform$1(n,e,this._transform);var i=this.getAxis("x"),a=this.getAxis("y");return n[0]=i.toGlobalCoord(i.dataToCoord(o,t)),n[1]=a.toGlobalCoord(a.dataToCoord(r,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,o=this.getAxis("y").scale,r=n.getExtent(),i=o.getExtent(),a=n.parse(e[0]),l=o.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),t[1]=Math.min(Math.max(Math.min(i[0],i[1]),l),Math.max(i[0],i[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return applyTransform$1(n,e,this._invTransform);var o=this.getAxis("x"),r=this.getAxis("y");return n[0]=o.coordToData(o.toLocalCoord(e[0]),t),n[1]=r.coordToData(r.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(e){e=e||0;var t=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),o=Math.min(t[0],t[1])-e,r=Math.min(n[0],n[1])-e,i=Math.max(t[0],t[1])-o+e,a=Math.max(n[0],n[1])-r+e;return new BoundingRect(o,r,i,a)},t}(Cartesian),Axis2D=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n,o)||this;return a.index=0,a.type=r||"value",a.position=i||"bottom",a}return __extends(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}(Axis);function layout$3(e,t,n){n=n||{};var o=e.coordinateSystem,r=t.axis,i={},a=r.getAxesOnZeroOf()[0],l=r.position,s=a?"onZero":l,c=r.dim,u=o.getRect(),d=[u.x,u.x+u.width,u.y,u.y+u.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=t.get("offset")||0,h="x"===c?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(a){var m=a.toGlobalCoord(a.dataToCoord(0));h[p.onZero]=Math.max(Math.min(m,h[1]),h[0])}i.position=["y"===c?h[p[s]]:d[0],"x"===c?h[p[s]]:d[3]],i.rotation=Math.PI/2*("x"===c?0:1);i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,left:-1,right:1}[l],i.labelOffset=a?h[p[l]]-h[p.onZero]:0,t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),retrieve(n.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var g=t.get(["axisLabel","rotate"]);return i.labelRotate="top"===s?-g:g,i.z2=1,i}function isCartesian2DSeries(e){return"cartesian2d"===e.get("coordinateSystem")}function findAxisModels(e){var t={xAxisModel:null,yAxisModel:null};return each$f(t,(function(n,o){var r=o.replace(/Model$/,""),i=e.getReferringComponents(r,SINGLE_REFERRING).models[0];t[o]=i})),t}var mathLog=Math.log;function alignScaleTicks(e,t,n){var o=IntervalScale.prototype,r=o.getTicks.call(n),i=o.getTicks.call(n,!0),a=r.length-1,l=o.getInterval.call(n),s=getScaleExtent(e,t),c=s.extent,u=s.fixMin,d=s.fixMax;if("log"===e.type){var p=mathLog(e.base);c=[mathLog(c[0])/p,mathLog(c[1])/p]}e.setExtent(c[0],c[1]),e.calcNiceExtent({splitNumber:a,fixMin:u,fixMax:d});var f=o.getExtent.call(e);u&&(c[0]=f[0]),d&&(c[1]=f[1]);var h=o.getInterval.call(e),m=c[0],g=c[1];if(u&&d)h=(g-m)/a;else if(u)for(g=c[0]+h*a;g<c[1]&&isFinite(g)&&isFinite(c[1]);)h=increaseInterval(h),g=c[0]+h*a;else if(d)for(m=c[1]-h*a;m>c[0]&&isFinite(m)&&isFinite(c[0]);)h=increaseInterval(h),m=c[1]-h*a;else{e.getTicks().length-1>a&&(h=increaseInterval(h));var v=h*a;(m=round$3((g=Math.ceil(c[1]/h)*h)-v))<0&&c[0]>=0?(m=0,g=round$3(v)):g>0&&c[1]<=0&&(g=0,m=-round$3(v))}var y=(r[0].value-i[0].value)/l,b=(r[a].value-i[a].value)/l;o.setExtent.call(e,m+h*y,g+h*b),o.setInterval.call(e,h),(y||b)&&o.setNiceExtent.call(e,m+h,g-h)}var Grid=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,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 o(e){var t,n=keys(e),o=n.length;if(o){for(var r=[],i=o-1;i>=0;i--){var a=e[+n[i]],l=a.model,s=a.scale;isIntervalOrLogScale(s)&&l.get("alignTicks")&&null==l.get("interval")?r.push(a):(niceScaleExtent(s,l),isIntervalOrLogScale(s)&&(t=a))}r.length&&(t||niceScaleExtent((t=r.pop()).scale,t.model),each$f(r,(function(e){alignScaleTicks(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),o(n.x),o(n.y);var r={};each$f(n.x,(function(e){fixAxisOnZero(n,"y",e,r)})),each$f(n.y,(function(e){fixAxisOnZero(n,"x",e,r)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var o=e.getBoxLayoutParams(),r=!n&&e.get("containLabel"),i=getLayoutRect(o,{width:t.getWidth(),height:t.getHeight()});this._rect=i;var a=this._axesList;function l(){each$f(a,(function(e){var t=e.isHorizontal(),n=t?[0,i.width]:[0,i.height],o=e.inverse?1:0;e.setExtent(n[o],n[1-o]),updateAxisTransform(e,t?i.x:i.y)}))}l(),r&&(each$f(a,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=estimateLabelUnionRect(e);if(t){var n=e.isHorizontal()?"height":"width",o=e.model.get(["axisLabel","margin"]);i[n]-=t[n]+o,"top"===e.position?i.y+=t.height+o:"left"===e.position&&(i.x+=t.width+o)}}})),l()),each$f(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]}isObject$4(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var o=0,r=this._coordsList;o<r.length;o++)if(r[o].getAxis("x").index===e||r[o].getAxis("y").index===t)return r[o]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,n){var o=this._findConvertTarget(t);return o.cartesian?o.cartesian.dataToPoint(n):o.axis?o.axis.toGlobalCoord(o.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(e,t,n){var o=this._findConvertTarget(t);return o.cartesian?o.cartesian.pointToData(n):o.axis?o.axis.coordToData(o.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(e){var t,n,o=e.seriesModel,r=e.xAxisModel||o&&o.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],i=e.yAxisModel||o&&o.getReferringComponents("yAxis",SINGLE_REFERRING).models[0],a=e.gridModel,l=this._coordsList;if(o)indexOf(l,t=o.coordinateSystem)<0&&(t=null);else if(r&&i)t=this.getCartesian(r.componentIndex,i.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(i)n=this.getAxis("y",i.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 o=this,r=this,i={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},l={x:0,y:0};if(t.eachComponent("xAxis",s("x"),this),t.eachComponent("yAxis",s("y"),this),!l.x||!l.y)return this._axesMap={},void(this._axesList=[]);function s(t){return function(n,o){if(isAxisUsedInTheGrid(n,e)){var s=n.get("position");"x"===t?"top"!==s&&"bottom"!==s&&(s=i.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=i.left?"right":"left"),i[s]=!0;var c=new Axis2D(t,createScaleByModel$1(n),[0,0],n.get("type"),s),u="category"===c.type;c.onBand=u&&n.get("boundaryGap"),c.inverse=n.get("inverse"),n.axis=c,c.model=n,c.grid=r,c.index=o,r._axesList.push(c),a[t][o]=c,l[t]++}}}this._axesMap=a,each$f(a.x,(function(t,n){each$f(a.y,(function(r,i){var a="x"+n+"y"+i,l=new Cartesian2D(a);l.master=o,l.model=e,o._coordsMap[a]=l,o._coordsList.push(l),l.addAxis(t),l.addAxis(r)}))}))},e.prototype._updateScale=function(e,t){function n(e,t){each$f(getDataDimensionsOnAxis(e,t.dim),(function(n){t.scale.unionExtentFromData(e,n)}))}each$f(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(isCartesian2DSeries(e)){var o=findAxisModels(e),r=o.xAxisModel,i=o.yAxisModel;if(!isAxisUsedInTheGrid(r,t)||!isAxisUsedInTheGrid(i,t))return;var a=this.getCartesian(r.componentIndex,i.componentIndex),l=e.getData(),s=a.getAxis("x"),c=a.getAxis("y");n(l,s),n(l,c)}}),this)},e.prototype.getTooltipAxes=function(e){var t=[],n=[];return each$f(this.getCartesians(),(function(o){var r=null!=e&&"auto"!==e?o.getAxis(e):o.getBaseAxis(),i=o.getOtherAxis(r);indexOf(t,r)<0&&t.push(r),indexOf(n,i)<0&&n.push(i)})),{baseAxes:t,otherAxes:n}},e.create=function(t,n){var o=[];return t.eachComponent("grid",(function(r,i){var a=new e(r,t,n);a.name="grid_"+i,a.resize(r,n,!0),r.coordinateSystem=a,o.push(a)})),t.eachSeries((function(e){if(isCartesian2DSeries(e)){var t=findAxisModels(e),n=t.xAxisModel,o=t.yAxisModel,r=n.getCoordSysModel().coordinateSystem;e.coordinateSystem=r.getCartesian(n.componentIndex,o.componentIndex)}})),o},e.dimensions=cartesian2DDimensions,e}();function isAxisUsedInTheGrid(e,t){return e.getCoordSysModel()===t}function fixAxisOnZero(e,t,n,o){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,i=e[t],a=n.model,l=a.get(["axisLine","onZero"]),s=a.get(["axisLine","onZeroAxisIndex"]);if(l){if(null!=s)canOnZeroToAxis(i[s])&&(r=i[s]);else for(var c in i)if(i.hasOwnProperty(c)&&canOnZeroToAxis(i[c])&&!o[u(i[c])]){r=i[c];break}r&&(o[u(r)]=!0)}function u(e){return e.dim+"_"+e.index}}function canOnZeroToAxis(e){return e&&"category"!==e.type&&"time"!==e.type&&ifAxisCrossZero(e)}function updateAxisTransform(e,t){var n=e.getExtent(),o=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return o-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return o-e+t}}var PI$3=Math.PI,AxisBuilder=function(){function e(e,t){this.group=new Group$3,this.opt=t,this.axisModel=e,defaults$1(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Group$3({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!builders[e]},e.prototype.add=function(e){builders[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var o,r,i=remRadian(t-e);return isRadianAroundZero(i)?(r=n>0?"top":"bottom",o="center"):isRadianAroundZero(i-PI$3)?(r=n>0?"bottom":"top",o="center"):(r="middle",o=i>0&&i<PI$3?n>0?"right":"left":n>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:r}},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}(),builders={axisLine:function(e,t,n,o){var r=t.get(["axisLine","show"]);if("auto"===r&&e.handleAutoShown&&(r=e.handleAutoShown("axisLine")),r){var i=t.axis.getExtent(),a=o.transform,l=[i[0],0],s=[i[1],0],c=l[0]>s[0];a&&(applyTransform$1(l,l,a),applyTransform$1(s,s,a));var u=extend$1({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new Line$1({shape:{x1:l[0],y1:l[1],x2:s[0],y2:s[1]},style:u,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(d.shape,d.style.lineWidth),d.anid="line",n.add(d);var p=t.get(["axisLine","symbol"]);if(null!=p){var f=t.get(["axisLine","symbolSize"]);isString$2(p)&&(p=[p,p]),(isString$2(f)||isNumber$2(f))&&(f=[f,f]);var h=normalizeSymbolOffset(t.get(["axisLine","symbolOffset"])||0,f),m=f[0],g=f[1];each$f([{rotate:e.rotation+Math.PI/2,offset:h[0],r:0},{rotate:e.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((l[0]-s[0])*(l[0]-s[0])+(l[1]-s[1])*(l[1]-s[1]))}],(function(t,o){if("none"!==p[o]&&null!=p[o]){var r=createSymbol$1(p[o],-m/2,-g/2,m,g,u.stroke,!0),i=t.r+t.offset,a=c?s:l;r.attr({rotation:t.rotate,x:a[0]+i*Math.cos(e.rotation),y:a[1]-i*Math.sin(e.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(e,t,n,o){var r=buildAxisMajorTicks(n,o,t,e),i=buildAxisLabel(n,o,t,e);(fixMinMaxLabelShow(t,i,r),buildAxisMinorTicks(n,o,t,e.tickDirection),t.get(["axisLabel","hideOverlap"]))&&hideOverlap(prepareLayoutList(map$1(i,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}}))))},axisName:function(e,t,n,o){var r=retrieve(e.axisName,t.get("name"));if(r){var i,a,l=t.get("nameLocation"),s=e.nameDirection,c=t.getModel("nameTextStyle"),u=t.get("nameGap")||0,d=t.axis.getExtent(),p=d[0]>d[1]?-1:1,f=["start"===l?d[0]-p*u:"end"===l?d[1]+p*u:(d[0]+d[1])/2,isNameLocationCenter(l)?e.labelOffset+s*u:0],h=t.get("nameRotate");null!=h&&(h=h*PI$3/180),isNameLocationCenter(l)?i=AxisBuilder.innerTextLayout(e.rotation,null!=h?h:e.rotation,s):(i=endTextLayout(e.rotation,l,h||0,d),null!=(a=e.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(i.rotation)),!isFinite(a)&&(a=null)));var m=c.getFont(),g=t.get("nameTruncate",!0)||{},v=g.ellipsis,y=retrieve(e.nameTruncateMaxWidth,g.maxWidth,a),b=new ZRText({x:f[0],y:f[1],rotation:i.rotation,silent:AxisBuilder.isLabelSilent(t),style:createTextStyle(c,{text:r,font:m,overflow:"truncate",width:y,ellipsis:v,fill:c.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:c.get("align")||i.textAlign,verticalAlign:c.get("verticalAlign")||i.textVerticalAlign}),z2:1});if(setTooltipConfig({el:b,componentModel:t,itemName:r}),b.__fullText=r,b.anid="name",t.get("triggerEvent")){var _=AxisBuilder.makeAxisEventDataBase(t);_.targetType="axisName",_.name=r,getECData(b).eventData=_}o.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function endTextLayout(e,t,n,o){var r,i,a=remRadian(n-e),l=o[0]>o[1],s="start"===t&&!l||"start"!==t&&l;return isRadianAroundZero(a-PI$3/2)?(i=s?"bottom":"top",r="center"):isRadianAroundZero(a-1.5*PI$3)?(i=s?"top":"bottom",r="center"):(i="middle",r=a<1.5*PI$3&&a>PI$3/2?s?"left":"right":s?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:i}}function fixMinMaxLabelShow(e,t,n){if(!shouldShowAllLabels(e.axis)){var o=e.get(["axisLabel","showMinLabel"]),r=e.get(["axisLabel","showMaxLabel"]);n=n||[];var i=(t=t||[])[0],a=t[1],l=t[t.length-1],s=t[t.length-2],c=n[0],u=n[1],d=n[n.length-1],p=n[n.length-2];!1===o?(ignoreEl(i),ignoreEl(c)):isTwoLabelOverlapped(i,a)&&(o?(ignoreEl(a),ignoreEl(u)):(ignoreEl(i),ignoreEl(c))),!1===r?(ignoreEl(l),ignoreEl(d)):isTwoLabelOverlapped(s,l)&&(r?(ignoreEl(s),ignoreEl(p)):(ignoreEl(l),ignoreEl(d)))}}function ignoreEl(e){e&&(e.ignore=!0)}function isTwoLabelOverlapped(e,t){var n=e&&e.getBoundingRect().clone(),o=t&&t.getBoundingRect().clone();if(n&&o){var r=identity$1([]);return rotate(r,r,-e.rotation),n.applyTransform(mul([],r,e.getLocalTransform())),o.applyTransform(mul([],r,t.getLocalTransform())),n.intersect(o)}}function isNameLocationCenter(e){return"middle"===e||"center"===e}function createTicks(e,t,n,o,r){for(var i=[],a=[],l=[],s=0;s<e.length;s++){var c=e[s].coord;a[0]=c,a[1]=0,l[0]=c,l[1]=n,t&&(applyTransform$1(a,a,t),applyTransform$1(l,l,t));var u=new Line$1({shape:{x1:a[0],y1:a[1],x2:l[0],y2:l[1]},style:o,z2:2,autoBatch:!0,silent:!0});subPixelOptimizeLine(u.shape,u.style.lineWidth),u.anid=r+"_"+e[s].tickValue,i.push(u)}return i}function buildAxisMajorTicks(e,t,n,o){var r=n.axis,i=n.getModel("axisTick"),a=i.get("show");if("auto"===a&&o.handleAutoShown&&(a=o.handleAutoShown("axisTick")),a&&!r.scale.isBlank()){for(var l=i.getModel("lineStyle"),s=o.tickDirection*i.get("length"),c=createTicks(r.getTicksCoords(),t.transform,s,defaults$1(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;u<c.length;u++)e.add(c[u]);return c}}function buildAxisMinorTicks(e,t,n,o){var r=n.axis,i=n.getModel("minorTick");if(i.get("show")&&!r.scale.isBlank()){var a=r.getMinorTicksCoords();if(a.length)for(var l=i.getModel("lineStyle"),s=o*i.get("length"),c=defaults$1(l.getLineStyle(),defaults$1(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),u=0;u<a.length;u++)for(var d=createTicks(a[u],t.transform,s,c,"minorticks_"+u),p=0;p<d.length;p++)e.add(d[p])}}function buildAxisLabel(e,t,n,o){var r=n.axis;if(retrieve(o.axisLabelShow,n.get(["axisLabel","show"]))&&!r.scale.isBlank()){var i=n.getModel("axisLabel"),a=i.get("margin"),l=r.getViewLabels(),s=(retrieve(o.labelRotate,i.get("rotate"))||0)*PI$3/180,c=AxisBuilder.innerTextLayout(o.rotation,s,o.labelDirection),u=n.getCategories&&n.getCategories(!0),d=[],p=AxisBuilder.isLabelSilent(n),f=n.get("triggerEvent");return each$f(l,(function(s,h){var m="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(s.tickValue):s.tickValue,g=s.formattedLabel,v=s.rawLabel,y=i;if(u&&u[m]){var b=u[m];isObject$4(b)&&b.textStyle&&(y=new Model(b.textStyle,i,n.ecModel))}var _=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),w=r.dataToCoord(m),k=y.getShallow("align",!0)||c.textAlign,x=retrieve2(y.getShallow("alignMinLabel",!0),k),S=retrieve2(y.getShallow("alignMaxLabel",!0),k),C=y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||c.textVerticalAlign,E=retrieve2(y.getShallow("verticalAlignMinLabel",!0),C),T=retrieve2(y.getShallow("verticalAlignMaxLabel",!0),C),A=new ZRText({x:w,y:o.labelOffset+o.labelDirection*a,rotation:c.rotation,silent:p,z2:10+(s.level||0),style:createTextStyle(y,{text:g,align:0===h?x:h===l.length-1?S:k,verticalAlign:0===h?E:h===l.length-1?T:C,fill:isFunction$2(_)?_("category"===r.type?v:"value"===r.type?m+"":m,h):_})});if(A.anid="label_"+m,setTooltipConfig({el:A,componentModel:n,itemName:g,formatterParamsExtra:{isTruncated:function(){return A.isTruncated},value:v,tickIndex:h}}),f){var $=AxisBuilder.makeAxisEventDataBase(n);$.targetType="axisLabel",$.value=v,$.tickIndex=h,"category"===r.type&&($.dataIndex=m),getECData(A).eventData=$}t.add(A),A.updateTransform(),d.push(A),e.add(A),A.decomposeTransform()})),d}}function collect(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return collectAxesInfo(n,e,t),n.seriesInvolved&&collectSeriesInfo(n,e),n}function collectAxesInfo(e,t,n){var o=t.getComponent("tooltip"),r=t.getComponent("axisPointer"),i=r.get("link",!0)||[],a=[];each$f(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var l=makeKey(n.model),s=e.coordSysAxesInfo[l]={};e.coordSysMap[l]=n;var c=n.model.getModel("tooltip",o);if(each$f(n.getAxes(),curry$1(f,!1,null)),n.getTooltipAxes&&o&&c.get("show")){var u="axis"===c.get("trigger"),d="cross"===c.get(["axisPointer","type"]),p=n.getTooltipAxes(c.get(["axisPointer","axis"]));(u||d)&&each$f(p.baseAxes,curry$1(f,!d||"cross",u)),d&&each$f(p.otherAxes,curry$1(f,"cross",!1))}}function f(o,l,u){var d=u.model.getModel("axisPointer",r),p=d.get("show");if(p&&("auto"!==p||o||isHandleTrigger(d))){null==l&&(l=d.get("triggerTooltip"));var f=(d=o?makeAxisPointerModel(u,c,r,t,o,l):d).get("snap"),h=d.get("triggerEmphasis"),m=makeKey(u.model),g=l||f||"category"===u.type,v=e.axesInfo[m]={key:m,axis:u,coordSys:n,axisPointerModel:d,triggerTooltip:l,triggerEmphasis:h,involveSeries:g,snap:f,useHandle:isHandleTrigger(d),seriesModels:[],linkGroup:null};s[m]=v,e.seriesInvolved=e.seriesInvolved||g;var y=getLinkGroupIndex(i,u);if(null!=y){var b=a[y]||(a[y]={axesInfo:{}});b.axesInfo[m]=v,b.mapper=i[y].mapper,v.linkGroup=b}}}}))}function makeAxisPointerModel(e,t,n,o,r,i){var a=t.getModel("axisPointer"),l={};each$f(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){l[e]=clone$4(a.get(e))})),l.snap="category"!==e.type&&!!i,"cross"===a.get("type")&&(l.type="line");var s=l.label||(l.label={});if(null==s.show&&(s.show=!1),"cross"===r){var c=a.get(["label","show"]);if(s.show=null==c||c,!i){var u=l.lineStyle=a.get("crossStyle");u&&defaults$1(s,u.textStyle)}}return e.model.getModel("axisPointer",new Model(l,n,o))}function collectSeriesInfo(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,o=t.get(["tooltip","trigger"],!0),r=t.get(["tooltip","show"],!0);n&&"none"!==o&&!1!==o&&"item"!==o&&!1!==r&&!1!==t.get(["axisPointer","show"],!0)&&each$f(e.coordSysAxesInfo[makeKey(n.model)],(function(e){var o=e.axis;n.getAxis(o.dim)===o&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}))}function getLinkGroupIndex(e,t){for(var n=t.model,o=t.dim,r=0;r<e.length;r++){var i=e[r]||{};if(checkPropInLink(i[o+"AxisId"],n.id)||checkPropInLink(i[o+"AxisIndex"],n.componentIndex)||checkPropInLink(i[o+"AxisName"],n.name))return r}}function checkPropInLink(e,t){return"all"===e||isArray$2(e)&&indexOf(e,t)>=0||e===t}function fixValue(e){var t=getAxisInfo$1(e);if(t){var n=t.axisPointerModel,o=t.axis.scale,r=n.option,i=n.get("status"),a=n.get("value");null!=a&&(a=o.parse(a));var l=isHandleTrigger(n);null==i&&(r.status=l?"show":"hide");var s=o.getExtent().slice();s[0]>s[1]&&s.reverse(),(null==a||a>s[1])&&(a=s[1]),a<s[0]&&(a=s[0]),r.value=a,l&&(r.status=t.axis.scale.isBlank()?"hide":"show")}}function getAxisInfo$1(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[makeKey(e)]}function getAxisPointerModel(e){var t=getAxisInfo$1(e);return t&&t.axisPointerModel}function isHandleTrigger(e){return!!e.get(["handle","show"])}function makeKey(e){return e.type+"||"+e.id}var axisPointerClazz={},AxisView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(t,n,o,r){this.axisPointerClass&&fixValue(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,o,!0)},t.prototype.updateAxisPointer=function(e,t,n,o){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,o){var r=t.getAxisPointerClass(this.axisPointerClass);if(r){var i=getAxisPointerModel(e);i?(this._axisPointer||(this._axisPointer=new r)).render(e,i,n,o):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){axisPointerClazz[e]=t},t.getAxisPointerClass=function(e){return e&&axisPointerClazz[e]},t.type="axis",t}(ComponentView),inner$f=makeInner();function rectCoordAxisBuildSplitArea(e,t,n,o){var r=n.axis;if(!r.scale.isBlank()){var i=n.getModel("splitArea"),a=i.getModel("areaStyle"),l=a.get("color"),s=o.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:i,clamp:!0});if(c.length){var u=l.length,d=inner$f(e).splitAreaColors,p=createHashMap(),f=0;if(d)for(var h=0;h<c.length;h++){var m=d.get(c[h].tickValue);if(null!=m){f=(m+(u-1)*h)%u;break}}var g=r.toGlobalCoord(c[0].coord),v=a.getAreaStyle();l=isArray$2(l)?l:[l];for(h=1;h<c.length;h++){var y=r.toGlobalCoord(c[h].coord),b=void 0,_=void 0,w=void 0,k=void 0;r.isHorizontal()?(b=g,_=s.y,w=y-b,k=s.height,g=b+w):(b=s.x,_=g,w=s.width,g=_+(k=y-_));var x=c[h-1].tickValue;null!=x&&p.set(x,f),t.add(new Rect$2({anid:null!=x?"area_"+x:null,shape:{x:b,y:_,width:w,height:k},style:defaults$1({fill:l[f]},v),autoBatch:!0,silent:!0})),f=(f+1)%u}inner$f(e).splitAreaColors=p}}}function rectCoordAxisHandleRemove(e){inner$f(e).splitAreaColors=null}var axisBuilderAttrs$3=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs$2=["splitArea","splitLine","minorSplitLine"],CartesianAxisView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return __extends(t,e),t.prototype.render=function(t,n,o,r){this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),l=layout$3(a,t),s=new AxisBuilder(t,extend$1({handleAutoShown:function(e){for(var n=a.coordinateSystem.getCartesians(),o=0;o<n.length;o++)if(isIntervalOrLogScale(n[o].getOtherAxis(t.axis).scale))return!0;return!1}},l));each$f(axisBuilderAttrs$3,s.add,s),this._axisGroup.add(s.getGroup()),each$f(selfBuilderAttrs$2,(function(e){t.get([e,"show"])&&axisElementBuilders$2[e](this,this._axisGroup,t,a)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||groupTransition(i,this._axisGroup,t),e.prototype.render.call(this,t,n,o,r)}},t.prototype.remove=function(){rectCoordAxisHandleRemove(this)},t.type="cartesianAxis",t}(AxisView),axisElementBuilders$2={splitLine:function(e,t,n,o){var r=n.axis;if(!r.scale.isBlank()){var i=n.getModel("splitLine"),a=i.getModel("lineStyle"),l=a.get("color"),s=!1!==i.get("showMinLine"),c=!1!==i.get("showMaxLine");l=isArray$2(l)?l:[l];for(var u=o.coordinateSystem.getRect(),d=r.isHorizontal(),p=0,f=r.getTicksCoords({tickModel:i}),h=[],m=[],g=a.getLineStyle(),v=0;v<f.length;v++){var y=r.toGlobalCoord(f[v].coord);if((0!==v||s)&&(v!==f.length-1||c)){var b=f[v].tickValue;d?(h[0]=y,h[1]=u.y,m[0]=y,m[1]=u.y+u.height):(h[0]=u.x,h[1]=y,m[0]=u.x+u.width,m[1]=y);var _=p++%l.length,w=new Line$1({anid:null!=b?"line_"+b:null,autoBatch:!0,shape:{x1:h[0],y1:h[1],x2:m[0],y2:m[1]},style:defaults$1({stroke:l[_]},g),silent:!0});subPixelOptimizeLine(w.shape,g.lineWidth),t.add(w)}}}},minorSplitLine:function(e,t,n,o){var r=n.axis,i=n.getModel("minorSplitLine").getModel("lineStyle"),a=o.coordinateSystem.getRect(),l=r.isHorizontal(),s=r.getMinorTicksCoords();if(s.length)for(var c=[],u=[],d=i.getLineStyle(),p=0;p<s.length;p++)for(var f=0;f<s[p].length;f++){var h=r.toGlobalCoord(s[p][f].coord);l?(c[0]=h,c[1]=a.y,u[0]=h,u[1]=a.y+a.height):(c[0]=a.x,c[1]=h,u[0]=a.x+a.width,u[1]=h);var m=new Line$1({anid:"minor_line_"+s[p][f].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:u[0],y2:u[1]},style:d,silent:!0});subPixelOptimizeLine(m.shape,d.lineWidth),t.add(m)}},splitArea:function(e,t,n,o){rectCoordAxisBuildSplitArea(e,t,n,o)}},CartesianXAxisView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="xAxis",t}(CartesianAxisView),CartesianYAxisView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=CartesianXAxisView.type,t}return __extends(t,e),t.type="yAxis",t}(CartesianAxisView),GridView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return __extends(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new Rect$2({shape:e.coordinateSystem.getRect(),style:defaults$1({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(ComponentView),extraOption={offset:0};function install$O(e){e.registerComponentView(GridView),e.registerComponentModel(GridModel),e.registerCoordinateSystem("cartesian2d",Grid),axisModelCreator(e,"x",CartesianAxisModel,extraOption),axisModelCreator(e,"y",CartesianAxisModel,extraOption),e.registerComponentView(CartesianXAxisView),e.registerComponentView(CartesianYAxisView),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}function install$N(e){use(install$O),e.registerSeriesModel(ScatterSeriesModel),e.registerChartView(ScatterView),e.registerLayout(pointsLayout("scatter"))}function radarLayout(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],o=e.coordinateSystem;if(o){var r=o.getIndicatorAxes();each$f(r,(function(e,i){t.each(t.mapDimension(r[i].dim),(function(e,t){n[t]=n[t]||[];var r=o.dataToPoint(e,i);n[t][i]=isValidPoint(r)?r:getValueMissingPoint(o)}))})),t.each((function(e){var r=find(n[e],(function(e){return isValidPoint(e)}))||getValueMissingPoint(o);n[e].push(r.slice()),t.setItemLayout(e,n[e])}))}}))}function isValidPoint(e){return!isNaN(e[0])&&!isNaN(e[1])}function getValueMissingPoint(e){return[e.cx,e.cy]}function radarBackwardCompat(e){var t=e.polar;if(t){isArray$2(t)||(t=[t]);var n=[];each$f(t,(function(t,o){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],isArray$2(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}each$f(e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}var RadarView$1=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=e.coordinateSystem,r=this.group,i=e.getData(),a=this._data;function l(e,t){var n=e.getItemVisual(t,"symbol")||"circle";if("none"!==n){var o=normalizeSymbolSize(e.getItemVisual(t,"symbolSize")),r=createSymbol$1(n,-1,-1,2,2),i=e.getItemVisual(t,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:o[0]/2,scaleY:o[1]/2,rotation:i*Math.PI/180||0}),r}}function s(t,n,o,r,i,a){o.removeAll();for(var s=0;s<n.length-1;s++){var c=l(r,i);c&&(c.__dimIdx=s,t[s]?(c.setPosition(t[s]),graphic[a?"initProps":"updateProps"](c,{x:n[s][0],y:n[s][1]},e,i)):c.setPosition(n[s]),o.add(c))}}function c(e){return map$1(e,(function(e){return[o.cx,o.cy]}))}i.diff(a).add((function(t){var n=i.getItemLayout(t);if(n){var o=new Polygon,r=new Polyline$1,a={shape:{points:n}};o.shape.points=c(n),r.shape.points=c(n),initProps(o,a,e,t),initProps(r,a,e,t);var l=new Group$3,u=new Group$3;l.add(r),l.add(o),l.add(u),s(r.shape.points,n,u,i,t,!0),i.setItemGraphicEl(t,l)}})).update((function(t,n){var o=a.getItemGraphicEl(n),r=o.childAt(0),l=o.childAt(1),c=o.childAt(2),u={shape:{points:i.getItemLayout(t)}};u.shape.points&&(s(r.shape.points,u.shape.points,c,i,t,!1),saveOldStyle(l),saveOldStyle(r),updateProps$1(r,u,e),updateProps$1(l,u,e),i.setItemGraphicEl(t,o))})).remove((function(e){r.remove(a.getItemGraphicEl(e))})).execute(),i.eachItemGraphicEl((function(e,t){var n=i.getItemModel(t),o=e.childAt(0),a=e.childAt(1),l=e.childAt(2),s=i.getItemVisual(t,"style"),c=s.fill;r.add(e),o.useStyle(defaults$1(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),setStatesStylesFromModel(o,n,"lineStyle"),setStatesStylesFromModel(a,n,"areaStyle");var u=n.getModel("areaStyle"),d=u.isEmpty()&&u.parentModel.isEmpty();a.ignore=d,each$f(["emphasis","select","blur"],(function(e){var t=n.getModel([e,"areaStyle"]),o=t.isEmpty()&&t.parentModel.isEmpty();a.ensureState(e).ignore=o&&d})),a.useStyle(defaults$1(u.getAreaStyle(),{fill:c,opacity:.7,decal:s.decal}));var p=n.getModel("emphasis"),f=p.getModel("itemStyle").getItemStyle();l.eachChild((function(e){if(e instanceof ZRImage){var o=e.style;e.useStyle(extend$1({image:o.image,x:o.x,y:o.y,width:o.width,height:o.height},s))}else e.useStyle(s),e.setColor(c),e.style.strokeNoScale=!0;e.ensureState("emphasis").style=clone$4(f);var r=i.getStore().get(i.getDimensionIndex(e.__dimIdx),t);(null==r||isNaN(r))&&(r=""),setLabelStyle(e,getLabelStatesModels(n),{labelFetcher:i.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:r,inheritColor:c,defaultOpacity:s.opacity})})),toggleHoverEmphasis(e,p.get("focus"),p.get("blurScope"),p.get("disabled"))})),this._data=i},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(ChartView),RadarSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return __extends(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$2(this.getData,this),bind$2(this.getRawData,this))},t.prototype.getInitialData=function(e,t){return createSeriesDataSimply(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,n){var o=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),i=this.getData().getName(e),a=""===i?this.name:i,l=retrieveVisualColorForTooltipMarker(this,e);return createTooltipMarkup("section",{header:a,sortBlocks:!0,blocks:map$1(r,(function(t){var n=o.get(o.mapDimension(t.dim),e);return createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:l,name:t.name,value:n,sortParam:n})}))})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,o=t.getValues(map$1(n.dimensions,(function(e){return t.mapDimension(e)})),e),r=0,i=o.length;r<i;r++)if(!isNaN(o[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(o[r]),r)}},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}(SeriesModel),valueAxisDefault=axisDefault.value;function defaultsShow(e,t){return defaults$1({show:t},e)}var RadarModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),o=this.get("axisLine"),r=this.get("axisTick"),i=this.get("axisLabel"),a=this.get("axisName"),l=this.get(["axisName","show"]),s=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),u=this.get("triggerEvent"),d=map$1(this.get("indicator")||[],(function(d){null!=d.max&&d.max>0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var p=a;null!=d.color&&(p=defaults$1({color:d.color},a));var f=merge$1(clone$4(d),{boundaryGap:e,splitNumber:t,scale:n,axisLine:o,axisTick:r,axisLabel:i,name:d.text,showName:l,nameLocation:"end",nameGap:c,nameTextStyle:p,triggerEvent:u},!1);if(isString$2(s)){var h=f.name;f.name=s.replace("{value}",null!=h?h:"")}else isFunction$2(s)&&(f.name=s(f.name,f));var m=new Model(f,null,this.ecModel);return mixin(m,AxisModelCommonMixin.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m}),this);this._indicatorModels=d},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:merge$1({lineStyle:{color:"#bbb"}},valueAxisDefault.axisLine),axisLabel:defaultsShow(valueAxisDefault.axisLabel,!1),axisTick:defaultsShow(valueAxisDefault.axisTick,!1),splitLine:defaultsShow(valueAxisDefault.splitLine,!0),splitArea:defaultsShow(valueAxisDefault.splitArea,!0),indicator:[]},t}(ComponentModel),axisBuilderAttrs$2=["axisLine","axisTickLabel","axisName"],RadarView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(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;each$f(map$1(t.getIndicatorAxes(),(function(e){var n=e.model.get("showName")?e.name:"";return new AxisBuilder(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(e){each$f(axisBuilderAttrs$2,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 o=e.get("shape"),r=e.getModel("splitLine"),i=e.getModel("splitArea"),a=r.getModel("lineStyle"),l=i.getModel("areaStyle"),s=r.get("show"),c=i.get("show"),u=a.get("color"),d=l.get("color"),p=isArray$2(u)?u:[u],f=isArray$2(d)?d:[d],h=[],m=[];if("circle"===o)for(var g=n[0].getTicksCoords(),v=t.cx,y=t.cy,b=0;b<g.length;b++){if(s)h[T(h,p,b)].push(new Circle({shape:{cx:v,cy:y,r:g[b].coord}}));if(c&&b<g.length-1)m[T(m,f,b)].push(new Ring({shape:{cx:v,cy:y,r0:g[b].coord,r:g[b+1].coord}}))}else{var _,w=map$1(n,(function(e,n){var o=e.getTicksCoords();return _=null==_?o.length-1:Math.min(o.length-1,_),map$1(o,(function(e){return t.coordToPoint(e.coord,n)}))})),k=[];for(b=0;b<=_;b++){for(var x=[],S=0;S<n.length;S++)x.push(w[S][b]);if(x[0]&&x.push(x[0].slice()),s)h[T(h,p,b)].push(new Polyline$1({shape:{points:x}}));if(c&&k)m[T(m,f,b-1)].push(new Polygon({shape:{points:x.concat(k)}}));k=x.slice().reverse()}}var C=a.getLineStyle(),E=l.getAreaStyle();each$f(m,(function(e,t){this.group.add(mergePath(e,{style:defaults$1({stroke:"none",fill:f[t%f.length]},E),silent:!0}))}),this),each$f(h,(function(e,t){this.group.add(mergePath(e,{style:defaults$1({fill:"none",stroke:p[t%p.length]},C),silent:!0}))}),this)}function T(e,t,n){var o=n%t.length;return e[o]=e[o]||[],o}},t.type="radar",t}(ComponentView),IndicatorAxis=function(e){function t(t,n,o){var r=e.call(this,t,n,o)||this;return r.type="value",r.angle=0,r.name="",r}return __extends(t,e),t}(Axis),Radar=function(){function e(e,t,n){this.dimensions=[],this._model=e,this._indicatorAxes=map$1(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,o=new IndicatorAxis(n,new IntervalScale);return o.name=e.get("name"),o.model=e,e.axis=o,this.dimensions.push(n),o}),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,o=Math.sqrt(t*t+n*n);t/=o,n/=o;for(var r,i=Math.atan2(-n,t),a=1/0,l=-1,s=0;s<this._indicatorAxes.length;s++){var c=this._indicatorAxes[s],u=Math.abs(i-c.angle);u<a&&(r=c,l=s,a=u)}return[l,+(r&&r.coordToData(o))]},e.prototype.resize=function(e,t){var n=e.get("center"),o=t.getWidth(),r=t.getHeight(),i=Math.min(o,r)/2;this.cx=parsePercent(n[0],o),this.cy=parsePercent(n[1],r),this.startAngle=e.get("startAngle")*Math.PI/180;var a=e.get("radius");(isString$2(a)||isNumber$2(a))&&(a=[0,a]),this.r0=parsePercent(a[0],i),this.r=parsePercent(a[1],i),each$f(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,o=this._model;each$f(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,r){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===o){var i=t.getData();each$f(n,(function(e){e.scale.unionExtentFromData(i,i.mapDimension(e.dim))}))}}),this);var r=o.get("splitNumber"),i=new IntervalScale;i.setExtent(0,r),i.setInterval(1),each$f(n,(function(e,t){alignScaleTicks(e.scale,e.model,i)}))},e.prototype.convertToPixel=function(e,t,n){return null},e.prototype.convertFromPixel=function(e,t,n){return null},e.prototype.containPoint=function(e){return!1},e.create=function(t,n){var o=[];return t.eachComponent("radar",(function(r){var i=new e(r,t,n);o.push(i),r.coordinateSystem=i})),t.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=o[e.get("radarIndex")||0])})),o},e.dimensions=[],e}();function install$M(e){e.registerCoordinateSystem("radar",Radar),e.registerComponentModel(RadarModel),e.registerComponentView(RadarView),e.registerVisual({seriesType:"radar",reset:function(e){var t=e.getData();t.each((function(e){t.setItemVisual(e,"legendIcon","roundRect")})),t.setVisual("legendIcon","roundRect")}})}function install$L(e){use(install$M),e.registerChartView(RadarView$1),e.registerSeriesModel(RadarSeriesModel),e.registerLayout(radarLayout),e.registerProcessor(dataFilter$1("radar")),e.registerPreprocessor(radarBackwardCompat)}var ATTR="\0_ec_interaction_mutex";function take(e,t,n){getStore(e)[t]=n}function release(e,t,n){var o=getStore(e);o[t]===n&&(o[t]=null)}function isTaken(e,t){return!!getStore(e)[t]}function getStore(e){return e[ATTR]||(e[ATTR]={})}registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},noop$2);var RoamController=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var o=bind$2(n._mousedownHandler,n),r=bind$2(n._mousemoveHandler,n),i=bind$2(n._mouseupHandler,n),a=bind$2(n._mousewheelHandler,n),l=bind$2(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=defaults$1(clone$4(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",o),t.on("mousemove",r),t.on("mouseup",i)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",a),t.on("pinch",l))},n.disable=function(){t.off("mousedown",o),t.off("mousemove",r),t.off("mouseup",i),t.off("mousewheel",a),t.off("pinch",l)},n}return __extends(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(!isMiddleOrRightButtonOnMouseUpDown(e)){for(var t=e.target;t;){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,o=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,o)&&(this._x=n,this._y=o,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&isAvailableBehavior("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,o=this._x,r=this._y,i=t-o,a=n-r;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&stop(e.event),trigger$1(this,"pan","moveOnMouseMove",e,{dx:i,dy:a,oldX:o,oldY:r,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=isAvailableBehavior("zoomOnMouseWheel",e,this._opt),n=isAvailableBehavior("moveOnMouseWheel",e,this._opt),o=e.wheelDelta,r=Math.abs(o),i=e.offsetX,a=e.offsetY;if(0!==o&&(t||n)){if(t){var l=r>3?1.4:r>1?1.2:1.1;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",e,{scale:o>0?l:1/l,originX:i,originY:a,isAvailableBehavior:null})}if(n){var s=Math.abs(o);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(o>0?1:-1)*(s>3?.4:s>1?.15:.05),originX:i,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){isTaken(this._zr,"globalPan")||checkPointerAndTrigger(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})},t}(Eventful);function checkPointerAndTrigger(e,t,n,o,r){e.pointerChecker&&e.pointerChecker(o,r.originX,r.originY)&&(stop(o.event),trigger$1(e,t,n,o,r))}function trigger$1(e,t,n,o,r){r.isAvailableBehavior=bind$2(isAvailableBehavior,null,n,o),e.trigger(t,r)}function isAvailableBehavior(e,t,n){var o=n[e];return!e||o&&(!isString$2(o)||t.event[o+"Key"])}function updateViewOnPan(e,t,n){var o=e.target;o.x+=t,o.y+=n,o.dirty()}function updateViewOnZoom(e,t,n,o){var r=e.target,i=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,i){var l=i.min||0,s=i.max||1/0;a=Math.max(Math.min(s,a),l)}var c=a/e.zoom;e.zoom=a,r.x-=(n-r.x)*(c-1),r.y-=(o-r.y)*(c-1),r.scaleX*=c,r.scaleY*=c,r.dirty()}var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1},nodeParsers;function onIrrelevantElement(e,t,n){var o=t.getComponentByElement(e.topTarget),r=o&&o.coordinateSystem;return o&&o!==n&&!IRRELEVANT_EXCLUDES.hasOwnProperty(o.mainType)&&r&&r.model!==n}function parseXML(e){isString$2(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 INHERITABLE_STYLE_ATTRIBUTES_MAP={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"},INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS=keys(INHERITABLE_STYLE_ATTRIBUTES_MAP),SELF_STYLE_ATTRIBUTES_MAP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},SELF_STYLE_ATTRIBUTES_MAP_KEYS=keys(SELF_STYLE_ATTRIBUTES_MAP),SVGParser=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var n=parseXML(e);this._defsUsePending=[];var o=new Group$3;this._root=o;var r=[],i=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),l=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),parseAttributes(n,o,null,!0,!1);for(var s,c,u=n.firstChild;u;)this._parseNode(u,o,r,null,!1,!1),u=u.nextSibling;if(applyDefs(this._defs,this._defsUsePending),this._defsUsePending=[],i){var d=splitNumberSequence(i);d.length>=4&&(s={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(s&&null!=a&&null!=l&&(c=makeViewBoxTransform(s,{x:0,y:0,width:a,height:l}),!t.ignoreViewBox)){var p=o;(o=new Group$3).add(p),p.scaleX=p.scaleY=c.scale,p.x=c.x,p.y=c.y}return t.ignoreRootClip||null==a||null==l||o.setClipPath(new Rect$2({shape:{x:0,y:0,width:a,height:l}})),{root:o,width:a,height:l,viewBoxRect:s,viewBoxTransform:c,named:r}},e.prototype._parseNode=function(e,t,n,o,r,i){var a,l=e.nodeName.toLowerCase(),s=o;if("defs"===l&&(r=!0),"text"===l&&(i=!0),"defs"===l||"switch"===l)a=t;else{if(!r){var c=nodeParsers[l];if(c&&hasOwn(nodeParsers,l)){a=c.call(this,e,t);var u=e.getAttribute("name");if(u){var d={name:u,namedFrom:null,svgNodeTagLower:l,el:a};n.push(d),"g"===l&&(s=d)}else o&&n.push({name:o.name,namedFrom:o,svgNodeTagLower:l,el:a});t.add(a)}}var p=paintServerParsers[l];if(p&&hasOwn(paintServerParsers,l)){var f=p.call(this,e),h=e.getAttribute("id");h&&(this._defs[h]=f)}}if(a&&a.isGroup)for(var m=e.firstChild;m;)1===m.nodeType?this._parseNode(m,a,n,s,r,i):3===m.nodeType&&i&&this._parseText(m,a),m=m.nextSibling},e.prototype._parseText=function(e,t){var n=new TSpan({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(t,n),parseAttributes(e,n,this._defsUsePending,!1,!1),applyTextAlignment(n,t);var o=n.style,r=o.fontSize;r&&r<9&&(o.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var i=(o.fontSize||o.fontFamily)&&[o.fontStyle,o.fontWeight,(o.fontSize||12)+"px",o.fontFamily||"sans-serif"].join(" ");o.font=i;var a=n.getBoundingRect();return this._textX+=a.width,t.add(n),n},e.internalField=void(nodeParsers={g:function(e,t){var n=new Group$3;return inheritStyle(t,n),parseAttributes(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new Rect$2;return inheritStyle(t,n),parseAttributes(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 Circle;return inheritStyle(t,n),parseAttributes(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 Line$1;return inheritStyle(t,n),parseAttributes(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 Ellipse;return inheritStyle(t,n),parseAttributes(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,o=e.getAttribute("points");o&&(n=parsePoints(o));var r=new Polygon({shape:{points:n||[]},silent:!0});return inheritStyle(t,r),parseAttributes(e,r,this._defsUsePending,!1,!1),r},polyline:function(e,t){var n,o=e.getAttribute("points");o&&(n=parsePoints(o));var r=new Polyline$1({shape:{points:n||[]},silent:!0});return inheritStyle(t,r),parseAttributes(e,r,this._defsUsePending,!1,!1),r},image:function(e,t){var n=new ZRImage;return inheritStyle(t,n),parseAttributes(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",o=e.getAttribute("y")||"0",r=e.getAttribute("dx")||"0",i=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(o)+parseFloat(i);var a=new Group$3;return inheritStyle(t,a),parseAttributes(e,a,this._defsUsePending,!1,!0),a},tspan:function(e,t){var n=e.getAttribute("x"),o=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=o&&(this._textY=parseFloat(o));var r=e.getAttribute("dx")||"0",i=e.getAttribute("dy")||"0",a=new Group$3;return inheritStyle(t,a),parseAttributes(e,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(i),a},path:function(e,t){var n=createFromString(e.getAttribute("d")||"");return inheritStyle(t,n),parseAttributes(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),e}(),paintServerParsers={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),o=parseInt(e.getAttribute("x2")||"10",10),r=parseInt(e.getAttribute("y2")||"0",10),i=new LinearGradient(t,n,o,r);return parsePaintServerUnit(e,i),parseGradientColorStops(e,i),i},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),o=parseInt(e.getAttribute("r")||"0",10),r=new RadialGradient(t,n,o);return parsePaintServerUnit(e,r),parseGradientColorStops(e,r),r}};function parsePaintServerUnit(e,t){"userSpaceOnUse"===e.getAttribute("gradientUnits")&&(t.global=!0)}function parseGradientColorStops(e,t){for(var n=e.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var o=n.getAttribute("offset"),r=void 0;r=o&&o.indexOf("%")>0?parseInt(o,10)/100:o?parseFloat(o):0;var i={};parseInlineStyle(n,i,i);var a=i.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function inheritStyle(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),defaults$1(t.__inheritedStyle,e.__inheritedStyle))}function parsePoints(e){for(var t=splitNumberSequence(e),n=[],o=0;o<t.length;o+=2){var r=parseFloat(t[o]),i=parseFloat(t[o+1]);n.push([r,i])}return n}function parseAttributes(e,t,n,o,r){var i=t,a=i.__inheritedStyle=i.__inheritedStyle||{},l={};1===e.nodeType&&(parseTransformAttribute(e,t),parseInlineStyle(e,a,l),o||parseAttributeStyle(e,a,l)),i.style=i.style||{},null!=a.fill&&(i.style.fill=getFillStrokeStyle(i,"fill",a.fill,n)),null!=a.stroke&&(i.style.stroke=getFillStrokeStyle(i,"stroke",a.stroke,n)),each$f(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){null!=a[e]&&(i.style[e]=parseFloat(a[e]))})),each$f(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(e){null!=a[e]&&(i.style[e]=a[e])})),r&&(i.__selfStyle=l),a.lineDash&&(i.style.lineDash=map$1(splitNumberSequence(a.lineDash),(function(e){return parseFloat(e)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(i.invisible=!0),"none"===a.display&&(i.ignore=!0)}function applyTextAlignment(e,t){var n=t.__selfStyle;if(n){var o=n.textBaseline,r=o;o&&"auto"!==o?"baseline"===o?r="alphabetic":"before-edge"===o||"text-before-edge"===o?r="top":"after-edge"===o||"text-after-edge"===o?r="bottom":"central"!==o&&"mathematical"!==o||(r="middle"):r="alphabetic",e.style.textBaseline=r}var i=t.__inheritedStyle;if(i){var a=i.textAlign,l=a;a&&("middle"===a&&(l="center"),e.style.textAlign=l)}}var urlRegex=/^url\(\s*#(.*?)\)/;function getFillStrokeStyle(e,t,n,o){var r=n&&n.match(urlRegex);if(!r)return"none"===n&&(n=null),n;var i=trim$2(r[1]);o.push([e,t,i])}function applyDefs(e,t){for(var n=0;n<t.length;n++){var o=t[n];o[0].style[o[1]]=e[o[2]]}}var numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function splitNumberSequence(e){return e.match(numberReg)||[]}var transformRegex=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,DEGREE_TO_ANGLE=Math.PI/180;function parseTransformAttribute(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var o=[],r=null;n.replace(transformRegex,(function(e,t,n){return o.push(t,n),""}));for(var i=o.length-1;i>0;i-=2){var a=o[i],l=o[i-1],s=splitNumberSequence(a);switch(r=r||create$1(),l){case"translate":translate$1(r,r,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":scale$1(r,r,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":rotate(r,r,-parseFloat(s[0])*DEGREE_TO_ANGLE,[parseFloat(s[1]||"0"),parseFloat(s[2]||"0")]);break;case"skewX":mul(r,[1,0,Math.tan(parseFloat(s[0])*DEGREE_TO_ANGLE),1,0,0],r);break;case"skewY":mul(r,[1,Math.tan(parseFloat(s[0])*DEGREE_TO_ANGLE),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(s[0]),r[1]=parseFloat(s[1]),r[2]=parseFloat(s[2]),r[3]=parseFloat(s[3]),r[4]=parseFloat(s[4]),r[5]=parseFloat(s[5])}}t.setLocalTransform(r)}}var styleRegex=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(e,t,n){var o,r=e.getAttribute("style");if(r)for(styleRegex.lastIndex=0;null!=(o=styleRegex.exec(r));){var i=o[1],a=hasOwn(INHERITABLE_STYLE_ATTRIBUTES_MAP,i)?INHERITABLE_STYLE_ATTRIBUTES_MAP[i]:null;a&&(t[a]=o[2]);var l=hasOwn(SELF_STYLE_ATTRIBUTES_MAP,i)?SELF_STYLE_ATTRIBUTES_MAP[i]:null;l&&(n[l]=o[2])}}function parseAttributeStyle(e,t,n){for(var o=0;o<INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS.length;o++){var r=INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS[o];null!=(i=e.getAttribute(r))&&(t[INHERITABLE_STYLE_ATTRIBUTES_MAP[r]]=i)}for(o=0;o<SELF_STYLE_ATTRIBUTES_MAP_KEYS.length;o++){var i;r=SELF_STYLE_ATTRIBUTES_MAP_KEYS[o];null!=(i=e.getAttribute(r))&&(n[SELF_STYLE_ATTRIBUTES_MAP[r]]=i)}}function makeViewBoxTransform(e,t){var n=t.width/e.width,o=t.height/e.height,r=Math.min(n,o);return{scale:r,x:-(e.x+e.width/2)*r+(t.x+t.width/2),y:-(e.y+e.height/2)*r+(t.y+t.height/2)}}function parseSVG(e,t){return(new SVGParser).parse(e,t)}var REGION_AVAILABLE_SVG_TAG_MAP=createHashMap(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),GeoSVGResource=function(){function e(e,t){this.type="geoSVG",this._usedGraphicMap=createHashMap(),this._freedGraphics=[],this._mapName=e,this._parsedXML=parseXML(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=createRegions(e.named),n=t.regions,o=t.regionsMap;this._regions=n,this._regionsMap=o}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(e){var t,n;try{assert(null!=(n=(t=e&&parseSVG(e,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root))}catch(e2){throw new Error("Invalid svg format\n"+e2.message)}var o=new Group$3;o.add(n),o.isGeoSVGGraphicRoot=!0;var r=t.width,i=t.height,a=t.viewBoxRect,l=this._boundingRect;if(!l){var s=void 0,c=void 0,u=void 0,d=void 0;if(null!=r?(s=0,u=r):a&&(s=a.x,u=a.width),null!=i?(c=0,d=i):a&&(c=a.y,d=a.height),null==s||null==c){var p=n.getBoundingRect();null==s&&(s=p.x,u=p.width),null==c&&(c=p.y,d=p.height)}l=this._boundingRect=new BoundingRect(s,c,u,d)}if(a){var f=makeViewBoxTransform(a,l);n.scaleX=n.scaleY=f.scale,n.x=f.x,n.y=f.y}o.setClipPath(new Rect$2({shape:l.plain()}));var h=[];return each$f(t.named,(function(e){null!=REGION_AVAILABLE_SVG_TAG_MAP.get(e.svgNodeTagLower)&&(h.push(e),setSilent(e.el))})),{root:o,boundingRect:l,named:h}},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}();function setSilent(e){e.silent=!1,e.isGroup&&e.traverse((function(e){e.silent=!1}))}function createRegions(e){var t=[],n=createHashMap();return each$f(e,(function(e){if(null==e.namedFrom){var o=new GeoSVGRegion(e.name,e.el);t.push(o),n.set(e.name,o)}})),{regions:t,regionsMap:n}}for(var geoCoord=[126,25],nanhaiName="南海诸岛",points$1=[[[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]]],i=0;i<points$1.length;i++)for(var k=0;k<points$1[i].length;k++)points$1[i][k][0]/=10.5,points$1[i][k][1]/=-14,points$1[i][k][0]+=geoCoord[0],points$1[i][k][1]+=geoCoord[1];function fixNanhai(e,t){if("china"===e){for(var n=0;n<t.length;n++)if(t[n].name===nanhaiName)return;t.push(new GeoJSONRegion(nanhaiName,map$1(points$1,(function(e){return{type:"polygon",exterior:e}})),geoCoord))}}var coordsOffsetMap={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function fixTextCoords(e,t){if("china"===e){var n=coordsOffsetMap[t.name];if(n){var o=t.getCenter();o[0]+=n[0]/10.5,o[1]+=-n[1]/14,t.setCenter(o)}}}var points=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function fixDiaoyuIsland(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:points[0]})}var DEFAULT_NAME_PROPERTY="name",GeoJSONResource=function(){function e(e,t,n){this.type="geoJSON",this._parsedMap=createHashMap(),this._mapName=e,this._specialAreas=n,this._geoJSON=parseInput(t)}return e.prototype.load=function(e,t){t=t||DEFAULT_NAME_PROPERTY;var n=this._parsedMap.get(t);if(!n){var o=this._parseToRegions(t);n=this._parsedMap.set(t,{regions:o,boundingRect:calculateBoundingRect(o)})}var r=createHashMap(),i=[];return each$f(n.regions,(function(t){var n=t.name;e&&hasOwn(e,n)&&(t=t.cloneShallow(n=e[n])),i.push(t),r.set(n,t)})),{regions:i,boundingRect:n.boundingRect||new BoundingRect(0,0,0,0),regionsMap:r}},e.prototype._parseToRegions=function(e){var t,n=this._mapName,o=this._geoJSON;try{t=o?parseGeoJSON(o,e):[]}catch(e2){throw new Error("Invalid geoJson format\n"+e2.message)}return fixNanhai(n,t),each$f(t,(function(e){var t=e.name;fixTextCoords(n,e),fixDiaoyuIsland(n,e);var o=this._specialAreas&&this._specialAreas[t];o&&e.transformTo(o.left,o.top,o.width,o.height)}),this),t},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function calculateBoundingRect(e){for(var t,n=0;n<e.length;n++){var o=e[n].getBoundingRect();(t=t||o.clone()).union(o)}return t}function parseInput(e){return isString$2(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var storage=createHashMap();const geoSourceManager={registerMap:function(e,t,n){if(t.svg){var o=new GeoSVGResource(e,t.svg);storage.set(e,o)}else{var r=t.geoJson||t.geoJSON;r&&!t.features?n=t.specialAreas:r=t;o=new GeoJSONResource(e,r,n);storage.set(e,o)}},getGeoResource:function(e){return storage.get(e)},getMapForUser:function(e){var t=storage.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},load:function(e,t,n){var o=storage.get(e);if(o)return o.load(t,n)}};var OPTION_STYLE_ENABLED_TAGS=["rect","circle","line","ellipse","polygon","polyline","path"],OPTION_STYLE_ENABLED_TAG_MAP=createHashMap(OPTION_STYLE_ENABLED_TAGS),STATE_TRIGGER_TAG_MAP=createHashMap(OPTION_STYLE_ENABLED_TAGS.concat(["g"])),LABEL_HOST_MAP=createHashMap(OPTION_STYLE_ENABLED_TAGS.concat(["g"])),mapLabelRaw=makeInner();function getFixedItemStyle(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function fixLineStyle(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var MapDraw=function(){function e(e){var t=new Group$3;this.uid=getUID("ec_map_draw"),this._controller=new RoamController(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new Group$3),t.add(this._svgGroup=new Group$3)}return e.prototype.draw=function(e,t,n,o,r){var i="geo"===e.mainType,a=e.getData&&e.getData();i&&t.eachComponent({mainType:"series",subType:"map"},(function(t){a||t.getHostGeoModel()!==e||(a=t.getData())}));var l=e.coordinateSystem,s=this._regionsGroup,c=this.group,u=l.getTransformInfo(),d=u.raw,p=u.roam;!s.childAt(0)||r?(c.x=p.x,c.y=p.y,c.scaleX=p.scaleX,c.scaleY=p.scaleY,c.dirty()):updateProps$1(c,p,e);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,h={api:n,geo:l,mapOrGeoModel:e,data:a,isVisualEncodedByVisualMap:f,isGeo:i,transformInfoRaw:d};"geoJSON"===l.resourceType?this._buildGeoJSON(h):"geoSVG"===l.resourceType&&this._buildSVG(h),this._updateController(e,t,n),this._updateMapSelectHandler(e,s,n,o)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=createHashMap(),n=createHashMap(),o=this._regionsGroup,r=e.transformInfoRaw,i=e.mapOrGeoModel,a=e.data,l=e.geo.projection,s=l&&l.stream;function c(e,t){return t&&(e=t(e)),e&&[e[0]*r.scaleX+r.x,e[1]*r.scaleY+r.y]}function u(e){for(var t=[],n=!s&&l&&l.project,o=0;o<e.length;++o){var r=c(e[o],n);r&&t.push(r)}return t}function d(e){return{shape:{points:u(e)}}}o.removeAll(),each$f(e.geo.regions,(function(r){var u=r.name,p=t.get(u),f=n.get(u)||{},h=f.dataIdx,m=f.regionModel;if(!p){p=t.set(u,new Group$3),o.add(p),h=a?a.indexOfName(u):null;var g=(m=e.isGeo?i.getRegionModel(u):a?a.getItemModel(h):null).get("silent",!0);null!=g&&(p.silent=g),n.set(u,{dataIdx:h,regionModel:m})}var v=[],y=[];each$f(r.geometries,(function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);s&&(t=projectPolys(t,s)),each$f(t,(function(e){v.push(new Polygon(d(e)))}))}else{var n=e.points;s&&(n=projectPolys(n,s,!0)),each$f(n,(function(e){y.push(new Polyline$1(d(e)))}))}}));var b=c(r.getCenter(),l&&l.project);function _(t,n){if(t.length){var o=new CompoundPath({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});p.add(o),applyOptionStyleForRegion(e,o,h,m),resetLabelForRegion(e,o,u,m,i,h,b),n&&(fixLineStyle(o),each$f(o.states,fixLineStyle))}}_(v),_(y,!0)})),t.each((function(t,o){var r=n.get(o),a=r.dataIdx,l=r.regionModel;resetEventTriggerForRegion(e,t,o,l,i,a),resetTooltipForRegion(e,t,o,l,i),resetStateTriggerForRegion(e,t,o,l,i)}),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 o=this._svgDispatcherMap=createHashMap(),r=!1;each$f(this._svgGraphicRecord.named,(function(t){var n=t.name,i=e.mapOrGeoModel,a=e.data,l=t.svgNodeTagLower,s=t.el,c=a?a.indexOfName(n):null,u=i.getRegionModel(n);null!=OPTION_STYLE_ENABLED_TAG_MAP.get(l)&&s instanceof Displayable&&applyOptionStyleForRegion(e,s,c,u),s instanceof Displayable&&(s.culling=!0);var d=u.get("silent",!0);(null!=d&&(s.silent=d),s.z2EmphasisLift=0,t.namedFrom)||(null!=LABEL_HOST_MAP.get(l)&&resetLabelForRegion(e,s,n,u,i,c,null),resetEventTriggerForRegion(e,s,n,u,i,c),resetTooltipForRegion(e,s,n,u,i),null!=STATE_TRIGGER_TAG_MAP.get(l)&&("self"===resetStateTriggerForRegion(e,s,n,u,i)&&(r=!0),(o.get(n)||o.set(n,[])).push(s)))}),this),this._enableBlurEntireSVG(r,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){setDefaultStateProxy(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 o=this._regionsGroupByName;if(o){var r=o.get(e);return r?[r]:[]}}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=geoSourceManager.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=geoSourceManager.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 o=e.coordinateSystem,r=this._controller,i=this._controllerHost;i.zoomLimit=e.get("scaleLimit"),i.zoom=o.getZoom(),r.enable(e.get("roam")||!1);var a=e.mainType;function l(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}r.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,updateViewOnPan(i,e.dx,e.dy),n.dispatchAction(extend$1(l(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(e){this._mouseDownFlag=!1,updateViewOnZoom(i,e.scale,e.originX,e.originY),n.dispatchAction(extend$1(l(),{totalZoom:i.zoom,zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(t,r,i){return o.containPoint([r,i])&&!onIrrelevantElement(t,n,e)}))},e.prototype.resetForLabelLayout=function(){this.group.traverse((function(e){var t=e.getTextContent();t&&(t.ignore=mapLabelRaw(t).ignore)}))},e.prototype._updateMapSelectHandler=function(e,t,n,o){var r=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",(function(){r._mouseDownFlag=!0})),t.on("click",(function(e){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},e}();function applyOptionStyleForRegion(e,t,n,o){var r=o.getModel("itemStyle"),i=o.getModel(["emphasis","itemStyle"]),a=o.getModel(["blur","itemStyle"]),l=o.getModel(["select","itemStyle"]),s=getFixedItemStyle(r),c=getFixedItemStyle(i),u=getFixedItemStyle(l),d=getFixedItemStyle(a),p=e.data;if(p){var f=p.getItemVisual(n,"style"),h=p.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&f.fill&&(s.fill=f.fill),h&&(s.decal=createOrUpdatePatternFromDecal(h,e.api))}t.setStyle(s),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=c,t.ensureState("select").style=u,t.ensureState("blur").style=d,setDefaultStateProxy(t)}function resetLabelForRegion(e,t,n,o,r,i,a){var l=e.data,s=e.isGeo,c=l&&isNaN(l.get(l.mapDimension("value"),i)),u=l&&l.getItemLayout(i);if(s||c||u&&u.showLabel){var d=s?n:i,p=void 0;(!l||i>=0)&&(p=r);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle(t,getLabelStatesModels(o),{labelFetcher:p,labelDataIndex:d,defaultText:n},f);var h=t.getTextContent();if(h&&(mapLabelRaw(h).ignore=h.ignore,t.textConfig&&a)){var m=t.getBoundingRect().clone();t.textConfig.layoutRect=m,t.textConfig.position=[(a[0]-m.x)/m.width*100+"%",(a[1]-m.y)/m.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function resetEventTriggerForRegion(e,t,n,o,r,i){e.data?e.data.setItemGraphicEl(i,t):getECData(t).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:o&&o.option||{}}}function resetTooltipForRegion(e,t,n,o,r){e.data||setTooltipConfig({el:t,componentModel:r,itemName:n,itemTooltipOption:o.get("tooltip")})}function resetStateTriggerForRegion(e,t,n,o,r){t.highDownSilentOnTouch=!!r.get("selectedMode");var i=o.getModel("emphasis"),a=i.get("focus");return toggleHoverEmphasis(t,a,i.get("blurScope"),i.get("disabled")),e.isGeo&&enableComponentHighDownFeatures(t,r,n),a}function projectPolys(e,t,n){var o,r=[];function i(){o=[]}function a(){o.length&&(r.push(o),o=[])}var l=t({polygonStart:i,polygonEnd:a,lineStart:i,lineEnd:a,point:function(e,t){isFinite(e)&&isFinite(t)&&o.push([e,t])},sphere:function(){}});return!n&&l.polygonStart(),each$f(e,(function(e){l.lineStart();for(var t=0;t<e.length;t++)l.point(e[t][0],e[t][1]);l.lineEnd()})),!n&&l.polygonEnd(),r}var MapView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n,o){if(!o||"mapToggleSelect"!==o.type||o.from!==this.uid){var r=this.group;if(r.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&o&&"geoRoam"===o.type&&this._mapDraw.resetForLabelLayout(),o&&"geoRoam"===o.type&&"series"===o.componentType&&o.seriesId===e.id)(i=this._mapDraw)&&r.add(i.group);else if(e.needsDrawMap){var i=this._mapDraw||new MapDraw(n);r.add(i.group),i.draw(e,t,n,this,o),this._mapDraw=i}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 o=e.originalData,r=this.group;o.each(o.mapDimension("value"),(function(t,n){if(!isNaN(t)){var i=o.getItemLayout(n);if(i&&i.point){var a=i.point,l=i.offset,s=new Circle({style:{fill:e.getData().getVisual("style").fill},shape:{cx:a[0]+9*l,cy:a[1],r:3},silent:!0,z2:8+(l?0:Z2_EMPHASIS_LIFT+1)});if(!l){var c=e.mainSeries.getData(),u=o.getName(n),d=c.indexOfName(u),p=o.getItemModel(n),f=p.getModel("label"),h=c.getItemGraphicEl(d);setLabelStyle(s,getLabelStatesModels(p),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(d,n)}},defaultText:u}),s.disableLabelAnimation=!0,f.get("position")||s.setTextConfig({position:"bottom"}),h.onHoverStateChange=function(e){setStatesFlag(s,e)}}r.add(s)}}}))},t.type="map",t}(ChartView),MapSeries=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,o=n.getRegion(t);return o&&n.dataToPoint(o.getCenter())}},n}return __extends(t,e),t.prototype.getInitialData=function(e){for(var t=createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)}),n=createHashMap(),o=[],r=0,i=t.count();r<i;r++){var a=t.getName(r);n.set(a,r)}return each$f(geoSourceManager.load(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(e){var r,i=e.name,a=n.get(i),l=e.properties&&e.properties.echartsStyle;null==a?(r={name:i},o.push(r)):r=t.getRawDataItem(a),l&&merge$1(r,l)})),t.appendData(o),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 o=this.getData(),r=this.getRawValue(e),i=o.getName(e),a=this.seriesGroup,l=[],s=0;s<a.length;s++){var c=a[s].originalData.indexOfName(i),u=o.mapDimension("value");isNaN(a[s].originalData.get(u,c))||l.push(a[s].name)}return createTooltipMarkup("section",{header:l.join(", "),noHeader:!l.length,blocks:[createTooltipMarkup("nameValue",{name:i,value:r})]})},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=createSymbol$1(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}(SeriesModel);function dataStatistics(e,t){var n={};return each$f(e,(function(e){e.each(e.mapDimension("value"),(function(t,o){var r="ec-"+e.getName(o);n[r]=n[r]||[],isNaN(t)||n[r].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(o,r){for(var i,a="ec-"+e[0].getName(r),l=0,s=1/0,c=-1/0,u=n[a].length,d=0;d<u;d++)s=Math.min(s,n[a][d]),c=Math.max(c,n[a][d]),l+=n[a][d];return i="min"===t?s:"max"===t?c:"average"===t?l/u:l,0===u?NaN:i}))}function mapDataStatistic(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),o=n?"o"+n.id:"i"+e.getMapType();(t[o]=t[o]||[]).push(e)})),each$f(t,(function(e,t){for(var n=dataStatistics(map$1(e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),o=0;o<e.length;o++)e[o].originalData=e[o].getData();for(o=0;o<e.length;o++)e[o].seriesGroup=e,e[o].needsDrawMap=0===o&&!e[o].getHostGeoModel(),e[o].setData(n.cloneShallow()),e[o].mainSeries=e[0]}))}function mapSymbolLayout(e){var t={};e.eachSeriesByType("map",(function(n){var o=n.getMapType();if(!n.getHostGeoModel()&&!t[o]){var r={};each$f(n.seriesGroup,(function(t){var n=t.coordinateSystem,o=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&o.each(o.mapDimension("value"),(function(e,t){var i=o.getName(t),a=n.getRegion(i);if(a&&!isNaN(e)){var l=r[i]||0,s=n.dataToPoint(a.getCenter());r[i]=l+1,o.setItemLayout(t,{point:s,offset:l})}}))}));var i=n.getData();i.each((function(e){var t=i.getName(e),n=i.getItemLayout(e)||{};n.showLabel=!r[t],i.setItemLayout(e,n)})),t[o]=!0}}))}var v2ApplyTransform=applyTransform$1,View=function(e){function t(t){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Transformable,n._rawTransformable=new Transformable,n.name=t,n}return __extends(t,e),t.prototype.setBoundingRect=function(e,t,n,o){return this._rect=new BoundingRect(e,t,n,o),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,t,n,o){this._transformTo(e,t,n,o),this._viewRect=new BoundingRect(e,t,n,o)},t.prototype._transformTo=function(e,t,n,o){var r=this.getBoundingRect(),i=this._rawTransformable;i.transform=r.calculateTransform(new BoundingRect(e,t,n,o));var a=i.parent;i.parent=null,i.decomposeTransform(),i.parent=a,this._updateTransform()},t.prototype.setCenter=function(e,t){e&&(this._center=[parsePercent(e[0],t.getWidth()),parsePercent(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(),o=this.getCenter(),r=this.getZoom();o=applyTransform$1([],o,e),n=applyTransform$1([],n,e),t.originX=o[0],t.originY=o[1],t.x=n[0]-o[0],t.y=n[1]-o[1],t.scaleX=t.scaleY=r,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),copy(this.transform||(this.transform=[]),t.transform||create$1()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],invert(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,t=this._roamTransformable,n=new Transformable;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 o=t?this._rawTransform:this.transform;return n=n||[],o?v2ApplyTransform(n,e,o):copy$1(n,e)},t.prototype.pointToData=function(e){var t=this.invTransform;return t?v2ApplyTransform([],e,t):[e[0],e[1]]},t.prototype.convertToPixel=function(e,t,n){var o=getCoordSys$4(t);return o===this?o.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var o=getCoordSys$4(t);return o===this?o.pointToData(n):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(Transformable);function getCoordSys$4(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var GEO_DEFAULT_PARAMS={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},geo2DDimensions=["lng","lat"],Geo=function(e){function t(t,n,o){var r=e.call(this,t)||this;r.dimensions=geo2DDimensions,r.type="geo",r._nameCoordMap=createHashMap(),r.map=n;var i=o.projection,a=geoSourceManager.load(n,o.nameMap,o.nameProperty),l=geoSourceManager.getGeoResource(n);r.resourceType=l?l.type:null;var s,c=r.regions=a.regions,u=GEO_DEFAULT_PARAMS[l.type];if(r._regionsMap=a.regionsMap,r.regions=a.regions,r.projection=i,i)for(var d=0;d<c.length;d++){var p=c[d].getBoundingRect(i);(s=s||p.clone()).union(p)}else s=a.boundingRect;return r.setBoundingRect(s.x,s.y,s.width,s.height),r.aspectScale=i?1:retrieve2(o.aspectScale,u.aspectScale),r._invertLongitute=!i&&u.invertLongitute,r}return __extends(t,e),t.prototype._transformTo=function(e,t,n,o){var r=this.getBoundingRect(),i=this._invertLongitute;r=r.clone(),i&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new BoundingRect(e,t,n,o));var l=a.parent;a.parent=null,a.decomposeTransform(),a.parent=l,i&&(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 o=t[n];if("geoJSON"===o.type&&o.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(isString$2(e)&&(e=this.getGeoCoord(e)),e){var o=this.projection;return o&&(e=o.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,o){return e.prototype.dataToPoint.call(this,t,n,o)},t.prototype.convertToPixel=function(e,t,n){var o=getCoordSys$3(t);return o===this?o.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var o=getCoordSys$3(t);return o===this?o.pointToData(n):null},t}(View);function getCoordSys$3(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",SINGLE_REFERRING).models[0]||{}).coordinateSystem:null}function resizeGeo(e,t){var n=e.get("boundingCoords");if(null!=n){var o=n[0],r=n[1];if(isFinite(o[0])&&isFinite(o[1])&&isFinite(r[0])&&isFinite(r[1])){var i=this.projection;if(i){var a=o[0],l=o[1],s=r[0],c=r[1];o=[1/0,1/0],r=[-1/0,-1/0];var u=function(e,t,n,a){for(var l=n-e,s=a-t,c=0;c<=100;c++){var u=c/100,d=i.project([e+l*u,t+s*u]);min$2(o,o,d),max$2(r,r,d)}};u(a,l,s,l),u(s,l,s,c),u(s,c,a,c),u(a,c,s,l)}this.setBoundingRect(o[0],o[1],r[0]-o[0],r[1]-o[1])}else;}var d,p,f,h=this.getBoundingRect(),m=e.get("layoutCenter"),g=e.get("layoutSize"),v=t.getWidth(),y=t.getHeight(),b=h.width/h.height*this.aspectScale,_=!1;if(m&&g&&(d=[parsePercent(m[0],v),parsePercent(m[1],y)],p=parsePercent(g,Math.min(v,y)),isNaN(d[0])||isNaN(d[1])||isNaN(p)||(_=!0)),_)f={},b>1?(f.width=p,f.height=p/b):(f.height=p,f.width=p*b),f.y=d[1]-f.height/2,f.x=d[0]-f.width/2;else{var w=e.getBoxLayoutParams();w.aspect=b,f=getLayoutRect(w,{width:v,height:y})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function setGeoCoords(e,t){each$f(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}mixin(Geo,View);var GeoCreator=function(){function e(){this.dimensions=geo2DDimensions}return e.prototype.create=function(e,t){var n=[];function o(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,r){var i=e.get("map"),a=new Geo(i+r,i,extend$1({nameMap:e.get("nameMap")},o(e)));a.zoomLimit=e.get("scaleLimit"),n.push(a),e.coordinateSystem=a,a.model=e,a.resize=resizeGeo,a.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var r={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();r[t]=r[t]||[],r[t].push(e)}})),each$f(r,(function(e,r){var i=map$1(e,(function(e){return e.get("nameMap")})),a=new Geo(r,r,extend$1({nameMap:mergeAll(i)},o(e[0])));a.zoomLimit=retrieve.apply(null,map$1(e,(function(e){return e.get("scaleLimit")}))),n.push(a),a.resize=resizeGeo,a.resize(e[0],t),each$f(e,(function(e){e.coordinateSystem=a,setGeoCoords(a,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,o){for(var r=(e||[]).slice(),i=createHashMap(),a=0;a<r.length;a++)i.set(r[a].name,r[a]);return each$f(geoSourceManager.load(t,n,o).regions,(function(e){var t=e.name,n=i.get(t),o=e.properties&&e.properties.echartsStyle;n||(n={name:t},r.push(n)),o&&merge$1(n,o)})),r},e}(),geoCreator=new GeoCreator,GeoModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(e,t,n){var o=geoSourceManager.getGeoResource(e.map);if(o&&"geoJSON"===o.type){var r=e.itemStyle=e.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(e,n),defaultEmphasis(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,t=this.option;t.regions=geoCreator.getFilledRegions(t.regions,t.map,t.nameMap,t.nameProperty);var n={};this._optionModelMap=reduce(t.regions||[],(function(t,o){var r=o.name;return r&&(t.set(r,new Model(o,e,e.ecModel)),o.selected&&(n[r]=!0)),t}),createHashMap()),t.selectedMap||(t.selectedMap=n)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Model(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,t){var n=this.getRegionModel(e),o="normal"===t?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:e};return isFunction$2(o)?(r.status=t,o(r)):isString$2(o)?o.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}(ComponentModel);function getCenterCoord(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function updateCenterAndZoom(e,t,n,o){var r=e.getZoom(),i=e.getCenter(),a=t.zoom,l=e.projectedToPoint?e.projectedToPoint(i):e.dataToPoint(i);if(null!=t.dx&&null!=t.dy&&(l[0]-=t.dx,l[1]-=t.dy,e.setCenter(getCenterCoord(e,l),o)),null!=a){if(n){var s=n.min||0,c=n.max||1/0;a=Math.max(Math.min(r*a,c),s)/r}e.scaleX*=a,e.scaleY*=a;var u=(t.originX-e.x)*(a-1),d=(t.originY-e.y)*(a-1);e.x-=u,e.y-=d,e.updateTransform(),e.setCenter(getCenterCoord(e,l),o),e.setZoom(a*r)}return{center:e.getCenter(),zoom:e.getZoom()}}var GeoView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.focusBlurEnabled=!0,n}return __extends(t,e),t.prototype.init=function(e,t){this._api=t},t.prototype.render=function(e,t,n,o){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new MapDraw(n));var r=this._mapDraw;r.draw(e,t,n,this,o),r.group.on("click",this._handleRegionClick,this),r.group.silent=e.get("silent"),this.group.add(r.group),this.updateSelectStatus(e,t,n)},t.prototype._handleRegionClick=function(e){var t;findEventDispatcher(e.target,(function(e){return null!=(t=getECData(e).eventData)}),!0),t&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:t.name})},t.prototype.updateSelectStatus=function(e,t,n){var o=this;this._mapDraw.group.traverse((function(e){var t=getECData(e).eventData;if(t)return o._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}(ComponentView);function registerMap(e,t,n){geoSourceManager.registerMap(e,t,n)}function install$K(e){function t(t,n){n.update="geo:updateSelectStatus",e.registerAction(n,(function(e,n){var o={},r=[];return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name),each$f(n.coordinateSystem.regions,(function(e){o[e.name]=n.isSelected(e.name)||!1}));var i=[];each$f(o,(function(e,t){o[t]&&i.push(t)})),r.push({geoIndex:n.componentIndex,name:i})})),{selected:o,allSelected:r,name:e.name}}))}e.registerCoordinateSystem("geo",geoCreator),e.registerComponentModel(GeoModel),e.registerComponentView(GeoView),e.registerImpl("registerMap",registerMap),e.registerImpl("getMap",(function(e){return geoSourceManager.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 o=e.componentType||"series";t.eachComponent({mainType:o,query:e},(function(t){var r=t.coordinateSystem;if("geo"===r.type){var i=updateCenterAndZoom(r,e,t.get("scaleLimit"),n);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom),"series"===o&&each$f(t.seriesGroup,(function(e){e.setCenter(i.center),e.setZoom(i.zoom)}))}}))}))}function install$J(e){use(install$K),e.registerChartView(MapView),e.registerSeriesModel(MapSeries),e.registerLayout(mapSymbolLayout),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,mapDataStatistic),createLegacyDataSelectAction("map",e.registerAction)}function init(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,o,r=[t];n=r.pop();)if(o=n.children,n.isExpand&&o.length)for(var i=o.length-1;i>=0;i--){var a=o[i];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:i,thread:null},r.push(a)}}function firstWalk(e,t){var n=e.isExpand?e.children:[],o=e.parentNode.children,r=e.hierNode.i?o[e.hierNode.i-1]:null;if(n.length){executeShifts(e);var i=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(e.hierNode.prelim=r.hierNode.prelim+t(e,r),e.hierNode.modifier=e.hierNode.prelim-i):e.hierNode.prelim=i}else r&&(e.hierNode.prelim=r.hierNode.prelim+t(e,r));e.parentNode.hierNode.defaultAncestor=apportion(e,r,e.parentNode.hierNode.defaultAncestor||o[0],t)}function secondWalk(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function separation(e){return arguments.length?e:defaultSeparation}function radialCoordinate(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function getViewRect$4(e,t){return getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function executeShifts(e){for(var t=e.children,n=t.length,o=0,r=0;--n>=0;){var i=t[n];i.hierNode.prelim+=o,i.hierNode.modifier+=o,r+=i.hierNode.change,o+=i.hierNode.shift+r}}function apportion(e,t,n,o){if(t){for(var r=e,i=e,a=i.parentNode.children[0],l=t,s=r.hierNode.modifier,c=i.hierNode.modifier,u=a.hierNode.modifier,d=l.hierNode.modifier;l=nextRight(l),i=nextLeft(i),l&&i;){r=nextRight(r),a=nextLeft(a),r.hierNode.ancestor=e;var p=l.hierNode.prelim+d-i.hierNode.prelim-c+o(l,i);p>0&&(moveSubtree(nextAncestor(l,e,n),e,p),c+=p,s+=p),d+=l.hierNode.modifier,c+=i.hierNode.modifier,s+=r.hierNode.modifier,u+=a.hierNode.modifier}l&&!nextRight(r)&&(r.hierNode.thread=l,r.hierNode.modifier+=d-s),i&&!nextLeft(a)&&(a.hierNode.thread=i,a.hierNode.modifier+=c-u,n=e)}return n}function nextRight(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function nextLeft(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function nextAncestor(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function moveSubtree(e,t,n){var o=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=o,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=o}function defaultSeparation(e,t){return e.parentNode===t.parentNode?1:2}var TreeEdgeShape=function(){return function(){this.parentPoint=[],this.childPoints=[]}}(),TreePath=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new TreeEdgeShape},t.prototype.buildPath=function(e,t){var n=t.childPoints,o=n.length,r=t.parentPoint,i=n[0],a=n[o-1];if(1===o)return e.moveTo(r[0],r[1]),void e.lineTo(i[0],i[1]);var l=t.orient,s="TB"===l||"BT"===l?0:1,c=1-s,u=parsePercent(t.forkPosition,1),d=[];d[s]=r[s],d[c]=r[c]+(a[c]-r[c])*u,e.moveTo(r[0],r[1]),e.lineTo(d[0],d[1]),e.moveTo(i[0],i[1]),d[s]=i[s],e.lineTo(d[0],d[1]),d[s]=a[s],e.lineTo(d[0],d[1]),e.lineTo(a[0],a[1]);for(var p=1;p<o-1;p++){var f=n[p];e.moveTo(f[0],f[1]),d[s]=f[s],e.lineTo(d[0],d[1])}},t}(Path),TreeView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new Group$3,n}return __extends(t,e),t.prototype.init=function(e,t){this._controller=new RoamController(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,n){var o=e.getData(),r=e.layoutInfo,i=this._mainGroup;"radial"===e.get("layout")?(i.x=r.x+r.width/2,i.y=r.y+r.height/2):(i.x=r.x,i.y=r.y),this._updateViewCoordSys(e,n),this._updateController(e,t,n);var a=this._data;o.diff(a).add((function(t){symbolNeedsDraw(o,t)&&updateNode(o,t,null,i,e)})).update((function(t,n){var r=a.getItemGraphicEl(n);symbolNeedsDraw(o,t)?updateNode(o,t,r,i,e):r&&removeNode(a,n,r,i,e)})).remove((function(t){var n=a.getItemGraphicEl(t);n&&removeNode(a,t,n,i,e)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&o.eachItemGraphicEl((function(t,o){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:o})}))})),this._data=o},t.prototype._updateViewCoordSys=function(e,t){var n=e.getData(),o=[];n.each((function(e){var t=n.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||o.push([+t.x,+t.y])}));var r=[],i=[];fromPoints(o,r,i);var a=this._min,l=this._max;i[0]-r[0]==0&&(r[0]=a?a[0]:r[0]-1,i[0]=l?l[0]:i[0]+1),i[1]-r[1]==0&&(r[1]=a?a[1]:r[1]-1,i[1]=l?l[1]:i[1]+1);var s=e.coordinateSystem=new View;s.zoomLimit=e.get("scaleLimit"),s.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1]),s.setCenter(e.get("center"),t),s.setZoom(e.get("zoom")),this.group.attr({x:s.x,y:s.y,scaleX:s.scaleX,scaleY:s.scaleY}),this._min=r,this._max=i},t.prototype._updateController=function(e,t,n){var o=this,r=this._controller,i=this._controllerHost,a=this.group;r.setPointerChecker((function(t,o,r){var i=a.getBoundingRect();return i.applyTransform(a.transform),i.contain(o,r)&&!onIrrelevantElement(t,n,e)})),r.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(t){updateViewOnPan(i,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){updateViewOnZoom(i,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),o._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,o=t.scaleX||1;return((t.getZoom()-1)*n+1)/o},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}(ChartView);function symbolNeedsDraw(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function updateNode(e,t,n,o,r){var i=!n,a=e.tree.getNodeByDataIndex(t),l=a.getModel(),s=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?s:"#fff",u=e.tree.root,d=a.parentNode===u?a:a.parentNode||a,p=e.getItemGraphicEl(d.dataIndex),f=d.getLayout(),h=p?{x:p.__oldX,y:p.__oldY,rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:f,m=a.getLayout();i?((n=new Symbol$1(e,t,null,{symbolInnerColor:c,useNameLabel:!0})).x=h.x,n.y=h.y):n.updateData(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=m.rawX,n.__radialRawY=m.rawY,o.add(n),e.setItemGraphicEl(t,n),n.__oldX=n.x,n.__oldY=n.y,updateProps$1(n,{x:m.x,y:m.y},r);var g=n.getSymbolPath();if("radial"===r.get("layout")){var v=u.children[0],y=v.getLayout(),b=v.children.length,_=void 0,w=void 0;if(m.x===y.x&&!0===a.isExpand&&v.children.length){var k={x:(v.children[0].getLayout().x+v.children[b-1].getLayout().x)/2,y:(v.children[0].getLayout().y+v.children[b-1].getLayout().y)/2};(_=Math.atan2(k.y-y.y,k.x-y.x))<0&&(_=2*Math.PI+_),(w=k.x<y.x)&&(_-=Math.PI)}else(_=Math.atan2(m.y-y.y,m.x-y.x))<0&&(_=2*Math.PI+_),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(w=m.x<y.x)&&(_-=Math.PI):(w=m.x>y.x)||(_-=Math.PI);var x=w?"left":"right",S=l.getModel("label"),C=S.get("rotate"),E=C*(Math.PI/180),T=g.getTextContent();T&&(g.setTextConfig({position:S.get("position")||x,rotation:null==C?-_:E,origin:"center"}),T.setStyle("verticalAlign","middle"))}var A=l.get(["emphasis","focus"]),$="relative"===A?concatArray(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():null;$&&(getECData(n).focus=$),drawEdge(r,a,u,n,h,f,m,o),n.__edge&&(n.onHoverStateChange=function(t){if("blur"!==t){var o=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);o&&o.hoverState===HOVER_STATE_BLUR||setStatesFlag(n.__edge,t)}})}function drawEdge(e,t,n,o,r,i,a,l){var s=t.getModel(),c=e.get("edgeShape"),u=e.get("layout"),d=e.getOrient(),p=e.get(["lineStyle","curveness"]),f=e.get("edgeForkPosition"),h=s.getModel("lineStyle").getLineStyle(),m=o.__edge;if("curve"===c)t.parentNode&&t.parentNode!==n&&(m||(m=o.__edge=new BezierCurve({shape:getEdgeShape(u,d,p,r,r)})),updateProps$1(m,{shape:getEdgeShape(u,d,p,i,a)},e));else if("polyline"===c&&"orthogonal"===u&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var g=t.children,v=[],y=0;y<g.length;y++){var b=g[y].getLayout();v.push([b.x,b.y])}m||(m=o.__edge=new TreePath({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:d,forkPosition:f}})),updateProps$1(m,{shape:{parentPoint:[a.x,a.y],childPoints:v}},e)}m&&("polyline"!==c||t.isExpand)&&(m.useStyle(defaults$1({strokeNoScale:!0,fill:null},h)),setStatesStylesFromModel(m,s,"lineStyle"),setDefaultStateProxy(m),l.add(m))}function removeNodeEdge(e,t,n,o,r){var i=getSourceNode(t.tree.root,e),a=i.source,l=i.sourceLayout,s=t.getItemGraphicEl(e.dataIndex);if(s){var c=t.getItemGraphicEl(a.dataIndex).__edge,u=s.__edge||(!1===a.isExpand||1===a.children.length?c:void 0),d=o.get("edgeShape"),p=o.get("layout"),f=o.get("orient"),h=o.get(["lineStyle","curveness"]);u&&("curve"===d?removeElement(u,{shape:getEdgeShape(p,f,h,l,l),style:{opacity:0}},o,{cb:function(){n.remove(u)},removeOpt:r}):"polyline"===d&&"orthogonal"===o.get("layout")&&removeElement(u,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},o,{cb:function(){n.remove(u)},removeOpt:r}))}}function getSourceNode(e,t){for(var n,o=t.parentNode===e?t:t.parentNode||t;null==(n=o.getLayout());)o=o.parentNode===e?o:o.parentNode||o;return{source:o,sourceLayout:n}}function removeNode(e,t,n,o,r){var i=e.tree.getNodeByDataIndex(t),a=getSourceNode(e.tree.root,i).sourceLayout,l={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};removeElement(n,{x:a.x+1,y:a.y+1},r,{cb:function(){o.remove(n),e.setItemGraphicEl(t,null)},removeOpt:l}),n.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:l}),i.children.forEach((function(t){removeNodeEdge(t,e,o,r,l)})),removeNodeEdge(i,e,o,r,l)}function getEdgeShape(e,t,n,o,r){var i,a,l,s,c,u,d,p;if("radial"===e){c=o.rawX,d=o.rawY,u=r.rawX,p=r.rawY;var f=radialCoordinate(c,d),h=radialCoordinate(c,d+(p-d)*n),m=radialCoordinate(u,p+(d-p)*n),g=radialCoordinate(u,p);return{x1:f.x||0,y1:f.y||0,x2:g.x||0,y2:g.y||0,cpx1:h.x||0,cpy1:h.y||0,cpx2:m.x||0,cpy2:m.y||0}}return c=o.x,d=o.y,u=r.x,p=r.y,"LR"!==t&&"RL"!==t||(i=c+(u-c)*n,a=d,l=u+(c-u)*n,s=p),"TB"!==t&&"BT"!==t||(i=c,a=d+(p-d)*n,l=u,s=p+(d-p)*n),{x1:c,y1:d,x2:u,y2:p,cpx1:i,cpy1:a,cpx2:l,cpy2:s}}var inner$e=makeInner();function linkSeriesData(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,linkAll(t,n,e),each$f(n,(function(n){each$f(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,curry$1(transferInjection,e))}))})),t.wrapMethod("cloneShallow",curry$1(cloneShallowInjection,e)),each$f(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,curry$1(changeInjection,e))})),assert(n[t.dataType]===t)}function transferInjection(e,t){if(isMainData(this)){var n=extend$1({},inner$e(this).datas);n[this.dataType]=t,linkAll(t,n,e)}else linkSingle(t,this.dataType,inner$e(this).mainData,e);return t}function changeInjection(e,t){return e.struct&&e.struct.update(),t}function cloneShallowInjection(e,t){return each$f(inner$e(t).datas,(function(n,o){n!==t&&linkSingle(n.cloneShallow(),o,t,e)})),t}function getLinkedData(e){var t=inner$e(this).mainData;return null==e||null==t?t:inner$e(t).datas[e]}function getLinkedDataAll(){var e=inner$e(this).mainData;return null==e?[{data:e}]:map$1(keys(inner$e(e).datas),(function(t){return{type:t,data:inner$e(e).datas[t]}}))}function isMainData(e){return inner$e(e).mainData===e}function linkAll(e,t,n){inner$e(e).datas={},each$f(t,(function(t,o){linkSingle(t,o,e,n)}))}function linkSingle(e,t,n,o){inner$e(n).datas[t]=e,inner$e(e).mainData=n,e.dataType=t,o.struct&&(e[o.structAttr]=o.struct,o.struct[o.datasAttr[t]]=e),e.getLinkedData=getLinkedData,e.getLinkedDataAll=getLinkedDataAll}var TreeNode=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){isFunction$2(e)&&(n=t,t=e,e=null),isString$2(e=e||{})&&(e={order:e});var o,r=e.order||"preorder",i=this[e.attr||"children"];"preorder"===r&&(o=t.call(n,this));for(var a=0;!o&&a<i.length;a++)i[a].eachNode(e,t,n);"postorder"===r&&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 o=this.children[n];o.updateDepthAndHeight(e+1),o.height>t&&(t=o.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,o=n.length;t<o;t++){var r=n[t].getNodeById(e);if(r)return r}},e.prototype.contains=function(e){if(e===this)return!0;for(var t=0,n=this.children,o=n.length;t<o;t++){var r=n[t].contains(e);if(r)return r}},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}(),Tree$1=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,o=t.length;n<o;n++)t[n].dataIndex=-1;for(n=0,o=e.count();n<o;n++)t[e.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,n,o){var r=new e(n),i=[],a=1;!function e(t,n){var o=t.value;a=Math.max(a,isArray$2(o)?o.length:1),i.push(t);var l=new TreeNode(convertOptionIdName(t.name,""),r);n?addChild(l,n):r.root=l,r._nodes.push(l);var s=t.children;if(s)for(var c=0;c<s.length;c++)e(s[c],l)}(t),r.root.updateDepthAndHeight(0);var l=prepareSeriesDataSchema(i,{coordDimensions:["value"],dimensionsCount:a}).dimensions,s=new SeriesData(l,n);return s.initData(i),o&&o(s),linkSeriesData({mainData:s,struct:r,structAttr:"tree"}),r.update(),r},e}();function addChild(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}function retrieveTargetInfo(e,t,n){if(e&&indexOf(t,e.type)>=0){var o=n.getData().tree.root,r=e.targetNode;if(isString$2(r)&&(r=o.getNodeById(r)),r&&o.contains(r))return{node:r};var i=e.targetNodeId;if(null!=i&&(r=o.getNodeById(i)))return{node:r}}}function getPathToRoot(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}function aboveViewRoot(e,t){return indexOf(getPathToRoot(e),t)>=0}function wrapTreePathInfo(e,t){for(var n=[];e;){var o=e.dataIndex;n.push({name:e.name,dataIndex:o,value:t.getRawValue(o)}),e=e.parentNode}return n.reverse(),n}var TreeSeriesModel=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return __extends(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},o=new Model(n,this,this.ecModel),r=Tree$1.createTree(t,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=r.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=o),e}))}));var i=0;r.eachNode("preorder",(function(e){e.depth>i&&(i=e.depth)}));var a=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:i;return r.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=a})),r.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 o=this.getData().tree,r=o.root.children[0],i=o.getNodeByDataIndex(e),a=i.getValue(),l=i.name;i&&i!==r;)l=i.parentNode.name+"."+l,i=i.parentNode;return createTooltipMarkup("nameValue",{name:l,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),o=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=wrapTreePathInfo(o,this),n.collapsed=!o.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}(SeriesModel);function eachAfter(e,t,n){for(var o,r=[e],i=[];o=r.pop();)if(i.push(o),o.isExpand){var a=o.children;if(a.length)for(var l=0;l<a.length;l++)r.push(a[l])}for(;o=i.pop();)t(o,n)}function eachBefore(e,t){for(var n,o=[e];n=o.pop();)if(t(n),n.isExpand){var r=n.children;if(r.length)for(var i=r.length-1;i>=0;i--)o.push(r[i])}}function treeLayout(e,t){e.eachSeriesByType("tree",(function(e){commonLayout(e,t)}))}function commonLayout(e,t){var n=getViewRect$4(e,t);e.layoutInfo=n;var o=e.get("layout"),r=0,i=0,a=null;"radial"===o?(r=2*Math.PI,i=Math.min(n.height,n.width)/2,a=separation((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(r=n.width,i=n.height,a=separation());var l=e.getData().tree.root,s=l.children[0];if(s){init(l),eachAfter(s,firstWalk,a),l.hierNode.modifier=-s.hierNode.prelim,eachBefore(s,secondWalk);var c=s,u=s,d=s;eachBefore(s,(function(e){var t=e.getLayout().x;t<c.getLayout().x&&(c=e),t>u.getLayout().x&&(u=e),e.depth>d.depth&&(d=e)}));var p=c===u?1:a(c,u)/2,f=p-c.getLayout().x,h=0,m=0,g=0,v=0;if("radial"===o)h=r/(u.getLayout().x+p+f),m=i/(d.depth-1||1),eachBefore(s,(function(e){g=(e.getLayout().x+f)*h,v=(e.depth-1)*m;var t=radialCoordinate(g,v);e.setLayout({x:t.x,y:t.y,rawX:g,rawY:v},!0)}));else{var y=e.getOrient();"RL"===y||"LR"===y?(m=i/(u.getLayout().x+p+f),h=r/(d.depth-1||1),eachBefore(s,(function(e){v=(e.getLayout().x+f)*m,g="LR"===y?(e.depth-1)*h:r-(e.depth-1)*h,e.setLayout({x:g,y:v},!0)}))):"TB"!==y&&"BT"!==y||(h=r/(u.getLayout().x+p+f),m=i/(d.depth-1||1),eachBefore(s,(function(e){g=(e.getLayout().x+f)*h,v="TB"===y?(e.depth-1)*m:i-(e.depth-1)*m,e.setLayout({x:g,y:v},!0)})))}}}function treeVisual(e){e.eachSeriesByType("tree",(function(e){var t=e.getData();t.tree.eachNode((function(e){var n=e.getModel().getModel("itemStyle").getItemStyle();extend$1(t.ensureUniqueItemVisual(e.dataIndex,"style"),n)}))}))}function installTreeAction(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,o=t.getData().tree.getNodeByDataIndex(n);o.isExpand=!o.isExpand}))})),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t,n){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var o=updateCenterAndZoom(t.coordinateSystem,e,void 0,n);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom)}))}))}function install$I(e){e.registerChartView(TreeView),e.registerSeriesModel(TreeSeriesModel),e.registerLayout(treeLayout),e.registerVisual(treeVisual),installTreeAction(e)}var actionTypes=["treemapZoomToNode","treemapRender","treemapMove"];function installTreemapAction(e){for(var t=0;t<actionTypes.length;t++)e.registerAction({type:actionTypes[t],update:"updateView"},noop$2);e.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"treemap",query:e},(function(t,n){var o=retrieveTargetInfo(e,["treemapZoomToNode","treemapRootToNode"],t);if(o){var r=t.getViewRoot();r&&(e.direction=aboveViewRoot(r,o.node)?"rollUp":"drillDown"),t.resetViewRoot(o.node)}}))}))}function enableAriaDecalForTree(e){var t=e.getData().tree,n={};t.eachNode((function(t){for(var o=t;o&&o.depth>1;)o=o.parentNode;var r=getDecalFromPalette(e.ecModel,o.name||o.dataIndex+"",n);t.setVisual("decal",r)}))}var TreemapSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return __extends(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};completeTreeValue$1(n);var o=e.levels||[],r=this.designatedVisualItemStyle={},i=new Model({itemStyle:r},this,t),a=map$1((o=e.levels=setDefault(o,t))||[],(function(e){return new Model(e,i,t)}),this),l=Tree$1.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=l.getNodeByDataIndex(t),o=n?a[n.depth]:null;return e.parentModel=o||i,e}))}));return l.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var o=this.getData(),r=this.getRawValue(e);return createTooltipMarkup("nameValue",{name:o.getName(e),value:r})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),o=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=wrapTreePathInfo(o,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},extend$1(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=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(){enableAriaDecalForTree(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,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(SeriesModel);function completeTreeValue$1(e){var t=0;each$f(e.children,(function(e){completeTreeValue$1(e);var n=e.value;isArray$2(n)&&(n=n[0]),t+=n}));var n=e.value;isArray$2(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),isArray$2(e.value)?e.value[0]=n:e.value=n}function setDefault(e,t){var n=normalizeToArray(t.get("color")),o=normalizeToArray(t.get(["aria","decal","decals"]));if(n){var r,i;each$f(e=e||[],(function(e){var t=new Model(e),n=t.get("color"),o=t.get("decal");(t.get(["itemStyle","color"])||n&&"none"!==n)&&(r=!0),(t.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=e[0]||(e[0]={});return r||(a.color=n.slice()),!i&&o&&(a.decal=o.slice()),e}}var TEXT_PADDING=8,ITEM_GAP=8,ARRAY_LENGTH=5,Breadcrumb$1=function(){function e(e){this.group=new Group$3,e.add(this.group)}return e.prototype.render=function(e,t,n,o){var r=e.getModel("breadcrumb"),i=this.group;if(i.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),l=r.getModel("emphasis"),s=a.getModel("textStyle"),c=l.getModel(["itemStyle","textStyle"]),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,s),this._renderContent(e,u,a,l,s,c,o),positionElement(i,u.pos,u.box)}},e.prototype._prepare=function(e,t,n){for(var o=e;o;o=o.parentNode){var r=convertOptionIdName(o.getModel().get("name"),""),i=n.getTextRect(r),a=Math.max(i.width+2*TEXT_PADDING,t.emptyItemWidth);t.totalWidth+=a+ITEM_GAP,t.renderList.push({node:o,text:r,width:a})}},e.prototype._renderContent=function(e,t,n,o,r,i,a){for(var l=0,s=t.emptyItemWidth,c=e.get(["breadcrumb","height"]),u=getAvailableSize(t.pos,t.box),d=t.totalWidth,p=t.renderList,f=o.getModel("itemStyle").getItemStyle(),h=p.length-1;h>=0;h--){var m=p[h],g=m.node,v=m.width,y=m.text;d>u.width&&(d-=v-s,v=s,y=null);var b=new Polygon({shape:{points:makeItemPoints(l,0,v,c,h===p.length-1,0===h)},style:defaults$1(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new ZRText({style:createTextStyle(r,{text:y})}),textConfig:{position:"inside"},z2:1e4*Z2_EMPHASIS_LIFT,onclick:curry$1(a,g)});b.disableLabelAnimation=!0,b.getTextContent().ensureState("emphasis").style=createTextStyle(i,{text:y}),b.ensureState("emphasis").style=f,toggleHoverEmphasis(b,o.get("focus"),o.get("blurScope"),o.get("disabled")),this.group.add(b),packEventData(b,e,g),l+=v+ITEM_GAP}},e.prototype.remove=function(){this.group.removeAll()},e}();function makeItemPoints(e,t,n,o,r,i){var a=[[r?e:e-ARRAY_LENGTH,t],[e+n,t],[e+n,t+o],[r?e:e-ARRAY_LENGTH,t+o]];return!i&&a.splice(2,0,[e+n+ARRAY_LENGTH,t+o/2]),!r&&a.push([e,t+o/2]),a}function packEventData(e,t,n){getECData(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&&wrapTreePathInfo(n,t)}}var AnimationWrap=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,o,r){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:o,easing:r}),!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())},o=0,r=this._storage.length;o<r;o++){var i=this._storage[o];i.el.animateTo(i.target,{duration:i.duration,delay:i.delay,easing:i.easing,setToFinal:!0,done:n,aborted:n})}return this},e}();function createWrap(){return new AnimationWrap}var Group$2=Group$3,Rect$1=Rect$2,DRAG_THRESHOLD=3,PATH_LABEL_NOAMAL="label",PATH_UPPERLABEL_NORMAL="upperLabel",Z2_BASE=10*Z2_EMPHASIS_LIFT,Z2_BG=2*Z2_EMPHASIS_LIFT,Z2_CONTENT=3*Z2_EMPHASIS_LIFT,getStateItemStyle=makeStyleMapper([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),getItemStyleNormal=function(e){var t=getStateItemStyle(e);return t.stroke=t.fill=t.lineWidth=null,t},inner$d=makeInner(),TreemapView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage=createStorage(),n}return __extends(t,e),t.prototype.render=function(e,t,n,o){if(!(indexOf(t.findComponents({mainType:"series",subType:"treemap",query:o}),e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var r=retrieveTargetInfo(o,["treemapZoomToNode","treemapRootToNode"],e),i=o&&o.type,a=e.layoutInfo,l=!this._oldTree,s=this._storage,c="treemapRootToNode"===i&&r&&s?{rootNodeGroup:s.nodeGroup[r.node.getRawIndex()],direction:o.direction}:null,u=this._giveContainerGroup(a),d=e.get("animation"),p=this._doRender(u,e,c);!d||l||i&&"treemapZoomToNode"!==i&&"treemapRootToNode"!==i?p.renderFinally():this._doAnimation(u,p,e,c),this._resetController(n),this._renderBreadcrumb(e,n,r)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new Group$2,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,n){var o=t.getData().tree,r=this._oldTree,i=createStorage(),a=createStorage(),l=this._storage,s=[];!function e(o,r,c,u,d){u?(r=o,each$f(o,(function(e,t){!e.isRemoved()&&f(t,t)}))):new DataDiffer(r,o,p,p).add(f).update(f).remove(curry$1(f,null)).execute();function p(e){return e.getId()}function f(p,f){var h=null!=p?o[p]:null,m=null!=f?r[f]:null,g=function(e,o,r,c){return renderNode(t,a,l,n,i,s,e,o,r,c)}(h,m,c,d);g&&e(h&&h.viewChildren||[],m&&m.viewChildren||[],g,u,d+1)}}(o.root?[o.root]:[],r&&r.root?[r.root]:[],e,o===r||!r,0);var c,u,d=(c=l,u=createStorage(),c&&each$f(c,(function(e,t){var n=u[t];each$f(e,(function(e){e&&(n.push(e),inner$d(e).willDelete=!0)}))})),u);if(this._oldTree=o,this._storage=a,this._controllerHost){var p=this.seriesModel.layoutInfo,f=o.root.getLayout();f.width===p.width&&f.height===p.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:i,willDeleteEls:d,renderFinally:function(){each$f(d,(function(e){each$f(e,(function(e){e.parent&&e.parent.remove(e)}))})),each$f(s,(function(e){e.invisible=!0,e.dirty()}))}}},t.prototype._doAnimation=function(e,t,n,o){var r=n.get("animationDurationUpdate"),i=n.get("animationEasing"),a=(isFunction$2(r)?0:r)||0,l=(isFunction$2(i)?null:i)||"cubicOut",s=createWrap();each$f(t.willDeleteEls,(function(e,t){each$f(e,(function(e,n){if(!e.invisible){var r,i=e.parent,c=inner$d(i);if(o&&"drillDown"===o.direction)r=i===o.rootNodeGroup?{shape:{x:0,y:0,width:c.nodeWidth,height:c.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,d=0;c.willDelete||(u=c.nodeWidth/2,d=c.nodeHeight/2),r="nodeGroup"===t?{x:u,y:d,style:{opacity:0}}:{shape:{x:u,y:d,width:0,height:0},style:{opacity:0}}}r&&s.add(e,r,a,0,l)}}))})),each$f(this._storage,(function(e,n){each$f(e,(function(e,o){var r=t.lastsForAnimation[n][o],i={};r&&(e instanceof Group$3?null!=r.oldX&&(i.x=e.x,i.y=e.y,e.x=r.oldX,e.y=r.oldY):(r.oldShape&&(i.shape=extend$1({},e.shape),e.setShape(r.oldShape)),r.fadein?(e.setStyle("opacity",0),i.style={opacity:1}):1!==e.style.opacity&&(i.style={opacity:1})),s.add(e,i,a,0,l))}))}),this),this._state="animating",s.finished(bind$2((function(){this._state="ready",t.renderFinally()}),this)).start()},t.prototype._resetController=function(e){var t=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),t||((t=this._controller=new RoamController(e.getZr())).enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),t.on("pan",bind$2(this._onPan,this)),t.on("zoom",bind$2(this._onZoom,this)));var o=new BoundingRect(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,n){return o.contain(t,n)}))},t.prototype._clearController=function(){var e=this._controller;this._controllerHost=null,e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>DRAG_THRESHOLD||Math.abs(e.dy)>DRAG_THRESHOLD)){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,o=e.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var a,l=new BoundingRect(i.x,i.y,i.width,i.height),s=this._controllerHost;a=s.zoomLimit;var c=s.zoom=s.zoom||1;if(c*=o,a){var u=a.min||0,d=a.max||1/0;c=Math.max(Math.min(d,c),u)}var p=c/s.zoom;s.zoom=c;var f=this.seriesModel.layoutInfo;t-=f.x,n-=f.y;var h=create$1();translate$1(h,h,[-t,-n]),scale$1(h,h,[p,p]),translate$1(h,h,[t,n]),l.applyTransform(h),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x,y:l.y,width:l.width,height:l.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 o=t.findTarget(e.offsetX,e.offsetY);if(o){var r=o.node;if(r.getLayout().isLeafRoot)t._rootToNode(o);else if("zoomToNode"===n)t._zoomToNode(o);else if("link"===n){var i=r.hostTree.data.getItemModel(r.dataIndex),a=i.get("link",!0),l=i.get("target",!0)||"blank";a&&windowOpen(a,l)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,n){var o=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 Breadcrumb$1(this.group))).render(e,t,n.node,(function(t){"animating"!==o._state&&(aboveViewRoot(e.getViewRoot(),t)?o._rootToNode({node:t}):o._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=createStorage(),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(o){var r=this._storage.background[o.getRawIndex()];if(r){var i=r.transformCoordToLocal(e,t),a=r.shape;if(!(a.x<=i[0]&&i[0]<=a.x+a.width&&a.y<=i[1]&&i[1]<=a.y+a.height))return!1;n={node:o,offsetX:i[0],offsetY:i[1]}}}),this),n},t.type="treemap",t}(ChartView);function createStorage(){return{nodeGroup:[],background:[],content:[]}}function renderNode(e,t,n,o,r,i,a,l,s,c){if(a){var u=a.getLayout(),d=e.getData(),p=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),u&&u.isInView){var f=u.width,h=u.height,m=u.borderWidth,g=u.invisible,v=a.getRawIndex(),y=l&&l.getRawIndex(),b=a.viewChildren,_=u.upperHeight,w=b&&b.length,k=p.getModel("itemStyle"),x=p.getModel(["emphasis","itemStyle"]),S=p.getModel(["blur","itemStyle"]),C=p.getModel(["select","itemStyle"]),E=k.get("borderRadius")||0,T=V("nodeGroup",Group$2);if(T){if(s.add(T),T.x=u.x||0,T.y=u.y||0,T.markRedraw(),inner$d(T).nodeWidth=f,inner$d(T).nodeHeight=h,u.isAboveViewRoot)return T;var A=V("background",Rect$1,c,Z2_BG);A&&function(t,n,o){var r=getECData(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:f,height:h,r:E}),g)D(n);else{n.invisible=!1;var i=a.getVisual("style"),l=i.stroke,s=getItemStyleNormal(k);s.fill=l;var c=getStateItemStyle(x);c.fill=x.get("borderColor");var u=getStateItemStyle(S);u.fill=S.get("borderColor");var d=getStateItemStyle(C);if(d.fill=C.get("borderColor"),o){var p=f-2*m;L(n,l,i.opacity,{x:m,y:0,width:p,height:_})}else n.removeTextContent();n.setStyle(s),n.ensureState("emphasis").style=c,n.ensureState("blur").style=u,n.ensureState("select").style=d,setDefaultStateProxy(n)}t.add(n)}(T,A,w&&u.upperLabelHeight);var $=p.getModel("emphasis"),I=$.get("focus"),M=$.get("blurScope"),P=$.get("disabled"),N="ancestor"===I?a.getAncestorsIndices():"descendant"===I?a.getDescendantIndices():I;if(w)isHighDownDispatcher(T)&&setAsHighDownDispatcher(T,!1),A&&(setAsHighDownDispatcher(A,!P),d.setItemGraphicEl(a.dataIndex,A),enableHoverFocus(A,N,M));else{var O=V("content",Rect$1,c,Z2_CONTENT);O&&function(t,n){var o=getECData(n);o.dataIndex=a.dataIndex,o.seriesIndex=e.seriesIndex;var r=Math.max(f-2*m,0),i=Math.max(h-2*m,0);if(n.culling=!0,n.setShape({x:m,y:m,width:r,height:i,r:E}),g)D(n);else{n.invisible=!1;var l=a.getVisual("style"),s=l.fill,c=getItemStyleNormal(k);c.fill=s,c.decal=l.decal;var u=getStateItemStyle(x),d=getStateItemStyle(S),p=getStateItemStyle(C);L(n,s,l.opacity,null),n.setStyle(c),n.ensureState("emphasis").style=u,n.ensureState("blur").style=d,n.ensureState("select").style=p,setDefaultStateProxy(n)}t.add(n)}(T,O),A.disableMorphing=!0,A&&isHighDownDispatcher(A)&&setAsHighDownDispatcher(A,!1),setAsHighDownDispatcher(T,!P),d.setItemGraphicEl(a.dataIndex,T);var R=p.getShallow("cursor");R&&O.attr("cursor",R),enableHoverFocus(T,N,M)}return T}}}function D(e){!e.invisible&&i.push(e)}function L(t,n,o,r){var i=p.getModel(r?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),l=convertOptionIdName(p.get("name"),null),s=i.getShallow("show");setLabelStyle(t,getLabelStatesModels(p,r?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),{defaultText:s?l:null,inheritColor:n,defaultOpacity:o,labelFetcher:e,labelDataIndex:a.dataIndex});var c=t.getTextContent();if(c){var d=c.style,f=normalizeCssArray$1(d.padding||0);r&&(t.setTextConfig({layoutRect:r}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var e=Math.max((r?r.width:t.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:t.shape.height)-f[0]-f[2],0);d.width===e&&d.height===n||c.setStyle({width:e,height:n})},d.truncateMinChar=2,d.lineOverflow="truncate",B(d,r,u);var h=c.getState("emphasis");B(h?h.style:null,r,u)}}function B(t,n,o){var r=t?t.text:null;if(!n&&o.isLeafRoot&&null!=r){var i=e.get("drillDownIcon",!0);t.text=i?i+" "+r:r}}function V(e,i,l,s){var c=null!=y&&n[e][y],u=r[e];return c?(n[e][y]=null,function(e,t){var n=e[v]={};t instanceof Group$2?(n.oldX=t.x,n.oldY=t.y):n.oldShape=extend$1({},t.shape)}(u,c)):g||((c=new i)instanceof Displayable&&(c.z2=calculateZ2(l,s)),function(e,t){var n=e[v]={},i=a.parentNode,l=t instanceof Group$3;if(i&&(!o||"drillDown"===o.direction)){var s=0,c=0,u=r.background[i.getRawIndex()];!o&&u&&u.oldShape&&(s=u.oldShape.width,c=u.oldShape.height),l?(n.oldX=0,n.oldY=c):n.oldShape={x:s,y:c,width:0,height:0}}n.fadein=!l}(u,c)),t[e][v]=c}}function calculateZ2(e,t){return e*Z2_BASE+t}var each$c=each$f,isObject$1=isObject$4,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function e(t){var n=t.mappingMethod,o=t.type,r=this.option=clone$4(t);this.type=o,this.mappingMethod=n,this._normalizeData=normalizers[n];var i=e.visualHandlers[o];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[n],"piecewise"===n?(normalizeVisualRange(r),preprocessForPiecewise(r)):"category"===n?r.categories?preprocessForSpecifiedCategory(r):normalizeVisualRange(r,!0):(assert("linear"!==n||r.dataExtent),normalizeVisualRange(r))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return bind$2(this._normalizeData,this)},e.listVisualTypes=function(){return keys(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){isObject$4(e)?each$f(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,o){var r,i=isArray$2(t)?[]:isObject$4(t)?{}:(r=!0,null);return e.eachVisual(t,(function(e,t){var a=n.call(o,e,t);r?i=a:i[t]=a})),i},e.retrieveVisuals=function(t){var n,o={};return t&&each$c(e.visualHandlers,(function(e,r){t.hasOwnProperty(r)&&(o[r]=t[r],n=!0)})),n?o:null},e.prepareVisualTypes=function(e){if(isArray$2(e))e=e.slice();else{if(!isObject$1(e))return[];var t=[];each$c(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 o,r=1/0,i=0,a=t.length;i<a;i++){var l=t[i].value;if(null!=l){if(l===e||isString$2(l)&&l===e+"")return i;n&&d(l,i)}}for(i=0,a=t.length;i<a;i++){var s=t[i],c=s.interval,u=s.close;if(c){if(c[0]===-1/0){if(littleThan(u[1],e,c[1]))return i}else if(c[1]===1/0){if(littleThan(u[0],c[0],e))return i}else if(littleThan(u[0],c[0],e)&&littleThan(u[1],e,c[1]))return i;n&&d(c[0],i),n&&d(c[1],i)}}if(n)return e===1/0?t.length-1:e===-1/0?0:o;function d(t,n){var i=Math.abs(t-e);i<r&&(r=i,o=n)}},e.visualHandlers={color:{applyVisual:makeApplyVisual("color"),getColorMapper:function(){var e=this.option;return bind$2("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),doMapCategory.call(this,e)}:function(t,n,o){var r=!!o;return!n&&(t=this._normalizeData(t)),o=fastLerp(t,e.parsedVisual,o),r?o:stringify(o,"rgba")},this)},_normalizedToVisual:{linear:function(e){return stringify(fastLerp(e,this.option.parsedVisual),"rgba")},category:doMapCategory,piecewise:function(e,t){var n=getSpecifiedVisual.call(this,t);return null==n&&(n=stringify(fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:doMapFixed}},colorHue:makePartialColorVisualHandler((function(e,t){return modifyHSL(e,t)})),colorSaturation:makePartialColorVisualHandler((function(e,t){return modifyHSL(e,null,t)})),colorLightness:makePartialColorVisualHandler((function(e,t){return modifyHSL(e,null,null,t)})),colorAlpha:makePartialColorVisualHandler((function(e,t){return modifyAlpha(e,t)})),decal:{applyVisual:makeApplyVisual("decal"),_normalizedToVisual:{linear:null,category:doMapCategory,piecewise:null,fixed:null}},opacity:{applyVisual:makeApplyVisual("opacity"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])},liftZ:{applyVisual:makeApplyVisual("liftZ"),_normalizedToVisual:{linear:doMapFixed,category:doMapFixed,piecewise:doMapFixed,fixed:doMapFixed}},symbol:{applyVisual:function(e,t,n){n("symbol",this.mapValueToVisual(e))},_normalizedToVisual:{linear:doMapToArray,category:doMapCategory,piecewise:function(e,t){var n=getSpecifiedVisual.call(this,t);return null==n&&(n=doMapToArray.call(this,e)),n},fixed:doMapFixed}},symbolSize:{applyVisual:makeApplyVisual("symbolSize"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])}},e}();function preprocessForPiecewise(e){var t=e.pieceList;e.hasSpecialVisual=!1,each$f(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function preprocessForSpecifiedCategory(e){var t=e.categories,n=e.categoryMap={},o=e.visual;if(each$c(t,(function(e,t){n[e]=t})),!isArray$2(o)){var r=[];isObject$4(o)?each$c(o,(function(e,t){var o=n[t];r[null!=o?o:CATEGORY_DEFAULT_VISUAL_INDEX]=e})):r[CATEGORY_DEFAULT_VISUAL_INDEX]=o,o=setVisualToOption(e,r)}for(var i=t.length-1;i>=0;i--)null==o[i]&&(delete n[t[i]],t.pop())}function normalizeVisualRange(e,t){var n=e.visual,o=[];isObject$4(n)?each$c(n,(function(e){o.push(e)})):null!=n&&o.push(n);t||1!==o.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(o[1]=o[0]),setVisualToOption(e,o)}function makePartialColorVisualHandler(e){return{applyVisual:function(t,n,o){var r=this.mapValueToVisual(t);o("color",e(n("color"),r))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(e){var t=this.option.visual;return t[Math.round(linearMap$2(e,[0,1],[0,t.length-1],!0))]||{}}function makeApplyVisual(e){return function(t,n,o){o(e,this.mapValueToVisual(t))}}function doMapCategory(e){var t=this.option.visual;return t[this.option.loop&&e!==CATEGORY_DEFAULT_VISUAL_INDEX?e%t.length:e]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(e){return{linear:function(t){return linearMap$2(t,e,this.option.visual,!0)},category:doMapCategory,piecewise:function(t,n){var o=getSpecifiedVisual.call(this,n);return null==o&&(o=linearMap$2(t,e,this.option.visual,!0)),o},fixed:doMapFixed}}function getSpecifiedVisual(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var o=n[VisualMapping.findPieceIndex(e,n)];if(o&&o.visual)return o.visual[this.type]}}function setVisualToOption(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=map$1(t,(function(e){return parse(e)||[0,0,0,1]}))),t}var normalizers={linear:function(e){return linearMap$2(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=VisualMapping.findPieceIndex(e,t,!0);if(null!=n)return linearMap$2(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?CATEGORY_DEFAULT_VISUAL_INDEX:t},fixed:noop$2};function littleThan(e,t,n){return e?t<=n:t<n}var ITEM_STYLE_NORMAL="itemStyle",inner$c=makeInner();const treemapVisual={seriesType:"treemap",reset:function(e){var t=e.getData().tree.root;t.isRemoved()||travelTree(t,{},e.getViewRoot().getAncestors(),e)}};function travelTree(e,t,n,o){var r=e.getModel(),i=e.getLayout(),a=e.hostTree.data;if(i&&!i.invisible&&i.isInView){var l,s=r.getModel(ITEM_STYLE_NORMAL),c=buildVisuals(s,t,o),u=a.ensureUniqueItemVisual(e.dataIndex,"style"),d=s.get("borderColor"),p=s.get("borderColorSaturation");null!=p&&(d=calculateBorderColor(p,l=calculateColor(c))),u.stroke=d;var f=e.viewChildren;if(f&&f.length){var h=buildVisualMapping(e,r,i,s,c,f);each$f(f,(function(e,t){(e.depth>=n.length||e===n[e.depth])&&travelTree(e,mapVisual$1(r,c,e,t,h,o),n,o)}))}else l=calculateColor(c),u.fill=l}}function buildVisuals(e,t,n){var o=extend$1({},t),r=n.designatedVisualItemStyle;return each$f(["color","colorAlpha","colorSaturation"],(function(n){r[n]=t[n];var i=e.get(n);r[n]=null,null!=i&&(o[n]=i)})),o}function calculateColor(e){var t=getValueVisualDefine(e,"color");if(t){var n=getValueVisualDefine(e,"colorAlpha"),o=getValueVisualDefine(e,"colorSaturation");return o&&(t=modifyHSL(t,null,null,o)),n&&(t=modifyAlpha(t,n)),t}}function calculateBorderColor(e,t){return null!=t?modifyHSL(t,null,null,e):null}function getValueVisualDefine(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function buildVisualMapping(e,t,n,o,r,i){if(i&&i.length){var a=getRangeVisual(t,"color")||null!=r.color&&"none"!==r.color&&(getRangeVisual(t,"colorAlpha")||getRangeVisual(t,"colorSaturation"));if(a){var l=t.get("visualMin"),s=t.get("visualMax"),c=n.dataExtent.slice();null!=l&&l<c[0]&&(c[0]=l),null!=s&&s>c[1]&&(c[1]=s);var u=t.get("colorMappingBy"),d={type:a.name,dataExtent:c,visual:a.range};"color"!==d.type||"index"!==u&&"id"!==u?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var p=new VisualMapping(d);return inner$c(p).drColorMappingBy=u,p}}}function getRangeVisual(e,t){var n=e.get(t);return isArray$2(n)&&n.length?{name:t,range:n}:null}function mapVisual$1(e,t,n,o,r,i){var a=extend$1({},t);if(r){var l=r.type,s="color"===l&&inner$c(r).drColorMappingBy,c="index"===s?o:"id"===s?i.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[l]=r.mapValueToVisual(c)}return a}var mathMax$3=Math.max,mathMin$3=Math.min,retrieveValue=retrieve,each$b=each$f,PATH_BORDER_WIDTH=["itemStyle","borderWidth"],PATH_GAP_WIDTH=["itemStyle","gapWidth"],PATH_UPPER_LABEL_SHOW=["upperLabel","show"],PATH_UPPER_LABEL_HEIGHT=["upperLabel","height"];const treemapLayout={seriesType:"treemap",reset:function(e,t,n,o){var r=n.getWidth(),i=n.getHeight(),a=e.option,l=getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),s=a.size||[],c=parsePercent(retrieveValue(l.width,s[0]),r),u=parsePercent(retrieveValue(l.height,s[1]),i),d=o&&o.type,p=retrieveTargetInfo(o,["treemapZoomToNode","treemapRootToNode"],e),f="treemapRender"===d||"treemapMove"===d?o.rootRect:null,h=e.getViewRoot(),m=getPathToRoot(h);if("treemapMove"!==d){var g="treemapZoomToNode"===d?estimateRootSize(e,p,h,c,u):f?[f.width,f.height]:[c,u],v=a.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var y={squareRatio:a.squareRatio,sort:v,leafDepth:a.leafDepth};h.hostTree.clearLayouts();var b={x:0,y:0,width:g[0],height:g[1],area:g[0]*g[1]};h.setLayout(b),squarify(h,y,!1,0),b=h.getLayout(),each$b(m,(function(e,t){var n=(m[t+1]||h).getValue();e.setLayout(extend$1({dataExtent:[n,n],borderWidth:0,upperHeight:0},b))}))}var _=e.getData().tree.root;_.setLayout(calculateRootPosition(l,f,p),!0),e.setLayoutInfo(l),prunning(_,new BoundingRect(-l.x,-l.y,r,i),m,h,0)}};function squarify(e,t,n,o){var r,i;if(!e.isRemoved()){var a=e.getLayout();r=a.width,i=a.height;var l=e.getModel(),s=l.get(PATH_BORDER_WIDTH),c=l.get(PATH_GAP_WIDTH)/2,u=getUpperLabelHeight(l),d=Math.max(s,u),p=s-c,f=d-c;e.setLayout({borderWidth:s,upperHeight:d,upperLabelHeight:u},!0);var h=(r=mathMax$3(r-2*p,0))*(i=mathMax$3(i-p-f,0)),m=initChildren$1(e,l,h,t,n,o);if(m.length){var g={x:p,y:f,width:r,height:i},v=mathMin$3(r,i),y=1/0,b=[];b.area=0;for(var _=0,w=m.length;_<w;){var k=m[_];b.push(k),b.area+=k.getLayout().area;var x=worst(b,v,t.squareRatio);x<=y?(_++,y=x):(b.area-=b.pop().getLayout().area,position(b,v,g,c,!1),v=mathMin$3(g.width,g.height),b.length=b.area=0,y=1/0)}if(b.length&&position(b,v,g,c,!0),!n){var S=l.get("childrenVisibleMin");null!=S&&h<S&&(n=!0)}for(_=0,w=m.length;_<w;_++)squarify(m[_],t,n,o+1)}}}function initChildren$1(e,t,n,o,r,i){var a=e.children||[],l=o.sort;"asc"!==l&&"desc"!==l&&(l=null);var s=null!=o.leafDepth&&o.leafDepth<=i;if(r&&!s)return e.viewChildren=[];sort$1(a=filter(a,(function(e){return!e.isRemoved()})),l);var c=statistic(t,a,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=filterByThreshold(t,n,c.sum,l,a),0===c.sum)return e.viewChildren=[];for(var u=0,d=a.length;u<d;u++){var p=a[u].getValue()/c.sum*n;a[u].setLayout({area:p})}return s&&(a.length&&e.setLayout({isLeafRoot:!0},!0),a.length=0),e.viewChildren=a,e.setLayout({dataExtent:c.dataExtent},!0),a}function filterByThreshold(e,t,n,o,r){if(!o)return n;for(var i=e.get("visibleMin"),a=r.length,l=a,s=a-1;s>=0;s--){var c=r["asc"===o?a-s-1:s].getValue();c/n*t<i&&(l=s,n-=c)}return"asc"===o?r.splice(0,a-l):r.splice(l,a-l),n}function sort$1(e,t){return t&&e.sort((function(e,n){var o="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===o?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:o})),e}function statistic(e,t,n){for(var o=0,r=0,i=t.length;r<i;r++)o+=t[r].getValue();var a,l=e.get("visualDimension");return t&&t.length?"value"===l&&n?(a=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],each$b(t,(function(e){var t=e.getValue(l);t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)}))):a=[NaN,NaN],{sum:o,dataExtent:a}}function worst(e,t,n){for(var o=0,r=1/0,i=0,a=void 0,l=e.length;i<l;i++)(a=e[i].getLayout().area)&&(a<r&&(r=a),a>o&&(o=a));var s=e.area*e.area,c=t*t*n;return s?mathMax$3(c*o/s,s/(c*r)):1/0}function position(e,t,n,o,r){var i=t===n.width?0:1,a=1-i,l=["x","y"],s=["width","height"],c=n[l[i]],u=t?e.area/t:0;(r||u>n[s[a]])&&(u=n[s[a]]);for(var d=0,p=e.length;d<p;d++){var f=e[d],h={},m=u?f.getLayout().area/u:0,g=h[s[a]]=mathMax$3(u-2*o,0),v=n[l[i]]+n[s[i]]-c,y=d===p-1||v<m?v:m,b=h[s[i]]=mathMax$3(y-2*o,0);h[l[a]]=n[l[a]]+mathMin$3(o,g/2),h[l[i]]=c+mathMin$3(o,b/2),c+=y,f.setLayout(h,!0)}n[l[a]]+=u,n[s[a]]-=u}function estimateRootSize(e,t,n,o,r){var i,a=(t||{}).node,l=[o,r];if(!a||a===n)return l;for(var s=o*r,c=s*e.option.zoomToNodeRatio;i=a.parentNode;){for(var u=0,d=i.children,p=0,f=d.length;p<f;p++)u+=d[p].getValue();var h=a.getValue();if(0===h)return l;c*=u/h;var m=i.getModel(),g=m.get(PATH_BORDER_WIDTH);(c+=4*g*g+(3*g+Math.max(g,getUpperLabelHeight(m)))*Math.pow(c,.5))>MAX_SAFE_INTEGER&&(c=MAX_SAFE_INTEGER),a=i}c<s&&(c=s);var v=Math.pow(c/s,.5);return[o*v,r*v]}function calculateRootPosition(e,t,n){if(t)return{x:t.x,y:t.y};var o={x:0,y:0};if(!n)return o;var r=n.node,i=r.getLayout();if(!i)return o;for(var a=[i.width/2,i.height/2],l=r;l;){var s=l.getLayout();a[0]+=s.x,a[1]+=s.y,l=l.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function prunning(e,t,n,o,r){var i=e.getLayout(),a=n[r],l=a&&a===e;if(!(a&&!l||r===n.length&&e!==o)){e.setLayout({isInView:!0,invisible:!l&&!t.intersect(i),isAboveViewRoot:l},!0);var s=new BoundingRect(t.x-i.x,t.y-i.y,t.width,t.height);each$b(e.viewChildren||[],(function(e){prunning(e,s,n,o,r+1)}))}}function getUpperLabelHeight(e){return e.get(PATH_UPPER_LABEL_SHOW)?e.get(PATH_UPPER_LABEL_HEIGHT):0}function install$H(e){e.registerSeriesModel(TreemapSeriesModel),e.registerChartView(TreemapView),e.registerVisual(treemapVisual),e.registerLayout(treemapLayout),installTreemapAction(e)}function categoryFilter(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),o=e.getGraph().data,r=n.mapArray(n.getName);o.filterSelf((function(e){var n=o.getItemModel(e).getShallow("category");if(null!=n){isNumber$2(n)&&(n=r[n]);for(var i=0;i<t.length;i++)if(!t[i].isSelected(n))return!1}return!0}))}))}function categoryVisual(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),o=e.getData(),r={};n.each((function(o){var i=n.getName(o);r["ec-"+i]=o;var a=n.getItemModel(o),l=a.getModel("itemStyle").getItemStyle();l.fill||(l.fill=e.getColorFromPalette(i,t)),n.setItemVisual(o,"style",l);for(var s=["symbol","symbolSize","symbolKeepAspect"],c=0;c<s.length;c++){var u=a.getShallow(s[c],!0);null!=u&&n.setItemVisual(o,s[c],u)}})),n.count()&&o.each((function(e){var t=o.getItemModel(e).getShallow("category");if(null!=t){isString$2(t)&&(t=r["ec-"+t]);var i=n.getItemVisual(t,"style");extend$1(o.ensureUniqueItemVisual(e,"style"),i);for(var a=["symbol","symbolSize","symbolKeepAspect"],l=0;l<a.length;l++)o.setItemVisual(e,a[l],n.getItemVisual(t,a[l]))}}))}))}function normalize$1(e){return e instanceof Array||(e=[e,e]),e}function graphEdgeVisual(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),n=e.getEdgeData(),o=normalize$1(e.get("edgeSymbol")),r=normalize$1(e.get("edgeSymbolSize"));n.setVisual("fromSymbol",o&&o[0]),n.setVisual("toSymbol",o&&o[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each((function(e){var o=n.getItemModel(e),r=t.getEdgeByIndex(e),i=normalize$1(o.getShallow("symbol",!0)),a=normalize$1(o.getShallow("symbolSize",!0)),l=o.getModel("lineStyle").getLineStyle(),s=n.ensureUniqueItemVisual(e,"style");switch(extend$1(s,l),s.stroke){case"source":var c=r.node1.getVisual("style");s.stroke=c&&c.fill;break;case"target":c=r.node2.getVisual("style");s.stroke=c&&c.fill}i[0]&&r.setVisual("fromSymbol",i[0]),i[1]&&r.setVisual("toSymbol",i[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))}var KEY_DELIMITER="--\x3e",getAutoCurvenessParams=function(e){return e.get("autoCurveness")||null},createCurveness=function(e,t){var n=getAutoCurvenessParams(e),o=20,r=[];if(isNumber$2(n))o=n;else if(isArray$2(n))return void(e.__curvenessList=n);t>o&&(o=t);var i=o%2?o+2:o+3;r=[];for(var a=0;a<i;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));e.__curvenessList=r},getKeyOfEdges=function(e,t,n){var o=[e.id,e.dataIndex].join("."),r=[t.id,t.dataIndex].join(".");return[n.uid,o,r].join(KEY_DELIMITER)},getOppositeKey=function(e){var t=e.split(KEY_DELIMITER);return[t[0],t[2],t[1]].join(KEY_DELIMITER)},getEdgeFromMap=function(e,t){var n=getKeyOfEdges(e.node1,e.node2,t);return t.__edgeMap[n]},getTotalLengthBetweenNodes=function(e,t){return getEdgeMapLengthWithKey(getKeyOfEdges(e.node1,e.node2,t),t)+getEdgeMapLengthWithKey(getKeyOfEdges(e.node2,e.node1,t),t)},getEdgeMapLengthWithKey=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function initCurvenessList(e){getAutoCurvenessParams(e)&&(e.__curvenessList=[],e.__edgeMap={},createCurveness(e))}function createEdgeMapForCurveness(e,t,n,o){if(getAutoCurvenessParams(n)){var r=getKeyOfEdges(e,t,n),i=n.__edgeMap,a=i[getOppositeKey(r)];i[r]&&!a?i[r].isForward=!0:a&&i[r]&&(a.isForward=!0,i[r].isForward=!1),i[r]=i[r]||[],i[r].push(o)}}function getCurvenessForEdge(e,t,n,o){var r=getAutoCurvenessParams(t),i=isArray$2(r);if(!r)return null;var a=getEdgeFromMap(e,t);if(!a)return null;for(var l=-1,s=0;s<a.length;s++)if(a[s]===n){l=s;break}var c=getTotalLengthBetweenNodes(e,t);createCurveness(t,c),e.lineStyle=e.lineStyle||{};var u=getKeyOfEdges(e.node1,e.node2,t),d=t.__curvenessList,p=i||c%2?0:1;if(a.isForward)return d[p+l];var f=getOppositeKey(u),h=getEdgeMapLengthWithKey(f,t),m=d[l+h+p];return o?i?r&&0===r[0]?(h+p)%2?m:-m:((h%2?0:1)+p)%2?m:-m:(h+p)%2?m:-m:d[l+h+p]}function simpleLayout(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")])})),simpleLayoutEdge(n,e)}}function simpleLayoutEdge(e,t){e.eachEdge((function(e,n){var o=retrieve3(e.getModel().get(["lineStyle","curveness"]),-getCurvenessForEdge(e,t,n,!0),0),r=clone$3(e.node1.getLayout()),i=clone$3(e.node2.getLayout()),a=[r,i];+o&&a.push([(r[0]+i[0])/2-(r[1]-i[1])*o,(r[1]+i[1])/2-(i[0]-r[0])*o]),e.setLayout(a)}))}function graphSimpleLayout(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var o=e.getData(),r=[];each$f(n.dimensions,(function(e){r=r.concat(o.mapDimensionsAll(e))}));for(var i=0;i<o.count();i++){for(var a=[],l=!1,s=0;s<r.length;s++){var c=o.get(r[s],i);isNaN(c)||(l=!0),a.push(c)}l?o.setItemLayout(i,n.dataToPoint(a)):o.setItemLayout(i,[NaN,NaN])}simpleLayoutEdge(o.graph,e)}else t&&"none"!==t||simpleLayout(e)}))}function getNodeGlobalScale(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,o=t.scaleX;return((t.getZoom()-1)*n+1)/o}function getSymbolSize(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var PI$2=Math.PI,_symbolRadiansHalf=[];function circularLayout(e,t,n,o){var r=e.coordinateSystem;if(!r||"view"===r.type){var i=r.getBoundingRect(),a=e.getData(),l=a.graph,s=i.width/2+i.x,c=i.height/2+i.y,u=Math.min(i.width,i.height)/2,d=a.count();if(a.setLayout({cx:s,cy:c}),d){if(n){var p=r.pointToData(o),f=p[0],h=p[1],m=[f-s,h-c];normalize$3(m,m),scale$2(m,m,u),n.setLayout([s+m[0],c+m[1]],!0),rotateNodeLabel(n,e.get(["circular","rotateLabel"]),s,c)}_layoutNodesBasedOn[t](e,l,a,u,s,c,d),l.eachEdge((function(t,n){var o,r=retrieve3(t.getModel().get(["lineStyle","curveness"]),getCurvenessForEdge(t,e,n),0),i=clone$3(t.node1.getLayout()),a=clone$3(t.node2.getLayout()),l=(i[0]+a[0])/2,u=(i[1]+a[1])/2;+r&&(o=[s*(r*=3)+l*(1-r),c*r+u*(1-r)]),t.setLayout([i,a,o])}))}}}var _layoutNodesBasedOn={value:function(e,t,n,o,r,i,a){var l=0,s=n.getSum("value"),c=2*Math.PI/(s||a);t.eachNode((function(e){var t=e.getValue("value"),n=c*(s?t:1)/2;l+=n,e.setLayout([o*Math.cos(l)+r,o*Math.sin(l)+i]),l+=n}))},symbolSize:function(e,t,n,o,r,i,a){var l=0;_symbolRadiansHalf.length=a;var s=getNodeGlobalScale(e);t.eachNode((function(e){var t=getSymbolSize(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=s;var n=Math.asin(t/2/o);isNaN(n)&&(n=PI$2/2),_symbolRadiansHalf[e.dataIndex]=n,l+=2*n}));var c=(2*PI$2-l)/a/2,u=0;t.eachNode((function(e){var t=c+_symbolRadiansHalf[e.dataIndex];u+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([o*Math.cos(u)+r,o*Math.sin(u)+i]),u+=t}))}};function rotateNodeLabel(e,t,n,o){var r=e.getGraphicEl();if(r){var i=e.getModel().get(["label","rotate"])||0,a=r.getSymbolPath();if(t){var l=e.getLayout(),s=Math.atan2(l[1]-o,l[0]-n);s<0&&(s=2*Math.PI+s);var c=l[0]<n;c&&(s-=Math.PI);var u=c?"left":"right";a.setTextConfig({rotation:-s,position:u,origin:"center"});var d=a.ensureState("emphasis");extend$1(d.textConfig||(d.textConfig={}),{position:u})}else a.setTextConfig({rotation:i*=Math.PI/180})}}function graphCircularLayout(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&circularLayout(e,"symbolSize")}))}var scaleAndAdd=scaleAndAdd$1;function forceLayout(e,t,n){for(var o=e,r=t,i=n.rect,a=i.width,l=i.height,s=[i.x+a/2,i.y+l/2],c=null==n.gravity?.1:n.gravity,u=0;u<o.length;u++){var d=o[u];d.p||(d.p=create$2(a*(Math.random()-.5)+s[0],l*(Math.random()-.5)+s[1])),d.pp=clone$3(d.p),d.edges=null}var p,f,h=null==n.friction?.6:n.friction,m=h;return{warmUp:function(){m=.8*h},setFixed:function(e){o[e].fixed=!0},setUnfixed:function(e){o[e].fixed=!1},beforeStep:function(e){p=e},afterStep:function(e){f=e},step:function(e){p&&p(o,r);for(var t=[],n=o.length,i=0;i<r.length;i++){var a=r[i];if(!a.ignoreForceLayout){var l=a.n1;sub(t,(g=a.n2).p,l.p);var u=len(t)-a.d,d=g.w/(l.w+g.w);isNaN(d)&&(d=0),normalize$3(t,t),!l.fixed&&scaleAndAdd(l.p,l.p,t,d*u*m),!g.fixed&&scaleAndAdd(g.p,g.p,t,-(1-d)*u*m)}}for(i=0;i<n;i++){(b=o[i]).fixed||(sub(t,s,b.p),scaleAndAdd(b.p,b.p,t,c*m))}for(i=0;i<n;i++){l=o[i];for(var h=i+1;h<n;h++){var g;sub(t,(g=o[h]).p,l.p),0===(u=len(t))&&(set$1(t,Math.random()-.5,Math.random()-.5),u=1);var v=(l.rep+g.rep)/u/u;!l.fixed&&scaleAndAdd(l.pp,l.pp,t,v),!g.fixed&&scaleAndAdd(g.pp,g.pp,t,-v)}}var y=[];for(i=0;i<n;i++){var b;(b=o[i]).fixed||(sub(y,b.p,b.pp),scaleAndAdd(b.p,b.p,y,m),copy$1(b.pp,b.p))}var _=(m*=.992)<.01;f&&f(o,r,_),e&&e(_)}}}function graphForceLayout(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},o=e.getGraph(),r=o.data,i=o.edgeData,a=e.getModel("force"),l=a.get("initLayout");e.preservedPoints?r.each((function(e){var t=r.getId(e);r.setItemLayout(e,n[t]||[NaN,NaN])})):l&&"none"!==l?"circular"===l&&circularLayout(e,"value"):simpleLayout(e);var s=r.getDataExtent("value"),c=i.getDataExtent("value"),u=a.get("repulsion"),d=a.get("edgeLength"),p=isArray$2(u)?u:[u,u],f=isArray$2(d)?d:[d,d];f=[f[1],f[0]];var h=r.mapArray("value",(function(e,t){var n=r.getItemLayout(t),o=linearMap$2(e,s,p);return isNaN(o)&&(o=(p[0]+p[1])/2),{w:o,rep:o,fixed:r.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),m=i.mapArray("value",(function(t,n){var r=o.getEdgeByIndex(n),i=linearMap$2(t,c,f);isNaN(i)&&(i=(f[0]+f[1])/2);var a=r.getModel(),l=retrieve3(r.getModel().get(["lineStyle","curveness"]),-getCurvenessForEdge(r,e,n,!0),0);return{n1:h[r.node1.dataIndex],n2:h[r.node2.dataIndex],d:i,curveness:l,ignoreForceLayout:a.get("ignoreForceLayout")}})),g=t.getBoundingRect(),v=forceLayout(h,m,{rect:g,gravity:a.get("gravity"),friction:a.get("friction")});v.beforeStep((function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].fixed&©$1(e[n].p,o.getNodeByIndex(n).getLayout())})),v.afterStep((function(e,t,i){for(var a=0,l=e.length;a<l;a++)e[a].fixed||o.getNodeByIndex(a).setLayout(e[a].p),n[r.getId(a)]=e[a].p;for(a=0,l=t.length;a<l;a++){var s=t[a],c=o.getEdgeByIndex(a),u=s.n1.p,d=s.n2.p,p=c.getLayout();(p=p?p.slice():[])[0]=p[0]||[],p[1]=p[1]||[],copy$1(p[0],u),copy$1(p[1],d),+s.curveness&&(p[2]=[(u[0]+d[0])/2-(u[1]-d[1])*s.curveness,(u[1]+d[1])/2-(d[0]-u[0])*s.curveness]),c.setLayout(p)}})),e.forceLayout=v,e.preservedPoints=n,v.step()}else e.forceLayout=null}))}function getViewRect$3(e,t,n){return getLayoutRect(extend$1(e.getBoxLayoutParams(),{aspect:n}),{width:t.getWidth(),height:t.getHeight()})}function createViewCoordSys(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var o=e.get("coordinateSystem");if(!o||"view"===o){var r=e.getData(),i=[],a=[];fromPoints(r.mapArray((function(e){var t=r.getItemModel(e);return[+t.get("x"),+t.get("y")]})),i,a),a[0]-i[0]==0&&(a[0]+=1,i[0]-=1),a[1]-i[1]==0&&(a[1]+=1,i[1]-=1);var l=(a[0]-i[0])/(a[1]-i[1]),s=getViewRect$3(e,t,l);isNaN(l)&&(i=[s.x,s.y],a=[s.x+s.width,s.y+s.height]);var c=a[0]-i[0],u=a[1]-i[1],d=s.width,p=s.height,f=e.coordinateSystem=new View;f.zoomLimit=e.get("scaleLimit"),f.setBoundingRect(i[0],i[1],c,u),f.setViewRect(s.x,s.y,d,p),f.setCenter(e.get("center"),t),f.setZoom(e.get("zoom")),n.push(f)}})),n}var straightLineProto=Line$1.prototype,bezierCurveProto=BezierCurve.prototype,StraightLineShape=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}();function isStraightLine(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}__extends(t,e)}(StraightLineShape);var ECLinePath=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-line",n}return __extends(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new StraightLineShape},t.prototype.buildPath=function(e,t){isStraightLine(t)?straightLineProto.buildPath.call(this,e,t):bezierCurveProto.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return isStraightLine(this.shape)?straightLineProto.pointAt.call(this,e):bezierCurveProto.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,n=isStraightLine(t)?[t.x2-t.x1,t.y2-t.y1]:bezierCurveProto.tangentAt.call(this,e);return normalize$3(n,n)},t}(Path),SYMBOL_CATEGORIES=["fromSymbol","toSymbol"];function makeSymbolTypeKey(e){return"_"+e+"Type"}function makeSymbolTypeValue(e,t,n){var o=t.getItemVisual(n,e);if(!o||"none"===o)return o;var r=t.getItemVisual(n,e+"Size"),i=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),l=t.getItemVisual(n,e+"KeepAspect"),s=normalizeSymbolSize(r);return o+s+normalizeSymbolOffset(a||0,s)+(i||"")+(l||"")}function createSymbol(e,t,n){var o=t.getItemVisual(n,e);if(o&&"none"!==o){var r=t.getItemVisual(n,e+"Size"),i=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),l=t.getItemVisual(n,e+"KeepAspect"),s=normalizeSymbolSize(r),c=normalizeSymbolOffset(a||0,s),u=createSymbol$1(o,-s[0]/2+c[0],-s[1]/2+c[1],s[0],s[1],null,l);return u.__specifiedRotation=null==i||isNaN(i)?void 0:+i*Math.PI/180||0,u.name=e,u}}function createLine(e){var t=new ECLinePath({name:"line",subPixelOptimize:!0});return setLinePoints(t.shape,e),t}function setLinePoints(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 Line=function(e){function t(t,n,o){var r=e.call(this)||this;return r._createLine(t,n,o),r}return __extends(t,e),t.prototype._createLine=function(e,t,n){var o=e.hostModel,r=createLine(e.getItemLayout(t));r.shape.percent=0,initProps(r,{shape:{percent:1}},o,t),this.add(r),each$f(SYMBOL_CATEGORIES,(function(n){var o=createSymbol(n,e,t);this.add(o),this[makeSymbolTypeKey(n)]=makeSymbolTypeValue(n,e,t)}),this),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var o=e.hostModel,r=this.childOfName("line"),i=e.getItemLayout(t),a={shape:{}};setLinePoints(a.shape,i),updateProps$1(r,a,o,t),each$f(SYMBOL_CATEGORIES,(function(n){var o=makeSymbolTypeValue(n,e,t),r=makeSymbolTypeKey(n);if(this[r]!==o){this.remove(this.childOfName(n));var i=createSymbol(n,e,t);this.add(i)}this[r]=o}),this),this._updateCommonStl(e,t,n)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,n){var o=e.hostModel,r=this.childOfName("line"),i=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,l=n&&n.selectLineStyle,s=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,u=n&&n.focus,d=n&&n.blurScope;if(!n||e.hasItemOption){var p=e.getItemModel(t),f=p.getModel("emphasis");i=f.getModel("lineStyle").getLineStyle(),a=p.getModel(["blur","lineStyle"]).getLineStyle(),l=p.getModel(["select","lineStyle"]).getLineStyle(),c=f.get("disabled"),u=f.get("focus"),d=f.get("blurScope"),s=getLabelStatesModels(p)}var h=e.getItemVisual(t,"style"),m=h.stroke;r.useStyle(h),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=i,r.ensureState("blur").style=a,r.ensureState("select").style=l,each$f(SYMBOL_CATEGORIES,(function(e){var t=this.childOfName(e);if(t){t.setColor(m),t.style.opacity=h.opacity;for(var n=0;n<SPECIAL_STATES.length;n++){var o=SPECIAL_STATES[n],i=r.getState(o);if(i){var a=i.style||{},l=t.ensureState(o),s=l.style||(l.style={});null!=a.stroke&&(s[t.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(s.opacity=a.opacity)}}t.markRedraw()}}),this);var g=o.getRawValue(t);setLabelStyle(this,s,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return o.getFormattedLabel(t,n,e.dataType)}},inheritColor:m||"#000",defaultOpacity:h.opacity,defaultText:(null==g?e.getName(t):isFinite(g)?round$3(g):g)+""});var v=this.getTextContent();if(v){var y=s.normal;v.__align=v.style.align,v.__verticalAlign=v.style.verticalAlign,v.__position=y.get("position")||"middle";var b=y.get("distance");isArray$2(b)||(b=[b,b]),v.__labelDistance=b}this.setTextConfig({position:null,local:!0,inside:!1}),toggleHoverEmphasis(this,u,d,c)},t.prototype.highlight=function(){enterEmphasis(this)},t.prototype.downplay=function(){leaveEmphasis(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");setLinePoints(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),o=e.getTextContent();if(t||n||o&&!o.ignore){for(var r=1,i=this.parent;i;)i.scaleX&&(r/=i.scaleX),i=i.parent;var a=e.childOfName("line");if(this.__dirty||a.__dirty){var l=a.shape.percent,s=a.pointAt(0),c=a.pointAt(l),u=sub([],c,s);if(normalize$3(u,u),t&&(t.setPosition(s),x(t,0),t.scaleX=t.scaleY=r*l,t.markRedraw()),n&&(n.setPosition(c),x(n,1),n.scaleX=n.scaleY=r*l,n.markRedraw()),o&&!o.ignore){o.x=o.y=0,o.originX=o.originY=0;var d=void 0,p=void 0,f=o.__labelDistance,h=f[0]*r,m=f[1]*r,g=l/2,v=a.tangentAt(g),y=[v[1],-v[0]],b=a.pointAt(g);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]);var _=v[0]<0?-1:1;if("start"!==o.__position&&"end"!==o.__position){var w=-Math.atan2(v[1],v[0]);c[0]<s[0]&&(w=Math.PI+w),o.rotation=w}var k=void 0;switch(o.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":k=-m,p="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":k=m,p="top";break;default:k=0,p="middle"}switch(o.__position){case"end":o.x=u[0]*h+c[0],o.y=u[1]*m+c[1],d=u[0]>.8?"left":u[0]<-.8?"right":"center",p=u[1]>.8?"top":u[1]<-.8?"bottom":"middle";break;case"start":o.x=-u[0]*h+s[0],o.y=-u[1]*m+s[1],d=u[0]>.8?"right":u[0]<-.8?"left":"center",p=u[1]>.8?"bottom":u[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":o.x=h*_+s[0],o.y=s[1]+k,d=v[0]<0?"right":"left",o.originX=-h*_,o.originY=-k;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":o.x=b[0],o.y=b[1]+k,d="center",o.originY=-k;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":o.x=-h*_+c[0],o.y=c[1]+k,d=v[0]>=0?"right":"left",o.originX=h*_,o.originY=-k}o.scaleX=o.scaleY=r,o.setStyle({verticalAlign:o.__verticalAlign||p,align:o.__align||d})}}}function x(e,t){var n=e.__specifiedRotation;if(null==n){var o=a.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(o[1],o[0]))}else e.attr("rotation",n)}},t}(Group$3),LineDraw=function(){function e(e){this.group=new Group$3,this._LineCtor=e||Line}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,o=n.group,r=n._lineData;n._lineData=e,r||o.removeAll();var i=makeSeriesScope$1(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){o.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=makeSeriesScope$1(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||isEffectObject(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var o=e.start;o<e.end;o++){if(lineNeedsDraw(t.getItemLayout(o))){var r=new this._LineCtor(t,o,this._seriesScope);r.traverse(n),this.group.add(r),t.setItemGraphicEl(o,r),this._progressiveEls.push(r)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){traverseElements(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,n){if(lineNeedsDraw(e.getItemLayout(t))){var o=new this._LineCtor(e,t,n);e.setItemGraphicEl(t,o),this.group.add(o)}},e.prototype._doUpdate=function(e,t,n,o,r){var i=e.getItemGraphicEl(n);lineNeedsDraw(t.getItemLayout(o))?(i?i.updateData(t,o,r):i=new this._LineCtor(t,o,r),t.setItemGraphicEl(o,i),this.group.add(i)):this.group.remove(i)},e}();function isEffectObject(e){return e.animators&&e.animators.length>0}function makeSeriesScope$1(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:getLabelStatesModels(t)}}function isPointNaN(e){return isNaN(e[0])||isNaN(e[1])}function lineNeedsDraw(e){return e&&!isPointNaN(e[0])&&!isPointNaN(e[1])}var v1=[],v2=[],v3=[],quadraticAt=quadraticAt$1,v2DistSquare=distSquare,mathAbs=Math.abs;function intersectCurveCircle(e,t,n){for(var o,r=e[0],i=e[1],a=e[2],l=1/0,s=n*n,c=.1,u=.1;u<=.9;u+=.1){v1[0]=quadraticAt(r[0],i[0],a[0],u),v1[1]=quadraticAt(r[1],i[1],a[1],u),(f=mathAbs(v2DistSquare(v1,t)-s))<l&&(l=f,o=u)}for(var d=0;d<32;d++){var p=o+c;v2[0]=quadraticAt(r[0],i[0],a[0],o),v2[1]=quadraticAt(r[1],i[1],a[1],o),v3[0]=quadraticAt(r[0],i[0],a[0],p),v3[1]=quadraticAt(r[1],i[1],a[1],p);var f=v2DistSquare(v2,t)-s;if(mathAbs(f)<.01)break;var h=v2DistSquare(v3,t)-s;c/=2,f<0?h>=0?o+=c:o-=c:h>=0?o-=c:o+=c}return o}function adjustEdge(e,t){var n=[],o=quadraticSubdivide,r=[[],[],[]],i=[[],[]],a=[];t/=2,e.eachEdge((function(e,l){var s=e.getLayout(),c=e.getVisual("fromSymbol"),u=e.getVisual("toSymbol");s.__original||(s.__original=[clone$3(s[0]),clone$3(s[1])],s[2]&&s.__original.push(clone$3(s[2])));var d=s.__original;if(null!=s[2]){if(copy$1(r[0],d[0]),copy$1(r[1],d[2]),copy$1(r[2],d[1]),c&&"none"!==c){var p=getSymbolSize(e.node1),f=intersectCurveCircle(r,d[0],p*t);o(r[0][0],r[1][0],r[2][0],f,n),r[0][0]=n[3],r[1][0]=n[4],o(r[0][1],r[1][1],r[2][1],f,n),r[0][1]=n[3],r[1][1]=n[4]}if(u&&"none"!==u){p=getSymbolSize(e.node2),f=intersectCurveCircle(r,d[1],p*t);o(r[0][0],r[1][0],r[2][0],f,n),r[1][0]=n[1],r[2][0]=n[2],o(r[0][1],r[1][1],r[2][1],f,n),r[1][1]=n[1],r[2][1]=n[2]}copy$1(s[0],r[0]),copy$1(s[1],r[2]),copy$1(s[2],r[1])}else{if(copy$1(i[0],d[0]),copy$1(i[1],d[1]),sub(a,i[1],i[0]),normalize$3(a,a),c&&"none"!==c){p=getSymbolSize(e.node1);scaleAndAdd$1(i[0],i[0],a,p*t)}if(u&&"none"!==u){p=getSymbolSize(e.node2);scaleAndAdd$1(i[1],i[1],a,-p*t)}copy$1(s[0],i[0]),copy$1(s[1],i[1])}}))}function isViewCoordSys(e){return"view"===e.type}var GraphView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(e,t){var n=new SymbolDraw,o=new LineDraw,r=this.group;this._controller=new RoamController(t.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(o.group),this._symbolDraw=n,this._lineDraw=o,this._firstRender=!0},t.prototype.render=function(e,t,n){var o=this,r=e.coordinateSystem;this._model=e;var i=this._symbolDraw,a=this._lineDraw,l=this.group;if(isViewCoordSys(r)){var s={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?l.attr(s):updateProps$1(l,s,e)}adjustEdge(e.getGraph(),getNodeGlobalScale(e));var c=e.getData();i.updateData(c);var u=e.getEdgeData();a.updateData(u),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var d=e.forceLayout,p=e.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,p);var f=e.get("layout");c.graph.eachNode((function(t){var n=t.dataIndex,r=t.getGraphicEl(),i=t.getModel();if(r){r.off("drag").off("dragend");var a=i.get("draggable");a&&r.on("drag",(function(i){switch(f){case"force":d.warmUp(),!o._layouting&&o._startForceLayoutIteration(d,p),d.setFixed(n),c.setItemLayout(n,[r.x,r.y]);break;case"circular":c.setItemLayout(n,[r.x,r.y]),t.setLayout({fixed:!0},!0),circularLayout(e,"symbolSize",t,[i.offsetX,i.offsetY]),o.updateLayout(e);break;default:c.setItemLayout(n,[r.x,r.y]),simpleLayoutEdge(e.getGraph(),e),o.updateLayout(e)}})).on("dragend",(function(){d&&d.setUnfixed(n)})),r.setDraggable(a,!!i.get("cursor")),"adjacency"===i.get(["emphasis","focus"])&&(getECData(r).focus=t.getAdjacentDataIndices())}})),c.graph.eachEdge((function(e){var t=e.getGraphicEl(),n=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===n&&(getECData(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})}));var h="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),m=c.getLayout("cx"),g=c.getLayout("cy");c.graph.eachNode((function(e){rotateNodeLabel(e,h,m,g)})),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,t){var n=this;!function o(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(o,16):o())}))}()},t.prototype._updateController=function(e,t,n){var o=this,r=this._controller,i=this._controllerHost,a=this.group;r.setPointerChecker((function(t,o,r){var i=a.getBoundingRect();return i.applyTransform(a.transform),i.contain(o,r)&&!onIrrelevantElement(t,n,e)})),isViewCoordSys(e.coordinateSystem)?(r.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(t){updateViewOnPan(i,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){updateViewOnZoom(i,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),o._updateNodeAndLinkScale(),adjustEdge(e.getGraph(),getNodeGlobalScale(e)),o._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=getNodeGlobalScale(e);t.eachItemGraphicEl((function(e,t){e&&e.setSymbolScale(n)}))},t.prototype.updateLayout=function(e){adjustEdge(e.getGraph(),getNodeGlobalScale(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(ChartView);function generateNodeKey(e){return"_EC_"+e}var Graph=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[generateNodeKey(e)]){var o=new GraphNode(e,t);return o.hostGraph=this,this.nodes.push(o),n[generateNodeKey(e)]=o,o}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[generateNodeKey(e)]},e.prototype.addEdge=function(e,t,n){var o=this._nodesMap,r=this._edgesMap;if(isNumber$2(e)&&(e=this.nodes[e]),isNumber$2(t)&&(t=this.nodes[t]),e instanceof GraphNode||(e=o[generateNodeKey(e)]),t instanceof GraphNode||(t=o[generateNodeKey(t)]),e&&t){var i=e.id+"-"+t.id,a=new GraphEdge(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),r[i]=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 GraphNode&&(e=e.id),t instanceof GraphNode&&(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,o=n.length,r=0;r<o;r++)n[r].dataIndex>=0&&e.call(t,n[r],r)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,o=n.length,r=0;r<o;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&e.call(t,n[r],r)},e.prototype.breadthFirstTraverse=function(e,t,n,o){if(t instanceof GraphNode||(t=this._nodesMap[generateNodeKey(t)]),t){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",i=0;i<this.nodes.length;i++)this.nodes[i].__visited=!1;if(!e.call(o,t,null))for(var a=[t];a.length;){var l=a.shift(),s=l[r];for(i=0;i<s.length;i++){var c=s[i],u=c.node1===l?c.node2:c.node1;if(!u.__visited){if(e.call(o,u,l))return;a.push(u),u.__visited=!0}}}}},e.prototype.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,o=this.edges,r=0,i=n.length;r<i;r++)n[r].dataIndex=-1;for(r=0,i=e.count();r<i;r++)n[e.getRawIndex(r)].dataIndex=r;t.filterSelf((function(e){var n=o[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,i=o.length;r<i;r++)o[r].dataIndex=-1;for(r=0,i=t.count();r<i;r++)o[t.getRawIndex(r)].dataIndex=r},e.prototype.clone=function(){for(var t=new e(this._directed),n=this.nodes,o=this.edges,r=0;r<n.length;r++)t.addNode(n[r].id,n[r].dataIndex);for(r=0;r<o.length;r++){var i=o[r];t.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return t},e}(),GraphNode=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.prototype.getTrajectoryDataIndices=function(){for(var e=createHashMap(),t=createHashMap(),n=0;n<this.edges.length;n++){var o=this.edges[n];if(!(o.dataIndex<0)){e.set(o.dataIndex,!0);for(var r=[o.node1],i=[o.node2],a=0;a<r.length;){var l=r[a];a++,t.set(l.dataIndex,!0);for(var s=0;s<l.inEdges.length;s++)e.set(l.inEdges[s].dataIndex,!0),r.push(l.inEdges[s].node1)}for(a=0;a<i.length;){var c=i[a];a++,t.set(c.dataIndex,!0);for(s=0;s<c.outEdges.length;s++)e.set(c.outEdges[s].dataIndex,!0),i.push(c.outEdges[s].node2)}}}return{edge:e.keys(),node:t.keys()}},e}(),GraphEdge=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.prototype.getTrajectoryDataIndices=function(){var e=createHashMap(),t=createHashMap();e.set(this.dataIndex,!0);for(var n=[this.node1],o=[this.node2],r=0;r<n.length;){var i=n[r];r++,t.set(i.dataIndex,!0);for(var a=0;a<i.inEdges.length;a++)e.set(i.inEdges[a].dataIndex,!0),n.push(i.inEdges[a].node1)}for(r=0;r<o.length;){var l=o[r];r++,t.set(l.dataIndex,!0);for(a=0;a<l.outEdges.length;a++)e.set(l.outEdges[a].dataIndex,!0),o.push(l.outEdges[a].node2)}return{edge:e.keys(),node:t.keys()}},e}();function createGraphDataProxyMixin(e,t){return{getValue:function(n){var o=this[e][t];return o.getStore().get(o.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,o){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,o)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,o){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,o)},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)}}}function createGraphFromNodeEdge(e,t,n,o,r){for(var i=new Graph(o),a=0;a<e.length;a++)i.addNode(retrieve(e[a].id,e[a].name,a),a);var l=[],s=[],c=0;for(a=0;a<t.length;a++){var u=t[a],d=u.source,p=u.target;i.addEdge(d,p,c)&&(s.push(u),l.push(retrieve(convertOptionIdName(u.id,null),d+" > "+p)),c++)}var f,h=n.get("coordinateSystem");if("cartesian2d"===h||"polar"===h)f=createSeriesData(e,n);else{var m=CoordinateSystemManager.get(h),g=m&&m.dimensions||[];indexOf(g,"value")<0&&g.concat(["value"]);var v=prepareSeriesDataSchema(e,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;(f=new SeriesData(v,n)).initData(e)}var y=new SeriesData(["value"],n);return y.initData(s,l),r&&r(f,y),linkSeriesData({mainData:f,struct:i,structAttr:"graph",datas:{node:f,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}mixin(GraphNode,createGraphDataProxyMixin("hostGraph","data")),mixin(GraphEdge,createGraphDataProxyMixin("hostGraph","edgeData"));var GraphSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return __extends(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var n=this;function o(){return n._categoriesData}this.legendVisualProvider=new LegendVisualProvider(o,o),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),defaultEmphasis(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var n=e.edges||e.links||[],o=e.data||e.nodes||[],r=this;if(o&&n){initCurvenessList(this);var i=createGraphFromNodeEdge(o,n,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e){var t=r._categoriesModels[e.getShallow("category")];return t&&(t.parentModel=e.parentModel,e.parentModel=t),e}));var n=Model.prototype.getModel;function o(e,t){var o=n.call(this,e,t);return o.resolveParentPath=i,o}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=o,e}))}));return each$f(i.edges,(function(e){createEdgeMapForCurveness(e.node1,e.node2,this,e.dataIndex)}),this),i.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 o=this.getData(),r=this.getDataParams(e,n),i=o.graph.getEdgeByIndex(e),a=o.getName(i.node1.dataIndex),l=o.getName(i.node2.dataIndex),s=[];return null!=a&&s.push(a),null!=l&&s.push(l),createTooltipMarkup("nameValue",{name:s.join(" > "),value:r.value,noValue:null==r.value})}return defaultSeriesFormatTooltip({series:this,dataIndex:e,multipleSeries:t})},t.prototype._updateCategoriesData=function(){var e=map$1(this.option.categories||[],(function(e){return null!=e.value?e:extend$1({value:0},e)})),t=new SeriesData(["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}(SeriesModel),actionInfo$1={type:"graphRoam",event:"graphRoam",update:"none"};function install$G(e){e.registerChartView(GraphView),e.registerSeriesModel(GraphSeriesModel),e.registerProcessor(categoryFilter),e.registerVisual(categoryVisual),e.registerVisual(graphEdgeVisual),e.registerLayout(graphSimpleLayout),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),e.registerLayout(graphForceLayout),e.registerCoordinateSystem("graphView",{dimensions:View.dimensions,create:createViewCoordSys}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},noop$2),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},noop$2),e.registerAction(actionInfo$1,(function(e,t,n){t.eachComponent({mainType:"series",query:e},(function(t){var o=updateCenterAndZoom(t.coordinateSystem,e,void 0,n);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom)}))}))}var PointerShape=function(){return function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}}(),PointerPath=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return __extends(t,e),t.prototype.getDefaultShape=function(){return new PointerShape},t.prototype.buildPath=function(e,t){var n=Math.cos,o=Math.sin,r=t.r,i=t.width,a=t.angle,l=t.x-n(a)*i*(i>=r/3?1:2),s=t.y-o(a)*i*(i>=r/3?1:2);a=t.angle-Math.PI/2,e.moveTo(l,s),e.lineTo(t.x+n(a)*i,t.y+o(a)*i),e.lineTo(t.x+n(t.angle)*r,t.y+o(t.angle)*r),e.lineTo(t.x-n(a)*i,t.y-o(a)*i),e.lineTo(l,s)},t}(Path);function parsePosition(e,t){var n=e.get("center"),o=t.getWidth(),r=t.getHeight(),i=Math.min(o,r);return{cx:parsePercent(n[0],t.getWidth()),cy:parsePercent(n[1],t.getHeight()),r:parsePercent(e.get("radius"),i/2)}}function formatLabel(e,t){var n=null==e?"":e+"";return t&&(isString$2(t)?n=t.replace("{value}",n):isFunction$2(t)&&(n=t(e))),n}var GaugeView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var o=e.get(["axisLine","lineStyle","color"]),r=parsePosition(e,n);this._renderMain(e,t,n,o,r),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,o,r){var i=this.group,a=e.get("clockwise"),l=-e.get("startAngle")/180*Math.PI,s=-e.get("endAngle")/180*Math.PI,c=e.getModel("axisLine"),u=c.get("roundCap")?SausagePath:Sector,d=c.get("show"),p=c.getModel("lineStyle"),f=p.get("width"),h=[l,s];normalizeArcAngles(h,!a);for(var m=(s=h[1])-(l=h[0]),g=l,v=[],y=0;d&&y<o.length;y++){var b=new u({shape:{startAngle:g,endAngle:s=l+m*Math.min(Math.max(o[y][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-f,r:r.r},silent:!0});b.setStyle({fill:o[y][1]}),b.setStyle(p.getLineStyle(["color","width"])),v.push(b),g=s}v.reverse(),each$f(v,(function(e){return i.add(e)}));var _=function(e){if(e<=0)return o[0][1];var t;for(t=0;t<o.length;t++)if(o[t][0]>=e&&(0===t?0:o[t-1][0])<e)return o[t][1];return o[t-1][1]};this._renderTicks(e,t,n,_,r,l,s,a,f),this._renderTitleAndDetail(e,t,n,_,r),this._renderAnchor(e,r),this._renderPointer(e,t,n,_,r,l,s,a,f)},t.prototype._renderTicks=function(e,t,n,o,r,i,a,l,s){for(var c,u,d=this.group,p=r.cx,f=r.cy,h=r.r,m=+e.get("min"),g=+e.get("max"),v=e.getModel("splitLine"),y=e.getModel("axisTick"),b=e.getModel("axisLabel"),_=e.get("splitNumber"),w=y.get("splitNumber"),k=parsePercent(v.get("length"),h),x=parsePercent(y.get("length"),h),S=i,C=(a-i)/_,E=C/w,T=v.getModel("lineStyle").getLineStyle(),A=y.getModel("lineStyle").getLineStyle(),$=v.get("distance"),I=0;I<=_;I++){if(c=Math.cos(S),u=Math.sin(S),v.get("show")){var M=new Line$1({shape:{x1:c*(h-(P=$?$+s:s))+p,y1:u*(h-P)+f,x2:c*(h-k-P)+p,y2:u*(h-k-P)+f},style:T,silent:!0});"auto"===T.stroke&&M.setStyle({stroke:o(I/_)}),d.add(M)}if(b.get("show")){var P=b.get("distance")+$,N=formatLabel(round$3(I/_*(g-m)+m),b.get("formatter")),O=o(I/_),R=c*(h-k-P)+p,D=u*(h-k-P)+f,L=b.get("rotate"),B=0;"radial"===L?(B=-S+2*Math.PI)>Math.PI/2&&(B+=Math.PI):"tangential"===L?B=-S-Math.PI/2:isNumber$2(L)&&(B=L*Math.PI/180),0===B?d.add(new ZRText({style:createTextStyle(b,{text:N,x:R,y:D,verticalAlign:u<-.8?"top":u>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:O}),silent:!0})):d.add(new ZRText({style:createTextStyle(b,{text:N,x:R,y:D,verticalAlign:"middle",align:"center"},{inheritColor:O}),silent:!0,originX:R,originY:D,rotation:B}))}if(y.get("show")&&I!==_){P=(P=y.get("distance"))?P+s:s;for(var V=0;V<=w;V++){c=Math.cos(S),u=Math.sin(S);var z=new Line$1({shape:{x1:c*(h-P)+p,y1:u*(h-P)+f,x2:c*(h-x-P)+p,y2:u*(h-x-P)+f},silent:!0,style:A});"auto"===A.stroke&&z.setStyle({stroke:o((I+V/w)/_)}),d.add(z),S+=E}S-=E}else S+=C}},t.prototype._renderPointer=function(e,t,n,o,r,i,a,l,s){var c=this.group,u=this._data,d=this._progressEls,p=[],f=e.get(["pointer","show"]),h=e.getModel("progress"),m=h.get("show"),g=e.getData(),v=g.mapDimension("value"),y=+e.get("min"),b=+e.get("max"),_=[y,b],w=[i,a];function k(t,n){var o,i=g.getItemModel(t).getModel("pointer"),a=parsePercent(i.get("width"),r.r),l=parsePercent(i.get("length"),r.r),s=e.get(["pointer","icon"]),c=i.get("offsetCenter"),u=parsePercent(c[0],r.r),d=parsePercent(c[1],r.r),p=i.get("keepAspect");return(o=s?createSymbol$1(s,u-a/2,d-l,a,l,null,p):new PointerPath({shape:{angle:-Math.PI/2,width:a,r:l,x:u,y:d}})).rotation=-(n+Math.PI/2),o.x=r.cx,o.y=r.cy,o}function x(e,t){var n=h.get("roundCap")?SausagePath:Sector,o=h.get("overlap"),a=o?h.get("width"):s/g.count(),c=o?r.r-a:r.r-(e+1)*a,u=o?r.r:r.r-e*a,d=new n({shape:{startAngle:i,endAngle:t,cx:r.cx,cy:r.cy,clockwise:l,r0:c,r:u}});return o&&(d.z2=linearMap$2(g.get(v,e),[y,b],[100,0],!0)),d}(m||f)&&(g.diff(u).add((function(t){var n=g.get(v,t);if(f){var o=k(t,i);initProps(o,{rotation:-((isNaN(+n)?w[0]:linearMap$2(n,_,w,!0))+Math.PI/2)},e),c.add(o),g.setItemGraphicEl(t,o)}if(m){var r=x(t,i),a=h.get("clip");initProps(r,{shape:{endAngle:linearMap$2(n,_,w,a)}},e),c.add(r),setCommonECData(e.seriesIndex,g.dataType,t,r),p[t]=r}})).update((function(t,n){var o=g.get(v,t);if(f){var r=u.getItemGraphicEl(n),a=r?r.rotation:i,l=k(t,a);l.rotation=a,updateProps$1(l,{rotation:-((isNaN(+o)?w[0]:linearMap$2(o,_,w,!0))+Math.PI/2)},e),c.add(l),g.setItemGraphicEl(t,l)}if(m){var s=d[n],y=x(t,s?s.shape.endAngle:i),b=h.get("clip");updateProps$1(y,{shape:{endAngle:linearMap$2(o,_,w,b)}},e),c.add(y),setCommonECData(e.seriesIndex,g.dataType,t,y),p[t]=y}})).execute(),g.each((function(e){var t=g.getItemModel(e),n=t.getModel("emphasis"),r=n.get("focus"),i=n.get("blurScope"),a=n.get("disabled");if(f){var l=g.getItemGraphicEl(e),s=g.getItemVisual(e,"style"),c=s.fill;if(l instanceof ZRImage){var u=l.style;l.useStyle(extend$1({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},s))}else l.useStyle(s),"pointer"!==l.type&&l.setColor(c);l.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===l.style.fill&&l.setStyle("fill",o(linearMap$2(g.get(v,e),_,[0,1],!0))),l.z2EmphasisLift=0,setStatesStylesFromModel(l,t),toggleHoverEmphasis(l,r,i,a)}if(m){var d=p[e];d.useStyle(g.getItemVisual(e,"style")),d.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,setStatesStylesFromModel(d,t),toggleHoverEmphasis(d,r,i,a)}})),this._progressEls=p)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor");if(n.get("show")){var o=n.get("size"),r=n.get("icon"),i=n.get("offsetCenter"),a=n.get("keepAspect"),l=createSymbol$1(r,t.cx-o/2+parsePercent(i[0],t.r),t.cy-o/2+parsePercent(i[1],t.r),o,o,null,a);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},t.prototype._renderTitleAndDetail=function(e,t,n,o,r){var i=this,a=e.getData(),l=a.mapDimension("value"),s=+e.get("min"),c=+e.get("max"),u=new Group$3,d=[],p=[],f=e.isAnimationEnabled(),h=e.get(["pointer","showAbove"]);a.diff(this._data).add((function(e){d[e]=new ZRText({silent:!0}),p[e]=new ZRText({silent:!0})})).update((function(e,t){d[e]=i._titleEls[t],p[e]=i._detailEls[t]})).execute(),a.each((function(t){var n=a.getItemModel(t),i=a.get(l,t),m=new Group$3,g=o(linearMap$2(i,[s,c],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),b=r.cx+parsePercent(y[0],r.r),_=r.cy+parsePercent(y[1],r.r);(A=d[t]).attr({z2:h?0:2,style:createTextStyle(v,{x:b,y:_,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:g})}),m.add(A)}var w=n.getModel("detail");if(w.get("show")){var k=w.get("offsetCenter"),x=r.cx+parsePercent(k[0],r.r),S=r.cy+parsePercent(k[1],r.r),C=parsePercent(w.get("width"),r.r),E=parsePercent(w.get("height"),r.r),T=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:g,A=p[t],$=w.get("formatter");A.attr({z2:h?0:2,style:createTextStyle(w,{x:x,y:S,text:formatLabel(i,$),width:isNaN(C)?null:C,height:isNaN(E)?null:E,align:"center",verticalAlign:"middle"},{inheritColor:T})}),setLabelValueAnimation(A,{normal:w},i,(function(e){return formatLabel(e,$)})),f&&animateLabelValue(A,t,a,e,{getFormattedLabel:function(e,t,n,o,r,a){return formatLabel(a?a.interpolatedValue:i,$)}}),m.add(A)}u.add(m)})),this.group.add(u),this._titleEls=d,this._detailEls=p},t.type="gauge",t}(ChartView),GaugeSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return __extends(t,e),t.prototype.getInitialData=function(e,t){return createSeriesDataSimply(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}(SeriesModel);function install$F(e){e.registerChartView(GaugeView),e.registerSeriesModel(GaugeSeriesModel)}var opacityAccessPath$1=["itemStyle","opacity"],FunnelPiece=function(e){function t(t,n){var o=e.call(this)||this,r=o,i=new Polyline$1,a=new ZRText;return r.setTextContent(a),o.setTextGuideLine(i),o.updateData(t,n,!0),o}return __extends(t,e),t.prototype.updateData=function(e,t,n){var o=this,r=e.hostModel,i=e.getItemModel(t),a=e.getItemLayout(t),l=i.getModel("emphasis"),s=i.get(opacityAccessPath$1);s=null==s?1:s,n||saveOldStyle(o),o.useStyle(e.getItemVisual(t,"style")),o.style.lineJoin="round",n?(o.setShape({points:a.points}),o.style.opacity=0,initProps(o,{style:{opacity:s}},r,t)):updateProps$1(o,{style:{opacity:s},shape:{points:a.points}},r,t),setStatesStylesFromModel(o,i),this._updateLabel(e,t),toggleHoverEmphasis(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))},t.prototype._updateLabel=function(e,t){var n=this,o=this.getTextGuideLine(),r=n.getTextContent(),i=e.hostModel,a=e.getItemModel(t),l=e.getItemLayout(t).label,s=e.getItemVisual(t,"style"),c=s.fill;setLabelStyle(r,getLabelStatesModels(a),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:s.opacity,defaultText:e.getName(t)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:c,outsideFill:c});var u=l.linePoints;o.setShape({points:u}),n.textGuideLineConfig={anchor:u?new Point(u[0][0],u[0][1]):null},updateProps$1(r,{style:{x:l.x,y:l.y}},i,t),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),setLabelLineStyle(n,getLabelLineStatesModels(a),{stroke:c})},t}(Polygon),FunnelView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=e.getData(),r=this._data,i=this.group;o.diff(r).add((function(e){var t=new FunnelPiece(o,e);o.setItemGraphicEl(e,t),i.add(t)})).update((function(e,t){var n=r.getItemGraphicEl(t);n.updateData(o,e),i.add(n),o.setItemGraphicEl(e,n)})).remove((function(t){removeElementWithFadeOut(r.getItemGraphicEl(t),e,t)})).execute(),this._data=o},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(ChartView),FunnelSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$2(this.getData,this),bind$2(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},t.prototype._defaultLabelLine=function(e){defaultEmphasis(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(),o=e.prototype.getDataParams.call(this,t),r=n.mapDimension("value"),i=n.getSum(r);return o.percent=i?+(n.get(r,t)/i*100).toFixed(2):0,o.$vars.push("percent"),o},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}(SeriesModel);function getViewRect$2(e,t){return getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function getSortedIndices(e,t){for(var n=e.mapDimension("value"),o=e.mapArray(n,(function(e){return e})),r=[],i="ascending"===t,a=0,l=e.count();a<l;a++)r[a]=a;return isFunction$2(t)?r.sort(t):"none"!==t&&r.sort((function(e,t){return i?o[e]-o[t]:o[t]-o[e]})),r}function labelLayout(e){var t=e.hostModel.get("orient");e.each((function(n){var o,r,i,a,l=e.getItemModel(n),s=l.getModel("label").get("position"),c=l.getModel("labelLine"),u=e.getItemLayout(n),d=u.points,p="inner"===s||"inside"===s||"center"===s||"insideLeft"===s||"insideRight"===s;if(p)"insideLeft"===s?(r=(d[0][0]+d[3][0])/2+5,i=(d[0][1]+d[3][1])/2,o="left"):"insideRight"===s?(r=(d[1][0]+d[2][0])/2-5,i=(d[1][1]+d[2][1])/2,o="right"):(r=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,i=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,o="center"),a=[[r,i],[r,i]];else{var f=void 0,h=void 0,m=void 0,g=void 0,v=c.get("length");"left"===s?(f=(d[3][0]+d[0][0])/2,h=(d[3][1]+d[0][1])/2,r=(m=f-v)-5,o="right"):"right"===s?(f=(d[1][0]+d[2][0])/2,h=(d[1][1]+d[2][1])/2,r=(m=f+v)+5,o="left"):"top"===s?(f=(d[3][0]+d[0][0])/2,i=(g=(h=(d[3][1]+d[0][1])/2)-v)-5,o="center"):"bottom"===s?(f=(d[1][0]+d[2][0])/2,i=(g=(h=(d[1][1]+d[2][1])/2)+v)+5,o="center"):"rightTop"===s?(f="horizontal"===t?d[3][0]:d[1][0],h="horizontal"===t?d[3][1]:d[1][1],"horizontal"===t?(i=(g=h-v)-5,o="center"):(r=(m=f+v)+5,o="top")):"rightBottom"===s?(f=d[2][0],h=d[2][1],"horizontal"===t?(i=(g=h+v)+5,o="center"):(r=(m=f+v)+5,o="bottom")):"leftTop"===s?(f=d[0][0],h="horizontal"===t?d[0][1]:d[1][1],"horizontal"===t?(i=(g=h-v)-5,o="center"):(r=(m=f-v)-5,o="right")):"leftBottom"===s?(f="horizontal"===t?d[1][0]:d[3][0],h="horizontal"===t?d[1][1]:d[2][1],"horizontal"===t?(i=(g=h+v)+5,o="center"):(r=(m=f-v)-5,o="right")):(f=(d[1][0]+d[2][0])/2,h=(d[1][1]+d[2][1])/2,"horizontal"===t?(i=(g=h+v)+5,o="center"):(r=(m=f+v)+5,o="left")),"horizontal"===t?r=m=f:i=g=h,a=[[f,h],[m,g]]}u.label={linePoints:a,x:r,y:i,verticalAlign:"middle",textAlign:o,inside:p}}))}function funnelLayout(e,t){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),o=n.mapDimension("value"),r=e.get("sort"),i=getViewRect$2(e,t),a=e.get("orient"),l=i.width,s=i.height,c=getSortedIndices(n,r),u=i.x,d=i.y,p="horizontal"===a?[parsePercent(e.get("minSize"),s),parsePercent(e.get("maxSize"),s)]:[parsePercent(e.get("minSize"),l),parsePercent(e.get("maxSize"),l)],f=n.getDataExtent(o),h=e.get("min"),m=e.get("max");null==h&&(h=Math.min(f[0],0)),null==m&&(m=f[1]);var g=e.get("funnelAlign"),v=e.get("gap"),y=(("horizontal"===a?l:s)-v*(n.count()-1))/n.count(),b=function(e,t){if("horizontal"===a){var r=linearMap$2(n.get(o,e)||0,[h,m],p,!0),i=void 0;switch(g){case"top":i=d;break;case"center":i=d+(s-r)/2;break;case"bottom":i=d+(s-r)}return[[t,i],[t,i+r]]}var c,f=linearMap$2(n.get(o,e)||0,[h,m],p,!0);switch(g){case"left":c=u;break;case"center":c=u+(l-f)/2;break;case"right":c=u+l-f}return[[c,t],[c+f,t]]};"ascending"===r&&(y=-y,v=-v,"horizontal"===a?u+=l:d+=s,c=c.reverse());for(var _=0;_<c.length;_++){var w=c[_],k=c[_+1],x=n.getItemModel(w);if("horizontal"===a){var S=x.get(["itemStyle","width"]);null==S?S=y:(S=parsePercent(S,l),"ascending"===r&&(S=-S));var C=b(w,u),E=b(k,u+S);u+=S+v,n.setItemLayout(w,{points:C.concat(E.slice().reverse())})}else{var T=x.get(["itemStyle","height"]);null==T?T=y:(T=parsePercent(T,s),"ascending"===r&&(T=-T));C=b(w,d),E=b(k,d+T);d+=T+v,n.setItemLayout(w,{points:C.concat(E.slice().reverse())})}}labelLayout(n)}))}function install$E(e){e.registerChartView(FunnelView),e.registerSeriesModel(FunnelSeriesModel),e.registerLayout(funnelLayout),e.registerProcessor(dataFilter$1("funnel"))}var DEFAULT_SMOOTH=.3,ParallelView$1=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new Group$3,n._initialized=!1,n}return __extends(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,n,o){this._progressiveEls=null;var r=this._dataGroup,i=e.getData(),a=this._data,l=e.coordinateSystem,s=l.dimensions,c=makeSeriesScope(e);if(i.diff(a).add((function(e){updateElCommon(addEl(i,r,e,s,l),i,e,c)})).update((function(t,n){var o=a.getItemGraphicEl(n),r=createLinePoints(i,t,s,l);i.setItemGraphicEl(t,o),updateProps$1(o,{shape:{points:r}},e,t),saveOldStyle(o),updateElCommon(o,i,t,c)})).remove((function(e){var t=a.getItemGraphicEl(e);r.remove(t)})).execute(),!this._initialized){this._initialized=!0;var u=createGridClipShape$2(l,e,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(u)}this._data=i},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 o=t.getData(),r=t.coordinateSystem,i=r.dimensions,a=makeSeriesScope(t),l=this._progressiveEls=[],s=e.start;s<e.end;s++){var c=addEl(o,this._dataGroup,s,i,r);c.incremental=!0,updateElCommon(c,o,s,a),l.push(c)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(ChartView);function createGridClipShape$2(e,t,n){var o=e.model,r=e.getRect(),i=new Rect$2({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===o.get("layout")?"width":"height";return i.setShape(a,0),initProps(i,{shape:{width:r.width,height:r.height}},t,n),i}function createLinePoints(e,t,n,o){for(var r=[],i=0;i<n.length;i++){var a=n[i],l=e.get(e.mapDimension(a),t);isEmptyValue$1(l,o.getAxis(a).type)||r.push(o.dataToPoint(l,a))}return r}function addEl(e,t,n,o,r){var i=createLinePoints(e,n,o,r),a=new Polyline$1({shape:{points:i},z2:10});return t.add(a),e.setItemGraphicEl(n,a),a}function makeSeriesScope(e){var t=e.get("smooth",!0);return!0===t&&(t=DEFAULT_SMOOTH),eqNaN(t=numericToNumber(t))&&(t=0),{smooth:t}}function updateElCommon(e,t,n,o){e.useStyle(t.getItemVisual(n,"style")),e.style.fill=null,e.setShape("smooth",o.smooth);var r=t.getItemModel(n),i=r.getModel("emphasis");setStatesStylesFromModel(e,r,"lineStyle"),toggleHoverEmphasis(e,i.get("focus"),i.get("blurScope"),i.get("disabled"))}function isEmptyValue$1(e,t){return"category"===t?null==e:null==e||isNaN(e)}var ParallelSeriesModel=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 __extends(t,e),t.prototype.getInitialData=function(e,t){return createSeriesData(null,this,{useEncodeDefaulter:bind$2(makeDefaultEncode,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,n=this.getData(),o=[];return t.eachActiveState(n,(function(t,r){e===t&&o.push(n.getRawIndex(r))})),o},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}(SeriesModel);function makeDefaultEncode(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return each$f(t.dimensions,(function(e){var t=convertDimNameToNumber(e);n[e]=t})),n}}function convertDimNameToNumber(e){return+e.replace("dim","")}var opacityAccessPath=["lineStyle","opacity"],parallelVisual={seriesType:"parallel",reset:function(e,t){var n=e.coordinateSystem,o={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 r=o[e];if("normal"===e&&t.hasItemOption){var i=t.getItemModel(n).get(opacityAccessPath,!0);null!=i&&(r=i)}t.ensureUniqueItemVisual(n,"style").opacity=r}),e.start,e.end)}}}};function parallelPreprocessor(e){createParallelIfNeeded(e),mergeAxisOptionFromParallel(e)}function createParallelIfNeeded(e){if(!e.parallel){var t=!1;each$f(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function mergeAxisOptionFromParallel(e){each$f(normalizeToArray(e.parallelAxis),(function(t){if(isObject$4(t)){var n=t.parallelIndex||0,o=normalizeToArray(e.parallel)[n];o&&o.parallelAxisDefault&&merge$1(t,o.parallelAxisDefault,!1)}}))}var CLICK_THRESHOLD=5,ParallelView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},each$f(handlers$1,(function(e,t){n.getZr().on(t,this._handlers[t]=bind$2(e,this))}),this)),createOrUpdate(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,t){clear$1(this,"_throttledDispatchExpand"),each$f(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(extend$1({type:"parallelAxisExpand"},e))},t.type="parallel",t}(ComponentView),handlers$1={mousedown:function(e){checkTrigger(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(checkTrigger(this,"click")&&t){var n=[e.offsetX,e.offsetY];if(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2)>CLICK_THRESHOLD)return;var o=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==o.behavior&&this._dispatchExpand({axisExpandWindow:o.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&checkTrigger(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),o=n.behavior;"jump"===o&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===o?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===o?null:{duration:0}})}}};function checkTrigger(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}var ParallelModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&merge$1(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){each$f(["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=[];each$f(filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this),(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}(ComponentModel),ParallelAxis=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n,o)||this;return a.type=r||"value",a.axisIndex=i,a}return __extends(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(Axis);function sliderMove(e,t,n,o,r,i){e=e||0;var a=n[1]-n[0];if(null!=r&&(r=restrict$1(r,[0,a])),null!=i&&(i=Math.max(i,null!=r?r:0)),"all"===o){var l=Math.abs(t[1]-t[0]);l=restrict$1(l,[0,a]),r=i=restrict$1(l,[r,i]),o=0}t[0]=restrict$1(t[0],n),t[1]=restrict$1(t[1],n);var s=getSpanSign(t,o);t[o]+=e;var c,u=r||0,d=n.slice();return s.sign<0?d[0]+=u:d[1]-=u,t[o]=restrict$1(t[o],d),c=getSpanSign(t,o),null!=r&&(c.sign!==s.sign||c.span<r)&&(t[1-o]=t[o]+s.sign*r),c=getSpanSign(t,o),null!=i&&c.span>i&&(t[1-o]=t[o]+c.sign*i),t}function getSpanSign(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 restrict$1(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var each$a=each$f,mathMin$2=Math.min,mathMax$2=Math.max,mathFloor=Math.floor,mathCeil=Math.ceil,round=round$3,PI$1=Math.PI,Parallel=function(){function e(e,t,n){this.type="parallel",this._axesMap=createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var o=e.dimensions,r=e.parallelAxisIndex;each$a(o,(function(e,n){var o=r[n],i=t.getComponent("parallelAxis",o),a=this._axesMap.set(e,new ParallelAxis(e,createScaleByModel$1(i),[0,0],i.get("type"),o)),l="category"===a.type;a.onBand=l&&i.get("boundaryGap"),a.inverse=i.get("inverse"),i.axis=a,a.model=i,a.coordinateSystem=i.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,o=t.layoutBase,r=t.pixelDimIndex,i=e[1-r],a=e[r];return i>=n&&i<=n+t.axisLength&&a>=o&&a<=o+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 o=n.getData();each$a(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(o,o.mapDimension(e)),niceScaleExtent(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=getLayoutRect(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,o=["x","y"],r=["width","height"],i=t.get("layout"),a="horizontal"===i?0:1,l=n[r[a]],s=[0,l],c=this.dimensions.length,u=restrict(t.get("axisExpandWidth"),s),d=restrict(t.get("axisExpandCount")||0,[0,c]),p=t.get("axisExpandable")&&c>3&&c>d&&d>1&&u>0&&l>0,f=t.get("axisExpandWindow");f?(e=restrict(f[1]-f[0],s),f[1]=f[0]+e):(e=restrict(u*(d-1),s),(f=[u*(t.get("axisExpandCenter")||mathFloor(c/2))-e/2])[1]=f[0]+e);var h=(l-e)/(c-d);h<3&&(h=0);var m=[mathFloor(round(f[0]/u,1))+1,mathCeil(round(f[1]/u,1))-1],g=h/u*f[0];return{layout:i,pixelDimIndex:a,layoutBase:n[o[a]],layoutLength:l,axisBase:n[o[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:u,axisCollapseWidth:h,axisExpandWindow:f,axisCount:c,winInnerIndices:m,axisExpandWindow0Pos:g}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,o=this._makeLayoutInfo(),r=o.layout;t.each((function(e){var t=[0,o.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),each$a(n,(function(t,n){var i=(o.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(n,o),a={horizontal:{x:i.position,y:o.axisLength},vertical:{x:0,y:i.position}},l={horizontal:PI$1/2,vertical:0},s=[a[r].x+e.x,a[r].y+e.y],c=l[r],u=create$1();rotate(u,u,c),translate$1(u,u,s),this._axesLayout[t]={position:s,rotation:c,transform:u,axisNameAvailableWidth:i.axisNameAvailableWidth,axisLabelShow:i.axisLabelShow,nameTruncateMaxWidth:i.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,o){null==n&&(n=0),null==o&&(o=e.count());var r=this._axesMap,i=this.dimensions,a=[],l=[];each$f(i,(function(t){a.push(e.mapDimension(t)),l.push(r.get(t).model)}));for(var s=this.hasAxisBrushed(),c=n;c<o;c++){var u=void 0;if(s){u="active";for(var d=e.getValues(a,c),p=0,f=i.length;p<f;p++){if("inactive"===l[p].getActiveState(d[p])){u="inactive";break}}}else u="normal";t(u,c)}},e.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,t=this._axesMap,n=!1,o=0,r=e.length;o<r;o++)"normal"!==t.get(e[o]).model.getActiveState()&&(n=!0);return n},e.prototype.axisCoordToPoint=function(e,t){return applyTransform([e,0],this._axesLayout[t].transform)},e.prototype.getAxisLayout=function(e){return clone$4(this._axesLayout[e])},e.prototype.getSlidedAxisExpandWindow=function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,o=t.axisExpandWindow.slice(),r=o[1]-o[0],i=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:o};var a,l=e[n]-t.layoutBase-t.axisExpandWindow0Pos,s="slide",c=t.axisCollapseWidth,u=this._model.get("axisExpandSlideTriggerArea"),d=null!=u[0];if(c)d&&c&&l<r*u[0]?(s="jump",a=l-r*u[2]):d&&c&&l>r*(1-u[0])?(s="jump",a=l-r*(1-u[2])):(a=l-r*u[1])>=0&&(a=l-r*(1-u[1]))<=0&&(a=0),(a*=t.axisExpandWidth/c)?sliderMove(a,o,i,"all"):s="none";else{var p=o[1]-o[0];(o=[mathMax$2(0,i[1]*l/p-p/2)])[1]=mathMin$2(i[1],o[0]+p),o[0]=o[1]-p}return{axisExpandWindow:o,behavior:s}},e}();function restrict(e,t){return mathMin$2(mathMax$2(e,t[0]),t[1])}function layoutAxisWithoutExpand(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function layoutAxisWithExpand(e,t){var n,o,r=t.layoutLength,i=t.axisExpandWidth,a=t.axisCount,l=t.axisCollapseWidth,s=t.winInnerIndices,c=l,u=!1;return e<s[0]?(n=e*l,o=l):e<=s[1]?(n=t.axisExpandWindow0Pos+e*i-t.axisExpandWindow[0],c=i,u=!0):(n=r-(a-1-e)*l,o=l),{position:n,axisNameAvailableWidth:c,axisLabelShow:u,nameTruncateMaxWidth:o}}function createParallelCoordSys(e,t){var n=[];return e.eachComponent("parallel",(function(o,r){var i=new Parallel(o,e,t);i.name="parallel_"+r,i.resize(o,t),o.coordinateSystem=i,i.model=o,n.push(i)})),e.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var t=e.getReferringComponents("parallel",SINGLE_REFERRING).models[0];e.coordinateSystem=t.coordinateSystem}})),n}var parallelCoordSysCreator={create:createParallelCoordSys},ParallelAxisModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return __extends(t,e),t.prototype.getAreaSelectStyle=function(){return makeStyleMapper([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=clone$4(e);if(t)for(var n=t.length-1;n>=0;n--)asc$2(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 o=0,r=t.length;o<r;o++)if(t[o][0]<=e&&e<=t[o][1])return"active";return"inactive"},t}(ComponentModel);mixin(ParallelAxisModel,AxisModelCommonMixin);var BRUSH_PANEL_GLOBAL=!0,mathMin$1=Math.min,mathMax$1=Math.max,mathPow=Math.pow,COVER_Z=1e4,UNSELECT_THRESHOLD=6,MIN_RESIZE_LINE_WIDTH=6,MUTEX_RESOURCE_KEY="globalPan",DIRECTION_MAP={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},CURSOR_MAP={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},DEFAULT_BRUSH_OPT={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},baseUID=0,BrushController=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new Group$3,n._uid="brushController_"+baseUID++,each$f(pointerHandlers,(function(e,t){this._handlers[t]=bind$2(e,this)}),n),n}return __extends(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||take(t,MUTEX_RESOURCE_KEY,this._uid),each$f(this._handlers,(function(e,n){t.on(n,e)})),this._brushType=e.brushType,this._brushOption=merge$1(clone$4(DEFAULT_BRUSH_OPT),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;release(e,MUTEX_RESOURCE_KEY,this._uid),each$f(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={};each$f(e,(function(e){t[e.panelId]=clone$4(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=map$1(e,(function(e){return merge$1(clone$4(DEFAULT_BRUSH_OPT),e,!0)}));var t=this._covers,n=this._covers=[],o=this,r=this._creatingCover;return new DataDiffer(t,e,(function(e,t){return i(e.__brushOption,t)}),i).add(a).update(a).remove((function(e){t[e]!==r&&o.group.remove(t[e])})).execute(),this;function i(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function a(i,a){var l=e[i];if(null!=a&&t[a]===r)n[i]=t[a];else{var s=n[i]=null!=a?(t[a].__brushOption=l,t[a]):endCreating(o,createCover(o,l));updateCoverAfterCreation(o,s)}}},t.prototype.unmount=function(){return this.enableBrush(!1),clearCovers(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(Eventful);function createCover(e,t){var n=coverRenderers[t.brushType].createCover(e,t);return n.__brushOption=t,updateZ$1(n,t),e.group.add(n),n}function endCreating(e,t){var n=getCoverRenderer(t);return n.endCreating&&(n.endCreating(e,t),updateZ$1(t,t.__brushOption)),t}function updateCoverShape(e,t){var n=t.__brushOption;getCoverRenderer(t).updateCoverShape(e,t,n.range,n)}function updateZ$1(e,t){var n=t.z;null==n&&(n=COVER_Z),e.traverse((function(e){e.z=n,e.z2=n}))}function updateCoverAfterCreation(e,t){getCoverRenderer(t).updateCommon(e,t),updateCoverShape(e,t)}function getCoverRenderer(e){return coverRenderers[e.__brushOption.brushType]}function getPanelByPoint(e,t,n){var o,r=e._panels;if(!r)return BRUSH_PANEL_GLOBAL;var i=e._transform;return each$f(r,(function(e){e.isTargetByCursor(t,n,i)&&(o=e)})),o}function getPanelByCover(e,t){var n=e._panels;if(!n)return BRUSH_PANEL_GLOBAL;var o=t.__brushOption.panelId;return null!=o?n[o]:BRUSH_PANEL_GLOBAL}function clearCovers(e){var t=e._covers,n=t.length;return each$f(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function trigger(e,t){var n=map$1(e._covers,(function(e){var t=e.__brushOption,n=clone$4(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function shouldShowCover(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],o=t[0],r=n[0]-o[0],i=n[1]-o[1];return mathPow(r*r+i*i,.5)>UNSELECT_THRESHOLD}function getTrackEnds(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function createBaseRectCover(e,t,n,o){var r=new Group$3;return r.add(new Rect$2({name:"main",style:makeStyle(n),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,e,t,r,["n","s","w","e"]),ondragend:curry$1(trigger,t,{isEnd:!0})})),each$f(o,(function(n){r.add(new Rect$2({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,e,t,r,n),ondragend:curry$1(trigger,t,{isEnd:!0})}))})),r}function updateBaseRect(e,t,n,o){var r=o.brushStyle.lineWidth||0,i=mathMax$1(r,MIN_RESIZE_LINE_WIDTH),a=n[0][0],l=n[1][0],s=a-r/2,c=l-r/2,u=n[0][1],d=n[1][1],p=u-i+r/2,f=d-i+r/2,h=u-a,m=d-l,g=h+r,v=m+r;updateRectShape(e,t,"main",a,l,h,m),o.transformable&&(updateRectShape(e,t,"w",s,c,i,v),updateRectShape(e,t,"e",p,c,i,v),updateRectShape(e,t,"n",s,c,g,i),updateRectShape(e,t,"s",s,f,g,i),updateRectShape(e,t,"nw",s,c,i,i),updateRectShape(e,t,"ne",p,c,i,i),updateRectShape(e,t,"sw",s,f,i,i),updateRectShape(e,t,"se",p,f,i,i))}function updateCommon$1(e,t){var n=t.__brushOption,o=n.transformable,r=t.childAt(0);r.useStyle(makeStyle(n)),r.attr({silent:!o,cursor:o?"move":"default"}),each$f([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=t.childOfName(n.join("")),i=1===n.length?getGlobalDirection1(e,n[0]):getGlobalDirection2(e,n);r&&r.attr({silent:!o,invisible:!o,cursor:o?CURSOR_MAP[i]+"-resize":null})}))}function updateRectShape(e,t,n,o,r,i,a){var l=t.childOfName(n);l&&l.setShape(pointsToRect(clipByPanel(e,t,[[o,r],[o+i,r+a]])))}function makeStyle(e){return defaults$1({strokeNoScale:!0},e.brushStyle)}function formatRectRange(e,t,n,o){var r=[mathMin$1(e,n),mathMin$1(t,o)],i=[mathMax$1(e,n),mathMax$1(t,o)];return[[r[0],i[0]],[r[1],i[1]]]}function getTransform(e){return getTransform$1(e.group)}function getGlobalDirection1(e,t){return{left:"w",right:"e",top:"n",bottom:"s"}[transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[t],getTransform(e))]}function getGlobalDirection2(e,t){var n=[getGlobalDirection1(e,t[0]),getGlobalDirection1(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function driftRect(e,t,n,o,r,i){var a=n.__brushOption,l=e.toRectRange(a.range),s=toLocalDelta(t,r,i);each$f(o,(function(e){var t=DIRECTION_MAP[e];l[t[0]][t[1]]+=s[t[0]]})),a.range=e.fromRectRange(formatRectRange(l[0][0],l[1][0],l[0][1],l[1][1])),updateCoverAfterCreation(t,n),trigger(t,{isEnd:!1})}function driftPolygon(e,t,n,o){var r=t.__brushOption.range,i=toLocalDelta(e,n,o);each$f(r,(function(e){e[0]+=i[0],e[1]+=i[1]})),updateCoverAfterCreation(e,t),trigger(e,{isEnd:!1})}function toLocalDelta(e,t,n){var o=e.group,r=o.transformCoordToLocal(t,n),i=o.transformCoordToLocal(0,0);return[r[0]-i[0],r[1]-i[1]]}function clipByPanel(e,t,n){var o=getPanelByCover(e,t);return o&&o!==BRUSH_PANEL_GLOBAL?o.clipPath(n,e._transform):clone$4(n)}function pointsToRect(e){var t=mathMin$1(e[0][0],e[1][0]),n=mathMin$1(e[0][1],e[1][1]);return{x:t,y:n,width:mathMax$1(e[0][0],e[1][0])-t,height:mathMax$1(e[0][1],e[1][1])-n}}function resetCursor(e,t,n){if(e._brushType&&!isOutsideZrArea(e,t.offsetX,t.offsetY)){var o=e._zr,r=e._covers,i=getPanelByPoint(e,t,n);if(!e._dragging)for(var a=0;a<r.length;a++){var l=r[a].__brushOption;if(i&&(i===BRUSH_PANEL_GLOBAL||l.panelId===i.panelId)&&coverRenderers[l.brushType].contain(r[a],n[0],n[1]))return}i&&o.setCursorStyle("crosshair")}}function preventDefault(e){var t=e.event;t.preventDefault&&t.preventDefault()}function mainShapeContain(e,t,n){return e.childOfName("main").contain(t,n)}function updateCoverByMouse(e,t,n,o){var r,i=e._creatingCover,a=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),shouldShowCover(e)||i){if(a&&!i){"single"===l.brushMode&&clearCovers(e);var s=clone$4(l);s.brushType=determineBrushType(s.brushType,a),s.panelId=a===BRUSH_PANEL_GLOBAL?null:a.panelId,i=e._creatingCover=createCover(e,s),e._covers.push(i)}if(i){var c=coverRenderers[determineBrushType(e._brushType,a)];i.__brushOption.range=c.getCreatingRange(clipByPanel(e,i,e._track)),o&&(endCreating(e,i),c.updateCommon(e,i)),updateCoverShape(e,i),r={isEnd:o}}}else o&&"single"===l.brushMode&&l.removeOnClick&&getPanelByPoint(e,t,n)&&clearCovers(e)&&(r={isEnd:o,removeOnClick:!0});return r}function determineBrushType(e,t){return"auto"===e?t.defaultBrushType:e}var pointerHandlers={mousedown:function(e){if(this._dragging)handleDragEnd(this,e);else if(!e.target||!e.target.draggable){preventDefault(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=getPanelByPoint(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,o=this.group.transformCoordToLocal(t,n);if(resetCursor(this,e,o),this._dragging){preventDefault(e);var r=updateCoverByMouse(this,e,o,!1);r&&trigger(this,r)}},mouseup:function(e){handleDragEnd(this,e)}};function handleDragEnd(e,t){if(e._dragging){preventDefault(t);var n=t.offsetX,o=t.offsetY,r=e.group.transformCoordToLocal(n,o),i=updateCoverByMouse(e,t,r,!0);e._dragging=!1,e._track=[],e._creatingCover=null,i&&trigger(e,i)}}function isOutsideZrArea(e,t,n){var o=e._zr;return t<0||t>o.getWidth()||n<0||n>o.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(e,t){function n(e){return e}return createBaseRectCover({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=getTrackEnds(e);return formatRectRange(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,o){updateBaseRect(e,t,n,o)},updateCommon:updateCommon$1,contain:mainShapeContain},polygon:{createCover:function(e,t){var n=new Group$3;return n.add(new Polyline$1({name:"main",style:makeStyle(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Polygon({name:"main",draggable:!0,drift:curry$1(driftPolygon,e,t),ondragend:curry$1(trigger,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,o){t.childAt(0).setShape({points:clipByPanel(e,t,n)})},updateCommon:updateCommon$1,contain:mainShapeContain}};function getLineRenderer(e){return{createCover:function(t,n){return createBaseRectCover({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=getTrackEnds(t);return[mathMin$1(n[0][e],n[1][e]),mathMax$1(n[0][e],n[1][e])]},updateCoverShape:function(t,n,o,r){var i,a=getPanelByCover(t,n);if(a!==BRUSH_PANEL_GLOBAL&&a.getLinearBrushOtherExtent)i=a.getLinearBrushOtherExtent(e);else{var l=t._zr;i=[0,[l.getWidth(),l.getHeight()][1-e]]}var s=[o,i];e&&s.reverse(),updateBaseRect(t,n,s,r)},updateCommon:updateCommon$1,contain:mainShapeContain}}function makeRectPanelClipPath(e){return e=normalizeRect(e),function(t){return clipPointsByRect(t,e)}}function makeLinearBrushOtherExtent(e,t){return e=normalizeRect(e),function(n){var o=null!=t?t:n,r=o?e.width:e.height,i=o?e.x:e.y;return[i,i+(r||0)]}}function makeRectIsTargetByCursor(e,t,n){var o=normalizeRect(e);return function(e,r){return o.contain(r[0],r[1])&&!onIrrelevantElement(e,t,n)}}function normalizeRect(e){return BoundingRect.create(e)}var elementList$1=["axisLine","axisTickLabel","axisName"],ParallelAxisView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new BrushController(n.getZr())).on("brush",bind$2(this._onBrush,this))},t.prototype.render=function(e,t,n,o){if(!fromAxisAreaSelect(e,t,o)){this.axisModel=e,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),e.get("show")){var i=getCoordSysModel(e,t),a=i.coordinateSystem,l=e.getAreaSelectStyle(),s=l.width,c=e.axis.dim,u=extend$1({strokeContainThreshold:s},a.getAxisLayout(c)),d=new AxisBuilder(e,u);each$f(elementList$1,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(u,l,e,i,s,n),groupTransition(r,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,o,r,i){var a=n.axis.getExtent(),l=a[1]-a[0],s=Math.min(30,.1*Math.abs(l)),c=BoundingRect.create({x:a[0],y:-r/2,width:l,height:r});c.x-=s,c.width+=2*s,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(c),isTargetByCursor:makeRectIsTargetByCursor(c,i,o),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(c,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(getCoverInfoList(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,o=n.axis,r=map$1(t,(function(e){return[o.coordToData(e.range[0],!0),o.coordToData(e.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(ComponentView);function fromAxisAreaSelect(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function getCoverInfoList(e){var t=e.axis;return map$1(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function getCoordSysModel(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var actionInfo={type:"axisAreaSelect",event:"axisAreaSelected"};function installParallelActions(e){e.registerAction(actionInfo,(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)}))}))}var defaultAxisOption={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function install$D(e){e.registerComponentView(ParallelView),e.registerComponentModel(ParallelModel),e.registerCoordinateSystem("parallel",parallelCoordSysCreator),e.registerPreprocessor(parallelPreprocessor),e.registerComponentModel(ParallelAxisModel),e.registerComponentView(ParallelAxisView),axisModelCreator(e,"parallel",ParallelAxisModel,defaultAxisOption),installParallelActions(e)}function install$C(e){use(install$D),e.registerChartView(ParallelView$1),e.registerSeriesModel(ParallelSeriesModel),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,parallelVisual)}var SankeyPathShape=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}}(),SankeyPath=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getDefaultShape=function(){return new SankeyPathShape},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(){enterEmphasis(this)},t.prototype.downplay=function(){leaveEmphasis(this)},t}(Path),SankeyView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=this,r=e.getGraph(),i=this.group,a=e.layoutInfo,l=a.width,s=a.height,c=e.getData(),u=e.getData("edge"),d=e.get("orient");this._model=e,i.removeAll(),i.x=a.x,i.y=a.y,r.eachEdge((function(t){var n=new SankeyPath,o=getECData(n);o.dataIndex=t.dataIndex,o.seriesIndex=e.seriesIndex,o.dataType="edge";var r,a,c,p,f,h,m,g,v=t.getModel(),y=v.getModel("lineStyle"),b=y.get("curveness"),_=t.node1.getLayout(),w=t.node1.getModel(),k=w.get("localX"),x=w.get("localY"),S=t.node2.getLayout(),C=t.node2.getModel(),E=C.get("localX"),T=C.get("localY"),A=t.getLayout();n.shape.extent=Math.max(1,A.dy),n.shape.orient=d,"vertical"===d?(r=(null!=k?k*l:_.x)+A.sy,a=(null!=x?x*s:_.y)+_.dy,c=(null!=E?E*l:S.x)+A.ty,f=r,h=a*(1-b)+(p=null!=T?T*s:S.y)*b,m=c,g=a*b+p*(1-b)):(r=(null!=k?k*l:_.x)+_.dx,a=(null!=x?x*s:_.y)+A.sy,f=r*(1-b)+(c=null!=E?E*l:S.x)*b,h=a,m=r*b+c*(1-b),g=p=(null!=T?T*s:S.y)+A.ty),n.setShape({x1:r,y1:a,x2:c,y2:p,cpx1:f,cpy1:h,cpx2:m,cpy2:g}),n.useStyle(y.getItemStyle()),applyCurveStyle(n.style,d,t);var $=""+v.get("value"),I=getLabelStatesModels(v,"edgeLabel");setLabelStyle(n,I,{labelFetcher:{getFormattedLabel:function(t,n,o,r,i,a){return e.getFormattedLabel(t,n,"edge",r,retrieve3(i,I.normal&&I.normal.get("formatter"),$),a)}},labelDataIndex:t.dataIndex,defaultText:$}),n.setTextConfig({position:"inside"});var M=v.getModel("emphasis");setStatesStylesFromModel(n,v,"lineStyle",(function(e){var n=e.getItemStyle();return applyCurveStyle(n,d,t),n})),i.add(n),u.setItemGraphicEl(t.dataIndex,n);var P=M.get("focus");toggleHoverEmphasis(n,"adjacency"===P?t.getAdjacentDataIndices():"trajectory"===P?t.getTrajectoryDataIndices():P,M.get("blurScope"),M.get("disabled"))})),r.eachNode((function(t){var n=t.getLayout(),o=t.getModel(),r=o.get("localX"),a=o.get("localY"),u=o.getModel("emphasis"),d=o.get(["itemStyle","borderRadius"])||0,p=new Rect$2({shape:{x:null!=r?r*l:n.x,y:null!=a?a*s:n.y,width:n.dx,height:n.dy,r:d},style:o.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(p,getLabelStatesModels(o),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(t,n,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),p.disableLabelAnimation=!0,p.setStyle("fill",t.getVisual("color")),p.setStyle("decal",t.getVisual("style").decal),setStatesStylesFromModel(p,o),i.add(p),c.setItemGraphicEl(t.dataIndex,p),getECData(p).dataType="node";var f=u.get("focus");toggleHoverEmphasis(p,"adjacency"===f?t.getAdjacentDataIndices():"trajectory"===f?t.getTrajectoryDataIndices():f,u.get("blurScope"),u.get("disabled"))})),c.eachItemGraphicEl((function(t,r){c.getItemModel(r).get("draggable")&&(t.drift=function(t,i){o._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=i,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(r),localX:this.shape.x/l,localY:this.shape.y/s})},t.ondragend=function(){o._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")})),!this._data&&e.isAnimationEnabled()&&i.setClipPath(createGridClipShape$1(i.getBoundingRect(),e,(function(){i.removeClipPath()}))),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(ChartView);function applyCurveStyle(e,t,n){switch(e.fill){case"source":e.fill=n.node1.getVisual("color"),e.decal=n.node1.getVisual("style").decal;break;case"target":e.fill=n.node2.getVisual("color"),e.decal=n.node2.getVisual("style").decal;break;case"gradient":var o=n.node1.getVisual("color"),r=n.node2.getVisual("color");isString$2(o)&&isString$2(r)&&(e.fill=new LinearGradient(0,0,+("horizontal"===t),+("vertical"===t),[{color:o,offset:0},{color:r,offset:1}]))}}function createGridClipShape$1(e,t,n){var o=new Rect$2({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return initProps(o,{shape:{width:e.width+20}},t,n),o}var SankeySeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.getInitialData=function(e,t){var n=e.edges||e.links||[],o=e.data||e.nodes||[],r=e.levels||[];this.levelModels=[];for(var i=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(i[r[a].depth]=new Model(r[a],this,t));return createGraphFromNodeEdge(o,n,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,o=n.getData().getItemLayout(t);if(o){var r=o.depth,i=n.levelModels[r];i&&(e.parentModel=i)}return e})),t.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,o=n.getGraph().getEdgeByIndex(t).node1.getLayout();if(o){var r=o.depth,i=n.levelModels[r];i&&(e.parentModel=i)}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 o(e){return isNaN(e)||null==e}if("edge"===n){var r=this.getDataParams(e,n),i=r.data,a=r.value;return createTooltipMarkup("nameValue",{name:i.source+" -- "+i.target,value:a,noValue:o(a)})}var l=this.getGraph().getNodeByIndex(e).getLayout().value,s=this.getDataParams(e,n).data.name;return createTooltipMarkup("nameValue",{name:null!=s?s+"":null,value:l,noValue:o(l)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var o=e.prototype.getDataParams.call(this,t,n);if(null==o.value&&"node"===n){var r=this.getGraph().getNodeByIndex(t).getLayout().value;o.value=r}return o},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}(SeriesModel);function sankeyLayout(e,t){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),o=e.get("nodeGap"),r=getViewRect$1(e,t);e.layoutInfo=r;var i=r.width,a=r.height,l=e.getGraph(),s=l.nodes,c=l.edges;computeNodeValues(s),layoutSankey(s,c,n,o,i,a,0!==filter(s,(function(e){return 0===e.getLayout().value})).length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))}))}function getViewRect$1(e,t){return getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function layoutSankey(e,t,n,o,r,i,a,l,s){computeNodeBreadths(e,t,n,r,i,l,s),computeNodeDepths(e,t,i,r,o,a,l),computeEdgeDepths(e,l)}function computeNodeValues(e){each$f(e,(function(e){var t=sum$1(e.outEdges,getEdgeValue),n=sum$1(e.inEdges,getEdgeValue),o=e.getValue()||0,r=Math.max(t,n,o);e.setLayout({value:r},!0)}))}function computeNodeBreadths(e,t,n,o,r,i,a){for(var l=[],s=[],c=[],u=[],d=0,p=0;p<t.length;p++)l[p]=1;for(p=0;p<e.length;p++)s[p]=e[p].inEdges.length,0===s[p]&&c.push(e[p]);for(var f=-1;c.length;){for(var h=0;h<c.length;h++){var m=c[h],g=m.hostGraph.data.getRawDataItem(m.dataIndex),v=null!=g.depth&&g.depth>=0;v&&g.depth>f&&(f=g.depth),m.setLayout({depth:v?g.depth:d},!0),"vertical"===i?m.setLayout({dy:n},!0):m.setLayout({dx:n},!0);for(var y=0;y<m.outEdges.length;y++){var b=m.outEdges[y];l[t.indexOf(b)]=0;var _=b.node2;0==--s[e.indexOf(_)]&&u.indexOf(_)<0&&u.push(_)}}++d,c=u,u=[]}for(p=0;p<l.length;p++)if(1===l[p])throw new Error("Sankey is a DAG, the original data has cycle!");var w=f>d-1?f:d-1;a&&"left"!==a&&adjustNodeWithNodeAlign(e,a,i,w),scaleNodeBreadths(e,"vertical"===i?(r-n)/w:(o-n)/w,i)}function isNodeDepth(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function adjustNodeWithNodeAlign(e,t,n,o){if("right"===t){for(var r=[],i=e,a=0;i.length;){for(var l=0;l<i.length;l++){var s=i[l];s.setLayout({skNodeHeight:a},!0);for(var c=0;c<s.inEdges.length;c++){var u=s.inEdges[c];r.indexOf(u.node1)<0&&r.push(u.node1)}}i=r,r=[],++a}each$f(e,(function(e){isNodeDepth(e)||e.setLayout({depth:Math.max(0,o-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&moveSinksRight(e,o)}function moveSinksRight(e,t){each$f(e,(function(e){isNodeDepth(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function scaleNodeBreadths(e,t,n){each$f(e,(function(e){var o=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:o},!0):e.setLayout({x:o},!0)}))}function computeNodeDepths(e,t,n,o,r,i,a){var l=prepareNodesByBreadth(e,a);initializeNodeDepth(l,t,n,o,r,a),resolveCollisions(l,r,n,o,a);for(var s=1;i>0;i--)relaxRightToLeft(l,s*=.99,a),resolveCollisions(l,r,n,o,a),relaxLeftToRight(l,s,a),resolveCollisions(l,r,n,o,a)}function prepareNodesByBreadth(e,t){var n=[],o="vertical"===t?"y":"x",r=groupData(e,(function(e){return e.getLayout()[o]}));return r.keys.sort((function(e,t){return e-t})),each$f(r.keys,(function(e){n.push(r.buckets.get(e))})),n}function initializeNodeDepth(e,t,n,o,r,i){var a=1/0;each$f(e,(function(e){var t=e.length,l=0;each$f(e,(function(e){l+=e.getLayout().value}));var s="vertical"===i?(o-(t-1)*r)/l:(n-(t-1)*r)/l;s<a&&(a=s)})),each$f(e,(function(e){each$f(e,(function(e,t){var n=e.getLayout().value*a;"vertical"===i?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),each$f(t,(function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)}))}function resolveCollisions(e,t,n,o,r){var i="vertical"===r?"x":"y";each$f(e,(function(e){var a,l,s;e.sort((function(e,t){return e.getLayout()[i]-t.getLayout()[i]}));for(var c=0,u=e.length,d="vertical"===r?"dx":"dy",p=0;p<u;p++)(s=c-(l=e[p]).getLayout()[i])>0&&(a=l.getLayout()[i]+s,"vertical"===r?l.setLayout({x:a},!0):l.setLayout({y:a},!0)),c=l.getLayout()[i]+l.getLayout()[d]+t;if((s=c-t-("vertical"===r?o:n))>0){a=l.getLayout()[i]-s,"vertical"===r?l.setLayout({x:a},!0):l.setLayout({y:a},!0),c=a;for(p=u-2;p>=0;--p)(s=(l=e[p]).getLayout()[i]+l.getLayout()[d]+t-c)>0&&(a=l.getLayout()[i]-s,"vertical"===r?l.setLayout({x:a},!0):l.setLayout({y:a},!0)),c=l.getLayout()[i]}}))}function relaxRightToLeft(e,t,n){each$f(e.slice().reverse(),(function(e){each$f(e,(function(e){if(e.outEdges.length){var o=sum$1(e.outEdges,weightedTarget,n)/sum$1(e.outEdges,getEdgeValue);if(isNaN(o)){var r=e.outEdges.length;o=r?sum$1(e.outEdges,centerTarget,n)/r:0}if("vertical"===n){var i=e.getLayout().x+(o-center(e,n))*t;e.setLayout({x:i},!0)}else{var a=e.getLayout().y+(o-center(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function weightedTarget(e,t){return center(e.node2,t)*e.getValue()}function centerTarget(e,t){return center(e.node2,t)}function weightedSource(e,t){return center(e.node1,t)*e.getValue()}function centerSource(e,t){return center(e.node1,t)}function center(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function getEdgeValue(e){return e.getValue()}function sum$1(e,t,n){for(var o=0,r=e.length,i=-1;++i<r;){var a=+t(e[i],n);isNaN(a)||(o+=a)}return o}function relaxLeftToRight(e,t,n){each$f(e,(function(e){each$f(e,(function(e){if(e.inEdges.length){var o=sum$1(e.inEdges,weightedSource,n)/sum$1(e.inEdges,getEdgeValue);if(isNaN(o)){var r=e.inEdges.length;o=r?sum$1(e.inEdges,centerSource,n)/r:0}if("vertical"===n){var i=e.getLayout().x+(o-center(e,n))*t;e.setLayout({x:i},!0)}else{var a=e.getLayout().y+(o-center(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function computeEdgeDepths(e,t){var n="vertical"===t?"x":"y";each$f(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]}))})),each$f(e,(function(e){var t=0,n=0;each$f(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),each$f(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}function sankeyVisual(e){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes,o=t.edges;if(n.length){var r=1/0,i=-1/0;each$f(n,(function(e){var t=e.getLayout().value;t<r&&(r=t),t>i&&(i=t)})),each$f(n,(function(t){var n=new VisualMapping({type:"color",mappingMethod:"linear",dataExtent:[r,i],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),o=t.getModel().get(["itemStyle","color"]);null!=o?(t.setVisual("color",o),t.setVisual("style",{fill:o})):(t.setVisual("color",n),t.setVisual("style",{fill:n}))}))}o.length&&each$f(o,(function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)}))}))}function install$B(e){e.registerChartView(SankeyView),e.registerSeriesModel(SankeySeriesModel),e.registerLayout(sankeyLayout),e.registerVisual(sankeyVisual),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])}))}))}var WhiskerBoxCommonMixin=function(){function e(){}return e.prototype._hasEncodeRule=function(e){var t=this.getEncode();return t&&null!=t.get(e)},e.prototype.getInitialData=function(e,t){var n,o,r=t.getComponent("xAxis",this.get("xAxisIndex")),i=t.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),l=i.get("type");"category"===a?(e.layout="horizontal",n=r.getOrdinalMeta(),o=!this._hasEncodeRule("x")):"category"===l?(e.layout="vertical",n=i.getOrdinalMeta(),o=!this._hasEncodeRule("y")):e.layout=e.layout||"horizontal";var s=["x","y"],c="horizontal"===e.layout?0:1,u=this._baseAxisDim=s[c],d=s[1-c],p=[r,i],f=p[c].get("type"),h=p[1-c].get("type"),m=e.data;if(m&&o){var g=[];each$f(m,(function(e,t){var n;isArray$2(e)?(n=e.slice(),e.unshift(t)):isArray$2(e.value)?((n=extend$1({},e)).value=n.value.slice(),e.value.unshift(t)):n=e,g.push(n)})),e.data=g}var v=this.defaultValueDimensions,y=[{name:u,type:getDimensionTypeByAxis(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:getDimensionTypeByAxis(h),dimsDef:v.slice()}];return createSeriesDataSimply(this,{coordDimensions:y,dimensionsCount:v.length+1,encodeDefaulter:curry$1(makeSeriesEncodeForAxisCoordSys,y,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),BoxplotSeriesModel=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 __extends(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}(SeriesModel);mixin(BoxplotSeriesModel,WhiskerBoxCommonMixin,!0);var BoxplotView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=e.getData(),r=this.group,i=this._data;this._data||r.removeAll();var a="horizontal"===e.get("layout")?1:0;o.diff(i).add((function(e){if(o.hasValue(e)){var t=createNormalBox$1(o.getItemLayout(e),o,e,a,!0);o.setItemGraphicEl(e,t),r.add(t)}})).update((function(e,t){var n=i.getItemGraphicEl(t);if(o.hasValue(e)){var l=o.getItemLayout(e);n?(saveOldStyle(n),updateNormalBoxData(l,n,o,e)):n=createNormalBox$1(l,o,e,a),r.add(n),o.setItemGraphicEl(e,n)}else r.remove(n)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=o},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}(ChartView),BoxPathShape=function(){return function(){}}(),BoxPath=function(e){function t(t){var n=e.call(this,t)||this;return n.type="boxplotBoxPath",n}return __extends(t,e),t.prototype.getDefaultShape=function(){return new BoxPathShape},t.prototype.buildPath=function(e,t){var n=t.points,o=0;for(e.moveTo(n[o][0],n[o][1]),o++;o<4;o++)e.lineTo(n[o][0],n[o][1]);for(e.closePath();o<n.length;o++)e.moveTo(n[o][0],n[o][1]),o++,e.lineTo(n[o][0],n[o][1])},t}(Path);function createNormalBox$1(e,t,n,o,r){var i=e.ends,a=new BoxPath({shape:{points:r?transInit$1(i,o,e):i}});return updateNormalBoxData(e,a,t,n,r),a}function updateNormalBoxData(e,t,n,o,r){var i=n.hostModel;(0,graphic[r?"initProps":"updateProps"])(t,{shape:{points:e.ends}},i,o),t.useStyle(n.getItemVisual(o,"style")),t.style.strokeNoScale=!0,t.z2=100;var a=n.getItemModel(o),l=a.getModel("emphasis");setStatesStylesFromModel(t,a),toggleHoverEmphasis(t,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function transInit$1(e,t,n){return map$1(e,(function(e){return(e=e.slice())[t]=n.initBaseline,e}))}var each$9=each$f;function boxplotLayout(e){var t=groupSeriesByAxis(e);each$9(t,(function(e){var t=e.seriesModels;t.length&&(calculateBase(e),each$9(t,(function(t,n){layoutSingleSeries(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function groupSeriesByAxis(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var o=e.getBaseAxis(),r=indexOf(n,o);r<0&&(r=n.length,n[r]=o,t[r]={axis:o,seriesModels:[]}),t[r].seriesModels.push(e)})),t}function calculateBase(e){var t,n=e.axis,o=e.seriesModels,r=o.length,i=e.boxWidthList=[],a=e.boxOffsetList=[],l=[];if("category"===n.type)t=n.getBandWidth();else{var s=0;each$9(o,(function(e){s=Math.max(s,e.getData().count())}));var c=n.getExtent();t=Math.abs(c[1]-c[0])/s}each$9(o,(function(e){var n=e.get("boxWidth");isArray$2(n)||(n=[n,n]),l.push([parsePercent(n[0],t)||0,parsePercent(n[1],t)||0])}));var u=.8*t-2,d=u/r*.3,p=(u-d*(r-1))/r,f=p/2-u/2;each$9(o,(function(e,t){a.push(f),f+=d+p,i.push(Math.min(Math.max(p,l[t][0]),l[t][1]))}))}function layoutSingleSeries(e,t,n){var o=e.coordinateSystem,r=e.getData(),i=n/2,a="horizontal"===e.get("layout")?0:1,l=1-a,s=["x","y"],c=r.mapDimension(s[a]),u=r.mapDimensionsAll(s[l]);if(!(null==c||u.length<5))for(var d=0;d<r.count();d++){var p=r.get(c,d),f=b(p,u[2],d),h=b(p,u[0],d),m=b(p,u[1],d),g=b(p,u[3],d),v=b(p,u[4],d),y=[];_(y,m,!1),_(y,g,!0),y.push(h,m,v,g),w(y,h),w(y,v),w(y,f),r.setItemLayout(d,{initBaseline:f[l],ends:y})}function b(e,n,i){var s,c=r.get(n,i),u=[];return u[a]=e,u[l]=c,isNaN(e)||isNaN(c)?s=[NaN,NaN]:(s=o.dataToPoint(u))[a]+=t,s}function _(e,t,n){var o=t.slice(),r=t.slice();o[a]+=i,r[a]-=i,n?e.push(o,r):e.push(r,o)}function w(e,t){var n=t.slice(),o=t.slice();n[a]-=i,o[a]+=i,e.push(n,o)}}function prepareBoxplotData(e,t){for(var n=[],o=[],r=(t=t||{}).boundIQR,i="none"===r||0===r,a=0;a<e.length;a++){var l=asc$2(e[a].slice()),s=quantile(l,.25),c=quantile(l,.5),u=quantile(l,.75),d=l[0],p=l[l.length-1],f=(null==r?1.5:r)*(u-s),h=i?d:Math.max(d,s-f),m=i?p:Math.min(p,u+f),g=t.itemNameFormatter,v=isFunction$2(g)?g({value:a}):isString$2(g)?g.replace("{value}",a+""):a+"";n.push([v,h,s,c,u,m]);for(var y=0;y<l.length;y++){var b=l[y];if(b<h||b>m){var _=[v,b];o.push(_)}}}return{boxData:n,outliers:o}}var boxplotTransform={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==SOURCE_FORMAT_ARRAY_ROWS){throwError$1("")}var n=prepareBoxplotData(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function install$A(e){e.registerSeriesModel(BoxplotSeriesModel),e.registerChartView(BoxplotView),e.registerLayout(boxplotLayout),e.registerTransform(boxplotTransform)}var positiveBorderColorQuery=["itemStyle","borderColor"],negativeBorderColorQuery=["itemStyle","borderColor0"],dojiBorderColorQuery=["itemStyle","borderColorDoji"],positiveColorQuery=["itemStyle","color"],negativeColorQuery=["itemStyle","color0"];function getColor(e,t){return t.get(e>0?positiveColorQuery:negativeColorQuery)}function getBorderColor(e,t){return t.get(0===e?dojiBorderColorQuery:e>0?positiveBorderColorQuery:negativeBorderColorQuery)}var candlestickVisual={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e))return!e.pipelineContext.large&&{progress:function(e,t){for(var n;null!=(n=e.next());){var o=t.getItemModel(n),r=t.getItemLayout(n).sign,i=o.getItemStyle();i.fill=getColor(r,o),i.stroke=getBorderColor(r,o)||i.fill,extend$1(t.ensureUniqueItemVisual(n,"style"),i)}}}}},SKIP_PROPS=["color","borderColor"],CandlestickView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(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,o){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){traverseElements(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,o=this.group,r=t.getLayout("isSimpleBox"),i=e.get("clip",!0),a=e.coordinateSystem,l=a.getArea&&a.getArea();this._data||o.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var a=t.getItemLayout(n);if(i&&isNormalBoxClipped(l,a))return;var s=createNormalBox(a,n,!0);initProps(s,{shape:{points:a.ends}},e,n),setBoxCommon(s,t,n,r),o.add(s),t.setItemGraphicEl(n,s)}})).update((function(a,s){var c=n.getItemGraphicEl(s);if(t.hasValue(a)){var u=t.getItemLayout(a);i&&isNormalBoxClipped(l,u)?o.remove(c):(c?(updateProps$1(c,{shape:{points:u.ends}},e,a),saveOldStyle(c)):c=createNormalBox(u),setBoxCommon(c,t,a,r),o.add(c),t.setItemGraphicEl(a,c))}else o.remove(c)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&o.remove(t)})).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),createLarge(e,this.group);var t=e.get("clip",!0)?createClipPath(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){for(var n,o=t.getData(),r=o.getLayout("isSimpleBox");null!=(n=e.next());){var i=createNormalBox(o.getItemLayout(n));setBoxCommon(i,o,n,r),i.incremental=!0,this.group.add(i),this._progressiveEls.push(i)}},t.prototype._incrementalRenderLarge=function(e,t){createLarge(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}(ChartView),NormalBoxPathShape=function(){return function(){}}(),NormalBoxPath=function(e){function t(t){var n=e.call(this,t)||this;return n.type="normalCandlestickBox",n}return __extends(t,e),t.prototype.getDefaultShape=function(){return new NormalBoxPathShape},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}(Path);function createNormalBox(e,t,n){var o=e.ends;return new NormalBoxPath({shape:{points:n?transInit(o,e):o},z2:100})}function isNormalBoxClipped(e,t){for(var n=!0,o=0;o<t.ends.length;o++)if(e.contain(t.ends[o][0],t.ends[o][1])){n=!1;break}return n}function setBoxCommon(e,t,n,o){var r=t.getItemModel(n);e.useStyle(t.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.__simpleBox=o,setStatesStylesFromModel(e,r);var i=t.getItemLayout(n).sign;each$f(e.states,(function(e,t){var n=r.getModel(t),o=getColor(i,n),a=getBorderColor(i,n)||o,l=e.style||(e.style={});o&&(l.fill=o),a&&(l.stroke=a)}));var a=r.getModel("emphasis");toggleHoverEmphasis(e,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function transInit(e,t){return map$1(e,(function(e){return(e=e.slice())[1]=t.initBaseline,e}))}var LargeBoxPathShape=function(){return function(){}}(),LargeBoxPath=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeCandlestickBox",n}return __extends(t,e),t.prototype.getDefaultShape=function(){return new LargeBoxPathShape},t.prototype.buildPath=function(e,t){for(var n=t.points,o=0;o<n.length;)if(this.__sign===n[o++]){var r=n[o++];e.moveTo(r,n[o++]),e.lineTo(r,n[o++])}else o+=3},t}(Path);function createLarge(e,t,n,o){var r=e.getData().getLayout("largePoints"),i=new LargeBoxPath({shape:{points:r},__sign:1,ignoreCoarsePointer:!0});t.add(i);var a=new LargeBoxPath({shape:{points:r},__sign:-1,ignoreCoarsePointer:!0});t.add(a);var l=new LargeBoxPath({shape:{points:r},__sign:0,ignoreCoarsePointer:!0});t.add(l),setLargeStyle(1,i,e),setLargeStyle(-1,a,e),setLargeStyle(0,l,e),o&&(i.incremental=!0,a.incremental=!0),n&&n.push(i,a)}function setLargeStyle(e,t,n,o){var r=getBorderColor(e,n)||getColor(e,n),i=n.getModel("itemStyle").getItemStyle(SKIP_PROPS);t.useStyle(i),t.style.fill=null,t.style.stroke=r}var CandlestickSeriesModel=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 __extends(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,n){var o=t.getItemLayout(e);return o&&n.rect(o.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:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(SeriesModel);function candlestickPreprocessor(e){e&&isArray$2(e.series)&&each$f(e.series,(function(e){isObject$4(e)&&"k"===e.type&&(e.type="candlestick")}))}mixin(CandlestickSeriesModel,WhiskerBoxCommonMixin,!0);var candlestickLayout={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),o=calculateCandleWidth(e,n),r=["x","y"],i=n.getDimensionIndex(n.mapDimension(r[0])),a=map$1(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),l=a[0],s=a[1],c=a[2],u=a[3];if(n.setLayout({candleWidth:o,isSimpleBox:o<=1.3}),!(i<0||a.length<4))return{progress:e.pipelineContext.large?function(n,o){var r,a,d=createFloat32Array(4*n.count),p=0,f=[],h=[],m=o.getStore(),g=!!e.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=m.get(i,a),y=m.get(l,a),b=m.get(s,a),_=m.get(c,a),w=m.get(u,a);isNaN(v)||isNaN(_)||isNaN(w)?(d[p++]=NaN,p+=3):(d[p++]=getSign(m,a,y,b,s,g),f[0]=v,f[1]=_,r=t.dataToPoint(f,null,h),d[p++]=r?r[0]:NaN,d[p++]=r?r[1]:NaN,f[1]=w,r=t.dataToPoint(f,null,h),d[p++]=r?r[1]:NaN)}o.setLayout("largePoints",d)}:function(e,n){var r,a=n.getStore();for(;null!=(r=e.next());){var d=a.get(i,r),p=a.get(l,r),f=a.get(s,r),h=a.get(c,r),m=a.get(u,r),g=Math.min(p,f),v=Math.max(p,f),y=S(g,d),b=S(v,d),_=S(h,d),w=S(m,d),k=[];C(k,b,0),C(k,y,1),k.push(T(w),T(b),T(_),T(y));var x=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:getSign(a,r,p,f,s,x),initBaseline:p>f?b[1]:y[1],ends:k,brushRect:E(h,m,d)})}function S(e,n){var o=[];return o[0]=n,o[1]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(o)}function C(e,t,n){var r=t.slice(),i=t.slice();r[0]=subPixelOptimize(r[0]+o/2,1,!1),i[0]=subPixelOptimize(i[0]-o/2,1,!0),n?e.push(r,i):e.push(i,r)}function E(e,t,n){var r=S(e,n),i=S(t,n);return r[0]-=o/2,i[0]-=o/2,{x:r[0],y:r[1],width:o,height:i[1]-r[1]}}function T(e){return e[0]=subPixelOptimize(e[0],1),e}}}}};function getSign(e,t,n,o,r,i){return n>o?-1:n<o?1:i?0:t>0?e.get(r,t-1)<=o?1:-1:1}function calculateCandleWidth(e,t){var n,o=e.getBaseAxis(),r="category"===o.type?o.getBandWidth():(n=o.getExtent(),Math.abs(n[1]-n[0])/t.count()),i=parsePercent(retrieve2(e.get("barMaxWidth"),r),r),a=parsePercent(retrieve2(e.get("barMinWidth"),1),r),l=e.get("barWidth");return null!=l?parsePercent(l,r):Math.max(Math.min(r/2,i),a)}function install$z(e){e.registerChartView(CandlestickView),e.registerSeriesModel(CandlestickSeriesModel),e.registerPreprocessor(candlestickPreprocessor),e.registerVisual(candlestickVisual),e.registerLayout(candlestickLayout)}function updateRipplePath(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 EffectSymbol=function(e){function t(t,n){var o=e.call(this)||this,r=new Symbol$1(t,n),i=new Group$3;return o.add(r),o.add(i),o.updateData(t,n),o}return __extends(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,o=e.rippleNumber,r=this.childAt(1),i=0;i<o;i++){var a=createSymbol$1(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var l=-i/o*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(l).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(l).start(),r.add(a)}updateRipplePath(r,e)},t.prototype.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),o=["symbolType","period","rippleScale","rippleNumber"],r=0;r<o.length;r++){var i=o[r];if(t[i]!==e[i])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}updateRipplePath(n,e)},t.prototype.highlight=function(){enterEmphasis(this)},t.prototype.downplay=function(){leaveEmphasis(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,t){var n=this,o=e.hostModel;this.childAt(0).updateData(e,t);var r=this.childAt(1),i=e.getItemModel(t),a=e.getItemVisual(t,"symbol"),l=normalizeSymbolSize(e.getItemVisual(t,"symbolSize")),s=e.getItemVisual(t,"style"),c=s&&s.fill,u=i.getModel("emphasis");r.setScale(l),r.traverse((function(e){e.setStyle("fill",c)}));var d=normalizeSymbolOffset(e.getItemVisual(t,"symbolOffset"),l);d&&(r.x=d[0],r.y=d[1]);var p=e.getItemVisual(t,"symbolRotate");r.rotation=(p||0)*Math.PI/180||0;var f={};f.showEffectOn=o.get("showEffectOn"),f.rippleScale=i.get(["rippleEffect","scale"]),f.brushType=i.get(["rippleEffect","brushType"]),f.period=1e3*i.get(["rippleEffect","period"]),f.effectOffset=t/e.count(),f.z=o.getShallow("z")||0,f.zlevel=o.getShallow("zlevel")||0,f.symbolType=a,f.color=c,f.rippleEffectColor=i.get(["rippleEffect","color"]),f.rippleNumber=i.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,toggleHoverEmphasis(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(Group$3),EffectScatterView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(){this._symbolDraw=new SymbolDraw(EffectSymbol)},t.prototype.render=function(e,t,n){var o=e.getData(),r=this._symbolDraw;r.updateData(o,{clipShape:this._getClipShape(e)}),this.group.add(r.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 o=e.getData();this.group.dirty();var r=pointsLayout("").reset(e,t,n);r.progress&&r.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=clone$2(t.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(ChartView),EffectScatterSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return __extends(t,e),t.prototype.getInitialData=function(e,t){return createSeriesData(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}(SeriesModel);function install$y(e){e.registerChartView(EffectScatterView),e.registerSeriesModel(EffectScatterSeriesModel),e.registerLayout(pointsLayout("effectScatter"))}var EffectLine=function(e){function t(t,n,o){var r=e.call(this)||this;return r.add(r.createLine(t,n,o)),r._updateEffectSymbol(t,n),r}return __extends(t,e),t.prototype.createLine=function(e,t,n){return new Line(e,t,n)},t.prototype._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),o=n.get("symbolSize"),r=n.get("symbol");isArray$2(o)||(o=[o,o]);var i=e.getItemVisual(t,"style"),a=n.get("color")||i&&i.stroke,l=this.childAt(1);this._symbolType!==r&&(this.remove(l),(l=createSymbol$1(r,-.5,-.5,1,1,a)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",a),l.setStyle(n.getItemStyle(["color"])),l.scaleX=o[0],l.scaleY=o[1],l.setColor(a),this._symbolType=r,this._symbolScale=o,this._updateEffectAnimation(e,n,t))},t.prototype._updateEffectAnimation=function(e,t,n){var o=this.childAt(1);if(o){var r=e.getItemLayout(n),i=1e3*t.get("period"),a=t.get("loop"),l=t.get("roundTrip"),s=t.get("constantSpeed"),c=retrieve(t.get("delay"),(function(t){return t/e.count()*i/3}));if(o.ignore=!0,this._updateAnimationPoints(o,r),s>0&&(i=this._getLineLength(o)/s*1e3),i!==this._period||a!==this._loop||l!==this._roundTrip){o.stopAnimation();var u=void 0;u=isFunction$2(c)?c(n):c,o.__t>0&&(u=-i*o.__t),this._animateSymbol(o,i,u,a,l)}this._period=i,this._loop=a,this._roundTrip=l}},t.prototype._animateSymbol=function(e,t,n,o,r){if(t>0){e.__t=0;var i=this,a=e.animate("",o).when(r?2*t:t,{__t:r?2:1}).delay(n).during((function(){i._updateSymbolPosition(e)}));o||a.done((function(){i.remove(e)})),a.start()}},t.prototype._getLineLength=function(e){return dist$1(e.__p1,e.__cp1)+dist$1(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,o=e.__cp1,r=e.__t<1?e.__t:2-e.__t,i=[e.x,e.y],a=i.slice(),l=quadraticAt$1,s=quadraticDerivativeAt;i[0]=l(t[0],o[0],n[0],r),i[1]=l(t[1],o[1],n[1],r);var c=e.__t<1?s(t[0],o[0],n[0],r):s(n[0],o[0],t[0],1-r),u=e.__t<1?s(t[1],o[1],n[1],r):s(n[1],o[1],t[1],1-r);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*dist$1(a,i),1===r&&(i[0]=a[0]+(i[0]-a[0])/2,i[1]=a[1]+(i[1]-a[1])/2)):1===e.__lastT?e.scaleY=2*dist$1(t,i):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=i[0],e.y=i[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}(Group$3),Polyline=function(e){function t(t,n,o){var r=e.call(this)||this;return r._createPolyline(t,n,o),r}return __extends(t,e),t.prototype._createPolyline=function(e,t,n){var o=e.getItemLayout(t),r=new Polyline$1({shape:{points:o}});this.add(r),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var o=e.hostModel;updateProps$1(this.childAt(0),{shape:{points:e.getItemLayout(t)}},o,t),this._updateCommonStl(e,t,n)},t.prototype._updateCommonStl=function(e,t,n){var o=this.childAt(0),r=e.getItemModel(t),i=n&&n.emphasisLineStyle,a=n&&n.focus,l=n&&n.blurScope,s=n&&n.emphasisDisabled;if(!n||e.hasItemOption){var c=r.getModel("emphasis");i=c.getModel("lineStyle").getLineStyle(),s=c.get("disabled"),a=c.get("focus"),l=c.get("blurScope")}o.useStyle(e.getItemVisual(t,"style")),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=i,toggleHoverEmphasis(this,a,l,s)},t.prototype.updateLayout=function(e,t){this.childAt(0).setShape("points",e.getItemLayout(t))},t}(Group$3),EffectPolyline=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return __extends(t,e),t.prototype.createLine=function(e,t,n){return new Polyline(e,t,n)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],o=0,r=1;r<t.length;r++){var i=t[r-1],a=t[r];o+=dist$1(i,a),n.push(o)}if(0!==o){for(r=0;r<n.length;r++)n[r]/=o;this._offsets=n,this._length=o}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,o=this._offsets,r=n.length;if(o){var i,a=this._lastFrame;if(t<this._lastFramePercent){for(i=Math.min(a+1,r-1);i>=0&&!(o[i]<=t);i--);i=Math.min(i,r-2)}else{for(i=a;i<r&&!(o[i]>t);i++);i=Math.min(i-1,r-2)}var l=(t-o[i])/(o[i+1]-o[i]),s=n[i],c=n[i+1];e.x=s[0]*(1-l)+l*c[0],e.y=s[1]*(1-l)+l*c[1];var u=e.__t<1?c[0]-s[0]:s[0]-c[0],d=e.__t<1?c[1]-s[1]:s[1]-c[1];e.rotation=-Math.atan2(d,u)-Math.PI/2,this._lastFrame=i,this._lastFramePercent=t,e.ignore=!1}},t}(EffectLine),LargeLinesPathShape=function(){return function(){this.polyline=!1,this.curveness=0,this.segs=[]}}(),LargeLinesPath=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return __extends(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 LargeLinesPathShape},t.prototype.buildPath=function(e,t){var n,o=t.segs,r=t.curveness;if(t.polyline)for(n=this._off;n<o.length;){var i=o[n++];if(i>0){e.moveTo(o[n++],o[n++]);for(var a=1;a<i;a++)e.lineTo(o[n++],o[n++])}}else for(n=this._off;n<o.length;){var l=o[n++],s=o[n++],c=o[n++],u=o[n++];if(e.moveTo(l,s),r>0){var d=(l+c)/2-(s-u)*r,p=(s+u)/2-(c-l)*r;e.quadraticCurveTo(d,p,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,o=n.segs,r=n.curveness,i=this.style.lineWidth;if(n.polyline)for(var a=0,l=0;l<o.length;){var s=o[l++];if(s>0)for(var c=o[l++],u=o[l++],d=1;d<s;d++){if(containStroke$4(c,u,p=o[l++],f=o[l++],i,e,t))return a}a++}else for(a=0,l=0;l<o.length;){c=o[l++],u=o[l++];var p=o[l++],f=o[l++];if(r>0){if(containStroke$2(c,u,(c+p)/2-(u-f)*r,(u+f)/2-(p-c)*r,p,f,i,e,t))return a}else if(containStroke$4(c,u,p,f,i,e,t))return a;a++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),o=this.getBoundingRect();return e=n[0],t=n[1],o.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,o=1/0,r=-1/0,i=-1/0,a=0;a<t.length;){var l=t[a++],s=t[a++];n=Math.min(l,n),r=Math.max(l,r),o=Math.min(s,o),i=Math.max(s,i)}e=this._rect=new BoundingRect(n,o,r,i)}return e},t}(Path),LargeLineDraw=function(){function e(){this.group=new Group$3}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],o=t.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var i=r.length,a=new Float32Array(i+o.length);a.set(r),a.set(o,i),n.setShape({segs:a})}else{this._newAdded=[];var l=this._create();l.incremental=!0,l.setShape({segs:o}),this._setCommon(l,t),l.__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 LargeLinesPath({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},e.prototype._setCommon=function(e,t,n){var o=t.hostModel;e.setShape({polyline:o.get("polyline"),curveness:o.get(["lineStyle","curveness"])}),e.useStyle(o.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var r=t.getVisual("style");r&&r.stroke&&e.setStyle("stroke",r.stroke),e.setStyle("fill",null);var i=getECData(e);i.seriesIndex=o.seriesIndex,e.on("mousemove",(function(t){i.dataIndex=null;var n=e.hoverDataIdx;n>0&&(i.dataIndex=n+e.__startIndex)}))},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),linesLayout={seriesType:"lines",plan:createRenderPlanner(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),o=e.pipelineContext.large;return{progress:function(r,i){var a=[];if(o){var l=void 0,s=r.end-r.start;if(n){for(var c=0,u=r.start;u<r.end;u++)c+=e.getLineCoordsCount(u);l=new Float32Array(s+2*c)}else l=new Float32Array(4*s);var d=0,p=[];for(u=r.start;u<r.end;u++){var f=e.getLineCoords(u,a);n&&(l[d++]=f);for(var h=0;h<f;h++)p=t.dataToPoint(a[h],!1,p),l[d++]=p[0],l[d++]=p[1]}i.setLayout("linesPoints",l)}else for(u=r.start;u<r.end;u++){var m=i.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 y=m.get(["lineStyle","curveness"]);+y&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*y,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*y])}i.setItemLayout(u,g)}}}}}},LinesView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=e.getData(),r=this._updateLineDraw(o,e),i=e.get("zlevel"),a=e.get(["effect","trailLength"]),l=n.getZr(),s="svg"===l.painter.getType();s||l.painter.getLayer(i).clear(!0),null==this._lastZlevel||s||l.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a>0&&(s||l.configLayer(i,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(o);var c=e.get("clip",!0)&&createClipPath(e.coordinateSystem,!1,e);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=i,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var o=e.getData();this._updateLineDraw(o,e).incrementalPrepareUpdate(o),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 o=e.getData(),r=e.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var i=linesLayout.reset(e,t,n);i.progress&&i.progress({start:0,end:o.count(),count:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,o=this._showEffect(t),r=!!t.get("polyline"),i=t.pipelineContext.large;return n&&o===this._hasEffet&&r===this._isPolyline&&i===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=i?new LargeLineDraw:new LineDraw(r?o?EffectPolyline:Polyline:o?EffectLine:Line),this._hasEffet=o,this._isPolyline=r,this._isLargeDraw=i),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}(ChartView),Uint32Arr="undefined"==typeof Uint32Array?Array:Uint32Array,Float64Arr="undefined"==typeof Float64Array?Array:Float64Array;function compatEc2(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=map$1(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),mergeAll([t,e[0],e[1]])})))}var LinesSeriesModel=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 __extends(t,e),t.prototype.init=function(t){t.data=t.data||[],compatEc2(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(compatEc2(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=concatArray(this._flatCoords,t.flatCoords),this._flatCoordsOffset=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);return t.option instanceof Array?t.option:t.getShallow("coords")},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],o=this._flatCoordsOffset[2*e+1],r=0;r<o;r++)t[r]=t[r]||[],t[r][0]=this._flatCoords[n+2*r],t[r][1]=this._flatCoords[n+2*r+1];return o}var i=this._getCoordsFromItemModel(e);for(r=0;r<i.length;r++)t[r]=t[r]||[],t[r][0]=i[r][0],t[r][1]=i[r][1];return i.length},t.prototype._processFlatCoordsArray=function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),isNumber$2(e[0])){for(var n=e.length,o=new Uint32Arr(n),r=new Float64Arr(n),i=0,a=0,l=0,s=0;s<n;){l++;var c=e[s++];o[a++]=i+t,o[a++]=c;for(var u=0;u<c;u++){var d=e[s++],p=e[s++];r[i++]=d,r[i++]=p}}return{flatCoordsOffset:new Uint32Array(o.buffer,0,a),flatCoords:r,count:l}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,t){var n=new SeriesData(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,o,r){if(e instanceof Array)return NaN;n.hasItemOption=!0;var i=e.value;return null!=i?i instanceof Array?i[r]:i:void 0})),n},t.prototype.formatTooltip=function(e,t,n){var o=this.getData().getItemModel(e),r=o.get("name");if(r)return r;var i=o.get("fromName"),a=o.get("toName"),l=[];return null!=i&&l.push(i),null!=a&&l.push(a),createTooltipMarkup("nameValue",{name:l.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}(SeriesModel);function normalize(e){return e instanceof Array||(e=[e,e]),e}var linesVisual={seriesType:"lines",reset:function(e){var t=normalize(e.get("symbol")),n=normalize(e.get("symbolSize")),o=e.getData();return o.setVisual("fromSymbol",t&&t[0]),o.setVisual("toSymbol",t&&t[1]),o.setVisual("fromSymbolSize",n&&n[0]),o.setVisual("toSymbolSize",n&&n[1]),{dataEach:o.hasItemOption?function(e,t){var n=e.getItemModel(t),o=normalize(n.getShallow("symbol",!0)),r=normalize(n.getShallow("symbolSize",!0));o[0]&&e.setItemVisual(t,"fromSymbol",o[0]),o[1]&&e.setItemVisual(t,"toSymbol",o[1]),r[0]&&e.setItemVisual(t,"fromSymbolSize",r[0]),r[1]&&e.setItemVisual(t,"toSymbolSize",r[1])}:null}}};function install$x(e){e.registerChartView(LinesView),e.registerSeriesModel(LinesSeriesModel),e.registerLayout(linesLayout),e.registerVisual(linesVisual)}var GRADIENT_LEVELS=256,HeatmapLayer=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=platformApi.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,o,r,i){var a=this._getBrush(),l=this._getGradient(r,"inRange"),s=this._getGradient(r,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,d=u.getContext("2d"),p=e.length;u.width=t,u.height=n;for(var f=0;f<p;++f){var h=e[f],m=h[0],g=h[1],v=o(h[2]);d.globalAlpha=v,d.drawImage(a,m-c,g-c)}if(!u.width||!u.height)return u;for(var y=d.getImageData(0,0,u.width,u.height),b=y.data,_=0,w=b.length,k=this.minOpacity,x=this.maxOpacity-k;_<w;){v=b[_+3]/256;var S=4*Math.floor(v*(GRADIENT_LEVELS-1));if(v>0){var C=i(v)?l:s;v>0&&(v=v*x+k),b[_++]=C[S],b[_++]=C[S+1],b[_++]=C[S+2],b[_++]=C[S+3]*v*256}else _+=4}return d.putImageData(y,0,0),u},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=platformApi.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var o=e.getContext("2d");return o.clearRect(0,0,n,n),o.shadowOffsetX=n,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-t,t,this.pointSize,0,2*Math.PI,!0),o.closePath(),o.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,o=n[t]||(n[t]=new Uint8ClampedArray(1024)),r=[0,0,0,0],i=0,a=0;a<256;a++)e[t](a/255,!0,r),o[i++]=r[0],o[i++]=r[1],o[i++]=r[2],o[i++]=r[3];return o},e}();function getIsInPiecewiseRange(e,t,n){var o=e[1]-e[0],r=(t=map$1(t,(function(t){return{interval:[(t.interval[0]-e[0])/o,(t.interval[1]-e[0])/o]}}))).length,i=0;return function(e){var o;for(o=i;o<r;o++){if((a=t[o].interval)[0]<=e&&e<=a[1]){i=o;break}}if(o===r)for(o=i-1;o>=0;o--){var a;if((a=t[o].interval)[0]<=e&&e<=a[1]){i=o;break}}return o>=0&&o<r&&n[o]}}function getIsInContinuousRange(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]}}function isGeoCoordSys(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var HeatmapView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(o=t)}))})),this._progressiveEls=null,this.group.removeAll();var r=e.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):isGeoCoordSys(r)&&this._renderOnGeo(r,e,o,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,o){var r=t.coordinateSystem;r&&(isGeoCoordSys(r)?this.render(t,n,o):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,o,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){traverseElements(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,o,r){var i,a,l,s,c=e.coordinateSystem,u=isCoordinateSystemType(c,"cartesian2d");if(u){var d=c.getAxis("x"),p=c.getAxis("y");i=d.getBandWidth()+.5,a=p.getBandWidth()+.5,l=d.scale.getExtent(),s=p.scale.getExtent()}for(var f=this.group,h=e.getData(),m=e.getModel(["emphasis","itemStyle"]).getItemStyle(),g=e.getModel(["blur","itemStyle"]).getItemStyle(),v=e.getModel(["select","itemStyle"]).getItemStyle(),y=e.get(["itemStyle","borderRadius"]),b=getLabelStatesModels(e),_=e.getModel("emphasis"),w=_.get("focus"),k=_.get("blurScope"),x=_.get("disabled"),S=u?[h.mapDimension("x"),h.mapDimension("y"),h.mapDimension("value")]:[h.mapDimension("time"),h.mapDimension("value")],C=n;C<o;C++){var E=void 0,T=h.getItemVisual(C,"style");if(u){var A=h.get(S[0],C),$=h.get(S[1],C);if(isNaN(h.get(S[2],C))||isNaN(A)||isNaN($)||A<l[0]||A>l[1]||$<s[0]||$>s[1])continue;var I=c.dataToPoint([A,$]);E=new Rect$2({shape:{x:I[0]-i/2,y:I[1]-a/2,width:i,height:a},style:T})}else{if(isNaN(h.get(S[1],C)))continue;E=new Rect$2({z2:1,shape:c.dataToRect([h.get(S[0],C)]).contentShape,style:T})}if(h.hasItemOption){var M=h.getItemModel(C),P=M.getModel("emphasis");m=P.getModel("itemStyle").getItemStyle(),g=M.getModel(["blur","itemStyle"]).getItemStyle(),v=M.getModel(["select","itemStyle"]).getItemStyle(),y=M.get(["itemStyle","borderRadius"]),w=P.get("focus"),k=P.get("blurScope"),x=P.get("disabled"),b=getLabelStatesModels(M)}E.shape.r=y;var N=e.getRawValue(C),O="-";N&&null!=N[2]&&(O=N[2]+""),setLabelStyle(E,b,{labelFetcher:e,labelDataIndex:C,defaultOpacity:T.opacity,defaultText:O}),E.ensureState("emphasis").style=m,E.ensureState("blur").style=g,E.ensureState("select").style=v,toggleHoverEmphasis(E,w,k,x),E.incremental=r,r&&(E.states.emphasis.hoverLayer=!0),f.add(E),h.setItemGraphicEl(C,E),this._progressiveEls&&this._progressiveEls.push(E)}},t.prototype._renderOnGeo=function(e,t,n,o){var r=n.targetVisuals.inRange,i=n.targetVisuals.outOfRange,a=t.getData(),l=this._hmLayer||this._hmLayer||new HeatmapLayer;l.blurSize=t.get("blurSize"),l.pointSize=t.get("pointSize"),l.minOpacity=t.get("minOpacity"),l.maxOpacity=t.get("maxOpacity");var s=e.getViewRect().clone(),c=e.getRoamTransform();s.applyTransform(c);var u=Math.max(s.x,0),d=Math.max(s.y,0),p=Math.min(s.width+s.x,o.getWidth()),f=Math.min(s.height+s.y,o.getHeight()),h=p-u,m=f-d,g=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(g,(function(t,n,o){var r=e.dataToPoint([t,n]);return r[0]-=u,r[1]-=d,r.push(o),r})),y=n.getExtent(),b="visualMap.continuous"===n.type?getIsInContinuousRange(y,n.option.range):getIsInPiecewiseRange(y,n.getPieceList(),n.option.selected);l.update(v,h,m,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:i.color.getColorMapper()},b);var _=new ZRImage({style:{width:h,height:m,x:u,y:d,image:l.canvas},silent:!0});this.group.add(_)},t.type="heatmap",t}(ChartView),HeatmapSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.getInitialData=function(e,t){return createSeriesData(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=CoordinateSystemManager.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}(SeriesModel);function install$w(e){e.registerChartView(HeatmapView),e.registerSeriesModel(HeatmapSeriesModel)}var BAR_BORDER_WIDTH_QUERY=["itemStyle","borderWidth"],LAYOUT_ATTRS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pathForLineWidth=new Circle,PictorialBarView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=this.group,r=e.getData(),i=this._data,a=e.coordinateSystem,l=a.getBaseAxis().isHorizontal(),s=a.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[s.x,s.x+s.width],[s.y,s.y+s.height]],isHorizontal:l,valueDim:LAYOUT_ATTRS[+l],categoryDim:LAYOUT_ATTRS[1-+l]};r.diff(i).add((function(e){if(r.hasValue(e)){var t=getItemModel(r,e),n=getSymbolMeta(r,e,t,c),i=createBar(r,c,n);r.setItemGraphicEl(e,i),o.add(i),updateCommon(i,c,n)}})).update((function(e,t){var n=i.getItemGraphicEl(t);if(r.hasValue(e)){var a=getItemModel(r,e),l=getSymbolMeta(r,e,a,c),s=getShapeStr(r,l);n&&s!==n.__pictorialShapeStr&&(o.remove(n),r.setItemGraphicEl(e,null),n=null),n?updateBar(n,c,l):n=createBar(r,c,l,!0),r.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=l,o.add(n),updateCommon(n,c,l)}else o.remove(n)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&removeBar(i,e,t.__pictorialSymbolMeta.animationModel,t)})).execute();var u=e.get("clip",!0)?createClipPath(e.coordinateSystem,!1,e):null;return u?o.setClipPath(u):o.removeClipPath(),this._data=r,this.group},t.prototype.remove=function(e,t){var n=this.group,o=this._data;e.get("animation")?o&&o.eachItemGraphicEl((function(t){removeBar(o,getECData(t).dataIndex,e,t)})):n.removeAll()},t.type="pictorialBar",t}(ChartView);function getSymbolMeta(e,t,n,o){var r=e.getItemLayout(t),i=n.get("symbolRepeat"),a=n.get("symbolClip"),l=n.get("symbolPosition")||"start",s=(n.get("symbolRotate")||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,u=n.isAnimationEnabled(),d={dataIndex:t,layout:r,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:i,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:s,animationModel:u?n:null,hoverScale:u&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};prepareBarLength(n,i,r,o,d),prepareSymbolSize(e,t,r,i,a,d.boundingLength,d.pxSign,c,o,d),prepareLineWidth(n,d.symbolScale,s,o,d);var p=d.symbolSize,f=normalizeSymbolOffset(n.get("symbolOffset"),p);return prepareLayoutInfo(n,p,r,i,a,f,l,d.valueLineWidth,d.boundingLength,d.repeatCutLength,o,d),d}function prepareBarLength(e,t,n,o,r){var i,a=o.valueDim,l=e.get("symbolBoundingData"),s=o.coordSys.getOtherAxis(o.coordSys.getBaseAxis()),c=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(n[a.wh]<=0);if(isArray$2(l)){var d=[convertToCoordOnAxis(s,l[0])-c,convertToCoordOnAxis(s,l[1])-c];d[1]<d[0]&&d.reverse(),i=d[u]}else i=null!=l?convertToCoordOnAxis(s,l)-c:t?o.coordSysExtent[a.index][u]-c:n[a.wh];r.boundingLength=i,t&&(r.repeatCutLength=n[a.wh]);var p="x"===a.xy,f=s.inverse;r.pxSign=p&&!f||!p&&f?i>=0?1:-1:i>0?1:-1}function convertToCoordOnAxis(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function prepareSymbolSize(e,t,n,o,r,i,a,l,s,c){var u,d=s.valueDim,p=s.categoryDim,f=Math.abs(n[p.wh]),h=e.getItemVisual(t,"symbolSize");(u=isArray$2(h)?h.slice():null==h?["100%","100%"]:[h,h])[p.index]=parsePercent(u[p.index],f),u[d.index]=parsePercent(u[d.index],o?f:Math.abs(i)),c.symbolSize=u,(c.symbolScale=[u[0]/l,u[1]/l])[d.index]*=(s.isHorizontal?-1:1)*a}function prepareLineWidth(e,t,n,o,r){var i=e.get(BAR_BORDER_WIDTH_QUERY)||0;i&&(pathForLineWidth.attr({scaleX:t[0],scaleY:t[1],rotation:n}),pathForLineWidth.updateTransform(),i/=pathForLineWidth.getLineScale(),i*=t[o.valueDim.index]),r.valueLineWidth=i||0}function prepareLayoutInfo(e,t,n,o,r,i,a,l,s,c,u,d){var p=u.categoryDim,f=u.valueDim,h=d.pxSign,m=Math.max(t[f.index]+l,0),g=m;if(o){var v=Math.abs(s),y=retrieve(e.get("symbolMargin"),"15%")+"",b=!1;y.lastIndexOf("!")===y.length-1&&(b=!0,y=y.slice(0,y.length-1));var _=parsePercent(y,t[f.index]),w=Math.max(m+2*_,0),k=b?0:2*_,x=isNumeric(o),S=x?o:toIntTimes((v+k)/w);w=m+2*(_=(v-S*m)/2/(b?S:Math.max(S-1,1))),k=b?0:2*_,x||"fixed"===o||(S=c?toIntTimes((Math.abs(c)+k)/w):0),g=S*w-k,d.repeatTimes=S,d.symbolMargin=_}var C=h*(g/2),E=d.pathPosition=[];E[p.index]=n[p.wh]/2,E[f.index]="start"===a?C:"end"===a?s-C:s/2,i&&(E[0]+=i[0],E[1]+=i[1]);var T=d.bundlePosition=[];T[p.index]=n[p.xy],T[f.index]=n[f.xy];var A=d.barRectShape=extend$1({},n);A[f.wh]=h*Math.max(Math.abs(n[f.wh]),Math.abs(E[f.index]+C)),A[p.wh]=n[p.wh];var $=d.clipShape={};$[p.xy]=-n[p.xy],$[p.wh]=u.ecSize[p.wh],$[f.xy]=0,$[f.wh]=n[f.wh]}function createPath(e){var t=e.symbolPatternSize,n=createSymbol$1(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function createOrUpdateRepeatSymbols(e,t,n,o){var r=e.__pictorialBundle,i=n.symbolSize,a=n.valueLineWidth,l=n.pathPosition,s=t.valueDim,c=n.repeatTimes||0,u=0,d=i[t.valueDim.index]+a+2*n.symbolMargin;for(eachPath(e,(function(e){e.__pictorialAnimationIndex=u,e.__pictorialRepeatTimes=c,u<c?updateAttr(e,null,h(u),n,o):updateAttr(e,null,{scaleX:0,scaleY:0},n,o,(function(){r.remove(e)})),u++}));u<c;u++){var p=createPath(n);p.__pictorialAnimationIndex=u,p.__pictorialRepeatTimes=c,r.add(p);var f=h(u);updateAttr(p,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,o)}function h(e){var t=l.slice(),o=n.pxSign,r=e;return("start"===n.symbolRepeatDirection?o>0:o<0)&&(r=c-1-e),t[s.index]=d*(r-c/2+.5)+l[s.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function createOrUpdateSingleSymbol(e,t,n,o){var r=e.__pictorialBundle,i=e.__pictorialMainPath;i?updateAttr(i,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,o):(i=e.__pictorialMainPath=createPath(n),r.add(i),updateAttr(i,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,o))}function createOrUpdateBarRect(e,t,n){var o=extend$1({},t.barRectShape),r=e.__pictorialBarRect;r?updateAttr(r,null,{shape:o},t,n):((r=e.__pictorialBarRect=new Rect$2({z2:2,shape:o,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,e.add(r))}function createOrUpdateClip(e,t,n,o){if(n.symbolClip){var r=e.__pictorialClipPath,i=extend$1({},n.clipShape),a=t.valueDim,l=n.animationModel,s=n.dataIndex;if(r)updateProps$1(r,{shape:i},l,s);else{i[a.wh]=0,r=new Rect$2({shape:i}),e.__pictorialBundle.setClipPath(r),e.__pictorialClipPath=r;var c={};c[a.wh]=n.clipShape[a.wh],graphic[o?"updateProps":"initProps"](r,{shape:c},l,s)}}}function getItemModel(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=getAnimationDelayParams,n.isAnimationEnabled=isAnimationEnabled,n}function getAnimationDelayParams(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(e,t,n,o){var r=new Group$3,i=new Group$3;return r.add(i),r.__pictorialBundle=i,i.x=n.bundlePosition[0],i.y=n.bundlePosition[1],n.symbolRepeat?createOrUpdateRepeatSymbols(r,t,n):createOrUpdateSingleSymbol(r,t,n),createOrUpdateBarRect(r,n,o),createOrUpdateClip(r,t,n,o),r.__pictorialShapeStr=getShapeStr(e,n),r.__pictorialSymbolMeta=n,r}function updateBar(e,t,n){var o=n.animationModel,r=n.dataIndex;updateProps$1(e.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},o,r),n.symbolRepeat?createOrUpdateRepeatSymbols(e,t,n,!0):createOrUpdateSingleSymbol(e,t,n,!0),createOrUpdateBarRect(e,n,!0),createOrUpdateClip(e,t,n,!0)}function removeBar(e,t,n,o){var r=o.__pictorialBarRect;r&&r.removeTextContent();var i=[];eachPath(o,(function(e){i.push(e)})),o.__pictorialMainPath&&i.push(o.__pictorialMainPath),o.__pictorialClipPath&&(n=null),each$f(i,(function(e){removeElement(e,{scaleX:0,scaleY:0},n,t,(function(){o.parent&&o.parent.remove(o)}))})),e.setItemGraphicEl(t,null)}function getShapeStr(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function eachPath(e,t,n){each$f(e.__pictorialBundle.children(),(function(o){o!==e.__pictorialBarRect&&t.call(n,o)}))}function updateAttr(e,t,n,o,r,i){t&&e.attr(t),o.symbolClip&&!r?n&&e.attr(n):n&&graphic[r?"updateProps":"initProps"](e,n,o.animationModel,o.dataIndex,i)}function updateCommon(e,t,n){var o=n.dataIndex,r=n.itemModel,i=r.getModel("emphasis"),a=i.getModel("itemStyle").getItemStyle(),l=r.getModel(["blur","itemStyle"]).getItemStyle(),s=r.getModel(["select","itemStyle"]).getItemStyle(),c=r.getShallow("cursor"),u=i.get("focus"),d=i.get("blurScope"),p=i.get("scale");eachPath(e,(function(e){if(e instanceof ZRImage){var t=e.style;e.useStyle(extend$1({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var o=e.ensureState("emphasis");o.style=a,p&&(o.scaleX=1.1*e.scaleX,o.scaleY=1.1*e.scaleY),e.ensureState("blur").style=l,e.ensureState("select").style=s,c&&(e.cursor=c),e.z2=n.z2}));var f=t.valueDim.posDesc[+(n.boundingLength>0)],h=e.__pictorialBarRect;h.ignoreClip=!0,setLabelStyle(h,getLabelStatesModels(r),{labelFetcher:t.seriesModel,labelDataIndex:o,defaultText:getDefaultLabel(t.seriesModel.getData(),o),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),toggleHoverEmphasis(e,u,d,i.get("disabled"))}function toIntTimes(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var PictorialBarSeriesModel=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 __extends(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=inheritDefaultOption(BaseBarSeriesModel.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(BaseBarSeriesModel);function install$v(e){e.registerChartView(PictorialBarView),e.registerSeriesModel(PictorialBarSeriesModel),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,curry$1(layout$4,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))}var ThemeRiverView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=e.getData(),r=this,i=this.group,a=e.getLayerSeries(),l=o.getLayout("layoutInfo"),s=l.rect,c=l.boundaryGap;function u(e){return e.name}i.x=0,i.y=s.y+c[0];var d=new DataDiffer(this._layersSeries||[],a,u,u),p=[];function f(t,n,l){var s=r._layers;if("remove"!==t){for(var c,u,d=[],f=[],h=a[n].indices,m=0;m<h.length;m++){var g=o.getItemLayout(h[m]),v=g.x,y=g.y0,b=g.y;d.push(v,y),f.push(v,y+b),c=o.getItemVisual(h[m],"style")}var _=o.getItemLayout(h[0]),w=e.getModel("label").get("margin"),k=e.getModel("emphasis");if("add"===t){var x=p[n]=new Group$3;u=new ECPolygon({shape:{points:d,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),x.add(u),i.add(x),e.isAnimationEnabled()&&u.setClipPath(createGridClipShape(u.getBoundingRect(),e,(function(){u.removeClipPath()})))}else{x=s[l];u=x.childAt(0),i.add(x),p[n]=x,updateProps$1(u,{shape:{points:d,stackedOnPoints:f}},e),saveOldStyle(u)}setLabelStyle(u,getLabelStatesModels(e),{labelDataIndex:h[m-1],defaultText:o.getName(h[m-1]),inheritColor:c.fill},{normal:{verticalAlign:"middle"}}),u.setTextConfig({position:null,local:!0});var S=u.getTextContent();S&&(S.x=_.x-w,S.y=_.y0+_.y/2),u.useStyle(c),o.setItemGraphicEl(n,u),setStatesStylesFromModel(u,e),toggleHoverEmphasis(u,k.get("focus"),k.get("blurScope"),k.get("disabled"))}else i.remove(s[n])}d.add(bind$2(f,this,"add")).update(bind$2(f,this,"update")).remove(bind$2(f,this,"remove")).execute(),this._layersSeries=a,this._layers=p},t.type="themeRiver",t}(ChartView);function createGridClipShape(e,t,n){var o=new Rect$2({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return initProps(o,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,n),o}var DATA_NAME_INDEX=2,ThemeRiverSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$2(this.getData,this),bind$2(this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,n={},o=groupData(e,(function(e){return n.hasOwnProperty(e[0]+"")||(n[e[0]+""]=-1),e[2]})),r=[];o.buckets.each((function(e,t){r.push({name:t,dataList:e})}));for(var i=r.length,a=0;a<i;++a){for(var l=r[a].name,s=0;s<r[a].dataList.length;++s){var c=r[a].dataList[s][0]+"";n[c]=a}for(var c in n)n.hasOwnProperty(c)&&n[c]!==a&&(n[c]=a,e[t]=[c,0,l],t++)}return e},t.prototype.getInitialData=function(e,t){for(var n=this.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0].get("type"),o=filter(e.data,(function(e){return void 0!==e[2]})),r=this.fixData(o||[]),i=[],a=this.nameMap=createHashMap(),l=0,s=0;s<r.length;++s)i.push(r[s][DATA_NAME_INDEX]),a.get(r[s][DATA_NAME_INDEX])||(a.set(r[s][DATA_NAME_INDEX],l),l++);var c=prepareSeriesDataSchema(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:getDimensionTypeByAxis(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,u=new SeriesData(c,this);return u.initData(r),u},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),n=[],o=0;o<t;++o)n[o]=o;var r=e.mapDimension("single"),i=groupData(n,(function(t){return e.get("name",t)})),a=[];return i.buckets.each((function(t,n){t.sort((function(t,n){return e.get(r,t)-e.get(r,n)})),a.push({name:n,indices:t})})),a},t.prototype.getAxisTooltipData=function(e,t,n){isArray$2(e)||(e=e?[e]:[]);for(var o,r=this.getData(),i=this.getLayerSeries(),a=[],l=i.length,s=0;s<l;++s){for(var c=Number.MAX_VALUE,u=-1,d=i[s].indices.length,p=0;p<d;++p){var f=r.get(e[0],i[s].indices[p]),h=Math.abs(f-t);h<=c&&(o=f,c=h,u=i[s].indices[p])}a.push(u)}return{dataIndices:a,nestestValue:o}},t.prototype.formatTooltip=function(e,t,n){var o=this.getData();return createTooltipMarkup("nameValue",{name:o.getName(e),value:o.get(o.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}(SeriesModel);function themeRiverLayout(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,o={},r=n.getRect();o.rect=r;var i=e.get("boundaryGap"),a=n.getAxis();(o.boundaryGap=i,"horizontal"===a.orient)?(i[0]=parsePercent(i[0],r.height),i[1]=parsePercent(i[1],r.height),doThemeRiverLayout(t,e,r.height-i[0]-i[1])):(i[0]=parsePercent(i[0],r.width),i[1]=parsePercent(i[1],r.width),doThemeRiverLayout(t,e,r.width-i[0]-i[1]));t.setLayout("layoutInfo",o)}))}function doThemeRiverLayout(e,t,n){if(e.count())for(var o,r=t.coordinateSystem,i=t.getLayerSeries(),a=e.mapDimension("single"),l=e.mapDimension("value"),s=map$1(i,(function(t){return map$1(t.indices,(function(t){var n=r.dataToPoint(e.get(a,t));return n[1]=e.get(l,t),n}))})),c=computeBaseline(s),u=c.y0,d=n/c.max,p=i.length,f=i[0].indices.length,h=0;h<f;++h){o=u[h]*d,e.setItemLayout(i[0].indices[h],{layerIndex:0,x:s[0][h][0],y0:o,y:s[0][h][1]*d});for(var m=1;m<p;++m)o+=s[m-1][h][1]*d,e.setItemLayout(i[m].indices[h],{layerIndex:m,x:s[m][h][0],y0:o,y:s[m][h][1]*d})}}function computeBaseline(e){for(var t=e.length,n=e[0].length,o=[],r=[],i=0,a=0;a<n;++a){for(var l=0,s=0;s<t;++s)l+=e[s][a][1];l>i&&(i=l),o.push(l)}for(var c=0;c<n;++c)r[c]=(i-o[c])/2;i=0;for(var u=0;u<n;++u){var d=o[u]+r[u];d>i&&(i=d)}return{y0:r,max:i}}function install$u(e){e.registerChartView(ThemeRiverView),e.registerSeriesModel(ThemeRiverSeriesModel),e.registerLayout(themeRiverLayout),e.registerProcessor(dataFilter$1("themeRiver"))}var DEFAULT_SECTOR_Z=2,DEFAULT_TEXT_Z=4,SunburstPiece=function(e){function t(t,n,o,r){var i=e.call(this)||this;i.z2=DEFAULT_SECTOR_Z,i.textConfig={inside:!0},getECData(i).seriesIndex=n.seriesIndex;var a=new ZRText({z2:DEFAULT_TEXT_Z,silent:t.getModel().get(["label","silent"])});return i.setTextContent(a),i.updateData(!0,t,n,o,r),i}return __extends(t,e),t.prototype.updateData=function(e,t,n,o,r){this.node=t,t.piece=this,n=n||this._seriesModel,o=o||this._ecModel;var i=this;getECData(i).dataIndex=t.dataIndex;var a=t.getModel(),l=a.getModel("emphasis"),s=t.getLayout(),c=extend$1({},s);c.label=null;var u=t.getVisual("style");u.lineJoin="bevel";var d=t.getVisual("decal");d&&(u.decal=createOrUpdatePatternFromDecal(d,r));var p=getSectorCornerRadius(a.getModel("itemStyle"),c,!0);extend$1(c,p),each$f(SPECIAL_STATES,(function(e){var t=i.ensureState(e),n=a.getModel([e,"itemStyle"]);t.style=n.getItemStyle();var o=getSectorCornerRadius(n,c);o&&(t.shape=o)})),e?(i.setShape(c),i.shape.r=s.r0,initProps(i,{shape:{r:s.r}},n,t.dataIndex)):(updateProps$1(i,{shape:c},n),saveOldStyle(i)),i.useStyle(u),this._updateLabel(n);var f=a.getShallow("cursor");f&&i.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=o||this._ecModel;var h=l.get("focus");toggleHoverEmphasis(this,"relative"===h?concatArray(t.getAncestorsIndices(),t.getDescendantIndices()):"ancestor"===h?t.getAncestorsIndices():"descendant"===h?t.getDescendantIndices():h,l.get("blurScope"),l.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,n=this.node.getModel(),o=n.getModel("label"),r=this.node.getLayout(),i=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,l=Math.cos(a),s=Math.sin(a),c=this,u=c.getTextContent(),d=this.node.dataIndex,p=o.get("minAngle")/180*Math.PI,f=o.get("show")&&!(null!=p&&Math.abs(i)<p);function h(e,t){var n=e.get(t);return null==n?o.get(t):n}u.ignore=!f,each$f(DISPLAY_STATES,(function(o){var p="normal"===o?n.getModel("label"):n.getModel([o,"label"]),f="normal"===o,m=f?u:u.ensureState(o),g=e.getFormattedLabel(d,o);f&&(g=g||t.node.name),m.style=createTextStyle(p,{},null,"normal"!==o,!0),g&&(m.style.text=g);var v=p.get("show");null==v||f||(m.ignore=!v);var y,b=h(p,"position"),_=f?c:c.states[o],w=_.style.fill;_.textConfig={outsideFill:"inherit"===p.get("color")?w:null,inside:"outside"!==b};var k=h(p,"distance")||0,x=h(p,"align"),S=h(p,"rotate"),C=.5*Math.PI,E=1.5*Math.PI,T=normalizeRadian("tangential"===S?Math.PI/2-a:a),A=T>C&&!isRadianAroundZero(T-C)&&T<E;"outside"===b?(y=r.r+k,x=A?"right":"left"):x&&"center"!==x?"left"===x?(y=r.r0+k,x=A?"right":"left"):"right"===x&&(y=r.r-k,x=A?"left":"right"):(y=i===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,x="center"),m.style.align=x,m.style.verticalAlign=h(p,"verticalAlign")||"middle",m.x=y*l+r.cx,m.y=y*s+r.cy;var $=0;"radial"===S?$=normalizeRadian(-a)+(A?Math.PI:0):"tangential"===S?$=normalizeRadian(Math.PI/2-a)+(A?Math.PI:0):isNumber$2(S)&&($=S*Math.PI/180),m.rotation=normalizeRadian($)})),u.dirtyStyle()},t}(Sector),ROOT_TO_NODE_ACTION="sunburstRootToNode",HIGHLIGHT_ACTION="sunburstHighlight",UNHIGHLIGHT_ACTION="sunburstUnhighlight";function installSunburstAction(e){e.registerAction({type:ROOT_TO_NODE_ACTION,update:"updateView"},(function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t,n){var o=retrieveTargetInfo(e,[ROOT_TO_NODE_ACTION],t);if(o){var r=t.getViewRoot();r&&(e.direction=aboveViewRoot(r,o.node)?"rollUp":"drillDown"),t.resetViewRoot(o.node)}}))})),e.registerAction({type:HIGHLIGHT_ACTION,update:"none"},(function(e,t,n){e=extend$1({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},(function(t){var n=retrieveTargetInfo(e,[HIGHLIGHT_ACTION],t);n&&(e.dataIndex=n.node.dataIndex)})),n.dispatchAction(extend$1(e,{type:"highlight"}))})),e.registerAction({type:UNHIGHLIGHT_ACTION,update:"updateView"},(function(e,t,n){e=extend$1({},e),n.dispatchAction(extend$1(e,{type:"downplay"}))}))}var SunburstView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n,o){var r=this;this.seriesModel=e,this.api=n,this.ecModel=t;var i=e.getData(),a=i.tree.root,l=e.getViewRoot(),s=this.group,c=e.get("renderLabelForZeroData"),u=[];l.eachNode((function(e){u.push(e)}));var d,p,f=this._oldChildren||[];!function(o,r){if(0===o.length&&0===r.length)return;function l(e){return e.getId()}function u(l,u){!function(o,r){c||!o||o.getValue()||(o=null);if(o!==a&&r!==a)if(r&&r.piece)o?(r.piece.updateData(!1,o,e,t,n),i.setItemGraphicEl(o.dataIndex,r.piece)):function(e){if(!e)return;e.piece&&(s.remove(e.piece),e.piece=null)}(r);else if(o){var l=new SunburstPiece(o,e,t,n);s.add(l),i.setItemGraphicEl(o.dataIndex,l)}}(null==l?null:o[l],null==u?null:r[u])}new DataDiffer(r,o,l,l).add(u).update(u).remove(curry$1(u,null)).execute()}(u,f),d=a,(p=l).depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,d,e,t,n):(r.virtualPiece=new SunburstPiece(d,e,t,n),s.add(r.virtualPiece)),p.piece.off("click"),r.virtualPiece.on("click",(function(e){r._rootToNode(p.parentNode)}))):r.virtualPiece&&(s.remove(r.virtualPiece),r.virtualPiece=null),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(o){if(!n&&o.piece&&o.piece===t.target){var r=o.getModel().get("nodeClick");if("rootToNode"===r)e._rootToNode(o);else if("link"===r){var i=o.getModel(),a=i.get("link");if(a)windowOpen(a,i.get("target",!0)||"_blank")}n=!0}}))}))},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ROOT_TO_NODE_ACTION,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var o=e[0]-n.cx,r=e[1]-n.cy,i=Math.sqrt(o*o+r*r);return i<=n.r&&i>=n.r0}},t.type="sunburst",t}(ChartView),SunburstSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return __extends(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};completeTreeValue(n);var o=this._levelModels=map$1(e.levels||[],(function(e){return new Model(e,this,t)}),this),r=Tree$1.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=r.getNodeByDataIndex(t),i=o[n.depth];return i&&(e.parentModel=i),e}))}));return r.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),o=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=wrapTreePathInfo(o,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(){enableAriaDecalForTree(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}(SeriesModel);function completeTreeValue(e){var t=0;each$f(e.children,(function(e){completeTreeValue(e);var n=e.value;isArray$2(n)&&(n=n[0]),t+=n}));var n=e.value;isArray$2(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),isArray$2(e.value)?e.value[0]=n:e.value=n}var RADIAN=Math.PI/180;function sunburstLayout(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.get("center"),o=e.get("radius");isArray$2(o)||(o=[0,o]),isArray$2(t)||(t=[t,t]);var r=n.getWidth(),i=n.getHeight(),a=Math.min(r,i),l=parsePercent(t[0],r),s=parsePercent(t[1],i),c=parsePercent(o[0],a/2),u=parsePercent(o[1],a/2),d=-e.get("startAngle")*RADIAN,p=e.get("minAngle")*RADIAN,f=e.getData().tree.root,h=e.getViewRoot(),m=h.depth,g=e.get("sort");null!=g&&initChildren(h,g);var v=0;each$f(h.children,(function(e){!isNaN(e.getValue())&&v++}));var y=h.getValue(),b=Math.PI/(y||v)*2,_=h.depth>0,w=h.height-(_?-1:1),k=(u-c)/(w||1),x=e.get("clockwise"),S=e.get("stillShowZeroSum"),C=x?1:-1,E=function(t,n){if(t){var o=n;if(t!==f){var r=t.getValue(),i=0===y&&S?b:r*b;i<p&&(i=p),o=n+C*i;var u=t.depth-m-(_?-1:1),d=c+k*u,h=c+k*(u+1),g=e.getLevelModel(t);if(g){var v=g.get("r0",!0),w=g.get("r",!0),T=g.get("radius",!0);null!=T&&(v=T[0],w=T[1]),null!=v&&(d=parsePercent(v,a/2)),null!=w&&(h=parsePercent(w,a/2))}t.setLayout({angle:i,startAngle:n,endAngle:o,clockwise:x,cx:l,cy:s,r0:d,r:h})}if(t.children&&t.children.length){var A=0;each$f(t.children,(function(e){A+=E(e,n+A)}))}return o-n}};if(_){var T=c,A=c+k,$=2*Math.PI;f.setLayout({angle:$,startAngle:d,endAngle:d+$,clockwise:x,cx:l,cy:s,r0:T,r:A})}E(h,d)}))}function initChildren(e,t){var n=e.children||[];e.children=sort(n,t),n.length&&each$f(e.children,(function(e){initChildren(e,t)}))}function sort(e,t){if(isFunction$2(t)){var n=map$1(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)})),map$1(n,(function(t){return e[t.index]}))}var o="asc"===t;return e.sort((function(e,t){var n=(e.getValue()-t.getValue())*(o?1:-1);return 0===n?(e.dataIndex-t.dataIndex)*(o?-1:1):n}))}function sunburstVisual(e){var t={};e.eachSeriesByType("sunburst",(function(e){var n=e.getData(),o=n.tree;o.eachNode((function(r){var i=r.getModel().getModel("itemStyle").getItemStyle();i.fill||(i.fill=function(e,n,o){for(var r=e;r&&r.depth>1;)r=r.parentNode;var i=n.getColorFromPalette(r.name||r.dataIndex+"",t);return e.depth>1&&isString$2(i)&&(i=lift(i,(e.depth-1)/(o-1)*.5)),i}(r,e,o.root.height)),extend$1(n.ensureUniqueItemVisual(r.dataIndex,"style"),i)}))}))}function install$t(e){e.registerChartView(SunburstView),e.registerSeriesModel(SunburstSeriesModel),e.registerLayout(curry$1(sunburstLayout,"sunburst")),e.registerProcessor(curry$1(dataFilter$1,"sunburst")),e.registerVisual(sunburstVisual),installSunburstAction(e)}var STYLE_VISUAL_TYPE={color:"fill",borderColor:"stroke"},NON_STYLE_VISUAL_PROPS={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},customInnerStore=makeInner(),CustomSeriesModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(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 createSeriesData(null,this)},t.prototype.getDataParams=function(t,n,o){var r=e.prototype.getDataParams.call(this,t,n);return o&&(r.info=customInnerStore(o).info),r},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(SeriesModel);function dataToCoordSize$3(e,t){return t=t||[0,0],map$1(["x","y"],(function(n,o){var r=this.getAxis(n),i=t[o],a=e[o]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(i-a)-r.dataToCoord(i+a))}),this)}function cartesianPrepareCustom(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:bind$2(dataToCoordSize$3,e)}}}function dataToCoordSize$2(e,t){return t=t||[0,0],map$1([0,1],(function(n){var o=t[n],r=e[n]/2,i=[],a=[];return i[n]=o-r,a[n]=o+r,i[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(i)[n]-this.dataToPoint(a)[n])}),this)}function geoPrepareCustom(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:bind$2(dataToCoordSize$2,e)}}}function dataToCoordSize$1(e,t){var n=this.getAxis(),o=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(o-r)-n.dataToCoord(o+r))}function singlePrepareCustom(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:bind$2(dataToCoordSize$1,e)}}}function dataToCoordSize(e,t){return t=t||[0,0],map$1(["Radius","Angle"],(function(n,o){var r=this["get"+n+"Axis"](),i=t[o],a=e[o]/2,l="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(i-a)-r.dataToCoord(i+a));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function polarPrepareCustom(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),o=t.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:o[1],r0:o[0]},api:{coord:function(o){var r=t.dataToRadius(o[0]),i=n.dataToAngle(o[1]),a=e.coordToPoint([r,i]);return a.push(r,i*Math.PI/180),a},size:bind$2(dataToCoordSize,e)}}}function calendarPrepareCustom(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 isEC4CompatibleStyle(e,t,n,o){return e&&(e.legacy||!1!==e.legacy&&!n&&!o&&"tspan"!==t&&("text"===t||hasOwn(e,"text")))}function convertFromEC4CompatibleStyle(e,t,n){var o,r,i,a=e;if("text"===t)i=a;else{i={},hasOwn(a,"text")&&(i.text=a.text),hasOwn(a,"rich")&&(i.rich=a.rich),hasOwn(a,"textFill")&&(i.fill=a.textFill),hasOwn(a,"textStroke")&&(i.stroke=a.textStroke),hasOwn(a,"fontFamily")&&(i.fontFamily=a.fontFamily),hasOwn(a,"fontSize")&&(i.fontSize=a.fontSize),hasOwn(a,"fontStyle")&&(i.fontStyle=a.fontStyle),hasOwn(a,"fontWeight")&&(i.fontWeight=a.fontWeight),r={type:"text",style:i,silent:!0},o={};var l=hasOwn(a,"textPosition");n?o.position=l?a.textPosition:"inside":l&&(o.position=a.textPosition),hasOwn(a,"textPosition")&&(o.position=a.textPosition),hasOwn(a,"textOffset")&&(o.offset=a.textOffset),hasOwn(a,"textRotation")&&(o.rotation=a.textRotation),hasOwn(a,"textDistance")&&(o.distance=a.textDistance)}return convertEC4CompatibleRichItem(i,e),each$f(i.rich,(function(e){convertEC4CompatibleRichItem(e,e)})),{textConfig:o,textContent:r}}function convertEC4CompatibleRichItem(e,t){t&&(t.font=t.textFont||t.font,hasOwn(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),hasOwn(t,"textAlign")&&(e.align=t.textAlign),hasOwn(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),hasOwn(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),hasOwn(t,"textWidth")&&(e.width=t.textWidth),hasOwn(t,"textHeight")&&(e.height=t.textHeight),hasOwn(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),hasOwn(t,"textPadding")&&(e.padding=t.textPadding),hasOwn(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),hasOwn(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),hasOwn(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),hasOwn(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),hasOwn(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),hasOwn(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),hasOwn(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(e,t,n){var o=e;o.textPosition=o.textPosition||n.position||"inside",null!=n.offset&&(o.textOffset=n.offset),null!=n.rotation&&(o.textRotation=n.rotation),null!=n.distance&&(o.textDistance=n.distance);var r=o.textPosition.indexOf("inside")>=0,i=e.fill||"#000";convertToEC4RichItem(o,t);var a=null==o.textFill;return r?a&&(o.textFill=n.insideFill||"#fff",!o.textStroke&&n.insideStroke&&(o.textStroke=n.insideStroke),!o.textStroke&&(o.textStroke=i),null==o.textStrokeWidth&&(o.textStrokeWidth=2)):(a&&(o.textFill=e.fill||n.outsideFill||"#000"),!o.textStroke&&n.outsideStroke&&(o.textStroke=n.outsideStroke)),o.text=t.text,o.rich=t.rich,each$f(t.rich,(function(e){convertToEC4RichItem(e,e)})),o}function convertToEC4RichItem(e,t){t&&(hasOwn(t,"fill")&&(e.textFill=t.fill),hasOwn(t,"stroke")&&(e.textStroke=t.fill),hasOwn(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),hasOwn(t,"font")&&(e.font=t.font),hasOwn(t,"fontStyle")&&(e.fontStyle=t.fontStyle),hasOwn(t,"fontWeight")&&(e.fontWeight=t.fontWeight),hasOwn(t,"fontSize")&&(e.fontSize=t.fontSize),hasOwn(t,"fontFamily")&&(e.fontFamily=t.fontFamily),hasOwn(t,"align")&&(e.textAlign=t.align),hasOwn(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),hasOwn(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),hasOwn(t,"width")&&(e.textWidth=t.width),hasOwn(t,"height")&&(e.textHeight=t.height),hasOwn(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),hasOwn(t,"padding")&&(e.textPadding=t.padding),hasOwn(t,"borderColor")&&(e.textBorderColor=t.borderColor),hasOwn(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),hasOwn(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),hasOwn(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),hasOwn(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),hasOwn(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),hasOwn(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),hasOwn(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),hasOwn(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),hasOwn(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),hasOwn(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var LEGACY_TRANSFORM_PROPS_MAP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},LEGACY_TRANSFORM_PROPS=keys(LEGACY_TRANSFORM_PROPS_MAP);reduce(TRANSFORMABLE_PROPS,(function(e,t){return e[t]=1,e}),{}),TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(e,t,n,o,r){var i=e+"Animation",a=getAnimationConfig(e,o,r)||{},l=transitionInnerStore(t).userDuring;return a.duration>0&&(a.during=l?bind$2(duringCall,{el:t,userDuring:l}):null,a.setToFinal=!0,a.scope=e),extend$1(a,n[i]),a}function applyUpdateTransition(e,t,n,o){var r=(o=o||{}).dataIndex,i=o.isInit,a=o.clearStyle,l=n.isAnimationEnabled(),s=transitionInnerStore(e),c=t.style;s.userDuring=t.during;var u={},d={};if(prepareTransformAllPropsFinal(e,t,d),prepareShapeOrExtraAllPropsFinal("shape",t,d),prepareShapeOrExtraAllPropsFinal("extra",t,d),!i&&l&&(prepareTransformTransitionFrom(e,t,u),prepareShapeOrExtraTransitionFrom("shape",e,t,u),prepareShapeOrExtraTransitionFrom("extra",e,t,u),prepareStyleTransitionFrom(e,t,c,u)),d.style=c,applyPropsDirectly(e,d,a),applyMiscProps(e,t),l)if(i){var p={};each$f(ELEMENT_ANIMATABLE_PROPS,(function(e){var n=e?t[e]:t;n&&n.enterFrom&&(e&&(p[e]=p[e]||{}),extend$1(e?p[e]:p,n.enterFrom))}));var f=getElementAnimationConfig("enter",e,t,n,r);f.duration>0&&e.animateFrom(p,f)}else applyPropsTransition(e,t,r||0,n,u);updateLeaveTo(e,t),c?e.dirty():e.markRedraw()}function updateLeaveTo(e,t){for(var n=transitionInnerStore(e).leaveToProps,o=0;o<ELEMENT_ANIMATABLE_PROPS.length;o++){var r=ELEMENT_ANIMATABLE_PROPS[o],i=r?t[r]:t;i&&i.leaveTo&&(n||(n=transitionInnerStore(e).leaveToProps={}),r&&(n[r]=n[r]||{}),extend$1(r?n[r]:n,i.leaveTo))}}function applyLeaveTransition(e,t,n,o){if(e){var r=e.parent,i=transitionInnerStore(e).leaveToProps;if(i){var a=getElementAnimationConfig("update",e,t,n,0);a.done=function(){r.remove(e)},e.animateTo(i,a)}else r.remove(e)}}function isTransitionAll(e){return"all"===e}function applyPropsDirectly(e,t,n){var o=t.style;if(!e.isGroup&&o){if(n){e.useStyle({});for(var r=e.animators,i=0;i<r.length;i++){var a=r[i];"style"===a.targetName&&a.changeTarget(e.style)}}e.setStyle(o)}t&&(t.style=null,t&&e.attr(t),t.style=o)}function applyPropsTransition(e,t,n,o,r){if(r){var i=getElementAnimationConfig("update",e,t,o,n);i.duration>0&&e.animateFrom(r,i)}}function applyMiscProps(e,t){hasOwn(t,"silent")&&(e.silent=t.silent),hasOwn(t,"ignore")&&(e.ignore=t.ignore),e instanceof Displayable&&hasOwn(t,"invisible")&&(e.invisible=t.invisible),e instanceof Path&&hasOwn(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(e,t){return tmpDuringScope.el[e]=t,this},getTransform:function(e){return tmpDuringScope.el[e]},setShape:function(e,t){var n=tmpDuringScope.el;return(n.shape||(n.shape={}))[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=tmpDuringScope.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=tmpDuringScope.el,o=n.style;return o&&(o[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=tmpDuringScope.el.style;if(t)return t[e]},setExtra:function(e,t){return(tmpDuringScope.el.extra||(tmpDuringScope.el.extra={}))[e]=t,this},getExtra:function(e){var t=tmpDuringScope.el.extra;if(t)return t[e]}};function duringCall(){var e=this,t=e.el;if(t){var n=transitionInnerStore(t).userDuring,o=e.userDuring;n===o?(tmpDuringScope.el=t,o(transitionDuringAPI)):e.el=e.userDuring=null}}function prepareShapeOrExtraTransitionFrom(e,t,n,o){var r=n[e];if(r){var i,a=t[e];if(a){var l=n.transition,s=r.transition;if(s)if(!i&&(i=o[e]={}),isTransitionAll(s))extend$1(i,a);else for(var c=normalizeToArray(s),u=0;u<c.length;u++){var d=a[f=c[u]];i[f]=d}else if(isTransitionAll(l)||indexOf(l,e)>=0){!i&&(i=o[e]={});var p=keys(a);for(u=0;u<p.length;u++){var f;d=a[f=p[u]];isNonStyleTransitionEnabled(r[f],d)&&(i[f]=d)}}}}}function prepareShapeOrExtraAllPropsFinal(e,t,n){var o=t[e];if(o)for(var r=n[e]={},i=keys(o),a=0;a<i.length;a++){var l=i[a];r[l]=cloneValue(o[l])}}function prepareTransformTransitionFrom(e,t,n){for(var o=t.transition,r=isTransitionAll(o)?TRANSFORMABLE_PROPS:normalizeToArray(o||[]),i=0;i<r.length;i++){var a=r[i];if("style"!==a&&"shape"!==a&&"extra"!==a){var l=e[a];n[a]=l}}}function prepareTransformAllPropsFinal(e,t,n){for(var o=0;o<LEGACY_TRANSFORM_PROPS.length;o++){var r=LEGACY_TRANSFORM_PROPS[o],i=LEGACY_TRANSFORM_PROPS_MAP[r],a=t[r];a&&(n[i[0]]=a[0],n[i[1]]=a[1])}for(o=0;o<TRANSFORMABLE_PROPS.length;o++){var l=TRANSFORMABLE_PROPS[o];null!=t[l]&&(n[l]=t[l])}}function prepareStyleTransitionFrom(e,t,n,o){if(n){var r,i=e.style;if(i){var a=n.transition,l=t.transition;if(a&&!isTransitionAll(a)){var s=normalizeToArray(a);!r&&(r=o.style={});for(var c=0;c<s.length;c++){var u=i[h=s[c]];r[h]=u}}else if(e.getAnimationStyleProps&&(isTransitionAll(l)||isTransitionAll(a)||indexOf(l,"style")>=0)){var d=e.getAnimationStyleProps(),p=d?d.style:null;if(p){!r&&(r=o.style={});var f=keys(n);for(c=0;c<f.length;c++){var h;if(p[h=f[c]]){u=i[h];r[h]=u}}}}}}}function isNonStyleTransitionEnabled(e,t){return isArrayLike(e)?e!==t:null!=e&&isFinite(e)}var getStateToRestore=makeInner(),KEYFRAME_EXCLUDE_KEYS=["percent","easing","shape","style","extra"];function stopPreviousKeyframeAnimationAndRestore(e){e.stopAnimation("keyframe"),e.attr(getStateToRestore(e))}function applyKeyframeAnimation(e,t,n){if(n.isAnimationEnabled()&&t)if(isArray$2(t))each$f(t,(function(t){applyKeyframeAnimation(e,t,n)}));else{var o=t.keyframes,r=t.duration;if(n&&null==r){var i=getAnimationConfig("enter",n,0);r=i&&i.duration}if(o&&r){var a=getStateToRestore(e);each$f(ELEMENT_ANIMATABLE_PROPS,(function(n){var i;n&&!e[n]||(o.sort((function(e,t){return e.percent-t.percent})),each$f(o,(function(o){var l=e.animators,s=n?o[n]:o;if(s){var c=keys(s);if(n||(c=filter(c,(function(e){return indexOf(KEYFRAME_EXCLUDE_KEYS,e)<0}))),c.length){i||((i=e.animate(n,t.loop,!0)).scope="keyframe");for(var u=0;u<l.length;u++)l[u]!==i&&l[u].targetName===i.targetName&&l[u].stopTracks(c);n&&(a[n]=a[n]||{});var d=n?a[n]:a;each$f(c,(function(t){d[t]=((n?e[n]:e)||{})[t]})),i.whenWithKeys(r*o.percent,s,c,o.easing)}}})),i&&i.delay(t.delay||0).duration(r).start(t.easing))}))}}}var EMPHASIS="emphasis",NORMAL="normal",BLUR="blur",SELECT="select",STATES=[NORMAL,EMPHASIS,BLUR,SELECT],PATH_ITEM_STYLE={normal:["itemStyle"],emphasis:[EMPHASIS,"itemStyle"],blur:[BLUR,"itemStyle"],select:[SELECT,"itemStyle"]},PATH_LABEL={normal:["label"],emphasis:[EMPHASIS,"label"],blur:[BLUR,"label"],select:[SELECT,"label"]},DEFAULT_TRANSITION=["x","y"],GROUP_DIFF_PREFIX="e\0\0",attachedTxInfoTmp={normal:{},emphasis:{},blur:{},select:{}},prepareCustoms={cartesian2d:cartesianPrepareCustom,geo:geoPrepareCustom,single:singlePrepareCustom,polar:polarPrepareCustom,calendar:calendarPrepareCustom};function isPath(e){return e instanceof Path}function isDisplayable(e){return e instanceof Displayable}function copyElement(e,t){t.copyTransform(e),isDisplayable(t)&&isDisplayable(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,isPath(t)&&isPath(e)&&t.setShape(e.shape))}var CustomChartView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n,o){this._progressiveEls=null;var r=this._data,i=e.getData(),a=this.group,l=makeRenderItem(e,i,t,n);r||a.removeAll(),i.diff(r).add((function(t){createOrUpdateItem(n,null,t,l(t,o),e,a,i)})).remove((function(t){var n=r.getItemGraphicEl(t);n&&applyLeaveTransition(n,customInnerStore(n).option,e)})).update((function(t,s){var c=r.getItemGraphicEl(s);createOrUpdateItem(n,c,t,l(t,o),e,a,i)})).execute();var s=e.get("clip",!0)?createClipPath(e.coordinateSystem,!1,e):null;s?a.setClipPath(s):a.removeClipPath(),this._data=i},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,o,r){var i=t.getData(),a=makeRenderItem(t,i,n,o),l=this._progressiveEls=[];function s(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var c=e.start;c<e.end;c++){var u=createOrUpdateItem(null,null,c,a(c,r),t,this.group,i);u&&(u.traverse(s),l.push(u))}},t.prototype.eachRendered=function(e){traverseElements(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,n,o){var r=t.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},t.type="custom",t}(ChartView);function createEl$1(e){var t,n=e.type;if("path"===n){var o=e.shape,r=null!=o.width&&null!=o.height?{x:o.x||0,y:o.y||0,width:o.width,height:o.height}:null,i=getPathData(o);t=makePath(i,null,r,o.layout||"center"),customInnerStore(t).customPathData=i}else if("image"===n)t=new ZRImage({}),customInnerStore(t).customImagePath=e.style.image;else if("text"===n)t=new ZRText({});else if("group"===n)t=new Group$3;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=getShapeClass(n);if(!a){throwError$1("")}t=new a}return customInnerStore(t).customGraphicType=n,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function updateElNormal(e,t,n,o,r,i,a){stopPreviousKeyframeAnimationAndRestore(t);var l=r&&r.normal.cfg;l&&t.setTextConfig(l),o&&null==o.transition&&(o.transition=DEFAULT_TRANSITION);var s=o&&o.style;if(s){if("text"===t.type){var c=s;hasOwn(c,"textFill")&&(c.fill=c.textFill),hasOwn(c,"textStroke")&&(c.stroke=c.textStroke)}var u=void 0,d=isPath(t)?s.decal:null;e&&d&&(d.dirty=!0,u=createOrUpdatePatternFromDecal(d,e)),s.__decalPattern=u}isDisplayable(t)&&(s&&(u=s.__decalPattern)&&(s.decal=u));applyUpdateTransition(t,o,i,{dataIndex:n,isInit:a,clearStyle:!0}),applyKeyframeAnimation(t,o.keyframeAnimation,i)}function updateElOnState(e,t,n,o,r){var i=t.isGroup?null:t,a=r&&r[e].cfg;if(i){var l=i.ensureState(e);if(!1===o){var s=i.getState(e);s&&(s.style=null)}else l.style=o||null;a&&(l.textConfig=a),setDefaultStateProxy(i)}}function updateZ(e,t,n){if(!e.isGroup){var o=e,r=n.currentZ,i=n.currentZLevel;o.z=r,o.zlevel=i;var a=t.z2;null!=a&&(o.z2=a||0);for(var l=0;l<STATES.length;l++)updateZForEachState(o,t,STATES[l])}}function updateZForEachState(e,t,n){var o=n===NORMAL,r=o?t:retrieveStateOption(t,n),i=r?r.z2:null;null!=i&&((o?e:e.ensureState(n)).z2=i||0)}function makeRenderItem(e,t,n,o){var r=e.get("renderItem"),i=e.coordinateSystem,a={};i&&(a=i.prepareCustoms?i.prepareCustoms(i):prepareCustoms[i.type](i));for(var l,s,c=defaults$1({getWidth:o.getWidth,getHeight:o.getHeight,getZr:o.getZr,getDevicePixelRatio:o.getDevicePixelRatio,value:function(e,n){return null==n&&(n=l),t.getStore().get(t.getDimensionIndex(e||0),n)},style:function(n,o){null==o&&(o=l);var r=t.getItemVisual(o,"style"),i=r&&r.fill,a=r&&r.opacity,s=y(o,NORMAL).getItemStyle();null!=i&&(s.fill=i),null!=a&&(s.opacity=a);var c={inheritColor:isString$2(i)?i:"#000"},u=b(o,NORMAL),d=createTextStyle(u,null,c,!1,!0);d.text=u.getShallow("show")?retrieve2(e.getFormattedLabel(o,NORMAL),getDefaultLabel(t,o)):null;var p=createTextConfig(u,c,!1);return w(n,s),s=convertToEC4StyleForCustomSerise(s,d,p),n&&_(s,n),s.legacy=!0,s},ordinalRawValue:function(e,n){null==n&&(n=l),e=e||0;var o=t.getDimensionInfo(e);if(!o){var r=t.getDimensionIndex(e);return r>=0?t.getStore().get(r,n):void 0}var i=t.get(o.name,n),a=o&&o.ordinalMeta;return a?a.categories[i]:i},styleEmphasis:function(n,o){null==o&&(o=l);var r=y(o,EMPHASIS).getItemStyle(),i=b(o,EMPHASIS),a=createTextStyle(i,null,null,!0,!0);a.text=i.getShallow("show")?retrieve3(e.getFormattedLabel(o,EMPHASIS),e.getFormattedLabel(o,NORMAL),getDefaultLabel(t,o)):null;var s=createTextConfig(i,null,!0);return w(n,r),r=convertToEC4StyleForCustomSerise(r,a,s),n&&_(r,n),r.legacy=!0,r},visual:function(e,n){if(null==n&&(n=l),hasOwn(STYLE_VISUAL_TYPE,e)){var o=t.getItemVisual(n,"style");return o?o[STYLE_VISUAL_TYPE[e]]:null}if(hasOwn(NON_STYLE_VISUAL_PROPS,e))return t.getItemVisual(n,e)},barLayout:function(e){if("cartesian2d"===i.type){return getLayoutOnAxis(defaults$1({axis:i.getBaseAxis()},e))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(e){return getFont(e,n)}},a.api||{}),u={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:wrapEncodeDef(e.getData())},d={},p={},f={},h={},m=0;m<STATES.length;m++){var g=STATES[m];f[g]=e.getModel(PATH_ITEM_STYLE[g]),h[g]=e.getModel(PATH_LABEL[g])}function v(e){return e===l?s||(s=t.getItemModel(e)):t.getItemModel(e)}function y(e,n){return t.hasItemOption?e===l?d[n]||(d[n]=v(e).getModel(PATH_ITEM_STYLE[n])):v(e).getModel(PATH_ITEM_STYLE[n]):f[n]}function b(e,n){return t.hasItemOption?e===l?p[n]||(p[n]=v(e).getModel(PATH_LABEL[n])):v(e).getModel(PATH_LABEL[n]):h[n]}return function(e,n){return l=e,s=null,d={},p={},r&&r(defaults$1({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},u),c)};function _(e,t){for(var n in t)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 wrapEncodeDef(e){var t={};return each$f(e.dimensions,(function(n){var o=e.getDimensionInfo(n);if(!o.isExtraCoord){var r=o.coordDim;(t[r]=t[r]||[])[o.coordDimIndex]=e.getDimensionIndex(n)}})),t}function createOrUpdateItem(e,t,n,o,r,i,a){if(o){var l=doCreateOrUpdateEl(e,t,n,o,r,i);return l&&a.setItemGraphicEl(n,l),l&&toggleHoverEmphasis(l,o.focus,o.blurScope,o.emphasisDisabled),l}i.remove(t)}function doCreateOrUpdateEl(e,t,n,o,r,i){var a=-1,l=t;t&&doesElNeedRecreate(t,o,r)&&(a=indexOf(i.childrenRef(),t),t=null);var s=!t,c=t;c?c.clearStates():(c=createEl$1(o),l&©Element(l,c)),!1===o.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),attachedTxInfoTmp.normal.cfg=attachedTxInfoTmp.normal.conOpt=attachedTxInfoTmp.emphasis.cfg=attachedTxInfoTmp.emphasis.conOpt=attachedTxInfoTmp.blur.cfg=attachedTxInfoTmp.blur.conOpt=attachedTxInfoTmp.select.cfg=attachedTxInfoTmp.select.conOpt=null,attachedTxInfoTmp.isLegacy=!1,doCreateOrUpdateAttachedTx(c,n,o,r,s,attachedTxInfoTmp),doCreateOrUpdateClipPath(c,n,o,r,s),updateElNormal(e,c,n,o,attachedTxInfoTmp,r,s),hasOwn(o,"info")&&(customInnerStore(c).info=o.info);for(var u=0;u<STATES.length;u++){var d=STATES[u];if(d!==NORMAL){var p=retrieveStateOption(o,d);updateElOnState(d,c,p,retrieveStyleOptionOnState(o,p,d),attachedTxInfoTmp)}}return updateZ(c,o,r),"group"===o.type&&mergeChildren(e,c,n,o,r),a>=0?i.replaceAt(c,a):i.add(c),c}function doesElNeedRecreate(e,t,n){var o=customInnerStore(e),r=t.type,i=t.shape,a=t.style;return n.isUniversalTransitionEnabled()||null!=r&&r!==o.customGraphicType||"path"===r&&hasOwnPathData(i)&&getPathData(i)!==o.customPathData||"image"===r&&hasOwn(a,"image")&&a.image!==o.customImagePath}function doCreateOrUpdateClipPath(e,t,n,o,r){var i=n.clipPath;if(!1===i)e&&e.getClipPath()&&e.removeClipPath();else if(i){var a=e.getClipPath();a&&doesElNeedRecreate(a,i,o)&&(a=null),a||(a=createEl$1(i),e.setClipPath(a)),updateElNormal(null,a,t,i,null,o,r)}}function doCreateOrUpdateAttachedTx(e,t,n,o,r,i){if(!e.isGroup){processTxInfo(n,null,i),processTxInfo(n,EMPHASIS,i);var a=i.normal.conOpt,l=i.emphasis.conOpt,s=i.blur.conOpt,c=i.select.conOpt;if(null!=a||null!=l||null!=c||null!=s){var u=e.getTextContent();if(!1===a)u&&e.removeTextContent();else{a=i.normal.conOpt=a||{type:"text"},u?u.clearStates():(u=createEl$1(a),e.setTextContent(u)),updateElNormal(null,u,t,a,null,o,r);for(var d=a&&a.style,p=0;p<STATES.length;p++){var f=STATES[p];if(f!==NORMAL){var h=i[f].conOpt;updateElOnState(f,u,h,retrieveStyleOptionOnState(a,h,f),null)}}d?u.dirty():u.markRedraw()}}}}function processTxInfo(e,t,n){var o=t?retrieveStateOption(e,t):e,r=t?retrieveStyleOptionOnState(e,o,EMPHASIS):e.style,i=e.type,a=o?o.textConfig:null,l=e.textContent,s=l?t?retrieveStateOption(l,t):l:null;if(r&&(n.isLegacy||isEC4CompatibleStyle(r,i,!!a,!!s))){n.isLegacy=!0;var c=convertFromEC4CompatibleStyle(r,i,!t);!a&&c.textConfig&&(a=c.textConfig),!s&&c.textContent&&(s=c.textContent)}if(!t&&s){var u=s;!u.type&&(u.type="text")}var d=t?n[t]:n.normal;d.cfg=a,d.conOpt=s}function retrieveStateOption(e,t){return t?e?e[t]:null:e}function retrieveStyleOptionOnState(e,t,n){var o=t&&t.style;return null==o&&n===EMPHASIS&&e&&(o=e.styleEmphasis),o}function mergeChildren(e,t,n,o,r){var i=o.children,a=i?i.length:0,l=o.$mergeChildren,s="byName"===l||o.diffChildrenByName,c=!1===l;if(a||s||c)if(s)diffGroupChildren({api:e,oldChildren:t.children()||[],newChildren:i||[],dataIndex:n,seriesModel:r,group:t});else{c&&t.removeAll();for(var u=0;u<a;u++){var d=i[u],p=t.childAt(u);d?(null==d.ignore&&(d.ignore=!1),doCreateOrUpdateEl(e,p,n,d,r,t)):p.ignore=!0}for(var f=t.childCount()-1;f>=u;f--){var h=t.childAt(f);removeChildFromGroup(t,h,r)}}}function removeChildFromGroup(e,t,n){t&&applyLeaveTransition(t,customInnerStore(e).option,n)}function diffGroupChildren(e){new DataDiffer(e.oldChildren,e.newChildren,getKey,getKey,e).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute()}function getKey(e,t){var n=e&&e.name;return null!=n?n:GROUP_DIFF_PREFIX+t}function processAddUpdate(e,t){var n=this.context,o=null!=e?n.newChildren[e]:null,r=null!=t?n.oldChildren[t]:null;doCreateOrUpdateEl(n.api,r,n.dataIndex,o,n.seriesModel,n.group)}function processRemove(e){var t=this.context,n=t.oldChildren[e];n&&applyLeaveTransition(n,customInnerStore(n).option,t.seriesModel)}function getPathData(e){return e&&(e.pathData||e.d)}function hasOwnPathData(e){return e&&(hasOwn(e,"pathData")||hasOwn(e,"d"))}function install$s(e){e.registerChartView(CustomChartView),e.registerSeriesModel(CustomSeriesModel)}var inner$b=makeInner(),clone$1=clone$4,bind$1=bind$2,BaseAxisPointer=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,o){var r=t.get("value"),i=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,o||this._lastValue!==r||this._lastStatus!==i){this._lastValue=r,this._lastStatus=i;var a=this._group,l=this._handle;if(!i||"hide"===i)return a&&a.hide(),void(l&&l.hide());a&&a.show(),l&&l.show();var s={};this.makeElOption(s,r,e,t,n);var c=s.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var u=this._moveAnimation=this.determineAnimation(e,t);if(a){var d=curry$1(updateProps,t,u);this.updatePointerEl(a,s,d),this.updateLabelEl(a,s,d,t)}else a=this._group=new Group$3,this.createPointerEl(a,s,e,t),this.createLabelEl(a,s,e,t),n.getZr().add(a);updateMandatoryProps(a,t,!0),this._renderHandle(r)}},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"),o=e.axis,r="category"===o.type,i=t.get("snap");if(!i&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&o.getBandWidth()>a)return!0;if(i){var l=getAxisInfo$1(e).seriesDataCount,s=o.getExtent();return Math.abs(s[0]-s[1])/l>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,o,r){},e.prototype.createPointerEl=function(e,t,n,o){var r=t.pointer;if(r){var i=inner$b(e).pointerEl=new graphic[r.type](clone$1(t.pointer));e.add(i)}},e.prototype.createLabelEl=function(e,t,n,o){if(t.label){var r=inner$b(e).labelEl=new ZRText(clone$1(t.label));e.add(r),updateLabelShowHide(r,o)}},e.prototype.updatePointerEl=function(e,t,n){var o=inner$b(e).pointerEl;o&&t.pointer&&(o.setStyle(t.pointer.style),n(o,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,o){var r=inner$b(e).labelEl;r&&(r.setStyle(t.label.style),n(r,{x:t.label.x,y:t.label.y}),updateLabelShowHide(r,o))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,o=this._api.getZr(),r=this._handle,i=n.getModel("handle"),a=n.get("status");if(!i.get("show")||!a||"hide"===a)return r&&o.remove(r),void(this._handle=null);this._handle||(t=!0,r=this._handle=createIcon(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){stop(e.event)},onmousedown:bind$1(this._onHandleDragMove,this,0,0),drift:bind$1(this._onHandleDragMove,this),ondragend:bind$1(this._onHandleDragEnd,this)}),o.add(r)),updateMandatoryProps(r,n,!1),r.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=i.get("size");isArray$2(l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){updateProps(this._axisPointerModel,!t&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var o=this.updateHandleTransform(getHandleTransProps(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=o,n.stopAnimation(),n.attr(getHandleTransProps(o)),inner$b(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,o=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),o&&t.remove(o),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(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 updateProps(e,t,n,o){propsEqual(inner$b(n).lastProp,o)||(inner$b(n).lastProp=o,t?updateProps$1(n,o,e):(n.stopAnimation(),n.attr(o)))}function propsEqual(e,t){if(isObject$4(e)&&isObject$4(t)){var n=!0;return each$f(t,(function(t,o){n=n&&propsEqual(e[o],t)})),!!n}return e===t}function updateLabelShowHide(e,t){e[t.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function updateMandatoryProps(e,t,n){var o=t.get("z"),r=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=o&&(e.z=o),null!=r&&(e.zlevel=r),e.silent=n)}))}function buildElStyle(e){var t,n=e.get("type"),o=e.getModel(n+"Style");return"line"===n?(t=o.getLineStyle()).fill=null:"shadow"===n&&((t=o.getAreaStyle()).stroke=null),t}function buildLabelElOption(e,t,n,o,r){var i=getValueLabel(n.get("value"),t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),l=normalizeCssArray(a.get("padding")||0),s=a.getFont(),c=getBoundingRect(i,s),u=r.position,d=c.width+l[1]+l[3],p=c.height+l[0]+l[2],f=r.align;"right"===f&&(u[0]-=d),"center"===f&&(u[0]-=d/2);var h=r.verticalAlign;"bottom"===h&&(u[1]-=p),"middle"===h&&(u[1]-=p/2),confineInContainer(u,d,p,o);var m=a.get("backgroundColor");m&&"auto"!==m||(m=t.get(["axisLine","lineStyle","color"])),e.label={x:u[0],y:u[1],style:createTextStyle(a,{text:i,font:s,fill:a.getTextColor(),padding:l,backgroundColor:m}),z2:10}}function confineInContainer(e,t,n,o){var r=o.getWidth(),i=o.getHeight();e[0]=Math.min(e[0]+t,r)-t,e[1]=Math.min(e[1]+n,i)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function getValueLabel(e,t,n,o,r){e=t.scale.parse(e);var i=t.scale.getLabel({value:e},{precision:r.precision}),a=r.formatter;if(a){var l={value:getAxisRawValue(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};each$f(o,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),o=e.dataIndexInside,r=t&&t.getDataParams(o);r&&l.seriesData.push(r)})),isString$2(a)?i=a.replace("{value}",i):isFunction$2(a)&&(i=a(l))}return i}function getTransformedPosition(e,t,n){var o=create$1();return rotate(o,o,n.rotation),translate$1(o,o,n.position),applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],o)}function buildCartesianSingleLabelElOption(e,t,n,o,r,i){var a=AxisBuilder.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),buildLabelElOption(t,o,r,i,{position:getTransformedPosition(o.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function makeLineShape(e,t,n){return{x1:e[n=n||0],y1:e[1-n],x2:t[n],y2:t[1-n]}}function makeRectShape(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}}function makeSectorShape(e,t,n,o,r,i){return{cx:e,cy:t,r0:n,r:o,startAngle:r,endAngle:i,clockwise:!0}}var CartesianAxisPointer=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.makeElOption=function(e,t,n,o,r){var i=n.axis,a=i.grid,l=o.get("type"),s=getCartesian(a,i).getOtherAxis(i).getGlobalExtent(),c=i.toGlobalCoord(i.dataToCoord(t,!0));if(l&&"none"!==l){var u=buildElStyle(o),d=pointerShapeBuilder$2[l](i,c,s);d.style=u,e.graphicKey=d.type,e.pointer=d}buildCartesianSingleLabelElOption(t,e,layout$3(a.model,n),n,o,r)},t.prototype.getHandleTransform=function(e,t,n){var o=layout$3(t.axis.grid.model,t,{labelInside:!1});o.labelMargin=n.get(["handle","margin"]);var r=getTransformedPosition(t.axis,e,o);return{x:r[0],y:r[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,o){var r=n.axis,i=r.grid,a=r.getGlobalExtent(!0),l=getCartesian(i,r).getOtherAxis(r).getGlobalExtent(),s="x"===r.dim?0:1,c=[e.x,e.y];c[s]+=t[s],c[s]=Math.min(a[1],c[s]),c[s]=Math.max(a[0],c[s]);var u=(l[1]+l[0])/2,d=[u,u];d[s]=c[s];return{x:c[0],y:c[1],rotation:e.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][s]}},t}(BaseAxisPointer);function getCartesian(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var pointerShapeBuilder$2={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:makeLineShape([t,n[0]],[t,n[1]],getAxisDimIndex(e))}},shadow:function(e,t,n){var o=Math.max(1,e.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:makeRectShape([t-o/2,n[0]],[o,r],getAxisDimIndex(e))}}};function getAxisDimIndex(e){return"x"===e.dim?0:1}var AxisPointerModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(ComponentModel),inner$a=makeInner(),each$8=each$f;function register(e,t,n){if(!env.node){var o=t.getZr();inner$a(o).records||(inner$a(o).records={}),initGlobalListeners(o,t),(inner$a(o).records[e]||(inner$a(o).records[e]={})).handler=n}}function initGlobalListeners(e,t){function n(n,o){e.on(n,(function(n){var r=makeDispatchAction$1(t);each$8(inner$a(e).records,(function(e){e&&o(e,n,r.dispatchAction)})),dispatchTooltipFinally(r.pendings,t)}))}inner$a(e).initialized||(inner$a(e).initialized=!0,n("click",curry$1(doEnter,"click")),n("mousemove",curry$1(doEnter,"mousemove")),n("globalout",onLeave))}function dispatchTooltipFinally(e,t){var n,o=e.showTip.length,r=e.hideTip.length;o?n=e.showTip[o-1]:r&&(n=e.hideTip[r-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function onLeave(e,t,n){e.handler("leave",null,n)}function doEnter(e,t,n,o){t.handler(e,n,o)}function makeDispatchAction$1(e){var t={showTip:[],hideTip:[]},n=function(o){var r=t[o.type];r?r.push(o):(o.dispatchAction=n,e.dispatchAction(o))};return{dispatchAction:n,pendings:t}}function unregister(e,t){if(!env.node){var n=t.getZr();(inner$a(n).records||{})[e]&&(inner$a(n).records[e]=null)}}var AxisPointerView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=t.getComponent("tooltip"),r=e.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";register("axisPointer",n,(function(e,t,n){"none"!==r&&("leave"===e||r.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){unregister("axisPointer",t)},t.prototype.dispose=function(e,t){unregister("axisPointer",t)},t.type="axisPointer",t}(ComponentView);function findPointFromSeries(e,t){var n,o=[],r=e.seriesIndex;if(null==r||!(n=t.getSeriesByIndex(r)))return{point:[]};var i=n.getData(),a=queryDataIndex(i,e);if(null==a||a<0||isArray$2(a))return{point:[]};var l=i.getItemGraphicEl(a),s=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(a)||[];else if(s&&s.dataToPoint)if(e.isStacked){var c=s.getBaseAxis(),u=s.getOtherAxis(c).dim,d=c.dim,p="x"===u||"radius"===u?1:0,f=i.mapDimension(d),h=[];h[p]=i.get(f,a),h[1-p]=i.get(i.getCalculationInfo("stackResultDimension"),a),o=s.dataToPoint(h)||[]}else o=s.dataToPoint(i.getValues(map$1(s.dimensions,(function(e){return i.mapDimension(e)})),a))||[];else if(l){var m=l.getBoundingRect().clone();m.applyTransform(l.transform),o=[m.x+m.width/2,m.y+m.height/2]}return{point:o,el:l}}var inner$9=makeInner();function axisTrigger(e,t,n){var o=e.currTrigger,r=[e.x,e.y],i=e,a=e.dispatchAction||bind$2(n.dispatchAction,n),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){illegalPoint(r)&&(r=findPointFromSeries({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},t).point);var s=illegalPoint(r),c=i.axesInfo,u=l.axesInfo,d="leave"===o||illegalPoint(r),p={},f={},h={list:[],map:{}},m={showPointer:curry$1(showPointer,f),showTooltip:curry$1(showTooltip,h)};each$f(l.coordSysMap,(function(e,t){var n=s||e.containPoint(r);each$f(l.coordSysAxesInfo[t],(function(e,t){var o=e.axis,i=findInputAxisInfo(c,e);if(!d&&n&&(!c||i)){var a=i&&i.value;null!=a||s||(a=o.pointToData(r)),null!=a&&processOnAxis(e,a,m,!1,p)}}))}));var g={};return each$f(u,(function(e,t){var n=e.linkGroup;n&&!f[t]&&each$f(n.axesInfo,(function(t,o){var r=f[o];if(t!==e&&r){var i=r.value;n.mapper&&(i=e.axis.scale.parse(n.mapper(i,makeMapperParam(t),makeMapperParam(e)))),g[e.key]=i}}))})),each$f(g,(function(e,t){processOnAxis(u[t],e,m,!0,p)})),updateModelActually(f,u,p),dispatchTooltipActually(h,r,e,a),dispatchHighDownActually(u,a,n),p}}function processOnAxis(e,t,n,o,r){var i=e.axis;if(!i.scale.isBlank()&&i.containData(t))if(e.involveSeries){var a=buildPayloadsBySeries(t,e),l=a.payloadBatch,s=a.snapToValue;l[0]&&null==r.seriesIndex&&extend$1(r,l[0]),!o&&e.snap&&i.containData(s)&&null!=s&&(t=s),n.showPointer(e,t,l),n.showTooltip(e,a,s)}else n.showPointer(e,t)}function buildPayloadsBySeries(e,t){var n=t.axis,o=n.dim,r=e,i=[],a=Number.MAX_VALUE,l=-1;return each$f(t.seriesModels,(function(t,s){var c,u,d=t.getData().mapDimensionsAll(o);if(t.getAxisTooltipData){var p=t.getAxisTooltipData(d,e,n);u=p.dataIndices,c=p.nestestValue}else{if(!(u=t.getData().indicesOfNearest(d[0],e,"category"===n.type?.5:null)).length)return;c=t.getData().get(d[0],u[0])}if(null!=c&&isFinite(c)){var f=e-c,h=Math.abs(f);h<=a&&((h<a||f>=0&&l<0)&&(a=h,l=f,r=c,i.length=0),each$f(u,(function(e){i.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:i,snapToValue:r}}function showPointer(e,t,n,o){e[t.key]={value:n,payloadBatch:o}}function showTooltip(e,t,n,o){var r=n.payloadBatch,i=t.axis,a=i.model,l=t.axisPointerModel;if(t.triggerTooltip&&r.length){var s=t.coordSys.model,c=makeKey(s),u=e.map[c];u||(u=e.map[c]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},e.list.push(u)),u.dataByAxis.push({axisDim:i.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:o,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function updateModelActually(e,t,n){var o=n.axesInfo=[];each$f(t,(function(t,n){var r=t.axisPointerModel.option,i=e[n];i?(!t.useHandle&&(r.status="show"),r.value=i.value,r.seriesDataIndices=(i.payloadBatch||[]).slice()):!t.useHandle&&(r.status="hide"),"show"===r.status&&o.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:r.value})}))}function dispatchTooltipActually(e,t,n,o){if(!illegalPoint(t)&&e.list.length){var r=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};o({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:e.list})}else o({type:"hideTip"})}function dispatchHighDownActually(e,t,n){var o=n.getZr(),r="axisPointerLastHighlights",i=inner$9(o)[r]||{},a=inner$9(o)[r]={};each$f(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&e.triggerEmphasis&&each$f(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e}))}));var l=[],s=[];each$f(i,(function(e,t){!a[t]&&s.push(e)})),each$f(a,(function(e,t){!i[t]&&l.push(e)})),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function findInputAxisInfo(e,t){for(var n=0;n<(e||[]).length;n++){var o=e[n];if(t.axis.dim===o.axisDim&&t.axis.model.componentIndex===o.axisIndex)return o}}function makeMapperParam(e){var t=e.axis.model,n={},o=n.axisDim=e.axis.dim;return n.axisIndex=n[o+"AxisIndex"]=t.componentIndex,n.axisName=n[o+"AxisName"]=t.name,n.axisId=n[o+"AxisId"]=t.id,n}function illegalPoint(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function install$r(e){AxisView.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer),e.registerComponentModel(AxisPointerModel),e.registerComponentView(AxisPointerView),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!isArray$2(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=collect(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$q(e){use(install$O),use(install$r)}var PolarAxisPointer=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.makeElOption=function(e,t,n,o,r){var i=n.axis;"angle"===i.dim&&(this.animationThreshold=Math.PI/18);var a=i.polar,l=a.getOtherAxis(i).getExtent(),s=i.dataToCoord(t),c=o.get("type");if(c&&"none"!==c){var u=buildElStyle(o),d=pointerShapeBuilder$1[c](i,a,s,l);d.style=u,e.graphicKey=d.type,e.pointer=d}var p=o.get(["label","margin"]);buildLabelElOption(e,n,o,r,getLabelPosition(t,n,o,a,p))},t}(BaseAxisPointer);function getLabelPosition(e,t,n,o,r){var i=t.axis,a=i.dataToCoord(e),l=o.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var s,c,u,d=o.getRadiusAxis().getExtent();if("radius"===i.dim){var p=create$1();rotate(p,p,l),translate$1(p,p,[o.cx,o.cy]),s=applyTransform([a,-r],p);var f=t.getModel("axisLabel").get("rotate")||0,h=AxisBuilder.innerTextLayout(l,f*Math.PI/180,-1);c=h.textAlign,u=h.textVerticalAlign}else{var m=d[1];s=o.coordToPoint([m+r,a]);var g=o.cx,v=o.cy;c=Math.abs(s[0]-g)/m<.3?"center":s[0]>g?"left":"right",u=Math.abs(s[1]-v)/m<.3?"middle":s[1]>v?"top":"bottom"}return{position:s,align:c,verticalAlign:u}}var pointerShapeBuilder$1={line:function(e,t,n,o){return"angle"===e.dim?{type:"Line",shape:makeLineShape(t.coordToPoint([o[0],n]),t.coordToPoint([o[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,o){var r=Math.max(1,e.getBandWidth()),i=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:makeSectorShape(t.cx,t.cy,o[0],o[1],(-n-r/2)*i,(r/2-n)*i)}:{type:"Sector",shape:makeSectorShape(t.cx,t.cy,n-r/2,n+r/2,0,2*Math.PI)}}},PolarModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(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}(ComponentModel),PolarAxisModel=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",SINGLE_REFERRING).models[0]},t.type="polarAxis",t}(ComponentModel);mixin(PolarAxisModel,AxisModelCommonMixin);var AngleAxisModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="angleAxis",t}(PolarAxisModel),RadiusAxisModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="radiusAxis",t}(PolarAxisModel),RadiusAxis=function(e){function t(t,n){return e.call(this,"radius",t,n)||this}return __extends(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(Axis);RadiusAxis.prototype.dataToRadius=Axis.prototype.dataToCoord,RadiusAxis.prototype.radiusToData=Axis.prototype.coordToData;var inner$8=makeInner(),AngleAxis=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return __extends(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,t=e.getLabelModel(),n=e.scale,o=n.getExtent(),r=n.count();if(o[1]-o[0]<1)return 0;var i=o[0],a=e.dataToCoord(i+1)-e.dataToCoord(i),l=Math.abs(a),s=getBoundingRect(null==i?"":i+"",t.getFont(),"center","top"),c=Math.max(s.height,7)/l;isNaN(c)&&(c=1/0);var u=Math.max(0,Math.floor(c)),d=inner$8(e.model),p=d.lastAutoInterval,f=d.lastTickCount;return null!=p&&null!=f&&Math.abs(p-u)<=1&&Math.abs(f-r)<=1&&p>u?u=p:(d.lastTickCount=r,d.lastAutoInterval=u),u},t}(Axis);AngleAxis.prototype.dataToAngle=Axis.prototype.dataToCoord,AngleAxis.prototype.angleToData=Axis.prototype.coordToData;var polarDimensions=["radius","angle"],Polar=function(){function e(e){this.dimensions=polarDimensions,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new RadiusAxis,this._angleAxis=new AngleAxis,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,o=this._radiusAxis;return n.scale.type===e&&t.push(n),o.scale.type===e&&t.push(o),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,o=this.getAngleAxis(),r=o.getExtent(),i=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);o.inverse?i=a-360:a=i+360;var l=Math.sqrt(t*t+n*n);t/=l,n/=l;for(var s=Math.atan2(-n,t)/Math.PI*180,c=s<i?1:-1;s<i||s>a;)s+=360*c;return[l,s]},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(),o=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*o,endAngle:-n[1]*o,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,o=t-this.cy,i=n*n+o*o,a=this.r,l=this.r0;return a!==l&&i-r<=a*a&&i+r>=l*l}}},e.prototype.convertToPixel=function(e,t,n){return getCoordSys$2(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return getCoordSys$2(t)===this?this.pointToData(n):null},e}();function getCoordSys$2(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function resizePolar(e,t,n){var o=t.get("center"),r=n.getWidth(),i=n.getHeight();e.cx=parsePercent(o[0],r),e.cy=parsePercent(o[1],i);var a=e.getRadiusAxis(),l=Math.min(r,i)/2,s=t.get("radius");null==s?s=[0,"100%"]:isArray$2(s)||(s=[0,s]);var c=[parsePercent(s[0],l),parsePercent(s[1],l)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}function updatePolarScale(e,t){var n=this,o=n.getAngleAxis(),r=n.getRadiusAxis();if(o.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();each$f(getDataDimensionsOnAxis(t,"radius"),(function(e){r.scale.unionExtentFromData(t,e)})),each$f(getDataDimensionsOnAxis(t,"angle"),(function(e){o.scale.unionExtentFromData(t,e)}))}})),niceScaleExtent(o.scale,o.model),niceScaleExtent(r.scale,r.model),"category"===o.type&&!o.onBand){var i=o.getExtent(),a=360/o.scale.count();o.inverse?i[1]+=a:i[1]-=a,o.setExtent(i[0],i[1])}}function isAngleAxisModel(e){return"angleAxis"===e.mainType}function setAxis(e,t){var n;if(e.type=t.get("type"),e.scale=createScaleByModel$1(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),isAngleAxisModel(t)){e.inverse=e.inverse!==t.get("clockwise");var o=t.get("startAngle"),r=null!==(n=t.get("endAngle"))&&void 0!==n?n:o+(e.inverse?-360:360);e.setExtent(o,r)}t.axis=e,e.model=t}var polarCreator={dimensions:polarDimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,o){var r=new Polar(o+"");r.update=updatePolarScale;var i=r.getRadiusAxis(),a=r.getAngleAxis(),l=e.findAxisModel("radiusAxis"),s=e.findAxisModel("angleAxis");setAxis(i,l),setAxis(a,s),resizePolar(r,e,t),n.push(r),e.coordinateSystem=r,r.model=e})),e.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",SINGLE_REFERRING).models[0];e.coordinateSystem=t.coordinateSystem}})),n}},elementList=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var o=e.coordToPoint([t[0],n]),r=e.coordToPoint([t[1],n]);return{x1:o[0],y1:o[1],x2:r[0],y2:r[1]}}function getRadiusIdx(e){return e.getRadiusAxis().inverse?0:1}function fixAngleOverlap(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 AngleAxisView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return __extends(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,o=n.polar,r=o.getRadiusAxis().getExtent(),i=n.getTicksCoords(),a=n.getMinorTicksCoords(),l=map$1(n.getViewLabels(),(function(e){e=clone$4(e);var t=n.scale,o="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=n.dataToCoord(o),e}));fixAngleOverlap(l),fixAngleOverlap(i),each$f(elementList,(function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||angelAxisElementsBuilders[t](this.group,e,o,i,a,r,l)}),this)}},t.type="angleAxis",t}(AxisView),angelAxisElementsBuilders={axisLine:function(e,t,n,o,r,i){var a,l=t.getModel(["axisLine","lineStyle"]),s=n.getAngleAxis(),c=Math.PI/180,u=s.getExtent(),d=getRadiusIdx(n),p=d?0:1,f=360===Math.abs(u[1]-u[0])?"Circle":"Arc";(a=0===i[p]?new graphic[f]({shape:{cx:n.cx,cy:n.cy,r:i[d],startAngle:-u[0]*c,endAngle:-u[1]*c,clockwise:s.inverse},style:l.getLineStyle(),z2:1,silent:!0}):new Ring({shape:{cx:n.cx,cy:n.cy,r:i[d],r0:i[p]},style:l.getLineStyle(),z2:1,silent:!0})).style.fill=null,e.add(a)},axisTick:function(e,t,n,o,r,i){var a=t.getModel("axisTick"),l=(a.get("inside")?-1:1)*a.get("length"),s=i[getRadiusIdx(n)],c=map$1(o,(function(e){return new Line$1({shape:getAxisLineShape(n,[s,s+l],e.coord)})}));e.add(mergePath(c,{style:defaults$1(a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,o,r,i){if(r.length){for(var a=t.getModel("axisTick"),l=t.getModel("minorTick"),s=(a.get("inside")?-1:1)*l.get("length"),c=i[getRadiusIdx(n)],u=[],d=0;d<r.length;d++)for(var p=0;p<r[d].length;p++)u.push(new Line$1({shape:getAxisLineShape(n,[c,c+s],r[d][p].coord)}));e.add(mergePath(u,{style:defaults$1(l.getModel("lineStyle").getLineStyle(),defaults$1(a.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,n,o,r,i,a){var l=t.getCategories(!0),s=t.getModel("axisLabel"),c=s.get("margin"),u=t.get("triggerEvent");each$f(a,(function(o,r){var a=s,d=o.tickValue,p=i[getRadiusIdx(n)],f=n.coordToPoint([p+c,o.coord]),h=n.cx,m=n.cy,g=Math.abs(f[0]-h)/p<.3?"center":f[0]>h?"left":"right",v=Math.abs(f[1]-m)/p<.3?"middle":f[1]>m?"top":"bottom";if(l&&l[d]){var y=l[d];isObject$4(y)&&y.textStyle&&(a=new Model(y.textStyle,s,s.ecModel))}var b=new ZRText({silent:AxisBuilder.isLabelSilent(t),style:createTextStyle(a,{x:f[0],y:f[1],fill:a.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:o.formattedLabel,align:g,verticalAlign:v})});if(e.add(b),u){var _=AxisBuilder.makeAxisEventDataBase(t);_.targetType="axisLabel",_.value=o.rawLabel,getECData(b).eventData=_}}),this)},splitLine:function(e,t,n,o,r,i){var a=t.getModel("splitLine").getModel("lineStyle"),l=a.get("color"),s=0;l=l instanceof Array?l:[l];for(var c=[],u=0;u<o.length;u++){var d=s++%l.length;c[d]=c[d]||[],c[d].push(new Line$1({shape:getAxisLineShape(n,i,o[u].coord)}))}for(u=0;u<c.length;u++)e.add(mergePath(c[u],{style:defaults$1({stroke:l[u%l.length]},a.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,n,o,r,i){if(r.length){for(var a=t.getModel("minorSplitLine").getModel("lineStyle"),l=[],s=0;s<r.length;s++)for(var c=0;c<r[s].length;c++)l.push(new Line$1({shape:getAxisLineShape(n,i,r[s][c].coord)}));e.add(mergePath(l,{style:a.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,n,o,r,i){if(o.length){var a=t.getModel("splitArea").getModel("areaStyle"),l=a.get("color"),s=0;l=l instanceof Array?l:[l];for(var c=[],u=Math.PI/180,d=-o[0].coord*u,p=Math.min(i[0],i[1]),f=Math.max(i[0],i[1]),h=t.get("clockwise"),m=1,g=o.length;m<=g;m++){var v=m===g?o[0].coord:o[m].coord,y=s++%l.length;c[y]=c[y]||[],c[y].push(new Sector({shape:{cx:n.cx,cy:n.cy,r0:p,r:f,startAngle:d,endAngle:-v*u,clockwise:h},silent:!0})),d=-v*u}for(m=0;m<c.length;m++)e.add(mergePath(c[m],{style:defaults$1({fill:l[m%l.length]},a.getAreaStyle()),silent:!0}))}}},axisBuilderAttrs$1=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs$1=["splitLine","splitArea","minorSplitLine"],RadiusAxisView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return __extends(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=this._axisGroup,o=this._axisGroup=new Group$3;this.group.add(o);var r=e.axis,i=r.polar,a=i.getAngleAxis(),l=r.getTicksCoords(),s=r.getMinorTicksCoords(),c=a.getExtent()[0],u=r.getExtent(),d=layoutAxis(i,e,c),p=new AxisBuilder(e,d);each$f(axisBuilderAttrs$1,p.add,p),o.add(p.getGroup()),groupTransition(n,o,e),each$f(selfBuilderAttrs$1,(function(t){e.get([t,"show"])&&!r.scale.isBlank()&&axisElementBuilders$1[t](this.group,e,i,c,u,l,s)}),this)}},t.type="radiusAxis",t}(AxisView),axisElementBuilders$1={splitLine:function(e,t,n,o,r,i){var a=t.getModel("splitLine").getModel("lineStyle"),l=a.get("color"),s=0,c=n.getAngleAxis(),u=Math.PI/180,d=c.getExtent(),p=360===Math.abs(d[1]-d[0])?"Circle":"Arc";l=l instanceof Array?l:[l];for(var f=[],h=0;h<i.length;h++){var m=s++%l.length;f[m]=f[m]||[],f[m].push(new graphic[p]({shape:{cx:n.cx,cy:n.cy,r:Math.max(i[h].coord,0),startAngle:-d[0]*u,endAngle:-d[1]*u,clockwise:c.inverse}}))}for(h=0;h<f.length;h++)e.add(mergePath(f[h],{style:defaults$1({stroke:l[h%l.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,n,o,r,i,a){if(a.length){for(var l=t.getModel("minorSplitLine").getModel("lineStyle"),s=[],c=0;c<a.length;c++)for(var u=0;u<a[c].length;u++)s.push(new Circle({shape:{cx:n.cx,cy:n.cy,r:a[c][u].coord}}));e.add(mergePath(s,{style:defaults$1({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(e,t,n,o,r,i){if(i.length){var a=t.getModel("splitArea").getModel("areaStyle"),l=a.get("color"),s=0;l=l instanceof Array?l:[l];for(var c=[],u=i[0].coord,d=1;d<i.length;d++){var p=s++%l.length;c[p]=c[p]||[],c[p].push(new Sector({shape:{cx:n.cx,cy:n.cy,r0:u,r:i[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),u=i[d].coord}for(d=0;d<c.length;d++)e.add(mergePath(c[d],{style:defaults$1({fill:l[d%l.length]},a.getAreaStyle()),silent:!0}))}}};function layoutAxis(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}}function getSeriesStackId(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function getAxisKey(e,t){return t.dim+e.model.componentIndex}function barLayoutPolar(e,t,n){var o={},r=calRadialBar(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,i=n.getBaseAxis(),a=getAxisKey(n,i),l=getSeriesStackId(e),s=r[a][l],c=s.offset,u=s.width,d=n.getOtherAxis(i),p=e.coordinateSystem.cx,f=e.coordinateSystem.cy,h=e.get("barMinHeight")||0,m=e.get("barMinAngle")||0;o[l]=o[l]||[];for(var g=t.mapDimension(d.dim),v=t.mapDimension(i.dim),y=isDimensionStacked(t,g),b="radius"!==i.dim||!e.get("roundCap",!0),_=d.model.get("startValue"),w=d.dataToCoord(_||0),k=0,x=t.count();k<x;k++){var S=t.get(g,k),C=t.get(v,k),E=S>=0?"p":"n",T=w;y&&(o[l][C]||(o[l][C]={p:w,n:w}),T=o[l][C][E]);var A=void 0,$=void 0,I=void 0,M=void 0;if("radius"===d.dim){var P=d.dataToCoord(S)-w,N=i.dataToCoord(C);Math.abs(P)<h&&(P=(P<0?-1:1)*h),A=T,$=T+P,M=(I=N-c)-u,y&&(o[l][C][E]=$)}else{var O=d.dataToCoord(S,b)-w,R=i.dataToCoord(C);Math.abs(O)<m&&(O=(O<0?-1:1)*m),$=(A=R+c)+u,I=T,M=T+O,y&&(o[l][C][E]=M)}t.setItemLayout(k,{cx:p,cy:f,r0:A,r:$,startAngle:-I*Math.PI/180,endAngle:-M*Math.PI/180,clockwise:I>=M})}}}))}function calRadialBar(e){var t={};each$f(e,(function(e,n){var o=e.getData(),r=e.coordinateSystem,i=r.getBaseAxis(),a=getAxisKey(r,i),l=i.getExtent(),s="category"===i.type?i.getBandWidth():Math.abs(l[1]-l[0])/o.count(),c=t[a]||{bandWidth:s,remainedWidth:s,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},u=c.stacks;t[a]=c;var d=getSeriesStackId(e);u[d]||c.autoWidthCount++,u[d]=u[d]||{width:0,maxWidth:0};var p=parsePercent(e.get("barWidth"),s),f=parsePercent(e.get("barMaxWidth"),s),h=e.get("barGap"),m=e.get("barCategoryGap");p&&!u[d].width&&(p=Math.min(c.remainedWidth,p),u[d].width=p,c.remainedWidth-=p),f&&(u[d].maxWidth=f),null!=h&&(c.gap=h),null!=m&&(c.categoryGap=m)}));var n={};return each$f(t,(function(e,t){n[t]={};var o=e.stacks,r=e.bandWidth,i=parsePercent(e.categoryGap,r),a=parsePercent(e.gap,1),l=e.remainedWidth,s=e.autoWidthCount,c=(l-i)/(s+(s-1)*a);c=Math.max(c,0),each$f(o,(function(e,t){var n=e.maxWidth;n&&n<c&&(n=Math.min(n,l),e.width&&(n=Math.min(n,e.width)),l-=n,e.width=n,s--)})),c=(l-i)/(s+(s-1)*a),c=Math.max(c,0);var u,d=0;each$f(o,(function(e,t){e.width||(e.width=c),u=e,d+=e.width*(1+a)})),u&&(d-=u.width*a);var p=-d/2;each$f(o,(function(e,o){n[t][o]=n[t][o]||{offset:p,width:e.width},p+=e.width*(1+a)}))})),n}var angleAxisExtraOption={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},radiusAxisExtraOption={splitNumber:5},PolarView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="polar",t}(ComponentView);function install$p(e){use(install$r),AxisView.registerAxisPointerClass("PolarAxisPointer",PolarAxisPointer),e.registerCoordinateSystem("polar",polarCreator),e.registerComponentModel(PolarModel),e.registerComponentView(PolarView),axisModelCreator(e,"angle",AngleAxisModel,angleAxisExtraOption),axisModelCreator(e,"radius",RadiusAxisModel,radiusAxisExtraOption),e.registerComponentView(AngleAxisView),e.registerComponentView(RadiusAxisView),e.registerLayout(curry$1(barLayoutPolar,"bar"))}function layout$2(e,t){t=t||{};var n=e.coordinateSystem,o=e.axis,r={},i=o.position,a=o.orient,l=n.getRect(),s=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};r.position=["vertical"===a?c.vertical[i]:s[0],"horizontal"===a?c.horizontal[i]:s[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[i],e.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),retrieve(t.labelInside,e.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var u=t.rotate;return null==u&&(u=e.get(["axisLabel","rotate"])),r.labelRotation="top"===i?-u:u,r.z2=1,r}var axisBuilderAttrs=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs=["splitArea","splitLine"],SingleAxisView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return __extends(t,e),t.prototype.render=function(t,n,o,r){var i=this.group;i.removeAll();var a=this._axisGroup;this._axisGroup=new Group$3;var l=layout$2(t),s=new AxisBuilder(t,l);each$f(axisBuilderAttrs,s.add,s),i.add(this._axisGroup),i.add(s.getGroup()),each$f(selfBuilderAttrs,(function(e){t.get([e,"show"])&&axisElementBuilders[e](this,this.group,this._axisGroup,t)}),this),groupTransition(a,this._axisGroup,t),e.prototype.render.call(this,t,n,o,r)},t.prototype.remove=function(){rectCoordAxisHandleRemove(this)},t.type="singleAxis",t}(AxisView),axisElementBuilders={splitLine:function(e,t,n,o){var r=o.axis;if(!r.scale.isBlank()){var i=o.getModel("splitLine"),a=i.getModel("lineStyle"),l=a.get("color");l=l instanceof Array?l:[l];for(var s=a.get("width"),c=o.coordinateSystem.getRect(),u=r.isHorizontal(),d=[],p=0,f=r.getTicksCoords({tickModel:i}),h=[],m=[],g=0;g<f.length;++g){var v=r.toGlobalCoord(f[g].coord);u?(h[0]=v,h[1]=c.y,m[0]=v,m[1]=c.y+c.height):(h[0]=c.x,h[1]=v,m[0]=c.x+c.width,m[1]=v);var y=new Line$1({shape:{x1:h[0],y1:h[1],x2:m[0],y2:m[1]},silent:!0});subPixelOptimizeLine(y.shape,s);var b=p++%l.length;d[b]=d[b]||[],d[b].push(y)}var _=a.getLineStyle(["color"]);for(g=0;g<d.length;++g)t.add(mergePath(d[g],{style:defaults$1({stroke:l[g%l.length]},_),silent:!0}))}},splitArea:function(e,t,n,o){rectCoordAxisBuildSplitArea(e,n,o,o)}},SingleAxisModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(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}(ComponentModel);mixin(SingleAxisModel,AxisModelCommonMixin.prototype);var SingleAxis=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n,o)||this;return a.type=r||"value",a.position=i||"bottom",a}return __extends(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}(Axis),singleDimensions=["single"],Single=function(){function e(e,t,n){this.type="single",this.dimension="single",this.dimensions=singleDimensions,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var o=this.dimension,r=new SingleAxis(o,createScaleByModel$1(e),[0,0],e.get("type"),e.get("position")),i="category"===r.type;r.onBand=i&&e.get("boundaryGap"),r.inverse=e.get("inverse"),r.orient=e.get("orient"),e.axis=r,r.model=e,r.coordinateSystem=this,this._axis=r},e.prototype.update=function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();each$f(t.mapDimensionsAll(this.dimension),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},e.prototype.resize=function(e,t){this._rect=getLayoutRect({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(),o=n?[0,e.width]:[0,e.height],r=t.inverse?1:0;t.setExtent(o[r],o[1-r]),this._updateAxisTransform(t,n?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var n=e.getExtent(),o=n[0]+n[1],r=e.isHorizontal();e.toGlobalCoord=r?function(e){return e+t}:function(e){return o-e+t},e.toLocalCoord=r?function(e){return e-t}:function(e){return o-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(),o=[],r="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),o[r]=t.toGlobalCoord(t.dataToCoord(+e)),o[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,o},e.prototype.convertToPixel=function(e,t,n){return getCoordSys$1(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return getCoordSys$1(t)===this?this.pointToData(n):null},e}();function getCoordSys$1(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function create(e,t){var n=[];return e.eachComponent("singleAxis",(function(o,r){var i=new Single(o,e,t);i.name="single_"+r,i.resize(o,t),o.coordinateSystem=i,n.push(i)})),e.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];e.coordinateSystem=t&&t.coordinateSystem}})),n}var singleCreator={create:create,dimensions:singleDimensions},XY$1=["x","y"],WH$1=["width","height"],SingleAxisPointer=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.makeElOption=function(e,t,n,o,r){var i=n.axis,a=i.coordinateSystem,l=getGlobalExtent(a,1-getPointDimIndex(i)),s=a.dataToPoint(t)[0],c=o.get("type");if(c&&"none"!==c){var u=buildElStyle(o),d=pointerShapeBuilder[c](i,s,l);d.style=u,e.graphicKey=d.type,e.pointer=d}buildCartesianSingleLabelElOption(t,e,layout$2(n),n,o,r)},t.prototype.getHandleTransform=function(e,t,n){var o=layout$2(t,{labelInside:!1});o.labelMargin=n.get(["handle","margin"]);var r=getTransformedPosition(t.axis,e,o);return{x:r[0],y:r[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,o){var r=n.axis,i=r.coordinateSystem,a=getPointDimIndex(r),l=getGlobalExtent(i,a),s=[e.x,e.y];s[a]+=t[a],s[a]=Math.min(l[1],s[a]),s[a]=Math.max(l[0],s[a]);var c=getGlobalExtent(i,1-a),u=(c[1]+c[0])/2,d=[u,u];return d[a]=s[a],{x:s[0],y:s[1],rotation:e.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},t}(BaseAxisPointer),pointerShapeBuilder={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:makeLineShape([t,n[0]],[t,n[1]],getPointDimIndex(e))}},shadow:function(e,t,n){var o=e.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:makeRectShape([t-o/2,n[0]],[o,r],getPointDimIndex(e))}}};function getPointDimIndex(e){return e.isHorizontal()?0:1}function getGlobalExtent(e,t){var n=e.getRect();return[n[XY$1[t]],n[XY$1[t]]+n[WH$1[t]]]}var SingleView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="single",t}(ComponentView);function install$o(e){use(install$r),AxisView.registerAxisPointerClass("SingleAxisPointer",SingleAxisPointer),e.registerComponentView(SingleView),e.registerComponentView(SingleAxisView),e.registerComponentModel(SingleAxisModel),axisModelCreator(e,"single",SingleAxisModel,SingleAxisModel.defaultOption),e.registerCoordinateSystem("single",singleCreator)}var CalendarModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(t,n,o){var r=getLayoutParams(t);e.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams$1(t,r)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams$1(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}(ComponentModel);function mergeAndNormalizeLayoutParams$1(e,t){var n,o=e.cellSize;1===(n=isArray$2(o)?o:e.cellSize=[o,o]).length&&(n[1]=n[0]);var r=map$1([0,1],(function(e){return sizeCalculable(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));mergeLayoutParam(e,t,{type:"box",ignoreSize:r})}var CalendarView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){var o=this.group;o.removeAll();var r=e.coordinateSystem,i=r.getRangeInfo(),a=r.getOrient(),l=t.getLocaleModel();this._renderDayRect(e,i,o),this._renderLines(e,i,a,o),this._renderYearText(e,i,a,o),this._renderMonthText(e,l,a,o),this._renderWeekText(e,l,i,a,o)},t.prototype._renderDayRect=function(e,t,n){for(var o=e.coordinateSystem,r=e.getModel("itemStyle").getItemStyle(),i=o.getCellWidth(),a=o.getCellHeight(),l=t.start.time;l<=t.end.time;l=o.getNextNDay(l,1).time){var s=o.dataToRect([l],!1).tl,c=new Rect$2({shape:{x:s[0],y:s[1],width:i,height:a},cursor:"default",style:r});n.add(c)}},t.prototype._renderLines=function(e,t,n,o){var r=this,i=e.coordinateSystem,a=e.getModel(["splitLine","lineStyle"]).getLineStyle(),l=e.get(["splitLine","show"]),s=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=t.start,u=0;c.time<=t.end.time;u++){p(c.formatedDate),0===u&&(c=i.getDateInfo(t.start.y+"-"+t.start.m));var d=c.date;d.setMonth(d.getMonth()+1),c=i.getDateInfo(d)}function p(t){r._firstDayOfMonth.push(i.getDateInfo(t)),r._firstDayPoints.push(i.dataToRect([t],!1).tl);var s=r._getLinePointsOfOneWeek(e,t,n);r._tlpoints.push(s[0]),r._blpoints.push(s[s.length-1]),l&&r._drawSplitline(s,a,o)}p(i.getNextNDay(t.end.time,1).formatedDate),l&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,s,n),a,o),l&&this._drawSplitline(r._getEdgesPoints(r._blpoints,s,n),a,o)},t.prototype._getEdgesPoints=function(e,t,n){var o=[e[0].slice(),e[e.length-1].slice()],r="horizontal"===n?0:1;return o[0][r]=o[0][r]-t/2,o[1][r]=o[1][r]+t/2,o},t.prototype._drawSplitline=function(e,t,n){var o=new Polyline$1({z2:20,shape:{points:e},style:t});n.add(o)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var o=e.coordinateSystem,r=o.getDateInfo(t),i=[],a=0;a<7;a++){var l=o.getNextNDay(r.time,a),s=o.dataToRect([l.time],!1);i[2*l.day]=s.tl,i[2*l.day+1]=s["horizontal"===n?"bl":"tr"]}return i},t.prototype._formatterLabel=function(e,t){return isString$2(e)&&e?formatTplSimple(e,t):isFunction$2(e)?e(t):t.nameMap},t.prototype._yearTextPositionControl=function(e,t,n,o,r){var i=t[0],a=t[1],l=["center","bottom"];"bottom"===o?(a+=r,l=["center","top"]):"left"===o?i-=r:"right"===o?(i+=r,l=["center","top"]):a-=r;var s=0;return"left"!==o&&"right"!==o||(s=Math.PI/2),{rotation:s,x:i,y:a,style:{align:l[0],verticalAlign:l[1]}}},t.prototype._renderYearText=function(e,t,n,o){var r=e.getModel("yearLabel");if(r.get("show")){var i=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],s=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,u="horizontal"===n?0:1,d={top:[s,l[u][1]],bottom:[s,l[1-u][1]],left:[l[1-u][0],c],right:[l[u][0],c]},p=t.start.y;+t.end.y>+t.start.y&&(p=p+"-"+t.end.y);var f=r.get("formatter"),h={start:t.start.y,end:t.end.y,nameMap:p},m=this._formatterLabel(f,h),g=new ZRText({z2:30,style:createTextStyle(r,{text:m}),silent:r.get("silent")});g.attr(this._yearTextPositionControl(g,d[a],n,a,i)),o.add(g)}},t.prototype._monthTextPositionControl=function(e,t,n,o,r){var i="left",a="top",l=e[0],s=e[1];return"horizontal"===n?(s+=r,t&&(i="center"),"start"===o&&(a="bottom")):(l+=r,t&&(a="middle"),"start"===o&&(i="right")),{x:l,y:s,align:i,verticalAlign:a}},t.prototype._renderMonthText=function(e,t,n,o){var r=e.getModel("monthLabel");if(r.get("show")){var i=r.get("nameMap"),a=r.get("margin"),l=r.get("position"),s=r.get("align"),c=[this._tlpoints,this._blpoints];i&&!isString$2(i)||(i&&(t=getLocaleModel(i)||t),i=t.get(["time","monthAbbr"])||[]);var u="start"===l?0:1,d="horizontal"===n?0:1;a="start"===l?-a:a;for(var p="center"===s,f=r.get("silent"),h=0;h<c[u].length-1;h++){var m=c[u][h].slice(),g=this._firstDayOfMonth[h];if(p){var v=this._firstDayPoints[h];m[d]=(v[d]+c[0][h+1][d])/2}var y=r.get("formatter"),b=i[+g.m-1],_={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:b},w=this._formatterLabel(y,_),k=new ZRText({z2:30,style:extend$1(createTextStyle(r,{text:w}),this._monthTextPositionControl(m,p,n,l,a)),silent:f});o.add(k)}}},t.prototype._weekTextPositionControl=function(e,t,n,o,r){var i="center",a="middle",l=e[0],s=e[1],c="start"===n;return"horizontal"===t?(l=l+o+(c?1:-1)*r[0]/2,i=c?"right":"left"):(s=s+o+(c?1:-1)*r[1]/2,a=c?"bottom":"top"),{x:l,y:s,align:i,verticalAlign:a}},t.prototype._renderWeekText=function(e,t,n,o,r){var i=e.getModel("dayLabel");if(i.get("show")){var a=e.coordinateSystem,l=i.get("position"),s=i.get("nameMap"),c=i.get("margin"),u=a.getFirstDayOfWeek();if(!s||isString$2(s))s&&(t=getLocaleModel(s)||t),s=t.get(["time","dayOfWeekShort"])||map$1(t.get(["time","dayOfWeekAbbr"]),(function(e){return e[0]}));var d=a.getNextNDay(n.end.time,7-n.lweek).time,p=[a.getCellWidth(),a.getCellHeight()];c=parsePercent(c,Math.min(p[1],p[0])),"start"===l&&(d=a.getNextNDay(n.start.time,-(7+n.fweek)).time,c=-c);for(var f=i.get("silent"),h=0;h<7;h++){var m,g=a.getNextNDay(d,h),v=a.dataToRect([g.time],!1).center;m=Math.abs((h+u)%7);var y=new ZRText({z2:30,style:extend$1(createTextStyle(i,{text:s[m]}),this._weekTextPositionControl(v,o,l,c,p)),silent:f});r.add(y)}}},t.type="calendar",t}(ComponentView),PROXIMATE_ONE_DAY=864e5,Calendar$1=function(){function e(t,n,o){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=parseDate$1(e)).getFullYear(),n=e.getMonth()+1,o=n<10?"0"+n:""+n,r=e.getDate(),i=r<10?"0"+r:""+r,a=e.getDay();return{y:t+"",m:o,d:i,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:e.getTime(),formatedDate:t+"-"+o+"-"+i,date:e}},e.prototype.getNextNDay=function(e,t){return 0===(t=t||0)||(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,o=["width","height"],r=this._model.getCellSize().slice(),i=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];each$f([0,1],(function(e){c(r,e)&&(i[o[e]]=r[e]*a[e])}));var l={width:t.getWidth(),height:t.getHeight()},s=this._rect=getLayoutRect(i,l);function c(e,t){return null!=e[t]&&"auto"!==e[t]}each$f([0,1],(function(e){c(r,e)||(r[e]=s[o[e]]/a[e])})),this._sw=r[0],this._sh=r[1]},e.prototype.dataToPoint=function(e,t){isArray$2(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),o=this._rangeInfo,r=n.formatedDate;if(t&&!(n.time>=o.start.time&&n.time<o.end.time+PROXIMATE_ONE_DAY))return[NaN,NaN];var i=n.day,a=this._getRangeInfo([o.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+i*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+i*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,o=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,o):this._getDateByWeeksAndDay(t,n-1,o)},e.prototype.convertToPixel=function(e,t,n){var o=getCoordSys(t);return o===this?o.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var o=getCoordSys(t);return o===this?o.pointToData(n):null},e.prototype.containPoint=function(e){return!1},e.prototype._initRangeOption=function(){var e,t=this._model.get("range");if(isArray$2(t)&&1===t.length&&(t=t[0]),isArray$2(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 o=this.getDateInfo(n),r=o.date;r.setMonth(r.getMonth()+1);var i=this.getNextNDay(r,-1);e=[o.formatedDate,i.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 o=Math.floor(n[1].time/PROXIMATE_ONE_DAY)-Math.floor(n[0].time/PROXIMATE_ONE_DAY)+1,r=new Date(n[0].time),i=r.getDate(),a=n[1].date.getDate();r.setDate(i+o-1);var l=r.getDate();if(l!==a)for(var s=r.getTime()-n[1].time>0?1:-1;(l=r.getDate())!==a&&(r.getTime()-n[1].time)*s>0;)o-=s,r.setDate(l-s);var c=Math.floor((o+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:o,weeks:c,nthWeek:u,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var o=this._getRangeInfo(n);if(e>o.weeks||0===e&&t<o.fweek||e===o.weeks&&t>o.lweek)return null;var r=7*(e-1)-o.fweek+t,i=new Date(o.start.time);return i.setDate(+o.start.d+r),this.getDateInfo(i)},e.create=function(t,n){var o=[];return t.eachComponent("calendar",(function(t){var n=new e(t);o.push(n),t.coordinateSystem=n})),t.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=o[e.get("calendarIndex")||0])})),o},e.dimensions=["time","value"],e}();function getCoordSys(e){var t=e.calendarModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem:null}function install$n(e){e.registerComponentModel(CalendarModel),e.registerComponentView(CalendarView),e.registerCoordinateSystem("calendar",Calendar$1)}function setKeyInfoToNewElOption(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var o=t.parentOption;o?t.parentId=o.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function isSetLoc(e,t){var n;return each$f(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function mergeNewElOptionToExist(e,t,n){var o=extend$1({},n),r=e[t],i=n.$action||"merge";"merge"===i?r?(merge$1(r,o,!0),mergeLayoutParam(r,o,{ignoreSize:!0}),copyLayoutParams(n,r),copyTransitionInfo(n,r),copyTransitionInfo(n,r,"shape"),copyTransitionInfo(n,r,"style"),copyTransitionInfo(n,r,"extra"),n.clipPath=r.clipPath):e[t]=o:"replace"===i?e[t]=o:"remove"===i&&r&&(e[t]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),e&&t)for(var o=n?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,r=0;r<o.length;r++){var i=o[r];null==e[i]&&null!=t[i]&&(e[i]=t[i])}}function setLayoutInfoToExist(e,t){if(e&&(e.hv=t.hv=[isSetLoc(t,["left","right"]),isSetLoc(t,["top","bottom"])],"group"===e.type)){var n=e,o=t;null==n.width&&(n.width=o.width=0),null==n.height&&(n.height=o.height=0)}}var GraphicComponentModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return __extends(t,e),t.prototype.mergeOption=function(t,n){var o=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,t,n),this.option.elements=o},t.prototype.optionUpdated=function(e,t){var n=this.option,o=(t?n:e).elements,r=n.elements=t?[]:n.elements,i=[];this._flatten(o,i,null);var a=mappingToExists(r,i,"normalMerge"),l=this._elOptionsToUpdate=[];each$f(a,(function(e,t){var n=e.newOption;n&&(l.push(n),setKeyInfoToNewElOption(e,n),mergeNewElOptionToExist(r,t,n),setLayoutInfoToExist(r[t],n))}),this),n.elements=filter(r,(function(e){return e&&delete e.$action,null!=e}))},t.prototype._flatten=function(e,t,n){each$f(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var o=e.children;o&&o.length&&this._flatten(o,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}(ComponentModel),nonShapeGraphicElements={path:null,compoundPath:null,group:Group$3,image:ZRImage,text:ZRText},inner$7=makeInner(),GraphicComponentView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(){this._elMap=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,o=this.group,r=e.get("z"),i=e.get("zlevel");each$f(t,(function(t){var a=convertOptionIdName(t.id,null),l=null!=a?n.get(a):null,s=convertOptionIdName(t.parentId,null),c=null!=s?n.get(s):o,u=t.type,d=t.style;"text"===u&&d&&t.hv&&t.hv[1]&&(d.textVerticalAlign=d.textBaseline=d.verticalAlign=d.align=null);var p=t.textContent,f=t.textConfig;if(d&&isEC4CompatibleStyle(d,u,!!f,!!p)){var h=convertFromEC4CompatibleStyle(d,u,!0);!f&&h.textConfig&&(f=t.textConfig=h.textConfig),!p&&h.textContent&&(p=h.textContent)}var m=getCleanedElOption(t),g=t.$action||"merge",v="merge"===g,y="replace"===g;if(v){var b=l;(E=!l)?b=createEl(a,c,t.type,n):(b&&(inner$7(b).isNew=!1),stopPreviousKeyframeAnimationAndRestore(b)),b&&(applyUpdateTransition(b,m,e,{isInit:E}),updateCommonAttrs(b,t,r,i))}else if(y){removeEl$1(l,t,n,e);var _=createEl(a,c,t.type,n);_&&(applyUpdateTransition(_,m,e,{isInit:!0}),updateCommonAttrs(_,t,r,i))}else"remove"===g&&(updateLeaveTo(l,t),removeEl$1(l,t,n,e));var w=n.get(a);if(w&&p)if(v){var k=w.getTextContent();k?k.attr(p):w.setTextContent(new ZRText(p))}else y&&w.setTextContent(new ZRText(p));if(w){var x=t.clipPath;if(x){var S=x.type,C=void 0,E=!1;if(v){var T=w.getClipPath();C=(E=!T||inner$7(T).type!==S)?newEl(S):T}else y&&(E=!0,C=newEl(S));w.setClipPath(C),applyUpdateTransition(C,x,e,{isInit:E}),applyKeyframeAnimation(C,x.keyframeAnimation,e)}var A=inner$7(w);w.setTextConfig(f),A.option=t,setEventData(w,e,t),setTooltipConfig({el:w,componentModel:e,itemName:w.name,itemTooltipOption:t.tooltip}),applyKeyframeAnimation(w,t.keyframeAnimation,e)}}))}},t.prototype._relocate=function(e,t){for(var n=e.option.elements,o=this.group,r=this._elMap,i=t.getWidth(),a=t.getHeight(),l=["x","y"],s=0;s<n.length;s++){if((h=null!=(f=convertOptionIdName((p=n[s]).id,null))?r.get(f):null)&&h.isGroup){var c=(m=h.parent)===o,u=inner$7(h),d=inner$7(m);u.width=parsePercent(u.option.width,c?i:d.width)||0,u.height=parsePercent(u.option.height,c?a:d.height)||0}}for(s=n.length-1;s>=0;s--){var p,f,h;if(h=null!=(f=convertOptionIdName((p=n[s]).id,null))?r.get(f):null){var m=h.parent,g=(d=inner$7(m),{}),v=positionElement(h,p,m===o?{width:i,height:a}:{width:d.width,height:d.height},null,{hv:p.hv,boundingMode:p.bounding},g);if(!inner$7(h).isNew&&v){for(var y=p.transition,b={},_=0;_<l.length;_++){var w=l[_],k=g[w];y&&(isTransitionAll(y)||indexOf(y,w)>=0)?b[w]=k:h[w]=k}updateProps$1(h,b,e,0)}else h.attr(g)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each((function(n){removeEl$1(n,inner$7(n).option,t,e._lastGraphicModel)})),this._elMap=createHashMap()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(ComponentView);function newEl(e){var t=new(hasOwn(nonShapeGraphicElements,e)?nonShapeGraphicElements[e]:getShapeClass(e))({});return inner$7(t).type=e,t}function createEl(e,t,n,o){var r=newEl(n);return t.add(r),o.set(e,r),inner$7(r).id=e,inner$7(r).isNew=!0,r}function removeEl$1(e,t,n,o){e&&e.parent&&("group"===e.type&&e.traverse((function(e){removeEl$1(e,t,n,o)})),applyLeaveTransition(e,t,o),n.removeKey(inner$7(e).id))}function updateCommonAttrs(e,t,n,o){e.isGroup||each$f([["cursor",Displayable.prototype.cursor],["zlevel",o||0],["z",n||0],["z2",0]],(function(n){var o=n[0];hasOwn(t,o)?e[o]=retrieve2(t[o],n[1]):null==e[o]&&(e[o]=n[1])})),each$f(keys(t),(function(n){if(0===n.indexOf("on")){var o=t[n];e[n]=isFunction$2(o)?o:null}})),hasOwn(t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}function getCleanedElOption(e){return e=extend$1({},e),each$f(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),(function(t){delete e[t]})),e}function setEventData(e,t,n){var o=getECData(e).eventData;e.silent||e.ignore||o||(o=getECData(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),o&&(o.info=n.info)}function install$m(e){e.registerComponentModel(GraphicComponentModel),e.registerComponentView(GraphicComponentView),e.registerPreprocessor((function(e){var t=e.graphic;isArray$2(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}))}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(e){var t=e.get("coordinateSystem");return indexOf(SERIES_COORDS,t)>=0}function getAxisMainType(e){return e+"Axis"}function findEffectedDataZooms(e,t){var n,o=createHashMap(),r=[],i=createHashMap();e.eachComponent({mainType:"dataZoom",query:t},(function(e){i.get(e.uid)||l(e)}));do{n=!1,e.eachComponent("dataZoom",a)}while(n);function a(e){!i.get(e.uid)&&function(e){var t=!1;return e.eachTargetAxis((function(e,n){var r=o.get(e);r&&r[n]&&(t=!0)})),t}(e)&&(l(e),n=!0)}function l(e){i.set(e.uid,!0),r.push(e),e.eachTargetAxis((function(e,t){(o.get(e)||o.set(e,[]))[t]=!0}))}return r}function collectReferCoordSysModelInfo(e){var t=e.ecModel,n={infoList:[],infoMap:createHashMap()};return e.eachTargetAxis((function(e,o){var r=t.getComponent(getAxisMainType(e),o);if(r){var i=r.getCoordSysModel();if(i){var a=i.uid,l=n.infoMap.get(a);l||(l={model:i,axisModels:[]},n.infoList.push(l),n.infoMap.set(a,l)),l.axisModels.push(r)}}})),n}var DataZoomAxisInfo=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}(),DataZoomModel=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 __extends(t,e),t.prototype.init=function(e,t,n){var o=retrieveRawOption(e);this.settledOption=o,this.mergeDefaultAndTheme(e,n),this._doInit(o)},t.prototype.mergeOption=function(e){var t=retrieveRawOption(e);merge$1(this.option,e,!0),merge$1(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;each$f([["start","startValue"],["end","endValue"]],(function(e,o){"value"===this._rangePropMode[o]&&(t[e[0]]=n[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=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 each$f(DATA_ZOOM_AXIS_DIMENSIONS,(function(n){var o=this.getReferringComponents(getAxisMainType(n),MULTIPLE_REFERRING);if(o.specified){t=!0;var r=new DataZoomAxisInfo;each$f(o.models,(function(e){r.add(e.componentIndex)})),e.set(n,r)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,o=!0;if(o){var r="vertical"===t?"y":"x";i(n.findComponents({mainType:r+"Axis"}),r)}o&&i(n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}}),"single");function i(t,n){var r=t[0];if(r){var i=new DataZoomAxisInfo;if(i.add(r.componentIndex),e.set(n,i),o=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",SINGLE_REFERRING).models[0];a&&each$f(t,(function(e){r.componentIndex!==e.componentIndex&&a===e.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&i.add(e.componentIndex)}))}}}o&&each$f(DATA_ZOOM_AXIS_DIMENSIONS,(function(t){if(o){var r=n.findComponents({mainType:getAxisMainType(t),filter:function(e){return"category"===e.get("type",!0)}});if(r[0]){var i=new DataZoomAxisInfo;i.add(r[0].componentIndex),e.set(t,i),o=!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");each$f([["start","startValue"],["end","endValue"]],(function(o,r){var i=null!=e[o[0]],a=null!=e[o[1]];i&&!a?t[r]="percent":!i&&a?t[r]="value":n?t[r]=n[r]:i&&(t[r]="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(getAxisMainType(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,o){each$f(n.indexList,(function(n){e.call(t,o,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(getAxisMainType(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;each$f([["start","startValue"],["end","endValue"]],(function(o){null==e[o[0]]&&null==e[o[1]]||(t[o[0]]=n[o[0]]=e[o[0]],t[o[1]]=n[o[1]]=e[o[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;each$f(["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(),o=0;o<n.length;o++)for(var r=n[o],i=this._targetAxisInfoMap.get(r),a=0;a<i.indexList.length;a++){var l=this.getAxisProxy(r,i.indexList[a]);if(l.hostedBy(this))return l;t||(t=l)}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}(ComponentModel);function retrieveRawOption(e){var t={};return each$f(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var SelectDataZoomModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="dataZoom.select",t}(DataZoomModel),DataZoomView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n,o){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(ComponentView),SelectDataZoomView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="dataZoom.select",t}(DataZoomView),each$7=each$f,asc$1=asc$2,AxisProxy=function(){function e(e,t,n,o){this._dimName=e,this._axisIndex=t,this.ecModel=o,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(isCoordSupported(t)){var n=getAxisMainType(this._dimName),o=t.getReferringComponents(n,SINGLE_REFERRING).models[0];o&&this._axisIndex===o.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return clone$4(this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,o=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),i=[0,100],a=[],l=[];each$7(["start","end"],(function(s,c){var u=e[s],d=e[s+"Value"];"percent"===r[c]?(null==u&&(u=i[c]),d=o.parse(linearMap$2(u,i,n))):(t=!0,u=linearMap$2(d=null==d?n[c]:o.parse(d),n,i)),l[c]=null==d||isNaN(d)?n[c]:d,a[c]=null==u||isNaN(u)?i[c]:u})),asc$1(l),asc$1(a);var s=this._minMaxSpan;function c(e,t,n,r,i){var a=i?"Span":"ValueSpan";sliderMove(0,e,n,"all",s["min"+a],s["max"+a]);for(var l=0;l<2;l++)t[l]=linearMap$2(e[l],n,r,!0),i&&(t[l]=o.parse(t[l]))}return t?c(l,a,n,i,!1):c(a,l,i,n,!0),{valueWindow:l,percentWindow:a}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=calculateDataExtent(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,o=this.getTargetSeriesModels(),r=e.get("filterMode"),i=this._valueWindow;"none"!==r&&each$7(o,(function(e){var t=e.getData(),o=t.mapDimensionsAll(n);if(o.length){if("weakFilter"===r){var a=t.getStore(),l=map$1(o,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,n,r,s=0;s<o.length;s++){var c=a.get(l[s],e),u=!isNaN(c),d=c<i[0],p=c>i[1];if(u&&!d&&!p)return!0;u&&(r=!0),d&&(t=!0),p&&(n=!0)}return r&&t&&n}))}else each$7(o,(function(n){if("empty"===r)e.setData(t=t.map(n,(function(e){return function(e){return e>=i[0]&&e<=i[1]}(e)?e:NaN})));else{var o={};o[n]=i,t.selectRange(o)}}));each$7(o,(function(e){t.setApproximateExtent(i,e)}))}}))}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;each$7(["min","max"],(function(o){var r=t.get(o+"Span"),i=t.get(o+"ValueSpan");null!=i&&(i=this.getAxisModel().axis.scale.parse(i)),null!=i?r=linearMap$2(n[0]+i,n,[0,100],!0):null!=r&&(i=linearMap$2(r,[0,100],n,!0)-n[0]),e[o+"Span"]=r,e[o+"ValueSpan"]=i}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var o=getPixelPrecision(n,[0,500]);o=Math.min(o,20);var r=e.axis.scale.rawExtentInfo;0!==t[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(o)),100!==t[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(o)),r.freeze()}},e}();function calculateDataExtent(e,t,n){var o=[1/0,-1/0];each$7(n,(function(e){unionAxisExtentFromData(o,e.getData(),t)}));var r=e.getAxisModel(),i=ensureScaleRawExtentInfo(r.axis.scale,r,o).calculate();return[i.min,i.max]}var dataZoomProcessor={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(o,r){var i=e.getComponent(getAxisMainType(o),r);t(o,r,i,n)}))}))}t((function(e,t,n,o){n.__dzAxisProxy=null}));var n=[];t((function(t,o,r,i){r.__dzAxisProxy||(r.__dzAxisProxy=new AxisProxy(t,o,i,e),n.push(r.__dzAxisProxy))}));var o=createHashMap();return each$f(n,(function(e){each$f(e.getTargetSeriesModels(),(function(e){o.set(e.uid,e)}))})),o},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,n){e.getAxisProxy(t,n).reset(e)})),e.eachTargetAxis((function(n,o){e.getAxisProxy(n,o).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),o=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:o[0],endValue:o[1]})}}))}};function installDataZoomAction(e){e.registerAction("dataZoom",(function(e,t){each$f(findEffectedDataZooms(t,e),(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}var installed$1=!1;function installCommon$1(e){installed$1||(installed$1=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor),installDataZoomAction(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function install$l(e){e.registerComponentModel(SelectDataZoomModel),e.registerComponentView(SelectDataZoomView),installCommon$1(e)}var ToolboxFeature=function(){return function(){}}(),features={};function registerFeature(e,t){features[e]=t}function getFeature(e){return features[e]}var ToolboxModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;each$f(this.option.feature,(function(e,n){var o=getFeature(n);o&&(o.getDefaultOption&&(o.defaultOption=o.getDefaultOption(t)),merge$1(e,o.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}(ComponentModel);function layout$1(e,t,n){var o=t.getBoxLayoutParams(),r=t.get("padding"),i={width:n.getWidth(),height:n.getHeight()},a=getLayoutRect(o,i,r);box(t.get("orient"),e,t.get("itemGap"),a.width,a.height),positionElement(e,o,i,r)}function makeBackground(e,t){var n=normalizeCssArray(t.get("padding")),o=t.getItemStyle(["color","opacity"]);return o.fill=t.get("backgroundColor"),e=new Rect$2({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:o,silent:!0,z2:-1})}var ToolboxView=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(e,t,n,o){var r=this.group;if(r.removeAll(),e.get("show")){var i=+e.get("itemSize"),a="vertical"===e.get("orient"),l=e.get("feature")||{},s=this._features||(this._features={}),c=[];each$f(l,(function(e,t){c.push(t)})),new DataDiffer(this._featureNames||[],c).add(u).update(u).remove(curry$1(u,null)).execute(),this._featureNames=c,layout$1(r,e,n),r.add(makeBackground(r.getBoundingRect(),e)),a||r.eachChild((function(e){var t=e.__title,o=e.ensureState("emphasis"),a=o.textConfig||(o.textConfig={}),l=e.getTextContent(),s=l&&l.ensureState("emphasis");if(s&&!isFunction$2(s)&&t){var c=s.style||(s.style={}),u=getBoundingRect(t,ZRText.makeFont(c)),d=e.x+r.x,p=!1;e.y+r.y+i+u.height>n.getHeight()&&(a.position="top",p=!0);var f=p?-5-u.height:i+10;d+u.width/2>n.getWidth()?(a.position=["100%",f],c.align="right"):d-u.width/2<0&&(a.position=[0,f],c.align="left")}}))}function u(u,d){var p,f=c[u],h=c[d],m=l[f],g=new Model(m,e,e.ecModel);if(o&&null!=o.newTitle&&o.featureName===f&&(m.title=o.newTitle),f&&!h){if(isUserFeatureName(f))p={onclick:g.option.onclick,featureName:f};else{var v=getFeature(f);if(!v)return;p=new v}s[f]=p}else if(!(p=s[h]))return;p.uid=getUID("toolbox-feature"),p.model=g,p.ecModel=t,p.api=n;var y=p instanceof ToolboxFeature;f||!h?!g.get("show")||y&&p.unusable?y&&p.remove&&p.remove(t,n):(!function(o,l,s){var c,u,d=o.getModel("iconStyle"),p=o.getModel(["emphasis","iconStyle"]),f=l instanceof ToolboxFeature&&l.getIcons?l.getIcons():o.get("icon"),h=o.get("title")||{};isString$2(f)?(c={})[s]=f:c=f;isString$2(h)?(u={})[s]=h:u=h;var m=o.iconPaths={};each$f(c,(function(s,c){var f=createIcon(s,{},{x:-i/2,y:-i/2,width:i,height:i});f.setStyle(d.getItemStyle()),f.ensureState("emphasis").style=p.getItemStyle();var h=new ZRText({style:{text:u[c],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:getFont({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},t)},ignore:!0});f.setTextContent(h),setTooltipConfig({el:f,componentModel:e,itemName:c,formatterParamsExtra:{title:u[c]}}),f.__title=u[c],f.on("mouseover",(function(){var t=p.getItemStyle(),o=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";h.setStyle({fill:p.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),f.setTextConfig({position:p.get("textPosition")||o}),h.ignore=!e.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==o.get(["iconStatus",c])&&n.leaveEmphasis(this),h.hide()})),("emphasis"===o.get(["iconStatus",c])?enterEmphasis:leaveEmphasis)(f),r.add(f),f.on("click",bind$2(l.onclick,l,t,n,c)),m[c]=f}))}(g,p,f),g.setIconStatus=function(e,t){var n=this.option,o=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,o[e]&&("emphasis"===t?enterEmphasis:leaveEmphasis)(o[e])},p instanceof ToolboxFeature&&p.render&&p.render(g,t,n,o)):y&&p.dispose&&p.dispose(t,n)}},t.prototype.updateView=function(e,t,n,o){each$f(this._features,(function(e){e instanceof ToolboxFeature&&e.updateView&&e.updateView(e.model,t,n,o)}))},t.prototype.remove=function(e,t){each$f(this._features,(function(n){n instanceof ToolboxFeature&&n.remove&&n.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){each$f(this._features,(function(n){n instanceof ToolboxFeature&&n.dispose&&n.dispose(e,t)}))},t.type="toolbox",t}(ComponentView);function isUserFeatureName(e){return 0===e.indexOf("my")}var SaveAsImage=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.onclick=function(e,t){var n=this.model,o=n.get("name")||e.get("title.0.text")||"echarts",r="svg"===t.getZr().painter.getType(),i=r?"svg":n.get("type",!0)||"png",a=t.getConnectedDataURL({type:i,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=env.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||r){var s=a.split(","),c=s[0].indexOf("base64")>-1,u=r?decodeURIComponent(s[1]):s[1];c&&(u=window.atob(u));var d=o+"."+i;if(window.navigator.msSaveOrOpenBlob){for(var p=u.length,f=new Uint8Array(p);p--;)f[p]=u.charCodeAt(p);var h=new Blob([f]);window.navigator.msSaveOrOpenBlob(h,d)}else{var m=document.createElement("iframe");document.body.appendChild(m);var g=m.contentWindow,v=g.document;v.open("image/svg+xml","replace"),v.write(u),v.close(),g.focus(),v.execCommand("SaveAs",!0,d),document.body.removeChild(m)}}else{var y=n.get("lang"),b='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(y&&y[0]||"")+'" /></body>',_=window.open();_.document.write(b),_.document.title=o}else{var w=document.createElement("a");w.download=o+"."+i,w.target="_blank",w.href=a;var k=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(k)}},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}(ToolboxFeature),INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return each$f(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 o=this.model,r=o.get(["seriesIndex",n]);if(seriesOptGenreator[n]){var i,a={series:[]};each$f(radioTypes,(function(e){indexOf(e,n)>=0&&each$f(e,(function(e){o.setIconStatus(e,"normal")}))})),o.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(e){var t=e.subType,r=e.id,i=seriesOptGenreator[n](t,r,e,o);i&&(defaults$1(i,e.option),a.series.push(i));var l=e.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var s=l.getAxesByScale("ordinal")[0];if(s){var c=s.dim+"Axis",u=e.getReferringComponents(c,SINGLE_REFERRING).models[0].componentIndex;a[c]=a[c]||[];for(var d=0;d<=u;d++)a[c][u]=a[c][u]||{};a[c][u].boundaryGap="bar"===n}}}));var l=n;"stack"===n&&(i=merge$1({stack:o.option.title.tiled,tiled:o.option.title.stack},o.option.title),"emphasis"!==o.get(["iconStatus",n])&&(l="tiled")),t.dispatchAction({type:"changeMagicType",currentType:l,newOption:a,newTitle:i,featureName:"magicType"})}},t}(ToolboxFeature),seriesOptGenreator={line:function(e,t,n,o){if("bar"===e)return merge$1({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},o.get(["option","line"])||{},!0)},bar:function(e,t,n,o){if("line"===e)return merge$1({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},o.get(["option","bar"])||{},!0)},stack:function(e,t,n,o){var r=n.get("stack")===INNER_STACK_KEYWORD;if("line"===e||"bar"===e)return o.setIconStatus("stack",r?"normal":"emphasis"),merge$1({id:t,stack:r?"":INNER_STACK_KEYWORD},o.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));var BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER="\t";function groupSeries(e){var t={},n=[],o=[];return e.eachRawSeries((function(e){var r=e.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(e);else{var i=r.getBaseAxis();if("category"===i.type){var a=i.dim+"_"+i.index;t[a]||(t[a]={categoryAxis:i,valueAxis:r.getOtherAxis(i),series:[]},o.push({axisDim:i.dim,axisIndex:i.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:o}}function assembleSeriesWithCategoryAxis(e){var t=[];return each$f(e,(function(e,n){var o=e.categoryAxis,r=e.valueAxis.dim,i=[" "].concat(map$1(e.series,(function(e){return e.name}))),a=[o.model.getCategories()];each$f(e.series,(function(e){var t=e.getRawData();a.push(e.getRawData().mapArray(t.mapDimension(r),(function(e){return e})))}));for(var l=[i.join(ITEM_SPLITER)],s=0;s<a[0].length;s++){for(var c=[],u=0;u<a.length;u++)c.push(a[u][s]);l.push(c.join(ITEM_SPLITER))}t.push(l.join("\n"))})),t.join("\n\n"+BLOCK_SPLITER+"\n\n")}function assembleOtherSeries(e){return map$1(e,(function(e){var t=e.getRawData(),n=[e.name],o=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,r=arguments[e-1],i=t.getName(r),a=0;a<e-1;a++)o[a]=arguments[a];n.push((i?i+ITEM_SPLITER:"")+o.join(ITEM_SPLITER))})),n.join("\n")})).join("\n\n"+BLOCK_SPLITER+"\n\n")}function getContentFromModel(e){var t=groupSeries(e);return{value:filter([assembleSeriesWithCategoryAxis(t.seriesGroupByCategoryAxis),assembleOtherSeries(t.other)],(function(e){return!!e.replace(/[\n\t\s]/g,"")})).join("\n\n"+BLOCK_SPLITER+"\n\n"),meta:t.meta}}function trim$1(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function isTSVFormat(e){if(e.slice(0,e.indexOf("\n")).indexOf(ITEM_SPLITER)>=0)return!0}var itemSplitRegex=new RegExp("["+ITEM_SPLITER+"]+","g");function parseTSVContents(e){for(var t=e.split(/\n+/g),n=[],o=map$1(trim$1(t.shift()).split(itemSplitRegex),(function(e){return{name:e,data:[]}})),r=0;r<t.length;r++){var i=trim$1(t[r]).split(itemSplitRegex);n.push(i.shift());for(var a=0;a<i.length;a++)o[a]&&(o[a].data[r]=i[a])}return{series:o,categories:n}}function parseListContents(e){for(var t=e.split(/\n+/g),n=trim$1(t.shift()),o=[],r=0;r<t.length;r++){var i=trim$1(t[r]);if(i){var a=i.split(itemSplitRegex),l="",s=void 0,c=!1;isNaN(a[0])?(c=!0,l=a[0],a=a.slice(1),o[r]={name:l,value:[]},s=o[r].value):s=o[r]=[];for(var u=0;u<a.length;u++)s.push(+a[u]);1===s.length&&(c?o[r].value=s[0]:o[r]=s[0])}}return{name:n,data:o}}function parseContents(e,t){var n=e.split(new RegExp("\n*"+BLOCK_SPLITER+"\n*","g")),o={series:[]};return each$f(n,(function(e,n){if(isTSVFormat(e)){var r=parseTSVContents(e),i=t[n],a=i.axisDim+"Axis";i&&(o[a]=o[a]||[],o[a][i.axisIndex]={data:r.categories},o.series=o.series.concat(r.series))}else{r=parseListContents(e);o.series.push(r)}})),o}var DataView=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var n=t.getDom(),o=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=o.get("backgroundColor")||"#fff";var i=document.createElement("h4"),a=o.get("lang")||[];i.innerHTML=a[0]||o.get("title"),i.style.cssText="margin:10px 20px",i.style.color=o.get("textColor");var l=document.createElement("div"),s=document.createElement("textarea");l.style.cssText="overflow:auto";var c=o.get("optionToContent"),u=o.get("contentToOption"),d=getContentFromModel(e);if(isFunction$2(c)){var p=c(t.getOption());isString$2(p)?l.innerHTML=p:isDom(p)&&l.appendChild(p)}else{s.readOnly=o.get("readOnly");var f=s.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=o.get("textColor"),f.borderColor=o.get("textareaBorderColor"),f.backgroundColor=o.get("textareaColor"),s.value=d.value,l.appendChild(s)}var h=d.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",v=document.createElement("div"),y=document.createElement("div");g+=";background-color:"+o.get("buttonColor"),g+=";color:"+o.get("buttonTextColor");var b=this;function _(){n.removeChild(r),b._dom=null}addEventListener(v,"click",_),addEventListener(y,"click",(function(){if(null==u&&null!=c||null!=u&&null==c)_();else{var e;try{e=isFunction$2(u)?u(l,t.getOption()):parseContents(s.value,h)}catch(e2){throw _(),new Error("Data view format error "+e2)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),_()}})),v.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=v.style.cssText=g,!o.get("readOnly")&&m.appendChild(y),m.appendChild(v),r.appendChild(i),r.appendChild(l),r.appendChild(m),l.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},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}(ToolboxFeature);function tryMergeDataOption(e,t){return map$1(e,(function(e,n){var o=t&&t[n];if(isObject$4(o)&&!isArray$2(o)){isObject$4(e)&&!isArray$2(e)||(e={value:e});var r=null!=o.name&&null==e.name;return e=defaults$1(e,o),r&&delete e.name,e}return e}))}registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];each$f(e.newOption.series,(function(e){var o=t.getSeriesByName(e.name)[0];if(o){var r=o.get("data");n.push({name:e.name,data:tryMergeDataOption(e.data,r)})}else n.push(extend$1({type:"scatter"},e))})),t.mergeOption(defaults$1({series:n},e.newOption))}));var each$6=each$f,inner$6=makeInner();function push(e,t){var n=getStoreSnapshots(e);each$6(t,(function(t,o){for(var r=n.length-1;r>=0;r--){if(n[r][o])break}if(r<0){var i=e.queryComponents({mainType:"dataZoom",subType:"select",id:o})[0];if(i){var a=i.getPercentRange();n[0][o]={dataZoomId:o,start:a[0],end:a[1]}}}})),n.push(t)}function pop(e){var t=getStoreSnapshots(e),n=t[t.length-1];t.length>1&&t.pop();var o={};return each$6(n,(function(e,n){for(var r=t.length-1;r>=0;r--)if(e=t[r][n]){o[n]=e;break}})),o}function clear(e){inner$6(e).snapshots=null}function count(e){return getStoreSnapshots(e).length}function getStoreSnapshots(e){var t=inner$6(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var RestoreOption=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.onclick=function(e,t){clear(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}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var INCLUDE_FINDER_MAIN_TYPES=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],BrushTargetManager=function(){function e(e,t,n){var o=this;this._targetInfoList=[];var r=parseFinder(t,e);each$f(targetInfoBuilders,(function(e,t){(!n||!n.include||indexOf(n.include,t)>=0)&&e(r,o._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 o=coordConvert[e.brushType](0,n,t);e.__rangeOffset={offset:diffProcessor[e.brushType](o.values,e.range,[1,1]),xyMinMax:o.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){each$f(e,(function(e){var o=this.findTargetInfo(e,t);o&&!0!==o&&each$f(o.coordSyses,(function(o){var r=coordConvert[e.brushType](1,o,e.range,!0);n(e,r.values,o,t)}))}),this)},e.prototype.setInputRanges=function(e,t){each$f(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var o=coordConvert[e.brushType](0,n.coordSys,e.coordRange),r=e.__rangeOffset;e.range=r?diffProcessor[e.brushType](o.values,r.offset,getScales(o.xyMinMax,r.xyMinMax)):o.values}}),this)},e.prototype.makePanelOpts=function(e,t){return map$1(this._targetInfoList,(function(n){var o=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:makeRectPanelClipPath(o),isTargetByCursor:makeRectIsTargetByCursor(o,e,n.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(o)}}))},e.prototype.controlSeries=function(e,t,n){var o=this.findTargetInfo(e,n);return!0===o||o&&indexOf(o.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,o=parseFinder(t,e),r=0;r<n.length;r++){var i=n[r],a=e.panelId;if(a){if(i.panelId===a)return i}else for(var l=0;l<targetInfoMatchers.length;l++)if(targetInfoMatchers[l](o,i))return i}return!0},e}();function formatMinMax(e){return e[0]>e[1]&&e.reverse(),e}function parseFinder(e,t){return parseFinder$1(e,t,{includeMainTypes:INCLUDE_FINDER_MAIN_TYPES})}var targetInfoBuilders={grid:function(e,t){var n=e.xAxisModels,o=e.yAxisModels,r=e.gridModels,i=createHashMap(),a={},l={};(n||o||r)&&(each$f(n,(function(e){var t=e.axis.grid.model;i.set(t.id,t),a[t.id]=!0})),each$f(o,(function(e){var t=e.axis.grid.model;i.set(t.id,t),l[t.id]=!0})),each$f(r,(function(e){i.set(e.id,e),a[e.id]=!0,l[e.id]=!0})),i.each((function(e){var r=e.coordinateSystem,i=[];each$f(r.getCartesians(),(function(e,t){(indexOf(n,e.getAxis("x").model)>=0||indexOf(o,e.getAxis("y").model)>=0)&&i.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:i[0],coordSyses:i,getPanelRect:panelRectBuilders.grid,xAxisDeclared:a[e.id],yAxisDeclared:l[e.id]})})))},geo:function(e,t){each$f(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:panelRectBuilders.geo})}))}},targetInfoMatchers=[function(e,t){var n=e.xAxisModel,o=e.yAxisModel,r=e.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&o&&(r=o.axis.grid.model),r&&r===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],panelRectBuilders={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(getTransform$1(e)),t}},coordConvert={lineX:curry$1(axisConvert,0),lineY:curry$1(axisConvert,1),rect:function(e,t,n,o){var r=e?t.pointToData([n[0][0],n[1][0]],o):t.dataToPoint([n[0][0],n[1][0]],o),i=e?t.pointToData([n[0][1],n[1][1]],o):t.dataToPoint([n[0][1],n[1][1]],o),a=[formatMinMax([r[0],i[0]]),formatMinMax([r[1],i[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,o){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:map$1(n,(function(n){var i=e?t.pointToData(n,o):t.dataToPoint(n,o);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i})),xyMinMax:r}}};function axisConvert(e,t,n,o){var r=n.getAxis(["x","y"][e]),i=formatMinMax(map$1([0,1],(function(e){return t?r.coordToData(r.toLocalCoord(o[e]),!0):r.toGlobalCoord(r.dataToCoord(o[e]))}))),a=[];return a[e]=i,a[1-e]=[NaN,NaN],{values:i,xyMinMax:a}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,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 map$1(e,(function(e,o){return[e[0]-n[0]*t[o][0],e[1]-n[1]*t[o][1]]}))}};function axisDiffProcessor(e,t,n,o){return[t[0]-o[e]*n[0],t[1]-o[e]*n[1]]}function getScales(e,t){var n=getSize(e),o=getSize(t),r=[n[0]/o[0],n[1]/o[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function getSize(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var each$5=each$f,DATA_ZOOM_ID_BASE=makeInternalComponentId("toolbox-dataZoom_"),DataZoomFeature=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(e,t,n,o){this._brushController||(this._brushController=new BrushController(n.getZr()),this._brushController.on("brush",bind$2(this._onBrush,this)).mount()),updateZoomBtnStatus(e,t,this,o,n),updateBackBtnStatus(e,t)},t.prototype.onclick=function(e,t,n){handlers[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={},o=this.ecModel;this._brushController.updateCovers([]),new BrushTargetManager(makeAxisFinder(this.model),o,{include:["grid"]}).matchOutputRanges(t,o,(function(e,t,n){if("cartesian2d"===n.type){var o=e.brushType;"rect"===o?(r("x",n,t[0]),r("y",n,t[1])):r({lineX:"x",lineY:"y"}[o],n,t)}})),push(o,n),this._dispatchZoomAction(n)}function r(e,t,r){var i=t.getAxis(e),a=i.model,l=function(e,t,n){var o;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(e,t.componentIndex)&&(o=n)})),o}(e,a,o),s=l.findRepresentativeAxisProxy(a).getMinMaxSpan();null==s.minValueSpan&&null==s.maxValueSpan||(r=sliderMove(0,r.slice(),i.scale.getExtent(),0,s.minValueSpan,s.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}},t.prototype._dispatchZoomAction=function(e){var t=[];each$5(e,(function(e,n){t.push(clone$4(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}(ToolboxFeature),handlers={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(pop(this.ecModel))}};function makeAxisFinder(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}function updateBackBtnStatus(e,t){e.setIconStatus("back",count(t)>1?"emphasis":"normal")}function updateZoomBtnStatus(e,t,n,o,r){var i=n._isZoomActive;o&&"takeGlobalCursor"===o.type&&(i="dataZoomSelect"===o.key&&o.dataZoomSelectActive),n._isZoomActive=i,e.setIconStatus("zoom",i?"emphasis":"normal");var a=new BrushTargetManager(makeAxisFinder(e),t,{include:["grid"]}).makePanelOpts(r,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(a).enableBrush(!(!i||!a.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}function install$k(e){e.registerComponentModel(ToolboxModel),e.registerComponentView(ToolboxView),registerFeature("saveAsImage",SaveAsImage),registerFeature("magicType",MagicType),registerFeature("dataView",DataView),registerFeature("dataZoom",DataZoomFeature),registerFeature("restore",RestoreOption),use(install$l)}registerInternalOptionCreator("dataZoom",(function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var o=t.getModel(n),r=[],i=parseFinder$1(e,makeAxisFinder(o));return each$5(i.xAxisModels,(function(e){return a(e,"xAxis","xAxisIndex")})),each$5(i.yAxisModels,(function(e){return a(e,"yAxis","yAxisIndex")})),r}function a(e,t,n){var i=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:o.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+t+i};a[n]=i,r.push(a)}}));var TooltipModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(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}(ComponentModel);function shouldTooltipConfine(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function testStyle(e){if(env.domSupported)for(var t=document.documentElement.style,n=0,o=e.length;n<o;n++)if(e[n]in t)return e[n]}var TRANSFORM_VENDOR=testStyle(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),TRANSITION_VENDOR=testStyle(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function toCSSVendorPrefix(e,t){if(!e)return t;t=toCamelCase$1(t,!0);var n=e.indexOf(t);return(e=-1===n?t:"-"+e.slice(0,n)+"-"+t).toLowerCase()}function getComputedStyle$2(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?n[t]:null}var CSS_TRANSITION_VENDOR=toCSSVendorPrefix(TRANSITION_VENDOR,"transition"),CSS_TRANSFORM_VENDOR=toCSSVendorPrefix(TRANSFORM_VENDOR,"transform"),gCssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(env.transform3dSupported?"will-change:transform;":"");function mirrorPos(e){return e="left"===e?"right":"right"===e?"left":"top"===e?"bottom":"top"}function assembleArrow(e,t,n){if(!isString$2(n)||"inside"===n)return"";var o=e.get("backgroundColor"),r=e.get("borderWidth");t=convertToColorString(t);var i,a=mirrorPos(n),l=Math.max(1.5*Math.round(r),6),s="",c=CSS_TRANSFORM_VENDOR+":";indexOf(["left","right"],a)>-1?(s+="top:50%",c+="translateY(-50%) rotate("+(i="left"===a?-225:-45)+"deg)"):(s+="left:50%",c+="translateX(-50%) rotate("+(i="top"===a?225:45)+"deg)");var u=i*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(u))+d*Math.abs(Math.sin(u)),f=t+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(s+=";"+a+":-"+Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-d)/2))/100+"px")+";"+c+";","border-bottom:"+f,"border-right:"+f,"background-color:"+o+";"].join("")+'"></div>'}function assembleTransition(e,t){var n="cubic-bezier(0.23,1,0.32,1)",o=" "+e/2+"s "+n,r="opacity"+o+",visibility"+o;return t||(o=" "+e+"s "+n,r+=env.transformSupported?","+CSS_TRANSFORM_VENDOR+o:",left"+o+",top"+o),CSS_TRANSITION_VENDOR+":"+r}function assembleTransform(e,t,n){var o=e.toFixed(0)+"px",r=t.toFixed(0)+"px";if(!env.transformSupported)return n?"top:"+r+";left:"+o+";":[["top",r],["left",o]];var i=env.transform3dSupported,a="translate"+(i?"3d":"")+"("+o+","+r+(i?",0":"")+")";return n?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+a+";":[["top",0],["left",0],[TRANSFORM_VENDOR,a]]}function assembleFont(e){var t=[],n=e.get("fontSize"),o=e.getTextColor();o&&t.push("color:"+o),t.push("font:"+e.getFont());var r=retrieve2(e.get("lineHeight"),Math.round(3*n/2));n&&t.push("line-height:"+r+"px");var i=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,l=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&a&&t.push("text-shadow:"+l+"px "+s+"px "+a+"px "+i),each$f(["decoration","align"],(function(n){var o=e.get(n);o&&t.push("text-"+n+":"+o)})),t.join(";")}function assembleCssText(e,t,n){var o=[],r=e.get("transitionDuration"),i=e.get("backgroundColor"),a=e.get("shadowBlur"),l=e.get("shadowColor"),s=e.get("shadowOffsetX"),c=e.get("shadowOffsetY"),u=e.getModel("textStyle"),d=getPaddingFromTooltipModel(e,"html"),p=s+"px "+c+"px "+a+"px "+l;return o.push("box-shadow:"+p),t&&r&&o.push(assembleTransition(r,n)),i&&o.push("background-color:"+i),each$f(["width","color","radius"],(function(t){var n="border-"+t,r=toCamelCase$1(n),i=e.get(r);null!=i&&o.push(n+":"+i+("color"===t?"":"px"))})),o.push(assembleFont(u)),null!=d&&o.push("padding:"+normalizeCssArray(d).join("px ")+"px"),o.join(";")+";"}function makeStyleCoord$1(e,t,n,o,r){var i=t&&t.painter;if(n){var a=i&&i.getViewportRoot();a&&transformLocalCoord(e,a,n,o,r)}else{e[0]=o,e[1]=r;var l=i&&i.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var TooltipHTMLContent=function(){function e(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,env.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var o=this._zr=e.getZr(),r=t.appendTo,i=r&&(isString$2(r)?document.querySelector(r):isDom(r)?r:isFunction$2(r)&&r(e.getDom()));makeStyleCoord$1(this._styleCoord,o,i,e.getWidth()/2,e.getHeight()/2),(i||e.getDom()).appendChild(n),this._api=e,this._container=i;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=o.handler;normalizeEvent(o.painter.getViewportRoot(),e,!0),t.dispatch("mousemove",e)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),n=getComputedStyle$2(t,"position"),o=t.style;"absolute"!==o.position&&"absolute"!==n&&(o.position="relative")}var r=e.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,o=n.style,r=this._styleCoord;n.innerHTML?o.cssText=gCssText+assembleCssText(e,!this._firstShow,this._longHide)+assembleTransform(r[0],r[1],!0)+"border-color:"+convertToColorString(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):o.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,o,r){var i=this.el;if(null!=e){var a="";if(isString$2(r)&&"item"===n.get("trigger")&&!shouldTooltipConfine(n)&&(a=assembleArrow(n,o,r)),isString$2(e))i.innerHTML=e+a;else if(e){i.innerHTML="",isArray$2(e)||(e=[e]);for(var l=0;l<e.length;l++)isDom(e[l])&&e[l].parentNode!==i&&i.appendChild(e[l]);if(a&&i.childNodes.length){var s=document.createElement("div");s.innerHTML=a,i.appendChild(s)}}}else i.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return e?[e.offsetWidth,e.offsetHeight]:[0,0]},e.prototype.moveTo=function(e,t){if(this.el){var n=this._styleCoord;if(makeStyleCoord$1(n,this._zr,this._container,e,t),null!=n[0]&&null!=n[1]){var o=this.el.style;each$f(assembleTransform(n[0],n[1]),(function(e){o[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",env.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(bind$2(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this.el.parentNode;e&&e.removeChild(this.el),this.el=this._container=null},e}(),TooltipRichContent=function(){function e(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),makeStyleCoord(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,o,r){var i=this;isObject$4(e)&&throwError$1(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new ZRText({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:o,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:getPaddingFromTooltipModel(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),each$f(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){i.el.style[e]=n.get(e)})),each$f(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){i.el.style[e]=a.get(e)||0})),this._zr.add(this.el);var l=this;this.el.on("mouseover",(function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0})),this.el.on("mouseout",(function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}))},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),n=calcShadowOuterSize(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 o=this._styleCoord;makeStyleCoord(o,this._zr,e,t),e=o[0],t=o[1];var r=n.style,i=mathMaxWith0(r.borderWidth||0),a=calcShadowOuterSize(r);n.x=e+i+a.left,n.y=t+i+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(bind$2(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function mathMaxWith0(e){return Math.max(0,e)}function calcShadowOuterSize(e){var t=mathMaxWith0(e.shadowBlur||0),n=mathMaxWith0(e.shadowOffsetX||0),o=mathMaxWith0(e.shadowOffsetY||0);return{left:mathMaxWith0(t-n),right:mathMaxWith0(t+n),top:mathMaxWith0(t-o),bottom:mathMaxWith0(t+o)}}function makeStyleCoord(e,t,n,o){e[0]=n,e[1]=o,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var proxyRect=new Rect$2({shape:{x:-1,y:-1,width:2,height:2}}),TooltipView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(e,t){if(!env.node&&t.getDom()){var n=e.getComponent("tooltip"),o=this._renderMode=getTooltipRenderMode(n.get("renderMode"));this._tooltipContent="richText"===o?new TooltipRichContent(t):new TooltipHTMLContent(t,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},t.prototype.render=function(e,t,n){if(!env.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n;var o=this._tooltipContent;o.update(e),o.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?createOrUpdate(this,"_updatePosition",50,"fixRate"):clear$1(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel.get("triggerOn");register("itemTooltip",this._api,bind$2((function(t,n,o){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,o):"leave"===t&&this._hide(o))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,o=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==o&&"click"!==o){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(e,t,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,n,o){if(o.from!==this.uid&&!env.node&&n.getDom()){var r=makeDispatchAction(o,n);this._ticket="";var i=o.dataByCoordSys,a=findComponentReference(o,t,n);if(a){var l=a.el.getBoundingRect().clone();l.applyTransform(a.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:a.el,position:o.position,positionDefault:"bottom"},r)}else if(o.tooltip&&null!=o.x&&null!=o.y){var s=proxyRect;s.x=o.x,s.y=o.y,s.update(),getECData(s).tooltipConfig={name:null,option:o.tooltip},this._tryShow({offsetX:o.x,offsetY:o.y,target:s},r)}else if(i)this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,dataByCoordSys:i,tooltipOption:o.tooltipOption},r);else if(null!=o.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,o))return;var c=findPointFromSeries(o,t),u=c.point[0],d=c.point[1];null!=u&&null!=d&&this._tryShow({offsetX:u,offsetY:d,target:c.el,position:o.position,positionDefault:"bottom"},r)}else null!=o.x&&null!=o.y&&(n.dispatchAction({type:"updateAxisPointer",x:o.x,y:o.y}),this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,target:n.getZr().findHover(o.x,o.y).target},r))}},t.prototype.manuallyHideTip=function(e,t,n,o){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,o.from!==this.uid&&this._hide(makeDispatchAction(o,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,o){var r=o.seriesIndex,i=o.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=i&&null!=a){var l=t.getSeriesByIndex(r);if(l)if("axis"===buildTooltipModel([l.getData().getItemModel(i),l,(l.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:i,position:o.position}),!0}},t.prototype._tryShow=function(e,t){var n=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,e);else if(n){var r,i;if("legend"===getECData(n).ssrType)return;this._lastDataByCoordSys=null,findEventDispatcher(n,(function(e){return null!=getECData(e).dataIndex?(r=e,!0):null!=getECData(e).tooltipConfig?(i=e,!0):void 0}),!0),r?this._showSeriesItemTooltip(e,r,t):i?this._showComponentItemTooltip(e,i,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=bind$2(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,o=this._tooltipModel,r=[t.offsetX,t.offsetY],i=buildTooltipModel([t.tooltipOption],o),a=this._renderMode,l=[],s=createTooltipMarkup("section",{blocks:[],noHeader:!0}),c=[],u=new TooltipMarkupStyleCreator;each$f(e,(function(e){each$f(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),r=e.value;if(t&&null!=r){var i=getValueLabel(r,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),d=createTooltipMarkup("section",{header:i,noHeader:!trim$2(i),sortBlocks:!0,blocks:[]});s.blocks.push(d),each$f(e.seriesDataIndices,(function(s){var p=n.getSeriesByIndex(s.seriesIndex),f=s.dataIndexInside,h=p.getDataParams(f);if(!(h.dataIndex<0)){h.axisDim=e.axisDim,h.axisIndex=e.axisIndex,h.axisType=e.axisType,h.axisId=e.axisId,h.axisValue=getAxisRawValue(t.axis,{value:r}),h.axisValueLabel=i,h.marker=u.makeTooltipMarker("item",convertToColorString(h.color),a);var m=normalizeTooltipFormatResult(p.formatTooltip(f,!0,null)),g=m.frag;if(g){var v=buildTooltipModel([p],o).get("valueFormatter");d.blocks.push(v?extend$1({valueFormatter:v},g):g)}m.text&&c.push(m.text),l.push(h)}}))}}))})),s.blocks.reverse(),c.reverse();var d=t.position,p=i.get("order"),f=buildTooltipMarkup(s,u,a,p,n.get("useUTC"),i.get("textStyle"));f&&c.unshift(f);var h="richText"===a?"\n\n":"<br/>",m=c.join(h);this._showOrMove(i,(function(){this._updateContentNotChangedOnAxis(e,l)?this._updatePosition(i,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(i,m,l,Math.random()+"",r[0],r[1],d,null,u)}))},t.prototype._showSeriesItemTooltip=function(e,t,n){var o=this._ecModel,r=getECData(t),i=r.seriesIndex,a=o.getSeriesByIndex(i),l=r.dataModel||a,s=r.dataIndex,c=r.dataType,u=l.getData(c),d=this._renderMode,p=e.positionDefault,f=buildTooltipModel([u.getItemModel(s),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),h=f.get("trigger");if(null==h||"item"===h){var m=l.getDataParams(s,c),g=new TooltipMarkupStyleCreator;m.marker=g.makeTooltipMarker("item",convertToColorString(m.color),d);var v=normalizeTooltipFormatResult(l.formatTooltip(s,!1,c)),y=f.get("order"),b=f.get("valueFormatter"),_=v.frag,w=_?buildTooltipMarkup(b?extend$1({valueFormatter:b},_):_,g,d,y,o.get("useUTC"),f.get("textStyle")):v.text,k="item_"+l.name+"_"+s;this._showOrMove(f,(function(){this._showTooltipContent(f,w,m,k,e.offsetX,e.offsetY,e.position,e.target,g)})),n({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:i,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var o="html"===this._renderMode,r=getECData(t),i=r.tooltipConfig.option||{},a=i.encodeHTMLContent;if(isString$2(i)){i={content:i,formatter:i},a=!0}a&&o&&i.content&&((i=clone$4(i)).content=encodeHTML(i.content));var l=[i],s=this._ecModel.getComponent(r.componentMainType,r.componentIndex);s&&l.push(s),l.push({formatter:i.content});var c=e.positionDefault,u=buildTooltipModel(l,this._tooltipModel,c?{position:c}:null),d=u.get("content"),p=Math.random()+"",f=new TooltipMarkupStyleCreator;this._showOrMove(u,(function(){var n=clone$4(u.get("formatterParams")||{});this._showTooltipContent(u,d,n,p,e.offsetX,e.offsetY,e.position,t,f)})),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,o,r,i,a,l,s){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 d=t,p=this._getNearestPoint([r,i],n,e.get("trigger"),e.get("borderColor")).color;if(u)if(isString$2(u)){var f=e.ecModel.get("useUTC"),h=isArray$2(n)?n[0]:n;d=u,h&&h.axisType&&h.axisType.indexOf("time")>=0&&(d=format$1(h.axisValue,d,f)),d=formatTpl(d,n,!0)}else if(isFunction$2(u)){var m=bind$2((function(t,o){t===this._ticket&&(c.setContent(o,s,e,p,a),this._updatePosition(e,a,r,i,c,n,l))}),this);this._ticket=o,d=u(n,o,m)}else d=u;c.setContent(d,s,e,p,a),c.show(e,p),this._updatePosition(e,a,r,i,c,n,l)}},t.prototype._getNearestPoint=function(e,t,n,o){return"axis"===n||isArray$2(t)?{color:o||("html"===this._renderMode?"#fff":"none")}:isArray$2(t)?void 0:{color:o||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,o,r,i,a){var l=this._api.getWidth(),s=this._api.getHeight();t=t||e.get("position");var c=r.getSize(),u=e.get("align"),d=e.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),isFunction$2(t)&&(t=t([n,o],i,r.el,p,{viewSize:[l,s],contentSize:c.slice()})),isArray$2(t))n=parsePercent(t[0],l),o=parsePercent(t[1],s);else if(isObject$4(t)){var f=t;f.width=c[0],f.height=c[1];var h=getLayoutRect(f,{width:l,height:s});n=h.x,o=h.y,u=null,d=null}else if(isString$2(t)&&a){n=(m=calcTooltipPosition(t,p,c,e.get("borderWidth")))[0],o=m[1]}else{var m;n=(m=refixTooltipPosition(n,o,r,l,s,u?null:20,d?null:20))[0],o=m[1]}(u&&(n-=isCenterAlign(u)?c[0]/2:"right"===u?c[0]:0),d&&(o-=isCenterAlign(d)?c[1]/2:"bottom"===d?c[1]:0),shouldTooltipConfine(e))&&(n=(m=confineTooltipPosition(n,o,r,l,s))[0],o=m[1]);r.moveTo(n,o)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,o=this._cbParamsList,r=!!n&&n.length===e.length;return r&&each$f(n,(function(n,i){var a=n.dataByAxis||[],l=(e[i]||{}).dataByAxis||[];(r=r&&a.length===l.length)&&each$f(a,(function(e,n){var i=l[n]||{},a=e.seriesDataIndices||[],s=i.seriesDataIndices||[];(r=r&&e.value===i.value&&e.axisType===i.axisType&&e.axisId===i.axisId&&a.length===s.length)&&each$f(a,(function(e,t){var n=s[t];r=r&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})),o&&each$f(e.seriesDataIndices,(function(e){var n=e.seriesIndex,i=t[n],a=o[n];i&&a&&a.data!==i.data&&(r=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!r},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!env.node&&t.getDom()&&(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",t))},t.type="tooltip",t}(ComponentView);function buildTooltipModel(e,t,n){var o,r=t.ecModel;n?(o=new Model(n,r,r),o=new Model(t.option,o,r)):o=t;for(var i=e.length-1;i>=0;i--){var a=e[i];a&&(a instanceof Model&&(a=a.get("tooltip",!0)),isString$2(a)&&(a={formatter:a}),a&&(o=new Model(a,o,r)))}return o}function makeDispatchAction(e,t){return e.dispatchAction||bind$2(t.dispatchAction,t)}function refixTooltipPosition(e,t,n,o,r,i,a){var l=n.getSize(),s=l[0],c=l[1];return null!=i&&(e+s+i+2>o?e-=s+i:e+=i),null!=a&&(t+c+a>r?t-=c+a:t+=a),[e,t]}function confineTooltipPosition(e,t,n,o,r){var i=n.getSize(),a=i[0],l=i[1];return e=Math.min(e+a,o)-a,t=Math.min(t+l,r)-l,[e=Math.max(e,0),t=Math.max(t,0)]}function calcTooltipPosition(e,t,n,o){var r=n[0],i=n[1],a=Math.ceil(Math.SQRT2*o)+8,l=0,s=0,c=t.width,u=t.height;switch(e){case"inside":l=t.x+c/2-r/2,s=t.y+u/2-i/2;break;case"top":l=t.x+c/2-r/2,s=t.y-i-a;break;case"bottom":l=t.x+c/2-r/2,s=t.y+u+a;break;case"left":l=t.x-r-a,s=t.y+u/2-i/2;break;case"right":l=t.x+c+a,s=t.y+u/2-i/2}return[l,s]}function isCenterAlign(e){return"center"===e||"middle"===e}function findComponentReference(e,t,n){var o=preParseFinder(e).queryOptionMap,r=o.keys()[0];if(r&&"series"!==r){var i,a=queryReferringComponents(t,r,o.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a)return n.getViewOfComponentModel(a).group.traverse((function(t){var n=getECData(t).tooltipConfig;if(n&&n.name===e.name)return i=t,!0})),i?{componentMainType:r,componentIndex:a.componentIndex,el:i}:void 0}}function install$j(e){use(install$r),e.registerComponentModel(TooltipModel),e.registerComponentView(TooltipView),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop$2),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop$2)}var DEFAULT_TOOLBOX_BTNS=["rect","polygon","keep","clear"];function brushPreprocessor(e,t){var n=normalizeToArray(e?e.brush:[]);if(n.length){var o=[];each$f(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(o=o.concat(t))}));var r=e&&e.toolbox;isArray$2(r)&&(r=r[0]),r||(r={feature:{}},e.toolbox=[r]);var i=r.feature||(r.feature={}),a=i.brush||(i.brush={}),l=a.type||(a.type=[]);l.push.apply(l,o),removeDuplicate(l),t&&!l.length&&l.push.apply(l,DEFAULT_TOOLBOX_BTNS)}}function removeDuplicate(e){var t={};each$f(e,(function(e){t[e]=1})),e.length=0,each$f(t,(function(t,n){e.push(n)}))}var each$4=each$f;function hasKeys(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function createVisualMappings(e,t,n){var o={};return each$4(t,(function(t){var r,i=o[t]=((r=function(){}).prototype.__hidden=r.prototype,new r);each$4(e[t],(function(e,o){if(VisualMapping.isValidType(o)){var r={type:o,visual:e};n&&n(r,t),i[o]=new VisualMapping(r),"opacity"===o&&((r=clone$4(r)).type="colorAlpha",i.__hidden.__alphaForOpacity=new VisualMapping(r))}}))})),o}function replaceVisualOption(e,t,n){var o;each$f(n,(function(e){t.hasOwnProperty(e)&&hasKeys(t[e])&&(o=!0)})),o&&each$f(n,(function(n){t.hasOwnProperty(n)&&hasKeys(t[n])?e[n]=clone$4(t[n]):delete e[n]}))}function applyVisual(e,t,n,o,r,i){var a,l={};function s(e){return getItemVisualFromData(n,a,e)}function c(e,t){setItemVisualFromData(n,a,e,t)}each$f(e,(function(e){var n=VisualMapping.prepareVisualTypes(t[e]);l[e]=n})),n.each((function(e,i){a=e;var u=n.getRawDataItem(a);if(u&&!1===u.visualMap)return;for(var d=o.call(r,e),p=t[d],f=l[d],h=0,m=f.length;h<m;h++){var g=f[h];p[g]&&p[g].applyVisual(e,s,c)}}))}function incrementalApplyVisual(e,t,n,o){var r={};return each$f(e,(function(e){var n=VisualMapping.prepareVisualTypes(t[e]);r[e]=n})),{progress:function(e,i){var a,l;function s(e){return getItemVisualFromData(i,l,e)}function c(e,t){setItemVisualFromData(i,l,e,t)}null!=o&&(a=i.getDimensionIndex(o));for(var u=i.getStore();null!=(l=e.next());){var d=i.getRawDataItem(l);if(!d||!1!==d.visualMap)for(var p=null!=o?u.get(a,l):l,f=n(p),h=t[f],m=r[f],g=0,v=m.length;g<v;g++){var y=m[g];h[y]&&h[y].applyVisual(p,s,c)}}}}}function makeBrushCommonSelectorForSeries(e){var t=e.brushType,n={point:function(o){return selector[t].point(o,n,e)},rect:function(o){return selector[t].rect(o,n,e)}};return n}var selector={lineX:getLineSelectors(0),lineY:getLineSelectors(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])&&contain(n.range,e[0],e[1])},rect:function(e,t,n){var o=n.range;if(!e||o.length<=1)return!1;var r=e.x,i=e.y,a=e.width,l=e.height,s=o[0];return!!(contain(o,r,i)||contain(o,r+a,i)||contain(o,r,i+l)||contain(o,r+a,i+l)||BoundingRect.create(e).contain(s[0],s[1])||linePolygonIntersect(r,i,r+a,i,o)||linePolygonIntersect(r,i,r,i+l,o)||linePolygonIntersect(r+a,i,r+a,i+l,o)||linePolygonIntersect(r,i+l,r+a,i+l,o))||void 0}}};function getLineSelectors(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,o){if(t){var r=o.range;return inLineRange(t[e],r)}},rect:function(o,r,i){if(o){var a=i.range,l=[o[t[e]],o[t[e]]+o[n[e]]];return l[1]<l[0]&&l.reverse(),inLineRange(l[0],a)||inLineRange(l[1],a)||inLineRange(a[0],l)||inLineRange(a[1],l)}}}}function inLineRange(e,t){return t[0]<=e&&e<=t[1]}var STATE_LIST=["inBrush","outOfBrush"],DISPATCH_METHOD="__ecBrushSelect",DISPATCH_FLAG="__ecInBrushSelectEvent";function layoutCovers(e){e.eachComponent({mainType:"brush"},(function(t){(t.brushTargetManager=new BrushTargetManager(t.option,e)).setInputRanges(t.areas,e)}))}function brushVisual(e,t,n){var o,r,i=[];e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),layoutCovers(e),e.eachComponent({mainType:"brush"},(function(t,n){var a={brushId:t.id,brushIndex:n,brushName:t.name,areas:clone$4(t.areas),selected:[]};i.push(a);var l=t.option,s=l.brushLink,c=[],u=[],d=[],p=!1;n||(o=l.throttleType,r=l.throttleDelay);var f=map$1(t.areas,(function(e){var t=boundingRectBuilders[e.brushType],n=defaults$1({boundingRect:t?t(e):void 0},e);return n.selectors=makeBrushCommonSelectorForSeries(n),n})),h=createVisualMappings(t.option,STATE_LIST,(function(e){e.mappingMethod="fixed"}));function m(e){return"all"===s||!!c[e]}function g(e){return!!e.length}isArray$2(s)&&each$f(s,(function(e){c[e]=1})),e.eachSeries((function(n,o){var r=d[o]=[];"parallel"===n.subType?function(e,t){var n=e.coordinateSystem;p=p||n.hasAxisBrushed(),m(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(u[t]=1)}))}(n,o):function(n,o,r){if(!n.brushSelector||brushModelNotControll(t,o))return;if(each$f(f,(function(o){t.brushTargetManager.controlSeries(o,n,e)&&r.push(o),p=p||g(r)})),m(o)&&g(r)){var i=n.getData();i.each((function(e){checkInRange(n,r,i,e)&&(u[e]=1)}))}}(n,o,r)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};a.selected.push(n);var o=d[t],r=e.getData(),i=m(t)?function(e){return u[e]?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return checkInRange(e,o,r,t)?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"};(m(t)?p:g(o))&&applyVisual(STATE_LIST,h,r,i)}))})),dispatchAction$1(t,o,r,i,n)}function dispatchAction$1(e,t,n,o,r){if(r){var i=e.getZr();if(!i[DISPATCH_FLAG])i[DISPATCH_METHOD]||(i[DISPATCH_METHOD]=doDispatch),createOrUpdate(i,DISPATCH_METHOD,n,t)(e,o)}}function doDispatch(e,t){if(!e.isDisposed()){var n=e.getZr();n[DISPATCH_FLAG]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[DISPATCH_FLAG]=!1}}function checkInRange(e,t,n,o){for(var r=0,i=t.length;r<i;r++){var a=t[r];if(e.brushSelector(o,n,a.selectors,a))return!0}}function brushModelNotControll(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(isArray$2(n)?indexOf(n,t)<0:t!==n)}var boundingRectBuilders={rect:function(e){return getBoundingRectFromMinMax(e.range)},polygon:function(e){for(var t,n=e.range,o=0,r=n.length;o<r;o++){t=t||[[1/0,-1/0],[1/0,-1/0]];var i=n[o];i[0]<t[0][0]&&(t[0][0]=i[0]),i[0]>t[0][1]&&(t[0][1]=i[0]),i[1]<t[1][0]&&(t[1][0]=i[1]),i[1]>t[1][1]&&(t[1][1]=i[1])}return t&&getBoundingRectFromMinMax(t)}};function getBoundingRectFromMinMax(e){return new BoundingRect(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var BrushView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new BrushController(t.getZr())).on("brush",bind$2(this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,o){this.model=e,this._updateController(e,t,n,o)},t.prototype.updateTransform=function(e,t,n,o){layoutCovers(t),this._updateController(e,t,n,o)},t.prototype.updateVisual=function(e,t,n,o){this.updateTransform(e,t,n,o)},t.prototype.updateView=function(e,t,n,o){this._updateController(e,t,n,o)},t.prototype._updateController=function(e,t,n,o){(!o||o.$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:clone$4(n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:clone$4(n),$from:t})},t.type="brush",t}(ComponentView),DEFAULT_OUT_OF_BRUSH_COLOR="#ddd",BrushModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return __extends(t,e),t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&replaceVisualOption(n,e,["inBrush","outOfBrush"]);var o=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:DEFAULT_OUT_OF_BRUSH_COLOR},o.hasOwnProperty("liftZ")||(o.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=map$1(e,(function(e){return generateBrushOption(this.option,e)}),this))},t.prototype.setBrushOption=function(e){this.brushOption=generateBrushOption(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}(ComponentModel);function generateBrushOption(e,t){return merge$1({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Model(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var ICON_TYPES=["rect","polygon","lineX","lineY","keep","clear"],BrushFeature=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(e,t,n){var o,r,i;t.eachComponent({mainType:"brush"},(function(e){o=e.brushType,r=e.brushOption.brushMode||"single",i=i||!!e.areas.length})),this._brushType=o,this._brushMode=r,each$f(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===r:"clear"===t?i:t===o)?"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 each$f(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},t.prototype.onclick=function(e,t,n){var o=this._brushType,r=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?o:o!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},t.getDefaultOption=function(e){return{show:!0,type:ICON_TYPES.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}(ToolboxFeature);function install$i(e){e.registerComponentView(BrushView),e.registerComponentModel(BrushModel),e.registerPreprocessor(brushPreprocessor),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,brushVisual),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"},noop$2),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},noop$2),registerFeature("brush",BrushFeature)}var TitleModel=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 __extends(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}(ComponentModel),TitleView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var o=this.group,r=e.getModel("textStyle"),i=e.getModel("subtextStyle"),a=e.get("textAlign"),l=retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),s=new ZRText({style:createTextStyle(r,{text:e.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),c=s.getBoundingRect(),u=e.get("subtext"),d=new ZRText({style:createTextStyle(i,{text:u,fill:i.getTextColor(),y:c.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=e.get("link"),f=e.get("sublink"),h=e.get("triggerEvent",!0);s.silent=!p&&!h,d.silent=!f&&!h,p&&s.on("click",(function(){windowOpen(p,"_"+e.get("target"))})),f&&d.on("click",(function(){windowOpen(f,"_"+e.get("subtarget"))})),getECData(s).eventData=getECData(d).eventData=h?{componentType:"title",componentIndex:e.componentIndex}:null,o.add(s),u&&o.add(d);var m=o.getBoundingRect(),g=e.getBoxLayoutParams();g.width=m.width,g.height=m.height;var v=getLayoutRect(g,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));a||("middle"===(a=e.get("left")||e.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),l||("center"===(l=e.get("top")||e.get("bottom"))&&(l="middle"),"bottom"===l?v.y+=v.height:"middle"===l&&(v.y+=v.height/2),l=l||"top"),o.x=v.x,o.y=v.y,o.markRedraw();var y={align:a,verticalAlign:l};s.setStyle(y),d.setStyle(y),m=o.getBoundingRect();var b=v.margin,_=e.getItemStyle(["color","opacity"]);_.fill=e.get("backgroundColor");var w=new Rect$2({shape:{x:m.x-b[3],y:m.y-b[0],width:m.width+b[1]+b[3],height:m.height+b[0]+b[2],r:e.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});o.add(w)}},t.type="title",t}(ComponentView);function install$h(e){e.registerComponentModel(TitleModel),e.registerComponentView(TitleView)}var TimelineModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return __extends(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||[],o=t.axisType,r=this._names=[];"category"===o?(e=[],each$f(n,(function(t,n){var o,i=convertOptionIdName(getDataItemValue(t),"");isObject$4(t)?(o=clone$4(t)).value=n:o=n,e.push(o),r.push(i)}))):e=n;var i={category:"ordinal",time:"time",value:"number"}[o]||"number";(this._data=new SeriesData([{name:"value",type:i}],this)).initData(e,r)},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}(ComponentModel),SliderTimelineModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="timeline.slider",t.defaultOption=inheritDefaultOption(TimelineModel.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}(TimelineModel);mixin(SliderTimelineModel,DataFormatMixin.prototype);var TimelineView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="timeline",t}(ComponentView),TimelineAxis=function(e){function t(t,n,o,r){var i=e.call(this,t,n,o)||this;return i.type=r||"value",i}return __extends(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(Axis),PI=Math.PI,labelDataIndexStore=makeInner(),SliderTimelineView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(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 o=this._layout(e,n),r=this._createGroup("_mainGroup"),i=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(o,e);e.formatTooltip=function(e){return createTooltipMarkup("nameValue",{noName:!0,value:a.scale.getLabel({value:e})})},each$f(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](o,r,a,e)}),this),this._renderAxisLabel(o,i,a,e),this._position(o,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,o,r,i,a=e.get(["label","position"]),l=e.get("orient"),s=getViewRect(e,t),c={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===l?s.y+s.height/2<t.getHeight()/2?"-":"+":s.x+s.width/2<t.getWidth()/2?"+":"-":isString$2(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[l][a]:a)>=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:PI/2},p="vertical"===l?s.height:s.width,f=e.getModel("controlStyle"),h=f.get("show",!0),m=h?f.get("itemSize"):0,g=h?f.get("itemGap"):0,v=m+g,y=e.get(["label","rotate"])||0;y=y*PI/180;var b=f.get("position",!0),_=h&&f.get("showPlayBtn",!0),w=h&&f.get("showPrevBtn",!0),k=h&&f.get("showNextBtn",!0),x=0,S=p;"left"===b||"bottom"===b?(_&&(o=[0,0],x+=v),w&&(r=[x,0],x+=v),k&&(i=[S-m,0],S-=v)):(_&&(o=[S-m,0],S-=v),w&&(r=[0,0],x+=v),k&&(i=[S-m,0],S-=v));var C=[x,S];return e.get("inverse")&&C.reverse(),{viewRect:s,mainLength:p,orient:l,rotation:d[l],labelRotation:y,labelPosOpt:n,labelAlign:e.get(["label","align"])||c[l],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||u[l],playPosition:o,prevBtnPosition:r,nextBtnPosition:i,axisExtent:C,controlSize:m,controlGap:g}},t.prototype._position=function(e,t){var n=this._mainGroup,o=this._labelGroup,r=e.viewRect;if("vertical"===e.orient){var i=create$1(),a=r.x,l=r.y+r.height;translate$1(i,i,[-a,-l]),rotate(i,i,-PI/2),translate$1(i,i,[a,l]),(r=r.clone()).applyTransform(i)}var s=g(r),c=g(n.getBoundingRect()),u=g(o.getBoundingRect()),d=[n.x,n.y],p=[o.x,o.y];p[0]=d[0]=s[0][0];var f,h=e.labelPosOpt;null==h||isString$2(h)?(v(d,c,s,1,f="+"===h?0:1),v(p,u,s,1,1-f)):(v(d,c,s,1,f=h>=0?0:1),p[1]=d[1]+h);function m(e){e.originX=s[0][0]-e.x,e.originY=s[1][0]-e.y}function g(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function v(e,t,n,o,r){e[o]+=n[o][r]-t[o][r]}n.setPosition(d),o.setPosition(p),n.rotation=o.rotation=e.rotation,m(n),m(o)},t.prototype._createAxis=function(e,t){var n=t.getData(),o=t.get("axisType"),r=createScaleByModel(t,o);r.getTicks=function(){return n.mapArray(["value"],(function(e){return{value:e}}))};var i=n.getDataExtent("value");r.setExtent(i[0],i[1]),r.calcNiceTicks();var a=new TimelineAxis("value",r,e.axisExtent,o);return a.model=t,a},t.prototype._createGroup=function(e){var t=this[e]=new Group$3;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,o){var r=n.getExtent();if(o.get(["lineStyle","show"])){var i=new Line$1({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:extend$1({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(i);var a=this._progressLine=new Line$1({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:defaults$1({lineCap:"round",lineWidth:i.style.lineWidth},o.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(a)}},t.prototype._renderAxisTick=function(e,t,n,o){var r=this,i=o.getData(),a=n.scale.getTicks();this._tickSymbols=[],each$f(a,(function(e){var a=n.dataToCoord(e.value),l=i.getItemModel(e.value),s=l.getModel("itemStyle"),c=l.getModel(["emphasis","itemStyle"]),u=l.getModel(["progress","itemStyle"]),d={x:a,y:0,onclick:bind$2(r._changeTimeline,r,e.value)},p=giveSymbol(l,s,t,d);p.ensureState("emphasis").style=c.getItemStyle(),p.ensureState("progress").style=u.getItemStyle(),enableHoverEmphasis(p);var f=getECData(p);l.get("tooltip")?(f.dataIndex=e.value,f.dataModel=o):f.dataIndex=f.dataModel=null,r._tickSymbols.push(p)}))},t.prototype._renderAxisLabel=function(e,t,n,o){var r=this;if(n.getLabelModel().get("show")){var i=o.getData(),a=n.getViewLabels();this._tickLabels=[],each$f(a,(function(o){var a=o.tickValue,l=i.getItemModel(a),s=l.getModel("label"),c=l.getModel(["emphasis","label"]),u=l.getModel(["progress","label"]),d=n.dataToCoord(o.tickValue),p=new ZRText({x:d,y:0,rotation:e.labelRotation-e.rotation,onclick:bind$2(r._changeTimeline,r,a),silent:!1,style:createTextStyle(s,{text:o.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});p.ensureState("emphasis").style=createTextStyle(c),p.ensureState("progress").style=createTextStyle(u),t.add(p),enableHoverEmphasis(p),labelDataIndexStore(p).dataIndex=a,r._tickLabels.push(p)}))}},t.prototype._renderControl=function(e,t,n,o){var r=e.controlSize,i=e.rotation,a=o.getModel("controlStyle").getItemStyle(),l=o.getModel(["emphasis","controlStyle"]).getItemStyle(),s=o.getPlayState(),c=o.get("inverse",!0);function u(e,n,s,c){if(e){var u=parsePercent$1(retrieve2(o.get(["controlStyle",n+"BtnSize"]),r),r),d=makeControlIcon(o,n+"Icon",[0,-u/2,u,u],{x:e[0],y:e[1],originX:r/2,originY:0,rotation:c?-i:0,rectHover:!0,style:a,onclick:s});d.ensureState("emphasis").style=l,t.add(d),enableHoverEmphasis(d)}}u(e.nextBtnPosition,"next",bind$2(this._changeTimeline,this,c?"-":"+")),u(e.prevBtnPosition,"prev",bind$2(this._changeTimeline,this,c?"+":"-")),u(e.playPosition,s?"stop":"play",bind$2(this._handlePlayClick,this,!s),!0)},t.prototype._renderCurrentPointer=function(e,t,n,o){var r=o.getData(),i=o.getCurrentIndex(),a=r.getItemModel(i).getModel("checkpointStyle"),l=this,s={onCreate:function(e){e.draggable=!0,e.drift=bind$2(l._handlePointerDrag,l),e.ondragend=bind$2(l._handlePointerDragend,l),pointerMoveTo(e,l._progressLine,i,n,o,!0)},onUpdate:function(e){pointerMoveTo(e,l._progressLine,i,n,o)}};this._currentPointer=giveSymbol(a,a,this._mainGroup,{},this._currentPointer,s)},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],o=asc$2(this._axis.getExtent().slice());n>o[1]&&(n=o[1]),n<o[0]&&(n=o[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var r=this._progressLine;r&&(r.shape.x2=n,r.dirty());var i=this._findNearestTick(n),a=this.model;(t||i!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(i)},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 applyTransform(e,this._mainGroup.getLocalTransform(),!0)},t.prototype._findNearestTick=function(e){var t,n=this.model.getData(),o=1/0,r=this._axis;return n.each(["value"],(function(n,i){var a=r.dataToCoord(n),l=Math.abs(a-e);l<o&&(o=l,t=i)})),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 o=0;o<t.length;o++)t&&t[o]&&t[o].toggleState("progress",o<e);if(n)for(o=0;o<n.length;o++)n&&n[o]&&n[o].toggleState("progress",labelDataIndexStore(n[o]).dataIndex<=e)},t.type="timeline.slider",t}(TimelineView);function createScaleByModel(e,t){if(t=t||e.get("type"))switch(t){case"category":return new OrdinalScale({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new IntervalScale}}function getViewRect(e,t){return getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function makeControlIcon(e,t,n,o){var r=o.style,i=createIcon(e.get(["controlStyle",t]),o||{},new BoundingRect(n[0],n[1],n[2],n[3]));return r&&i.setStyle(r),i}function giveSymbol(e,t,n,o,r,i){var a=t.get("color");r?(r.setColor(a),n.add(r),i&&i.onUpdate(r)):((r=createSymbol$1(e.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(r),i&&i.onCreate(r));var l=t.getItemStyle(["color"]);r.setStyle(l),o=merge$1({rectHover:!0,z2:100},o,!0);var s=normalizeSymbolSize(e.get("symbolSize"));o.scaleX=s[0]/2,o.scaleY=s[1]/2;var c=normalizeSymbolOffset(e.get("symbolOffset"),s);c&&(o.x=(o.x||0)+c[0],o.y=(o.y||0)+c[1]);var u=e.get("symbolRotate");return o.rotation=(u||0)*Math.PI/180||0,r.attr(o),r.updateTransform(),r}function pointerMoveTo(e,t,n,o,r,i){if(!e.dragging){var a=r.getModel("checkpointStyle"),l=o.dataToCoord(r.getData().get("value",n));if(i||!a.get("animation",!0))e.attr({x:l,y:0}),t&&t.attr({shape:{x2:l}});else{var s={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:l,y:0},s),t&&t.animateTo({shape:{x2:l}},s)}}}function installTimelineAction(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t,n){var o=t.getComponent("timeline");return o&&null!=e.currentIndex&&(o.setCurrentIndex(e.currentIndex),!o.get("loop",!0)&&o.isIndexMax()&&o.getPlayState()&&(o.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),t.resetOption("timeline",{replaceMerge:o.get("replaceMerge",!0)}),defaults$1({currentIndex:o.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)}))}function timelinePreprocessor(e){var t=e&&e.timeline;isArray$2(t)||(t=t?[t]:[]),each$f(t,(function(e){e&&compatibleEC2(e)}))}function compatibleEC2(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),transferItem(e),has$1(e,"controlPosition")){var o=e.controlStyle||(e.controlStyle={});has$1(o,"position")||(o.position=e.controlPosition),"none"!==o.position||has$1(o,"show")||(o.show=!1,delete o.position),delete e.controlPosition}each$f(e.data||[],(function(e){isObject$4(e)&&!isArray$2(e)&&(!has$1(e,"value")&&has$1(e,"name")&&(e.value=e.name),transferItem(e))}))}function transferItem(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),o=e.label||e.label||{},r=o.normal||(o.normal={}),i={normal:1,emphasis:1};each$f(o,(function(e,t){i[t]||has$1(r,t)||(r[t]=e)})),n.label&&!has$1(o,"emphasis")&&(o.emphasis=n.label,delete n.label)}function has$1(e,t){return e.hasOwnProperty(t)}function install$g(e){e.registerComponentModel(SliderTimelineModel),e.registerComponentView(SliderTimelineView),e.registerSubTypeDefaulter("timeline",(function(){return"slider"})),installTimelineAction(e),e.registerPreprocessor(timelinePreprocessor)}function checkMarkerInSeries(e,t){if(!e)return!1;for(var n=isArray$2(e)?e:[e],o=0;o<n.length;o++)if(n[o]&&n[o][t])return!0;return!1}function fillLabel(e){defaultEmphasis(e,"label",["show"])}var inner$5=makeInner(),MarkerModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return __extends(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(env.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,o){var r=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),i=inner$5(e)[r];n&&n.data?(i?i._mergeOption(n,t,!0):(o&&fillLabel(n),each$f(n.data,(function(e){e instanceof Array?(fillLabel(e[0]),fillLabel(e[1])):fillLabel(e)})),extend$1(i=this.createMarkerModelFromSeries(n,this,t),{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),i.__hostSeries=e),inner$5(e)[r]=i):inner$5(e)[r]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var o=this.getData(),r=this.getRawValue(e),i=o.getName(e);return createTooltipMarkup("section",{header:this.name,blocks:[createTooltipMarkup("nameValue",{name:i,value:r,noName:!i,noValue:null==r})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.prototype.getDataParams=function(e,t){var n=DataFormatMixin.prototype.getDataParams.call(this,e,t),o=this.__hostSeries;return o&&(n.seriesId=o.id,n.seriesName=o.name,n.seriesType=o.subType),n},t.getMarkerModelFromSeries=function(e,t){return inner$5(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(ComponentModel);mixin(MarkerModel,DataFormatMixin.prototype);var MarkPointModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,o){return new t(e,n,o)},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}(MarkerModel);function hasXOrY(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function hasXAndY(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function markerTypeCalculatorWithExtent(e,t,n,o,r,i){var a=[],l=isDimensionStacked(t,o)?t.getCalculationInfo("stackResultDimension"):o,s=numCalculate(t,l,e),c=t.indicesOfNearest(l,s)[0];a[r]=t.get(n,c),a[i]=t.get(l,c);var u=t.get(o,c),d=getPrecision(t.get(o,c));return(d=Math.min(d,20))>=0&&(a[i]=+a[i].toFixed(d)),[a,u]}var markerTypeCalculator={min:curry$1(markerTypeCalculatorWithExtent,"min"),max:curry$1(markerTypeCalculatorWithExtent,"max"),average:curry$1(markerTypeCalculatorWithExtent,"average"),median:curry$1(markerTypeCalculatorWithExtent,"median")};function dataTransform(e,t){if(t){var n=e.getData(),o=e.coordinateSystem,r=o&&o.dimensions;if(!hasXAndY(t)&&!isArray$2(t.coord)&&isArray$2(r)){var i=getAxisInfo(t,n,o,e);if((t=clone$4(t)).type&&markerTypeCalculator[t.type]&&i.baseAxis&&i.valueAxis){var a=indexOf(r,i.baseAxis.dim),l=indexOf(r,i.valueAxis.dim),s=markerTypeCalculator[t.type](n,i.baseDataDim,i.valueDataDim,a,l);t.coord=s[0],t.value=s[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&isArray$2(r))for(var c=t.coord,u=0;u<2;u++)markerTypeCalculator[c[u]]&&(c[u]=numCalculate(n,n.mapDimension(r[u]),c[u]));else t.coord=[];return t}}function getAxisInfo(e,t,n,o){var r={};return null!=e.valueIndex||null!=e.valueDim?(r.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,r.valueAxis=n.getAxis(dataDimToCoordDim(o,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim)):(r.baseAxis=o.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim),r.valueDataDim=t.mapDimension(r.valueAxis.dim)),r}function dataDimToCoordDim(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function dataFilter(e,t){return!(e&&e.containData&&t.coord&&!hasXOrY(t))||e.containData(t.coord)}function zoneFilter(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!hasXOrY(t)&&!hasXOrY(n))||e.containZone(t.coord,n.coord)}function createMarkerDimValueGetter(e,t){return e?function(e,n,o,r){return parseDataValue(r<2?e.coord&&e.coord[r]:e.value,t[r])}:function(e,n,o,r){return parseDataValue(e.value,t[r])}}function numCalculate(e,t,n){if("average"===n){var o=0,r=0;return e.each(t,(function(e,t){isNaN(e)||(o+=e,r++)})),o/r}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var inner$4=makeInner(),MarkerView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.init=function(){this.markerGroupMap=createHashMap()},t.prototype.render=function(e,t,n){var o=this,r=this.markerGroupMap;r.each((function(e){inner$4(e).keep=!1})),t.eachSeries((function(e){var r=MarkerModel.getMarkerModelFromSeries(e,o.type);r&&o.renderSeries(e,r,t,n)})),r.each((function(e){!inner$4(e).keep&&o.group.remove(e.group)}))},t.prototype.markKeep=function(e){inner$4(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;each$f(e,(function(e){var o=MarkerModel.getMarkerModelFromSeries(e,n.type);o&&o.getData().eachItemGraphicEl((function(e){e&&(t?enterBlur(e):leaveBlur(e))}))}))},t.type="marker",t}(ComponentView);function updateMarkerLayout(e,t,n){var o=t.coordinateSystem;e.each((function(r){var i,a=e.getItemModel(r),l=parsePercent(a.get("x"),n.getWidth()),s=parsePercent(a.get("y"),n.getHeight());if(isNaN(l)||isNaN(s)){if(t.getMarkerPosition)i=t.getMarkerPosition(e.getValues(e.dimensions,r));else if(o){var c=e.get(o.dimensions[0],r),u=e.get(o.dimensions[1],r);i=o.dataToPoint([c,u])}}else i=[l,s];isNaN(l)||(i[0]=l),isNaN(s)||(i[1]=s),e.setItemLayout(r,i)}))}var MarkPointView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=MarkerModel.getMarkerModelFromSeries(e,"markPoint");t&&(updateMarkerLayout(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,o){var r=e.coordinateSystem,i=e.id,a=e.getData(),l=this.markerGroupMap,s=l.get(i)||l.set(i,new SymbolDraw),c=createData(r,e,t);t.setData(c),updateMarkerLayout(t.getData(),e,o),c.each((function(e){var n=c.getItemModel(e),o=n.getShallow("symbol"),r=n.getShallow("symbolSize"),i=n.getShallow("symbolRotate"),l=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if(isFunction$2(o)||isFunction$2(r)||isFunction$2(i)||isFunction$2(l)){var u=t.getRawValue(e),d=t.getDataParams(e);isFunction$2(o)&&(o=o(u,d)),isFunction$2(r)&&(r=r(u,d)),isFunction$2(i)&&(i=i(u,d)),isFunction$2(l)&&(l=l(u,d))}var p=n.getModel("itemStyle").getItemStyle(),f=getVisualFromData(a,"color");p.fill||(p.fill=f),c.setItemVisual(e,{symbol:o,symbolSize:r,symbolRotate:i,symbolOffset:l,symbolKeepAspect:s,style:p})})),s.updateData(c),this.group.add(s.group),c.eachItemGraphicEl((function(e){e.traverse((function(e){getECData(e).dataModel=t}))})),this.markKeep(s),s.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(MarkerView);function createData(e,t,n){var o;o=e?map$1(e&&e.dimensions,(function(e){return extend$1(extend$1({},t.getData().getDimensionInfo(t.getData().mapDimension(e))||{}),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new SeriesData(o,n),i=map$1(n.get("data"),curry$1(dataTransform,t));e&&(i=filter(i,curry$1(dataFilter,e)));var a=createMarkerDimValueGetter(!!e,o);return r.initData(i,null,a),r}function install$f(e){e.registerComponentModel(MarkPointModel),e.registerComponentView(MarkPointView),e.registerPreprocessor((function(e){checkMarkerInSeries(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))}var MarkLineModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,o){return new t(e,n,o)},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}(MarkerModel),inner$3=makeInner(),markLineTransform=function(e,t,n,o){var r,i=e.getData();if(isArray$2(o))r=o;else{var a=o.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=o.xAxis||null!=o.yAxis){var l=void 0,s=void 0;if(null!=o.yAxis||null!=o.xAxis)l=t.getAxis(null!=o.yAxis?"y":"x"),s=retrieve(o.yAxis,o.xAxis);else{var c=getAxisInfo(o,i,t,e);l=c.valueAxis,s=numCalculate(i,getStackedDimension(i,c.valueDataDim),a)}var u="x"===l.dim?0:1,d=1-u,p=clone$4(o),f={coord:[]};p.type=null,p.coord=[],p.coord[d]=-1/0,f.coord[d]=1/0;var h=n.get("precision");h>=0&&isNumber$2(s)&&(s=+s.toFixed(Math.min(h,20))),p.coord[u]=f.coord[u]=s,r=[p,f,{type:a,valueIndex:o.valueIndex,value:s}]}else r=[]}var m=[dataTransform(e,r[0]),dataTransform(e,r[1]),extend$1({},r[2])];return m[2].type=m[2].type||null,merge$1(m[2],m[0]),merge$1(m[2],m[1]),m};function isInfinity$1(e){return!isNaN(e)&&!isFinite(e)}function ifMarkLineHasOnlyDim(e,t,n,o){var r=1-e,i=o.dimensions[e];return isInfinity$1(t[r])&&isInfinity$1(n[r])&&t[e]===n[e]&&o.getAxis(i).containData(t[e])}function markLineFilter(e,t){if("cartesian2d"===e.type){var n=t[0].coord,o=t[1].coord;if(n&&o&&(ifMarkLineHasOnlyDim(1,n,o,e)||ifMarkLineHasOnlyDim(0,n,o,e)))return!0}return dataFilter(e,t[0])&&dataFilter(e,t[1])}function updateSingleMarkerEndLayout(e,t,n,o,r){var i,a=o.coordinateSystem,l=e.getItemModel(t),s=parsePercent(l.get("x"),r.getWidth()),c=parsePercent(l.get("y"),r.getHeight());if(isNaN(s)||isNaN(c)){if(o.getMarkerPosition)i=o.getMarkerPosition(e.getValues(e.dimensions,t));else{var u=a.dimensions,d=e.get(u[0],t),p=e.get(u[1],t);i=a.dataToPoint([d,p])}if(isCoordinateSystemType(a,"cartesian2d")){var f=a.getAxis("x"),h=a.getAxis("y");u=a.dimensions;isInfinity$1(e.get(u[0],t))?i[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):isInfinity$1(e.get(u[1],t))&&(i[1]=h.toGlobalCoord(h.getExtent()[n?0:1]))}isNaN(s)||(i[0]=s),isNaN(c)||(i[1]=c)}else i=[s,c];e.setItemLayout(t,i)}var MarkLineView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=MarkerModel.getMarkerModelFromSeries(e,"markLine");if(t){var o=t.getData(),r=inner$3(t).from,i=inner$3(t).to;r.each((function(t){updateSingleMarkerEndLayout(r,t,!0,e,n),updateSingleMarkerEndLayout(i,t,!1,e,n)})),o.each((function(e){o.setItemLayout(e,[r.getItemLayout(e),i.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},t.prototype.renderSeries=function(e,t,n,o){var r=e.coordinateSystem,i=e.id,a=e.getData(),l=this.markerGroupMap,s=l.get(i)||l.set(i,new LineDraw);this.group.add(s.group);var c=createList$2(r,e,t),u=c.from,d=c.to,p=c.line;inner$3(t).from=u,inner$3(t).to=d,t.setData(p);var f=t.get("symbol"),h=t.get("symbolSize"),m=t.get("symbolRotate"),g=t.get("symbolOffset");function v(t,n,r){var i=t.getItemModel(n);updateSingleMarkerEndLayout(t,n,r,e,o);var l=i.getModel("itemStyle").getItemStyle();null==l.fill&&(l.fill=getVisualFromData(a,"color")),t.setItemVisual(n,{symbolKeepAspect:i.get("symbolKeepAspect"),symbolOffset:retrieve2(i.get("symbolOffset",!0),g[r?0:1]),symbolRotate:retrieve2(i.get("symbolRotate",!0),m[r?0:1]),symbolSize:retrieve2(i.get("symbolSize"),h[r?0:1]),symbol:retrieve2(i.get("symbol",!0),f[r?0:1]),style:l})}isArray$2(f)||(f=[f,f]),isArray$2(h)||(h=[h,h]),isArray$2(m)||(m=[m,m]),isArray$2(g)||(g=[g,g]),c.from.each((function(e){v(u,e,!0),v(d,e,!1)})),p.each((function(e){var t=p.getItemModel(e).getModel("lineStyle").getLineStyle();p.setItemLayout(e,[u.getItemLayout(e),d.getItemLayout(e)]),null==t.stroke&&(t.stroke=u.getItemVisual(e,"style").fill),p.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:d.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(e,"symbolOffset"),toSymbolRotate:d.getItemVisual(e,"symbolRotate"),toSymbolSize:d.getItemVisual(e,"symbolSize"),toSymbol:d.getItemVisual(e,"symbol"),style:t})})),s.updateData(p),c.line.eachItemGraphicEl((function(e){getECData(e).dataModel=t,e.traverse((function(e){getECData(e).dataModel=t}))})),this.markKeep(s),s.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(MarkerView);function createList$2(e,t,n){var o;o=e?map$1(e&&e.dimensions,(function(e){return extend$1(extend$1({},t.getData().getDimensionInfo(t.getData().mapDimension(e))||{}),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new SeriesData(o,n),i=new SeriesData(o,n),a=new SeriesData([],n),l=map$1(n.get("data"),curry$1(markLineTransform,t,e,n));e&&(l=filter(l,curry$1(markLineFilter,e)));var s=createMarkerDimValueGetter(!!e,o);return r.initData(map$1(l,(function(e){return e[0]})),null,s),i.initData(map$1(l,(function(e){return e[1]})),null,s),a.initData(map$1(l,(function(e){return e[2]}))),a.hasItemOption=!0,{from:r,to:i,line:a}}function install$e(e){e.registerComponentModel(MarkLineModel),e.registerComponentView(MarkLineView),e.registerPreprocessor((function(e){checkMarkerInSeries(e.series,"markLine")&&(e.markLine=e.markLine||{})}))}var MarkAreaModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,o){return new t(e,n,o)},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}(MarkerModel),inner$2=makeInner(),markAreaTransform=function(e,t,n,o){var r=o[0],i=o[1];if(r&&i){var a=dataTransform(e,r),l=dataTransform(e,i),s=a.coord,c=l.coord;s[0]=retrieve(s[0],-1/0),s[1]=retrieve(s[1],-1/0),c[0]=retrieve(c[0],1/0),c[1]=retrieve(c[1],1/0);var u=mergeAll([{},a,l]);return u.coord=[a.coord,l.coord],u.x0=a.x,u.y0=a.y,u.x1=l.x,u.y1=l.y,u}};function isInfinity(e){return!isNaN(e)&&!isFinite(e)}function ifMarkAreaHasOnlyDim(e,t,n,o){var r=1-e;return isInfinity(t[r])&&isInfinity(n[r])}function markAreaFilter(e,t){var n=t.coord[0],o=t.coord[1],r={coord:n,x:t.x0,y:t.y0},i={coord:o,x:t.x1,y:t.y1};return isCoordinateSystemType(e,"cartesian2d")?!(!n||!o||!ifMarkAreaHasOnlyDim(1,n,o)&&!ifMarkAreaHasOnlyDim(0,n,o))||zoneFilter(e,r,i):dataFilter(e,r)||dataFilter(e,i)}function getSingleMarkerEndPoint(e,t,n,o,r){var i,a=o.coordinateSystem,l=e.getItemModel(t),s=parsePercent(l.get(n[0]),r.getWidth()),c=parsePercent(l.get(n[1]),r.getHeight());if(isNaN(s)||isNaN(c)){if(o.getMarkerPosition){var u=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),p=a.clampData(u),f=a.clampData(d),h=[];"x0"===n[0]?h[0]=p[0]>f[0]?d[0]:u[0]:h[0]=p[0]>f[0]?u[0]:d[0],"y0"===n[1]?h[1]=p[1]>f[1]?d[1]:u[1]:h[1]=p[1]>f[1]?u[1]:d[1],i=o.getMarkerPosition(h,n,!0)}else{var m=[y=e.get(n[0],t),b=e.get(n[1],t)];a.clampData&&a.clampData(m,m),i=a.dataToPoint(m,!0)}if(isCoordinateSystemType(a,"cartesian2d")){var g=a.getAxis("x"),v=a.getAxis("y"),y=e.get(n[0],t),b=e.get(n[1],t);isInfinity(y)?i[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):isInfinity(b)&&(i[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(s)||(i[0]=s),isNaN(c)||(i[1]=c)}else i=[s,c];return i}var dimPermutations=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],MarkAreaView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=MarkerModel.getMarkerModelFromSeries(e,"markArea");if(t){var o=t.getData();o.each((function(t){var r=map$1(dimPermutations,(function(r){return getSingleMarkerEndPoint(o,t,r,e,n)}));o.setItemLayout(t,r),o.getItemGraphicEl(t).setShape("points",r)}))}}),this)},t.prototype.renderSeries=function(e,t,n,o){var r=e.coordinateSystem,i=e.id,a=e.getData(),l=this.markerGroupMap,s=l.get(i)||l.set(i,{group:new Group$3});this.group.add(s.group),this.markKeep(s);var c=createList$1(r,e,t);t.setData(c),c.each((function(t){var n=map$1(dimPermutations,(function(n){return getSingleMarkerEndPoint(c,t,n,e,o)})),i=r.getAxis("x").scale,l=r.getAxis("y").scale,s=i.getExtent(),u=l.getExtent(),d=[i.parse(c.get("x0",t)),i.parse(c.get("x1",t))],p=[l.parse(c.get("y0",t)),l.parse(c.get("y1",t))];asc$2(d),asc$2(p);var f=!!(s[0]>d[1]||s[1]<d[0]||u[0]>p[1]||u[1]<p[0]);c.setItemLayout(t,{points:n,allClipped:f});var h=c.getItemModel(t).getModel("itemStyle").getItemStyle(),m=getVisualFromData(a,"color");h.fill||(h.fill=m,isString$2(h.fill)&&(h.fill=modifyAlpha(h.fill,.4))),h.stroke||(h.stroke=m),c.setItemVisual(t,"style",h)})),c.diff(inner$2(s).data).add((function(e){var t=c.getItemLayout(e);if(!t.allClipped){var n=new Polygon({shape:{points:t.points}});c.setItemGraphicEl(e,n),s.group.add(n)}})).update((function(e,n){var o=inner$2(s).data.getItemGraphicEl(n),r=c.getItemLayout(e);r.allClipped?o&&s.group.remove(o):(o?updateProps$1(o,{shape:{points:r.points}},t,e):o=new Polygon({shape:{points:r.points}}),c.setItemGraphicEl(e,o),s.group.add(o))})).remove((function(e){var t=inner$2(s).data.getItemGraphicEl(e);s.group.remove(t)})).execute(),c.eachItemGraphicEl((function(e,n){var o=c.getItemModel(n),r=c.getItemVisual(n,"style");e.useStyle(c.getItemVisual(n,"style")),setLabelStyle(e,getLabelStatesModels(o),{labelFetcher:t,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:isString$2(r.fill)?modifyAlpha(r.fill,1):"#000"}),setStatesStylesFromModel(e,o),toggleHoverEmphasis(e,null,null,o.get(["emphasis","disabled"])),getECData(e).dataModel=t})),inner$2(s).data=c,s.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(MarkerView);function createList$1(e,t,n){var o,r;if(e){var i=map$1(e&&e.dimensions,(function(e){var n=t.getData();return extend$1(extend$1({},n.getDimensionInfo(n.mapDimension(e))||{}),{name:e,ordinalMeta:null})}));r=map$1(["x0","y0","x1","y1"],(function(e,t){return{name:e,type:i[t%2].type}})),o=new SeriesData(r,n)}else o=new SeriesData(r=[{name:"value",type:"float"}],n);var a=map$1(n.get("data"),curry$1(markAreaTransform,t,e,n));e&&(a=filter(a,curry$1(markAreaFilter,e)));var l=e?function(e,t,n,o){return parseDataValue(e.coord[Math.floor(o/2)][o%2],r[o])}:function(e,t,n,o){return parseDataValue(e.value,r[o])};return o.initData(a,null,l),o.hasItemOption=!0,o}function install$d(e){e.registerComponentModel(MarkAreaModel),e.registerComponentView(MarkAreaView),e.registerPreprocessor((function(e){checkMarkerInSeries(e.series,"markArea")&&(e.markArea=e.markArea||{})}))}var getDefaultSelectorOptions=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},LegendModel=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 __extends(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"]),isArray$2(t)&&each$f(t,(function(e,o){isString$2(e)&&(e={type:e}),t[o]=merge$1(e,getDefaultSelectorOptions(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 o=e[n].get("name");if(this.isSelected(o)){this.select(o),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries((function(o){var r,i=o.name;if(n.push(i),o.legendVisualProvider){var a=o.legendVisualProvider.getAllNames();e.isSeriesFiltered(o)||(n=n.concat(a)),a.length?t=t.concat(a):r=!0}else r=!0;r&&isNameSpecified(o)&&t.push(o.name)})),this._availableNames=n;var o=this.get("data")||t,r=createHashMap(),i=map$1(o,(function(e){return(isString$2(e)||isNumber$2(e))&&(e={name:e}),r.get(e.name)?null:(r.set(e.name,!0),new Model(e,this,this.ecModel))}),this);this._data=filter(i,(function(e){return!!e}))},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected;"single"===this.get("selectedMode")&&each$f(this._data,(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;each$f(e,(function(e){t[e.get("name",!0)]=!0}))},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;each$f(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])&&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}(ComponentModel),curry=curry$1,each$3=each$f,Group$1=Group$3,LegendView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return __extends(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),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 o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var r=e.get("align"),i=e.get("orient");r&&"auto"!==r||(r="right"===e.get("left")&&"vertical"===i?"right":"left");var a=e.get("selector",!0),l=e.get("selectorPosition",!0);!a||l&&"auto"!==l||(l="horizontal"===i?"end":"start"),this.renderInner(r,e,t,n,a,i,l);var s=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},u=e.get("padding"),d=getLayoutRect(s,c,u),p=this.layoutInner(e,r,d,o,a,l),f=getLayoutRect(defaults$1({width:p.width,height:p.height},s),c,u);this.group.x=f.x-p.x,this.group.y=f.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(p,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,o,r,i,a){var l=this.getContentGroup(),s=createHashMap(),c=t.get("selectedMode"),u=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&u.push(e.id)})),each$3(t.getData(),(function(r,i){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var d=new Group$1;return d.newline=!0,void l.add(d)}var p=n.getSeriesByName(a)[0];if(!s.get(a))if(p){var f=p.getData(),h=f.getVisual("legendLineStyle")||{},m=f.getVisual("legendIcon"),g=f.getVisual("style"),v=this._createItem(p,a,i,r,t,e,h,g,m,c,o);v.on("click",curry(dispatchSelectAction,a,null,o,u)).on("mouseover",curry(dispatchHighlightAction,p.name,null,o,u)).on("mouseout",curry(dispatchDownplayAction,p.name,null,o,u)),n.ssr&&v.eachChild((function(e){var t=getECData(e);t.seriesIndex=p.seriesIndex,t.dataIndex=i,t.ssrType="legend"})),s.set(a,!0)}else n.eachRawSeries((function(l){if(!s.get(a)&&l.legendVisualProvider){var d=l.legendVisualProvider;if(!d.containName(a))return;var p=d.indexOfName(a),f=d.getItemVisual(p,"style"),h=d.getItemVisual(p,"legendIcon"),m=parse(f.fill);m&&0===m[3]&&(m[3]=.2,f=extend$1(extend$1({},f),{fill:stringify(m,"rgba")}));var g=this._createItem(l,a,i,r,t,e,{},f,h,c,o);g.on("click",curry(dispatchSelectAction,null,a,o,u)).on("mouseover",curry(dispatchHighlightAction,null,a,o,u)).on("mouseout",curry(dispatchDownplayAction,null,a,o,u)),n.ssr&&g.eachChild((function(e){var t=getECData(e);t.seriesIndex=l.seriesIndex,t.dataIndex=i,t.ssrType="legend"})),s.set(a,!0)}}),this)}),this),r&&this._createSelector(r,t,o,i,a)},t.prototype._createSelector=function(e,t,n,o,r){var i=this.getSelectorGroup();each$3(e,(function(e){var o=e.type,r=new ZRText({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===o?"legendAllSelect":"legendInverseSelect",legendId:t.id})}});i.add(r),setLabelStyle(r,{normal:t.getModel("selectorLabel"),emphasis:t.getModel(["emphasis","selectorLabel"])},{defaultText:e.title}),enableHoverEmphasis(r)}))},t.prototype._createItem=function(e,t,n,o,r,i,a,l,s,c,u){var d=e.visualDrawType,p=r.get("itemWidth"),f=r.get("itemHeight"),h=r.isSelected(t),m=o.get("symbolRotate"),g=o.get("symbolKeepAspect"),v=o.get("icon"),y=getLegendStyle(s=v||s||"roundRect",o,a,l,d,h,u),b=new Group$1,_=o.getModel("textStyle");if(!isFunction$2(e.getLegendIcon)||v&&"inherit"!==v){var w="inherit"===v&&e.getData().getVisual("symbol")?"inherit"===m?e.getData().getVisual("symbolRotate"):m:0;b.add(getDefaultLegendIcon({itemWidth:p,itemHeight:f,icon:s,iconRotate:w,itemStyle:y.itemStyle,symbolKeepAspect:g}))}else b.add(e.getLegendIcon({itemWidth:p,itemHeight:f,icon:s,iconRotate:m,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:g}));var k="left"===i?p+5:-5,x=i,S=r.get("formatter"),C=t;isString$2(S)&&S?C=S.replace("{name}",null!=t?t:""):isFunction$2(S)&&(C=S(t));var E=h?_.getTextColor():o.get("inactiveColor");b.add(new ZRText({style:createTextStyle(_,{text:C,x:k,y:f/2,fill:E,align:x,verticalAlign:"middle"},{inheritColor:E})}));var T=new Rect$2({shape:b.getBoundingRect(),style:{fill:"transparent"}}),A=o.getModel("tooltip");return A.get("show")&&setTooltipConfig({el:T,componentModel:r,itemName:t,itemTooltipOption:A.option}),b.add(T),b.eachChild((function(e){e.silent=!0})),T.silent=!c,this.getContentGroup().add(b),enableHoverEmphasis(b),b.__legendDataIndex=n,b},t.prototype.layoutInner=function(e,t,n,o,r,i){var a=this.getContentGroup(),l=this.getSelectorGroup();box(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var s=a.getBoundingRect(),c=[-s.x,-s.y];if(l.markRedraw(),a.markRedraw(),r){box("horizontal",l,e.get("selectorItemGap",!0));var u=l.getBoundingRect(),d=[-u.x,-u.y],p=e.get("selectorButtonGap",!0),f=e.getOrient().index,h=0===f?"width":"height",m=0===f?"height":"width",g=0===f?"y":"x";"end"===i?d[f]+=s[h]+p:c[f]+=u[h]+p,d[1-f]+=s[m]/2-u[m]/2,l.x=d[0],l.y=d[1],a.x=c[0],a.y=c[1];var v={x:0,y:0};return v[h]=s[h]+p+u[h],v[m]=Math.max(s[m],u[m]),v[g]=Math.min(0,u[g]+d[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}(ComponentView);function getLegendStyle(e,t,n,o,r,i,a){function l(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),each$3(e,(function(n,o){"inherit"===e[o]&&(e[o]=t[o])}))}var s=t.getModel("itemStyle"),c=s.getItemStyle(),u=0===e.lastIndexOf("empty",0)?"fill":"stroke",d=s.getShallow("decal");c.decal=d&&"inherit"!==d?createOrUpdatePatternFromDecal(d,a):o.decal,"inherit"===c.fill&&(c.fill=o[r]),"inherit"===c.stroke&&(c.stroke=o[u]),"inherit"===c.opacity&&(c.opacity=("fill"===r?o:n).opacity),l(c,o);var p=t.getModel("lineStyle"),f=p.getLineStyle();if(l(f,n),"auto"===c.fill&&(c.fill=o.fill),"auto"===c.stroke&&(c.stroke=o.fill),"auto"===f.stroke&&(f.stroke=o.fill),!i){var h=t.get("inactiveBorderWidth"),m=c[u];c.lineWidth="auto"===h?o.lineWidth>0&&m?2:0:c.lineWidth,c.fill=t.get("inactiveColor"),c.stroke=t.get("inactiveBorderColor"),f.stroke=p.get("inactiveColor"),f.lineWidth=p.get("inactiveWidth")}return{itemStyle:c,lineStyle:f}}function getDefaultLegendIcon(e){var t=e.icon||"roundRect",n=createSymbol$1(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return 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),n}function dispatchSelectAction(e,t,n,o){dispatchDownplayAction(e,t,n,o),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),dispatchHighlightAction(e,t,n,o)}function isUseHoverLayer(e){for(var t,n=e.getZr().storage.getDisplayList(),o=0,r=n.length;o<r&&!(t=n[o].states.emphasis);)o++;return t&&t.hoverLayer}function dispatchHighlightAction(e,t,n,o){isUseHoverLayer(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:o})}function dispatchDownplayAction(e,t,n,o){isUseHoverLayer(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:o})}function legendFilter(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 legendSelectActionHandler(e,t,n){var o="allSelect"===e||"inverseSelect"===e,r={},i=[];n.eachComponent({mainType:"legend",query:t},(function(n){o?n[e]():n[e](t.name),makeSelectedMap(n,r),i.push(n.componentIndex)}));var a={};return n.eachComponent("legend",(function(e){each$f(r,(function(t,n){e[t?"select":"unSelect"](n)})),makeSelectedMap(e,a)})),o?{selected:a,legendIndex:i}:{name:t.name,selected:a}}function makeSelectedMap(e,t){var n=t||{};return each$f(e.getData(),(function(t){var o=t.get("name");if("\n"!==o&&""!==o){var r=e.isSelected(o);hasOwn(n,o)?n[o]=n[o]&&r:n[o]=r}})),n}function installLegendAction(e){e.registerAction("legendToggleSelect","legendselectchanged",curry$1(legendSelectActionHandler,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",curry$1(legendSelectActionHandler,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",curry$1(legendSelectActionHandler,"inverseSelect")),e.registerAction("legendSelect","legendselected",curry$1(legendSelectActionHandler,"select")),e.registerAction("legendUnSelect","legendunselected",curry$1(legendSelectActionHandler,"unSelect"))}function install$c(e){e.registerComponentModel(LegendModel),e.registerComponentView(LegendView),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),installLegendAction(e)}var ScrollableLegendModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,o){var r=getLayoutParams(t);e.prototype.init.call(this,t,n,o),mergeAndNormalizeLayoutParams(this,t,r)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),mergeAndNormalizeLayoutParams(this,this.option,t)},t.type="legend.scroll",t.defaultOption=inheritDefaultOption(LegendModel.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}(LegendModel);function mergeAndNormalizeLayoutParams(e,t,n){var o=[1,1];o[e.getOrient().index]=0,mergeLayoutParam(t,n,{type:"box",ignoreSize:!!o})}var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=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 __extends(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new Group),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Group)},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,o,r,i,a,l){var s=this;e.prototype.renderInner.call(this,t,n,o,r,i,a,l);var c=this._controllerGroup,u=n.get("pageIconSize",!0),d=isArray$2(u)?u:[u,u];f("pagePrev",0);var p=n.getModel("pageTextStyle");function f(e,t){var o=e+"DataIndex",i=createIcon(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:bind$2(s._pageGo,s,o,n,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});i.name=e,c.add(i)}c.add(new ZRText({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},t.prototype.layoutInner=function(e,t,n,o,r,i){var a=this.getSelectorGroup(),l=e.getOrient().index,s=WH[l],c=XY[l],u=WH[1-l],d=XY[1-l];r&&box("horizontal",a,e.get("selectorItemGap",!0));var p=e.get("selectorButtonGap",!0),f=a.getBoundingRect(),h=[-f.x,-f.y],m=clone$4(n);r&&(m[s]=n[s]-f[s]-p);var g=this._layoutContentAndController(e,o,m,l,s,u,d,c);if(r){if("end"===i)h[l]+=g[s]+p;else{var v=f[s]+p;h[l]-=v,g[c]-=v}g[s]+=f[s]+p,h[1-l]+=g[d]+g[u]/2-f[u]/2,g[u]=Math.max(g[u],f[u]),g[d]=Math.min(g[d],f[d]+h[1-l]),a.x=h[0],a.y=h[1],a.markRedraw()}return g},t.prototype._layoutContentAndController=function(e,t,n,o,r,i,a,l){var s=this.getContentGroup(),c=this._containerGroup,u=this._controllerGroup;box(e.get("orient"),s,e.get("itemGap"),o?n.width:null,o?null:n.height),box("horizontal",u,e.get("pageButtonItemGap",!0));var d=s.getBoundingRect(),p=u.getBoundingRect(),f=this._showController=d[r]>n[r],h=[-d.x,-d.y];t||(h[o]=s[l]);var m=[0,0],g=[-p.x,-p.y],v=retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?g[o]+=n[r]-p[r]:m[o]+=p[r]+v);g[1-o]+=d[i]/2-p[i]/2,s.setPosition(h),c.setPosition(m),u.setPosition(g);var y={x:0,y:0};if(y[r]=f?n[r]:d[r],y[i]=Math.max(d[i],p[i]),y[a]=Math.min(0,p[a]+g[1-o]),c.__rectSize=n[r],f){var b={x:0,y:0};b[r]=Math.max(n[r]-p[r]-v,0),b[i]=y[i],c.setClipPath(new Rect$2({shape:b})),c.__rectSize=b[r]}else u.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(e);return null!=_.pageIndex&&updateProps$1(s,{x:_.contentPosition[0],y:_.contentPosition[1]},f?e:null),this._updatePageInfoView(e,_),y},t.prototype._pageGo=function(e,t,n){var o=this._getPageInfo(t)[e];null!=o&&n.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;each$f(["pagePrev","pageNext"],(function(o){var r=null!=t[o+"DataIndex"],i=n.childOfName(o);i&&(i.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),i.cursor=r?"pointer":"default")}));var o=n.childOfName("pageText"),r=e.get("pageFormatter"),i=t.pageIndex,a=null!=i?i+1:0,l=t.pageCount;o&&r&&o.setStyle("text",isString$2(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==l?"":l+""):r({current:a,total:l}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),o=this._containerGroup.__rectSize,r=e.getOrient().index,i=WH[r],a=XY[r],l=this._findTargetItemIndex(t),s=n.children(),c=s[l],u=s.length,d=u?1:0,p={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return p;var f=y(c);p.contentPosition[r]=-f.s;for(var h=l+1,m=f,g=f,v=null;h<=u;++h)(!(v=y(s[h]))&&g.e>m.s+o||v&&!b(v,m.s))&&(m=g.i>m.i?g:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=m.i),++p.pageCount),g=v;for(h=l-1,m=f,g=f,v=null;h>=-1;--h)(v=y(s[h]))&&b(g,v.s)||!(m.i<g.i)||(g=m,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=m.i),++p.pageCount,++p.pageIndex),m=v;return p;function y(e){if(e){var t=e.getBoundingRect(),n=t[a]+e[a];return{s:n,e:n+t[i],i:e.__legendDataIndex}}}function b(e,t){return e.e>=t&&e.s<=t+o}},t.prototype._findTargetItemIndex=function(e){return this._showController?(this.getContentGroup().eachChild((function(o,r){var i=o.__legendDataIndex;null==n&&null!=i&&(n=r),i===e&&(t=r)})),null!=t?t:n):0;var t,n},t.type="legend.scroll",t}(LegendView);function installScrollableLegendAction(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)}))}))}function install$b(e){use(install$c),e.registerComponentModel(ScrollableLegendModel),e.registerComponentView(ScrollableLegendView),installScrollableLegendAction(e)}function install$a(e){use(install$c),use(install$b)}var InsideZoomModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="dataZoom.inside",t.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(DataZoomModel),inner$1=makeInner();function setViewInfoToCoordSysRecord(e,t,n){inner$1(e).coordSysRecordMap.each((function(e){var o=e.dataZoomInfoMap.get(t.uid);o&&(o.getRange=n)}))}function disposeCoordSysRecordIfNeeded(e,t){for(var n=inner$1(e).coordSysRecordMap,o=n.keys(),r=0;r<o.length;r++){var i=o[r],a=n.get(i),l=a.dataZoomInfoMap;if(l){var s=t.uid;l.get(s)&&(l.removeKey(s),l.keys().length||disposeCoordSysRecord(n,a))}}}function disposeCoordSysRecord(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function createCoordSysRecord(e,t){var n={model:t,containsPoint:curry$1(containsPoint,t),dispatchAction:curry$1(dispatchAction,e),dataZoomInfoMap:null,controller:null},o=n.controller=new RoamController(e.getZr());return each$f(["pan","zoom","scrollMove"],(function(e){o.on(e,(function(t){var o=[];n.dataZoomInfoMap.each((function(r){if(t.isAvailableBehavior(r.model.option)){var i=(r.getRange||{})[e],a=i&&i(r.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!r.model.get("disabled",!0)&&a&&o.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),o.length&&n.dispatchAction(o)}))})),n}function dispatchAction(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function containsPoint(e,t,n,o){return e.coordinateSystem.containPoint([n,o])}function mergeControllerParams(e){var t,n="type_",o={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return e.each((function(e){var i=e.model,a=!i.get("disabled",!0)&&(!i.get("zoomLock",!0)||"move");o[n+a]>o[n+t]&&(t=a),r=r&&i.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}function installDataZoomRoamProcessor(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var n=inner$1(t),o=n.coordSysRecordMap||(n.coordSysRecordMap=createHashMap());o.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){each$f(collectReferCoordSysModelInfo(e).infoList,(function(n){var r=n.model.uid,i=o.get(r)||o.set(r,createCoordSysRecord(t,n.model));(i.dataZoomInfoMap||(i.dataZoomInfoMap=createHashMap())).set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})}))})),o.each((function(e){var t,n=e.controller,r=e.dataZoomInfoMap;if(r){var i=r.keys()[0];null!=i&&(t=r.get(i))}if(t){var a=mergeControllerParams(r);n.enable(a.controlType,a.opt),n.setPointerChecker(e.containsPoint),createOrUpdate(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else disposeCoordSysRecord(o,e)}))}))}var InsideZoomView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return __extends(t,e),t.prototype.render=function(t,n,o){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),setViewInfoToCoordSysRecord(o,t,{pan:bind$2(getRangeHandlers.pan,this),zoom:bind$2(getRangeHandlers.zoom,this),scrollMove:bind$2(getRangeHandlers.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(DataZoomView),getRangeHandlers={zoom:function(e,t,n,o){var r=this.range,i=r.slice(),a=e.axisModels[0];if(a){var l=getDirectionInfo[t](null,[o.originX,o.originY],a,n,e),s=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(i[1]-i[0])+i[0],c=Math.max(1/o.scale,0);i[0]=(i[0]-s)*c+s,i[1]=(i[1]-s)*c+s;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return sliderMove(0,i,[0,100],0,u.minSpan,u.maxSpan),this.range=i,r[0]!==i[0]||r[1]!==i[1]?i:void 0}},pan:makeMover((function(e,t,n,o,r,i){var a=getDirectionInfo[o]([i.oldX,i.oldY],[i.newX,i.newY],t,r,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:makeMover((function(e,t,n,o,r,i){return getDirectionInfo[o]([0,0],[i.scrollDelta,i.scrollDelta],t,r,n).signal*(e[1]-e[0])*i.scrollDelta}))};function makeMover(e){return function(t,n,o,r){var i=this.range,a=i.slice(),l=t.axisModels[0];if(l)return sliderMove(e(a,l,t,n,o,r),a,[0,100],"all"),this.range=a,i[0]!==a[0]||i[1]!==a[1]?a:void 0}}var getDirectionInfo={grid:function(e,t,n,o,r){var i=n.axis,a={},l=r.model.coordinateSystem.getRect();return e=e||[0,0],"x"===i.dim?(a.pixel=t[0]-e[0],a.pixelLength=l.width,a.pixelStart=l.x,a.signal=i.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=l.height,a.pixelStart=l.y,a.signal=i.inverse?-1:1),a},polar:function(e,t,n,o,r){var i=n.axis,a={},l=r.model.coordinateSystem,s=l.getRadiusAxis().getExtent(),c=l.getAngleAxis().getExtent();return e=e?l.pointToCoord(e):[0,0],t=l.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=s[1]-s[0],a.pixelStart=s[0],a.signal=i.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=i.inverse?-1:1),a},singleAxis:function(e,t,n,o,r){var i=n.axis,a=r.model.coordinateSystem.getRect(),l={};return e=e||[0,0],"horizontal"===i.orient?(l.pixel=t[0]-e[0],l.pixelLength=a.width,l.pixelStart=a.x,l.signal=i.inverse?1:-1):(l.pixel=t[1]-e[1],l.pixelLength=a.height,l.pixelStart=a.y,l.signal=i.inverse?-1:1),l}};function install$9(e){installCommon$1(e),e.registerComponentModel(InsideZoomModel),e.registerComponentView(InsideZoomView),installDataZoomRoamProcessor(e)}var SliderZoomModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(DataZoomModel),Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return __extends(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=bind$2(this._onBrush,this),this._onBrushEnd=bind$2(this._onBrushEnd,this)},t.prototype.render=function(t,n,o,r){if(e.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.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(){clear$1(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 Group$3;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")?DEFAULT_MOVE_HANDLE_SIZE:0,o=this._findCoordRect(),r={width:t.getWidth(),height:t.getHeight()},i=this._orient===HORIZONTAL$1?{right:r.width-o.x-o.width,top:r.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-n,width:o.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:o.y,width:DEFAULT_FILLER_SIZE,height:o.height},a=getLayoutParams(e.option);each$f(["right","top","width","height"],(function(e){"ph"===a[e]&&(a[e]=i[e])}));var l=getLayoutRect(a,r);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===VERTICAL$1&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,o=this.dataZoomModel.getFirstTargetAxisModel(),r=o&&o.get("inverse"),i=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;i.attr(n!==HORIZONTAL$1||r?n===HORIZONTAL$1&&r?{scaleY:a?1:-1,scaleX:-1}:n!==VERTICAL$1||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var l=e.getBoundingRect([i]);e.x=t.x-l.x,e.y=t.y-l.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,o=e.get("brushSelect");n.add(new Rect({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var r=new Rect({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:bind$2(this._onClickPanel,this)}),i=this.api.getZr();o?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",i.on("mousemove",this._onBrush),i.on("mouseup",this._onBrushEnd)):(i.off("mousemove",this._onBrush),i.off("mouseup",this._onBrushEnd)),n.add(r)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],o=e.series,r=o.getRawData(),i=o.getShadowDim&&o.getShadowDim(),a=i&&r.getDimensionInfo(i)?o.getShadowDim():e.otherDim;if(null!=a){var l=this._shadowPolygonPts,s=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var c=r.getDataExtent(a),u=.3*(c[1]-c[0]);c=[c[0]-u,c[1]+u];var d,p=[0,t[1]],f=[0,t[0]],h=[[t[0],0],[0,0]],m=[],g=f[1]/(r.count()-1),v=0,y=Math.round(r.count()/t[0]);r.each([a],(function(e,t){if(y>0&&t%y)v+=g;else{var n=null==e||isNaN(e)||""===e,o=n?0:linearMap$2(e,c,p,!0);n&&!d&&t?(h.push([h[h.length-1][0],0]),m.push([m[m.length-1][0],0])):!n&&d&&(h.push([v,0]),m.push([v,0])),h.push([v,o]),m.push([v,o]),v+=g,d=n}})),l=this._shadowPolygonPts=h,s=this._shadowPolylinePts=m}this._shadowData=r,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var b,_,w,k,x,S=this.dataZoomModel,C=0;C<3;C++){var E=(b=1===C,_=void 0,w=void 0,k=void 0,x=void 0,_=S.getModel(b?"selectedDataBackground":"dataBackground"),w=new Group$3,k=new Polygon({shape:{points:l},segmentIgnoreThreshold:1,style:_.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),x=new Polyline$1({shape:{points:s},segmentIgnoreThreshold:1,style:_.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19}),w.add(k),w.add(x),w);this._displayables.sliderGroup.add(E),this._displayables.dataShadowSegs.push(E)}}}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,o=this.ecModel;return e.eachTargetAxis((function(r,i){each$f(e.getAxisProxy(r,i).getTargetSeriesModels(),(function(e){if(!(n||!0!==t&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,e.get("type"))<0)){var a,l=o.getComponent(getAxisMainType(r),i).axis,s=getOtherDim(r),c=e.coordinateSystem;null!=s&&c.getOtherAxis&&(a=c.getOtherAxis(l).inverse),s=e.getData().mapDimension(s),n={thisAxis:l,series:e,thisDim:r,otherDim:s,otherAxisInverse:a}}}),this)}),this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],o=t.handleLabels=[null,null],r=this._displayables.sliderGroup,i=this._size,a=this.dataZoomModel,l=this.api,s=a.get("borderRadius")||0,c=a.get("brushSelect"),u=t.filler=new Rect({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(u),r.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:i[0],height:i[1],r:s},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],(function(t){var i=a.get("handleIcon");!symbolBuildProxies[i]&&i.indexOf("path://")<0&&i.indexOf("image://")<0&&(i="path://"+i);var l=createSymbol$1(i,-1,0,2,2,null,!0);l.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$2(this._onDragMove,this,t),ondragend:bind$2(this._onDragEnd,this),onmouseover:bind$2(this._showDataInfo,this,!0),onmouseout:bind$2(this._showDataInfo,this,!1),z2:5});var s=l.getBoundingRect(),c=a.get("handleSize");this._handleHeight=parsePercent(c,this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,l.setStyle(a.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(l);var u=a.get("handleColor");null!=u&&(l.style.fill=u),r.add(n[t]=l);var d=a.getModel("textStyle"),p=(a.get("handleLabel")||{}).show||!1;e.add(o[t]=new ZRText({silent:!0,invisible:!p,style:createTextStyle(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=u;if(c){var p=parsePercent(a.get("moveHandleSize"),i[1]),f=t.moveHandle=new Rect$2({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:i[1]-.5,height:p}}),h=.8*p,m=t.moveHandleIcon=createSymbol$1(a.get("moveHandleIcon"),-h/2,-h/2,h,h,"#fff",!0);m.silent=!0,m.y=i[1]+p/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var g=Math.min(i[1]/2,Math.max(p,10));(d=t.moveZone=new Rect$2({invisible:!0,shape:{y:i[1]-g,height:p+g}})).on("mouseover",(function(){l.enterEmphasis(f)})).on("mouseout",(function(){l.leaveEmphasis(f)})),r.add(f),r.add(m),r.add(d)}d.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$2(this._onDragMove,this,"all"),ondragstart:bind$2(this._showDataInfo,this,!0),ondragend:bind$2(this._onDragEnd,this),onmouseover:bind$2(this._showDataInfo,this,!0),onmouseout:bind$2(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[linearMap$2(e[0],[0,100],t,!0),linearMap$2(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,o=this._handleEnds,r=this._getViewExtent(),i=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];sliderMove(t,o,r,n.get("zoomLock")?"all":e,null!=i.minSpan?linearMap$2(i.minSpan,a,r,!0):null,null!=i.maxSpan?linearMap$2(i.maxSpan,a,r,!0):null);var l=this._range,s=this._range=asc$2([linearMap$2(o[0],r,a,!0),linearMap$2(o[1],r,a,!0)]);return!l||l[0]!==s[0]||l[1]!==s[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,o=asc$2(n.slice()),r=this._size;each$f([0,1],(function(e){var o=t.handles[e],i=this._handleHeight;o.attr({scaleX:i/2,scaleY:i/2,x:n[e]+(e?-1:1),y:r[1]/2-i/2})}),this),t.filler.setShape({x:o[0],y:0,width:o[1]-o[0],height:r[1]});var i={x:o[0],width:o[1]-o[0]};t.moveHandle&&(t.moveHandle.setShape(i),t.moveZone.setShape(i),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",i.x+i.width/2));for(var a=t.dataShadowSegs,l=[0,o[0],o[1],r[0]],s=0;s<a.length;s++){var c=a[s],u=c.getClipPath();u||(u=new Rect$2,c.setClipPath(u)),u.setShape({x:l[s],y:0,width:l[s+1]-l[s],height:r[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,n=this._displayables,o=n.handleLabels,r=this._orient,i=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var l=a.getAxisModel().axis,s=this._range,c=e?a.calculateDataWindow({start:s[0],end:s[1]}).valueWindow:a.getDataValueWindow();i=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var u=asc$2(this._handleEnds.slice());function d(e){var t=getTransform$1(n.handles[e].parent,this.group),a=transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+LABEL_GAP,s=applyTransform([u[e]+(0===e?-l:l),this._size[1]/2],t);o[e].setStyle({x:s[0],y:s[1],verticalAlign:r===HORIZONTAL$1?"middle":a,align:r===HORIZONTAL$1?a:"center",text:i[e]})}d.call(this,0),d.call(this,1)},t.prototype._formatLabel=function(e,t){var n=this.dataZoomModel,o=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=t.getPixelPrecision());var i=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(r,20));return isFunction$2(o)?o(e,i):isString$2(o)?o.replace("{value}",i):i},t.prototype._showDataInfo=function(e){var t=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,o=e||this._dragging?n:t,r=this._displayables,i=r.handleLabels;i[0].attr("invisible",!o),i[1].attr("invisible",!o),r.moveHandle&&this.api[o?"enterEmphasis":"leaveEmphasis"](r.moveHandle,1)},t.prototype._onDragMove=function(e,t,n,o){this._dragging=!0,stop(o.event);var r=applyTransform([t,n],this._displayables.sliderGroup.getLocalTransform(),!0),i=this._updateInterval(e,r[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),i&&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 o=this._handleEnds,r=(o[0]+o[1])/2,i=this._updateInterval("all",n[0]-r);this._updateView(),i&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new Point(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 o=this._getViewExtent(),r=[0,100];this._range=asc$2([linearMap$2(n.x,o,r,!0),linearMap$2(n.x+n.width,o,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(stop(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,o=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new Rect({silent:!0,style:o.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var i=this._brushStart,a=this._displayables.sliderGroup,l=a.transformCoordToLocal(e,t),s=a.transformCoordToLocal(i.x,i.y),c=this._size;l[0]=Math.max(Math.min(c[0],l[0]),0),r.setShape({x:s[0],y:0,width:l[0]-s[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?REALTIME_ANIMATION_CONFIG:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var o=this.api.getWidth(),r=this.api.getHeight();e={x:.2*o,y:.2*r,width:.6*o,height:.6*r}}return e},t.type="dataZoom.slider",t}(DataZoomView);function getOtherDim(e){return{x:"y",y:"x",radius:"angle",angle:"radius"}[e]}function getCursor$1(e){return"vertical"===e?"ns-resize":"ew-resize"}function install$8(e){e.registerComponentModel(SliderZoomModel),e.registerComponentView(SliderZoomView),installCommon$1(e)}function install$7(e){use(install$9),use(install$8)}var visualDefault={get:function(e,t,n){var o=clone$4((defaultOption[e]||{})[t]);return n&&isArray$2(o)?o[o.length-1]:o}},defaultOption={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]}},mapVisual=VisualMapping.mapVisual,eachVisual=VisualMapping.eachVisual,isArray$1=isArray$2,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=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 __extends(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&replaceVisualOption(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=bind$2(e,this),this.controllerVisuals=createVisualMappings(this.option.controller,t,e),this.targetVisuals=createVisualMappings(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=normalizeToArray(e),t},t.prototype.eachTargetSeries=function(e,t){each$f(this.getTargetSeriesIndices(),(function(n){var o=this.ecModel.getSeriesByIndex(n);o&&e.call(t,o)}),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 o,r=this.option,i=r.precision,a=this.dataBound,l=r.formatter;n=n||["<",">"],isArray$2(e)&&(e=e.slice(),o=!0);var s=t?e:o?[c(e[0]),c(e[1])]:c(e);return isString$2(l)?l.replace("{value}",o?s[0]:s).replace("{value2}",o?s[1]:s):isFunction$2(l)?o?l(e[0],e[1]):l(e):o?e[0]===a[0]?n[0]+" "+s[1]:e[1]===a[1]?n[1]+" "+s[0]:s[0]+" - "+s[1]:s;function c(e){return e===a[0]?"min":e===a[1]?"max":(+e).toFixed(Math.min(i,20))}},t.prototype.resetExtent=function(){var e=this.option,t=asc([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,o=n.length-1;o>=0;o--){var r=n[o],i=e.getDimensionInfo(r);if(!i.isCalculationCoord)return i.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},o=t.target||(t.target={}),r=t.controller||(t.controller={});merge$1(o,n),merge$1(r,n);var i=this.isCategory();function a(n){isArray$1(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}a.call(this,o),a.call(this,r),function(e,t,n){var o=e[t],r=e[n];o&&!r&&(r=e[n]={},each$2(o,(function(e,t){if(VisualMapping.isValidType(t)){var n=visualDefault.get(t,"inactive",i);null!=n&&(r[t]=n,"color"!==t||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,o,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,o=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";each$2(this.stateList,(function(a){var l=this.itemSize,s=e[a];s||(s=e[a]={color:i?o:[o]}),null==s.symbol&&(s.symbol=t&&clone$4(t)||(i?r:[r])),null==s.symbolSize&&(s.symbolSize=n&&clone$4(n)||(i?l[0]:[l[0],l[0]])),s.symbol=mapVisual(s.symbol,(function(e){return"none"===e?r:e}));var c=s.symbolSize;if(null!=c){var u=-1/0;eachVisual(c,(function(e){e>u&&(u=e)})),s.symbolSize=mapVisual(c,(function(e){return linearMap$1(e,[0,u],[0,l[0]],!0)}))}}),this)}.call(this,r)},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}(ComponentModel),DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(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]=DEFAULT_BAR_BOUND[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=DEFAULT_BAR_BOUND[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):isArray$2(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),each$f(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=asc$2((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 o=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(t,n){e[0]<=t&&t<=e[1]&&o.push(n)}),this),t.push({seriesId:n.id,dataIndex:o})}),this),t},t.prototype.getVisualMeta=function(e){var t=getColorStopValues(this,"outOfRange",this.getExtent()),n=getColorStopValues(this,"inRange",this.option.range.slice()),o=[];function r(t,n){o.push({value:t,color:e(t,n)})}for(var i=0,a=0,l=n.length,s=t.length;a<s&&(!n.length||t[a]<=n[0]);a++)t[a]<n[i]&&r(t[a],"outOfRange");for(var c=1;i<l;i++,c=0)c&&o.length&&r(n[i],"outOfRange"),r(n[i],"inRange");for(c=1;a<s;a++)(!n.length||n[n.length-1]<t[a])&&(c&&(o.length&&r(o[o.length-1].value,"outOfRange"),c=0),r(t[a],"outOfRange"));var u=o.length;return{stops:o,outerColors:[u?o[0].color:"transparent",u?o[u-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=inheritDefaultOption(VisualMapModel.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}(VisualMapModel);function getColorStopValues(e,t,n){if(n[0]===n[1])return n.slice();for(var o=(n[1]-n[0])/200,r=n[0],i=[],a=0;a<=200&&r<n[1];a++)i.push(r),r+=o;return i.push(n[1]),i}var VisualMapView=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 __extends(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,n,o){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,t,n,o):this.group.removeAll()},t.prototype.renderBackground=function(e){var t=this.visualMapModel,n=normalizeCssArray(t.get("padding")||0),o=e.getBoundingRect();e.add(new Rect$2({z2:-1,silent:!0,shape:{x:o.x-n[3],y:o.y-n[0],width:o.width+n[3]+n[1],height:o.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 o=(n=n||{}).forceState,r=this.visualMapModel,i={};if("color"===t){var a=r.get("contentColor");i.color=a}function l(e){return i[e]}function s(e,t){i[e]=t}var c=r.controllerVisuals[o||r.getValueState(e)];return each$f(VisualMapping.prepareVisualTypes(c),(function(o){var r=c[o];n.convertOpacityToAlpha&&"opacity"===o&&(o="colorAlpha",r=c.__alphaForOpacity),VisualMapping.dependsOn(o,t)&&r&&r.applyVisual(e,l,s)})),i[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,n=this.api;positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},t.prototype.doRender=function(e,t,n,o){},t.type="visualMap",t}(ComponentView),paramsSet=[["left","right","width"],["top","bottom","height"]];function getItemAlign(e,t,n){var o=e.option,r=o.align;if(null!=r&&"auto"!==r)return r;for(var i={width:t.getWidth(),height:t.getHeight()},a="horizontal"===o.orient?1:0,l=paramsSet[a],s=[0,null,10],c={},u=0;u<3;u++)c[paramsSet[1-a][u]]=s[u],c[l[u]]=2===u?n[0]:o[l[u]];var d=[["x","width",3],["y","height",0]][a],p=getLayoutRect(c,i,o.padding);return l[(p.margin[d[2]]||0)+p[d[0]]+.5*p[d[1]]<.5*i[d[1]]?0:1]}function makeHighDownBatch(e,t){return each$f(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}var linearMap=linearMap$2,each$1=each$f,mathMin=Math.min,mathMax=Math.max,HOVER_LINK_SIZE=12,HOVER_LINK_OUT=6,ContinuousView=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 __extends(t,e),t.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this._hoverLinkFromSeriesMouseOver=bind$2(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=bind$2(this._hideIndicator,this)},t.prototype.doRender=function(e,t,n,o){o&&"selectDataRange"===o.type&&o.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 o=t[1-n];o=null!=o?o+"":"";var r=this.visualMapModel,i=r.get("textGap"),a=r.itemSize,l=this._shapes.mainGroup,s=this._applyTransform([a[0]/2,0===n?-i:a[1]+i],l),c=this._applyTransform(0===n?"bottom":"top",l),u=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new ZRText({style:createTextStyle(d,{x:s[0],y:s[1],verticalAlign:"horizontal"===u?"middle":c,align:"horizontal"===u?c:"center",text:o})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,o=t.itemSize,r=this._orient,i=this._useHandle,a=getItemAlign(t,this.api,o),l=n.mainGroup=this._createBarGroup(a),s=new Group$3;l.add(s),s.add(n.outOfRange=createPolygon()),s.add(n.inRange=createPolygon(null,i?getCursor(this._orient):null,bind$2(this._dragHandle,this,"all",!1),bind$2(this._dragHandle,this,"all",!0))),s.setClipPath(new Rect$2({shape:{x:0,y:0,width:o[0],height:o[1],r:3}}));var c=t.textStyleModel.getTextRect("国"),u=mathMax(c.width,c.height);i&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,l,0,o,u,r),this._createHandle(t,l,1,o,u,r)),this._createIndicator(t,l,o,u,r),e.add(l)},t.prototype._createHandle=function(e,t,n,o,r,i){var a=bind$2(this._dragHandle,this,n,!1),l=bind$2(this._dragHandle,this,n,!0),s=parsePercent$1(e.get("handleSize"),o[0]),c=createSymbol$1(e.get("handleIcon"),-s/2,-s/2,s,s,null,!0),u=getCursor(this._orient);c.attr({cursor:u,draggable:!0,drift:a,ondragend:l,onmousemove:function(e){stop(e.event)}}),c.x=o[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(),setAsHighDownDispatcher(c,!0),t.add(c);var d=this.visualMapModel.textStyleModel,p=new ZRText({cursor:u,draggable:!0,drift:a,onmousemove:function(e){stop(e.event)},ondragend:l,style:createTextStyle(d,{x:0,y:0,text:""})});p.ensureState("blur").style={opacity:.1},p.stateTransition={duration:200},this.group.add(p);var f=[s,0],h=this._shapes;h.handleThumbs[n]=c,h.handleLabelPoints[n]=f,h.handleLabels[n]=p},t.prototype._createIndicator=function(e,t,n,o,r){var i=parsePercent$1(e.get("indicatorSize"),n[0]),a=createSymbol$1(e.get("indicatorIcon"),-i/2,-i/2,i,i,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var l=e.getModel("indicatorStyle").getItemStyle();if(a instanceof ZRImage){var s=a.style;a.useStyle(extend$1({image:s.image,x:s.x,y:s.y,width:s.width,height:s.height},l))}else a.useStyle(l);t.add(a);var c=this.visualMapModel.textStyleModel,u=new ZRText({silent:!0,invisible:!0,style:createTextStyle(c,{x:0,y:0,text:""})});this.group.add(u);var d=[("horizontal"===r?o/2:HOVER_LINK_OUT)+n[0]/2,0],p=this._shapes;p.indicator=a,p.indicatorLabel=u,p.indicatorLabelPoint=d,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,o){if(this._useHandle){if(this._dragging=!t,!t){var r=this._applyTransform([n,o],this._shapes.mainGroup,!0);this._updateInterval(e,r[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():useHoverLinkOnHandle(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),o=[0,e.itemSize[1]];this._handleEnds=[linearMap(t[0],n,o,!0),linearMap(t[1],n,o,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,o=this._handleEnds,r=[0,n.itemSize[1]];sliderMove(t,o,r,e,0);var i=n.getExtent();this._dataInterval=[linearMap(o[0],r,i,!0),linearMap(o[1],r,i,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),o=this._shapes,r=[0,t.itemSize[1]],i=e?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,i,"inRange"),l=this._createBarVisual(n,n,r,"outOfRange");o.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),o.outOfRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),this._updateHandle(i,a)},t.prototype._createBarVisual=function(e,t,n,o){var r={forceState:o,convertOpacityToAlpha:!0},i=this._makeColorGradient(e,r),a=[this.getControllerVisual(e[0],"symbolSize",r),this.getControllerVisual(e[1],"symbolSize",r)],l=this._createBarPoints(n,a);return{barColor:new LinearGradient(0,0,0,1,i),barPoints:l,handlesColor:[i[0].color,i[i.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=[],o=(e[1]-e[0])/100;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var r=1;r<100;r++){var i=e[0]+o*r;if(i>e[1])break;n.push({color:this.getControllerVisual(i,"color",t),offset:r/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 Group$3("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,o=this.visualMapModel,r=n.handleThumbs,i=n.handleLabels,a=o.itemSize,l=o.getExtent(),s=this._applyTransform("left",n.mainGroup);each$1([0,1],(function(c){var u=r[c];u.setStyle("fill",t.handlesColor[c]),u.y=e[c];var d=linearMap(e[c],[0,a[1]],l,!0),p=this.getControllerVisual(d,"symbolSize");u.scaleX=u.scaleY=p/a[0],u.x=a[0]-p/2;var f=applyTransform(n.handleLabelPoints[c],getTransform$1(u,this.group));if("horizontal"===this._orient){var h="left"===s||"top"===s?(a[0]-p)/2:(a[0]-p)/-2;f[1]+=h}i[c].setStyle({x:f[0],y:f[1],text:o.formatValueText(this._dataInterval[c]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,n,o){var r=this.visualMapModel,i=r.getExtent(),a=r.itemSize,l=[0,a[1]],s=this._shapes,c=s.indicator;if(c){c.attr("invisible",!1);var u=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),d=this.getControllerVisual(e,"symbolSize"),p=linearMap(e,i,l,!0),f=a[0]-d/2,h={x:c.x,y:c.y};c.y=p,c.x=f;var m=applyTransform(s.indicatorLabelPoint,getTransform$1(c,this.group)),g=s.indicatorLabel;g.attr("invisible",!1);var v=this._applyTransform("left",s.mainGroup),y="horizontal"===this._orient;g.setStyle({text:(n||"")+r.formatValueText(t),verticalAlign:y?v:"middle",align:y?"center":v});var b={x:f,y:p,style:{fill:u}},_={style:{x:m[0],y:m[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var w={duration:100,easing:"cubicInOut",additive:!0};c.x=h.x,c.y=h.y,c.animateTo(b,w),g.animateTo(_,w)}else c.attr(b),g.attr(_);this._firstShowIndicator=!1;var k=this._shapes.handleLabels;if(k)for(var x=0;x<k.length;x++)this.api.enterBlur(k[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,o=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);o[1]=mathMin(mathMax(0,o[1]),n[1]),e._doHoverLinkToSeries(o[1],0<=o[0]&&o[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,o=n.itemSize;if(n.option.hoverLink){var r=[0,o[1]],i=n.getExtent();e=mathMin(mathMax(r[0],e),r[1]);var a=getHalfHoverLinkSize(n,i,r),l=[e-a,e+a],s=linearMap(e,r,i,!0),c=[linearMap(l[0],r,i,!0),linearMap(l[1],r,i,!0)];l[0]<r[0]&&(c[0]=-1/0),l[1]>r[1]&&(c[1]=1/0),t&&(c[0]===-1/0?this._showIndicator(s,c[1],"< ",a):c[1]===1/0?this._showIndicator(s,c[0],"> ",a):this._showIndicator(s,s,"≈ ",a));var u=this._hoverLinkDataIndices,d=[];(t||useHoverLinkOnHandle(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var p=compressBatches(u,d);this._dispatchHighDown("downplay",makeHighDownBatch(p[0],n)),this._dispatchHighDown("highlight",makeHighDownBatch(p[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if(findEventDispatcher(e.target,(function(e){var n=getECData(e);if(null!=n.dataIndex)return t=n,!0}),!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),o=this.visualMapModel;if(o.isTargetSeries(n)){var r=n.getData(t.dataType),i=r.getStore().get(o.getDataDimensionIndex(r),t.dataIndex);isNaN(i)||this._showIndicator(i,i)}}},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",makeHighDownBatch(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,o){var r=getTransform$1(t,o?null:this.group);return isArray$2(e)?applyTransform(e,r,n):transformDirection(e,r,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.type="visualMap.continuous",t}(VisualMapView);function createPolygon(e,t,n,o){return new Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){stop(e.event)},ondragend:o})}function getHalfHoverLinkSize(e,t,n){var o=HOVER_LINK_SIZE/2,r=e.get("hoverLinkDataSize");return r&&(o=linearMap(r,t,n,!0)/2),o}function useHoverLinkOnHandle(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function getCursor(e){return"vertical"===e?"ns-resize":"ew-resize"}var visualMapActionInfo={type:"selectDataRange",event:"dataRangeSelected",update:"update"},visualMapActionHander=function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))},visualMapEncodingHandlers=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var o=e.pipelineContext;!t.isTargetSeries(e)||o&&o.large||n.push(incrementalApplyVisual(t.stateList,t.targetVisuals,bind$2(t.getValueState,t),t.getDataDimensionIndex(e.getData())))})),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),o=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var r=t.getVisualMeta(bind$2(getColorVisual,null,e,t))||{stops:[],outerColors:[]},i=t.getDataDimensionIndex(n);i>=0&&(r.dimension=i,o.push(r))}})),e.getData().setVisual("visualMeta",o)}}];function getColorVisual(e,t,n,o){for(var r=t.targetVisuals[o],i=VisualMapping.prepareVisualTypes(r),a={color:getVisualFromData(e.getData(),"color")},l=0,s=i.length;l<s;l++){var c=i[l],u=r["opacity"===c?"__alphaForOpacity":c];u&&u.applyVisual(n,d,p)}return a.color;function d(e){return a[e]}function p(e,t){a[e]=t}}var each=each$f;function visualMapPreprocessor(e){var t=e&&e.visualMap;isArray$2(t)||(t=t?[t]:[]),each(t,(function(e){if(e){has(e,"splitList")&&!has(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&isArray$2(t)&&each(t,(function(e){isObject$4(e)&&(has(e,"start")&&!has(e,"min")&&(e.min=e.start),has(e,"end")&&!has(e,"max")&&(e.max=e.end))}))}}))}function has(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var installed=!1;function installCommon(e){installed||(installed=!0,e.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(visualMapPreprocessor))}function install$6(e){e.registerComponentModel(ContinuousModel),e.registerComponentView(ContinuousView),installCommon(e)}var PiecewiseModel=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return __extends(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var o=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var r=this.option.categories;this.resetVisual((function(e,t){"categories"===o?(e.mappingMethod="category",e.categories=clone$4(r)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=map$1(this._pieceList,(function(e){return e=clone$4(e),"inRange"!==t&&(e.visual=null),e})))}))},t.prototype.completeVisualOption=function(){var t=this.option,n={},o=VisualMapping.listVisualTypes(),r=this.isCategory();function i(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}each$f(t.pieces,(function(e){each$f(o,(function(t){e.hasOwnProperty(t)&&(n[t]=1)}))})),each$f(n,(function(e,n){var o=!1;each$f(this.stateList,(function(e){o=o||i(t,e,n)||i(t.target,e,n)}),this),!o&&each$f(this.stateList,(function(e){(t[e]||(t[e]={}))[n]=visualDefault.get(n,"inRange"===e?"active":"inactive",r)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,o=this._pieceList,r=(t?n:e).selected||{};if(n.selected=r,each$f(o,(function(e,t){var n=this.getSelectedMapKey(e);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var i=!1;each$f(o,(function(e,t){var n=this.getSelectedMapKey(e);r[n]&&(i?r[n]=!1:i=!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=clone$4(e)},t.prototype.getValueState=function(e){var t=VisualMapping.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(o){var r=[],i=o.getData();i.each(this.getDataDimensionIndex(i),(function(t,o){VisualMapping.findPieceIndex(t,n)===e&&r.push(o)}),this),t.push({seriesId:o.id,dataIndex:r})}),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=["",""],o=this,r=this._pieceList.slice();if(r.length){var i=r[0].interval[0];i!==-1/0&&r.unshift({interval:[-1/0,i]}),(i=r[r.length-1].interval[1])!==1/0&&r.push({interval:[i,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return each$f(r,(function(e){var t=e.interval;t&&(t[0]>a&&l([a,t[0]],"outOfRange"),l(t.slice()),a=t[1])}),this),{stops:t,outerColors:n}}function l(r,i){var a=o.getRepresentValue({interval:r});i||(i=o.getValueState(a));var l=e(a,i);r[0]===-1/0?n[0]=l:r[1]===1/0?n[1]=l:t.push({value:r[0],color:l},{value:r[1],color:l})}},t.type="visualMap.piecewise",t.defaultOption=inheritDefaultOption(VisualMapModel.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}(VisualMapModel),resetMethods={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),o=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;for(var i=(o[1]-o[0])/r;+i.toFixed(n)!==i&&n<5;)n++;t.precision=n,i=+i.toFixed(n),t.minOpen&&e.push({interval:[-1/0,o[0]],close:[0,0]});for(var a=0,l=o[0];a<r;l+=i,a++){var s=a===r-1?o[1]:l+i;e.push({interval:[l,s],close:[1,1]})}t.maxOpen&&e.push({interval:[o[1],1/0],close:[0,0]}),reformIntervals(e),each$f(e,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(e){var t=this.option;each$f(t.categories,(function(t){e.push({text:this.formatValueText(t,!0),value:t})}),this),normalizeReverse(t,e)},pieces:function(e){var t=this.option;each$f(t.pieces,(function(t,n){isObject$4(t)||(t={value:t});var o={text:"",index:n};if(null!=t.label&&(o.text=t.label),t.hasOwnProperty("value")){var r=o.value=t.value;o.interval=[r,r],o.close=[1,1]}else{for(var i=o.interval=[],a=o.close=[0,0],l=[1,0,1],s=[-1/0,1/0],c=[],u=0;u<2;u++){for(var d=[["gte","gt","min"],["lte","lt","max"]][u],p=0;p<3&&null==i[u];p++)i[u]=t[d[p]],a[u]=l[p],c[u]=2===p;null==i[u]&&(i[u]=s[u])}c[0]&&i[1]===1/0&&(a[0]=0),c[1]&&i[0]===-1/0&&(a[1]=0),i[0]===i[1]&&a[0]&&a[1]&&(o.value=i[0])}o.visual=VisualMapping.retrieveVisuals(t),e.push(o)}),this),normalizeReverse(t,e),reformIntervals(e),each$f(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 normalizeReverse(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var PiecewiseVisualMapView=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return __extends(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),o=t.textStyleModel,r=o.getFont(),i=o.getTextColor(),a=this._getItemAlign(),l=t.itemSize,s=this._getViewData(),c=s.endsText,u=retrieve(t.get("showLabel",!0),!c),d=!t.get("selectedMode");c&&this._renderEndsText(e,c[0],l,u,a),each$f(s.viewPieceList,(function(o){var s=o.piece,c=new Group$3;c.onclick=bind$2(this._onItemClick,this,s),this._enableHoverLink(c,o.indexInModelPieceList);var p=t.getRepresentValue(s);if(this._createItemSymbol(c,p,[0,0,l[0],l[1]],d),u){var f=this.visualMapModel.getValueState(p);c.add(new ZRText({style:{x:"right"===a?-n:l[0]+n,y:l[1]/2,text:s.text,verticalAlign:"middle",align:a,font:r,fill:i,opacity:"outOfRange"===f?.5:1},silent:d}))}e.add(c)}),this),c&&this._renderEndsText(e,c[1],l,u,a),box(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 o("highlight")})).on("mouseout",(function(){return o("downplay")}));var o=function(e){var o=n.visualMapModel;o.option.hoverLink&&n.api.dispatchAction({type:e,batch:makeHighDownBatch(o.findTargetDataIndices(t),o)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,o,r){if(t){var i=new Group$3,a=this.visualMapModel.textStyleModel;i.add(new ZRText({style:createTextStyle(a,{x:o?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:o?r:"center",text:t})})),e.add(i)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=map$1(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),o=e.get("orient"),r=e.get("inverse");return("horizontal"===o?r:!r)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n,o){var r=createSymbol$1(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color"));r.silent=o,e.add(r)},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,o=n.selectedMode;if(o){var r=clone$4(n.selected),i=t.getSelectedMapKey(e);"single"===o||!0===o?(r[i]=!0,each$f(r,(function(e,t){r[t]=t===i}))):r[i]=!r[i],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},t.type="visualMap.piecewise",t}(VisualMapView);function install$5(e){e.registerComponentModel(PiecewiseModel),e.registerComponentView(PiecewiseVisualMapView),installCommon(e)}function install$4(e){use(install$6),use(install$5)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(e,t){var n=e.getModel("aria");if(n.get("enabled")){var o=clone$4(DEFAULT_OPTION);merge$1(o.label,e.getLocaleModel().get("aria"),!1),merge$1(n.option,o,!1),function(){if(n.getModel("decal").get("show")){var t=createHashMap();e.eachSeries((function(e){if(!e.isColorBySeries()){var n=t.get(e.type);n||(n={},t.set(e.type,n)),inner(e).scope=n}})),e.eachRawSeries((function(t){if(!e.isSeriesFiltered(t))if(isFunction$2(t.enableAriaDecal))t.enableAriaDecal();else{var n=t.getData();if(t.isColorBySeries()){var o=getDecalFromPalette(t.ecModel,t.name,decalPaletteScope,e.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",c(r,o))}else{var i=t.getRawData(),a={},l=inner(t).scope;n.each((function(e){var t=n.getRawIndex(e);a[t]=e}));var s=i.count();i.each((function(e){var o=a[e],r=i.getName(e)||e+"",u=getDecalFromPalette(t.ecModel,r,l,s),d=n.getItemVisual(o,"decal");n.setItemVisual(o,"decal",c(d,u))}))}}function c(e,t){var n=e?extend$1(extend$1({},t),e):t;return n.dirty=!0,n}}))}}(),function(){var o=t.getZr().dom;if(!o)return;var i=e.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=defaults$1(a.option,i),!a.get("enabled"))return;if(o.setAttribute("role","img"),a.get("description"))return void o.setAttribute("aria-label",a.get("description"));var l,s=e.getSeriesCount(),c=a.get(["data","maxCount"])||10,u=a.get(["series","maxCount"])||10,d=Math.min(s,u);if(s<1)return;var p=function(){var t=e.get("title");t&&t.length&&(t=t[0]);return t&&t.text}();l=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var f=[];l+=r(s>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:s}),e.eachSeries((function(t,n){if(n<d){var o=void 0,i=t.get("name")?"withName":"withoutName";o=r(o=s>1?a.get(["series","multiple",i]):a.get(["series","single",i]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(_=t.subType,w=e.getLocaleModel().get(["series","typeNames"]),w[_]||w.chart)});var l=t.getData();if(l.count()>c)o+=r(a.get(["data","partialData"]),{displayCnt:c});else o+=a.get(["data","allData"]);for(var u=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),h=a.get(["data","excludeDimensionId"]),m=[],g=0;g<l.count();g++)if(g<c){var v=l.getName(g),y=h?filter(l.getValues(g),(function(e,t){return-1===indexOf(h,t)})):l.getValues(g),b=a.get(["data",v?"withName":"withoutName"]);m.push(r(b,{name:v,value:y.join(u)}))}o+=m.join(u)+p,f.push(o)}var _,w}));var h=a.getModel(["series","multiple","separator"]),m=h.get("middle"),g=h.get("end");l+=f.join(m)+g,o.setAttribute("aria-label",l)}()}function r(e,t){if(!isString$2(e))return e;var n=e;return each$f(t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}}function ariaPreprocessor(e){if(e&&e.aria){var t=e.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},each$f(["description","general","series","data"],(function(e){null!=t[e]&&(t.label[e]=t[e])}))}}function install$3(e){e.registerPreprocessor(ariaPreprocessor),e.registerVisual(e.PRIORITY.VISUAL.ARIA,ariaVisual)}var RELATIONAL_EXPRESSION_OP_ALIAS_MAP={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function e(e){if(null==(this._condVal=isString$2(e)?new RegExp(e):isRegExp$1(e)?e:null)){throwError$1("")}}return e.prototype.evaluate=function(e){var t=typeof e;return isString$2(t)?this._condVal.test(e):!!isNumber$2(t)&&this._condVal.test(e+"")},e}(),ConstConditionInternal=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),AndConditionInternal=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}(),OrConditionInternal=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}(),NotConditionInternal=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),RelationalConditionInternal=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,o=0;o<this.subCondList.length;o++)if(!this.subCondList[o].evaluate(e?n:t))return!1;return!0},e}();function parseOption(e,t){if(!0===e||!1===e){var n=new ConstConditionInternal;return n.value=e,n}return isObjectNotArray(e)||throwError$1(""),e.and?parseAndOrOption("and",e,t):e.or?parseAndOrOption("or",e,t):e.not?parseNotOption(e,t):parseRelationalOption(e,t)}function parseAndOrOption(e,t,n){var o=t[e];isArray$2(o)||throwError$1(""),o.length||throwError$1("");var r="and"===e?new AndConditionInternal:new OrConditionInternal;return r.children=map$1(o,(function(e){return parseOption(e,n)})),r.children.length||throwError$1(""),r}function parseNotOption(e,t){var n=e.not;isObjectNotArray(n)||throwError$1("");var o=new NotConditionInternal;return o.child=parseOption(n,t),o.child||throwError$1(""),o}function parseRelationalOption(e,t){for(var n=t.prepareGetValue(e),o=[],r=keys(e),i=e.parser,a=i?getRawValueParser(i):null,l=0;l<r.length;l++){var s=r[l];if("parser"!==s&&!t.valueGetterAttrMap.get(s)){var c=hasOwn(RELATIONAL_EXPRESSION_OP_ALIAS_MAP,s)?RELATIONAL_EXPRESSION_OP_ALIAS_MAP[s]:s,u=e[s],d=a?a(u):u,p=createFilterComparator(c,d)||"reg"===c&&new RegExpEvaluator(d);p||throwError$1(""),o.push(p)}}o.length||throwError$1("");var f=new RelationalConditionInternal;return f.valueGetterParam=n,f.valueParser=a,f.getValue=t.getValue,f.subCondList=o,f}function isObjectNotArray(e){return isObject$4(e)&&!isArrayLike(e)}var ConditionalExpressionParsed=function(){function e(e,t){this._cond=parseOption(e,t)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function parseConditionalExpression(e,t){return new ConditionalExpressionParsed(e,t)}var filterTransform={type:"echarts:filter",transform:function(e){for(var t,n=e.upstream,o=parseConditionalExpression(e.config,{valueGetterAttrMap:createHashMap({dimension:!0}),prepareGetValue:function(e){var t=e.dimension;hasOwn(e,"dimension")||throwError$1("");var o=n.getDimensionInfo(t);return o||throwError$1(""),{dimIdx:o.index}},getValue:function(e){return n.retrieveValueFromItem(t,e.dimIdx)}}),r=[],i=0,a=n.count();i<a;i++)t=n.getRawDataItem(i),o.evaluate()&&r.push(t);return{data:r}}},sortTransform={type:"echarts:sort",transform:function(e){var t=e.upstream,n=e.config,o="",r=normalizeToArray(n);r.length||throwError$1(o);var i=[];each$f(r,(function(e){var n=e.dimension,r=e.order,a=e.parser,l=e.incomparable;if(null==n&&throwError$1(o),"asc"!==r&&"desc"!==r&&throwError$1(o),l&&"min"!==l&&"max"!==l){throwError$1("")}if("asc"!==r&&"desc"!==r){throwError$1("")}var s=t.getDimensionInfo(n);s||throwError$1(o);var c=a?getRawValueParser(a):null;a&&!c&&throwError$1(o),i.push({dimIdx:s.index,parser:c,comparator:new SortOrderComparator(r,l)})}));var a=t.sourceFormat;a!==SOURCE_FORMAT_ARRAY_ROWS&&a!==SOURCE_FORMAT_OBJECT_ROWS&&throwError$1(o);for(var l=[],s=0,c=t.count();s<c;s++)l.push(t.getRawDataItem(s));return l.sort((function(e,n){for(var o=0;o<i.length;o++){var r=i[o],a=t.retrieveValueFromItem(e,r.dimIdx),l=t.retrieveValueFromItem(n,r.dimIdx);r.parser&&(a=r.parser(a),l=r.parser(l));var s=r.comparator.evaluate(a,l);if(0!==s)return s}return 0})),{data:l}}};function install$2(e){e.registerTransform(filterTransform),e.registerTransform(sortTransform)}var DatasetModel=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return __extends(t,e),t.prototype.init=function(t,n,o){e.prototype.init.call(this,t,n,o),this._sourceManager=new SourceManager(this),disableTransformOptionMerge(this)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),disableTransformOptionMerge(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN},t}(ComponentModel),DatasetView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return __extends(t,e),t.type="dataset",t}(ComponentView);function install$1(e){e.registerComponentModel(DatasetModel),e.registerComponentView(DatasetView)}var CMD=PathProxy.CMD;function aroundEqual(e,t){return Math.abs(e-t)<1e-5}function pathToBezierCurves(e){var t,n,o,r,i,a,l,s,c,u,d,p,f,h,m,g,v,y,b,_,w,k,x,S,C=e.data,E=e.len(),T=[],A=0,$=0,I=0,M=0;function P(e,n){t&&t.length>2&&T.push(t),t=[e,n]}function N(e,n,o,r){aroundEqual(e,o)&&aroundEqual(n,r)||t.push(e,n,o,r,o,r)}for(var O=0;O<E;){var R=C[O++],D=1===O;switch(D&&(I=A=C[O],M=$=C[O+1],R!==CMD.L&&R!==CMD.C&&R!==CMD.Q||(t=[I,M])),R){case CMD.M:A=I=C[O++],$=M=C[O++],P(I,M);break;case CMD.L:N(A,$,n=C[O++],o=C[O++]),A=n,$=o;break;case CMD.C:t.push(C[O++],C[O++],C[O++],C[O++],A=C[O++],$=C[O++]);break;case CMD.Q:n=C[O++],o=C[O++],r=C[O++],i=C[O++],t.push(A+2/3*(n-A),$+2/3*(o-$),r+2/3*(n-r),i+2/3*(o-i),r,i),A=r,$=i;break;case CMD.A:var L=C[O++],B=C[O++],V=C[O++],z=C[O++],F=C[O++],H=C[O++]+F;O+=1;var j=!C[O++];n=Math.cos(F)*V+L,o=Math.sin(F)*z+B,D?P(I=n,M=o):N(A,$,n,o),A=Math.cos(H)*V+L,$=Math.sin(H)*z+B;for(var G=(j?-1:1)*Math.PI/2,U=F;j?U>H:U<H;U+=G){var W=j?Math.max(U+G,H):Math.min(U+G,H);a=U,l=W,s=L,c=B,u=V,d=z,p=void 0,f=void 0,h=void 0,m=void 0,g=void 0,v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,k=void 0,x=void 0,S=void 0,p=Math.abs(l-a),f=4*Math.tan(p/4)/3,h=l<a?-1:1,m=Math.cos(a),g=Math.sin(a),v=Math.cos(l),y=Math.sin(l),b=m*u+s,_=g*d+c,w=v*u+s,k=y*d+c,x=u*f*h,S=d*f*h,t.push(b-x*g,_+S*m,w+x*y,k-S*v,w,k)}break;case CMD.R:I=A=C[O++],M=$=C[O++],n=I+C[O++],o=M+C[O++],P(n,M),N(n,M,n,o),N(n,o,I,o),N(I,o,I,M),N(I,M,n,M);break;case CMD.Z:t&&N(A,$,I,M),A=I,$=M}}return t&&t.length>2&&T.push(t),T}function adpativeBezier(e,t,n,o,r,i,a,l,s,c){if(aroundEqual(e,n)&&aroundEqual(t,o)&&aroundEqual(r,a)&&aroundEqual(i,l))s.push(a,l);else{var u=2/c,d=u*u,p=a-e,f=l-t,h=Math.sqrt(p*p+f*f);p/=h,f/=h;var m=n-e,g=o-t,v=r-a,y=i-l,b=m*m+g*g,_=v*v+y*y;if(b<d&&_<d)s.push(a,l);else{var w=p*m+f*g,k=-p*v-f*y;if(b-w*w<d&&w>=0&&_-k*k<d&&k>=0)s.push(a,l);else{var x=[],S=[];cubicSubdivide(e,n,r,a,.5,x),cubicSubdivide(t,o,i,l,.5,S),adpativeBezier(x[0],S[0],x[1],S[1],x[2],S[2],x[3],S[3],s,c),adpativeBezier(x[4],S[4],x[5],S[5],x[6],S[6],x[7],S[7],s,c)}}}}function pathToPolygons(e,t){var n=pathToBezierCurves(e),o=[];t=t||1;for(var r=0;r<n.length;r++){var i=n[r],a=[],l=i[0],s=i[1];a.push(l,s);for(var c=2;c<i.length;){var u=i[c++],d=i[c++],p=i[c++],f=i[c++],h=i[c++],m=i[c++];adpativeBezier(l,s,u,d,p,f,h,m,a,t),l=h,s=m}o.push(a)}return o}function getDividingGrids(e,t,n){var o=e[t],r=e[1-t],i=Math.abs(o/r),a=Math.ceil(Math.sqrt(i*n)),l=Math.floor(n/a);0===l&&(l=1,a=n);for(var s=[],c=0;c<a;c++)s.push(l);var u=n-a*l;if(u>0)for(c=0;c<u;c++)s[c%a]+=1;return s}function divideSector(e,t,n){for(var o=e.r0,r=e.r,i=e.startAngle,a=e.endAngle,l=Math.abs(a-i),s=l*r,c=r-o,u=s>Math.abs(c),d=getDividingGrids([s,c],u?0:1,t),p=(u?l:c)/d.length,f=0;f<d.length;f++)for(var h=(u?c:l)/d[f],m=0;m<d[f];m++){var g={};u?(g.startAngle=i+p*f,g.endAngle=i+p*(f+1),g.r0=o+h*m,g.r=o+h*(m+1)):(g.startAngle=i+h*m,g.endAngle=i+h*(m+1),g.r0=o+p*f,g.r=o+p*(f+1)),g.clockwise=e.clockwise,g.cx=e.cx,g.cy=e.cy,n.push(g)}}function divideRect(e,t,n){for(var o=e.width,r=e.height,i=o>r,a=getDividingGrids([o,r],i?0:1,t),l=i?"width":"height",s=i?"height":"width",c=i?"x":"y",u=i?"y":"x",d=e[l]/a.length,p=0;p<a.length;p++)for(var f=e[s]/a[p],h=0;h<a[p];h++){var m={};m[c]=p*d,m[u]=h*f,m[l]=d,m[s]=f,m.x+=e.x,m.y+=e.y,n.push(m)}}function crossProduct2d(e,t,n,o){return e*o-n*t}function lineLineIntersect(e,t,n,o,r,i,a,l){var s=n-e,c=o-t,u=a-r,d=l-i,p=crossProduct2d(u,d,s,c);if(Math.abs(p)<1e-6)return null;var f=crossProduct2d(e-r,t-i,u,d)/p;return f<0||f>1?null:new Point(f*s+e,f*c+t)}function projPtOnLine(e,t,n){var o=new Point;Point.sub(o,n,t),o.normalize();var r=new Point;return Point.sub(r,e,t),r.dot(o)}function addToPoly(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function splitPolygonByLine(e,t,n){for(var o=e.length,r=[],i=0;i<o;i++){var a=e[i],l=e[(i+1)%o],s=lineLineIntersect(a[0],a[1],l[0],l[1],t.x,t.y,n.x,n.y);s&&r.push({projPt:projPtOnLine(s,t,n),pt:s,idx:i})}if(r.length<2)return[{points:e},{points:e}];r.sort((function(e,t){return e.projPt-t.projPt}));var c=r[0],u=r[r.length-1];if(u.idx<c.idx){var d=c;c=u,u=d}var p=[c.pt.x,c.pt.y],f=[u.pt.x,u.pt.y],h=[p],m=[f];for(i=c.idx+1;i<=u.idx;i++)addToPoly(h,e[i].slice());addToPoly(h,f),addToPoly(h,p);for(i=u.idx+1;i<=c.idx+o;i++)addToPoly(m,e[i%o].slice());return addToPoly(m,p),addToPoly(m,f),[{points:h},{points:m}]}function binaryDividePolygon(e){var t=e.points,n=[],o=[];fromPoints(t,n,o);var r=new BoundingRect(n[0],n[1],o[0]-n[0],o[1]-n[1]),i=r.width,a=r.height,l=r.x,s=r.y,c=new Point,u=new Point;return i>a?(c.x=u.x=l+i/2,c.y=s,u.y=s+a):(c.y=u.y=s+a/2,c.x=l,u.x=l+i),splitPolygonByLine(t,c,u)}function binaryDivideRecursive(e,t,n,o){if(1===n)o.push(t);else{var r=Math.floor(n/2),i=e(t);binaryDivideRecursive(e,i[0],r,o),binaryDivideRecursive(e,i[1],n-r,o)}return o}function clone(e,t){for(var n=[],o=0;o<t;o++)n.push(clonePath(e));return n}function copyPathProps(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function polygonConvert(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}function split(e,t){var n,o=[],r=e.shape;switch(e.type){case"rect":divideRect(r,t,o),n=Rect$2;break;case"sector":divideSector(r,t,o),n=Sector;break;case"circle":divideSector({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},t,o),n=Sector;break;default:var i=e.getComputedTransform(),a=i?Math.sqrt(Math.max(i[0]*i[0]+i[1]*i[1],i[2]*i[2]+i[3]*i[3])):1,l=map$1(pathToPolygons(e.getUpdatedPathProxy(),a),(function(e){return polygonConvert(e)})),s=l.length;if(0===s)binaryDivideRecursive(binaryDividePolygon,{points:l[0]},t,o);else if(s===t)for(var c=0;c<s;c++)o.push({points:l[c]});else{var u=0,d=map$1(l,(function(e){var t=[],n=[];fromPoints(e,t,n);var o=(n[1]-t[1])*(n[0]-t[0]);return u+=o,{poly:e,area:o}}));d.sort((function(e,t){return t.area-e.area}));var p=t;for(c=0;c<s;c++){var f=d[c];if(p<=0)break;var h=c===s-1?p:Math.ceil(f.area/u*t);h<0||(binaryDivideRecursive(binaryDividePolygon,{points:f.poly},h,o),p-=h)}}n=Polygon}if(!n)return clone(e,t);var m=[];for(c=0;c<o.length;c++){var g=new n;g.setShape(o[c]),copyPathProps(e,g),m.push(g)}return m}function alignSubpath(e,t){var n=e.length,o=t.length;if(n===o)return[e,t];for(var r=[],i=[],a=n<o?e:t,l=Math.min(n,o),s=Math.abs(o-n)/6,c=(l-2)/6,u=Math.ceil(s/c)+1,d=[a[0],a[1]],p=s,f=2;f<l;){var h=a[f-2],m=a[f-1],g=a[f++],v=a[f++],y=a[f++],b=a[f++],_=a[f++],w=a[f++];if(p<=0)d.push(g,v,y,b,_,w);else{for(var k=Math.min(p,u-1)+1,x=1;x<=k;x++){var S=x/k;cubicSubdivide(h,g,y,_,S,r),cubicSubdivide(m,v,b,w,S,i),h=r[3],m=i[3],d.push(r[1],i[1],r[2],i[2],h,m),g=r[5],v=i[5],y=r[6],b=i[6]}p-=k-1}}return a===e?[d,t]:[e,d]}function createSubpath(e,t){for(var n=e.length,o=e[n-2],r=e[n-1],i=[],a=0;a<t.length;)i[a++]=o,i[a++]=r;return i}function alignBezierCurves(e,t){for(var n,o,r,i=[],a=[],l=0;l<Math.max(e.length,t.length);l++){var s=e[l],c=t[l],u=void 0,d=void 0;s?c?(o=u=(n=alignSubpath(s,c))[0],r=d=n[1]):(d=createSubpath(r||s,s),u=s):(u=createSubpath(o||c,c),d=c),i.push(u),a.push(d)}return[i,a]}function centroid(e){for(var t=0,n=0,o=0,r=e.length,i=0,a=r-2;i<r;a=i,i+=2){var l=e[a],s=e[a+1],c=e[i],u=e[i+1],d=l*u-c*s;t+=d,n+=(l+c)*d,o+=(s+u)*d}return 0===t?[e[0]||0,e[1]||0]:[n/t/3,o/t/3,t]}function findBestRingOffset(e,t,n,o){for(var r=(e.length-2)/6,i=1/0,a=0,l=e.length,s=l-2,c=0;c<r;c++){for(var u=6*c,d=0,p=0;p<l;p+=2){var f=0===p?u:(u+p-2)%s+2,h=e[f]-n[0],m=e[f+1]-n[1],g=t[p]-o[0]-h,v=t[p+1]-o[1]-m;d+=g*g+v*v}d<i&&(i=d,a=c)}return a}function reverse(e){for(var t=[],n=e.length,o=0;o<n;o+=2)t[o]=e[n-o-2],t[o+1]=e[n-o-1];return t}function findBestMorphingRotation(e,t,n,o){for(var r,i=[],a=0;a<e.length;a++){var l=e[a],s=t[a],c=centroid(l),u=centroid(s);null==r&&(r=c[2]<0!=u[2]<0);var d=[],p=[],f=0,h=1/0,m=[],g=l.length;r&&(l=reverse(l));for(var v=6*findBestRingOffset(l,s,c,u),y=g-2,b=0;b<y;b+=2){var _=(v+b)%y+2;d[b+2]=l[_]-c[0],d[b+3]=l[_+1]-c[1]}d[0]=l[v]-c[0],d[1]=l[v+1]-c[1];for(var w=o/n,k=-o/2;k<=o/2;k+=w){var x=Math.sin(k),S=Math.cos(k),C=0;for(b=0;b<l.length;b+=2){var E=d[b],T=d[b+1],A=s[b]-u[0],$=s[b+1]-u[1],I=A*S-$*x,M=A*x+$*S;m[b]=I,m[b+1]=M;var P=I-E,N=M-T;C+=P*P+N*N}if(C<h){h=C,f=k;for(var O=0;O<m.length;O++)p[O]=m[O]}}i.push({from:d,to:p,fromCp:c,toCp:u,rotation:-f})}return i}function isCombineMorphing(e){return e.__isCombineMorphing}var SAVED_METHOD_PREFIX="__mOriginal_";function saveAndModifyMethod(e,t,n){var o=SAVED_METHOD_PREFIX+t,r=e[o]||e[t];e[o]||(e[o]=e[t]);var i=n.replace,a=n.after,l=n.before;e[t]=function(){var e,t=arguments;return l&&l.apply(this,t),e=i?i.apply(this,t):r.apply(this,t),a&&a.apply(this,t),e}}function restoreMethod(e,t){var n=SAVED_METHOD_PREFIX+t;e[n]&&(e[t]=e[n],e[n]=null)}function applyTransformOnBeziers(e,t){for(var n=0;n<e.length;n++)for(var o=e[n],r=0;r<o.length;){var i=o[r],a=o[r+1];o[r++]=t[0]*i+t[2]*a+t[4],o[r++]=t[1]*i+t[3]*a+t[5]}}function prepareMorphPath(e,t){var n=e.getUpdatedPathProxy(),o=t.getUpdatedPathProxy(),r=alignBezierCurves(pathToBezierCurves(n),pathToBezierCurves(o)),i=r[0],a=r[1],l=e.getComputedTransform(),s=t.getComputedTransform();l&&applyTransformOnBeziers(i,l),s&&applyTransformOnBeziers(a,s),saveAndModifyMethod(t,"updateTransform",{replace:function(){this.transform=null}}),t.transform=null;var c=findBestMorphingRotation(i,a,10,Math.PI),u=[];saveAndModifyMethod(t,"buildPath",{replace:function(e){for(var n=t.__morphT,o=1-n,r=[],i=0;i<c.length;i++){var a=c[i],l=a.from,s=a.to,d=a.rotation*n,p=a.fromCp,f=a.toCp,h=Math.sin(d),m=Math.cos(d);lerp$1(r,p,f,n);for(var g=0;g<l.length;g+=2){var v=l[g],y=l[g+1],b=v*o+(x=s[g])*n,_=y*o+(S=s[g+1])*n;u[g]=b*m-_*h+r[0],u[g+1]=b*h+_*m+r[1]}var w=u[0],k=u[1];e.moveTo(w,k);for(g=2;g<l.length;){var x=u[g++],S=u[g++],C=u[g++],E=u[g++],T=u[g++],A=u[g++];w===x&&k===S&&C===T&&E===A?e.lineTo(T,A):e.bezierCurveTo(x,S,C,E,T,A),w=T,k=A}}}})}function morphPath(e,t,n){if(!e||!t)return t;var o=n.done,r=n.during;return prepareMorphPath(e,t),t.__morphT=0,t.animateTo({__morphT:1},defaults$1({during:function(e){t.dirtyShape(),r&&r(e)},done:function(){restoreMethod(t,"buildPath"),restoreMethod(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape(),o&&o()}},n)),t}function hilbert(e,t,n,o,r,i){e=r===n?0:Math.round(32767*(e-n)/(r-n)),t=i===o?0:Math.round(32767*(t-o)/(i-o));for(var a,l=0,s=32768;s>0;s/=2){var c=0,u=0;(e&s)>0&&(c=1),(t&s)>0&&(u=1),l+=s*s*(3*c^u),0===u&&(1===c&&(e=s-1-e,t=s-1-t),a=e,e=t,t=a)}return l}function sortPaths(e){var t=1/0,n=1/0,o=-1/0,r=-1/0,i=map$1(e,(function(e){var i=e.getBoundingRect(),a=e.getComputedTransform(),l=i.x+i.width/2+(a?a[4]:0),s=i.y+i.height/2+(a?a[5]:0);return t=Math.min(l,t),n=Math.min(s,n),o=Math.max(l,o),r=Math.max(s,r),[l,s]}));return map$1(i,(function(i,a){return{cp:i,z:hilbert(i[0],i[1],t,n,o,r),path:e[a]}})).sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function defaultDividePath(e){return split(e.path,e.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(e,t,n){var o=[];!function e(t){for(var n=0;n<t.length;n++){var r=t[n];isCombineMorphing(r)?e(r.childrenRef()):r instanceof Path&&o.push(r)}}(e);var r=o.length;if(!r)return createEmptyReturn();var i=(n.dividePath||defaultDividePath)({path:t,count:r});if(i.length!==r)return createEmptyReturn();o=sortPaths(o),i=sortPaths(i);for(var a=n.done,l=n.during,s=n.individualDelay,c=new Transformable,u=0;u<r;u++){var d=o[u],p=i[u];p.parent=t,p.copyTransform(c),s||prepareMorphPath(d,p)}function f(e){for(var t=0;t<i.length;t++)i[t].addSelfToZr(e)}function h(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,restoreMethod(t,"addSelfToZr"),restoreMethod(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return i},saveAndModifyMethod(t,"addSelfToZr",{after:function(e){f(e)}}),saveAndModifyMethod(t,"removeSelfFromZr",{after:function(e){for(var t=0;t<i.length;t++)i[t].removeSelfFromZr(e)}});var m=i.length;if(s){var g=m,v=function(){0===--g&&(h(),a&&a())};for(u=0;u<m;u++){var y=s?defaults$1({delay:(n.delay||0)+s(u,m,o[u],i[u]),done:v},n):n;morphPath(o[u],i[u],y)}}else t.__morphT=0,t.animateTo({__morphT:1},defaults$1({during:function(e){for(var n=0;n<m;n++){var o=i[n];o.__morphT=t.__morphT,o.dirtyShape()}l&&l(e)},done:function(){h();for(var t=0;t<e.length;t++)restoreMethod(e[t],"updateTransform");a&&a()}},n));return t.__zr&&f(t.__zr),{fromIndividuals:o,toIndividuals:i,count:m}}function separateMorph(e,t,n){var o=t.length,r=[],i=n.dividePath||defaultDividePath;if(isCombineMorphing(e)){!function e(t){for(var n=0;n<t.length;n++){var o=t[n];isCombineMorphing(o)?e(o.childrenRef()):o instanceof Path&&r.push(o)}}(e.childrenRef());var a=r.length;if(a<o)for(var l=0,s=a;s<o;s++)r.push(clonePath(r[l++%a]));r.length=o}else{r=i({path:e,count:o});var c=e.getComputedTransform();for(s=0;s<r.length;s++)r[s].setLocalTransform(c);if(r.length!==o)return createEmptyReturn()}r=sortPaths(r),t=sortPaths(t);var u=n.individualDelay;for(s=0;s<o;s++){var d=u?defaults$1({delay:(n.delay||0)+u(s,o,r[s],t[s])},n):n;morphPath(r[s],t[s],d)}return{fromIndividuals:r,toIndividuals:t,count:t.length}}function isMultiple(e){return isArray$2(e[0])}function prepareMorphBatches(e,t){for(var n=[],o=e.length,r=0;r<o;r++)n.push({one:e[r],many:[]});for(r=0;r<t.length;r++){var i=t[r].length,a=void 0;for(a=0;a<i;a++)n[a%o].many.push(t[r][a])}var l=0;for(r=o-1;r>=0;r--)if(!n[r].many.length){var s=n[l].many;if(s.length<=1){if(!l)return n;l=0}i=s.length;var c=Math.ceil(i/2);n[r].many=s.slice(c,i),n[l].many=s.slice(0,c),l++}return n}var pathDividers={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),o=0;o<e.count;o++){var r=clonePath(e.path);r.setStyle("opacity",n),t.push(r)}return t},split:null};function applyMorphAnimation(e,t,n,o,r,i){if(e.length&&t.length){var a=getAnimationConfig("update",o,r);if(a&&a.duration>0){var l,s,c=o.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},a);isMultiple(e)&&(l=e,s=t),isMultiple(t)&&(l=t,s=e);for(var d=l?l===e:e.length>t.length,p=l?prepareMorphBatches(s,l):prepareMorphBatches(d?t:e,[d?e:t]),f=0,h=0;h<p.length;h++)f+=p[h].many.length;var m=0;for(h=0;h<p.length;h++)g(p[h],d,m,f),m+=p[h].many.length}}function g(e,t,o,r,a){var l=e.many,s=e.one;if(1!==l.length||a)for(var d=defaults$1({dividePath:pathDividers[n],individualDelay:c&&function(e,t,n,i){return c(e+o,r)}},u),p=t?combineMorph(l,s,d):separateMorph(s,l,d),f=p.fromIndividuals,h=p.toIndividuals,m=f.length,v=0;v<m;v++){y=c?defaults$1({delay:c(v,m)},u):u;i(f[v],h[v],t?l[v]:e.one,t?e.one:l[v],y)}else{var y,b=t?l[0]:s,_=t?s:l[0];if(isCombineMorphing(b))g({many:[b],one:_},!0,o,r,!0);else morphPath(b,_,y=c?defaults$1({delay:c(o,r)},u):u),i(b,_,b,_,y)}}}function getPathList(e){if(!e)return[];if(isArray$2(e)){for(var t=[],n=0;n<e.length;n++)t.push(getPathList(e[n]));return t}var o=[];return e.traverse((function(e){e instanceof Path&&!e.disableMorphing&&!e.invisible&&!e.ignore&&o.push(e)})),o}var DATA_COUNT_THRESHOLD=1e4,TRANSITION_NONE=0,TRANSITION_P2C=1,TRANSITION_C2P=2,getUniversalTransitionGlobalStore=makeInner();function getDimension(e,t){for(var n=e.dimensions,o=0;o<n.length;o++){var r=e.getDimensionInfo(n[o]);if(r&&0===r.otherDims[t])return n[o]}}function getValueByDimension(e,t,n){var o=e.getDimensionInfo(n),r=o&&o.ordinalMeta;if(o){var i=e.get(o.name,t);return r&&r.categories[i]||i+""}}function getGroupId(e,t,n,o){var r=getDimension(e,o?"itemChildGroupId":"itemGroupId");if(r)return getValueByDimension(e,t,r);var i=e.getRawDataItem(t),a=o?"childGroupId":"groupId";return i&&i[a]?i[a]+"":o?void 0:n||e.getId(t)}function flattenDataDiffItems(e){var t=[];return each$f(e,(function(e){var n=e.data,o=e.dataGroupId;if(!(n.count()>DATA_COUNT_THRESHOLD))for(var r=n.getIndices(),i=0;i<r.length;i++)t.push({data:n,groupId:getGroupId(n,i,o,!1),childGroupId:getGroupId(n,i,o,!0),divide:e.divide,dataIndex:i})})),t}function fadeInElement(e,t,n){e.traverse((function(e){e instanceof Path&&initProps(e,{style:{opacity:0}},t,{dataIndex:n,isFrom:!0})}))}function removeEl(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function stopAnimation(e){e.stopAnimation(),e.isGroup&&e.traverse((function(e){e.stopAnimation()}))}function animateElementStyles(e,t,n){var o=getAnimationConfig("update",n,t);o&&e.traverse((function(e){if(e instanceof Displayable){var t=getOldStyle(e);t&&e.animateFrom({style:t},o)}}))}function isAllIdSame(e,t){var n=e.length;if(n!==t.length)return!1;for(var o=0;o<n;o++){var r=e[o],i=t[o];if(r.data.getId(r.dataIndex)!==i.data.getId(i.dataIndex))return!1}return!0}function transitionBetween(e,t,n){var o=flattenDataDiffItems(e),r=flattenDataDiffItems(t);function i(e,t,n,o,r){(n||e)&&t.animateFrom({style:n&&n!==e?extend$1(extend$1({},n.style),e.style):e.style},r)}var a=!1,l=TRANSITION_NONE,s=createHashMap(),c=createHashMap();o.forEach((function(e){e.groupId&&s.set(e.groupId,!0),e.childGroupId&&c.set(e.childGroupId,!0)}));for(var u=0;u<r.length;u++){var d=r[u].groupId;if(c.get(d)){l=TRANSITION_P2C;break}var p=r[u].childGroupId;if(p&&s.get(p)){l=TRANSITION_C2P;break}}function f(e,t){return function(n){var o=n.data,r=n.dataIndex;return t?o.getId(r):e?l===TRANSITION_P2C?n.childGroupId:n.groupId:l===TRANSITION_C2P?n.childGroupId:n.groupId}}var h=isAllIdSame(o,r),m={};if(!h)for(u=0;u<r.length;u++){var g=r[u],v=g.data.getItemGraphicEl(g.dataIndex);v&&(m[v.id]=!0)}function y(e,t){var n=o[t],l=r[e],s=l.data.hostModel,c=n.data.getItemGraphicEl(n.dataIndex),u=l.data.getItemGraphicEl(l.dataIndex);c!==u?c&&m[c.id]||u&&(stopAnimation(u),c?(stopAnimation(c),removeEl(c),a=!0,applyMorphAnimation(getPathList(c),getPathList(u),l.divide,s,e,i)):fadeInElement(u,s,e)):u&&animateElementStyles(u,l.dataIndex,s)}new DataDiffer(o,r,f(!0,h),f(!1,h),null,"multiple").update(y).updateManyToOne((function(e,t){var n=r[e],l=n.data,s=l.hostModel,c=l.getItemGraphicEl(n.dataIndex),u=filter(map$1(t,(function(e){return o[e].data.getItemGraphicEl(o[e].dataIndex)})),(function(e){return e&&e!==c&&!m[e.id]}));c&&(stopAnimation(c),u.length?(each$f(u,(function(e){stopAnimation(e),removeEl(e)})),a=!0,applyMorphAnimation(getPathList(u),getPathList(c),n.divide,s,e,i)):fadeInElement(c,s,n.dataIndex))})).updateOneToMany((function(e,t){var n=o[t],l=n.data.getItemGraphicEl(n.dataIndex);if(!l||!m[l.id]){var s=filter(map$1(e,(function(e){return r[e].data.getItemGraphicEl(r[e].dataIndex)})),(function(e){return e&&e!==l})),c=r[e[0]].data.hostModel;s.length&&(each$f(s,(function(e){return stopAnimation(e)})),l?(stopAnimation(l),removeEl(l),a=!0,applyMorphAnimation(getPathList(l),getPathList(s),n.divide,c,e[0],i)):each$f(s,(function(t){return fadeInElement(t,c,e[0])})))}})).updateManyToMany((function(e,t){new DataDiffer(t,e,(function(e){return o[e].data.getId(o[e].dataIndex)}),(function(e){return r[e].data.getId(r[e].dataIndex)})).update((function(n,o){y(e[n],t[o])})).execute()})).execute(),a&&each$f(t,(function(e){var t=e.data.hostModel,o=t&&n.getViewOfSeriesModel(t),r=getAnimationConfig("update",t,0);o&&t.isAnimationEnabled()&&r&&r.duration>0&&o.group.traverse((function(e){e instanceof Path&&!e.animators.length&&e.animateFrom({style:{opacity:0}},r)}))}))}function getSeriesTransitionKey(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function convertArraySeriesKeyToString(e){return isArray$2(e)?e.sort().join(","):e}function getDivideShapeFromData(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(e,t){var n=createHashMap(),o=createHashMap(),r=createHashMap();return each$f(e.oldSeries,(function(t,n){var i=e.oldDataGroupIds[n],a=e.oldData[n],l=getSeriesTransitionKey(t),s=convertArraySeriesKeyToString(l);o.set(s,{dataGroupId:i,data:a}),isArray$2(l)&&each$f(l,(function(e){r.set(e,{key:s,dataGroupId:i,data:a})}))})),each$f(t.updatedSeries,(function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),i=e.getData(),a=getSeriesTransitionKey(e),l=convertArraySeriesKeyToString(a),s=o.get(l);if(s)n.set(l,{oldSeries:[{dataGroupId:s.dataGroupId,divide:getDivideShapeFromData(s.data),data:s.data}],newSeries:[{dataGroupId:t,divide:getDivideShapeFromData(i),data:i}]});else if(isArray$2(a)){var c=[];each$f(a,(function(e){var t=o.get(e);t.data&&c.push({dataGroupId:t.dataGroupId,divide:getDivideShapeFromData(t.data),data:t.data})})),c.length&&n.set(l,{oldSeries:c,newSeries:[{dataGroupId:t,data:i,divide:getDivideShapeFromData(i)}]})}else{var u=r.get(a);if(u){var d=n.get(u.key);d||(d={oldSeries:[{dataGroupId:u.dataGroupId,data:u.data,divide:getDivideShapeFromData(u.data)}],newSeries:[]},n.set(u.key,d)),d.newSeries.push({dataGroupId:t,data:i,divide:getDivideShapeFromData(i)})}}}})),n}function querySeries(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}}function transitionSeriesFromOpt(e,t,n,o){var r=[],i=[];each$f(normalizeToArray(e.from),(function(e){var n=querySeries(t.oldSeries,e);n>=0&&r.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:getDivideShapeFromData(t.oldData[n]),groupIdDim:e.dimension})})),each$f(normalizeToArray(e.to),(function(e){var o=querySeries(n.updatedSeries,e);if(o>=0){var r=n.updatedSeries[o].getData();i.push({dataGroupId:t.oldDataGroupIds[o],data:r,divide:getDivideShapeFromData(r),groupIdDim:e.dimension})}})),r.length>0&&i.length>0&&transitionBetween(r,i,o)}function installUniversalTransition(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){each$f(normalizeToArray(n.seriesTransition),(function(e){each$f(normalizeToArray(e.to),(function(e){for(var t=n.updatedSeries,o=0;o<t.length;o++)(null!=e.seriesIndex&&e.seriesIndex===t[o].seriesIndex||null!=e.seriesId&&e.seriesId===t[o].id)&&(t[o][SERIES_UNIVERSAL_TRANSITION_PROP]=!0)}))}))})),e.registerUpdateLifecycle("series:transition",(function(e,t,n){var o=getUniversalTransitionGlobalStore(t);if(o.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)each$f(normalizeToArray(r),(function(e){transitionSeriesFromOpt(e,o,n,t)}));else{var i=findTransitionSeriesBatches(o,n);each$f(i.keys(),(function(e){var n=i.get(e);transitionBetween(n.oldSeries,n.newSeries,t)}))}each$f(n.updatedSeries,(function(e){e[SERIES_UNIVERSAL_TRANSITION_PROP]&&(e[SERIES_UNIVERSAL_TRANSITION_PROP]=!1)}))}for(var a=e.getSeries(),l=o.oldSeries=[],s=o.oldDataGroupIds=[],c=o.oldData=[],u=0;u<a.length;u++){var d=a[u].getData();d.count()<DATA_COUNT_THRESHOLD&&(l.push(a[u]),s.push(a[u].get("dataGroupId")),c.push(d))}}))}use([install$S]),use([install$T]),use([install$R,install$Q,install$P,install$N,install$L,install$J,install$I,install$H,install$G,install$F,install$E,install$C,install$B,install$A,install$z,install$y,install$x,install$w,install$v,install$u,install$t,install$s]),use(install$q),use(install$p),use(install$K),use(install$o),use(install$D),use(install$n),use(install$m),use(install$k),use(install$j),use(install$r),use(install$i),use(install$h),use(install$g),use(install$f),use(install$e),use(install$d),use(install$a),use(install$7),use(install$9),use(install$8),use(install$4),use(install$6),use(install$5),use(install$3),use(install$2),use(install$1),use(installUniversalTransition),use(installLabelLayout);var arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}),back_default=back_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,chat_dot_round_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}),chat_dot_round_default=chat_dot_round_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}),check_default=check_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}),close_default=close_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}),document_default=document_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}),more_default=more_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,picture_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Picture",__name:"picture",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}),picture_default=picture_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,rank_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Rank",__name:"rank",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}),rank_default=rank_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,refresh_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refresh",__name:"refresh",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}),refresh_default=refresh_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}),search_default=search_vue_vue_type_script_setup_true_lang_default,shopping_cart_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ShoppingCart",__name:"shopping-cart",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}),shopping_cart_default=shopping_cart_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}),star_default=star_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,trend_charts_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"TrendCharts",__name:"trend-charts",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}),trend_charts_default=trend_charts_vue_vue_type_script_setup_true_lang_default,user_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"User",__name:"user",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}),user_default=user_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}),view_default=view_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup:e=>(e,t)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;function _getDefaults(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let _defaults=_getDefaults();function changeDefaults(e){_defaults=e}const noopTest={exec:()=>null};function edit(e,t=""){let n="string"==typeof e?e:e.source;const o={replace:(e,t)=>{let r="string"==typeof t?t:t.source;return r=r.replace(other.caret,"$1"),n=n.replace(e,r),o},getRegex:()=>new RegExp(n,t)};return o}const other={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},newline=/^(?:[ \t]*(?:\n|$))+/,blockCode=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,fences=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bullet=/(?:[*+-]|\d{1,9}[.)])/,lheadingCore=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,lheading=edit(lheadingCore).replace(/bull/g,bullet).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),lheadingGfm=edit(lheadingCore).replace(/bull/g,bullet).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),_paragraph=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,blockText=/^[^\n]+/,_blockLabel=/(?!\s*\])(?:\\.|[^\[\]\\])+/,def=edit(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",_blockLabel).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),list=edit(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bullet).getRegex(),_tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_comment=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,html=edit("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",_comment).replace("tag",_tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),paragraph=edit(_paragraph).replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex(),blockquote=edit(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",paragraph).getRegex(),blockNormal={blockquote:blockquote,code:blockCode,def:def,fences:fences,heading:heading,hr:hr,html:html,lheading:lheading,list:list,newline:newline,paragraph:paragraph,table:noopTest,text:blockText},gfmTable=edit("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex(),blockGfm={...blockNormal,lheading:lheadingGfm,table:gfmTable,paragraph:edit(_paragraph).replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",gfmTable).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex()},blockPedantic={...blockNormal,html:edit("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",_comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:noopTest,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:edit(_paragraph).replace("hr",hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",lheading).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},escape$1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,inlineCode=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br=/^( {2,}|\\)\n(?!\s*$)/,inlineText=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,_punctuation=/[\p{P}\p{S}]/u,_punctuationOrSpace=/[\s\p{P}\p{S}]/u,_notPunctuationOrSpace=/[^\s\p{P}\p{S}]/u,punctuation=edit(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,_punctuationOrSpace).getRegex(),_punctuationGfmStrongEm=/(?!~)[\p{P}\p{S}]/u,_punctuationOrSpaceGfmStrongEm=/(?!~)[\s\p{P}\p{S}]/u,_notPunctuationOrSpaceGfmStrongEm=/(?:[^\s\p{P}\p{S}]|~)/u,blockSkip=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,emStrongLDelimCore=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,emStrongLDelim=edit(emStrongLDelimCore,"u").replace(/punct/g,_punctuation).getRegex(),emStrongLDelimGfm=edit(emStrongLDelimCore,"u").replace(/punct/g,_punctuationGfmStrongEm).getRegex(),emStrongRDelimAstCore="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",emStrongRDelimAst=edit(emStrongRDelimAstCore,"gu").replace(/notPunctSpace/g,_notPunctuationOrSpace).replace(/punctSpace/g,_punctuationOrSpace).replace(/punct/g,_punctuation).getRegex(),emStrongRDelimAstGfm=edit(emStrongRDelimAstCore,"gu").replace(/notPunctSpace/g,_notPunctuationOrSpaceGfmStrongEm).replace(/punctSpace/g,_punctuationOrSpaceGfmStrongEm).replace(/punct/g,_punctuationGfmStrongEm).getRegex(),emStrongRDelimUnd=edit("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,_notPunctuationOrSpace).replace(/punctSpace/g,_punctuationOrSpace).replace(/punct/g,_punctuation).getRegex(),anyPunctuation=edit(/\\(punct)/,"gu").replace(/punct/g,_punctuation).getRegex(),autolink=edit(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_inlineComment=edit(_comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),tag=edit("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_inlineComment).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_inlineLabel=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,link=edit(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",_inlineLabel).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),reflink=edit(/^!?\[(label)\]\[(ref)\]/).replace("label",_inlineLabel).replace("ref",_blockLabel).getRegex(),nolink=edit(/^!?\[(ref)\](?:\[\])?/).replace("ref",_blockLabel).getRegex(),reflinkSearch=edit("reflink|nolink(?!\\()","g").replace("reflink",reflink).replace("nolink",nolink).getRegex(),inlineNormal={_backpedal:noopTest,anyPunctuation:anyPunctuation,autolink:autolink,blockSkip:blockSkip,br:br,code:inlineCode,del:noopTest,emStrongLDelim:emStrongLDelim,emStrongRDelimAst:emStrongRDelimAst,emStrongRDelimUnd:emStrongRDelimUnd,escape:escape$1,link:link,nolink:nolink,punctuation:punctuation,reflink:reflink,reflinkSearch:reflinkSearch,tag:tag,text:inlineText,url:noopTest},inlinePedantic={...inlineNormal,link:edit(/^!?\[(label)\]\((.*?)\)/).replace("label",_inlineLabel).getRegex(),reflink:edit(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_inlineLabel).getRegex()},inlineGfm={...inlineNormal,emStrongRDelimAst:emStrongRDelimAstGfm,emStrongLDelim:emStrongLDelimGfm,url:edit(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},inlineBreaks={...inlineGfm,br:edit(br).replace("{2,}","*").getRegex(),text:edit(inlineGfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},block={normal:blockNormal,gfm:blockGfm,pedantic:blockPedantic},inline={normal:inlineNormal,gfm:inlineGfm,breaks:inlineBreaks,pedantic:inlinePedantic},escapeReplacements={"&":"&","<":"<",">":">",'"':""","'":"'"},getEscapeReplacement=e=>escapeReplacements[e];function escape(e,t){if(t){if(other.escapeTest.test(e))return e.replace(other.escapeReplace,getEscapeReplacement)}else if(other.escapeTestNoEncode.test(e))return e.replace(other.escapeReplaceNoEncode,getEscapeReplacement);return e}function cleanUrl(e){try{e=encodeURI(e).replace(other.percentDecode,"%")}catch{return null}return e}function splitCells(e,t){var n;const o=e.replace(other.findPipe,((e,t,n)=>{let o=!1,r=t;for(;--r>=0&&"\\"===n[r];)o=!o;return o?"|":" |"})).split(other.splitPipe);let r=0;if(o[0].trim()||o.shift(),o.length>0&&!(null==(n=o.at(-1))?void 0:n.trim())&&o.pop(),t)if(o.length>t)o.splice(t);else for(;o.length<t;)o.push("");for(;r<o.length;r++)o[r]=o[r].trim().replace(other.slashPipe,"|");return o}function rtrim(e,t,n){const o=e.length;if(0===o)return"";let r=0;for(;r<o;){if(e.charAt(o-r-1)!==t)break;r++}return e.slice(0,o-r)}function findClosingBracket(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let o=0;o<e.length;o++)if("\\"===e[o])o++;else if(e[o]===t[0])n++;else if(e[o]===t[1]&&(n--,n<0))return o;return n>0?-2:-1}function outputLink(e,t,n,o,r){const i=t.href,a=t.title||null,l=e[1].replace(r.other.outputLinkReplace,"$1");o.state.inLink=!0;const s={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:i,title:a,text:l,tokens:o.inlineTokens(l)};return o.state.inLink=!1,s}function indentCodeCompensation(e,t,n){const o=e.match(n.other.indentCodeCompensation);if(null===o)return t;const r=o[1];return t.split("\n").map((e=>{const t=e.match(n.other.beginningSpace);if(null===t)return e;const[o]=t;return o.length>=r.length?e.slice(r.length):e})).join("\n")}class _Tokenizer{constructor(e){__publicField(this,"options"),__publicField(this,"rules"),__publicField(this,"lexer"),this.options=e||_defaults}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:rtrim(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=indentCodeCompensation(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){const t=rtrim(e,"#");this.options.pedantic?e=t.trim():t&&!this.rules.other.endingSpaceChar.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:rtrim(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=rtrim(t[0],"\n").split("\n"),n="",o="";const r=[];for(;e.length>0;){let t=!1;const i=[];let a;for(a=0;a<e.length;a++)if(this.rules.other.blockquoteStart.test(e[a]))i.push(e[a]),t=!0;else{if(t)break;i.push(e[a])}e=e.slice(a);const l=i.join("\n"),s=l.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${l}`:l,o=o?`${o}\n${s}`:s;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(s,r,!0),this.lexer.state.top=c,0===e.length)break;const u=r.at(-1);if("code"===(null==u?void 0:u.type))break;if("blockquote"===(null==u?void 0:u.type)){const t=u,i=t.raw+"\n"+e.join("\n"),a=this.blockquote(i);r[r.length-1]=a,n=n.substring(0,n.length-t.raw.length)+a.raw,o=o.substring(0,o.length-t.text.length)+a.text;break}if("list"!==(null==u?void 0:u.type));else{const t=u,i=t.raw+"\n"+e.join("\n"),a=this.list(i);r[r.length-1]=a,n=n.substring(0,n.length-u.raw.length)+a.raw,o=o.substring(0,o.length-t.raw.length)+a.raw,e=i.substring(r.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:r,text:o}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const o=n.length>1,r={type:"list",raw:"",ordered:o,start:o?+n.slice(0,-1):"",loose:!1,items:[]};n=o?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=o?n:"[*+-]");const i=this.rules.other.listItemRegex(n);let a=!1;for(;e;){let n=!1,o="",l="";if(!(t=i.exec(e)))break;if(this.rules.block.hr.test(e))break;o=t[0],e=e.substring(o.length);let s=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],u=!s.trim(),d=0;if(this.options.pedantic?(d=2,l=s.trimStart()):u?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,l=s.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(o+=c+"\n",e=e.substring(c.length+1),n=!0),!n){const t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),r=this.rules.other.fencesBeginRegex(d),i=this.rules.other.headingBeginRegex(d),a=this.rules.other.htmlBeginRegex(d);for(;e;){const p=e.split("\n",1)[0];let f;if(c=p,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),f=c):f=c.replace(this.rules.other.tabCharGlobal," "),r.test(c))break;if(i.test(c))break;if(a.test(c))break;if(t.test(c))break;if(n.test(c))break;if(f.search(this.rules.other.nonSpaceChar)>=d||!c.trim())l+="\n"+f.slice(d);else{if(u)break;if(s.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4)break;if(r.test(s))break;if(i.test(s))break;if(n.test(s))break;l+="\n"+c}u||c.trim()||(u=!0),o+=p+"\n",e=e.substring(p.length+1),s=f.slice(d)}}r.loose||(a?r.loose=!0:this.rules.other.doubleBlankLine.test(o)&&(a=!0));let p,f=null;this.options.gfm&&(f=this.rules.other.listIsTask.exec(l),f&&(p="[ ] "!==f[0],l=l.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:o,task:!!f,checked:p,loose:!1,text:l,tokens:[]}),r.raw+=o}const l=r.items.at(-1);if(!l)return;l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd(),r.raw=r.raw.trimEnd();for(let e=0;e<r.items.length;e++)if(this.lexer.state.top=!1,r.items[e].tokens=this.lexer.blockTokens(r.items[e].text,[]),!r.loose){const t=r.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>this.rules.other.anyLine.test(e.raw)));r.loose=n}if(r.loose)for(let e=0;e<r.items.length;e++)r.items[e].loose=!0;return r}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:o}}}table(e){var t;const n=this.rules.block.table.exec(e);if(!n)return;if(!this.rules.other.tableDelimiter.test(n[2]))return;const o=splitCells(n[1]),r=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=(null==(t=n[3])?void 0:t.trim())?n[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],a={type:"table",raw:n[0],header:[],align:[],rows:[]};if(o.length===r.length){for(const e of r)this.rules.other.tableAlignRight.test(e)?a.align.push("right"):this.rules.other.tableAlignCenter.test(e)?a.align.push("center"):this.rules.other.tableAlignLeft.test(e)?a.align.push("left"):a.align.push(null);for(let e=0;e<o.length;e++)a.header.push({text:o[e],tokens:this.lexer.inline(o[e]),header:!0,align:a.align[e]});for(const e of i)a.rows.push(splitCells(e,a.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]}))));return a}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;const t=rtrim(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=findClosingBracket(t[2],"()");if(-2===e)return;if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],o="";if(this.options.pedantic){const e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],o=e[3])}else o=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),outputLink(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:o?o.replace(this.rules.inline.anyPunctuation,"$1"):o},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return outputLink(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let o=this.rules.inline.emStrongLDelim.exec(e);if(!o)return;if(o[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(o[1]||o[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...o[0]].length-1;let r,i,a=n,l=0;const s="*"===o[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(s.lastIndex=0,t=t.slice(-1*e.length+n);null!=(o=s.exec(t));){if(r=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!r)continue;if(i=[...r].length,o[3]||o[4]){a+=i;continue}if((o[5]||o[6])&&n%3&&!((n+i)%3)){l+=i;continue}if(a-=i,a>0)continue;i=Math.min(i,i+a+l);const t=[...o[0]][0].length,s=e.slice(0,n+o.index+t+i);if(Math.min(n,i)%2){const e=s.slice(1,-1);return{type:"em",raw:s,text:e,tokens:this.lexer.inlineTokens(e)}}const c=s.slice(2,-2);return{type:"strong",raw:s,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," ");const n=this.rules.other.nonSpaceChar.test(e),o=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&o&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=t[1],n="mailto:"+e):(e=t[1],n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){var t;let n;if(n=this.rules.inline.url.exec(e)){let e,o;if("@"===n[2])e=n[0],o="mailto:"+e;else{let r;do{r=n[0],n[0]=(null==(t=this.rules.inline._backpedal.exec(n[0]))?void 0:t[0])??""}while(r!==n[0]);e=n[0],o="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:e,href:o,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){const e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}}class _Lexer{constructor(e){__publicField(this,"tokens"),__publicField(this,"options"),__publicField(this,"state"),__publicField(this,"tokenizer"),__publicField(this,"inlineQueue"),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||_defaults,this.options.tokenizer=this.options.tokenizer||new _Tokenizer,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:other,block:block.normal,inline:inline.normal};this.options.pedantic?(t.block=block.pedantic,t.inline=inline.pedantic):this.options.gfm&&(t.block=block.gfm,this.options.breaks?t.inline=inline.breaks:t.inline=inline.gfm),this.tokenizer.rules=t}static get rules(){return{block:block,inline:inline}}static lex(e,t){return new _Lexer(t).lex(e)}static lexInline(e,t){return new _Lexer(t).inlineTokens(e)}lex(e){e=e.replace(other.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){var o,r,i;for(this.options.pedantic&&(e=e.replace(other.tabCharGlobal," ").replace(other.spaceLine,""));e;){let a;if(null==(r=null==(o=this.options.extensions)?void 0:o.block)?void 0:r.some((n=>!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0))))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);const n=t.at(-1);1===a.raw.length&&void 0!==n?n.raw+="\n":t.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);const n=t.at(-1);"paragraph"===(null==n?void 0:n.type)||"text"===(null==n?void 0:n.type)?(n.raw+="\n"+a.raw,n.text+="\n"+a.text,this.inlineQueue.at(-1).src=n.text):t.push(a);continue}if(a=this.tokenizer.fences(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.heading(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.hr(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.blockquote(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.list(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.html(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);const n=t.at(-1);"paragraph"===(null==n?void 0:n.type)||"text"===(null==n?void 0:n.type)?(n.raw+="\n"+a.raw,n.text+="\n"+a.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title});continue}if(a=this.tokenizer.table(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.lheading(e)){e=e.substring(a.raw.length),t.push(a);continue}let l=e;if(null==(i=this.options.extensions)?void 0:i.startBlock){let t=1/0;const n=e.slice(1);let o;this.options.extensions.startBlock.forEach((e=>{o=e.call({lexer:this},n),"number"==typeof o&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(l=e.substring(0,t+1))}if(this.state.top&&(a=this.tokenizer.paragraph(l))){const o=t.at(-1);n&&"paragraph"===(null==o?void 0:o.type)?(o.raw+="\n"+a.raw,o.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):t.push(a),n=l.length!==e.length,e=e.substring(a.raw.length)}else if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);const n=t.at(-1);"text"===(null==n?void 0:n.type)?(n.raw+="\n"+a.raw,n.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(a)}else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent)break;throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){var n,o,r;let i=e,a=null;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(i));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(i));)i=i.slice(0,a.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(i));)i=i.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let l=!1,s="";for(;e;){let a;if(l||(s=""),l=!1,null==(o=null==(n=this.options.extensions)?void 0:n.inline)?void 0:o.some((n=>!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0))))continue;if(a=this.tokenizer.escape(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.tag(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.link(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(a.raw.length);const n=t.at(-1);"text"===a.type&&"text"===(null==n?void 0:n.type)?(n.raw+=a.raw,n.text+=a.text):t.push(a);continue}if(a=this.tokenizer.emStrong(e,i,s)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.codespan(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.br(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.del(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.autolink(e)){e=e.substring(a.raw.length),t.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(e))){e=e.substring(a.raw.length),t.push(a);continue}let c=e;if(null==(r=this.options.extensions)?void 0:r.startInline){let t=1/0;const n=e.slice(1);let o;this.options.extensions.startInline.forEach((e=>{o=e.call({lexer:this},n),"number"==typeof o&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(c=e.substring(0,t+1))}if(a=this.tokenizer.inlineText(c)){e=e.substring(a.raw.length),"_"!==a.raw.slice(-1)&&(s=a.raw.slice(-1)),l=!0;const n=t.at(-1);"text"===(null==n?void 0:n.type)?(n.raw+=a.raw,n.text+=a.text):t.push(a)}else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent)break;throw new Error(t)}}return t}}class _Renderer{constructor(e){__publicField(this,"options"),__publicField(this,"parser"),this.options=e||_defaults}space(e){return""}code({text:e,lang:t,escaped:n}){var o;const r=null==(o=(t||"").match(other.notSpaceStart))?void 0:o[0],i=e.replace(other.endingNewline,"")+"\n";return r?'<pre><code class="language-'+escape(r)+'">'+(n?i:escape(i,!0))+"</code></pre>\n":"<pre><code>"+(n?i:escape(i,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let o="";for(let i=0;i<e.items.length;i++){const t=e.items[i];o+=this.listitem(t)}const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+o+"</"+r+">\n"}listitem(e){var t;let n="";if(e.task){const o=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===(null==(t=e.tokens[0])?void 0:t.type)?(e.tokens[0].text=o+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=o+" "+escape(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:o+" ",text:o+" ",escaped:!0}):n+=o+" "}return n+=this.parser.parse(e.tokens,!!e.loose),`<li>${n}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",n="";for(let r=0;r<e.header.length;r++)n+=this.tablecell(e.header[r]);t+=this.tablerow({text:n});let o="";for(let r=0;r<e.rows.length;r++){const t=e.rows[r];n="";for(let e=0;e<t.length;e++)n+=this.tablecell(t[e]);o+=this.tablerow({text:n})}return o&&(o=`<tbody>${o}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+o+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${escape(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){const o=this.parser.parseInline(n),r=cleanUrl(e);if(null===r)return o;let i='<a href="'+(e=r)+'"';return t&&(i+=' title="'+escape(t)+'"'),i+=">"+o+"</a>",i}image({href:e,title:t,text:n,tokens:o}){o&&(n=this.parser.parseInline(o,this.parser.textRenderer));const r=cleanUrl(e);if(null===r)return escape(n);let i=`<img src="${e=r}" alt="${n}"`;return t&&(i+=` title="${escape(t)}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:escape(e.text)}}class _TextRenderer{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}}class _Parser{constructor(e){__publicField(this,"options"),__publicField(this,"renderer"),__publicField(this,"textRenderer"),this.options=e||_defaults,this.options.renderer=this.options.renderer||new _Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _TextRenderer}static parse(e,t){return new _Parser(t).parse(e)}static parseInline(e,t){return new _Parser(t).parseInline(e)}parse(e,t=!0){var n,o;let r="";for(let i=0;i<e.length;i++){const a=e[i];if(null==(o=null==(n=this.options.extensions)?void 0:n.renderers)?void 0:o[a.type]){const e=a,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){r+=t||"";continue}}const l=a;switch(l.type){case"space":r+=this.renderer.space(l);continue;case"hr":r+=this.renderer.hr(l);continue;case"heading":r+=this.renderer.heading(l);continue;case"code":r+=this.renderer.code(l);continue;case"table":r+=this.renderer.table(l);continue;case"blockquote":r+=this.renderer.blockquote(l);continue;case"list":r+=this.renderer.list(l);continue;case"html":r+=this.renderer.html(l);continue;case"paragraph":r+=this.renderer.paragraph(l);continue;case"text":{let n=l,o=this.renderer.text(n);for(;i+1<e.length&&"text"===e[i+1].type;)n=e[++i],o+="\n"+this.renderer.text(n);r+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):o;continue}default:{const e='Token with "'+l.type+'" type was not found.';if(this.options.silent)return"";throw new Error(e)}}}return r}parseInline(e,t=this.renderer){var n,o;let r="";for(let i=0;i<e.length;i++){const a=e[i];if(null==(o=null==(n=this.options.extensions)?void 0:n.renderers)?void 0:o[a.type]){const e=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){r+=e||"";continue}}const l=a;switch(l.type){case"escape":case"text":r+=t.text(l);break;case"html":r+=t.html(l);break;case"link":r+=t.link(l);break;case"image":r+=t.image(l);break;case"strong":r+=t.strong(l);break;case"em":r+=t.em(l);break;case"codespan":r+=t.codespan(l);break;case"br":r+=t.br(l);break;case"del":r+=t.del(l);break;default:{const e='Token with "'+l.type+'" type was not found.';if(this.options.silent)return"";throw new Error(e)}}}return r}}class _Hooks{constructor(e){__publicField(this,"options"),__publicField(this,"block"),this.options=e||_defaults}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?_Lexer.lex:_Lexer.lexInline}provideParser(){return this.block?_Parser.parse:_Parser.parseInline}}__publicField(_Hooks,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Marked{constructor(...e){__publicField(this,"defaults",_getDefaults()),__publicField(this,"options",this.setOptions),__publicField(this,"parse",this.parseMarkdown(!0)),__publicField(this,"parseInline",this.parseMarkdown(!1)),__publicField(this,"Parser",_Parser),__publicField(this,"Renderer",_Renderer),__publicField(this,"TextRenderer",_TextRenderer),__publicField(this,"Lexer",_Lexer),__publicField(this,"Tokenizer",_Tokenizer),__publicField(this,"Hooks",_Hooks),this.use(...e)}walkTokens(e,t){var n,o;let r=[];for(const i of e)switch(r=r.concat(t.call(this,i)),i.type){case"table":{const e=i;for(const n of e.header)r=r.concat(this.walkTokens(n.tokens,t));for(const n of e.rows)for(const e of n)r=r.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=i;r=r.concat(this.walkTokens(e.items,t));break}default:{const e=i;(null==(o=null==(n=this.defaults.extensions)?void 0:n.childTokens)?void 0:o[e.type])?this.defaults.extensions.childTokens[e.type].forEach((n=>{const o=e[n].flat(1/0);r=r.concat(this.walkTokens(o,t))})):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let o=e.renderer.apply(this,t);return!1===o&&(o=n.apply(this,t)),o}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new _Renderer(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const o=n,r=e.renderer[o],i=t[o];t[o]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new _Tokenizer(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const o=n,r=e.tokenizer[o],i=t[o];t[o]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new _Hooks;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;const o=n,r=e.hooks[o],i=t[o];_Hooks.passThroughHooks.has(n)?t[o]=e=>{if(this.defaults.async)return Promise.resolve(r.call(t,e)).then((e=>i.call(t,e)));const n=r.call(t,e);return i.call(t,n)}:t[o]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,o=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(o.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return _Lexer.lex(e,t??this.defaults)}parser(e,t){return _Parser.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{const o={...n},r={...this.defaults,...o},i=this.onError(!!r.silent,!!r.async);if(!0===this.defaults.async&&!1===o.async)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(null==t)return i(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));r.hooks&&(r.hooks.options=r,r.hooks.block=e);const a=r.hooks?r.hooks.provideLexer():e?_Lexer.lex:_Lexer.lexInline,l=r.hooks?r.hooks.provideParser():e?_Parser.parse:_Parser.parseInline;if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(t):t).then((e=>a(e,r))).then((e=>r.hooks?r.hooks.processAllTokens(e):e)).then((e=>r.walkTokens?Promise.all(this.walkTokens(e,r.walkTokens)).then((()=>e)):e)).then((e=>l(e,r))).then((e=>r.hooks?r.hooks.postprocess(e):e)).catch(i);try{r.hooks&&(t=r.hooks.preprocess(t));let e=a(t,r);r.hooks&&(e=r.hooks.processAllTokens(e)),r.walkTokens&&this.walkTokens(e,r.walkTokens);let n=l(e,r);return r.hooks&&(n=r.hooks.postprocess(n)),n}catch(e2){return i(e2)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+escape(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}}const markedInstance=new Marked;function marked(e,t){return markedInstance.parse(e,t)}marked.options=marked.setOptions=function(e){return markedInstance.setOptions(e),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked},marked.getDefaults=_getDefaults,marked.defaults=_defaults,marked.use=function(...e){return markedInstance.use(...e),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked},marked.walkTokens=function(e,t){return markedInstance.walkTokens(e,t)},marked.parseInline=markedInstance.parseInline,marked.Parser=_Parser,marked.parser=_Parser.parse,marked.Renderer=_Renderer,marked.TextRenderer=_TextRenderer,marked.Lexer=_Lexer,marked.lexer=_Lexer.lex,marked.Tokenizer=_Tokenizer,marked.Hooks=_Hooks,marked.parse=marked,marked.options,marked.setOptions,marked.use,marked.walkTokens,marked.parseInline,_Parser.parse,_Lexer.lex;var MapShim=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!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),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,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,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),isBrowser="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,global$1="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),requestAnimationFrame$1="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(global$1):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},trailingTimeout=2;function throttle$1(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){requestAnimationFrame$1(i)}function l(){var e=Date.now();if(n){if(e-r<trailingTimeout)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=e}return l}var REFRESH_DELAY=20,transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported="undefined"!=typeof MutationObserver,ResizeObserverController=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=throttle$1(this.refresh.bind(this),REFRESH_DELAY)}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(){isBrowser&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(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(){isBrowser&&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;transitionKeys.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}(),defineConfigurable=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},getWindowOf=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||global$1},emptyRect=createRectInit(0,0,0,0);function toFloat(e){return parseFloat(e)||0}function getBordersSize(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+toFloat(e["border-"+n+"-width"])}),0)}function getPaddings(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=toFloat(i)}return t}function getSVGContentRect(e){var t=e.getBBox();return createRectInit(0,0,t.width,t.height)}function getHTMLElementContentRect(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return emptyRect;var o=getWindowOf(e).getComputedStyle(e),r=getPaddings(o),i=r.left+r.right,a=r.top+r.bottom,l=toFloat(o.width),s=toFloat(o.height);if("border-box"===o.boxSizing&&(Math.round(l+i)!==t&&(l-=getBordersSize(o,"left","right")+i),Math.round(s+a)!==n&&(s-=getBordersSize(o,"top","bottom")+a)),!isDocumentElement(e)){var c=Math.round(l+i)-t,u=Math.round(s+a)-n;1!==Math.abs(c)&&(l-=c),1!==Math.abs(u)&&(s-=u)}return createRectInit(r.left,r.top,l,s)}var isSVGGraphicsElement="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof getWindowOf(e).SVGGraphicsElement}:function(e){return e instanceof getWindowOf(e).SVGElement&&"function"==typeof e.getBBox};function isDocumentElement(e){return e===getWindowOf(e).document.documentElement}function getContentRect(e){return isBrowser?isSVGGraphicsElement(e)?getSVGContentRect(e):getHTMLElementContentRect(e):emptyRect}function createReadOnlyRect(e){var t=e.x,n=e.y,o=e.width,r=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return defineConfigurable(a,{x:t,y:n,width:o,height:r,top:n,right:t+o,bottom:r+n,left:t}),a}function createRectInit(e,t,n,o){return{x:e,y:t,width:n,height:o}}var ResizeObservation=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=getContentRect(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}(),ResizeObserverEntry=function(){return function(e,t){var n=createReadOnlyRect(t);defineConfigurable(this,{target:e,contentRect:n})}}(),ResizeObserverSPI=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new MapShim,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}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 getWindowOf(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new ResizeObservation(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 getWindowOf(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 ResizeObserverEntry(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}(),observers="undefined"!=typeof WeakMap?new WeakMap:new MapShim,ResizeObserver$1=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=ResizeObserverController.getInstance(),o=new ResizeObserverSPI(t,n,this);observers.set(this,o)}}();["observe","unobserve","disconnect"].forEach((function(e){ResizeObserver$1.prototype[e]=function(){var t;return(t=observers.get(this))[e].apply(t,arguments)}}));var index=void 0!==global$1.ResizeObserver?global$1.ResizeObserver:ResizeObserver$1;const changelogMd='# 项目说明\n\n99AI 是一个**可商业化的 AI Web 平台**,提供一站式的人工智能服务解决方案。支持私有化部署,内置多用户管理,适合企业、团队或个人快速构建 AI 服务。\n\n## 开源协议与使用条款\n\n### 开源协议\n\n本项目采用 **Apache 2.0 开源协议**,在遵循协议条款的前提下,您可以自由使用、修改和分发本项目。\n\n### 使用要求\n\n- **保留署名**:使用本项目时请保留项目署名和链接\n- **项目地址**:https://github.com/vastxie/99AI\n- **项目文档**:https://docs.lightai.cloud/\n\n### 商业化支持\n\n- **直接商用**:支持直接用于商业用途,需保留本页面信息\n- **闭源分发**:如需闭源分发,请联系作者获得授权\n\n## 社区交流\n\n### 微信交流群\n\n<img src="https://asst.lightai.cloud/file/system/others/1748593304611_ucu1.png" alt="微信群二维码" width="200" />\n\n**入群说明:**\n\n- 添加微信备注「**99**」进群交流\n- 作者不提供私聊技术咨询,请优先阅读群公告\n';var define_SYSTEM_INFO_default={pkg:{version:"4.3.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.23","@imengyu/vue3-context-menu":"^1.4.8","@vueuse/core":"^13.1.0","@vueuse/integrations":"^13.1.0",axios:"^1.9.0",dayjs:"^1.11.13",echarts:"^5.6.0",eruda:"^3.4.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.10",less:"^4.3.0","lodash-es":"^4.17.21",marked:"^15.0.11","md-editor-v3":"^5.5.1",mitt:"^3.0.1",nprogress:"^0.2.0",overlayscrollbars:"^2.11.2","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^8.2.0",pinia:"^2.1.7",prettier:"^3.5.3","resize-observer-polyfill":"^1.5.1",uuid:"^11.1.0","v-viewer":"^3.0.21",vconsole:"^3.15.1",vue:"^3.5.13","vue-m-message":"^4.0.2","vue-router":"^4.5.1",vuedraggable:"^4.1.0"},devDependencies:{"@iconify/json":"^2.2.337","@iconify/vue":"^5.0.0","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/node":"^22.15.17","@types/path-browserify":"^1.0.3","@unocss/core":"66.1.1","@unocss/preset-mini":"66.1.1","@vitejs/plugin-legacy":"^6.1.1","@vitejs/plugin-vue":"^5.2.4","@vitejs/plugin-vue-jsx":"^4.1.2",archiver:"^7.0.1",autoprefixer:"^10.4.16",boxen:"^8.0.1",bumpp:"^10.1.0","element-plus":"^2.9.10",esno:"^4.8.0","fs-extra":"^11.3.0","http-server":"^14.1.1",inquirer:"^12.6.1",msw:"^2.0.0",picocolors:"^1.1.1",plop:"^4.0.1",sass:"^1.88.0",svgo:"^3.3.2",terser:"^5.39.0",typescript:"^5.8.3",unocss:"66.1.1","unplugin-auto-import":"^19.2.0","unplugin-turbo-console":"^2.1.3","unplugin-vue-components":"^28.5.0",vite:"^6.3.5","vite-plugin-banner":"^0.8.1","vite-plugin-checker":"^0.9.3","vite-plugin-compression2":"^1.3.3","vite-plugin-fake-server":"^2.2.0","vite-plugin-pages":"^0.33.0","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.7.6","vite-plugin-vue-meta-layouts":"^0.5.1","vue-tsc":"^2.2.10"}}};const _hoisted_1={class:"p-4 h-[90vh] overflow-hidden"},_hoisted_2={class:"flex gap-5 h-full"},_hoisted_3={class:"flex-1 flex flex-col gap-4 min-w-0"},_hoisted_4={class:"flex-[4] bg-white dark:bg-gray-800 rounded-lg shadow-md flex flex-col overflow-hidden"},_hoisted_5={class:"flex justify-between items-center px-5 py-4 border-b border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700"},_hoisted_6={class:"text-xs text-gray-600 dark:text-gray-400 bg-gray-200 dark:bg-gray-600 px-2 py-1 rounded"},_hoisted_7=["innerHTML"],_hoisted_8={class:"h-20 flex justify-start"},_hoisted_9={class:"p-4 flex flex-col justify-between h-full"},_hoisted_10={class:"flex justify-between items-center mb-2"},_hoisted_11={class:"absolute inset-0 bg-black bg-opacity-10 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300"},_hoisted_12={class:"flex flex-col items-center gap-2 text-white"},_hoisted_13={class:"flex-[2] flex flex-col gap-4 min-w-0"},_hoisted_14={class:"grid grid-cols-2 grid-rows-2 gap-4 h-55"},_hoisted_15={class:"bg-white dark:bg-gray-800 rounded-lg shadow-md p-4 flex items-center gap-3"},_hoisted_16={class:"w-12 h-12 rounded-lg flex items-center justify-center text-2xl text-white bg-gradient-to-br from-indigo-500 to-purple-600"},_hoisted_17={class:"flex-1"},_hoisted_18={class:"text-2xl font-bold text-gray-800 dark:text-gray-200 mb-0.5"},_hoisted_19={class:"text-xs text-gray-500 dark:text-gray-500"},_hoisted_20={class:"bg-white dark:bg-gray-800 rounded-lg shadow-md p-4 flex items-center gap-3"},_hoisted_21={class:"w-12 h-12 rounded-lg flex items-center justify-center text-2xl text-white bg-gradient-to-br from-pink-400 to-red-500"},_hoisted_22={class:"flex-1"},_hoisted_23={class:"text-2xl font-bold text-gray-800 dark:text-gray-200 mb-0.5"},_hoisted_24={class:"text-xs text-gray-500 dark:text-gray-500"},_hoisted_25={class:"bg-white dark:bg-gray-800 rounded-lg shadow-md p-4 flex items-center gap-3"},_hoisted_26={class:"w-12 h-12 rounded-lg flex items-center justify-center text-2xl text-white bg-gradient-to-br from-blue-400 to-cyan-400"},_hoisted_27={class:"flex-1"},_hoisted_28={class:"text-2xl font-bold text-gray-800 dark:text-gray-200 mb-0.5"},_hoisted_29={class:"text-xs text-gray-500 dark:text-gray-500"},_hoisted_30={class:"bg-white dark:bg-gray-800 rounded-lg shadow-md p-4 flex items-center gap-3"},_hoisted_31={class:"w-12 h-12 rounded-lg flex items-center justify-center text-2xl text-white bg-gradient-to-br from-green-400 to-teal-400"},_hoisted_32={class:"flex-1"},_hoisted_33={class:"text-2xl font-bold text-gray-800 dark:text-gray-200 mb-0.5"},_hoisted_34={class:"text-xs text-gray-500 dark:text-gray-500"},_hoisted_35={class:"flex-1 bg-white dark:bg-gray-800 rounded-lg shadow-md flex flex-col overflow-hidden"},_hoisted_36={class:"flex justify-between items-center px-5 py-4 border-b border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700"},_hoisted_37={class:"flex items-center justify-center gap-2 px-2"},_hoisted_38={class:"flex items-center justify-center gap-2 px-2"},_hoisted_39={class:"flex-1 p-5 relative"},_hoisted_40={id:"chat",class:"w-full h-full"},_hoisted_41={id:"baidu",class:"w-full h-full"},feedbackUrl="https://github.com/vastxie/99AI",_sfc_main$2z=defineComponent({__name:"index",setup(e){const t=useSettingsStore();useRouter();const n=computed((()=>t.settings.app.colorScheme)),o=()=>{window.open(feedbackUrl,"_blank")},{pkg:r}=define_SYSTEM_INFO_default,i=computed((()=>marked(changelogMd))),a=ref({userCount:0,newUserCount:0,chatCount:0,newChatCount:0,drawCount:0,newDrawCount:0,orderCount:0,newOrderCount:0});let l,s,c;const u=ref(30),d=ref(30),p=ref("chat"),f={tooltip:{trigger:"axis"},legend:{top:"10px",data:["对话数量","绘画数量"]},grid:{top:"50px",left:"3%",right:"3%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}}],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}}],series:[{name:"对话数量",type:"bar",itemStyle:{color:"rgba(17, 76, 255, 0.8)"},emphasis:{focus:"series"},data:[]},{name:"绘画数量",type:"bar",itemStyle:{color:"rgba(0, 215, 255, 0.8)"},emphasis:{focus:"series"},data:[]}]},h={tooltip:{trigger:"axis"},legend:{top:"10px",data:["pv","uv","ip"]},grid:{top:"50px",left:"3%",right:"3%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!0,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}},series:[{name:"pv",type:"bar",itemStyle:{color:"rgba(17, 76, 255, 0.8)"},data:[]},{name:"uv",type:"bar",itemStyle:{color:"rgba(0, 215, 255, 0.8)"},data:[]},{name:"ip",type:"bar",itemStyle:{color:"rgba(255, 193, 7, 0.8)"},data:[]}]},m=[{label:7,value:"最近七天"},{label:15,value:"最近半月"},{label:30,value:"最近一月"},{label:90,value:"最近三月"}];async function g(){const e=await apiDashboard.getBaiduVisit({days:d.value}),{data:t}=e;h.xAxis.data=t.items[0].map((e=>e[0])),h.series.forEach(((e,n)=>{e.data=t.items[1].map((e=>e[n]))})),await nextTick();const n=document.getElementById("baidu");s&&s.dispose(),s=init$1(n),s.setOption(h),setTimeout((()=>{s.resize()}),100)}async function v(){const e=await apiDashboard.getChatStatistic({days:u.value}),{date:t,chat:n,draw:o}=e.data;f.xAxis[0].data=t,f.series[0].data=n,f.series[1].data=o,await nextTick();const r=document.getElementById("chat");l&&l.dispose(),l=init$1(r),l.setOption(f),setTimeout((()=>{l.resize()}),100)}function y(){const e="dark"===t.settings.app.colorScheme?["#ffffff1a"]:["#0000001a"];f.yAxis[0].splitLine.lineStyle.color=e,f.xAxis[0].splitLine.lineStyle.color=e,l&&l.setOption(f),h.yAxis.splitLine.lineStyle.color=e,h.xAxis.splitLine.lineStyle.color=e,s&&s.setOption(h)}function b(e){p.value=e,setTimeout((()=>{"chat"===e&&l?l.resize():"visitor"===e&&s&&s.resize()}),100)}return watch(n,(()=>{y()})),onMounted((async()=>{await async function(){const e=await apiDashboard.getBaseInfo();a.value=e.data}(),await Promise.all([v(),g()]),y()})),onMounted((()=>{c=new index((()=>{l&&l.resize(),s&&s.resize()}));const e=document.getElementById("chat");e&&(null==c||c.observe(e));const t=document.getElementById("baidu");t&&(null==c||c.observe(t))})),onBeforeMount((()=>{c&&c.disconnect()})),(e,t)=>{var n;const l=resolveComponent("el-icon"),s=resolveComponent("el-tab-pane"),c=resolveComponent("el-tabs"),f=resolveComponent("el-radio-button"),h=resolveComponent("el-radio-group");return openBlock(),createElementBlock("div",_hoisted_1,[createBaseVNode("div",_hoisted_2,[createBaseVNode("div",_hoisted_3,[createBaseVNode("div",_hoisted_4,[createBaseVNode("div",_hoisted_5,[t[3]||(t[3]=createBaseVNode("span",{class:"text-base font-semibold text-gray-800 dark:text-gray-200"},"项目说明",-1)),createBaseVNode("span",_hoisted_6,toDisplayString(unref(r).version),1)]),createBaseVNode("div",{class:"flex-1 p-5 overflow-y-auto overflow-x-hidden markdown-body hide-h1",innerHTML:i.value},null,8,_hoisted_7)]),createBaseVNode("div",_hoisted_8,[createBaseVNode("div",{class:"w-full h-full bg-white dark:bg-gray-800 rounded-lg shadow-md cursor-pointer relative overflow-hidden group",onClick:o},[createBaseVNode("div",_hoisted_9,[createBaseVNode("div",_hoisted_10,[t[4]||(t[4]=createBaseVNode("span",{class:"text-sm font-medium text-gray-800 dark:text-gray-200"},"开源地址",-1)),createVNode$1(l,{class:"text-blue-500 text-lg"},{default:withCtx((()=>[createVNode$1(unref(chat_dot_round_default))])),_:1})]),t[5]||(t[5]=createBaseVNode("div",{class:"flex justify-between items-center"},[createBaseVNode("span",{class:"text-xs text-gray-600 dark:text-gray-400"},"https://github.com/vastxie/99AI"),createBaseVNode("span",{class:"text-xs text-blue-500 font-medium"},"点击")],-1))]),createBaseVNode("div",_hoisted_11,[createBaseVNode("div",_hoisted_12,[createVNode$1(l,{class:"text-4xl"},{default:withCtx((()=>[createVNode$1(unref(chat_dot_round_default))])),_:1}),t[6]||(t[6]=createBaseVNode("span",{class:"text-sm font-medium"},"新窗口打开",-1))])])])])]),createBaseVNode("div",_hoisted_13,[createBaseVNode("div",_hoisted_14,[createBaseVNode("div",_hoisted_15,[createBaseVNode("div",_hoisted_16,[createVNode$1(l,null,{default:withCtx((()=>[createVNode$1(unref(user_default))])),_:1})]),createBaseVNode("div",_hoisted_17,[t[7]||(t[7]=createBaseVNode("div",{class:"text-xs text-gray-600 dark:text-gray-400 mb-1"},"今日新增用户",-1)),createBaseVNode("div",_hoisted_18,toDisplayString((null==(n=a.value)?void 0:n.newUserCount)||0),1),createBaseVNode("div",_hoisted_19," 总计: "+toDisplayString(a.value.userCount||0),1)])]),createBaseVNode("div",_hoisted_20,[createBaseVNode("div",_hoisted_21,[createVNode$1(l,null,{default:withCtx((()=>[createVNode$1(unref(chat_dot_round_default))])),_:1})]),createBaseVNode("div",_hoisted_22,[t[8]||(t[8]=createBaseVNode("div",{class:"text-xs text-gray-600 dark:text-gray-400 mb-1"},"今日对话",-1)),createBaseVNode("div",_hoisted_23,toDisplayString(a.value.newChatCount||0),1),createBaseVNode("div",_hoisted_24," 总计: "+toDisplayString(a.value.chatCount||0),1)])]),createBaseVNode("div",_hoisted_25,[createBaseVNode("div",_hoisted_26,[createVNode$1(l,null,{default:withCtx((()=>[createVNode$1(unref(picture_default))])),_:1})]),createBaseVNode("div",_hoisted_27,[t[9]||(t[9]=createBaseVNode("div",{class:"text-xs text-gray-600 dark:text-gray-400 mb-1"},"今日绘画",-1)),createBaseVNode("div",_hoisted_28,toDisplayString(a.value.newDrawCount||0),1),createBaseVNode("div",_hoisted_29," 总计: "+toDisplayString(a.value.drawCount||0),1)])]),createBaseVNode("div",_hoisted_30,[createBaseVNode("div",_hoisted_31,[createVNode$1(l,null,{default:withCtx((()=>[createVNode$1(unref(shopping_cart_default))])),_:1})]),createBaseVNode("div",_hoisted_32,[t[10]||(t[10]=createBaseVNode("div",{class:"text-xs text-gray-600 dark:text-gray-400 mb-1"},"今日订单",-1)),createBaseVNode("div",_hoisted_33,toDisplayString(a.value.newOrderCount||0),1),createBaseVNode("div",_hoisted_34," 总计: "+toDisplayString(a.value.orderCount||0),1)])])]),createBaseVNode("div",_hoisted_35,[createBaseVNode("div",_hoisted_36,[createVNode$1(c,{modelValue:p.value,"onUpdate:modelValue":t[0]||(t[0]=e=>p.value=e),onTabChange:b},{default:withCtx((()=>[createVNode$1(s,{label:"对话统计",name:"chat"},{label:withCtx((()=>[createBaseVNode("div",_hoisted_37,[createVNode$1(l,null,{default:withCtx((()=>[createVNode$1(unref(chat_dot_round_default))])),_:1}),t[11]||(t[11]=createBaseVNode("span",null,"对话统计",-1))])])),_:1}),createVNode$1(s,{label:"访客统计",name:"visitor"},{label:withCtx((()=>[createBaseVNode("div",_hoisted_38,[createVNode$1(l,null,{default:withCtx((()=>[createVNode$1(unref(trend_charts_default))])),_:1}),t[12]||(t[12]=createBaseVNode("span",null,"访客统计",-1))])])),_:1})])),_:1},8,["modelValue"]),"chat"===p.value?(openBlock(),createBlock(h,{key:0,modelValue:u.value,"onUpdate:modelValue":t[1]||(t[1]=e=>u.value=e),onChange:v,size:"small"},{default:withCtx((()=>[(openBlock(),createElementBlock(Fragment,null,renderList(m,(e=>createVNode$1(f,{key:e.value,label:e.label},{default:withCtx((()=>[createTextVNode(toDisplayString(e.value),1)])),_:2},1032,["label"]))),64))])),_:1},8,["modelValue"])):(openBlock(),createBlock(h,{key:1,modelValue:d.value,"onUpdate:modelValue":t[2]||(t[2]=e=>d.value=e),onChange:g,size:"small"},{default:withCtx((()=>[(openBlock(),createElementBlock(Fragment,null,renderList(m,(e=>createVNode$1(f,{key:e.value,label:e.label},{default:withCtx((()=>[createTextVNode(toDisplayString(e.value),1)])),_:2},1032,["label"]))),64))])),_:1},8,["modelValue"]))]),createBaseVNode("div",_hoisted_39,[withDirectives(createBaseVNode("div",_hoisted_40,null,512),[[vShow,"chat"===p.value]]),withDirectives(createBaseVNode("div",_hoisted_41,null,512),[[vShow,"visitor"===p.value]])])])])])])}}}),block0={},_export_sfc$1=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};"function"==typeof block0&&block0(_sfc_main$2z);const Home=_export_sfc$1(_sfc_main$2z,[["__scopeId","data-v-8c994fc7"]]),__pages_import_0__=()=>__vitePreload((()=>import("./wechat-Cg92RNH0.js")),__vite__mapDeps([0,1,2]),import.meta.url),__pages_import_1__=()=>__vitePreload((()=>import("./userAgreement-DZ5u8Z6E.js")),__vite__mapDeps([3,1,2,4,5,6]),import.meta.url),__pages_import_2__=()=>__vitePreload((()=>import("./register-VCiIC402.js")),__vite__mapDeps([7,1,2,8]),import.meta.url),__pages_import_3__=()=>__vitePreload((()=>import("./phone-BwZkxxUB.js")),__vite__mapDeps([9,1,2]),import.meta.url),__pages_import_4__=()=>__vitePreload((()=>import("./index-N1kQyP62.js")),__vite__mapDeps([10,11,1,12,13]),import.meta.url),__pages_import_5__=()=>__vitePreload((()=>import("./email-CdNPUFnz.js")),__vite__mapDeps([14,1,2]),import.meta.url),__pages_import_6__=()=>__vitePreload((()=>import("./accountLog-BnWEbieN.js")),__vite__mapDeps([15,11,1,12,13]),import.meta.url),__pages_import_7__=()=>__vitePreload((()=>import("./welcomePageSettings-FlDP6m3H.js")),__vite__mapDeps([16,1,2]),import.meta.url),__pages_import_8__=()=>__vitePreload((()=>import("./notice-BrwZwNuE.js")),__vite__mapDeps([17,1,2,4,5,6]),import.meta.url),__pages_import_9__=()=>__vitePreload((()=>import("./baseConfiguration-D6C9gTFe.js")),__vite__mapDeps([18,1,2,4]),import.meta.url),__pages_import_10__=()=>__vitePreload((()=>import("./baiduStatistics-CIKoeZzD.js")),__vite__mapDeps([19,1,2]),import.meta.url),__pages_import_11__=()=>__vitePreload((()=>import("./tencent-BAqF1PoT.js")),__vite__mapDeps([20,1,2]),import.meta.url),__pages_import_12__=()=>__vitePreload((()=>import("./s3-CCx8GMyA.js")),__vite__mapDeps([21,1,2]),import.meta.url),__pages_import_13__=()=>__vitePreload((()=>import("./localStorage-Dm0jFFHY.js")),__vite__mapDeps([22,1,2]),import.meta.url),__pages_import_14__=()=>__vitePreload((()=>import("./chevereto-DZq9P4Ob.js")),__vite__mapDeps([23,1,2]),import.meta.url),__pages_import_15__=()=>__vitePreload((()=>import("./ali-zgpDqU7S.js")),__vite__mapDeps([24,1,2]),import.meta.url),__pages_import_16__=()=>__vitePreload((()=>import("./violation-CLUBFwNt.js")),__vite__mapDeps([25,11,1,26,13,12,27]),import.meta.url),__pages_import_17__=()=>__vitePreload((()=>import("./identityVerification-Bom9GN-v.js")),__vite__mapDeps([28,1,2]),import.meta.url),__pages_import_18__=()=>__vitePreload((()=>import("./custom-B_7XFeQI.js")),__vite__mapDeps([29,11,1,26]),import.meta.url),__pages_import_19__=()=>__vitePreload((()=>import("./baiduSensitive-C7vUutgc.js")),__vite__mapDeps([30,1,2]),import.meta.url),__pages_import_20__=()=>__vitePreload((()=>import("./autpReply-ByQOHDAx.js")),__vite__mapDeps([31,11,1,12]),import.meta.url),__pages_import_21__=()=>__vitePreload((()=>import("./setting-CecJapUm.js")),__vite__mapDeps([32,11,33]),import.meta.url),__pages_import_22__=()=>__vitePreload((()=>import("./edit.password-CzxHsfr9.js")),__vite__mapDeps([34,11,1,35,36]),import.meta.url),__pages_import_23__=()=>__vitePreload((()=>import("./wechat-BhHNBWBZ.js")),__vite__mapDeps([37,1,2]),import.meta.url),__pages_import_24__=()=>__vitePreload((()=>import("./mpay-B-BmvDhQ.js")),__vite__mapDeps([38,1,2]),import.meta.url),__pages_import_25__=()=>__vitePreload((()=>import("./ltzf-BvFemXdK.js")),__vite__mapDeps([39,1,2]),import.meta.url),__pages_import_26__=()=>__vitePreload((()=>import("./hupijiao-BdWFBu4d.js")),__vite__mapDeps([40,1,2]),import.meta.url),__pages_import_27__=()=>__vitePreload((()=>import("./epay-D7_9P03X.js")),__vite__mapDeps([41,1,2]),import.meta.url),__pages_import_28__=()=>__vitePreload((()=>import("./duluPay-DRkdzRVh.js")),__vite__mapDeps([42,1,2]),import.meta.url),__pages_import_29__=()=>__vitePreload((()=>import("./points-CpXy5ei9.js")),__vite__mapDeps([43,1,2]),import.meta.url),__pages_import_30__=()=>__vitePreload((()=>import("./package-DWi-wsDP.js")),__vite__mapDeps([44,11,1,45,46,12,13]),import.meta.url),__pages_import_31__=()=>__vitePreload((()=>import("./crami-R38S4tMZ.js")),__vite__mapDeps([47,11,1,46,12,13]),import.meta.url),__pages_import_32__=()=>__vitePreload((()=>import("./index-Bt1eUHSh.js")),__vite__mapDeps([48,11,1,12,13,49]),import.meta.url),__pages_import_33__=()=>__vitePreload((()=>import("./key-CrR4vULd.js")),__vite__mapDeps([50,11,1,51,4,13,12]),import.meta.url),__pages_import_34__=()=>__vitePreload((()=>import("./baseSetting-DM7frdzv.js")),__vite__mapDeps([52,1,2]),import.meta.url),__pages_import_35__=()=>__vitePreload((()=>import("./chat-p-VoiQPW.js")),__vite__mapDeps([53,11,1,13,54]),import.meta.url),__pages_import_36__=()=>__vitePreload((()=>import("./classify-DyQP9WEl.js")),__vite__mapDeps([55,11,1,45,13,12]),import.meta.url),__pages_import_37__=()=>__vitePreload((()=>import("./application-CRdbamYy.js")),__vite__mapDeps([56,11,1,45,51,4,13,12,57]),import.meta.url),__pages_import_38__=()=>__vitePreload((()=>import("./reload-C76-1XLf.js")),[],import.meta.url),__pages_import_39__=()=>__vitePreload((()=>import("./login-DUOByp_A.js")),[],import.meta.url),__pages_import_41__=()=>__vitePreload((()=>import("./_...all_-xtcz4Joe.js")),[],import.meta.url),routes$9=[{name:"users-wechat",path:"/users/wechat",component:__pages_import_0__,props:!0,meta:{title:"微信设置"}},{name:"users-userAgreement",path:"/users/useragreement",component:__pages_import_1__,props:!0,meta:{title:"用户协议"}},{name:"users-register",path:"/users/register",component:__pages_import_2__,props:!0,meta:{title:"访问配置"}},{name:"users-phone",path:"/users/phone",component:__pages_import_3__,props:!0,meta:{title:"手机验证码配置"}},{name:"users",path:"/users",component:__pages_import_4__,props:!0,meta:{title:"用户管理"}},{name:"users-email",path:"/users/email",component:__pages_import_5__,props:!0,meta:{title:"邮件设置"}},{name:"users-accountLog",path:"/users/accountlog",component:__pages_import_6__,props:!0,meta:{title:"账户变更记录"}},{name:"system-welcomePageSettings",path:"/system/welcomepagesettings",component:__pages_import_7__,props:!0,meta:{title:"欢迎页设置"}},{name:"system-notice",path:"/system/notice",component:__pages_import_8__,props:!0,meta:{title:"公告设置"}},{name:"system-baseConfiguration",path:"/system/baseconfiguration",component:__pages_import_9__,props:!0,meta:{title:"基础配置"}},{name:"system-baiduStatistics",path:"/system/baidustatistics",component:__pages_import_10__,props:!0,meta:{title:"百度统计"}},{name:"storage-tencent",path:"/storage/tencent",component:__pages_import_11__,props:!0,meta:{title:"腾讯云cos设置"}},{name:"storage-s3",path:"/storage/s3",component:__pages_import_12__,props:!0,meta:{title:"S3存储设置"}},{name:"storage-localStorage",path:"/storage/localstorage",component:__pages_import_13__,props:!0,meta:{title:"本地存储配置"}},{name:"storage-chevereto",path:"/storage/chevereto",component:__pages_import_14__,props:!0,meta:{title:"Chevereto图床设置"}},{name:"storage-ali",path:"/storage/ali",component:__pages_import_15__,props:!0,meta:{title:"阿里云oss设置"}},{name:"sensitive-violation",path:"/sensitive/violation",component:__pages_import_16__,props:!0,meta:{title:"违规记录"}},{name:"sensitive-identityVerification",path:"/sensitive/identityverification",component:__pages_import_17__,props:!0,meta:{title:"风控设置"}},{name:"sensitive-custom",path:"/sensitive/custom",component:__pages_import_18__,props:!0,meta:{title:"敏感词预设"}},{name:"sensitive-baiduSensitive",path:"/sensitive/baidusensitive",component:__pages_import_19__,props:!0,meta:{title:"百度云敏感词设置"}},{name:"sensitive-autpReply",path:"/sensitive/autpreply",component:__pages_import_20__,props:!0,meta:{title:"自定义回复预设"}},{name:"personalSetting",path:"/personal/setting",component:__pages_import_21__,props:!0,meta:{title:"个人设置",cache:"personal-edit.password"}},{name:"personalEditPassword",path:"/personal/edit.password",component:__pages_import_22__,props:!0,meta:{title:"修改密码"}},{name:"pay-wechat",path:"/pay/wechat",component:__pages_import_23__,props:!0,meta:{title:"官方微信支付设置"}},{name:"pay-mpay",path:"/pay/mpay",component:__pages_import_24__,props:!0,meta:{title:"码支付设置"}},{name:"pay-ltzf",path:"/pay/ltzf",component:__pages_import_25__,props:!0,meta:{title:"蓝兔支付设置"}},{name:"pay-hupijiao",path:"/pay/hupijiao",component:__pages_import_26__,props:!0,meta:{title:"虎皮椒支付设置"}},{name:"pay-epay",path:"/pay/epay",component:__pages_import_27__,props:!0,meta:{title:"易支付设置"}},{name:"pay-duluPay",path:"/pay/dulupay",component:__pages_import_28__,props:!0,meta:{title:"嘟噜支付设置"}},{name:"package-points",path:"/package/points",component:__pages_import_29__,props:!0,meta:{title:"显示设置"}},{name:"package-package",path:"/package/package",component:__pages_import_30__,props:!0,meta:{title:"卡券管理"}},{name:"package-crami",path:"/package/crami",component:__pages_import_31__,props:!0,meta:{title:"卡密管理"}},{name:"order",path:"/order",component:__pages_import_32__,props:!0,meta:{title:"对话管理"}},{name:"models-key",path:"/models/key",component:__pages_import_33__,props:!0,meta:{title:"模型列表"}},{name:"models-baseSetting",path:"/models/basesetting",component:__pages_import_34__,props:!0,meta:{title:"基础设置"}},{name:"chat-chat",path:"/chat/chat",component:__pages_import_35__,props:!0,meta:{title:"对话管理"}},{name:"app-classify",path:"/app/classify",component:__pages_import_36__,props:!0,meta:{title:"App分类管理"}},{name:"app-application",path:"/app/application",component:__pages_import_37__,props:!0,meta:{title:"应用管理"}},{name:"reload",path:"/reload",component:__pages_import_38__,props:!0},{name:"login",path:"/login",component:__pages_import_39__,props:!0,meta:{title:"登录",constant:!0,layout:!1}},{name:"home",path:"/",component:Home,props:!0,meta:{title:"主页"}},{name:"notFound",path:"/:all(.*)*",component:__pages_import_41__,props:!0,meta:{title:"找不到页面",constant:!0,layout:!1}}];function setupLayouts(e){const t={},n=Object.assign({"/src/layouts/components/AppSetting/index.vue":()=>__vitePreload((()=>import("./index-BLqJ8QDu.js")),__vite__mapDeps([58,59,60,61,62,63,64,65,66]),import.meta.url),"/src/layouts/components/BackTop/index.vue":()=>__vitePreload((()=>import("./index-g-A10Yme.js")),__vite__mapDeps([67,68]),import.meta.url),"/src/layouts/components/Breadcrumb/index.vue":()=>__vitePreload((()=>import("./index-CZaxHimt.js")),__vite__mapDeps([69,70]),import.meta.url),"/src/layouts/components/Breadcrumb/item.vue":()=>__vitePreload((()=>import("./item-DZoJPB2Z.js")),__vite__mapDeps([71,72]),import.meta.url),"/src/layouts/components/Copyright/index.vue":()=>__vitePreload((()=>import("./index-Cs7G3EBC.js")),__vite__mapDeps([73,74]),import.meta.url),"/src/layouts/components/Header/index.vue":()=>__vitePreload((()=>import("./index-BuhDZ9J1.js")),__vite__mapDeps([75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86]),import.meta.url),"/src/layouts/components/HotkeysIntro/index.vue":()=>__vitePreload((()=>import("./index-wYwQQGda.js")),__vite__mapDeps([87,88,89,83]),import.meta.url),"/src/layouts/components/Logo/index.vue":()=>__vitePreload((()=>import("./index-DOx8FTtk.js")),__vite__mapDeps([90,76]),import.meta.url),"/src/layouts/components/MainSidebar/index.vue":()=>__vitePreload((()=>import("./index-i8Bdu04L.js")),__vite__mapDeps([91,76,85,92]),import.meta.url),"/src/layouts/components/Menu/index.vue":()=>__vitePreload((()=>import("./index-Dp3CZhIR.js")),__vite__mapDeps([93,94,95,96,63]),import.meta.url),"/src/layouts/components/Menu/item.vue":()=>__vitePreload((()=>import("./item-APr-PS9y.js")),__vite__mapDeps([97,96,63]),import.meta.url),"/src/layouts/components/Menu/sub.vue":()=>__vitePreload((()=>import("./sub-hQISPUS5.js")),__vite__mapDeps([98,95,96,63]),import.meta.url),"/src/layouts/components/Search/index.vue":()=>__vitePreload((()=>import("./index-dH3cTfOh.js")),__vite__mapDeps([99,100,83,69,70,72]),import.meta.url),"/src/layouts/components/SubSidebar/index.vue":()=>__vitePreload((()=>import("./index-BWLuTDA6.js")),__vite__mapDeps([101,65,76,94,95,96,63,102]),import.meta.url),"/src/layouts/components/Topbar/Tabbar/index.vue":()=>__vitePreload((()=>import("./index-DRUzQ5v3.js")),__vite__mapDeps([103,65,35,104]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Breadcrumb/index.vue":()=>__vitePreload((()=>import("./index-BTtsYu0a.js")),__vite__mapDeps([105,69,70,72,106]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/ColorScheme/index.vue":()=>__vitePreload((()=>import("./index-CtOJrsbC.js")),__vite__mapDeps([107,79,80,64,62]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Fullscreen/index.vue":()=>__vitePreload((()=>import("./index-GgFTTSiK.js")),__vite__mapDeps([108,81,65]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/NavSearch/index.vue":()=>__vitePreload((()=>import("./index-BqCS7s31.js")),__vite__mapDeps([109,82,83]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/PageReload/index.vue":()=>__vitePreload((()=>import("./index-CDnXnCbp.js")),__vite__mapDeps([110,84,35]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/index.vue":()=>__vitePreload((()=>import("./index-CGed-Lii.js")),__vite__mapDeps([111,112,105,69,70,72,106,77,78,79,80,64,62,81,65,82,83,84,35,113]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/leftSide.vue":()=>__vitePreload((()=>import("./leftSide-CgNuco0Q.js")),__vite__mapDeps([114,112,105,69,70,72,106]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/rightSide.vue":()=>__vitePreload((()=>import("./rightSide-CF_-JibU.js")),__vite__mapDeps([115,77,78,79,80,64,62,81,65,82,83,84,35]),import.meta.url),"/src/layouts/components/Topbar/index.vue":()=>__vitePreload((()=>import("./index-ChkpeOnk.js")),__vite__mapDeps([116,103,65,35,104,111,112,105,69,70,72,106,77,78,79,80,64,62,81,82,83,84,113,117]),import.meta.url),"/src/layouts/components/views/link.vue":()=>__vitePreload((()=>import("./link-Dd6acFu3.js")),__vite__mapDeps([118,11,63,65,119]),import.meta.url),"/src/layouts/index.vue":()=>__vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url),"/src/layouts/ui-kit/HButton.vue":()=>__vitePreload((()=>import("./HButton-BuyjdFXj.js")),[],import.meta.url),"/src/layouts/ui-kit/HCheckList.vue":()=>__vitePreload((()=>import("./HCheckList-BvP-W6tS.js")),__vite__mapDeps([122,60]),import.meta.url),"/src/layouts/ui-kit/HDialog.vue":()=>__vitePreload((()=>import("./HDialog-Dc3-VFqw.js")),__vite__mapDeps([123,89]),import.meta.url),"/src/layouts/ui-kit/HDropdown.vue":()=>__vitePreload((()=>import("./HDropdown-DFGm5c_S.js")),[],import.meta.url),"/src/layouts/ui-kit/HDropdownMenu.vue":()=>__vitePreload((()=>import("./HDropdownMenu-STCC9von.js")),__vite__mapDeps([124,78]),import.meta.url),"/src/layouts/ui-kit/HInput.vue":()=>__vitePreload((()=>import("./HInput-D-evHGWk.js")),__vite__mapDeps([125,59]),import.meta.url),"/src/layouts/ui-kit/HKbd.vue":()=>__vitePreload((()=>import("./HKbd-LjWkyhwy.js")),[],import.meta.url),"/src/layouts/ui-kit/HSelect.vue":()=>__vitePreload((()=>import("./HSelect-IW2K-3mo.js")),[],import.meta.url),"/src/layouts/ui-kit/HSlideover.vue":()=>__vitePreload((()=>import("./HSlideover-DoUM21Up.js")),[],import.meta.url),"/src/layouts/ui-kit/HTabList.vue":()=>__vitePreload((()=>import("./HTabList-DmcAR84M.js")),__vite__mapDeps([126,64,62]),import.meta.url),"/src/layouts/ui-kit/HToggle.vue":()=>__vitePreload((()=>import("./HToggle-CrdaD-9B.js")),__vite__mapDeps([127,61,62]),import.meta.url),"/src/layouts/ui-kit/HTooltip.vue":()=>__vitePreload((()=>import("./HTooltip-BHWSsM_K.js")),__vite__mapDeps([128,63]),import.meta.url)});return Object.entries(n).forEach((([e,n])=>{let o=e.replace("/src/layouts/","").replace(".vue","");t[o]=n})),function e(n,o=!0){return n.map((n=>{var r,i,a,l,s;return(null==(r=n.children)?void 0:r.length)>0&&(n.children=e(n.children,!1)),o&&!1!==(null==(i=n.meta)?void 0:i.layout)?{path:n.path,component:t[(null==(a=n.meta)?void 0:a.layout)||"index"],children:"/"===n.path?[n]:[{...n,path:""}],meta:{isLayout:!0}}:(null==(l=n.meta)?void 0:l.layout)?{path:n.path,component:t[null==(s=n.meta)?void 0:s.layout],children:[{...n,path:""}],meta:{isLayout:!0}}:n}))}(e)}function Layout$8(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes$8={path:"/app",component:Layout$8,redirect:"/app/classify",name:"AppMenu",meta:{title:"插件应用",icon:"tdesign:app"},children:[{path:"classify",name:"AppMenuClassify",component:()=>__vitePreload((()=>import("./classify-DyQP9WEl.js")),__vite__mapDeps([55,11,1,45,13,12]),import.meta.url),meta:{title:"分类列表",icon:"ph:list-fill"}},{path:"application",name:"Application",component:()=>__vitePreload((()=>import("./application-CRdbamYy.js")),__vite__mapDeps([56,11,1,45,51,4,13,12,57]),import.meta.url),meta:{title:"应用列表",icon:"clarity:vmw-app-line"}}]};function Layout$7(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes$7={path:"/chat",component:Layout$7,redirect:"/chat/chat",name:"chatMenu",meta:{title:"数据管理",icon:"majesticons:data-line"},children:[{path:"dashboard",name:"dashboardMenu",component:()=>__vitePreload((()=>import("./index-N1kQyP62.js")),__vite__mapDeps([10,11,1,12,13]),import.meta.url),meta:{title:"用户信息",icon:"fa6-solid:list-ul"}},{path:"list",name:"chatMenuList",component:()=>__vitePreload((()=>import("./chat-p-VoiQPW.js")),__vite__mapDeps([53,11,1,13,54]),import.meta.url),meta:{title:"对话记录",icon:"material-symbols-light:chat-outline"}},{path:"auto-reply",name:"ReplyMenuList",component:()=>__vitePreload((()=>import("./autpReply-ByQOHDAx.js")),__vite__mapDeps([31,11,1,12]),import.meta.url),meta:{title:"内容预设",icon:"ic:outline-question-answer"}}]};function Layout$6(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes$6={path:"/ai",component:Layout$6,redirect:"/ai/chat-key-list",name:"AiMenu",meta:{title:"模型管理",icon:"hugeicons:ai-book"},children:[{path:"keys",name:"AiMenuKeys",component:()=>__vitePreload((()=>import("./key-CrR4vULd.js")),__vite__mapDeps([50,11,1,51,4,13,12]),import.meta.url),meta:{title:"模型设置",icon:"ph:open-ai-logo-light"}},{path:"baseSetting",name:"baseSetting",component:()=>__vitePreload((()=>import("./baseSetting-DM7frdzv.js")),__vite__mapDeps([52,1,2]),import.meta.url),meta:{title:"基础配置",icon:"lets-icons:setting-line"}}]};function Layout$5(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes$5={path:"/package",component:Layout$5,redirect:"/package/list",name:"packageMenu",meta:{title:"套餐管理",icon:"icon-park-outline:buy"},children:[{path:"order-list",name:"OrderMenuList",component:()=>__vitePreload((()=>import("./index-Bt1eUHSh.js")),__vite__mapDeps([48,11,1,12,13,49]),import.meta.url),meta:{title:"订单列表",icon:"lets-icons:order"}},{path:"account-log",name:"AccountLogMenu",component:()=>__vitePreload((()=>import("./accountLog-BnWEbieN.js")),__vite__mapDeps([15,11,1,12,13]),import.meta.url),meta:{title:"账户明细",icon:"carbon:account"}},{path:"list",name:"packageMenuList",component:()=>__vitePreload((()=>import("./package-DWi-wsDP.js")),__vite__mapDeps([44,11,1,45,46,12,13]),import.meta.url),meta:{title:"套餐设置",icon:"icon-park-outline:commodity"}},{path:"crami",name:"cramiMenuList",component:()=>__vitePreload((()=>import("./crami-R38S4tMZ.js")),__vite__mapDeps([47,11,1,46,12,13]),import.meta.url),meta:{title:"卡密管理",icon:"solar:passport-broken"}}]};function Layout$4(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes$4={path:"/pay",component:Layout$4,redirect:"/pay/hupijiao",name:"PayMenu",meta:{title:"支付管理",icon:"mingcute:card-pay-line"},children:[{path:"wechat",name:"WechatConfig",component:()=>__vitePreload((()=>import("./wechat-BhHNBWBZ.js")),__vite__mapDeps([37,1,2]),import.meta.url),meta:{title:"微信支付",icon:"ic:baseline-wechat"}},{path:"duluPay",name:"DuluPayConfig",component:()=>__vitePreload((()=>import("./duluPay-DRkdzRVh.js")),__vite__mapDeps([42,1,2]),import.meta.url),meta:{title:"嘟噜支付",icon:"ic:outline-payment"}},{path:"epay",name:"EpayConfig",component:()=>__vitePreload((()=>import("./epay-D7_9P03X.js")),__vite__mapDeps([41,1,2]),import.meta.url),meta:{title:"易支付",icon:"uiw:pay"}},{path:"mpay",name:"MpayConfig",component:()=>__vitePreload((()=>import("./mpay-B-BmvDhQ.js")),__vite__mapDeps([38,1,2]),import.meta.url),meta:{title:"码支付",icon:"ant-design:pay-circle-outlined"}},{path:"hupi",name:"HupioConfig",component:()=>__vitePreload((()=>import("./hupijiao-BdWFBu4d.js")),__vite__mapDeps([40,1,2]),import.meta.url),meta:{title:"虎皮椒支付",icon:"token:pay"}},{path:"ltzf",name:"LtzfConfig",component:()=>__vitePreload((()=>import("./ltzf-BvFemXdK.js")),__vite__mapDeps([39,1,2]),import.meta.url),meta:{title:"蓝兔支付",icon:"ph:rabbit"}}]};function Layout$3(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes$3={path:"/secure",component:Layout$3,redirect:"/secure/sensitive-baidu",name:"SecureMenu",meta:{title:"风控管理",icon:"ri:secure-payment-line"},children:[{path:"identity-verification",name:"IdentityVerification",component:()=>__vitePreload((()=>import("./identityVerification-Bom9GN-v.js")),__vite__mapDeps([28,1,2]),import.meta.url),meta:{title:"风控安全配置",icon:"hugeicons:identification"}},{path:"sensitive-violation",name:"SensitiveViolationLog",component:()=>__vitePreload((()=>import("./violation-CLUBFwNt.js")),__vite__mapDeps([25,11,1,26,13,12,27]),import.meta.url),meta:{title:"违规检测记录",icon:"tabler:ban"}},{path:"sensitive-baidu",name:"SensitiveBaiduyun",component:()=>__vitePreload((()=>import("./baiduSensitive-C7vUutgc.js")),__vite__mapDeps([30,1,2]),import.meta.url),meta:{title:"百度云敏感词",icon:"ri:baidu-line"}},{path:"sensitive-custom",name:"SensitiveCuston",component:()=>__vitePreload((()=>import("./custom-B_7XFeQI.js")),__vite__mapDeps([29,11,1,26]),import.meta.url),meta:{title:"自定义敏感词",icon:"carbon:word-cloud"}}]};function Layout$2(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes$2={path:"/storage",component:Layout$2,redirect:"/storage/config",name:"StorageMenu",meta:{title:"存储配置",icon:"mingcute:storage-line"},children:[{path:"localStorage",name:"LocalStorage",component:()=>__vitePreload((()=>import("./localStorage-Dm0jFFHY.js")),__vite__mapDeps([22,1,2]),import.meta.url),meta:{title:"本地存储",icon:"icon-park-outline:cloud-storage"}},{path:"s3",name:"StorageS3",component:()=>__vitePreload((()=>import("./s3-CCx8GMyA.js")),__vite__mapDeps([21,1,2]),import.meta.url),meta:{title:"S3存储",icon:"mdi:aws"}},{path:"tencent",name:"StorageTencent",component:()=>__vitePreload((()=>import("./tencent-BAqF1PoT.js")),__vite__mapDeps([20,1,2]),import.meta.url),meta:{title:"腾讯云COS",icon:"teenyicons:cost-estimate-outline"}},{path:"ali",name:"StorageAli",component:()=>__vitePreload((()=>import("./ali-zgpDqU7S.js")),__vite__mapDeps([24,1,2]),import.meta.url),meta:{title:"阿里云OSS",icon:"material-symbols:home-storage-outline"}}]};function Layout$1(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes$1={path:"/system",component:Layout$1,redirect:"/system/base",name:"systemMenu",meta:{title:"系统管理",icon:"tdesign:system-2"},children:[{path:"base-configuration",name:"ClientBaseConfig",component:()=>__vitePreload((()=>import("./baseConfiguration-D6C9gTFe.js")),__vite__mapDeps([18,1,2,4]),import.meta.url),meta:{title:"基础配置",icon:"uil:setting"}},{path:"points",name:"PointsDisplay",component:()=>__vitePreload((()=>import("./points-CpXy5ei9.js")),__vite__mapDeps([43,1,2]),import.meta.url),meta:{title:"显示设置",icon:"mdi:show-outline"}},{path:"notice",name:"systemMenuNotice",component:()=>__vitePreload((()=>import("./notice-BrwZwNuE.js")),__vite__mapDeps([17,1,2,4,5,6]),import.meta.url),meta:{title:"公告设置",icon:"mdi:notice-board"}},{path:"user-agreement",name:"userAgreement",component:()=>__vitePreload((()=>import("./userAgreement-DZ5u8Z6E.js")),__vite__mapDeps([3,1,2,4,5,6]),import.meta.url),meta:{title:"用户协议",icon:"hugeicons:access"}},{path:"baidu",name:"systemMenuBase",component:()=>__vitePreload((()=>import("./baiduStatistics-CIKoeZzD.js")),__vite__mapDeps([19,1,2]),import.meta.url),meta:{title:"统计设置",icon:"wpf:statistics"}}]};function Layout(){return __vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url)}const routes={path:"/user",component:Layout,redirect:"/user/dashboard",name:"userMenu",meta:{title:"访问管理",icon:"mdi:user-outline"},children:[{path:"register",name:"systemMenuRegister",component:()=>__vitePreload((()=>import("./register-VCiIC402.js")),__vite__mapDeps([7,1,2,8]),import.meta.url),meta:{title:"注册配置",icon:"ant-design:login-outlined"}},{path:"email",name:"systemMenuEmail",component:()=>__vitePreload((()=>import("./email-CdNPUFnz.js")),__vite__mapDeps([14,1,2]),import.meta.url),meta:{title:"邮件配置",icon:"material-symbols:mail-outline"}},{path:"wechat",name:"systemMenuWechat",component:()=>__vitePreload((()=>import("./wechat-Cg92RNH0.js")),__vite__mapDeps([0,1,2]),import.meta.url),meta:{title:"微信配置",icon:"la:weixin"}},{path:"ali-phone",name:"AliPhoneMenu",component:()=>__vitePreload((()=>import("./phone-BwZkxxUB.js")),__vite__mapDeps([9,1,2]),import.meta.url),meta:{title:"短信配置",icon:"tabler:message"}}]},constantRoutes=[{path:"/login",name:"login",component:()=>__vitePreload((()=>import("./login-DUOByp_A.js")),[],import.meta.url),meta:{title:"登录"}},{path:"/:all(.*)*",name:"notFound",component:()=>__vitePreload((()=>import("./_...all_-xtcz4Joe.js")),[],import.meta.url),meta:{title:"找不到页面"}}],systemRoutes=[{path:"/",component:()=>__vitePreload((()=>import("./index-B5v14alw.js")),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,35,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,11,119,73,74,68,121,66]),import.meta.url),meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1},children:[{path:"",name:"home",component:Home,meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1}},{path:"reload",name:"reload",component:()=>__vitePreload((()=>import("./reload-C76-1XLf.js")),[],import.meta.url),meta:{title:"重新加载",breadcrumb:!1}},{path:"setting",name:"personalSetting",component:()=>__vitePreload((()=>import("./setting-CecJapUm.js")),__vite__mapDeps([32,11,33]),import.meta.url),meta:{title:"个人设置",cache:"personalEditPassword"}},{path:"edit/password",name:"personalEditPassword",component:()=>__vitePreload((()=>import("./edit.password-CzxHsfr9.js")),__vite__mapDeps([34,11,1,35,36]),import.meta.url),meta:{title:"修改密码"}}]}],asyncRoutes=[{children:[routes$1,routes,routes$6,routes$7,routes$8,routes$3,routes$2,routes$5,routes$4]}],constantRoutesByFilesystem=routes$9.filter((e=>{var t,n;return!1!==(null==(t=e.meta)?void 0:t.enabled)&&!0===(null==(n=e.meta)?void 0:n.constant)})),asyncRoutesByFilesystem=setupLayouts(routes$9.filter((e=>{var t,n,o;return!1!==(null==(t=e.meta)?void 0:t.enabled)&&!0!==(null==(n=e.meta)?void 0:n.constant)&&!1!==(null==(o=e.meta)?void 0:o.layout)}))),useRouteStore=defineStore("route",(()=>{const e=useSettingsStore(),t=ref(!1),n=ref([]),o=ref([]),r=ref([]);function i(e){var t,n,o,r;return e.children&&(e.children=a(e.children,[{path:e.path,title:null==(t=e.meta)?void 0:t.title,icon:null==(n=e.meta)?void 0:n.icon,hide:!(null==(o=e.meta)?void 0:o.breadcrumb)&&!1===(null==(r=e.meta)?void 0:r.breadcrumb)}],e.path)),e}function a(e,t=[],n=""){const o=[];return e.forEach((e=>{var r,i,l,s,c,u,d,p;if(e.children){const c=resolveRoutePath(n,e.path),u=cloneDeep(t);u.push({path:c,title:null==(r=e.meta)?void 0:r.title,icon:null==(i=e.meta)?void 0:i.icon,hide:!(null==(l=e.meta)?void 0:l.breadcrumb)&&!1===(null==(s=e.meta)?void 0:s.breadcrumb)});const d=cloneDeep(e);d.path=c,d.meta||(d.meta={}),d.meta.breadcrumbNeste=u,delete d.children,o.push(d);a(e.children,u,c).forEach((e=>{o.some((t=>t.path===e.path))?o.forEach(((t,n)=>{t.path===e.path&&(o[n]=e)})):o.push(e)}))}else{const r=cloneDeep(e);r.path=resolveRoutePath(n,r.path);const i=cloneDeep(t);i.push({path:r.path,title:null==(c=r.meta)?void 0:c.title,icon:null==(u=r.meta)?void 0:u.icon,hide:!(null==(d=r.meta)?void 0:d.breadcrumb)&&!1===(null==(p=r.meta)?void 0:p.breadcrumb)}),r.meta||(r.meta={}),r.meta.breadcrumbNeste=i,o.push(r)}})),o}const l=computed((()=>{const t=[];return"filesystem"!==e.settings.app.routeBaseOn?n.value&&(n.value.forEach((e=>{const n=cloneDeep(e.children);n.map((t=>{var n,o;return t.meta||(t.meta={}),t.meta.auth=(null==(n=e.meta)?void 0:n.auth)??(null==(o=t.meta)?void 0:o.auth),t})),t.push(...n)})),t.forEach((e=>i(e)))):t.push(...cloneDeep(o.value)),t})),s=computed((()=>{const e=[...systemRoutes];return e.forEach((e=>i(e))),e}));let c=!1;function u(e){return e.forEach((e=>{e.children=d(e.children)})),e}function d(e){return e&&e.forEach((e=>{var t;"boolean"==typeof(null==(t=e.meta)?void 0:t.sidebar)&&(c=!0,e.meta.menu=e.meta.sidebar,delete e.meta.sidebar),e.children&&d(e.children)})),e}return{isGenerate:t,routesRaw:n,currentRemoveRoutes:r,flatRoutes:l,flatSystemRoutes:s,generateRoutesAtFront:function(e){n.value=u(cloneDeep(e)),t.value=!0},generateRoutesAtFilesystem:function(e){o.value=cloneDeep(e),t.value=!0},setCurrentRemoveRoutes:function(e){r.value=e},removeRoutes:function(){t.value=!1,n.value=[],o.value=[],r.value.forEach((e=>{e()})),r.value=[]}}})),useMenuStore=defineStore("menu",(()=>{const e=useSettingsStore(),t=useUserStore(),n=useRouteStore(),o=ref([]),r=ref(0);function i(e,t=""){const n=[];return e.forEach((e=>{var o,r,a,l,s,c;const u={path:resolveRoutePath(t,e.path),meta:{title:null==(o=null==e?void 0:e.meta)?void 0:o.title,icon:null==(r=null==e?void 0:e.meta)?void 0:r.icon,defaultOpened:null==(a=null==e?void 0:e.meta)?void 0:a.defaultOpened,auth:null==(l=null==e?void 0:e.meta)?void 0:l.auth,menu:null==(s=null==e?void 0:e.meta)?void 0:s.menu,link:null==(c=null==e?void 0:e.meta)?void 0:c.link}};e.children&&(u.children=i(e.children,u.path)),n.push(u)})),n}const a=computed((()=>{let r=[];return r="filesystem"!==e.settings.app.routeBaseOn?function(t){const n=[];return t.forEach((t=>{var o,r,a;if("single"===e.settings.menu.menuMode)0===n.length&&n.push({meta:{},children:[]}),n[0].children.push(...i(t.children));else{const e={meta:{title:null==(o=null==t?void 0:t.meta)?void 0:o.title,icon:null==(r=null==t?void 0:t.meta)?void 0:r.icon,auth:null==(a=null==t?void 0:t.meta)?void 0:a.auth},children:[]};e.children=i(t.children),n.push(e)}})),n}(n.routesRaw):o.value,e.settings.app.enablePermission&&(r=p(r,t.permissions)),r})),l=computed((()=>a.value.length>0?a.value.length>1?a.value[r.value].children:a.value[0].children:[])),s=computed((()=>l.value.length>0?c(l.value[0]):e.settings.home.fullPath));function c(e,t=""){let n="";if(e.children){const o=e.children.find((e=>{var t;return!1!==(null==(t=e.meta)?void 0:t.menu)}));n=c(o||e.children[0],resolveRoutePath(t,e.path))}else n=resolveRoutePath(t,e.path);return n}const u=computed((()=>{const t=[];return"filesystem"!==e.settings.app.routeBaseOn&&a.value.forEach((e=>{t.push(...d(e.children))})),t}));function d(e,t=""){const n=[];return e.forEach((e=>{var o;if((null==(o=e.meta)?void 0:o.defaultOpened)&&e.children){n.push(resolveRoutePath(t,e.path));const o=d(e.children,resolveRoutePath(t,e.path));o.length>0&&n.push(...o)}})),n}function p(e,t){const n=[];return e.forEach((e=>{if(function(e,t){var n;let o=!1;return o=!(null==(n=t.meta)?void 0:n.auth)||e.some((e=>{var n,o;return"string"==typeof(null==(n=t.meta)?void 0:n.auth)?""===t.meta.auth||t.meta.auth===e:"object"==typeof(null==(o=t.meta)?void 0:o.auth)&&(!(t.meta.auth.length>0)||t.meta.auth.includes(e))})),o}(t,e)){const o=cloneDeep(e);o.children&&o.children.length>0?(o.children=p(o.children,t),o.children.length>0&&n.push(o)):(delete o.children,n.push(o))}})),n}return{actived:r,allMenus:a,sidebarMenus:l,sidebarMenusFirstDeepestPath:s,defaultOpenedPaths:u,generateMenusAtFront:async function(){o.value=menu.filter((e=>0!==e.children.length))},setActived:function(e){if("number"==typeof e)r.value=e;else{const t=a.value.findIndex((t=>t.children.some((t=>0===e.indexOf(`${t.path}/`)||e===t.path))));t>=0&&(r.value=t)}}}})),{isLoading:isLoading}=useNProgress(),router=createRouter({history:createWebHashHistory(""),routes:"filesystem"===useSettingsStore(pinia).settings.app.routeBaseOn?constantRoutesByFilesystem:constantRoutes});function bind(e,t){return function(){return e.apply(t,arguments)}}router.beforeEach((async(e,t,n)=>{const o=useSettingsStore(),r=useUserStore(),i=useRouteStore(),a=useMenuStore();if(o.settings.app.enableProgress&&(isLoading.value=!0),r.isLogin)if(i.isGenerate)"single"!==o.settings.menu.menuMode&&a.setActived(e.path),"login"===e.name?n({path:o.settings.home.fullPath,replace:!0}):o.settings.home.enable||e.fullPath!==o.settings.home.fullPath?n():a.sidebarMenus.length>0?n({path:a.sidebarMenusFirstDeepestPath,replace:!0}):n();else{switch(o.settings.app.enablePermission&&await r.getPermissions(),o.settings.app.routeBaseOn){case"frontend":i.generateRoutesAtFront(asyncRoutes);break;case"filesystem":if(i.generateRoutesAtFilesystem(asyncRoutesByFilesystem),"frontend"===o.settings.menu.baseOn)a.generateMenusAtFront()}const t=[];i.flatRoutes.forEach((e=>{/^(?:https?:|mailto:|tel:)/.test(e.path)||t.push(router.addRoute(e))})),"filesystem"!==o.settings.app.routeBaseOn&&i.flatSystemRoutes.forEach((e=>{t.push(router.addRoute(e))})),i.setCurrentRemoveRoutes(t),n({path:e.path,query:e.query,replace:!0})}else"login"!==e.name?n({name:"login",query:{redirect:e.fullPath!==o.settings.home.fullPath?e.fullPath:void 0}}):n()})),router.afterEach(((e,t)=>{var n,o,r,i,a,l;const s=useSettingsStore(),c=useKeepAliveStore();if(s.settings.app.enableProgress&&(isLoading.value=!1),"filesystem"!==s.settings.app.routeBaseOn?s.setTitle((null==(o=null==(n=e.meta.breadcrumbNeste)?void 0:n.at(-1))?void 0:o.title)??e.meta.title):s.setTitle(e.meta.title),e.meta.cache){const t=null==(i=null==(r=e.matched.at(-1))?void 0:r.components)?void 0:i.default.name;t&&c.add(t)}if(t.meta.cache){const n=null==(l=null==(a=t.matched.at(-1))?void 0:a.components)?void 0:l.default.name;if(n){switch(typeof t.meta.cache){case"string":t.meta.cache!==e.name&&c.remove(n);break;case"object":t.meta.cache.includes(e.name)||c.remove(n)}if(t.meta.noCache)switch(typeof t.meta.noCache){case"string":t.meta.noCache===e.name&&c.remove(n);break;case"object":t.meta.noCache.includes(e.name)&&c.remove(n)}"reload"===e.name&&c.remove(n)}}document.documentElement.scrollTop=0}));const{toString:toString$1}=Object.prototype,{getPrototypeOf:getPrototypeOf}=Object,{iterator:iterator,toStringTag:toStringTag}=Symbol,kindOf=(e=>t=>{const n=toString$1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=e=>(e=e.toLowerCase(),t=>kindOf(t)===e),typeOfTest=e=>t=>typeof t===e,{isArray:isArray}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer(e){return null!==e&&!isUndefined$1(e)&&null!==e.constructor&&!isUndefined$1(e.constructor)&&isFunction$1(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&isArrayBuffer(e.buffer),t}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject=e=>null!==e&&"object"==typeof e,isBoolean$1=e=>!0===e||!1===e,isPlainObject=e=>{if("object"!==kindOf(e))return!1;const t=getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||toStringTag in e||iterator in e)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=e=>isObject(e)&&isFunction$1(e.pipe),isFormData=e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||isFunction$1(e.append)&&("formdata"===(t=kindOf(e))||"object"===t&&isFunction$1(e.toString)&&"[object FormData]"===e.toString()))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,r;if("object"!=typeof e&&(e=[e]),isArray(e))for(o=0,r=e.length;o<r;o++)t.call(null,e[o],o,e);else{const r=n?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let a;for(o=0;o<i;o++)a=r[o],t.call(null,e[a],a,e)}}function findKey(e,t){t=t.toLowerCase();const n=Object.keys(e);let o,r=n.length;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const _global$1="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,isContextDefined=e=>!isUndefined$1(e)&&e!==_global$1;function merge(){const{caseless:e}=isContextDefined(this)&&this||{},t={},n=(n,o)=>{const r=e&&findKey(t,o)||o;isPlainObject(t[r])&&isPlainObject(n)?t[r]=merge(t[r],n):isPlainObject(n)?t[r]=merge({},n):isArray(n)?t[r]=n.slice():t[r]=n};for(let o=0,r=arguments.length;o<r;o++)arguments[o]&&forEach(arguments[o],n);return t}const extend=(e,t,n,{allOwnKeys:o}={})=>(forEach(t,((t,o)=>{n&&isFunction$1(t)?e[o]=bind(t,n):e[o]=t}),{allOwnKeys:o}),e),stripBOM=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject=(e,t,n,o)=>{let r,i,a;const l={};if(t=t||{},null==e)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],o&&!o(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},endsWith=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},toArray=e=>{if(!e)return null;if(isArray(e))return e;let t=e.length;if(!isNumber$1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},isTypedArray=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&getPrototypeOf(Uint8Array)),forEachEntry=(e,t)=>{const n=(e&&e[iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll=(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),hasOwnProperty=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};forEach(n,((n,r)=>{let i;!1!==(i=t(n,r,e))&&(o[r]=i||n)})),Object.defineProperties(e,o)},freezeMethods=e=>{reduceDescriptors(e,((t,n)=>{if(isFunction$1(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];isFunction$1(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet=(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return isArray(e)?o(e):o(String(e).split(t)),n},noop$1=()=>{},toFiniteNumber=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t;function isSpecCompliantForm(e){return!!(e&&isFunction$1(e.append)&&"FormData"===e[toStringTag]&&e[iterator])}const toJSONObject=e=>{const t=new Array(10),n=(e,o)=>{if(isObject(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const r=isArray(e)?[]:{};return forEach(e,((e,t)=>{const i=n(e,o+1);!isUndefined$1(i)&&(r[t]=i)})),t[o]=void 0,r}}return e};return n(e,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=e=>e&&(isObject(e)||isFunction$1(e))&&isFunction$1(e.then)&&isFunction$1(e.catch),_setImmediate=(setImmediateSupported="function"==typeof setImmediate,postMessageSupported=isFunction$1(_global$1.postMessage),setImmediateSupported?setImmediate:postMessageSupported?(token=`axios@${Math.random()}`,callbacks=[],_global$1.addEventListener("message",(({source:e,data:t})=>{e===_global$1&&t===token&&callbacks.length&&callbacks.shift()()}),!1),e=>{callbacks.push(e),_global$1.postMessage(token,"*")}):e=>setTimeout(e));var setImmediateSupported,postMessageSupported,token,callbacks;const asap="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_global$1):"undefined"!=typeof process&&process.nextTick||_setImmediate,isIterable=e=>null!=e&&isFunction$1(e[iterator]),utils$1={isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:isReadableStream,isRequest:isRequest,isResponse:isResponse,isHeaders:isHeaders,isUndefined:isUndefined$1,isDate:isDate,isFile:isFile,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction$1,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop$1,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global$1,isContextDefined:isContextDefined,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable,setImmediate:_setImmediate,asap:asap,isIterable:isIterable};function AxiosError$1(e,t,n,o,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r,this.status=r.status?r.status:null)}utils$1.inherits(AxiosError$1,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError$1.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{descriptors[e]={value:e}})),Object.defineProperties(AxiosError$1,descriptors),Object.defineProperty(prototype$1,"isAxiosError",{value:!0}),AxiosError$1.from=(e,t,n,o,r,i)=>{const a=Object.create(prototype$1);return utils$1.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),AxiosError$1.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const httpAdapter=null;function isVisitable(e){return utils$1.isPlainObject(e)||utils$1.isArray(e)}function removeBrackets(e){return utils$1.endsWith(e,"[]")?e.slice(0,-2):e}function renderKey(e,t,n){return e?e.concat(t).map((function(e,t){return e=removeBrackets(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function isFlatArray(e){return utils$1.isArray(e)&&!e.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,(function(e){return/^is[A-Z]/.test(e)}));function toFormData$1(e,t,n){if(!utils$1.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const o=(n=utils$1.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!utils$1.isUndefined(t[e])}))).metaTokens,r=n.visitor||c,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&utils$1.isSpecCompliantForm(t);if(!utils$1.isFunction(r))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(utils$1.isDate(e))return e.toISOString();if(!l&&utils$1.isBlob(e))throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(e)||utils$1.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,r){let l=e;if(e&&!r&&"object"==typeof e)if(utils$1.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(utils$1.isArray(e)&&isFlatArray(e)||(utils$1.isFileList(e)||utils$1.endsWith(n,"[]"))&&(l=utils$1.toArray(e)))return n=removeBrackets(n),l.forEach((function(e,o){!utils$1.isUndefined(e)&&null!==e&&t.append(!0===a?renderKey([n],o,i):null===a?n:n+"[]",s(e))})),!1;return!!isVisitable(e)||(t.append(renderKey(r,n,i),s(e)),!1)}const u=[],d=Object.assign(predicates,{defaultVisitor:c,convertValue:s,isVisitable:isVisitable});if(!utils$1.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!utils$1.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+o.join("."));u.push(n),utils$1.forEach(n,(function(n,i){!0===(!(utils$1.isUndefined(n)||null===n)&&r.call(t,n,utils$1.isString(i)?i.trim():i,o,d))&&e(n,o?o.concat(i):[i])})),u.pop()}}(e),t}function encode$1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function AxiosURLSearchParams(e,t){this._pairs=[],e&&toFormData$1(e,this,t)}const prototype=AxiosURLSearchParams.prototype;function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(e,t,n){if(!t)return e;const o=n&&n.encode||encode;utils$1.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let i;if(i=r?r(t,n):utils$1.isURLSearchParams(t)?t.toString():new AxiosURLSearchParams(t,n).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}prototype.append=function(e,t){this._pairs.push([e,t])},prototype.toString=function(e){const t=e?function(t){return e.call(this,t,encode$1)}:encode$1;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class InterceptorManager{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){utils$1.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1="undefined"!=typeof URLSearchParams?URLSearchParams:AxiosURLSearchParams,FormData$1="undefined"!=typeof FormData?FormData:null,Blob$1="undefined"!=typeof Blob?Blob:null,platform$2={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv="undefined"!=typeof window&&"undefined"!=typeof document,_navigator="object"==typeof navigator&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:hasBrowserEnv,hasStandardBrowserEnv:hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv:hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin:origin},Symbol.toStringTag,{value:"Module"})),platform$1={...utils,...platform$2};function toURLEncodedForm(e,t){return toFormData$1(e,new platform$1.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return platform$1.isNode&&utils$1.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function parsePropPath(e){return utils$1.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function arrayToObject(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o<r;o++)i=n[o],t[i]=e[i];return t}function formDataToJSON(e){function t(e,n,o,r){let i=e[r++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=r>=e.length;if(i=!i&&utils$1.isArray(o)?o.length:i,l)return utils$1.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!a;o[i]&&utils$1.isObject(o[i])||(o[i]=[]);return t(e,n,o[i],r)&&utils$1.isArray(o[i])&&(o[i]=arrayToObject(o[i])),!a}if(utils$1.isFormData(e)&&utils$1.isFunction(e.entries)){const n={};return utils$1.forEachEntry(e,((e,o)=>{t(parsePropPath(e),o,n,0)})),n}return null}function stringifySafely(e,t,n){if(utils$1.isString(e))try{return(t||JSON.parse)(e),utils$1.trim(e)}catch(e2){if("SyntaxError"!==e2.name)throw e2}return(n||JSON.stringify)(e)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,r=utils$1.isObject(e);r&&utils$1.isHTMLForm(e)&&(e=new FormData(e));if(utils$1.isFormData(e))return o?JSON.stringify(formDataToJSON(e)):e;if(utils$1.isArrayBuffer(e)||utils$1.isBuffer(e)||utils$1.isStream(e)||utils$1.isFile(e)||utils$1.isBlob(e)||utils$1.isReadableStream(e))return e;if(utils$1.isArrayBufferView(e))return e.buffer;if(utils$1.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(e,this.formSerializer).toString();if((i=utils$1.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return toFormData$1(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return r||o?(t.setContentType("application/json",!1),stringifySafely(e)):e}],transformResponse:[function(e){const t=this.transitional||defaults.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(utils$1.isResponse(e)||utils$1.isReadableStream(e))return e;if(e&&utils$1.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(e2){if(n){if("SyntaxError"===e2.name)throw AxiosError$1.from(e2,AxiosError$1.ERR_BAD_RESPONSE,this,null,this.response);throw e2}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$1.classes.FormData,Blob:platform$1.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],(e=>{defaults.headers[e]={}}));const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=e=>{const t={};let n,o,r;return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),o=e.substring(r+1).trim(),!n||t[n]&&ignoreDuplicateOf[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t},$internals=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){return!1===e||null==e?e:utils$1.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,n,o,r){return utils$1.isFunction(o)?o.call(this,t,n):(r&&(t=n),utils$1.isString(t)?utils$1.isString(o)?-1!==t.indexOf(o):utils$1.isRegExp(o)?o.test(t):void 0:void 0)}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function buildAccessors(e,t){const n=utils$1.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:!0})}))}let AxiosHeaders$1=class{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=normalizeHeader(t);if(!r)throw new Error("header name must be a non-empty string");const i=utils$1.findKey(o,r);(!i||void 0===o[i]||!0===n||void 0===n&&!1!==o[i])&&(o[i||t]=normalizeValue(e))}const i=(e,t)=>utils$1.forEach(e,((e,n)=>r(e,n,t)));if(utils$1.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(utils$1.isString(e)&&(e=e.trim())&&!isValidHeaderName(e))i(parseHeaders(e),t);else if(utils$1.isObject(e)&&utils$1.isIterable(e)){let n,o,r={};for(const t of e){if(!utils$1.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[o=t[0]]=(n=r[o])?utils$1.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(r,t)}else null!=e&&r(t,e,n);return this}get(e,t){if(e=normalizeHeader(e)){const n=utils$1.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return parseTokens(e);if(utils$1.isFunction(t))return t.call(this,e,n);if(utils$1.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=normalizeHeader(e)){const n=utils$1.findKey(this,e);return!(!n||void 0===this[n]||t&&!matchHeaderValue(this,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function r(e){if(e=normalizeHeader(e)){const r=utils$1.findKey(n,e);!r||t&&!matchHeaderValue(n,n[r],r,t)||(delete n[r],o=!0)}}return utils$1.isArray(e)?e.forEach(r):r(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;for(;n--;){const r=t[n];e&&!matchHeaderValue(this,this[r],r,e,!0)||(delete this[r],o=!0)}return o}normalize(e){const t=this,n={};return utils$1.forEach(this,((o,r)=>{const i=utils$1.findKey(n,r);if(i)return t[i]=normalizeValue(o),void delete t[r];const a=e?formatHeader(r):String(r).trim();a!==r&&delete t[r],t[a]=normalizeValue(o),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return utils$1.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&utils$1.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[$internals]=this[$internals]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=normalizeHeader(e);t[o]||(buildAccessors(n,e),t[o]=!0)}return utils$1.isArray(e)?e.forEach(o):o(e),this}};function transformData(e,t){const n=this||defaults,o=t||n,r=AxiosHeaders$1.from(o.headers);let i=o.data;return utils$1.forEach(e,(function(e){i=e.call(n,i,r.normalize(),t?t.status:void 0)})),r.normalize(),i}function isCancel$1(e){return!(!e||!e.__CANCEL__)}function CanceledError$1(e,t,n){AxiosError$1.call(this,null==e?"canceled":e,AxiosError$1.ERR_CANCELED,t,n),this.name="CanceledError"}function settle(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new AxiosError$1("Request failed with status code "+n.status,[AxiosError$1.ERR_BAD_REQUEST,AxiosError$1.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function speedometer(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r,i=0,a=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),c=o[a];r||(r=s),n[i]=l,o[i]=s;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-r<t)return;const p=c&&s-c;return p?Math.round(1e3*d/p):void 0}}function throttle(e,t){let n,o,r=0,i=1e3/t;const a=(t,i=Date.now())=>{r=i,n=null,o&&(clearTimeout(o),o=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),l=t-r;l>=i?a(e,t):(n=e,o||(o=setTimeout((()=>{o=null,a(n)}),i-l)))},()=>n&&a(n)]}AxiosHeaders$1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),utils$1.reduceDescriptors(AxiosHeaders$1.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),utils$1.freezeMethods(AxiosHeaders$1),utils$1.inherits(CanceledError$1,AxiosError$1,{__CANCEL__:!0});const progressEventReducer=(e,t,n=3)=>{let o=0;const r=speedometer(50,250);return throttle((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,l=i-o,s=r(l);o=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},progressEventDecorator=(e,t)=>{const n=null!=e;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},asyncDecorator=e=>(...t)=>utils$1.asap((()=>e(...t))),isURLSameOrigin=platform$1.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,platform$1.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(platform$1.origin),platform$1.navigator&&/(msie|trident)/i.test(platform$1.navigator.userAgent)):()=>!0,cookies=platform$1.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];utils$1.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),utils$1.isString(o)&&a.push("path="+o),utils$1.isString(r)&&a.push("domain="+r),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function buildFullPath(e,t,n){let o=!isAbsoluteURL(t);return e&&(o||0==n)?combineURLs(e,t):t}const headersToObject=e=>e instanceof AxiosHeaders$1?{...e}:e;function mergeConfig$2(e,t){t=t||{};const n={};function o(e,t,n,o){return utils$1.isPlainObject(e)&&utils$1.isPlainObject(t)?utils$1.merge.call({caseless:o},e,t):utils$1.isPlainObject(t)?utils$1.merge({},t):utils$1.isArray(t)?t.slice():t}function r(e,t,n,r){return utils$1.isUndefined(t)?utils$1.isUndefined(e)?void 0:o(void 0,e,0,r):o(e,t,0,r)}function i(e,t){if(!utils$1.isUndefined(t))return o(void 0,t)}function a(e,t){return utils$1.isUndefined(t)?utils$1.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function l(n,r,i){return i in t?o(n,r):i in e?o(void 0,n):void 0}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t,n)=>r(headersToObject(e),headersToObject(t),0,!0)};return utils$1.forEach(Object.keys(Object.assign({},e,t)),(function(o){const i=s[o]||r,a=i(e[o],t[o],o);utils$1.isUndefined(a)&&i!==l||(n[o]=a)})),n}const resolveConfig=e=>{const t=mergeConfig$2({},e);let n,{data:o,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:l,auth:s}=t;if(t.headers=l=AxiosHeaders$1.from(l),t.url=buildURL(buildFullPath(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),utils$1.isFormData(o))if(platform$1.hasStandardBrowserEnv||platform$1.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(n=l.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];l.setContentType([e||"multipart/form-data",...t].join("; "))}if(platform$1.hasStandardBrowserEnv&&(r&&utils$1.isFunction(r)&&(r=r(t)),r||!1!==r&&isURLSameOrigin(t.url))){const e=i&&a&&cookies.read(a);e&&l.set(i,e)}return t},isXHRAdapterSupported="undefined"!=typeof XMLHttpRequest,xhrAdapter=isXHRAdapterSupported&&function(e){return new Promise((function(t,n){const o=resolveConfig(e);let r=o.data;const i=AxiosHeaders$1.from(o.headers).normalize();let a,l,s,c,u,{responseType:d,onUploadProgress:p,onDownloadProgress:f}=o;function h(){c&&c(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(a),o.signal&&o.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const o=AxiosHeaders$1.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());settle((function(e){t(e),h()}),(function(e){n(e),h()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:o,config:e,request:m}),m=null}m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new AxiosError$1("Request aborted",AxiosError$1.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new AxiosError$1("Network Error",AxiosError$1.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const r=o.transitional||transitionalDefaults;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),n(new AxiosError$1(t,r.clarifyTimeoutError?AxiosError$1.ETIMEDOUT:AxiosError$1.ECONNABORTED,e,m)),m=null},void 0===r&&i.setContentType(null),"setRequestHeader"in m&&utils$1.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),utils$1.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),d&&"json"!==d&&(m.responseType=o.responseType),f&&([s,u]=progressEventReducer(f,!0),m.addEventListener("progress",s)),p&&m.upload&&([l,c]=progressEventReducer(p),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",c)),(o.cancelToken||o.signal)&&(a=t=>{m&&(n(!t||t.type?new CanceledError$1(null,e,m):t),m.abort(),m=null)},o.cancelToken&&o.cancelToken.subscribe(a),o.signal&&(o.signal.aborted?a():o.signal.addEventListener("abort",a)));const v=parseProtocol(o.url);v&&-1===platform$1.protocols.indexOf(v)?n(new AxiosError$1("Unsupported protocol "+v+":",AxiosError$1.ERR_BAD_REQUEST,e)):m.send(r||null)}))},composeSignals=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,o=new AbortController;const r=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;o.abort(t instanceof AxiosError$1?t:new CanceledError$1(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,r(new AxiosError$1(`timeout ${t} of ms exceeded`,AxiosError$1.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)})),e=null)};e.forEach((e=>e.addEventListener("abort",r)));const{signal:l}=o;return l.unsubscribe=()=>utils$1.asap(a),l}},streamChunk=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let o,r=0;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},readBytes=async function*(e,t){for await(const n of readStream(e))yield*streamChunk(n,t)},readStream=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},trackStream=(e,t,n,o)=>{const r=readBytes(e,t);let i,a=0,l=e=>{i||(i=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t)return l(),void e.close();let i=o.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(o))}catch(t){throw l(t),t}},cancel:e=>(l(e),r.return())},{highWaterMark:2})},isFetchSupported="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,isReadableStreamSupported=isFetchSupported&&"function"==typeof ReadableStream,encodeText=isFetchSupported&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),test=(e,...t)=>{try{return!!e(...t)}catch(e2){return!1}},supportsRequestStream=isReadableStreamSupported&&test((()=>{let e=!1;const t=new Request(platform$1.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),DEFAULT_CHUNK_SIZE=65536,supportsResponseStream=isReadableStreamSupported&&test((()=>utils$1.isReadableStream(new Response("").body))),resolvers={stream:supportsResponseStream&&(e=>e.body)};var res;isFetchSupported&&(res=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!resolvers[e]&&(resolvers[e]=utils$1.isFunction(res[e])?t=>t[e]():(t,n)=>{throw new AxiosError$1(`Response type '${e}' is not supported`,AxiosError$1.ERR_NOT_SUPPORT,n)})})));const getBodyLength=async e=>{if(null==e)return 0;if(utils$1.isBlob(e))return e.size;if(utils$1.isSpecCompliantForm(e)){const t=new Request(platform$1.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return utils$1.isArrayBufferView(e)||utils$1.isArrayBuffer(e)?e.byteLength:(utils$1.isURLSearchParams(e)&&(e+=""),utils$1.isString(e)?(await encodeText(e)).byteLength:void 0)},resolveBodyLength=async(e,t)=>{const n=utils$1.toFiniteNumber(e.getContentLength());return null==n?getBodyLength(t):n},fetchAdapter=isFetchSupported&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:i,timeout:a,onDownloadProgress:l,onUploadProgress:s,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:p}=resolveConfig(e);c=c?(c+"").toLowerCase():"text";let f,h=composeSignals([r,i&&i.toAbortSignal()],a);const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(s&&supportsRequestStream&&"get"!==n&&"head"!==n&&0!==(g=await resolveBodyLength(u,o))){let e,n=new Request(t,{method:"POST",body:o,duplex:"half"});if(utils$1.isFormData(o)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=progressEventDecorator(g,progressEventReducer(asyncDecorator(s)));o=trackStream(n.body,DEFAULT_CHUNK_SIZE,e,t)}}utils$1.isString(d)||(d=d?"include":"omit");const r="credentials"in Request.prototype;f=new Request(t,{...p,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:r?d:void 0});let i=await fetch(f);const a=supportsResponseStream&&("stream"===c||"response"===c);if(supportsResponseStream&&(l||a&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=utils$1.toFiniteNumber(i.headers.get("content-length")),[n,o]=l&&progressEventDecorator(t,progressEventReducer(asyncDecorator(l),!0))||[];i=new Response(trackStream(i.body,DEFAULT_CHUNK_SIZE,n,(()=>{o&&o(),m&&m()})),e)}c=c||"text";let v=await resolvers[utils$1.findKey(resolvers,c)||"text"](i,e);return!a&&m&&m(),await new Promise(((t,n)=>{settle(t,n,{data:v,headers:AxiosHeaders$1.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:f})}))}catch(v){if(m&&m(),v&&"TypeError"===v.name&&/Load failed|fetch/i.test(v.message))throw Object.assign(new AxiosError$1("Network Error",AxiosError$1.ERR_NETWORK,e,f),{cause:v.cause||v});throw AxiosError$1.from(v,v&&v.code,e,f)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e2){}Object.defineProperty(e,"adapterName",{value:t})}}));const renderReason=e=>`- ${e}`,isResolvedHandle=e=>utils$1.isFunction(e)||null===e||!1===e,adapters={getAdapter:e=>{e=utils$1.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i<t;i++){let t;if(n=e[i],o=n,!isResolvedHandle(n)&&(o=knownAdapters[(t=String(n)).toLowerCase()],void 0===o))throw new AxiosError$1(`Unknown adapter '${t}'`);if(o)break;r[t||"#"+i]=o}if(!o){const e=Object.entries(r).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new AxiosError$1("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(renderReason).join("\n"):" "+renderReason(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o},adapters:knownAdapters};function throwIfCancellationRequested(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new CanceledError$1(null,e)}function dispatchRequest(e){throwIfCancellationRequested(e),e.headers=AxiosHeaders$1.from(e.headers),e.data=transformData.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return adapters.getAdapter(e.adapter||defaults.adapter)(e).then((function(t){return throwIfCancellationRequested(e),t.data=transformData.call(e,e.transformResponse,t),t.headers=AxiosHeaders$1.from(t.headers),t}),(function(t){return isCancel$1(t)||(throwIfCancellationRequested(e),t&&t.response&&(t.response.data=transformData.call(e,e.transformResponse,t.response),t.response.headers=AxiosHeaders$1.from(t.response.headers))),Promise.reject(t)}))}const VERSION$1="1.9.0",validators$2={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{validators$2[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const deprecatedWarnings={};function assertOptions(e,t,n){if("object"!=typeof e)throw new AxiosError$1("options must be an object",AxiosError$1.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new AxiosError$1("option "+i+" must be "+n,AxiosError$1.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new AxiosError$1("Unknown option "+i,AxiosError$1.ERR_BAD_OPTION)}}validators$2.transitional=function(e,t,n){return(o,r,i)=>{if(!1===e)throw new AxiosError$1(function(e,t){return"[Axios v"+VERSION$1+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}(r," has been removed"+(t?" in "+t:"")),AxiosError$1.ERR_DEPRECATED);return t&&!deprecatedWarnings[r]&&(deprecatedWarnings[r]=!0),!e||e(o,r,i)}},validators$2.spelling=function(e){return(e,t)=>!0};const validator={assertOptions:assertOptions,validators:validators$2},validators$1=validator.validators;let Axios$1=class{constructor(e){this.defaults=e||{},this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(e2){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=mergeConfig$2(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;void 0!==n&&validator.assertOptions(n,{silentJSONParsing:validators$1.transitional(validators$1.boolean),forcedJSONParsing:validators$1.transitional(validators$1.boolean),clarifyTimeoutError:validators$1.transitional(validators$1.boolean)},!1),null!=o&&(utils$1.isFunction(o)?t.paramsSerializer={serialize:o}:validator.assertOptions(o,{encode:validators$1.function,serialize:validators$1.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),validator.assertOptions(t,{baseUrl:validators$1.spelling("baseURL"),withXsrfToken:validators$1.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=r&&utils$1.merge(r.common,r[t.method]);r&&utils$1.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]})),t.headers=AxiosHeaders$1.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const s=[];let c;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let u,d=0;if(!l){const e=[dispatchRequest.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,s),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let p=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{p=e(p)}catch(f){t.call(this,f);break}}try{c=dispatchRequest.call(this,p)}catch(f){return Promise.reject(f)}for(d=0,u=s.length;d<u;)c=c.then(s[d++],s[d++]);return c}getUri(e){return buildURL(buildFullPath((e=mergeConfig$2(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};utils$1.forEach(["delete","get","head","options"],(function(e){Axios$1.prototype[e]=function(t,n){return this.request(mergeConfig$2(n||{},{method:e,url:t,data:(n||{}).data}))}})),utils$1.forEach(["post","put","patch"],(function(e){function t(t){return function(n,o,r){return this.request(mergeConfig$2(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:o}))}}Axios$1.prototype[e]=t(),Axios$1.prototype[e+"Form"]=t(!0)}));let CancelToken$1=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,r){n.reason||(n.reason=new CanceledError$1(e,o,r),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e((function(e){t=e})),cancel:t}}};function spread$1(e){return function(t){return e.apply(null,t)}}function isAxiosError$1(e){return utils$1.isObject(e)&&!0===e.isAxiosError}const HttpStatusCode$1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};function createInstance$1(e){const t=new Axios$1(e),n=bind(Axios$1.prototype.request,t);return utils$1.extend(n,Axios$1.prototype,t,{allOwnKeys:!0}),utils$1.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return createInstance$1(mergeConfig$2(e,t))},n}Object.entries(HttpStatusCode$1).forEach((([e,t])=>{HttpStatusCode$1[t]=e}));const axios=createInstance$1(defaults);axios.Axios=Axios$1,axios.CanceledError=CanceledError$1,axios.CancelToken=CancelToken$1,axios.isCancel=isCancel$1,axios.VERSION=VERSION$1,axios.toFormData=toFormData$1,axios.AxiosError=AxiosError$1,axios.Cancel=axios.CanceledError,axios.all=function(e){return Promise.all(e)},axios.spread=spread$1,axios.isAxiosError=isAxiosError$1,axios.mergeConfig=mergeConfig$2,axios.AxiosHeaders=AxiosHeaders$1,axios.formToJSON=e=>formDataToJSON(utils$1.isHTMLForm(e)?new FormData(e):e),axios.getAdapter=adapters.getAdapter,axios.HttpStatusCode=HttpStatusCode$1,axios.default=axios;const{Axios:Axios,AxiosError:AxiosError,CanceledError:CanceledError,isCancel:isCancel,CancelToken:CancelToken,VERSION:VERSION,all:all,Cancel:Cancel,isAxiosError:isAxiosError,spread:spread,toFormData:toFormData,AxiosHeaders:AxiosHeaders,HttpStatusCode:HttpStatusCode,formToJSON:formToJSON,getAdapter:getAdapter,mergeConfig:mergeConfig$1}=axios,version="2.9.10",INSTALLED_KEY=Symbol("INSTALLED_KEY"),configProviderContextKey=Symbol(),defaultNamespace="el",statePrefix="is-",_bem=(e,t,n,o,r)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),o&&(i+=`__${o}`),r&&(i+=`--${r}`),i},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=e=>{const t=e||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed((()=>unref(t)||defaultNamespace))},useNamespace=(e,t)=>{const n=useGetDerivedNamespace(t);return{namespace:n,b:(t="")=>_bem(n.value,e,t,"",""),e:t=>t?_bem(n.value,e,"",t,""):"",m:t=>t?_bem(n.value,e,"","",t):"",be:(t,o)=>t&&o?_bem(n.value,e,t,o,""):"",em:(t,o)=>t&&o?_bem(n.value,e,"",t,o):"",bm:(t,o)=>t&&o?_bem(n.value,e,t,"",o):"",bem:(t,o,r)=>t&&o&&r?_bem(n.value,e,t,o,r):"",is:(e,...t)=>{const n=!(t.length>=1)||t[0];return e&&n?`${statePrefix}${e}`:""},cssVar:e=>{const t={};for(const o in e)e[o]&&(t[`--${n.value}-${o}`]=e[o]);return t},cssVarName:e=>`--${n.value}-${e}`,cssVarBlock:t=>{const o={};for(const r in t)t[r]&&(o[`--${n.value}-${e}-${r}`]=t[r]);return o},cssVarBlockName:t=>`--${n.value}-${e}-${t}`}},isUndefined=e=>void 0===e,isBoolean=e=>"boolean"==typeof e,isNumber=e=>"number"==typeof e,isEmpty=e=>!e&&0!==e||isArray$6(e)&&0===e.length||isObject$8(e)&&!Object.keys(e).length,isElement$1=e=>"undefined"!=typeof Element&&e instanceof Element,isPropAbsent=e=>isNil(e),isStringNumber=e=>!!isString$4(e)&&!Number.isNaN(Number(e)),isWindow=e=>e===window;var __defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(e,t,n)=>t in e?__defProp$9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__spreadValues$9=(e,t)=>{for(var n in t||(t={}))__hasOwnProp$b.call(t,n)&&__defNormalProp$9(e,n,t[n]);if(__getOwnPropSymbols$b)for(var n of __getOwnPropSymbols$b(t))__propIsEnum$b.call(t,n)&&__defNormalProp$9(e,n,t[n]);return e},__spreadProps$6=(e,t)=>__defProps$6(e,__getOwnPropDescs$6(t)),_a;function computedEager(e,t){const n=shallowRef();return watchEffect((()=>{n.value=e()}),__spreadProps$6(__spreadValues$9({},t),{flush:null!=void 0?undefined:"sync"})),readonly(n)}const isClient="undefined"!=typeof window,isDef=e=>void 0!==e,isFunction=e=>"function"==typeof e,isString=e=>"string"==typeof e,noop=()=>{},isIOS=isClient&&(null==(_a=null==window?void 0:window.navigator)?void 0:_a.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(e){return"function"==typeof e?e():unref(e)}function createFilterWrapper(e,t){return function(...n){return new Promise(((o,r)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(o).catch(r)}))}}function debounceFilter(e,t={}){let n,o,r=noop;const i=e=>{clearTimeout(e),r(),r=noop};return a=>{const l=resolveUnref(e),s=resolveUnref(t.maxWait);return n&&i(n),l<=0||void 0!==s&&s<=0?(o&&(i(o),o=null),Promise.resolve(a())):new Promise(((e,c)=>{r=t.rejectOnCancel?c:e,s&&!o&&(o=setTimeout((()=>{n&&i(n),o=null,e(a())}),s)),n=setTimeout((()=>{o&&i(o),o=null,e(a())}),l)}))}}function throttleFilter(e,t=!0,n=!0,o=!1){let r,i,a=0,l=!0,s=noop;const c=()=>{r&&(clearTimeout(r),r=void 0,s(),s=noop)};return u=>{const d=resolveUnref(e),p=Date.now()-a,f=()=>i=u();return c(),d<=0?(a=Date.now(),f()):(p>d&&(n||!l)?(a=Date.now(),f()):t&&(i=new Promise(((e,t)=>{s=o?t:e,r=setTimeout((()=>{a=Date.now(),l=!0,e(f()),c()}),Math.max(0,d-p))}))),n||r||(r=setTimeout((()=>l=!0),d)),l=!1,i)}}function identity(e){return e}function computedWithControl(e,t){let n,o,r;const i=ref(!0),a=()=>{i.value=!0,r()};watch(e,a,{flush:"sync"});const l=isFunction(t)?t:t.get,s=isFunction(t)?void 0:t.set,c=customRef(((e,t)=>(o=e,r=t,{get:()=>(i.value&&(n=l(),i.value=!1),o(),n),set(e){null==s||s(e)}})));return Object.isExtensible(c)&&(c.trigger=a),c}function tryOnScopeDispose(e){return!!getCurrentScope()&&(onScopeDispose(e),!0)}function useDebounceFn(e,t=200,n={}){return createFilterWrapper(debounceFilter(t,n),e)}function refDebounced(e,t=200,n={}){const o=ref(e.value),r=useDebounceFn((()=>{o.value=e.value}),t,n);return watch(e,(()=>r())),o}function useThrottleFn(e,t=200,n=!1,o=!0,r=!1){return createFilterWrapper(throttleFilter(t,n,o,r),e)}function tryOnMounted(e,t=!0){getCurrentInstance()?onMounted(e):t?e():nextTick(e)}function useTimeoutFn(e,t,n={}){const{immediate:o=!0}=n,r=ref(!1);let i=null;function a(){i&&(clearTimeout(i),i=null)}function l(){r.value=!1,a()}function s(...n){a(),r.value=!0,i=setTimeout((()=>{r.value=!1,i=null,e(...n)}),resolveUnref(t))}return o&&(r.value=!0,isClient&&s()),tryOnScopeDispose(l),{isPending:readonly(r),start:s,stop:l}}function unrefElement(e){var t;const n=resolveUnref(e);return null!=(t=null==n?void 0:n.$el)?t:n}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...e){let t,n,o,r;if(isString(e[0])||Array.isArray(e[0])?([n,o,r]=e,t=defaultWindow):[t,n,o,r]=e,!t)return noop;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach((e=>e())),i.length=0},l=watch((()=>[unrefElement(t),resolveUnref(r)]),(([e,t])=>{a(),e&&i.push(...n.flatMap((n=>o.map((o=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,n,o,t))))))}),{immediate:!0,flush:"post"}),s=()=>{l(),a()};return tryOnScopeDispose(s),s}let _iOSWorkaround=!1;function onClickOutside(e,t,n={}){const{window:o=defaultWindow,ignore:r=[],capture:i=!0,detectIframe:a=!1}=n;if(!o)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(o.document.body.children).forEach((e=>e.addEventListener("click",noop))));let l=!0;const s=e=>r.some((t=>{if("string"==typeof t)return Array.from(o.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const n=unrefElement(t);return n&&(e.target===n||e.composedPath().includes(n))}})),c=[useEventListener(o,"click",(n=>{const o=unrefElement(e);o&&o!==n.target&&!n.composedPath().includes(o)&&(0===n.detail&&(l=!s(n)),l?t(n):l=!0)}),{passive:!0,capture:i}),useEventListener(o,"pointerdown",(t=>{const n=unrefElement(e);n&&(l=!t.composedPath().includes(n)&&!s(t))}),{passive:!0}),a&&useEventListener(o,"blur",(n=>{var r;const i=unrefElement(e);"IFRAME"!==(null==(r=o.document.activeElement)?void 0:r.tagName)||(null==i?void 0:i.contains(o.document.activeElement))||t(n)}))].filter(Boolean);return()=>c.forEach((e=>e()))}function useActiveElement(e={}){var t;const{window:n=defaultWindow}=e,o=null!=(t=e.document)?t:null==n?void 0:n.document,r=computedWithControl((()=>null),(()=>null==o?void 0:o.activeElement));return n&&(useEventListener(n,"blur",(e=>{null===e.relatedTarget&&r.trigger()}),!0),useEventListener(n,"focus",r.trigger,!0)),r}function useSupported(e,t=!1){const n=ref(),o=()=>n.value=Boolean(e());return o(),tryOnMounted(o,t),n}function cloneFnJSON(e){return JSON.parse(JSON.stringify(e))}const _global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},globalKey="__vueuse_ssr_handlers__";function useCssVar(e,t,{window:n=defaultWindow,initialValue:o=""}={}){const r=ref(o),i=computed((()=>{var e;return unrefElement(t)||(null==(e=null==n?void 0:n.document)?void 0:e.documentElement)}));return watch([i,()=>resolveUnref(e)],(([e,t])=>{var i;if(e&&n){const a=null==(i=n.getComputedStyle(e).getPropertyValue(t))?void 0:i.trim();r.value=a||o}}),{immediate:!0}),watch(r,(t=>{var n;(null==(n=i.value)?void 0:n.style)&&i.value.style.setProperty(resolveUnref(e),t)})),r}function useDocumentVisibility({document:e=defaultDocument}={}){if(!e)return ref("visible");const t=ref(e.visibilityState);return useEventListener(e,"visibilitychange",(()=>{t.value=e.visibilityState})),t}_global[globalKey]=_global[globalKey]||{};var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(e,t)=>{var n={};for(var o in e)__hasOwnProp$g.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&__getOwnPropSymbols$g)for(var o of __getOwnPropSymbols$g(e))t.indexOf(o)<0&&__propIsEnum$g.call(e,o)&&(n[o]=e[o]);return n};function useResizeObserver(e,t,n={}){const o=n,{window:r=defaultWindow}=o,i=__objRest$2(o,["window"]);let a;const l=useSupported((()=>r&&"ResizeObserver"in r)),s=()=>{a&&(a.disconnect(),a=void 0)},c=watch((()=>unrefElement(e)),(e=>{s(),l.value&&r&&e&&(a=new ResizeObserver(t),a.observe(e,i))}),{immediate:!0,flush:"post"}),u=()=>{s(),c()};return tryOnScopeDispose(u),{isSupported:l,stop:u}}function useElementBounding(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:r=!0,immediate:i=!0}=t,a=ref(0),l=ref(0),s=ref(0),c=ref(0),u=ref(0),d=ref(0),p=ref(0),f=ref(0);function h(){const t=unrefElement(e);if(!t)return void(n&&(a.value=0,l.value=0,s.value=0,c.value=0,u.value=0,d.value=0,p.value=0,f.value=0));const o=t.getBoundingClientRect();a.value=o.height,l.value=o.bottom,s.value=o.left,c.value=o.right,u.value=o.top,d.value=o.width,p.value=o.x,f.value=o.y}return useResizeObserver(e,h),watch((()=>unrefElement(e)),(e=>!e&&h())),r&&useEventListener("scroll",h,{capture:!0,passive:!0}),o&&useEventListener("resize",h,{passive:!0}),tryOnMounted((()=>{i&&h()})),{height:a,bottom:l,left:s,right:c,top:u,width:d,x:p,y:f,update:h}}var __getOwnPropSymbols$8=Object.getOwnPropertySymbols,__hasOwnProp$8=Object.prototype.hasOwnProperty,__propIsEnum$8=Object.prototype.propertyIsEnumerable,__objRest$1=(e,t)=>{var n={};for(var o in e)__hasOwnProp$8.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&__getOwnPropSymbols$8)for(var o of __getOwnPropSymbols$8(e))t.indexOf(o)<0&&__propIsEnum$8.call(e,o)&&(n[o]=e[o]);return n},SwipeDirection,SwipeDirection2;function useMutationObserver(e,t,n={}){const o=n,{window:r=defaultWindow}=o,i=__objRest$1(o,["window"]);let a;const l=useSupported((()=>r&&"MutationObserver"in r)),s=()=>{a&&(a.disconnect(),a=void 0)},c=watch((()=>unrefElement(e)),(e=>{s(),l.value&&r&&e&&(a=new MutationObserver(t),a.observe(e,i))}),{immediate:!0}),u=()=>{s(),c()};return tryOnScopeDispose(u),{isSupported:l,stop:u}}SwipeDirection2=SwipeDirection||(SwipeDirection={}),SwipeDirection2.UP="UP",SwipeDirection2.RIGHT="RIGHT",SwipeDirection2.DOWN="DOWN",SwipeDirection2.LEFT="LEFT",SwipeDirection2.NONE="NONE";var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__spreadValues=(e,t)=>{for(var n in t||(t={}))__hasOwnProp.call(t,n)&&__defNormalProp(e,n,t[n]);if(__getOwnPropSymbols)for(var n of __getOwnPropSymbols(t))__propIsEnum.call(t,n)&&__defNormalProp(e,n,t[n]);return e};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};function useVModel(e,t,n,o={}){var r,i,a;const{clone:l=!1,passive:s=!1,eventName:c,deep:u=!1,defaultValue:d}=o,p=getCurrentInstance(),f=n||(null==p?void 0:p.emit)||(null==(r=null==p?void 0:p.$emit)?void 0:r.bind(p))||(null==(a=null==(i=null==p?void 0:p.proxy)?void 0:i.$emit)?void 0:a.bind(null==p?void 0:p.proxy));let h=c;t||(t="modelValue"),h=c||h||`update:${t.toString()}`;const m=e=>l?isFunction(l)?l(e):cloneFnJSON(e):e,g=()=>isDef(e[t])?m(e[t]):d;if(s){const n=ref(g());return watch((()=>e[t]),(e=>n.value=m(e))),watch(n,(n=>{(n!==e[t]||u)&&f(h,n)}),{deep:u}),n}return computed({get:()=>g(),set(e){f(h,e)}})}function useWindowFocus({window:e=defaultWindow}={}){if(!e)return ref(!1);const t=ref(e.document.hasFocus());return useEventListener(e,"blur",(()=>{t.value=!1})),useEventListener(e,"focus",(()=>{t.value=!0})),t}function useWindowSize(e={}){const{window:t=defaultWindow,initialWidth:n=1/0,initialHeight:o=1/0,listenOrientation:r=!0,includeScrollbar:i=!0}=e,a=ref(n),l=ref(o),s=()=>{t&&(i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};return s(),tryOnMounted(s),useEventListener("resize",s,{passive:!0}),r&&useEventListener("orientationchange",s,{passive:!0}),{width:a,height:l}}__spreadValues({linear:identity},_TransitionPresets);class ElementPlusError extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function throwError(e,t){throw new ElementPlusError(`[${e}] ${t}`)}function debugWarn(e,t){}const initial={current:0},zIndex=ref(0),defaultInitialZIndex=2e3,ZINDEX_INJECTION_KEY=Symbol("elZIndexContextKey"),zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=e=>{const t=getCurrentInstance()?inject(ZINDEX_INJECTION_KEY,initial):initial,n=e||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),o=computed((()=>{const e=unref(n);return isNumber(e)?e:defaultInitialZIndex})),r=computed((()=>o.value+zIndex.value));return!isClient&&inject(ZINDEX_INJECTION_KEY),{initialZIndex:o,currentZIndex:r,nextZIndex:()=>(t.current++,zIndex.value=t.current,r.value)}};var English={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const buildTranslator=e=>(t,n)=>translate(t,n,unref(e)),translate=(e,t,n)=>get$1(n,e,e).replace(/\{(\w+)\}/g,((e,n)=>{var o;return`${null!=(o=null==t?void 0:t[n])?o:`{${n}}`}`})),buildLocaleContext=e=>({lang:computed((()=>unref(e).name)),locale:isRef(e)?e:ref(e),t:buildTranslator(e)}),localeContextKey=Symbol("localeContextKey"),useLocale=e=>{const t=e||inject(localeContextKey,ref());return buildLocaleContext(computed((()=>t.value||English)))},epPropKey="__epPropKey",definePropType=e=>e,isEpProp=e=>isObject$8(e)&&!!e[epPropKey],buildProp=(e,t)=>{if(!isObject$8(e)||isEpProp(e))return e;const{values:n,required:o,default:r,type:i,validator:a}=e,l={type:i,required:!!o,validator:n||a?o=>{let i=!1,l=[];if(n&&(l=Array.from(n),hasOwn$1(e,"default")&&l.push(r),i||(i=l.includes(o))),a&&(i||(i=a(o))),!i&&l.length>0){const e=[...new Set(l)].map((e=>JSON.stringify(e))).join(", ");warn(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(o)}.`)}return i}:void 0,[epPropKey]:!0};return hasOwn$1(e,"default")&&(l.default=r),l},buildProps=e=>fromPairs(Object.entries(e).map((([e,t])=>[e,buildProp(t,e)]))),componentSizes=["","default","small","large"],useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const e=inject(SIZE_INJECTION_KEY,{});return computed((()=>unref(e.size)||""))},emptyValuesContextKey=Symbol("emptyValuesContextKey"),DEFAULT_EMPTY_VALUES=["",void 0,null],DEFAULT_VALUE_ON_CLEAR=void 0,useEmptyValuesProps=buildProps({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>isFunction$5(e)?!e():!e}}),useEmptyValues=(e,t)=>{const n=getCurrentInstance()?inject(emptyValuesContextKey,ref({})):ref({}),o=computed((()=>e.emptyValues||n.value.emptyValues||DEFAULT_EMPTY_VALUES)),r=computed((()=>isFunction$5(e.valueOnClear)?e.valueOnClear():void 0!==e.valueOnClear?e.valueOnClear:isFunction$5(n.value.valueOnClear)?n.value.valueOnClear():void 0!==n.value.valueOnClear?n.value.valueOnClear:void 0!==t?t:DEFAULT_VALUE_ON_CLEAR));return o.value.includes(r.value),{emptyValues:o,valueOnClear:r,isEmptyValue:e=>o.value.includes(e)}},keysOf=e=>Object.keys(e),entriesOf=e=>Object.entries(e),getProp=(e,t,n)=>({get value(){return get$1(e,t,n)},set value(n){set$2(e,t,n)}}),globalConfig=ref();function useGlobalConfig(e,t=void 0){const n=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return e?computed((()=>{var o,r;return null!=(r=null==(o=n.value)?void 0:o[e])?r:t})):n}function useGlobalComponentSettings(e,t){const n=useGlobalConfig(),o=useNamespace(e,computed((()=>{var e;return(null==(e=n.value)?void 0:e.namespace)||defaultNamespace}))),r=useLocale(computed((()=>{var e;return null==(e=n.value)?void 0:e.locale}))),i=useZIndex(computed((()=>{var e;return(null==(e=n.value)?void 0:e.zIndex)||defaultInitialZIndex}))),a=computed((()=>{var e;return unref(t)||(null==(e=n.value)?void 0:e.size)||""}));return provideGlobalConfig(computed((()=>unref(n)||{}))),{ns:o,locale:r,zIndex:i,size:a}}const provideGlobalConfig=(e,t,n=!1)=>{var o;const r=!!getCurrentInstance(),i=r?useGlobalConfig():void 0,a=null!=(o=null==t?void 0:t.provide)?o:r?provide:void 0;if(!a)return;const l=computed((()=>{const t=unref(e);return(null==i?void 0:i.value)?mergeConfig(i.value,t):t}));return a(configProviderContextKey,l),a(localeContextKey,computed((()=>l.value.locale))),a(namespaceContextKey,computed((()=>l.value.namespace))),a(zIndexContextKey,computed((()=>l.value.zIndex))),a(SIZE_INJECTION_KEY,{size:computed((()=>l.value.size||""))}),a(emptyValuesContextKey,computed((()=>({emptyValues:l.value.emptyValues,valueOnClear:l.value.valueOnClear})))),!n&&globalConfig.value||(globalConfig.value=l.value),l},mergeConfig=(e,t)=>{const n=[...new Set([...keysOf(e),...keysOf(t)])],o={};for(const r of n)o[r]=void 0!==t[r]?t[r]:e[r];return o},makeInstaller=(e=[])=>({version:version,install:(t,n)=>{t[INSTALLED_KEY]||(t[INSTALLED_KEY]=!0,e.forEach((e=>t.use(e))),n&&provideGlobalConfig(n,t,!0))}}),UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",affixProps=buildProps({zIndex:{type:definePropType([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),affixEmits={scroll:({scrollTop:e,fixed:t})=>isNumber(e)&&isBoolean(t),[CHANGE_EVENT]:e=>isBoolean(e)};var _export_sfc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function easeInOutCubic(e,t,n,o){const r=n-t;return(e/=o/2)<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t}const rAF=e=>isClient?window.requestAnimationFrame(e):setTimeout(e,16),cAF=e=>isClient?window.cancelAnimationFrame(e):clearTimeout(e),classNameToArray=(e="")=>e.split(" ").filter((e=>!!e.trim())),hasClass=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},addClass=(e,t)=>{e&&t.trim()&&e.classList.add(...classNameToArray(t))},removeClass=(e,t)=>{e&&t.trim()&&e.classList.remove(...classNameToArray(t))},getStyle=(e,t)=>{var n;if(!isClient||!e||!t)return"";let o=camelize(t);"float"===o&&(o="cssFloat");try{const t=e.style[o];if(t)return t;const r=null==(n=document.defaultView)?void 0:n.getComputedStyle(e,"");return r?r[o]:""}catch(e2){return e.style[o]}},setStyle=(e,t,n)=>{if(e&&t)if(isObject$8(t))entriesOf(t).forEach((([t,n])=>setStyle(e,t,n)));else{const o=camelize(t);e.style[o]=n}};function addUnit(e,t="px"){return e?isNumber(e)||isStringNumber(e)?`${e}${t}`:isString$4(e)?e:void 0:""}const isScroll=(e,t)=>{if(!isClient)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=getStyle(e,n);return["scroll","auto","overlay"].some((e=>o.includes(e)))},getScrollContainer=(e,t)=>{if(!isClient)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(isScroll(n,t))return n;n=n.parentNode}return n};let scrollBarWidth;const getScrollBarWidth=e=>{var t;if(!isClient)return 0;if(void 0!==scrollBarWidth)return scrollBarWidth;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const i=r.offsetWidth;return null==(t=n.parentNode)||t.removeChild(n),scrollBarWidth=o-i,scrollBarWidth};function scrollIntoView(e,t){if(!isClient)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const r=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),i=r+t.offsetHeight,a=e.scrollTop,l=a+e.clientHeight;r<a?e.scrollTop=r:i>l&&(e.scrollTop=i-e.clientHeight)}function animateScrollTo(e,t,n,o,r){const i=Date.now();let a;const l=()=>{const s=Date.now()-i,c=easeInOutCubic(s>o?o:s,t,n,o);isWindow(e)?e.scrollTo(window.pageXOffset,c):e.scrollTop=c,s<o?a=rAF(l):isFunction$5(r)&&r()};return l(),()=>{a&&cAF(a)}}const getScrollElement=(e,t)=>isWindow(t)?e.ownerDocument.documentElement:t,getScrollTop=e=>isWindow(e)?window.scrollY:e.scrollTop,COMPONENT_NAME$p="ElAffix",__default__$1U=defineComponent({name:COMPONENT_NAME$p}),_sfc_main$2y=defineComponent({...__default__$1U,props:affixProps,emits:affixEmits,setup(e,{expose:t,emit:n}){const o=e,r=useNamespace("affix"),i=shallowRef(),a=shallowRef(),l=shallowRef(),{height:s}=useWindowSize(),{height:c,width:u,top:d,bottom:p,update:f}=useElementBounding(a,{windowScroll:!1}),h=useElementBounding(i),m=ref(!1),g=ref(0),v=ref(0),y=computed((()=>({height:m.value?`${c.value}px`:"",width:m.value?`${u.value}px`:""}))),b=computed((()=>{if(!m.value)return{};const e=o.offset?addUnit(o.offset):0;return{height:`${c.value}px`,width:`${u.value}px`,top:"top"===o.position?e:"",bottom:"bottom"===o.position?e:"",transform:v.value?`translateY(${v.value}px)`:"",zIndex:o.zIndex}})),_=()=>{if(!l.value)return;g.value=l.value instanceof Window?document.documentElement.scrollTop:l.value.scrollTop||0;const{position:e,target:t,offset:n}=o,r=n+c.value;if("top"===e)if(t){const e=h.bottom.value-r;m.value=n>d.value&&h.bottom.value>0,v.value=e<0?e:0}else m.value=n>d.value;else if(t){const e=s.value-h.top.value-r;m.value=s.value-n<p.value&&s.value>h.top.value,v.value=e<0?-e:0}else m.value=s.value-n<p.value};return watch(m,(e=>n(CHANGE_EVENT,e))),onMounted((()=>{var e;o.target?(i.value=null!=(e=document.querySelector(o.target))?e:void 0,i.value||throwError(COMPONENT_NAME$p,`Target does not exist: ${o.target}`)):i.value=document.documentElement,l.value=getScrollContainer(a.value,!0),f()})),useEventListener(l,"scroll",(async()=>{f(),await nextTick(),n("scroll",{scrollTop:g.value,fixed:m.value})})),watchEffect(_),t({update:_,updateRoot:f}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:a,class:normalizeClass(unref(r).b()),style:normalizeStyle$1(unref(y))},[createBaseVNode("div",{class:normalizeClass({[unref(r).m("fixed")]:m.value}),style:normalizeStyle$1(unref(b))},[renderSlot(e.$slots,"default")],6)],6))}});var Affix=_export_sfc(_sfc_main$2y,[["__file","affix.vue"]]);const withInstall=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(null!=t?t:{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},withInstallFunction=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),withInstallDirective=(e,t)=>(e.install=n=>{n.directive(t,e)},e),withNoopInstall=e=>(e.install=NOOP,e),ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1T=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2x=defineComponent({...__default__$1T,props:iconProps,setup(e){const t=e,n=useNamespace("icon"),o=computed((()=>{const{size:e,color:n}=t;return e||n?{fontSize:isUndefined(e)?void 0:addUnit(e),"--color":n}:{}}));return(e,t)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(n).b(),style:unref(o)},e.$attrs),[renderSlot(e.$slots,"default")],16))}});var Icon=_export_sfc(_sfc_main$2x,[["__file","icon.vue"]]);const ElIcon=withInstall(Icon),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:e=>e instanceof MouseEvent},__default__$1S=defineComponent({name:"ElAlert"}),_sfc_main$2w=defineComponent({...__default__$1S,props:alertProps,emits:alertEmits,setup(e,{emit:t}){const n=e,{Close:o}=TypeComponents,r=useSlots(),i=useNamespace("alert"),a=ref(!0),l=computed((()=>TypeComponentsMap[n.type])),s=computed((()=>!(!n.description&&!r.default))),c=e=>{a.value=!1,t("close",e)};return(e,t)=>(openBlock(),createBlock(Transition,{name:unref(i).b("fade"),persisted:""},{default:withCtx((()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(i).b(),unref(i).m(e.type),unref(i).is("center",e.center),unref(i).is(e.effect)]),role:"alert"},[e.showIcon&&(e.$slots.icon||unref(l))?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(i).e("icon"),{[unref(i).is("big")]:unref(s)}])},{default:withCtx((()=>[renderSlot(e.$slots,"icon",{},(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(l))))]))])),_:3},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(i).e("content"))},[e.title||e.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(i).e("title"),{"with-description":unref(s)}])},[renderSlot(e.$slots,"title",{},(()=>[createTextVNode(toDisplayString(e.title),1)]))],2)):createCommentVNode("v-if",!0),unref(s)?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(i).e("description"))},[renderSlot(e.$slots,"default",{},(()=>[createTextVNode(toDisplayString(e.description),1)]))],2)):createCommentVNode("v-if",!0),e.closable?(openBlock(),createElementBlock(Fragment,{key:2},[e.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(i).e("close-btn"),unref(i).is("customed")]),onClick:c},toDisplayString(e.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(i).e("close-btn")),onClick:c},{default:withCtx((()=>[createVNode$1(unref(o))])),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,a.value]])])),_:3},8,["name"]))}});var Alert=_export_sfc(_sfc_main$2w,[["__file","alert.vue"]]);const ElAlert=withInstall(Alert),isFirefox=()=>isClient&&/firefox/i.test(window.navigator.userAgent);let hiddenTextarea;const HIDDEN_STYLE={height:"0",visibility:"hidden",overflow:isFirefox()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},CONTEXT_STYLE=["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 calculateNodeStyling(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),r=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map((e=>[e,t.getPropertyValue(e)])),paddingSize:o,borderSize:r,boxSizing:n}}function calcTextareaHeight(e,t=1,n){var o;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:r,borderSize:i,boxSizing:a,contextStyle:l}=calculateNodeStyling(e);l.forEach((([e,t])=>null==hiddenTextarea?void 0:hiddenTextarea.style.setProperty(e,t))),Object.entries(HIDDEN_STYLE).forEach((([e,t])=>null==hiddenTextarea?void 0:hiddenTextarea.style.setProperty(e,t,"important"))),hiddenTextarea.value=e.value||e.placeholder||"";let s=hiddenTextarea.scrollHeight;const c={};"border-box"===a?s+=i:"content-box"===a&&(s-=r),hiddenTextarea.value="";const u=hiddenTextarea.scrollHeight-r;if(isNumber(t)){let e=u*t;"border-box"===a&&(e=e+r+i),s=Math.max(e,s),c.minHeight=`${e}px`}if(isNumber(n)){let e=u*n;"border-box"===a&&(e=e+r+i),s=Math.min(e,s)}return c.height=`${s}px`,null==(o=hiddenTextarea.parentNode)||o.removeChild(hiddenTextarea),hiddenTextarea=void 0,c}const mutable=e=>e,ariaProps=buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),useAriaProps=e=>pick(ariaProps,e),inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e),input:e=>isString$4(e),change:e=>isString$4(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,o=computed((()=>((null==n?void 0:n.value)||[]).concat(DEFAULT_EXCLUDE_KEYS))),r=getCurrentInstance();return computed(r?()=>{var e;return fromPairs(Object.entries(null==(e=r.proxy)?void 0:e.$attrs).filter((([e])=>!(o.value.includes(e)||t&&LISTENER_PREFIX.test(e)))))}:()=>({}))},formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),defaultIdInjection={prefix:Math.floor(1e4*Math.random()),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=e=>{const t=useIdInjection(),n=useGetDerivedNamespace();return computedEager((()=>unref(e)||`${n.value}-id-${t.prefix}-${t.current++}`))},useFormItem=()=>({form:inject(formContextKey,void 0),formItem:inject(formItemContextKey,void 0)}),useFormItemInputId=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:o})=>{n||(n=ref(!1)),o||(o=ref(!1));const r=ref();let i;const a=computed((()=>{var n;return!!(!e.label&&!e.ariaLabel&&t&&t.inputIds&&(null==(n=t.inputIds)?void 0:n.length)<=1)}));return onMounted((()=>{i=watch([toRef$1(e,"id"),n],(([e,n])=>{const i=null!=e?e:n?void 0:useId().value;i!==r.value&&((null==t?void 0:t.removeInputId)&&(r.value&&t.removeInputId(r.value),(null==o?void 0:o.value)||n||!i||t.addInputId(i)),r.value=i)}),{immediate:!0})})),onUnmounted((()=>{i&&i(),(null==t?void 0:t.removeInputId)&&r.value&&t.removeInputId(r.value)})),{isLabeledByFormItem:a,inputId:r}},useProp=e=>{const t=getCurrentInstance();return computed((()=>{var n,o;return null==(o=null==(n=null==t?void 0:t.proxy)?void 0:n.$props)?void 0:o[e]}))},useFormSize=(e,t={})=>{const n=ref(void 0),o=t.prop?n:useProp("size"),r=t.global?n:useGlobalSize(),i=t.form?{size:void 0}:inject(formContextKey,void 0),a=t.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed((()=>o.value||unref(e)||(null==a?void 0:a.size)||(null==i?void 0:i.size)||r.value||""))},useFormDisabled=e=>{const t=useProp("disabled"),n=inject(formContextKey,void 0);return computed((()=>t.value||unref(e)||(null==n?void 0:n.disabled)||!1))};function useFocusController(e,{beforeFocus:t,afterFocus:n,beforeBlur:o,afterBlur:r}={}){const i=getCurrentInstance(),{emit:a}=i,l=shallowRef(),s=useProp("disabled"),c=ref(!1),u=e=>{!!isFunction$5(t)&&t(e)||c.value||(c.value=!0,a("focus",e),null==n||n())},d=e=>{var t;!!isFunction$5(o)&&o(e)||e.relatedTarget&&(null==(t=l.value)?void 0:t.contains(e.relatedTarget))||(c.value=!1,a("blur",e),null==r||r())};return watch([l,s],(([e,t])=>{e&&(t?e.removeAttribute("tabindex"):e.setAttribute("tabindex","-1"))})),useEventListener(l,"focus",u,!0),useEventListener(l,"blur",d,!0),useEventListener(l,"click",(()=>{var t,n;(null==(t=l.value)?void 0:t.contains(document.activeElement))&&l.value!==document.activeElement||s.value||null==(n=e.value)||n.focus()}),!0),{isFocused:c,wrapperRef:l,handleFocus:u,handleBlur:d}}const isKorean=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function useComposition({afterComposition:e,emit:t}){const n=ref(!1),o=e=>{var o;null==t||t("compositionupdate",e);const r=null==(o=e.target)?void 0:o.value,i=r[r.length-1]||"";n.value=!isKorean(i)},r=o=>{null==t||t("compositionend",o),n.value&&(n.value=!1,nextTick((()=>e(o))))};return{isComposing:n,handleComposition:e=>{"compositionend"===e.type?r(e):o(e)},handleCompositionStart:e=>{null==t||t("compositionstart",e),n.value=!0},handleCompositionUpdate:o,handleCompositionEnd:r}}function useCursor(e){let t;return[function(){if(null==e.value)return;const{selectionStart:n,selectionEnd:o,value:r}=e.value;if(null==n||null==o)return;const i=r.slice(0,Math.max(0,n)),a=r.slice(Math.max(0,o));t={selectionStart:n,selectionEnd:o,value:r,beforeTxt:i,afterTxt:a}},function(){if(null==e.value||null==t)return;const{value:n}=e.value,{beforeTxt:o,afterTxt:r,selectionStart:i}=t;if(null==o||null==r||null==i)return;let a=n.length;if(n.endsWith(r))a=n.length-r.length;else if(n.startsWith(o))a=o.length;else{const e=o[i-1],t=n.indexOf(e,i-1);-1!==t&&(a=t+1)}e.value.setSelectionRange(a,a)}]}const COMPONENT_NAME$o="ElInput",__default__$1R=defineComponent({name:COMPONENT_NAME$o,inheritAttrs:!1}),_sfc_main$2v=defineComponent({...__default__$1R,props:inputProps,emits:inputEmits,setup(e,{expose:t,emit:n}){const o=e,r=useAttrs$1(),i=useAttrs(),a=useSlots(),l=computed((()=>["textarea"===o.type?m.b():h.b(),h.m(p.value),h.is("disabled",f.value),h.is("exceed",B.value),{[h.b("group")]:a.prepend||a.append,[h.m("prefix")]:a.prefix||o.prefixIcon,[h.m("suffix")]:a.suffix||o.suffixIcon||o.clearable||o.showPassword,[h.bm("suffix","password-clear")]:O.value&&R.value,[h.b("hidden")]:"hidden"===o.type},r.class])),s=computed((()=>[h.e("wrapper"),h.is("focus",S.value)])),{form:c,formItem:u}=useFormItem(),{inputId:d}=useFormItemInputId(o,{formItemContext:u}),p=useFormSize(),f=useFormDisabled(),h=useNamespace("input"),m=useNamespace("textarea"),g=shallowRef(),v=shallowRef(),y=ref(!1),b=ref(!1),_=ref(),w=shallowRef(o.inputStyle),k=computed((()=>g.value||v.value)),{wrapperRef:x,isFocused:S,handleFocus:C,handleBlur:E}=useFocusController(k,{beforeFocus:()=>f.value,afterBlur(){var e;o.validateEvent&&(null==(e=null==u?void 0:u.validate)||e.call(u,"blur").catch((e=>debugWarn())))}}),T=computed((()=>{var e;return null!=(e=null==c?void 0:c.statusIcon)&&e})),A=computed((()=>(null==u?void 0:u.validateState)||"")),$=computed((()=>A.value&&ValidateComponentsMap[A.value])),I=computed((()=>b.value?view_default:hide_default)),M=computed((()=>[r.style])),P=computed((()=>[o.inputStyle,w.value,{resize:o.resize}])),N=computed((()=>isNil(o.modelValue)?"":String(o.modelValue))),O=computed((()=>o.clearable&&!f.value&&!o.readonly&&!!N.value&&(S.value||y.value))),R=computed((()=>o.showPassword&&!f.value&&!!N.value&&(!!N.value||S.value))),D=computed((()=>o.showWordLimit&&!!o.maxlength&&("text"===o.type||"textarea"===o.type)&&!f.value&&!o.readonly&&!o.showPassword)),L=computed((()=>N.value.length)),B=computed((()=>!!D.value&&L.value>Number(o.maxlength))),V=computed((()=>!!a.suffix||!!o.suffixIcon||O.value||o.showPassword||D.value||!!A.value&&T.value)),[z,F]=useCursor(g);useResizeObserver(v,(e=>{if(j(),!D.value||"both"!==o.resize)return;const t=e[0],{width:n}=t.contentRect;_.value={right:`calc(100% - ${n+15+6}px)`}}));const H=()=>{const{type:e,autosize:t}=o;if(isClient&&"textarea"===e&&v.value)if(t){const e=isObject$8(t)?t.minRows:void 0,n=isObject$8(t)?t.maxRows:void 0,o=calcTextareaHeight(v.value,e,n);w.value={overflowY:"hidden",...o},nextTick((()=>{v.value.offsetHeight,w.value=o}))}else w.value={minHeight:calcTextareaHeight(v.value).minHeight}},j=(e=>{let t=!1;return()=>{var n;if(t||!o.autosize)return;null===(null==(n=v.value)?void 0:n.offsetParent)||(e(),t=!0)}})(H),G=()=>{const e=k.value,t=o.formatter?o.formatter(N.value):N.value;e&&e.value!==t&&(e.value=t)},U=async e=>{z();let{value:t}=e.target;o.formatter&&o.parser&&(t=o.parser(t)),Y.value||(t!==N.value?(n(UPDATE_MODEL_EVENT,t),n(INPUT_EVENT,t),await nextTick(),G(),F()):G())},W=e=>{let{value:t}=e.target;o.formatter&&o.parser&&(t=o.parser(t)),n(CHANGE_EVENT,t)},{isComposing:Y,handleCompositionStart:q,handleCompositionUpdate:K,handleCompositionEnd:Z}=useComposition({emit:n,afterComposition:U}),X=()=>{z(),b.value=!b.value,setTimeout(F)},J=e=>{y.value=!1,n("mouseleave",e)},Q=e=>{y.value=!0,n("mouseenter",e)},ee=e=>{n("keydown",e)},te=()=>{n(UPDATE_MODEL_EVENT,""),n(CHANGE_EVENT,""),n("clear"),n(INPUT_EVENT,"")};return watch((()=>o.modelValue),(()=>{var e;nextTick((()=>H())),o.validateEvent&&(null==(e=null==u?void 0:u.validate)||e.call(u,"change").catch((e=>debugWarn())))})),watch(N,(()=>G())),watch((()=>o.type),(async()=>{await nextTick(),G(),H()})),onMounted((()=>{!o.formatter&&o.parser,G(),nextTick(H)})),t({input:g,textarea:v,ref:k,textareaStyle:P,autosize:toRef$1(o,"autosize"),isComposing:Y,focus:()=>{var e;return null==(e=k.value)?void 0:e.focus()},blur:()=>{var e;return null==(e=k.value)?void 0:e.blur()},select:()=>{var e;null==(e=k.value)||e.select()},clear:te,resizeTextarea:H}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(l),{[unref(h).bm("group","append")]:e.$slots.append,[unref(h).bm("group","prepend")]:e.$slots.prepend}]),style:normalizeStyle$1(unref(M)),onMouseenter:Q,onMouseleave:J},[createCommentVNode(" input "),"textarea"!==e.type?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),e.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(h).be("group","prepend"))},[renderSlot(e.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:x,class:normalizeClass(unref(s))},[createCommentVNode(" prefix slot "),e.$slots.prefix||e.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(h).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(h).e("prefix-inner"))},[renderSlot(e.$slots,"prefix"),e.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(h).e("icon"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.prefixIcon)))])),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(d),ref_key:"input",ref:g,class:unref(h).e("inner")},unref(i),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?b.value?"text":"password":e.type,disabled:unref(f),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,onCompositionstart:unref(q),onCompositionupdate:unref(K),onCompositionend:unref(Z),onInput:U,onChange:W,onKeydown:ee}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","onCompositionstart","onCompositionupdate","onCompositionend"]),createCommentVNode(" suffix slot "),unref(V)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(h).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(h).e("suffix-inner"))},[unref(O)&&unref(R)&&unref(D)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(e.$slots,"suffix"),e.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(h).e("icon"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.suffixIcon)))])),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)),unref(O)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(h).e("icon"),unref(h).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:te},{default:withCtx((()=>[createVNode$1(unref(circle_close_default))])),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(R)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(h).e("icon"),unref(h).e("password")]),onClick:X},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(I))))])),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(D)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(h).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(h).e("count-inner"))},toDisplayString(unref(L))+" / "+toDisplayString(e.maxlength),3)],2)):createCommentVNode("v-if",!0),unref(A)&&unref($)&&unref(T)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(h).e("icon"),unref(h).e("validateIcon"),unref(h).is("loading","validating"===unref(A))])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref($))))])),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),e.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(h).be("group","append"))},[renderSlot(e.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(d),ref_key:"textarea",ref:v,class:[unref(m).e("inner"),unref(h).is("focus",unref(S))]},unref(i),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:unref(f),readonly:e.readonly,autocomplete:e.autocomplete,style:unref(P),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:unref(q),onCompositionupdate:unref(K),onCompositionend:unref(Z),onInput:U,onFocus:unref(C),onBlur:unref(E),onChange:W,onKeydown:ee}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),unref(D)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1(_.value),class:normalizeClass(unref(h).e("count"))},toDisplayString(unref(L))+" / "+toDisplayString(e.maxlength),7)):createCommentVNode("v-if",!0)],64))],38))}});var Input=_export_sfc(_sfc_main$2v,[["__file","input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={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"}},renderThumbStyle$1=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$n="Thumb",_sfc_main$2u=defineComponent({__name:"thumb",props:thumbProps,setup(e){const t=e,n=inject(scrollbarContextKey),o=useNamespace("scrollbar");n||throwError(COMPONENT_NAME$n,"can not inject scrollbar context");const r=ref(),i=ref(),a=ref({}),l=ref(!1);let s=!1,c=!1,u=isClient?document.onselectstart:null;const d=computed((()=>BAR_MAP[t.vertical?"vertical":"horizontal"])),p=computed((()=>renderThumbStyle$1({size:t.size,move:t.move,bar:d.value}))),f=computed((()=>r.value[d.value.offset]**2/n.wrapElement[d.value.scrollSize]/t.ratio/i.value[d.value.offset])),h=e=>{var t;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(t=window.getSelection())||t.removeAllRanges(),g(e);const n=e.currentTarget;n&&(a.value[d.value.axis]=n[d.value.offset]-(e[d.value.client]-n.getBoundingClientRect()[d.value.direction]))},m=e=>{if(!i.value||!r.value||!n.wrapElement)return;const t=100*(Math.abs(e.target.getBoundingClientRect()[d.value.direction]-e[d.value.client])-i.value[d.value.offset]/2)*f.value/r.value[d.value.offset];n.wrapElement[d.value.scroll]=t*n.wrapElement[d.value.scrollSize]/100},g=e=>{e.stopImmediatePropagation(),s=!0,document.addEventListener("mousemove",v),document.addEventListener("mouseup",y),u=document.onselectstart,document.onselectstart=()=>!1},v=e=>{if(!r.value||!i.value)return;if(!1===s)return;const t=a.value[d.value.axis];if(!t)return;const o=100*(-1*(r.value.getBoundingClientRect()[d.value.direction]-e[d.value.client])-(i.value[d.value.offset]-t))*f.value/r.value[d.value.offset];n.wrapElement[d.value.scroll]=o*n.wrapElement[d.value.scrollSize]/100},y=()=>{s=!1,a.value[d.value.axis]=0,document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",y),b(),c&&(l.value=!1)};onBeforeUnmount((()=>{b(),document.removeEventListener("mouseup",y)}));const b=()=>{document.onselectstart!==u&&(document.onselectstart=u)};return useEventListener(toRef$1(n,"scrollbarElement"),"mousemove",(()=>{c=!1,l.value=!!t.size})),useEventListener(toRef$1(n,"scrollbarElement"),"mouseleave",(()=>{c=!0,l.value=s})),(e,t)=>(openBlock(),createBlock(Transition,{name:unref(o).b("fade"),persisted:""},{default:withCtx((()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:r,class:normalizeClass([unref(o).e("bar"),unref(o).is(unref(d).key)]),onMousedown:m,onClick:withModifiers((()=>{}),["stop"])},[createBaseVNode("div",{ref_key:"thumb",ref:i,class:normalizeClass(unref(o).e("thumb")),style:normalizeStyle$1(unref(p)),onMousedown:h},null,38)],42,["onClick"]),[[vShow,e.always||l.value]])])),_:1},8,["name"]))}});var Thumb=_export_sfc(_sfc_main$2u,[["__file","thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_sfc_main$2t=defineComponent({__name:"bar",props:barProps,setup(e,{expose:t}){const n=e,o=inject(scrollbarContextKey),r=ref(0),i=ref(0),a=ref(""),l=ref(""),s=ref(1),c=ref(1);return t({handleScroll:e=>{if(e){const t=e.offsetHeight-GAP,n=e.offsetWidth-GAP;i.value=100*e.scrollTop/t*s.value,r.value=100*e.scrollLeft/n*c.value}},update:()=>{const e=null==o?void 0:o.wrapElement;if(!e)return;const t=e.offsetHeight-GAP,r=e.offsetWidth-GAP,i=t**2/e.scrollHeight,u=r**2/e.scrollWidth,d=Math.max(i,n.minSize),p=Math.max(u,n.minSize);s.value=i/(t-i)/(d/(t-d)),c.value=u/(r-u)/(p/(r-p)),l.value=d+GAP<t?`${d}px`:"",a.value=p+GAP<r?`${p}px`:""}}),(e,t)=>(openBlock(),createElementBlock(Fragment,null,[createVNode$1(Thumb,{move:r.value,ratio:c.value,size:a.value,always:e.always},null,8,["move","ratio","size","always"]),createVNode$1(Thumb,{move:i.value,ratio:s.value,size:l.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc(_sfc_main$2t,[["__file","bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...useAriaProps(["ariaLabel","ariaOrientation"])}),scrollbarEmits={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(isNumber)},COMPONENT_NAME$m="ElScrollbar",__default__$1Q=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2s=defineComponent({...__default__$1Q,props:scrollbarProps,emits:scrollbarEmits,setup(e,{expose:t,emit:n}){const o=e,r=useNamespace("scrollbar");let i,a,l=0,s=0;const c=ref(),u=ref(),d=ref(),p=ref(),f=computed((()=>{const e={};return o.height&&(e.height=addUnit(o.height)),o.maxHeight&&(e.maxHeight=addUnit(o.maxHeight)),[o.wrapStyle,e]})),h=computed((()=>[o.wrapClass,r.e("wrap"),{[r.em("wrap","hidden-default")]:!o.native}])),m=computed((()=>[r.e("view"),o.viewClass])),g=()=>{var e;u.value&&(null==(e=p.value)||e.handleScroll(u.value),l=u.value.scrollTop,s=u.value.scrollLeft,n("scroll",{scrollTop:u.value.scrollTop,scrollLeft:u.value.scrollLeft}))};const v=()=>{var e;null==(e=p.value)||e.update()};return watch((()=>o.noresize),(e=>{e?(null==i||i(),null==a||a()):(({stop:i}=useResizeObserver(d,v)),a=useEventListener("resize",v))}),{immediate:!0}),watch((()=>[o.maxHeight,o.height]),(()=>{o.native||nextTick((()=>{var e;v(),u.value&&(null==(e=p.value)||e.handleScroll(u.value))}))})),provide(scrollbarContextKey,reactive({scrollbarElement:c,wrapElement:u})),onActivated((()=>{u.value&&(u.value.scrollTop=l,u.value.scrollLeft=s)})),onMounted((()=>{o.native||nextTick((()=>{v()}))})),onUpdated((()=>v())),t({wrapRef:u,update:v,scrollTo:function(e,t){isObject$8(e)?u.value.scrollTo(e):isNumber(e)&&isNumber(t)&&u.value.scrollTo(e,t)},setScrollTop:e=>{isNumber(e)&&(u.value.scrollTop=e)},setScrollLeft:e=>{isNumber(e)&&(u.value.scrollLeft=e)},handleScroll:g}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:c,class:normalizeClass(unref(r).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:u,class:normalizeClass(unref(h)),style:normalizeStyle$1(unref(f)),tabindex:e.tabindex,onScroll:g},[(openBlock(),createBlock(resolveDynamicComponent(e.tag),{id:e.id,ref_key:"resizeRef",ref:d,class:normalizeClass(unref(m)),style:normalizeStyle$1(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),e.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:p,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}});var Scrollbar=_export_sfc(_sfc_main$2s,[["__file","scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$1P=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2r=defineComponent({...__default__$1P,props:popperProps,setup(e,{expose:t}){const n=e,o={triggerRef:ref(),popperInstanceRef:ref(),contentRef:ref(),referenceRef:ref(),role:computed((()=>n.role))};return t(o),provide(POPPER_INJECTION_KEY,o),(e,t)=>renderSlot(e.$slots,"default")}});var Popper=_export_sfc(_sfc_main$2r,[["__file","popper.vue"]]);const __default__$1O=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2q=defineComponent({...__default__$1O,setup(e,{expose:t}){const n=useNamespace("popper"),{arrowRef:o,arrowStyle:r}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return onBeforeUnmount((()=>{o.value=void 0})),t({arrowRef:o}),(e,t)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:o,class:normalizeClass(unref(n).e("arrow")),style:normalizeStyle$1(unref(r)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc(_sfc_main$2q,[["__file","arrow.vue"]]);const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=e=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:t=>{e.value=t}})},useForwardRefDirective=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=e=>"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent,obtainAllFocusableElements$1=e=>Array.from(e.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter((e=>isFocusable(e)&&isVisible(e))),isFocusable=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-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}},triggerEvent=function(e,t,...n){let o;o=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e},isLeaf=e=>!e.getAttribute("aria-owns"),getSibling=(e,t,n)=>{const{parentNode:o}=e;if(!o)return null;const r=o.querySelectorAll(n);return r[Array.prototype.indexOf.call(r,e)+t]||null},focusNode=e=>{e&&(e.focus(),!isLeaf(e)&&e.click())},NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(e,{slots:t,attrs:n}){var o;const r=inject(FORWARD_REF_INJECTION_KEY),i=useForwardRefDirective(null!=(o=null==r?void 0:r.setForwardRef)?o:NOOP);return()=>{var e;const o=null==(e=t.default)?void 0:e.call(t,n);if(!o)return null;if(o.length>1)return null;const r=findFirstLegitChild(o);return r?withDirectives(cloneVNode(r,n),[[i]]):null}}});function findFirstLegitChild(e){if(!e)return null;const t=e;for(const n of t){if(isObject$8(n))switch(n.type){case Comment$1:continue;case Text$2:case"svg":return wrapTextContent(n);case Fragment:return findFirstLegitChild(n.children);default:return n}return wrapTextContent(n)}return null}function wrapTextContent(e){const t=useNamespace("only-child");return createVNode$1("span",{class:t.e("content")},[e])}const __default__$1N=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$2p=defineComponent({...__default__$1N,props:popperTriggerProps,setup(e,{expose:t}){const n=e,{role:o,triggerRef:r}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(r);const i=computed((()=>l.value?n.id:void 0)),a=computed((()=>{if(o&&"tooltip"===o.value)return n.open&&n.id?n.id:void 0})),l=computed((()=>{if(o&&"tooltip"!==o.value)return o.value})),s=computed((()=>l.value?`${n.open}`:void 0));let c;const u=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return onMounted((()=>{watch((()=>n.virtualRef),(e=>{e&&(r.value=unrefElement(e))}),{immediate:!0}),watch(r,((e,t)=>{null==c||c(),c=void 0,isElement$1(e)&&(u.forEach((o=>{var r;const i=n[o];i&&(e.addEventListener(o.slice(2).toLowerCase(),i),null==(r=null==t?void 0:t.removeEventListener)||r.call(t,o.slice(2).toLowerCase(),i))})),isFocusable(e)&&(c=watch([i,a,l,s],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((n,o)=>{isNil(t[o])?e.removeAttribute(n):e.setAttribute(n,t[o])}))}),{immediate:!0}))),isElement$1(t)&&isFocusable(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)))}),{immediate:!0})})),onBeforeUnmount((()=>{if(null==c||c(),c=void 0,r.value&&isElement$1(r.value)){const e=r.value;u.forEach((t=>{const o=n[t];o&&e.removeEventListener(t.slice(2).toLowerCase(),o)})),r.value=void 0}})),t({triggerRef:r}),(e,t)=>e.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},e.$attrs,{"aria-controls":unref(i),"aria-describedby":unref(a),"aria-expanded":unref(s),"aria-haspopup":unref(l)}),{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc(_sfc_main$2p,[["__file","trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref(),lastUserFocusTimestamp=ref(0),lastAutomatedFocusTimestamp=ref(0);let focusReasonUserCount=0;const obtainAllFocusableElements=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},getVisibleElement=(e,t)=>{for(const n of e)if(!isHidden(n,t))return n},isHidden=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},getEdges=e=>{const t=obtainAllFocusableElements(e);return[getVisibleElement(t,e),getVisibleElement(t.reverse(),e)]},isSelectable=e=>e instanceof HTMLInputElement&&"select"in e,tryFocus=(e,t)=>{if(e&&e.focus){const n=document.activeElement;let o=!1;!isElement$1(e)||isFocusable(e)||e.getAttribute("tabindex")||(e.setAttribute("tabindex","-1"),o=!0),e.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),e!==n&&isSelectable(e)&&t&&e.select(),isElement$1(e)&&o&&e.removeAttribute("tabindex")}};function removeFromStack(e,t){const n=[...e],o=e.indexOf(t);return-1!==o&&n.splice(o,1),n}const createFocusableStack=()=>{let e=[];return{push:t=>{const n=e[0];n&&t!==n&&n.pause(),e=removeFromStack(e,t),e.unshift(t)},remove:t=>{var n,o;e=removeFromStack(e,t),null==(o=null==(n=e[0])?void 0:n.resume)||o.call(n)}}},focusFirstDescendant=(e,t=!1)=>{const n=document.activeElement;for(const o of e)if(tryFocus(o,t),document.activeElement!==n)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted((()=>{0===focusReasonUserCount&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++})),onBeforeUnmount((()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))})),{focusReason:focusReason,lastUserFocusTimestamp:lastUserFocusTimestamp,lastAutomatedFocusTimestamp:lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=e=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:e}),EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"};let registeredEscapeHandlers=[];const cachedHandler=e=>{e.code===EVENT_CODE.esc&®isteredEscapeHandlers.forEach((t=>t(e)))},useEscapeKeydown=e=>{onMounted((()=>{0===registeredEscapeHandlers.length&&document.addEventListener("keydown",cachedHandler),isClient&®isteredEscapeHandlers.push(e)})),onBeforeUnmount((()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter((t=>t!==e)),0===registeredEscapeHandlers.length&&isClient&&document.removeEventListener("keydown",cachedHandler)}))},_sfc_main$2o=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=ref();let o,r;const{focusReason:i}=useFocusReason();useEscapeKeydown((n=>{e.trapped&&!a.paused&&t("release-requested",n)}));const a={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},l=n=>{if(!e.loop&&!e.trapped)return;if(a.paused)return;const{code:o,altKey:r,ctrlKey:l,metaKey:s,currentTarget:c,shiftKey:u}=n,{loop:d}=e,p=o===EVENT_CODE.tab&&!r&&!l&&!s,f=document.activeElement;if(p&&f){const e=c,[o,r]=getEdges(e);if(o&&r)if(u||f!==r){if(u&&[o,e].includes(f)){const e=createFocusOutPreventedEvent({focusReason:i.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&tryFocus(r,!0))}}else{const e=createFocusOutPreventedEvent({focusReason:i.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&tryFocus(o,!0))}else if(f===e){const e=createFocusOutPreventedEvent({focusReason:i.value});t("focusout-prevented",e),e.defaultPrevented||n.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:n,onKeydown:l}),watch((()=>e.focusTrapEl),(e=>{e&&(n.value=e)}),{immediate:!0}),watch([n],(([e],[t])=>{e&&(e.addEventListener("keydown",l),e.addEventListener("focusin",u),e.addEventListener("focusout",d)),t&&(t.removeEventListener("keydown",l),t.removeEventListener("focusin",u),t.removeEventListener("focusout",d))}));const s=e=>{t(ON_TRAP_FOCUS_EVT,e)},c=e=>t(ON_RELEASE_FOCUS_EVT,e),u=i=>{const l=unref(n);if(!l)return;const s=i.target,c=i.relatedTarget,u=s&&l.contains(s);if(!e.trapped){c&&l.contains(c)||(o=c)}u&&t("focusin",i),a.paused||e.trapped&&(u?r=s:tryFocus(r,!0))},d=o=>{const l=unref(n);if(!a.paused&&l)if(e.trapped){const n=o.relatedTarget;isNil(n)||l.contains(n)||setTimeout((()=>{if(!a.paused&&e.trapped){const e=createFocusOutPreventedEvent({focusReason:i.value});t("focusout-prevented",e),e.defaultPrevented||tryFocus(r,!0)}}),0)}else{const e=o.target;e&&l.contains(e)||t("focusout",o)}};async function p(){await nextTick();const t=unref(n);if(t){focusableStack.push(a);const n=t.contains(document.activeElement)?o:document.activeElement;o=n;if(!t.contains(n)){const o=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);t.addEventListener(FOCUS_AFTER_TRAPPED,s),t.dispatchEvent(o),o.defaultPrevented||nextTick((()=>{let o=e.focusStartEl;isString$4(o)||(tryFocus(o),document.activeElement!==o&&(o="first")),"first"===o&&focusFirstDescendant(obtainAllFocusableElements(t),!0),document.activeElement!==n&&"container"!==o||tryFocus(t)}))}}}function f(){const e=unref(n);if(e){e.removeEventListener(FOCUS_AFTER_TRAPPED,s);const t=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:i.value}});e.addEventListener(FOCUS_AFTER_RELEASED,c),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=i.value&&isFocusCausedByUserEvent()&&!e.contains(document.activeElement)||tryFocus(null!=o?o:document.body),e.removeEventListener(FOCUS_AFTER_RELEASED,c),focusableStack.remove(a)}}return onMounted((()=>{e.trapped&&p(),watch((()=>e.trapped),(e=>{e?p():f()}))})),onBeforeUnmount((()=>{e.trapped&&f(),n.value&&(n.value.removeEventListener("keydown",l),n.value.removeEventListener("focusin",u),n.value.removeEventListener("focusout",d),n.value=void 0)})),{onKeydown:l}}});function _sfc_render$r(e,t,n,o,r,i){return renderSlot(e.$slots,"default",{handleKeydown:e.onKeydown})}var ElFocusTrap=_export_sfc(_sfc_main$2o,[["render",_sfc_render$r],["__file","focus-trap.vue"]]),E$1="top",R="bottom",W="right",P$1="left",me="auto",G=[E$1,R,W,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce((function(e,t){return e.concat([t+"-"+U$1,t+"-"+J])}),[]),Ee=[].concat(G,[me]).reduce((function(e,t){return e.concat([t,t+"-"+U$1,t+"-"+J])}),[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C(e){return e?(e.nodeName||"").toLowerCase():null}function H(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Q(e){return e instanceof H(e).Element||e instanceof Element}function B(e){return e instanceof H(e).HTMLElement||e instanceof HTMLElement}function Pe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof H(e).ShadowRoot||e instanceof ShadowRoot)}function Mt(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];!B(r)||!C(r)||(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))}function Rt(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});!B(o)||!C(o)||(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(e){return e.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(B(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(o=Z(n.width)/a||1),i>0&&(r=Z(n.height)/i||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function ke(e){var t=ee(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function it(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Pe(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function N$1(e){return H(e).getComputedStyle(e)}function Wt(e){return["table","td","th"].indexOf(C(e))>=0}function I$1(e){return((Q(e)?e.ownerDocument:e.document)||window.document).documentElement}function ge(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(Pe(e)?e.host:null)||I$1(e)}function at(e){return B(e)&&"fixed"!==N$1(e).position?e.offsetParent:null}function Bt(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&B(e)&&"fixed"===N$1(e).position)return null;var n=ge(e);for(Pe(n)&&(n=n.host);B(n)&&["html","body"].indexOf(C(n))<0;){var o=N$1(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}function se(e){for(var t=H(e),n=at(e);n&&Wt(n)&&"static"===N$1(n).position;)n=at(n);return n&&("html"===C(n)||"body"===C(n)&&"static"===N$1(n).position)?t:n||Bt(e)||t}function Le(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function fe(e,t,n){return X$1(e,ve(t,n))}function St(e,t,n){var o=fe(e,t,n);return o>n?n:o}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(e){return Object.assign({},st(),e)}function ct(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Tt=function(e,t){return ft("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ct(e,G))};function Ht(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=q(n.placement),s=Le(l),c=[P$1,W].indexOf(l)>=0?"height":"width";if(i&&a){var u=Tt(r.padding,n),d=ke(i),p="y"===s?E$1:P$1,f="y"===s?R:W,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],g=se(i),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=u[p],_=v-d[c]-u[f],w=v/2-d[c]/2+y,k=fe(b,w,_),x=s;n.modifiersData[o]=((t={})[x]=k,t.centerOffset=k-w,t)}}function Ct(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"==typeof o&&!(o=t.elements.popper.querySelector(o))||!it(t.elements.popper,o)||(t.elements.arrow=o))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(e){return e.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:Z(t*o)/o||0,y:Z(n*o)/o||0}}function ut(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=P$1,_=E$1,w=window;if(c){var k=se(n),x="clientHeight",S="clientWidth";if(k===H(n)&&("static"!==N$1(k=I$1(n)).position&&"absolute"===l&&(x="scrollHeight",S="scrollWidth")),r===E$1||(r===P$1||r===W)&&i===J)_=R,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[x])-o.height,m*=s?1:-1;if(r===P$1||(r===E$1||r===R)&&i===J)b=W,f-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[S])-o.width,f*=s?1:-1}var C,E=Object.assign({position:l},c&&qt),T=!0===u?Vt({x:f,y:m}):{x:f,y:m};return f=T.x,m=T.y,s?Object.assign({},E,((C={})[_]=y?"0":"",C[b]=v?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},E,((t={})[_]=y?m+"px":"",t[b]=v?f+"px":"",t.transform="",t))}function Nt(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:q(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ut(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ut(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,l=void 0===a||a,s=H(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,ye)})),l&&s.addEventListener("resize",n.update,ye),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ye)})),l&&s.removeEventListener("resize",n.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(e){return e.replace(/left|right|bottom|top/g,(function(e){return _t[e]}))}var zt={start:"end",end:"start"};function lt(e){return e.replace(/start|end/g,(function(e){return zt[e]}))}function We(e){var t=H(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Be(e){return ee(I$1(e)).left+We(e).scrollLeft}function Ft(e){var t=H(e),n=I$1(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,a=0,l=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=o.offsetLeft,l=o.offsetTop)),{width:r,height:i,x:a+Be(e),y:l}}function Ut(e){var t,n=I$1(e),o=We(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=X$1(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=X$1(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+Be(e),s=-o.scrollTop;return"rtl"===N$1(r||n).direction&&(l+=X$1(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}function Se(e){var t=N$1(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function dt(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:B(e)&&Se(e)?e:dt(ge(e))}function ce(e,t){var n;void 0===t&&(t=[]);var o=dt(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=H(o),a=r?[i].concat(i.visualViewport||[],Se(o)?o:[]):o,l=t.concat(a);return r?l:l.concat(ce(ge(a)))}function Te(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Xt(e){var t=ee(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function ht(e,t){return t===je?Te(Ft(e)):Q(t)?Xt(t):Te(Ut(I$1(e)))}function Yt(e){var t=ce(ge(e)),n=["absolute","fixed"].indexOf(N$1(e).position)>=0&&B(e)?se(e):e;return Q(n)?t.filter((function(e){return Q(e)&&it(e,n)&&"body"!==C(e)})):[]}function Gt(e,t,n){var o="clippingParents"===t?Yt(e):[].concat(t),r=[].concat(o,[n]),i=r[0],a=r.reduce((function(t,n){var o=ht(e,n);return t.top=X$1(o.top,t.top),t.right=ve(o.right,t.right),t.bottom=ve(o.bottom,t.bottom),t.left=X$1(o.left,t.left),t}),ht(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function mt(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?q(r):null,a=r?te(r):null,l=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(i){case E$1:t={x:l,y:n.y-o.height};break;case R:t={x:l,y:n.y+n.height};break;case W:t={x:n.x+n.width,y:s};break;case P$1:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?Le(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case U$1:t[c]=t[c]-(n[u]/2-o[u]/2);break;case J:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}function ne(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,i=n.boundary,a=void 0===i?Xe:i,l=n.rootBoundary,s=void 0===l?je:l,c=n.elementContext,u=void 0===c?K:c,d=n.altBoundary,p=void 0!==d&&d,f=n.padding,h=void 0===f?0:f,m=ft("number"!=typeof h?h:ct(h,G)),g=u===K?Ye:K,v=e.rects.popper,y=e.elements[p?g:u],b=Gt(Q(y)?y:y.contextElement||I$1(e.elements.popper),a,s),_=ee(e.elements.reference),w=mt({reference:_,element:v,placement:r}),k=Te(Object.assign({},v,w)),x=u===K?k:_,S={top:b.top-x.top+m.top,bottom:x.bottom-b.bottom+m.bottom,left:b.left-x.left+m.left,right:x.right-b.right+m.right},C=e.modifiersData.offset;if(u===K&&C){var E=C[r];Object.keys(S).forEach((function(e){var t=[W,R].indexOf(e)>=0?1:-1,n=[E$1,R].indexOf(e)>=0?"y":"x";S[e]+=E[n]*t}))}return S}function Jt(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Ee:s,u=te(o),d=u?l?De:De.filter((function(e){return te(e)===u})):G,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=ne(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[q(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}function Kt(e){if(q(e)===me)return[];var t=be(e);return[lt(e),t,lt(t)]}function Qt(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=q(g),y=s||(v===g||!h?[be(g)]:Kt(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(q(n)===me?Jt(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),_=t.rects.reference,w=t.rects.popper,k=new Map,x=!0,S=b[0],C=0;C<b.length;C++){var E=b[C],T=q(E),A=te(E)===U$1,$=[E$1,R].indexOf(T)>=0,I=$?"width":"height",M=ne(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),P=$?A?W:P$1:A?R:E$1;_[I]>w[I]&&(P=be(P));var N=be(P),O=[];if(i&&O.push(M[T]<=0),l&&O.push(M[P]<=0,M[N]<=0),O.every((function(e){return e}))){S=E,x=!1;break}k.set(E,O)}if(x)for(var D=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},L=h?3:1;L>0;L--){if("break"===D(L))break}t.placement!==S&&(t.modifiersData[o]._skip=!0,t.placement=S,t.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function yt(e){return[E$1,W,R,P$1].some((function(t){return e[t]>=0}))}function Zt(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=ne(t,{elementContext:"reference"}),l=ne(t,{altBoundary:!0}),s=gt(a,o),c=gt(l,r,i),u=yt(s),d=yt(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(e,t,n){var o=q(e),r=[P$1,E$1].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*r,[P$1,W].indexOf(o)>=0?{x:l,y:a}:{x:a,y:l}}function tn(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,a=Ee.reduce((function(e,n){return e[n]=en(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(e){var t=e.state,n=e.name;t.modifiersData[n]=mt({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(e){return"x"===e?"y":"x"}function on(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=ne(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=q(t.placement),y=te(t.placement),b=!y,_=Le(v),w=rn(_),k=t.modifiersData.popperOffsets,x=t.rects.reference,S=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,E="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(k){if(i){var $,I="y"===_?E$1:P$1,M="y"===_?R:W,P="y"===_?"height":"width",N=k[_],O=N+g[I],D=N-g[M],L=f?-S[P]/2:0,B=y===U$1?x[P]:S[P],V=y===U$1?-S[P]:-x[P],z=t.elements.arrow,F=f&&z?ke(z):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:st(),j=H[I],G=H[M],U=fe(0,x[P],F[P]),Y=b?x[P]/2-L-U-j-E.mainAxis:B-U-j-E.mainAxis,K=b?-x[P]/2+L+U+G+E.mainAxis:V+U+G+E.mainAxis,Z=t.elements.arrow&&se(t.elements.arrow),X=Z?"y"===_?Z.clientTop||0:Z.clientLeft||0:0,J=null!=($=null==T?void 0:T[_])?$:0,Q=N+K-J,ee=fe(f?ve(O,N+Y-J-X):O,N,f?X$1(D,Q):D);k[_]=ee,A[_]=ee-N}if(l){var oe,re="x"===_?E$1:P$1,ie="x"===_?R:W,ae=k[w],le="y"===w?"height":"width",ce=ae+g[re],ue=ae-g[ie],de=-1!==[E$1,P$1].indexOf(v),pe=null!=(oe=null==T?void 0:T[w])?oe:0,he=de?ce:ae-x[le]-S[le]-pe+E.altAxis,me=de?ae+x[le]+S[le]-pe-E.altAxis:ue,ge=f&&de?St(he,ae,me):fe(f?he:ce,ae,f?me:ue);k[w]=ge,A[w]=ge-ae}t.modifiersData[o]=A}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sn(e){return e!==H(e)&&B(e)?an(e):We(e)}function fn(e){var t=e.getBoundingClientRect(),n=Z(t.width)/e.offsetWidth||1,o=Z(t.height)/e.offsetHeight||1;return 1!==n||1!==o}function cn(e,t,n){void 0===n&&(n=!1);var o=B(t),r=B(t)&&fn(t),i=I$1(t),a=ee(e,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==C(t)||Se(i))&&(l=sn(t)),B(t)?((s=ee(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Be(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function pn(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}function un(e){var t=pn(e);return ot.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function ln(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function dn(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function we(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Ot:r;return function(e,t,n){void 0===n&&(n=i);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:r,setOptions:function(n){var l="function"==typeof n?n(r.options):n;c(),r.options=Object.assign({},i,r.options,l),r.scrollParents={reference:Q(e)?ce(e):e.contextElement?ce(e.contextElement):[],popper:ce(t)};var u=un(dn([].concat(o,r.options.modifiers)));return r.orderedModifiers=u.filter((function(e){return e.enabled})),r.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var l=i({state:r,name:t,instance:s,options:o}),c=function(){};a.push(l||c)}})),s.update()},forceUpdate:function(){if(!l){var e=r.elements,t=e.reference,n=e.popper;if($t(t,n)){r.rects={reference:cn(t,se(n),"fixed"===r.options.strategy),popper:ke(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach((function(e){return r.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<r.orderedModifiers.length;o++)if(!0!==r.reset){var i=r.orderedModifiers[o],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"==typeof a&&(r=a({state:r,options:u,name:d,instance:s})||r)}else r.reset=!1,o=-1}}},update:ln((function(){return new Promise((function(e){s.forceUpdate(),e(r)}))})),destroy:function(){c(),l=!0}};if(!$t(e,t))return s;function c(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}we();var mn=[Re,He,Me,Ae];we({defaultModifiers:mn});var gn=[Re,He,Me,Ae,wt,vt,xt,pt,bt],yn=we({defaultModifiers:gn});const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,...popperArrowProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:definePropType(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...useAriaProps(["ariaLabel"])}),popperContentEmits={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},usePopperContentFocusTrap=(e,t)=>{const n=ref(!1),o=ref();return{focusStartRef:o,trapped:n,onFocusAfterReleased:e=>{var n;"pointer"!==(null==(n=e.detail)?void 0:n.focusReason)&&(o.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:t=>{e.visible&&!n.value&&(t.target&&(o.value=t.target),n.value=!0)},onFocusoutPrevented:t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},buildPopperOptions=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,i={placement:n,strategy:o,...r,modifiers:[...genModifiers(e),...t]};return deriveExtraModifiers(i,null==r?void 0:r.modifiers),i},unwrapMeasurableEl=e=>{if(isClient)return unrefElement(e)};function genModifiers(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function deriveExtraModifiers(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}const usePopper=(e,t,n={})=>{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=deriveState(e);Object.assign(a.value,t)},requires:["computeStyles"]},r=computed((()=>{const{onFirstUpdate:e,placement:t,strategy:r,modifiers:i}=unref(n);return{onFirstUpdate:e,placement:t||"bottom",strategy:r||"absolute",modifiers:[...i||[],o,{name:"applyStyles",enabled:!1}]}})),i=shallowRef(),a=ref({styles:{popper:{position:unref(r).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return watch(r,(e=>{const t=unref(i);t&&t.setOptions(e)}),{deep:!0}),watch([e,t],(([e,t])=>{l(),e&&t&&(i.value=yn(e,t,unref(r)))})),onBeforeUnmount((()=>{l()})),{state:computed((()=>{var e;return{...(null==(e=unref(i))?void 0:e.state)||{}}})),styles:computed((()=>unref(a).styles)),attributes:computed((()=>unref(a).attributes)),update:()=>{var e;return null==(e=unref(i))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=unref(i))?void 0:e.forceUpdate()},instanceRef:computed((()=>unref(i)))}};function deriveState(e){const t=Object.keys(e.elements);return{styles:fromPairs(t.map((t=>[t,e.styles[t]||{}]))),attributes:fromPairs(t.map((t=>[t,e.attributes[t]])))}}const DEFAULT_ARROW_OFFSET=0,usePopperContent=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:r}=inject(POPPER_INJECTION_KEY,void 0),i=ref(),a=computed((()=>e.arrowOffset)),l=computed((()=>({name:"eventListeners",enabled:!!e.visible}))),s=computed((()=>{var e;const t=unref(i),n=null!=(e=unref(a))?e:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(t),options:{element:t,padding:n}}})),c=computed((()=>({onFirstUpdate:()=>{h()},...buildPopperOptions(e,[unref(s),unref(l)])}))),u=computed((()=>unwrapMeasurableEl(e.referenceEl)||unref(o))),{attributes:d,state:p,styles:f,update:h,forceUpdate:m,instanceRef:g}=usePopper(u,n,c);return watch(g,(e=>t.value=e),{flush:"sync"}),onMounted((()=>{watch((()=>{var e;return null==(e=unref(u))?void 0:e.getBoundingClientRect()}),(()=>{h()}))})),{attributes:d,arrowRef:i,contentRef:n,instanceRef:g,state:p,styles:f,role:r,forceUpdate:m,update:h}},usePopperContentDOM=(e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:r}=useZIndex(),i=useNamespace("popper"),a=computed((()=>unref(t).popper)),l=ref(isNumber(e.zIndex)?e.zIndex:r()),s=computed((()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass])),c=computed((()=>[{zIndex:unref(l)},unref(n).popper,e.popperStyle||{}]));return{ariaModal:computed((()=>"dialog"===o.value?"false":void 0)),arrowStyle:computed((()=>unref(n).arrow||{})),contentAttrs:a,contentClass:s,contentStyle:c,contentZIndex:l,updateZIndex:()=>{l.value=isNumber(e.zIndex)?e.zIndex:r()}}},__default__$1M=defineComponent({name:"ElPopperContent"}),_sfc_main$2n=defineComponent({...__default__$1M,props:popperContentProps,emits:popperContentEmits,setup(e,{expose:t,emit:n}){const o=e,{focusStartRef:r,trapped:i,onFocusAfterReleased:a,onFocusAfterTrapped:l,onFocusInTrap:s,onFocusoutPrevented:c,onReleaseRequested:u}=usePopperContentFocusTrap(o,n),{attributes:d,arrowRef:p,contentRef:f,styles:h,instanceRef:m,role:g,update:v}=usePopperContent(o),{ariaModal:y,arrowStyle:b,contentAttrs:_,contentClass:w,contentStyle:k,updateZIndex:x}=usePopperContentDOM(o,{styles:h,attributes:d,role:g}),S=inject(formItemContextKey,void 0);let C;provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:b,arrowRef:p}),S&&provide(formItemContextKey,{...S,addInputId:NOOP,removeInputId:NOOP});const E=(e=!0)=>{v(),e&&x()},T=()=>{E(!1),o.visible&&o.focusOnShow?i.value=!0:!1===o.visible&&(i.value=!1)};return onMounted((()=>{watch((()=>o.triggerTargetEl),((e,t)=>{null==C||C(),C=void 0;const n=unref(e||f.value),r=unref(t||f.value);isElement$1(n)&&(C=watch([g,()=>o.ariaLabel,y,()=>o.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,o)=>{isNil(e[o])?n.removeAttribute(t):n.setAttribute(t,e[o])}))}),{immediate:!0})),r!==n&&isElement$1(r)&&["role","aria-label","aria-modal","id"].forEach((e=>{r.removeAttribute(e)}))}),{immediate:!0}),watch((()=>o.visible),T,{immediate:!0})})),onBeforeUnmount((()=>{null==C||C(),C=void 0})),t({popperContentRef:f,popperInstanceRef:m,updatePopper:E,contentStyle:k}),(e,t)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:f},unref(_),{style:unref(k),class:unref(w),tabindex:"-1",onMouseenter:t=>e.$emit("mouseenter",t),onMouseleave:t=>e.$emit("mouseleave",t)}),[createVNode$1(unref(ElFocusTrap),{trapped:unref(i),"trap-on-focus-in":!0,"focus-trap-el":unref(f),"focus-start-el":unref(r),onFocusAfterTrapped:unref(l),onFocusAfterReleased:unref(a),onFocusin:unref(s),onFocusoutPrevented:unref(c),onReleaseRequested:unref(u)},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}});var ElPopperContent=_export_sfc(_sfc_main$2n,[["__file","content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip");function useTimeout(){let e;const t=()=>window.clearTimeout(e);return tryOnScopeDispose((()=>t())),{registerTimeout:(n,o)=>{t(),e=window.setTimeout(n,o)},cancelTimeout:t}}const useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:i}=useTimeout(),{registerTimeout:a,cancelTimeout:l}=useTimeout();return{onOpen:t=>{i((()=>{o(t);const e=unref(n);isNumber(e)&&e>0&&a((()=>{r(t)}),e)}),unref(e))},onClose:e=>{l(),i((()=>{r(e)}),unref(t))}}},teleportProps=buildProps({to:{type:definePropType([String,Object]),required:!0},disabled:Boolean}),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:teleportProps.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...useAriaProps(["ariaLabel"])}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.numpadEnter,EVENT_CODE.space]}}),_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t];return{useModelToggle:({indicator:o,toggleReason:r,shouldHideWhenRouteChanges:i,shouldProceed:a,onShow:l,onHide:s})=>{const c=getCurrentInstance(),{emit:u}=c,d=c.props,p=computed((()=>isFunction$5(d[n]))),f=computed((()=>null===d[e])),h=e=>{!0!==o.value&&(o.value=!0,r&&(r.value=e),isFunction$5(l)&&l(e))},m=e=>{!1!==o.value&&(o.value=!1,r&&(r.value=e),isFunction$5(s)&&s(e))},g=e=>{if(!0===d.disabled||isFunction$5(a)&&!a())return;const n=p.value&&isClient;n&&u(t,!0),!f.value&&n||h(e)},v=e=>{if(!0===d.disabled||!isClient)return;const n=p.value&&isClient;n&&u(t,!1),!f.value&&n||m(e)},y=e=>{isBoolean(e)&&(d.disabled&&e?p.value&&u(t,!1):o.value!==e&&(e?h():m()))};return watch((()=>d[e]),y),i&&void 0!==c.appContext.config.globalProperties.$route&&watch((()=>({...c.proxy.$route})),(()=>{i.value&&o.value&&v()})),onMounted((()=>{y(d[e])})),{hide:v,show:g,toggle:()=>{o.value?v():g()},hasUpdateHandler:p}},useModelToggleProps:{[e]:_prop,[n]:_event},useModelToggleEmits:o}},{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(e,t)=>isArray$6(e)?e.includes(t):e===t,whenTrigger=(e,t,n)=>o=>{isTriggerType(unref(e),t)&&n(o)},composeEventHandlers=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const r=null==e?void 0:e(o);if(!1===n||!r)return null==t?void 0:t(o)},whenMouse=e=>t=>"mouse"===t.pointerType?e(t):void 0,__default__$1L=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$2m=defineComponent({...__default__$1L,props:useTooltipTriggerProps,setup(e,{expose:t}){const n=e,o=useNamespace("tooltip"),{controlled:r,id:i,open:a,onOpen:l,onClose:s,onToggle:c}=inject(TOOLTIP_INJECTION_KEY,void 0),u=ref(null),d=()=>{if(unref(r)||n.disabled)return!0},p=toRef$1(n,"trigger"),f=composeEventHandlers(d,whenTrigger(p,"hover",l)),h=composeEventHandlers(d,whenTrigger(p,"hover",s)),m=composeEventHandlers(d,whenTrigger(p,"click",(e=>{0===e.button&&c(e)}))),g=composeEventHandlers(d,whenTrigger(p,"focus",l)),v=composeEventHandlers(d,whenTrigger(p,"focus",s)),y=composeEventHandlers(d,whenTrigger(p,"contextmenu",(e=>{e.preventDefault(),c(e)}))),b=composeEventHandlers(d,(e=>{const{code:t}=e;n.triggerKeys.includes(t)&&(e.preventDefault(),c(e))}));return t({triggerRef:u}),(e,t)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(i),"virtual-ref":e.virtualRef,open:unref(a),"virtual-triggering":e.virtualTriggering,class:normalizeClass(unref(o).e("trigger")),onBlur:unref(v),onClick:unref(m),onContextmenu:unref(y),onFocus:unref(g),onMouseenter:unref(f),onMouseleave:unref(h),onKeydown:unref(b)},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc(_sfc_main$2m,[["__file","trigger.vue"]]);const _sfc_main$2l=defineComponent({__name:"teleport",props:teleportProps,setup:e=>(e,t)=>e.disabled?renderSlot(e.$slots,"default",{key:0}):(openBlock(),createBlock(Teleport$1,{key:1,to:e.to},[renderSlot(e.$slots,"default")],8,["to"]))});var Teleport=_export_sfc(_sfc_main$2l,[["__file","teleport.vue"]]);const ElTeleport=withInstall(Teleport),usePopperContainerId=()=>{const e=useGetDerivedNamespace(),t=useIdInjection(),n=computed((()=>`${e.value}-popper-container-${t.prefix}`)),o=computed((()=>`#${n.value}`));return{id:n,selector:o}},createContainer=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},usePopperContainer=()=>{const{id:e,selector:t}=usePopperContainerId();return onBeforeMount((()=>{isClient&&(document.body.querySelector(t.value)||createContainer(e.value))})),{id:e,selector:t}},__default__$1K=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$2k=defineComponent({...__default__$1K,props:useTooltipContentProps,setup(e,{expose:t}){const n=e,{selector:o}=usePopperContainerId(),r=useNamespace("tooltip"),i=ref(),a=computedEager((()=>{var e;return null==(e=i.value)?void 0:e.popperContentRef}));let l;const{controlled:s,id:c,open:u,trigger:d,onClose:p,onOpen:f,onShow:h,onHide:m,onBeforeShow:g,onBeforeHide:v}=inject(TOOLTIP_INJECTION_KEY,void 0),y=computed((()=>n.transition||`${r.namespace.value}-fade-in-linear`)),b=computed((()=>n.persistent));onBeforeUnmount((()=>{null==l||l()}));const _=computed((()=>!!unref(b)||unref(u))),w=computed((()=>!n.disabled&&unref(u))),k=computed((()=>n.appendTo||o.value)),x=computed((()=>{var e;return null!=(e=n.style)?e:{}})),S=ref(!0),C=()=>{m(),N()&&tryFocus(document.body),S.value=!0},E=()=>{if(unref(s))return!0},T=composeEventHandlers(E,(()=>{n.enterable&&"hover"===unref(d)&&f()})),A=composeEventHandlers(E,(()=>{"hover"===unref(d)&&p()})),$=()=>{var e,t;null==(t=null==(e=i.value)?void 0:e.updatePopper)||t.call(e),null==g||g()},I=()=>{null==v||v()},M=()=>{h()},P=()=>{n.virtualTriggering||p()},N=e=>{var t;const n=null==(t=i.value)?void 0:t.popperContentRef,o=(null==e?void 0:e.relatedTarget)||document.activeElement;return null==n?void 0:n.contains(o)};return watch((()=>unref(u)),(e=>{e?(S.value=!1,l=onClickOutside(a,(()=>{if(unref(s))return;"hover"!==unref(d)&&p()}))):null==l||l()}),{flush:"post"}),watch((()=>n.content),(()=>{var e,t;null==(t=null==(e=i.value)?void 0:e.updatePopper)||t.call(e)})),t({contentRef:i,isFocusInsideContent:N}),(e,t)=>(openBlock(),createBlock(unref(ElTeleport),{disabled:!e.teleported,to:unref(k)},{default:withCtx((()=>[createVNode$1(Transition,{name:unref(y),onAfterLeave:C,onBeforeEnter:$,onAfterEnter:M,onBeforeLeave:I},{default:withCtx((()=>[unref(_)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(c),ref_key:"contentRef",ref:i},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":S.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,unref(x)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:unref(w),"z-index":e.zIndex,onMouseenter:unref(T),onMouseleave:unref(A),onBlur:P,onClose:unref(p)}),{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(w)]]):createCommentVNode("v-if",!0)])),_:3},8,["name"])])),_:3},8,["disabled","to"]))}});var ElTooltipContent=_export_sfc(_sfc_main$2k,[["__file","content.vue"]]);const __default__$1J=defineComponent({name:"ElTooltip"}),_sfc_main$2j=defineComponent({...__default__$1J,props:useTooltipProps,emits:tooltipEmits,setup(e,{expose:t,emit:n}){const o=e;usePopperContainer();const r=useNamespace("tooltip"),i=useId(),a=ref(),l=ref(),s=()=>{var e;const t=unref(a);t&&(null==(e=t.popperInstanceRef)||e.update())},c=ref(!1),u=ref(),{show:d,hide:p,hasUpdateHandler:f}=useTooltipModelToggle({indicator:c,toggleReason:u}),{onOpen:h,onClose:m}=useDelayedToggle({showAfter:toRef$1(o,"showAfter"),hideAfter:toRef$1(o,"hideAfter"),autoClose:toRef$1(o,"autoClose"),open:d,close:p}),g=computed((()=>isBoolean(o.visible)&&!f.value)),v=computed((()=>[r.b(),o.popperClass]));provide(TOOLTIP_INJECTION_KEY,{controlled:g,id:i,open:readonly(c),trigger:toRef$1(o,"trigger"),onOpen:e=>{h(e)},onClose:e=>{m(e)},onToggle:e=>{unref(c)?m(e):h(e)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:s}),watch((()=>o.disabled),(e=>{e&&c.value&&(c.value=!1)}));return onDeactivated((()=>c.value&&p())),t({popperRef:a,contentRef:l,isFocusInsideContent:e=>{var t;return null==(t=l.value)?void 0:t.isFocusInsideContent(e)},updatePopper:s,onOpen:h,onClose:m,hide:p}),(e,t)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:a,role:e.role},{default:withCtx((()=>[createVNode$1(ElTooltipTrigger,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:withCtx((()=>[e.$slots.default?renderSlot(e.$slots,"default",{key:0}):createCommentVNode("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode$1(ElTooltipContent,{ref_key:"contentRef",ref:l,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":unref(v),"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:withCtx((()=>[renderSlot(e.$slots,"content",{},(()=>[e.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:e.content},null,8,["innerHTML"])):(openBlock(),createElementBlock("span",{key:1},toDisplayString(e.content),1))])),e.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0})):createCommentVNode("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}});var Tooltip=_export_sfc(_sfc_main$2j,[["__file","tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),autocompleteProps=buildProps({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:definePropType(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:definePropType([Function,Array]),default:NOOP},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},teleported:useTooltipContentProps.teleported,appendTo:useTooltipContentProps.appendTo,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String,...useAriaProps(["ariaLabel"])}),autocompleteEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e),[INPUT_EVENT]:e=>isString$4(e),[CHANGE_EVENT]:e=>isString$4(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>isObject$8(e)},COMPONENT_NAME$l="ElAutocomplete",__default__$1I=defineComponent({name:COMPONENT_NAME$l,inheritAttrs:!1}),_sfc_main$2i=defineComponent({...__default__$1I,props:autocompleteProps,emits:autocompleteEmits,setup(e,{expose:t,emit:n}){const o=e,r=useAttrs(),i=useAttrs$1(),a=useFormDisabled(),l=useNamespace("autocomplete"),s=ref(),c=ref(),u=ref(),d=ref();let p=!1,f=!1;const h=ref([]),m=ref(-1),g=ref(""),v=ref(!1),y=ref(!1),b=ref(!1),_=useId(),w=computed((()=>i.style)),k=computed((()=>(h.value.length>0||b.value)&&v.value)),x=computed((()=>!o.hideLoading&&b.value)),S=computed((()=>s.value?Array.from(s.value.$el.querySelectorAll("input")):[])),C=()=>{k.value&&(g.value=`${s.value.$el.offsetWidth}px`)},E=()=>{m.value=-1},T=async e=>{if(y.value)return;const t=e=>{b.value=!1,y.value||(isArray$6(e)?(h.value=e,m.value=o.highlightFirstItem?0:-1):throwError(COMPONENT_NAME$l,"autocomplete suggestions must be an array"))};if(b.value=!0,isArray$6(o.fetchSuggestions))t(o.fetchSuggestions);else{const n=await o.fetchSuggestions(e,t);isArray$6(n)&&t(n)}},A=debounce(T,o.debounce),$=e=>{const t=!!e;if(n(INPUT_EVENT,e),n(UPDATE_MODEL_EVENT,e),y.value=!1,v.value||(v.value=t),!o.triggerOnFocus&&!e)return y.value=!0,void(h.value=[]);A(e)},I=e=>{var t;a.value||("INPUT"!==(null==(t=e.target)?void 0:t.tagName)||S.value.includes(document.activeElement))&&(v.value=!0)},M=e=>{n(CHANGE_EVENT,e)},P=e=>{var t;if(f)f=!1;else{v.value=!0,n("focus",e);const r=null!=(t=o.modelValue)?t:"";o.triggerOnFocus&&!p&&A(String(r))}},N=e=>{setTimeout((()=>{var t;(null==(t=u.value)?void 0:t.isFocusInsideContent())?f=!0:(v.value&&L(),n("blur",e))}))},O=()=>{v.value=!1,n(UPDATE_MODEL_EVENT,""),n("clear")},R=async()=>{k.value&&m.value>=0&&m.value<h.value.length?B(h.value[m.value]):o.selectWhenUnmatched&&(n("select",{value:o.modelValue}),h.value=[],m.value=-1)},D=e=>{k.value&&(e.preventDefault(),e.stopPropagation(),L())},L=()=>{v.value=!1},B=async e=>{n(INPUT_EVENT,e[o.valueKey]),n(UPDATE_MODEL_EVENT,e[o.valueKey]),n("select",e),h.value=[],m.value=-1},V=e=>{if(!k.value||b.value)return;if(e<0)return void(m.value=-1);e>=h.value.length&&(e=h.value.length-1);const t=c.value.querySelector(`.${l.be("suggestion","wrap")}`),n=t.querySelectorAll(`.${l.be("suggestion","list")} li`)[e],o=t.scrollTop,{offsetTop:r,scrollHeight:i}=n;r+i>o+t.clientHeight&&(t.scrollTop+=i),r<o&&(t.scrollTop-=i),m.value=e,s.value.ref.setAttribute("aria-activedescendant",`${_.value}-item-${m.value}`)},z=onClickOutside(d,(()=>{var e;(null==(e=u.value)?void 0:e.isFocusInsideContent())||k.value&&L()}));return onBeforeUnmount((()=>{null==z||z()})),onMounted((()=>{s.value.ref.setAttribute("role","textbox"),s.value.ref.setAttribute("aria-autocomplete","list"),s.value.ref.setAttribute("aria-controls","id"),s.value.ref.setAttribute("aria-activedescendant",`${_.value}-item-${m.value}`),p=s.value.ref.hasAttribute("readonly")})),t({highlightedIndex:m,activated:v,loading:b,inputRef:s,popperRef:u,suggestions:h,handleSelect:B,handleKeyEnter:R,focus:()=>{var e;null==(e=s.value)||e.focus()},blur:()=>{var e;null==(e=s.value)||e.blur()},close:L,highlight:V,getData:T}),(e,t)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:u,visible:unref(k),placement:e.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(l).e("popper"),e.popperClass],teleported:e.teleported,"append-to":e.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(l).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:C,onHide:E},{content:withCtx((()=>[createBaseVNode("div",{ref_key:"regionRef",ref:c,class:normalizeClass([unref(l).b("suggestion"),unref(l).is("loading",unref(x))]),style:normalizeStyle$1({[e.fitInputWidth?"width":"minWidth"]:g.value,outline:"none"}),role:"region"},[createVNode$1(unref(ElScrollbar),{id:unref(_),tag:"ul","wrap-class":unref(l).be("suggestion","wrap"),"view-class":unref(l).be("suggestion","list"),role:"listbox"},{default:withCtx((()=>[unref(x)?(openBlock(),createElementBlock("li",{key:0},[renderSlot(e.$slots,"loading",{},(()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(l).is("loading"))},{default:withCtx((()=>[createVNode$1(unref(loading_default))])),_:1},8,["class"])]))])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(h.value,((t,n)=>(openBlock(),createElementBlock("li",{id:`${unref(_)}-item-${n}`,key:n,class:normalizeClass({highlighted:m.value===n}),role:"option","aria-selected":m.value===n,onClick:e=>B(t)},[renderSlot(e.$slots,"default",{item:t},(()=>[createTextVNode(toDisplayString(t[e.valueKey]),1)]))],10,["id","aria-selected","onClick"])))),128))])),_:3},8,["id","wrap-class","view-class"])],6)])),default:withCtx((()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:d,class:normalizeClass([unref(l).b(),e.$attrs.class]),style:normalizeStyle$1(unref(w)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref(k),"aria-owns":unref(_)},[createVNode$1(unref(ElInput),mergeProps({ref_key:"inputRef",ref:s},unref(r),{clearable:e.clearable,disabled:unref(a),name:e.name,"model-value":e.modelValue,"aria-label":e.ariaLabel,onInput:$,onChange:M,onFocus:P,onBlur:N,onClear:O,onKeydown:[withKeys(withModifiers((e=>V(m.value-1)),["prevent"]),["up"]),withKeys(withModifiers((e=>V(m.value+1)),["prevent"]),["down"]),withKeys(R,["enter"]),withKeys(L,["tab"]),withKeys(D,["esc"])],onMousedown:I}),createSlots({_:2},[e.$slots.prepend?{name:"prepend",fn:withCtx((()=>[renderSlot(e.$slots,"prepend")]))}:void 0,e.$slots.append?{name:"append",fn:withCtx((()=>[renderSlot(e.$slots,"append")]))}:void 0,e.$slots.prefix?{name:"prefix",fn:withCtx((()=>[renderSlot(e.$slots,"prefix")]))}:void 0,e.$slots.suffix?{name:"suffix",fn:withCtx((()=>[renderSlot(e.$slots,"suffix")]))}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,["aria-expanded","aria-owns"])])),_:3},8,["visible","placement","popper-class","teleported","append-to","transition"]))}});var Autocomplete=_export_sfc(_sfc_main$2i,[["__file","autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:e=>isNumber(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:iconPropType},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:definePropType(String),default:"cover"}}),avatarEmits={error:e=>e instanceof Event},__default__$1H=defineComponent({name:"ElAvatar"}),_sfc_main$2h=defineComponent({...__default__$1H,props:avatarProps,emits:avatarEmits,setup(e,{emit:t}){const n=e,o=useNamespace("avatar"),r=ref(!1),i=computed((()=>{const{size:e,icon:t,shape:r}=n,i=[o.b()];return isString$4(e)&&i.push(o.m(e)),t&&i.push(o.m("icon")),r&&i.push(o.m(r)),i})),a=computed((()=>{const{size:e}=n;return isNumber(e)?o.cssVarBlock({size:addUnit(e)||""}):void 0})),l=computed((()=>({objectFit:n.fit})));function s(e){r.value=!0,t("error",e)}return watch((()=>n.src),(()=>r.value=!1)),(e,t)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(i)),style:normalizeStyle$1(unref(a))},[!e.src&&!e.srcSet||r.value?e.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.icon)))])),_:1})):renderSlot(e.$slots,"default",{key:2}):(openBlock(),createElementBlock("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:normalizeStyle$1(unref(l)),onError:s},null,44,["src","alt","srcset"]))],6))}});var Avatar=_export_sfc(_sfc_main$2h,[["__file","avatar.vue"]]);const ElAvatar=withInstall(Avatar),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:e=>e instanceof MouseEvent},useBackTop=(e,t,n)=>{const o=shallowRef(),r=shallowRef(),i=ref(!1),a=()=>{o.value&&(i.value=o.value.scrollTop>=e.visibilityHeight)},l=useThrottleFn(a,300,!0);return useEventListener(r,"scroll",l),onMounted((()=>{var t;r.value=document,o.value=document.documentElement,e.target&&(o.value=null!=(t=document.querySelector(e.target))?t:void 0,o.value||throwError(n,`target does not exist: ${e.target}`),r.value=o.value),a()})),{visible:i,handleClick:e=>{var n;null==(n=o.value)||n.scrollTo({top:0,behavior:"smooth"}),t("click",e)}}},COMPONENT_NAME$k="ElBacktop",__default__$1G=defineComponent({name:COMPONENT_NAME$k}),_sfc_main$2g=defineComponent({...__default__$1G,props:backtopProps,emits:backtopEmits,setup(e,{emit:t}){const n=e,o=useNamespace("backtop"),{handleClick:r,visible:i}=useBackTop(n,t,COMPONENT_NAME$k),a=computed((()=>({right:`${n.right}px`,bottom:`${n.bottom}px`})));return(e,t)=>(openBlock(),createBlock(Transition,{name:`${unref(o).namespace.value}-fade-in`},{default:withCtx((()=>[unref(i)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(a)),class:normalizeClass(unref(o).b()),onClick:withModifiers(unref(r),["stop"])},[renderSlot(e.$slots,"default",{},(()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(o).e("icon"))},{default:withCtx((()=>[createVNode$1(unref(caret_top_default))])),_:1},8,["class"])]))],14,["onClick"])):createCommentVNode("v-if",!0)])),_:3},8,["name"]))}});var Backtop=_export_sfc(_sfc_main$2g,[["__file","backtop.vue"]]);const ElBacktop=withInstall(Backtop),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:definePropType([String,Object,Array])},offset:{type:definePropType(Array),default:[0,0]},badgeClass:{type:String}}),__default__$1F=defineComponent({name:"ElBadge"}),_sfc_main$2f=defineComponent({...__default__$1F,props:badgeProps,setup(e,{expose:t}){const n=e,o=useNamespace("badge"),r=computed((()=>n.isDot?"":isNumber(n.value)&&isNumber(n.max)&&n.max<n.value?`${n.max}+`:`${n.value}`)),i=computed((()=>{var e,t,o,r,i;return[{backgroundColor:n.color,marginRight:addUnit(-(null!=(t=null==(e=n.offset)?void 0:e[0])?t:0)),marginTop:addUnit(null!=(r=null==(o=n.offset)?void 0:o[1])?r:0)},null!=(i=n.badgeStyle)?i:{}]}));return t({content:r}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(o).b())},[renderSlot(e.$slots,"default"),createVNode$1(Transition,{name:`${unref(o).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx((()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(o).e("content"),unref(o).em("content",e.type),unref(o).is("fixed",!!e.$slots.default),unref(o).is("dot",e.isDot),unref(o).is("hide-zero",!e.showZero&&0===n.value),e.badgeClass]),style:normalizeStyle$1(unref(i))},[renderSlot(e.$slots,"content",{value:unref(r)},(()=>[createTextVNode(toDisplayString(unref(r)),1)]))],6),[[vShow,!e.hidden&&(unref(r)||e.isDot||e.$slots.content)]])])),_:3},8,["name"])],2))}});var Badge=_export_sfc(_sfc_main$2f,[["__file","badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),__default__$1E=defineComponent({name:"ElBreadcrumb"}),_sfc_main$2e=defineComponent({...__default__$1E,props:breadcrumbProps,setup(e){const t=e,{t:n}=useLocale(),o=useNamespace("breadcrumb"),r=ref();return provide(breadcrumbKey,t),onMounted((()=>{const e=r.value.querySelectorAll(`.${o.e("item")}`);e.length&&e[e.length-1].setAttribute("aria-current","page")})),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:r,class:normalizeClass(unref(o).b()),"aria-label":unref(n)("el.breadcrumb.label"),role:"navigation"},[renderSlot(e.$slots,"default")],10,["aria-label"]))}});var Breadcrumb=_export_sfc(_sfc_main$2e,[["__file","breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:Boolean}),__default__$1D=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$2d=defineComponent({...__default__$1D,props:breadcrumbItemProps,setup(e){const t=e,n=getCurrentInstance(),o=inject(breadcrumbKey,void 0),r=useNamespace("breadcrumb"),i=n.appContext.config.globalProperties.$router,a=ref(),l=()=>{t.to&&i&&(t.replace?i.replace(t.to):i.push(t.to))};return(e,t)=>{var n,i;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(r).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:a,class:normalizeClass([unref(r).e("inner"),unref(r).is("link",!!e.to)]),role:"link",onClick:l},[renderSlot(e.$slots,"default")],2),(null==(n=unref(o))?void 0:n.separatorIcon)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(r).e("separator"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(o).separatorIcon)))])),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(r).e("separator")),role:"presentation"},toDisplayString(null==(i=unref(o))?void 0:i.separator),3))],2)}}});var BreadcrumbItem=_export_sfc(_sfc_main$2d,[["__file","breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb,{BreadcrumbItem:BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useDeprecated=({from:e,replacement:t,scope:n,version:o,ref:r,type:i="API"},a)=>{watch((()=>unref(a)),(e=>{}),{immediate:!0})},useButton=(e,t)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed((()=>"text"===e.type)));const n=inject(buttonGroupContextKey,void 0),o=useGlobalConfig("button"),{form:r}=useFormItem(),i=useFormSize(computed((()=>null==n?void 0:n.size))),a=useFormDisabled(),l=ref(),s=useSlots(),c=computed((()=>e.type||(null==n?void 0:n.type)||"")),u=computed((()=>{var t,n,r;return null!=(r=null!=(n=e.autoInsertSpace)?n:null==(t=o.value)?void 0:t.autoInsertSpace)&&r})),d=computed((()=>"button"===e.tag?{ariaDisabled:a.value||e.loading,disabled:a.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{})),p=computed((()=>{var e;const t=null==(e=s.default)?void 0:e.call(s);if(u.value&&1===(null==t?void 0:t.length)){const e=t[0];if((null==e?void 0:e.type)===Text$2){const t=e.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(t.trim())}}return!1}));return{_disabled:a,_size:i,_type:c,_ref:l,_props:d,shouldAddSpace:p,handleClick:n=>{a.value||e.loading?n.stopPropagation():("reset"===e.nativeType&&(null==r||r.resetFields()),t("click",n))}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:e=>e instanceof MouseEvent};function bound01$1(e,t){isOnePointZero$1(e)&&(e="100%");var n=isPercentage$1(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function clamp01(e){return Math.min(1,Math.max(0,e))}function isOnePointZero$1(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function isPercentage$1(e){return"string"==typeof e&&-1!==e.indexOf("%")}function boundAlpha(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function convertToPercentage(e){return e<=1?"".concat(100*Number(e),"%"):e}function pad2(e){return 1===e.length?"0"+e:String(e)}function rgbToRgb(e,t,n){return{r:255*bound01$1(e,255),g:255*bound01$1(t,255),b:255*bound01$1(n,255)}}function rgbToHsl(e,t,n){e=bound01$1(e,255),t=bound01$1(t,255),n=bound01$1(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=0,l=(o+r)/2;if(o===r)a=0,i=0;else{var s=o-r;switch(a=l>.5?s/(2-o-r):s/(o+r),o){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4}i/=6}return{h:i,s:a,l:l}}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e,t,n){var o,r,i;if(e=bound01$1(e,360),t=bound01$1(t,100),n=bound01$1(n,100),0===t)r=n,i=n,o=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=hue2rgb(l,a,e+1/3),r=hue2rgb(l,a,e),i=hue2rgb(l,a,e-1/3)}return{r:255*o,g:255*r,b:255*i}}function rgbToHsv(e,t,n){e=bound01$1(e,255),t=bound01$1(t,255),n=bound01$1(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=o,l=o-r,s=0===o?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:i,s:s,v:a}}function hsvToRgb(e,t,n){e=6*bound01$1(e,360),t=bound01$1(t,100),n=bound01$1(n,100);var o=Math.floor(e),r=e-o,i=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),s=o%6;return{r:255*[n,a,i,i,l,n][s],g:255*[l,n,n,a,i,i][s],b:255*[i,i,l,n,n,a][s]}}function rgbToHex(e,t,n,o){var r=[pad2(Math.round(e).toString(16)),pad2(Math.round(t).toString(16)),pad2(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function rgbaToHex(e,t,n,o,r){var i=[pad2(Math.round(e).toString(16)),pad2(Math.round(t).toString(16)),pad2(Math.round(n).toString(16)),pad2(convertDecimalToHex(o))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function convertDecimalToHex(e){return Math.round(255*parseFloat(e)).toString(16)}function convertHexToDecimal(e){return parseIntFromHex(e)/255}function parseIntFromHex(e){return parseInt(e,16)}function numberInputToObject(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,i=null,a=!1,l=!1;return"string"==typeof e&&(e=stringInputToObject(e)),"object"==typeof e&&(isValidCSSUnit(e.r)&&isValidCSSUnit(e.g)&&isValidCSSUnit(e.b)?(t=rgbToRgb(e.r,e.g,e.b),a=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):isValidCSSUnit(e.h)&&isValidCSSUnit(e.s)&&isValidCSSUnit(e.v)?(o=convertToPercentage(e.s),r=convertToPercentage(e.v),t=hsvToRgb(e.h,o,r),a=!0,l="hsv"):isValidCSSUnit(e.h)&&isValidCSSUnit(e.s)&&isValidCSSUnit(e.l)&&(o=convertToPercentage(e.s),i=convertToPercentage(e.l),t=hslToRgb(e.h,o,i),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=boundAlpha(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(names[e])e=names[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=matchers.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=matchers.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=matchers.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=matchers.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=matchers.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=matchers.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=matchers.hex8.exec(e))?{r:parseIntFromHex(n[1]),g:parseIntFromHex(n[2]),b:parseIntFromHex(n[3]),a:convertHexToDecimal(n[4]),format:t?"name":"hex8"}:(n=matchers.hex6.exec(e))?{r:parseIntFromHex(n[1]),g:parseIntFromHex(n[2]),b:parseIntFromHex(n[3]),format:t?"name":"hex"}:(n=matchers.hex4.exec(e))?{r:parseIntFromHex(n[1]+n[1]),g:parseIntFromHex(n[2]+n[2]),b:parseIntFromHex(n[3]+n[3]),a:convertHexToDecimal(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=matchers.hex3.exec(e))&&{r:parseIntFromHex(n[1]+n[1]),g:parseIntFromHex(n[2]+n[2]),b:parseIntFromHex(n[3]+n[3]),format:t?"name":"hex"}}function isValidCSSUnit(e){return Boolean(matchers.CSS_UNIT.exec(String(e)))}var TinyColor=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=numberInputToObject(t)),this.originalInput=t;var r=inputToRGB(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,o=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=boundAlpha(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=rgbToHsv(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=rgbToHsv(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=rgbToHsl(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=rgbToHsl(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),rgbToHex(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),rgbaToHex(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*bound01$1(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*bound01$1(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+rgbToHex(this.r,this.g,this.b,!1),t=0,n=Object.entries(names);t<n.length;t++){var o=n[t],r=o[0];if(e===o[1])return r}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var n=!1,o=this.a<1&&this.a>=0;return t||!o||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=clamp01(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=clamp01(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=clamp01(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=clamp01(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),i=n/100;return new e({r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var o=this.toHsl(),r=360/n,i=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:o,s:r,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],i=360/t,a=1;a<t;a++)r.push(new e({h:(o+a*i)%360,s:n.s,l:n.l}));return r},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function darken(e,t=20){return e.mix("#141414",t).toString()}function useButtonCustomStyle(e){const t=useFormDisabled(),n=useNamespace("button");return computed((()=>{let o={},r=e.color;if(r){const i=r.match(/var\((.*?)\)/);i&&(r=window.getComputedStyle(window.document.documentElement).getPropertyValue(i[1]));const a=new TinyColor(r),l=e.dark?a.tint(20).toString():darken(a,20);if(e.plain)o=n.cssVarBlock({"bg-color":e.dark?darken(a,90):a.tint(90).toString(),"text-color":r,"border-color":e.dark?darken(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":r,"hover-border-color":r,"active-bg-color":l,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":l}),t.value&&(o[n.cssVarBlockName("disabled-bg-color")]=e.dark?darken(a,90):a.tint(90).toString(),o[n.cssVarBlockName("disabled-text-color")]=e.dark?darken(a,50):a.tint(50).toString(),o[n.cssVarBlockName("disabled-border-color")]=e.dark?darken(a,80):a.tint(80).toString());else{const i=e.dark?darken(a,30):a.tint(30).toString(),s=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(o=n.cssVarBlock({"bg-color":r,"text-color":s,"border-color":r,"hover-bg-color":i,"hover-text-color":s,"hover-border-color":i,"active-bg-color":l,"active-border-color":l}),t.value){const t=e.dark?darken(a,50):a.tint(50).toString();o[n.cssVarBlockName("disabled-bg-color")]=t,o[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,o[n.cssVarBlockName("disabled-border-color")]=t}}}return o}))}const __default__$1C=defineComponent({name:"ElButton"}),_sfc_main$2c=defineComponent({...__default__$1C,props:buttonProps,emits:buttonEmits,setup(e,{expose:t,emit:n}){const o=e,r=useButtonCustomStyle(o),i=useNamespace("button"),{_ref:a,_size:l,_type:s,_disabled:c,_props:u,shouldAddSpace:d,handleClick:p}=useButton(o,n),f=computed((()=>[i.b(),i.m(s.value),i.m(l.value),i.is("disabled",c.value),i.is("loading",o.loading),i.is("plain",o.plain),i.is("round",o.round),i.is("circle",o.circle),i.is("text",o.text),i.is("link",o.link),i.is("has-bg",o.bg)]));return t({ref:a,size:l,type:s,disabled:c,shouldAddSpace:d}),(e,t)=>(openBlock(),createBlock(resolveDynamicComponent(e.tag),mergeProps({ref_key:"_ref",ref:a},unref(u),{class:unref(f),style:unref(r),onClick:unref(p)}),{default:withCtx((()=>[e.loading?(openBlock(),createElementBlock(Fragment,{key:0},[e.$slots.loading?renderSlot(e.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(i).is("loading"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.loadingIcon)))])),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx((()=>[e.icon?(openBlock(),createBlock(resolveDynamicComponent(e.icon),{key:0})):renderSlot(e.$slots,"icon",{key:1})])),_:3})):createCommentVNode("v-if",!0),e.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(i).em("text","expand")]:unref(d)})},[renderSlot(e.$slots,"default")],2)):createCommentVNode("v-if",!0)])),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc(_sfc_main$2c,[["__file","button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1B=defineComponent({name:"ElButtonGroup"}),_sfc_main$2b=defineComponent({...__default__$1B,props:buttonGroupProps,setup(e){const t=e;provide(buttonGroupContextKey,reactive({size:toRef$1(t,"size"),type:toRef$1(t,"type")}));const n=useNamespace("button");return(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(n).b("group"))},[renderSlot(e.$slots,"default")],2))}});var ButtonGroup=_export_sfc(_sfc_main$2b,[["__file","button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup:ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var dayjs_min$1={exports:{}},dayjs_min=dayjs_min$1.exports,hasRequiredDayjs_min;function requireDayjs_min(){return hasRequiredDayjs_min||(hasRequiredDayjs_min=1,dayjs_min$1.exports=function(){var e=1e3,t=6e4,n=36e5,o="millisecond",r="second",i="minute",a="hour",l="day",s="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,g={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])+"]"}},v=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+v(o,2,"0")+":"+v(r,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(o,c),i=n-r<0,a=t.clone().add(o+(i?-1:1),c);return+(-(o+(n-r)/(i?r-a:a-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:s,d:l,D:p,h:a,m:i,s:r,ms:o,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=g;var w="$isDayjsObject",k=function(e){return e instanceof E||!(!e||!e[w])},x=function e(t,n,o){var r;if(!t)return b;if("string"==typeof t){var i=t.toLowerCase();_[i]&&(r=i),n&&(_[i]=n,r=i);var a=t.split("-");if(!r&&a.length>1)return e(a[0])}else{var l=t.name;_[l]=t,r=l}return!o&&r&&(b=r),r||!o&&b},S=function(e,t){if(k(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},C=y;C.l=x,C.i=k,C.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(C.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(h);if(o){var r=o[2]-1||0,i=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)}}return new Date(t)}(e),this.init()},v.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()},v.$utils=function(){return C},v.isValid=function(){return!(this.$d.toString()===f)},v.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return S(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<S(e)},v.$g=function(e,t,n){return C.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,o=!!C.u(t)||t,u=C.p(e),f=function(e,t){var r=C.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?r:r.endOf(l)},h=function(e,t){return C.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case d:return o?f(1,0):f(31,11);case c:return o?f(1,g):f(0,g+1);case s:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(o?v-_:v+(6-_),g);case l:case p:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case i:return h(y+"Seconds",2);case r:return h(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,s=C.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[l]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[r]=u+"Seconds",n[o]=u+"Milliseconds",n)[s],h=s===l?this.$D+(t-this.$W):t;if(s===c||s===d){var m=this.clone().set(p,1);m.$d[f](h),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[C.p(e)]()},v.add=function(o,u){var p,f=this;o=Number(o);var h=C.p(u),m=function(e){var t=S(f);return C.w(t.date(t.date()+Math.round(e*o)),f)};if(h===c)return this.set(c,this.$M+o);if(h===d)return this.set(d,this.$y+o);if(h===l)return m(1);if(h===s)return m(7);var g=(p={},p[i]=t,p[a]=n,p[r]=e,p)[h]||1,v=this.$d.getTime()+o*g;return C.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var o=e||"YYYY-MM-DDTHH:mm:ssZ",r=C.z(this),i=this.$H,a=this.$m,l=this.$M,s=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,r,i){return e&&(e[n]||e(t,o))||r[n].slice(0,i)},p=function(e){return C.s(i%12||12,e,"0")},h=u||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o};return o.replace(m,(function(e,o){return o||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return C.s(t.$y,4,"0");case"M":return l+1;case"MM":return C.s(l+1,2,"0");case"MMM":return d(n.monthsShort,l,c,3);case"MMMM":return d(c,l);case"D":return t.$D;case"DD":return C.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,s,2);case"ddd":return d(n.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(i);case"HH":return C.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return C.s(a,2,"0");case"s":return String(t.$s);case"ss":return C.s(t.$s,2,"0");case"SSS":return C.s(t.$ms,3,"0");case"Z":return r}return null}(e)||r.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(o,p,f){var h,m=this,g=C.p(p),v=S(o),y=(v.utcOffset()-this.utcOffset())*t,b=this-v,_=function(){return C.m(m,v)};switch(g){case d:h=_()/12;break;case c:h=_();break;case u:h=_()/3;break;case s:h=(b-y)/6048e5;break;case l:h=(b-y)/864e5;break;case a:h=b/n;break;case i:h=b/t;break;case r:h=b/e;break;default:h=b}return f?h:C.a(h)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return _[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=x(e,t,!0);return o&&(n.$L=o),n},v.clone=function(){return C.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),T=E.prototype;return S.prototype=T,[["$ms",o],["$s",r],["$m",i],["$H",a],["$W",l],["$M",c],["$y",d],["$D",p]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,E,S),e.$i=!0),S},S.locale=x,S.isDayjs=k,S.unix=function(e){return S(1e3*e)},S.en=_[b],S.Ls=_,S.p={},S}()),dayjs_min$1.exports}var dayjs_minExports=requireDayjs_min();const dayjs=getDefaultExportFromCjs(dayjs_minExports),buildTimeList=(e,t)=>[e>0?e-1:void 0,e,e<t?e+1:void 0],rangeArr=e=>Array.from(Array.from({length:e}).keys()),extractDateFormat=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(e,t){const n=isDate$1(e),o=isDate$1(t);return n&&o?e.getTime()===t.getTime():!n&&!o&&e===t},valueEquals=function(e,t){const n=isArray$6(e),o=isArray$6(t);return n&&o?e.length===t.length&&e.every(((e,n)=>dateEquals(e,t[n]))):!n&&!o&&dateEquals(e,t)},parseDate=function(e,t,n){const o=isEmpty(t)||"x"===t?dayjs(e).locale(n):dayjs(e,t).locale(n);return o.isValid()?o:void 0},formatter=function(e,t,n){return isEmpty(t)?e:"x"===t?+e:dayjs(e).locale(n).format(t)},makeList=(e,t)=>{var n;const o=[],r=null==t?void 0:t();for(let i=0;i<e;i++)o.push(null!=(n=null==r?void 0:r.includes(i))&&n);return o},dayOrDaysToDate=e=>isArray$6(e)?e.map((e=>e.toDate())):e.toDate(),getPrevMonthLastDays=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return rangeArr(t).map(((e,o)=>n-(t-o-1)))},getMonthDays=e=>{const t=e.daysInMonth();return rangeArr(t).map(((e,t)=>t+1))},toNestedArr=e=>rangeArr(e.length/7).map((t=>{const n=7*t;return e.slice(n,n+7)})),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:e=>isObject$8(e)};var localeData$2={exports:{}},localeData$1=localeData$2.exports,hasRequiredLocaleData;function requireLocaleData(){return hasRequiredLocaleData||(hasRequiredLocaleData=1,localeData$2.exports=function(e,t,n){var o=t.prototype,r=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,o,i){var a=e.name?e:e.$locale(),l=r(a[t]),s=r(a[n]),c=l||s.map((function(e){return e.slice(0,o)}));if(!i)return c;var u=a.weekStart;return c.map((function(e,t){return c[(t+(u||0))%7]}))},a=function(){return n.Ls[n.locale()]},l=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))},s=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return l(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return s.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return l(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}),localeData$2.exports}var localeDataExports=requireLocaleData();const localeData=getDefaultExportFromCjs(localeDataExports),datePickTypes=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],useDateTable=(e,t)=>{dayjs.extend(localeData);const n=dayjs.localeData().firstDayOfWeek(),{t:o,lang:r}=useLocale(),i=dayjs().locale(r.value),a=computed((()=>!!e.range&&!!e.range.length)),l=computed((()=>{let t=[];if(a.value){const[n,o]=e.range,r=rangeArr(o.date()-n.date()+1).map((e=>({text:n.date()+e,type:"current"})));let i=r.length%7;i=0===i?0:7-i;const a=rangeArr(i).map(((e,t)=>({text:t+1,type:"next"})));t=r.concat(a)}else{const o=e.date.startOf("month").day();t=[...getPrevMonthLastDays(e.date,(o-n+7)%7).map((e=>({text:e,type:"prev"}))),...getMonthDays(e.date).map((e=>({text:e,type:"current"})))];const r=7-(t.length%7||7),i=rangeArr(r).map(((e,t)=>({text:t+1,type:"next"})));t=t.concat(i)}return toNestedArr(t)})),s=computed((()=>{const e=n;return 0===e?WEEK_DAYS.map((e=>o(`el.datepicker.weeks.${e}`))):WEEK_DAYS.slice(e).concat(WEEK_DAYS.slice(0,e)).map((e=>o(`el.datepicker.weeks.${e}`)))})),c=(t,n)=>{switch(n){case"prev":return e.date.startOf("month").subtract(1,"month").date(t);case"next":return e.date.startOf("month").add(1,"month").date(t);case"current":return e.date.date(t)}};return{now:i,isInRange:a,rows:l,weekDays:s,getFormattedDate:c,handlePickDay:({text:e,type:n})=>{const o=c(e,n);t("pick",o)},getSlotData:({text:t,type:n})=>{const o=c(t,n);return{isSelected:o.isSame(e.selectedDay),type:`${n}-month`,day:o.format("YYYY-MM-DD"),date:o.toDate()}}}},__default__$1A=defineComponent({name:"DateTable"}),_sfc_main$2a=defineComponent({...__default__$1A,props:dateTableProps,emits:dateTableEmits,setup(e,{expose:t,emit:n}){const o=e,{isInRange:r,now:i,rows:a,weekDays:l,getFormattedDate:s,handlePickDay:c,getSlotData:u}=useDateTable(o,n),d=useNamespace("calendar-table"),p=useNamespace("calendar-day"),f=({text:e,type:t})=>{const n=[t];if("current"===t){const r=s(e,t);r.isSame(o.selectedDay,"day")&&n.push(p.is("selected")),r.isSame(i,"day")&&n.push(p.is("today"))}return n};return t({getFormattedDate:s}),(e,t)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(d).b(),unref(d).is("range",unref(r))]),cellspacing:"0",cellpadding:"0"},[e.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(l),(e=>(openBlock(),createElementBlock("th",{key:e,scope:"col"},toDisplayString(e),1)))),128))])])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(a),((t,n)=>(openBlock(),createElementBlock("tr",{key:n,class:normalizeClass({[unref(d).e("row")]:!0,[unref(d).em("row","hide-border")]:0===n&&e.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t,((t,n)=>(openBlock(),createElementBlock("td",{key:n,class:normalizeClass(f(t)),onClick:e=>unref(c)(t)},[createBaseVNode("div",{class:normalizeClass(unref(p).b())},[renderSlot(e.$slots,"date-cell",{data:unref(u)(t)},(()=>[createBaseVNode("span",null,toDisplayString(t.text),1)]))],2)],10,["onClick"])))),128))],2)))),128))])],2))}});var DateTable$1=_export_sfc(_sfc_main$2a,[["__file","date-table.vue"]]);const adjacentMonth=(e,t)=>{const n=e.endOf("month"),o=t.startOf("month"),r=n.isSame(o,"week");return[[e,n],[(r?o.add(1,"week"):o).startOf("week"),t]]},threeConsecutiveMonth=(e,t)=>{const n=e.endOf("month"),o=e.add(1,"month").startOf("month"),r=n.isSame(o,"week")?o.add(1,"week"):o,i=r.endOf("month"),a=t.startOf("month"),l=i.isSame(a,"week")?a.add(1,"week"):a;return[[e,n],[r.startOf("week"),i],[l.startOf("week"),t]]},useCalendar=(e,t,n)=>{const{lang:o}=useLocale(),r=ref(),i=dayjs().locale(o.value),a=computed({get:()=>e.modelValue?s.value:r.value,set(e){if(!e)return;r.value=e;const n=e.toDate();t(INPUT_EVENT,n),t(UPDATE_MODEL_EVENT,n)}}),l=computed((()=>{if(!e.range||!isArray$6(e.range)||2!==e.range.length||e.range.some((e=>!isDate$1(e))))return[];const t=e.range.map((e=>dayjs(e).locale(o.value))),[n,r]=t;return n.isAfter(r)?[]:n.isSame(r,"month")?f(n,r):n.add(1,"month").month()!==r.month()?[]:f(n,r)})),s=computed((()=>e.modelValue?dayjs(e.modelValue).locale(o.value):a.value||(l.value.length?l.value[0][0]:i))),c=computed((()=>s.value.subtract(1,"month").date(1))),u=computed((()=>s.value.add(1,"month").date(1))),d=computed((()=>s.value.subtract(1,"year").date(1))),p=computed((()=>s.value.add(1,"year").date(1))),f=(e,t)=>{const n=e.startOf("week"),o=t.endOf("week"),r=n.get("month"),i=o.get("month");return r===i?[[n,o]]:(r+1)%12===i?adjacentMonth(n,o):r+2===i||(r+1)%11===i?threeConsecutiveMonth(n,o):[]},h=e=>{a.value=e};return{calculateValidatedDateRange:f,date:s,realSelectedDay:a,pickDay:h,selectDate:e=>{const t={"prev-month":c.value,"next-month":u.value,"prev-year":d.value,"next-year":p.value,today:i}[e];t.isSame(s.value,"day")||h(t)},validatedRange:l}},isValidRange$1=e=>isArray$6(e)&&2===e.length&&e.every((e=>isDate$1(e))),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:e=>isDate$1(e),[INPUT_EVENT]:e=>isDate$1(e)},COMPONENT_NAME$j="ElCalendar",__default__$1z=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$29=defineComponent({...__default__$1z,props:calendarProps,emits:calendarEmits,setup(e,{expose:t,emit:n}){const o=e,r=useNamespace("calendar"),{calculateValidatedDateRange:i,date:a,pickDay:l,realSelectedDay:s,selectDate:c,validatedRange:u}=useCalendar(o,n),{t:d}=useLocale(),p=computed((()=>{const e=`el.datepicker.month${a.value.format("M")}`;return`${a.value.year()} ${d("el.datepicker.year")} ${d(e)}`}));return t({selectedDay:s,pickDay:l,selectDate:c,calculateValidatedDateRange:i}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(r).b())},[createBaseVNode("div",{class:normalizeClass(unref(r).e("header"))},[renderSlot(e.$slots,"header",{date:unref(p)},(()=>[createBaseVNode("div",{class:normalizeClass(unref(r).e("title"))},toDisplayString(unref(p)),3),0===unref(u).length?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("button-group"))},[createVNode$1(unref(ElButtonGroup$1),null,{default:withCtx((()=>[createVNode$1(unref(ElButton),{size:"small",onClick:e=>unref(c)("prev-month")},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(d)("el.datepicker.prevMonth")),1)])),_:1},8,["onClick"]),createVNode$1(unref(ElButton),{size:"small",onClick:e=>unref(c)("today")},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(d)("el.datepicker.today")),1)])),_:1},8,["onClick"]),createVNode$1(unref(ElButton),{size:"small",onClick:e=>unref(c)("next-month")},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(d)("el.datepicker.nextMonth")),1)])),_:1},8,["onClick"])])),_:1})],2)):createCommentVNode("v-if",!0)]))],2),0===unref(u).length?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("body"))},[createVNode$1(DateTable$1,{date:unref(a),"selected-day":unref(s),onPick:unref(l)},createSlots({_:2},[e.$slots["date-cell"]?{name:"date-cell",fn:withCtx((t=>[renderSlot(e.$slots,"date-cell",normalizeProps(guardReactiveProps(t)))]))}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(r).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(u),((t,n)=>(openBlock(),createBlock(DateTable$1,{key:n,date:t[0],"selected-day":unref(s),range:t,"hide-header":0!==n,onPick:unref(l)},createSlots({_:2},[e.$slots["date-cell"]?{name:"date-cell",fn:withCtx((t=>[renderSlot(e.$slots,"date-cell",normalizeProps(guardReactiveProps(t)))]))}:void 0]),1032,["date","selected-day","range","hide-header","onPick"])))),128))],2))],2))}});var Calendar=_export_sfc(_sfc_main$29,[["__file","calendar.vue"]]);const ElCalendar=withInstall(Calendar),cardProps=buildProps({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1y=defineComponent({name:"ElCard"}),_sfc_main$28=defineComponent({...__default__$1y,props:cardProps,setup(e){const t=useNamespace("card");return(e,n)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(t).b(),unref(t).is(`${e.shadow}-shadow`)])},[e.$slots.header||e.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(t).e("header"),e.headerClass])},[renderSlot(e.$slots,"header",{},(()=>[createTextVNode(toDisplayString(e.header),1)]))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref(t).e("body"),e.bodyClass]),style:normalizeStyle$1(e.bodyStyle)},[renderSlot(e.$slots,"default")],6),e.$slots.footer||e.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(t).e("footer"),e.footerClass])},[renderSlot(e.$slots,"footer",{},(()=>[createTextVNode(toDisplayString(e.footer),1)]))],2)):createCommentVNode("v-if",!0)],2))}});var Card=_export_sfc(_sfc_main$28,[["__file","card.vue"]]);const ElCard=withInstall(Card),carouselProps=buildProps({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),carouselEmits={change:(e,t)=>[e,t].every(isNumber)},carouselContextKey=Symbol("carouselContextKey"),CAROUSEL_ITEM_NAME="ElCarouselItem";var PatchFlags=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(PatchFlags||{});function isFragment(e){return isVNode(e)&&e.type===Fragment}function isComment(e){return isVNode(e)&&e.type===Comment$1}function isValidElementNode(e){return isVNode(e)&&!isFragment(e)&&!isComment(e)}const getNormalizedProps=e=>{if(!isVNode(e))return{};const t=e.props||{},n=(isVNode(e.type)?e.type.props:void 0)||{},o={};return Object.keys(n).forEach((e=>{hasOwn$1(n[e],"default")&&(o[e]=n[e].default)})),Object.keys(t).forEach((e=>{o[camelize(e)]=t[e]})),o},ensureOnlyChild=e=>{if(!isArray$6(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},flattedChildren=e=>{const t=isArray$6(e)?e:[e],n=[];return t.forEach((e=>{var t;isArray$6(e)?n.push(...flattedChildren(e)):isVNode(e)&&(null==(t=e.component)?void 0:t.subTree)?n.push(e,...flattedChildren(e.component.subTree)):isVNode(e)&&isArray$6(e.children)?n.push(...flattedChildren(e.children)):isVNode(e)&&2===e.shapeFlag?n.push(...flattedChildren(e.type())):n.push(e)})),n},getOrderedChildren=(e,t,n)=>{const o=flattedChildren(e.subTree).filter((e=>{var n;return isVNode(e)&&(null==(n=e.type)?void 0:n.name)===t&&!!e.component})),r=o.map((e=>e.component.uid));return r.map((e=>n[e])).filter((e=>!!e))},useOrderedChildren=(e,t)=>{const n={},o=shallowRef([]);return{children:o,addChild:r=>{n[r.uid]=r,o.value=getOrderedChildren(e,t,n)},removeChild:e=>{delete n[e],o.value=o.value.filter((t=>t.uid!==e))}}},THROTTLE_TIME=300,useCarousel=(e,t,n)=>{const{children:o,addChild:r,removeChild:i}=useOrderedChildren(getCurrentInstance(),CAROUSEL_ITEM_NAME),a=useSlots(),l=ref(-1),s=ref(null),c=ref(!1),u=ref(),d=ref(0),p=ref(!0),f=ref(!0),h=ref(!1),m=computed((()=>"never"!==e.arrow&&!unref(y))),g=computed((()=>o.value.some((e=>e.props.label.toString().length>0)))),v=computed((()=>"card"===e.type)),y=computed((()=>"vertical"===e.direction)),b=computed((()=>"auto"!==e.height?{height:e.height}:{height:`${d.value}px`,overflow:"hidden"})),_=throttle$3((e=>{C(e)}),THROTTLE_TIME,{trailing:!0}),w=throttle$3((t=>{!function(t){"hover"===e.trigger&&t!==l.value&&(l.value=t,f.value||(h.value=!0))}(t)}),THROTTLE_TIME);function k(){s.value&&(clearInterval(s.value),s.value=null)}function x(){e.interval<=0||!e.autoplay||s.value||(s.value=setInterval((()=>S()),e.interval))}const S=()=>{f.value||(h.value=!0),f.value=!1,l.value<o.value.length-1?l.value=l.value+1:e.loop?l.value=0:h.value=!1};function C(t){if(f.value||(h.value=!0),f.value=!1,isString$4(t)){const e=o.value.filter((e=>e.props.name===t));e.length>0&&(t=o.value.indexOf(e[0]))}if(t=Number(t),Number.isNaN(t)||t!==Math.floor(t))return;const n=o.value.length,r=l.value;l.value=t<0?e.loop?n-1:0:t>=n?e.loop?0:n-1:t,r===l.value&&E(r),T()}function E(e){o.value.forEach(((t,n)=>{t.translateItem(n,l.value,e)}))}function T(){k(),e.pauseOnHover||x()}watch((()=>l.value),((e,n)=>{E(n),p.value&&(e%=2,n%=2),n>-1&&t(CHANGE_EVENT,e,n)})),watch((()=>e.autoplay),(e=>{e?x():k()})),watch((()=>e.loop),(()=>{C(l.value)})),watch((()=>e.interval),(()=>{T()}));const A=shallowRef();return onMounted((()=>{watch((()=>o.value),(()=>{o.value.length>0&&C(e.initialIndex)}),{immediate:!0}),A.value=useResizeObserver(u.value,(()=>{E()})),x()})),onBeforeUnmount((()=>{k(),u.value&&A.value&&A.value.stop()})),provide(carouselContextKey,{root:u,isCardType:v,isVertical:y,items:o,loop:e.loop,cardScale:e.cardScale,addItem:r,removeItem:i,setActiveItem:C,setContainerHeight:function(t){"auto"===e.height&&(d.value=t)}}),{root:u,activeIndex:l,arrowDisplay:m,hasLabel:g,hover:c,isCardType:v,isTransitioning:h,items:o,isVertical:y,containerStyle:b,isItemsTwoLength:p,handleButtonEnter:function(e){unref(y)||o.value.forEach(((t,n)=>{e===function(e,t){var n,r,i,a;const l=unref(o),s=l.length;if(0===s||!e.states.inStage)return!1;const c=t+1,u=t-1,d=s-1,p=l[d].states.active,f=l[0].states.active,h=null==(r=null==(n=l[c])?void 0:n.states)?void 0:r.active,m=null==(a=null==(i=l[u])?void 0:i.states)?void 0:a.active;return t===d&&f||h?"left":!!(0===t&&p||m)&&"right"}(t,n)&&(t.states.hover=!0)}))},handleTransitionEnd:function(){h.value=!1},handleButtonLeave:function(){unref(y)||o.value.forEach((e=>{e.states.hover=!1}))},handleIndicatorClick:function(e){e!==l.value&&(f.value||(h.value=!0)),l.value=e},handleMouseEnter:function(){c.value=!0,e.pauseOnHover&&k()},handleMouseLeave:function(){c.value=!1,x()},setActiveItem:C,prev:function(){C(l.value-1)},next:function(){C(l.value+1)},PlaceholderItem:function(){var t;const n=null==(t=a.default)?void 0:t.call(a);if(!n)return null;const o=flattedChildren(n).filter((e=>isVNode(e)&&e.type.name===CAROUSEL_ITEM_NAME));return 2===(null==o?void 0:o.length)&&e.loop&&!v.value?(p.value=!0,o):(p.value=!1,null)},isTwoLengthShow:e=>!p.value||(l.value<=1?e<=1:e>1),throttledArrowClick:_,throttledIndicatorHover:w}},COMPONENT_NAME$i="ElCarousel",__default__$1x=defineComponent({name:COMPONENT_NAME$i}),_sfc_main$27=defineComponent({...__default__$1x,props:carouselProps,emits:carouselEmits,setup(e,{expose:t,emit:n}){const o=e,{root:r,activeIndex:i,arrowDisplay:a,hasLabel:l,hover:s,isCardType:c,items:u,isVertical:d,containerStyle:p,handleButtonEnter:f,handleButtonLeave:h,isTransitioning:m,handleIndicatorClick:g,handleMouseEnter:v,handleMouseLeave:y,handleTransitionEnd:b,setActiveItem:_,prev:w,next:k,PlaceholderItem:x,isTwoLengthShow:S,throttledArrowClick:C,throttledIndicatorHover:E}=useCarousel(o,n),T=useNamespace("carousel"),{t:A}=useLocale(),$=computed((()=>{const e=[T.b(),T.m(o.direction)];return unref(c)&&e.push(T.m("card")),e})),I=computed((()=>{const e=[T.e("container")];return o.motionBlur&&unref(m)&&u.value.length>1&&e.push(unref(d)?`${T.namespace.value}-transitioning-vertical`:`${T.namespace.value}-transitioning`),e})),M=computed((()=>{const e=[T.e("indicators"),T.em("indicators",o.direction)];return unref(l)&&e.push(T.em("indicators","labels")),"outside"===o.indicatorPosition&&e.push(T.em("indicators","outside")),unref(d)&&e.push(T.em("indicators","right")),e}));return t({activeIndex:i,setActiveItem:_,prev:w,next:k}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:r,class:normalizeClass(unref($)),onMouseenter:withModifiers(unref(v),["stop"]),onMouseleave:withModifiers(unref(y),["stop"])},[unref(a)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx((()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(T).e("arrow"),unref(T).em("arrow","left")]),"aria-label":unref(A)("el.carousel.leftArrow"),onMouseenter:e=>unref(f)("left"),onMouseleave:unref(h),onClick:withModifiers((e=>unref(C)(unref(i)-1)),["stop"])},[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_left_default))])),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[vShow,("always"===e.arrow||unref(s))&&(o.loop||unref(i)>0)]])])),_:1})):createCommentVNode("v-if",!0),unref(a)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx((()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(T).e("arrow"),unref(T).em("arrow","right")]),"aria-label":unref(A)("el.carousel.rightArrow"),onMouseenter:e=>unref(f)("right"),onMouseleave:unref(h),onClick:withModifiers((e=>unref(C)(unref(i)+1)),["stop"])},[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_right_default))])),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[vShow,("always"===e.arrow||unref(s))&&(o.loop||unref(i)<unref(u).length-1)]])])),_:1})):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(I)),style:normalizeStyle$1(unref(p)),onTransitionend:unref(b)},[createVNode$1(unref(x)),renderSlot(e.$slots,"default")],46,["onTransitionend"]),"none"!==e.indicatorPosition?(openBlock(),createElementBlock("ul",{key:2,class:normalizeClass(unref(M))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(u),((t,n)=>withDirectives((openBlock(),createElementBlock("li",{key:n,class:normalizeClass([unref(T).e("indicator"),unref(T).em("indicator",e.direction),unref(T).is("active",n===unref(i))]),onMouseenter:e=>unref(E)(n),onClick:withModifiers((e=>unref(g)(n)),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(T).e("button")),"aria-label":unref(A)("el.carousel.indicator",{index:n+1})},[unref(l)?(openBlock(),createElementBlock("span",{key:0},toDisplayString(t.props.label),1)):createCommentVNode("v-if",!0)],10,["aria-label"])],42,["onMouseenter","onClick"])),[[vShow,unref(S)(n)]]))),128))],2)):createCommentVNode("v-if",!0),o.motionBlur?(openBlock(),createElementBlock("svg",{key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},[createBaseVNode("defs",null,[createBaseVNode("filter",{id:"elCarouselHorizontal"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),createBaseVNode("filter",{id:"elCarouselVertical"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])])])):createCommentVNode("v-if",!0)],42,["onMouseenter","onMouseleave"]))}});var Carousel=_export_sfc(_sfc_main$27,[["__file","carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=e=>{const t=inject(carouselContextKey),n=getCurrentInstance(),o=ref(),r=ref(!1),i=ref(0),a=ref(1),l=ref(!1),s=ref(!1),c=ref(!1),u=ref(!1),{isCardType:d,isVertical:p,cardScale:f}=t;const h=(e,n,r)=>{var h;const m=unref(d),g=null!=(h=t.items.value.length)?h:Number.NaN,v=e===n;m||isUndefined(r)||(u.value=v||e===r),!v&&g>2&&t.loop&&(e=function(e,t,n){const o=n-1,r=n/2;return 0===t&&e===o?-1:t===o&&0===e?n:e<t-1&&t-e>=r?n+1:e>t+1&&e-t>=r?-2:e}(e,n,g));const y=unref(p);l.value=v,m?(c.value=Math.round(Math.abs(e-n))<=1,i.value=function(e,n){var o,r;const i=unref(p)?(null==(o=t.root.value)?void 0:o.offsetHeight)||0:(null==(r=t.root.value)?void 0:r.offsetWidth)||0;return c.value?i*((2-f)*(e-n)+1)/4:e<n?-(1+f)*i/4:(3+f)*i/4}(e,n),a.value=unref(l)?1:f):i.value=function(e,n,o){const r=t.root.value;return r?((o?r.offsetHeight:r.offsetWidth)||0)*(e-n):0}(e,n,y),s.value=!0,v&&o.value&&t.setContainerHeight(o.value.offsetHeight)};return onMounted((()=>{t.addItem({props:e,states:reactive({hover:r,translate:i,scale:a,active:l,ready:s,inStage:c,animating:u}),uid:n.uid,translateItem:h})})),onUnmounted((()=>{t.removeItem(n.uid)})),{carouselItemRef:o,active:l,animating:u,hover:r,inStage:c,isVertical:p,translate:i,isCardType:d,scale:a,ready:s,handleItemClick:function(){if(t&&unref(d)){const e=t.items.value.findIndex((({uid:e})=>e===n.uid));t.setActiveItem(e)}}}},__default__$1w=defineComponent({name:CAROUSEL_ITEM_NAME}),_sfc_main$26=defineComponent({...__default__$1w,props:carouselItemProps,setup(e){const t=e,n=useNamespace("carousel"),{carouselItemRef:o,active:r,animating:i,hover:a,inStage:l,isVertical:s,translate:c,isCardType:u,scale:d,ready:p,handleItemClick:f}=useCarouselItem(t),h=computed((()=>[n.e("item"),n.is("active",r.value),n.is("in-stage",l.value),n.is("hover",a.value),n.is("animating",i.value),{[n.em("item","card")]:u.value,[n.em("item","card-vertical")]:u.value&&s.value}])),m=computed((()=>({transform:[`${"translate"+(unref(s)?"Y":"X")}(${unref(c)}px)`,`scale(${unref(d)})`].join(" ")})));return(e,t)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:o,class:normalizeClass(unref(h)),style:normalizeStyle$1(unref(m)),onClick:unref(f)},[unref(u)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("mask"))},null,2)),[[vShow,!unref(r)]]):createCommentVNode("v-if",!0),renderSlot(e.$slots,"default")],14,["onClick"])),[[vShow,unref(p)]])}});var CarouselItem=_export_sfc(_sfc_main$26,[["__file","carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem:CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaControls"])},checkboxEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e)||isNumber(e)||isBoolean(e),change:e=>isString$4(e)||isNumber(e)||isBoolean(e)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:e,isChecked:t})=>{const n=inject(checkboxGroupContextKey,void 0),o=computed((()=>{var o,r;const i=null==(o=null==n?void 0:n.max)?void 0:o.value,a=null==(r=null==n?void 0:n.min)?void 0:r.value;return!isUndefined(i)&&e.value.length>=i&&!t.value||!isUndefined(a)&&e.value.length<=a&&t.value}));return{isDisabled:useFormDisabled(computed((()=>(null==n?void 0:n.disabled.value)||o.value))),isLimitDisabled:o}},useCheckboxEvent=(e,{model:t,isLimitExceeded:n,hasOwnLabel:o,isDisabled:r,isLabeledByFormItem:i})=>{const a=inject(checkboxGroupContextKey,void 0),{formItem:l}=useFormItem(),{emit:s}=getCurrentInstance();function c(t){var n,o,r,i;return[!0,e.trueValue,e.trueLabel].includes(t)?null==(o=null!=(n=e.trueValue)?n:e.trueLabel)||o:null!=(i=null!=(r=e.falseValue)?r:e.falseLabel)&&i}const u=computed((()=>(null==a?void 0:a.validateEvent)||e.validateEvent));return watch((()=>e.modelValue),(()=>{u.value&&(null==l||l.validate("change").catch((e=>debugWarn())))})),{handleChange:function(e){if(n.value)return;const t=e.target;s(CHANGE_EVENT,c(t.checked),e)},onClickRoot:async function(a){if(!n.value&&!o.value&&!r.value&&i.value){a.composedPath().some((e=>"LABEL"===e.tagName))||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await nextTick(),function(e,t){s(CHANGE_EVENT,c(e),t)}(t.value,a))}}}},useCheckboxModel=e=>{const t=ref(!1),{emit:n}=getCurrentInstance(),o=inject(checkboxGroupContextKey,void 0),r=computed((()=>!1===isUndefined(o))),i=ref(!1),a=computed({get(){var n,i;return r.value?null==(n=null==o?void 0:o.modelValue)?void 0:n.value:null!=(i=e.modelValue)?i:t.value},set(e){var l,s;r.value&&isArray$6(e)?(i.value=void 0!==(null==(l=null==o?void 0:o.max)?void 0:l.value)&&e.length>(null==o?void 0:o.max.value)&&e.length>a.value.length,!1===i.value&&(null==(s=null==o?void 0:o.changeEvent)||s.call(o,e))):(n(UPDATE_MODEL_EVENT,e),t.value=e)}});return{model:a,isGroup:r,isLimitExceeded:i}},useCheckboxStatus=(e,t,{model:n})=>{const o=inject(checkboxGroupContextKey,void 0),r=ref(!1),i=computed((()=>isPropAbsent(e.value)?e.label:e.value)),a=computed((()=>{const t=n.value;return isBoolean(t)?t:isArray$6(t)?isObject$8(i.value)?t.map(toRaw).some((e=>isEqual$1(e,i.value))):t.map(toRaw).includes(i.value):null!=t?t===e.trueValue||t===e.trueLabel:!!t}));return{checkboxButtonSize:useFormSize(computed((()=>{var e;return null==(e=null==o?void 0:o.size)?void 0:e.value})),{prop:!0}),isChecked:a,isFocused:r,checkboxSize:useFormSize(computed((()=>{var e;return null==(e=null==o?void 0:o.size)?void 0:e.value}))),hasOwnLabel:computed((()=>!!t.default||!isPropAbsent(i.value))),actualValue:i}},useCheckbox=(e,t)=>{const{formItem:n}=useFormItem(),{model:o,isGroup:r,isLimitExceeded:i}=useCheckboxModel(e),{isFocused:a,isChecked:l,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u,actualValue:d}=useCheckboxStatus(e,t,{model:o}),{isDisabled:p}=useCheckboxDisabled({model:o,isChecked:l}),{inputId:f,isLabeledByFormItem:h}=useFormItemInputId(e,{formItemContext:n,disableIdGeneration:u,disableIdManagement:r}),{handleChange:m,onClickRoot:g}=useCheckboxEvent(e,{model:o,isLimitExceeded:i,hasOwnLabel:u,isDisabled:p,isLabeledByFormItem:h});var v,y;return e.checked&&(isArray$6(o.value)&&!o.value.includes(d.value)?o.value.push(d.value):o.value=null==(y=null!=(v=e.trueValue)?v:e.trueLabel)||y),useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed((()=>r.value&&isPropAbsent(e.value)))),useDeprecated({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed((()=>!!e.trueLabel))),useDeprecated({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed((()=>!!e.falseLabel))),{inputId:f,isLabeledByFormItem:h,isChecked:l,isDisabled:p,isFocused:a,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u,model:o,actualValue:d,handleChange:m,onClickRoot:g}},__default__$1v=defineComponent({name:"ElCheckbox"}),_sfc_main$25=defineComponent({...__default__$1v,props:checkboxProps,emits:checkboxEmits,setup(e){const t=e,n=useSlots(),{inputId:o,isLabeledByFormItem:r,isChecked:i,isDisabled:a,isFocused:l,checkboxSize:s,hasOwnLabel:c,model:u,actualValue:d,handleChange:p,onClickRoot:f}=useCheckbox(t,n),h=useNamespace("checkbox"),m=computed((()=>[h.b(),h.m(s.value),h.is("disabled",a.value),h.is("bordered",t.border),h.is("checked",i.value)])),g=computed((()=>[h.e("input"),h.is("disabled",a.value),h.is("checked",i.value),h.is("indeterminate",t.indeterminate),h.is("focus",l.value)]));return(e,t)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(c)&&unref(r)?"span":"label"),{class:normalizeClass(unref(m)),"aria-controls":e.indeterminate?e.ariaControls:null,onClick:unref(f)},{default:withCtx((()=>{var t,n,r,i;return[createBaseVNode("span",{class:normalizeClass(unref(g))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(o),"onUpdate:modelValue":e=>isRef(u)?u.value=e:null,class:normalizeClass(unref(h).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:unref(a),"true-value":null==(n=null!=(t=e.trueValue)?t:e.trueLabel)||n,"false-value":null!=(i=null!=(r=e.falseValue)?r:e.falseLabel)&&i,onChange:unref(p),onFocus:e=>l.value=!0,onBlur:e=>l.value=!1,onClick:withModifiers((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[vModelCheckbox,unref(u)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(o),"onUpdate:modelValue":e=>isRef(u)?u.value=e:null,class:normalizeClass(unref(h).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:unref(a),value:unref(d),name:e.name,tabindex:e.tabindex,onChange:unref(p),onFocus:e=>l.value=!0,onBlur:e=>l.value=!1,onClick:withModifiers((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[vModelCheckbox,unref(u)]]),createBaseVNode("span",{class:normalizeClass(unref(h).e("inner"))},null,2)],2),unref(c)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(h).e("label"))},[renderSlot(e.$slots,"default"),e.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(e.label),1)],64))],2)):createCommentVNode("v-if",!0)]})),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc(_sfc_main$25,[["__file","checkbox.vue"]]);const __default__$1u=defineComponent({name:"ElCheckboxButton"}),_sfc_main$24=defineComponent({...__default__$1u,props:checkboxProps,emits:checkboxEmits,setup(e){const t=e,n=useSlots(),{isFocused:o,isChecked:r,isDisabled:i,checkboxButtonSize:a,model:l,actualValue:s,handleChange:c}=useCheckbox(t,n),u=inject(checkboxGroupContextKey,void 0),d=useNamespace("checkbox"),p=computed((()=>{var e,t,n,o;const r=null!=(t=null==(e=null==u?void 0:u.fill)?void 0:e.value)?t:"";return{backgroundColor:r,borderColor:r,color:null!=(o=null==(n=null==u?void 0:u.textColor)?void 0:n.value)?o:"",boxShadow:r?`-1px 0 0 0 ${r}`:void 0}})),f=computed((()=>[d.b("button"),d.bm("button",a.value),d.is("disabled",i.value),d.is("checked",r.value),d.is("focus",o.value)]));return(e,t)=>{var n,a,u,h;return openBlock(),createElementBlock("label",{class:normalizeClass(unref(f))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":e=>isRef(l)?l.value=e:null,class:normalizeClass(unref(d).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:unref(i),"true-value":null==(a=null!=(n=e.trueValue)?n:e.trueLabel)||a,"false-value":null!=(h=null!=(u=e.falseValue)?u:e.falseLabel)&&h,onChange:unref(c),onFocus:e=>o.value=!0,onBlur:e=>o.value=!1,onClick:withModifiers((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[vModelCheckbox,unref(l)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":e=>isRef(l)?l.value=e:null,class:normalizeClass(unref(d).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:unref(i),value:unref(s),onChange:unref(c),onFocus:e=>o.value=!0,onBlur:e=>o.value=!1,onClick:withModifiers((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[vModelCheckbox,unref(l)]]),e.$slots.default||e.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(d).be("button","inner")),style:normalizeStyle$1(unref(r)?unref(p):void 0)},[renderSlot(e.$slots,"default",{},(()=>[createTextVNode(toDisplayString(e.label),1)]))],6)):createCommentVNode("v-if",!0)],2)}}});var CheckboxButton=_export_sfc(_sfc_main$24,[["__file","checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:useSizeProp,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:e=>isArray$6(e),change:e=>isArray$6(e)},__default__$1t=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$23=defineComponent({...__default__$1t,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(e,{emit:t}){const n=e,o=useNamespace("checkbox"),{formItem:r}=useFormItem(),{inputId:i,isLabeledByFormItem:a}=useFormItemInputId(n,{formItemContext:r}),l=async e=>{t(UPDATE_MODEL_EVENT,e),await nextTick(),t(CHANGE_EVENT,e)},s=computed({get:()=>n.modelValue,set(e){l(e)}});return provide(checkboxGroupContextKey,{...pick(toRefs(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:s,changeEvent:l}),watch((()=>n.modelValue),(()=>{n.validateEvent&&(null==r||r.validate("change").catch((e=>debugWarn())))})),(e,t)=>{var n;return openBlock(),createBlock(resolveDynamicComponent(e.tag),{id:unref(i),class:normalizeClass(unref(o).b("group")),role:"group","aria-label":unref(a)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":unref(a)?null==(n=unref(r))?void 0:n.labelId:void 0},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc(_sfc_main$23,[["__file","checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton:CheckboxButton,CheckboxGroup:CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({modelValue:{type:[String,Number,Boolean],default:void 0},size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),radioProps=buildProps({...radioPropsBase,border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e)||isNumber(e)||isBoolean(e),[CHANGE_EVENT]:e=>isString$4(e)||isNumber(e)||isBoolean(e)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(e,t)=>{const n=ref(),o=inject(radioGroupKey,void 0),r=computed((()=>!!o)),i=computed((()=>isPropAbsent(e.value)?e.label:e.value)),a=computed({get:()=>r.value?o.modelValue:e.modelValue,set(a){r.value?o.changeEvent(a):t&&t(UPDATE_MODEL_EVENT,a),n.value.checked=e.modelValue===i.value}}),l=useFormSize(computed((()=>null==o?void 0:o.size))),s=useFormDisabled(computed((()=>null==o?void 0:o.disabled))),c=ref(!1),u=computed((()=>s.value||r.value&&a.value!==i.value?-1:0));return useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},computed((()=>r.value&&isPropAbsent(e.value)))),{radioRef:n,isGroup:r,radioGroup:o,focus:c,size:l,disabled:s,tabIndex:u,modelValue:a,actualValue:i}},__default__$1s=defineComponent({name:"ElRadio"}),_sfc_main$22=defineComponent({...__default__$1s,props:radioProps,emits:radioEmits,setup(e,{emit:t}){const n=e,o=useNamespace("radio"),{radioRef:r,radioGroup:i,focus:a,size:l,disabled:s,modelValue:c,actualValue:u}=useRadio(n,t);function d(){nextTick((()=>t(CHANGE_EVENT,c.value)))}return(e,t)=>{var n;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(o).b(),unref(o).is("disabled",unref(s)),unref(o).is("focus",unref(a)),unref(o).is("bordered",e.border),unref(o).is("checked",unref(c)===unref(u)),unref(o).m(unref(l))])},[createBaseVNode("span",{class:normalizeClass([unref(o).e("input"),unref(o).is("disabled",unref(s)),unref(o).is("checked",unref(c)===unref(u))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":e=>isRef(c)?c.value=e:null,class:normalizeClass(unref(o).e("original")),value:unref(u),name:e.name||(null==(n=unref(i))?void 0:n.name),disabled:unref(s),checked:unref(c)===unref(u),type:"radio",onFocus:e=>a.value=!0,onBlur:e=>a.value=!1,onChange:d,onClick:withModifiers((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[vModelRadio,unref(c)]]),createBaseVNode("span",{class:normalizeClass(unref(o).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(o).e("label")),onKeydown:withModifiers((()=>{}),["stop"])},[renderSlot(e.$slots,"default",{},(()=>[createTextVNode(toDisplayString(e.label),1)]))],42,["onKeydown"])],2)}}});var Radio=_export_sfc(_sfc_main$22,[["__file","radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase}),__default__$1r=defineComponent({name:"ElRadioButton"}),_sfc_main$21=defineComponent({...__default__$1r,props:radioButtonProps,setup(e){const t=e,n=useNamespace("radio"),{radioRef:o,focus:r,size:i,disabled:a,modelValue:l,radioGroup:s,actualValue:c}=useRadio(t),u=computed((()=>({backgroundColor:(null==s?void 0:s.fill)||"",borderColor:(null==s?void 0:s.fill)||"",boxShadow:(null==s?void 0:s.fill)?`-1px 0 0 0 ${s.fill}`:"",color:(null==s?void 0:s.textColor)||""})));return(e,t)=>{var d;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(n).b("button"),unref(n).is("active",unref(l)===unref(c)),unref(n).is("disabled",unref(a)),unref(n).is("focus",unref(r)),unref(n).bm("button",unref(i))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":e=>isRef(l)?l.value=e:null,class:normalizeClass(unref(n).be("button","original-radio")),value:unref(c),type:"radio",name:e.name||(null==(d=unref(s))?void 0:d.name),disabled:unref(a),onFocus:e=>r.value=!0,onBlur:e=>r.value=!1,onClick:withModifiers((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[vModelRadio,unref(l)]]),createBaseVNode("span",{class:normalizeClass(unref(n).be("button","inner")),style:normalizeStyle$1(unref(l)===unref(c)?unref(u):{}),onKeydown:withModifiers((()=>{}),["stop"])},[renderSlot(e.$slots,"default",{},(()=>[createTextVNode(toDisplayString(e.label),1)]))],46,["onKeydown"])],2)}}});var RadioButton=_export_sfc(_sfc_main$21,[["__file","radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),radioGroupEmits=radioEmits,__default__$1q=defineComponent({name:"ElRadioGroup"}),_sfc_main$20=defineComponent({...__default__$1q,props:radioGroupProps,emits:radioGroupEmits,setup(e,{emit:t}){const n=e,o=useNamespace("radio"),r=useId(),i=ref(),{formItem:a}=useFormItem(),{inputId:l,isLabeledByFormItem:s}=useFormItemInputId(n,{formItemContext:a});onMounted((()=>{const e=i.value.querySelectorAll("[type=radio]"),t=e[0];!Array.from(e).some((e=>e.checked))&&t&&(t.tabIndex=0)}));const c=computed((()=>n.name||r.value));return provide(radioGroupKey,reactive({...toRefs(n),changeEvent:e=>{t(UPDATE_MODEL_EVENT,e),nextTick((()=>t(CHANGE_EVENT,e)))},name:c})),watch((()=>n.modelValue),(()=>{n.validateEvent&&(null==a||a.validate("change").catch((e=>debugWarn())))})),(e,t)=>(openBlock(),createElementBlock("div",{id:unref(l),ref_key:"radioGroupRef",ref:i,class:normalizeClass(unref(o).b("group")),role:"radiogroup","aria-label":unref(s)?void 0:e.ariaLabel||"radio-group","aria-labelledby":unref(s)?unref(a).labelId:void 0},[renderSlot(e.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}});var RadioGroup=_export_sfc(_sfc_main$20,[["__file","radio-group.vue"]]);const ElRadio=withInstall(Radio,{RadioButton:RadioButton,RadioGroup:RadioGroup}),ElRadioGroup=withNoopInstall(RadioGroup),ElRadioButton=withNoopInstall(RadioButton);var NodeContent$1=defineComponent({name:"NodeContent",setup:()=>({ns:useNamespace("cascader-node")}),render(){const{ns:e}=this,{node:t,panel:n}=this.$parent,{data:o,label:r}=t,{renderLabelFn:i}=n;return h$5("span",{class:e.e("label")},i?i({node:t,data:o}):r)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1$=defineComponent({name:"ElCascaderNode",components:{ElCheckbox:ElCheckbox,ElRadio:ElRadio,NodeContent:NodeContent$1,ElIcon:ElIcon,Check:check_default,Loading:loading_default,ArrowRight:arrow_right_default},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=inject(CASCADER_PANEL_INJECTION_KEY),o=useNamespace("cascader-node"),r=computed((()=>n.isHoverMenu)),i=computed((()=>n.config.multiple)),a=computed((()=>n.config.checkStrictly)),l=computed((()=>{var e;return null==(e=n.checkedNodes[0])?void 0:e.uid})),s=computed((()=>e.node.isDisabled)),c=computed((()=>e.node.isLeaf)),u=computed((()=>a.value&&!c.value||!s.value)),d=computed((()=>f(n.expandingNode))),p=computed((()=>a.value&&n.checkedNodes.some(f))),f=t=>{var n;const{level:o,uid:r}=e.node;return(null==(n=null==t?void 0:t.pathNodes[o-1])?void 0:n.uid)===r},h=()=>{d.value||n.expandNode(e.node)},m=t=>{const{node:o}=e;t!==o.checked&&n.handleCheckChange(o,t)},g=()=>{n.lazyLoad(e.node,(()=>{c.value||h()}))},v=()=>{const{node:t}=e;u.value&&!t.loading&&(t.loaded?h():g())},y=t=>{e.node.loaded?(m(t),!a.value&&h()):g()};return{panel:n,isHoverMenu:r,multiple:i,checkStrictly:a,checkedNodeId:l,isDisabled:s,isLeaf:c,expandable:u,inExpandingPath:d,inCheckedPath:p,ns:o,handleHoverExpand:e=>{r.value&&(v(),!c.value&&t("expand",e))},handleExpand:v,handleClick:()=>{r.value&&!c.value||(!c.value||s.value||a.value||i.value?v():y(!0))},handleCheck:y,handleSelectCheck:t=>{a.value?(m(t),e.node.loaded&&h()):y(t)}}}});function _sfc_render$q(e,t,n,o,r,i){const a=resolveComponent("el-checkbox"),l=resolveComponent("el-radio"),s=resolveComponent("check"),c=resolveComponent("el-icon"),u=resolveComponent("node-content"),d=resolveComponent("loading"),p=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?void 0:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:normalizeClass([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:e.handleHoverExpand,onFocus:e.handleHoverExpand,onClick:e.handleClick},[createCommentVNode(" prefix "),e.multiple?(openBlock(),createBlock(a,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:withModifiers((()=>{}),["stop"]),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onClick","onUpdate:modelValue"])):e.checkStrictly?(openBlock(),createBlock(l,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:withModifiers((()=>{}),["stop"])},{default:withCtx((()=>[createCommentVNode("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),createBaseVNode("span")])),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):e.isLeaf&&e.node.checked?(openBlock(),createBlock(c,{key:2,class:normalizeClass(e.ns.e("prefix"))},{default:withCtx((()=>[createVNode$1(s)])),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode$1(u),createCommentVNode(" postfix "),e.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[e.node.loading?(openBlock(),createBlock(c,{key:0,class:normalizeClass([e.ns.is("loading"),e.ns.e("postfix")])},{default:withCtx((()=>[createVNode$1(d)])),_:1},8,["class"])):(openBlock(),createBlock(c,{key:1,class:normalizeClass(["arrow-right",e.ns.e("postfix")])},{default:withCtx((()=>[createVNode$1(p)])),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}var ElCascaderNode=_export_sfc(_sfc_main$1$,[["render",_sfc_render$q],["__file","node.vue"]]);const _sfc_main$1_=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon:ElIcon,ElScrollbar:ElScrollbar,ElCascaderNode:ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=getCurrentInstance(),n=useNamespace("cascader-menu"),{t:o}=useLocale(),r=useId();let i=null,a=null;const l=inject(CASCADER_PANEL_INJECTION_KEY),s=ref(null),c=computed((()=>!e.nodes.length)),u=computed((()=>!l.initialLoaded)),d=computed((()=>`${r.value}-${e.index}`)),p=()=>{a&&(clearTimeout(a),a=null)},f=()=>{s.value&&(s.value.innerHTML="",p())};return{ns:n,panel:l,hoverZone:s,isEmpty:c,isLoading:u,menuId:d,t:o,handleExpand:e=>{i=e.target},handleMouseMove:e=>{if(l.isHoverMenu&&i&&s.value)if(i.contains(e.target)){p();const n=t.vnode.el,{left:o}=n.getBoundingClientRect(),{offsetWidth:r,offsetHeight:a}=n,l=e.clientX-o,c=i.offsetTop,u=c+i.offsetHeight;s.value.innerHTML=`\n <path style="pointer-events: auto;" fill="transparent" d="M${l} ${c} L${r} 0 V${c} Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M${l} ${u} L${r} ${a} V${u} Z" />\n `}else a||(a=window.setTimeout(f,l.config.hoverThreshold))},clearHoverZone:f}}});function _sfc_render$p(e,t,n,o,r,i){const a=resolveComponent("el-cascader-node"),l=resolveComponent("loading"),s=resolveComponent("el-icon"),c=resolveComponent("el-scrollbar");return openBlock(),createBlock(c,{key:e.menuId,tag:"ul",role:"menu",class:normalizeClass(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:withCtx((()=>{var t;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.nodes,(t=>(openBlock(),createBlock(a,{key:t.uid,node:t,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"])))),128)),e.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(e.ns.e("empty-text"))},[createVNode$1(s,{size:"14",class:normalizeClass(e.ns.is("loading"))},{default:withCtx((()=>[createVNode$1(l)])),_:1},8,["class"]),createTextVNode(" "+toDisplayString(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(e.ns.e("empty-text"))},[renderSlot(e.$slots,"empty",{},(()=>[createTextVNode(toDisplayString(e.t("el.cascader.noData")),1)]))],2)):(null==(t=e.panel)?void 0:t.isHoverMenu)?(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" eslint-disable-next-line vue/html-self-closing "),(openBlock(),createElementBlock("svg",{ref:"hoverZone",class:normalizeClass(e.ns.e("hover-zone"))},null,2))],2112)):createCommentVNode("v-if",!0)]})),_:3},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc(_sfc_main$1_,[["render",_sfc_render$p],["__file","menu.vue"]]);const escapeStringRegexp=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=e=>capitalize$1(e);let uid=0;const calculatePathNodes=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let Node$2=class e{constructor(t,n,o,r=!1){this.data=t,this.config=n,this.parent=o,this.root=r,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:a,children:l}=n,s=t[l],c=calculatePathNodes(this);this.level=r?0:o?o.level+1:1,this.value=t[i],this.label=t[a],this.pathNodes=c,this.pathValues=c.map((e=>e.value)),this.pathLabels=c.map((e=>e.label)),this.childrenData=s,this.children=(s||[]).map((t=>new e(t,n,this))),this.loaded=!n.lazy||this.isLeaf||!isEmpty(s)}get isDisabled(){const{data:e,parent:t,config:n}=this,{disabled:o,checkStrictly:r}=n;return(isFunction$5(o)?o(e,this):!!e[o])||!r&&(null==t?void 0:t.isDisabled)}get isLeaf(){const{data:e,config:t,childrenData:n,loaded:o}=this,{lazy:r,leaf:i}=t,a=isFunction$5(i)?i(e,this):e[i];return isUndefined(a)?!(r&&!o)&&!(isArray$6(n)&&n.length):!!a}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:o}=this,r=new e(t,this.config,this);return isArray$6(n)?n.push(t):this.childrenData=[t],o.push(r),r}calcText(e,t){const n=e?this.pathLabels.join(t):this.label;return this.text=n,n}broadcast(e,...t){const n=`onParent${capitalize(e)}`;this.children.forEach((o=>{o&&(o.broadcast(e,...t),o[n]&&o[n](...t))}))}emit(e,...t){const{parent:n}=this,o=`onChild${capitalize(e)}`;n&&(n[o]&&n[o](...t),n.emit(e,...t))}onParentCheck(e){this.isDisabled||this.setCheckState(e)}onChildCheck(){const{children:e}=this,t=e.filter((e=>!e.isDisabled)),n=!!t.length&&t.every((e=>e.checked));this.setCheckState(n)}setCheckState(e){const t=this.children.length,n=this.children.reduce(((e,t)=>e+(t.checked?1:t.indeterminate?.5:0)),0);this.checked=this.loaded&&this.children.filter((e=>!e.isDisabled)).every((e=>e.loaded&&e.checked))&&e,this.indeterminate=this.loaded&&n!==t&&n>0}doCheck(e){if(this.checked===e)return;const{checkStrictly:t,multiple:n}=this.config;t||!n?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check"))}};const flatNodes=(e,t)=>e.reduce(((e,n)=>(n.isLeaf?e.push(n):(!t&&e.push(n),e=e.concat(flatNodes(n.children,t))),e)),[]);class Store{constructor(e,t){this.config=t;const n=(e||[]).map((e=>new Node$2(e,this.config)));this.nodes=n,this.allNodes=flatNodes(n,!1),this.leafNodes=flatNodes(n,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const n=t?t.appendChild(e):new Node$2(e,this.config);t||this.nodes.push(n),this.appendAllNodesAndLeafNodes(n)}appendNodes(e,t){e.forEach((e=>this.appendNode(e,t)))}appendAllNodesAndLeafNodes(e){this.allNodes.push(e),e.isLeaf&&this.leafNodes.push(e),e.children&&e.children.forEach((e=>{this.appendAllNodesAndLeafNodes(e)}))}getNodeByValue(e,t=!1){if(!e&&0!==e)return null;return this.getFlattedNodes(t).find((t=>isEqual$1(t.value,e)||isEqual$1(t.pathValues,e)))||null}getSameNode(e){if(!e)return null;return this.getFlattedNodes(!1).find((({value:t,level:n})=>isEqual$1(e.value,t)&&e.level===n))||null}}const CommonProps=buildProps({modelValue:{type:definePropType([Number,String,Array])},options:{type:definePropType(Array),default:()=>[]},props:{type:definePropType(Object),default:()=>({})}}),DefaultProps={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:NOOP,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},useCascaderConfig=e=>computed((()=>({...DefaultProps,...e.props}))),getMenuIndex=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},checkNode=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():isLeaf(e)&&e.click()},sortByOriginalOrder=(e,t)=>{const n=t.slice(0),o=n.map((e=>e.uid)),r=e.reduce(((e,t)=>{const r=o.indexOf(t.uid);return r>-1&&(e.push(t),n.splice(r,1),o.splice(r,1)),e}),[]);return r.push(...n),r},unique=e=>[...new Set(e)],castArray=e=>e||0===e?isArray$6(e)?e:[e]:[],_sfc_main$1Z=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu:ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(e,{emit:t,slots:n}){let o=!1;const r=useNamespace("cascader"),i=useCascaderConfig(e);let a=null;const l=ref(!0),s=ref([]),c=ref(null),u=ref([]),d=ref(null),p=ref([]),f=computed((()=>"hover"===i.value.expandTrigger)),h=computed((()=>e.renderLabel||n.default)),m=(e,t)=>{const n=i.value;(e=e||new Node$2({},n,void 0,!0)).loading=!0;n.lazyLoad(e,(n=>{const o=e,r=o.root?null:o;n&&(null==a||a.appendNodes(n,r)),o.loading=!1,o.loaded=!0,o.childrenData=o.childrenData||[],t&&t(n)}))},g=(e,n)=>{var o;const{level:r}=e,i=u.value.slice(0,r);let a;e.isLeaf?a=e.pathNodes[r-2]:(a=e,i.push(e.children)),(null==(o=d.value)?void 0:o.uid)!==(null==a?void 0:a.uid)&&(d.value=e,u.value=i,!n&&t("expand-change",(null==e?void 0:e.pathValues)||[]))},v=(e,n,r=!0)=>{const{checkStrictly:a,multiple:l}=i.value,s=p.value[0];o=!0,!l&&(null==s||s.doCheck(!1)),e.doCheck(n),w(),r&&!l&&!a&&t("close"),!r&&!l&&!a&&y(e)},y=e=>{e&&(e=e.parent,y(e),e&&g(e))},b=e=>null==a?void 0:a.getFlattedNodes(e),_=e=>{var t;return null==(t=b(e))?void 0:t.filter((e=>!1!==e.checked))},w=()=>{var e;const{checkStrictly:t,multiple:n}=i.value,o=p.value,r=_(!t),a=sortByOriginalOrder(o,r),l=a.map((e=>e.valueByOption));p.value=a,c.value=n?l:null!=(e=l[0])?e:null},k=(t=!1,n=!1)=>{const{modelValue:r}=e,{lazy:s,multiple:u,checkStrictly:d}=i.value,p=!d;if(l.value&&!o&&(n||!isEqual$1(r,c.value)))if(s&&!t){const e=unique(flattenDeep(castArray(r))).map((e=>null==a?void 0:a.getNodeByValue(e))).filter((e=>!!e&&!e.loaded&&!e.loading));e.length?e.forEach((e=>{m(e,(()=>k(!1,n)))})):k(!0,n)}else{const e=u?castArray(r):[r],t=unique(e.map((e=>null==a?void 0:a.getNodeByValue(e,p))));x(t,n),c.value=cloneDeep(r)}},x=(e,t=!0)=>{const{checkStrictly:n}=i.value,o=p.value,r=e.filter((e=>!!e&&(n||e.isLeaf))),l=null==a?void 0:a.getSameNode(d.value),s=t&&l||r[0];s?s.pathNodes.forEach((e=>g(e,!0))):d.value=null,o.forEach((e=>e.doCheck(!1))),reactive(r).forEach((e=>e.doCheck(!0))),p.value=r,nextTick(S)},S=()=>{isClient&&s.value.forEach((e=>{const t=null==e?void 0:e.$el;if(t){scrollIntoView(t.querySelector(`.${r.namespace.value}-scrollbar__wrap`),t.querySelector(`.${r.b("node")}.${r.is("active")}`)||t.querySelector(`.${r.b("node")}.in-active-path`))}}))};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:i,expandingNode:d,checkedNodes:p,isHoverMenu:f,initialLoaded:l,renderLabelFn:h,lazyLoad:m,expandNode:g,handleCheckChange:v})),watch([i,()=>e.options],(()=>{const{options:t}=e,n=i.value;o=!1,a=new Store(t,n),u.value=[a.getNodes()],n.lazy&&isEmpty(e.options)?(l.value=!1,m(void 0,(e=>{e&&(a=new Store(e,n),u.value=[a.getNodes()]),l.value=!0,k(!1,!0)}))):k(!1,!0)}),{deep:!0,immediate:!0}),watch((()=>e.modelValue),(()=>{o=!1,k()}),{deep:!0}),watch((()=>c.value),(n=>{isEqual$1(n,e.modelValue)||(t(UPDATE_MODEL_EVENT,n),t(CHANGE_EVENT,n))})),onBeforeUpdate((()=>s.value=[])),onMounted((()=>!isEmpty(e.modelValue)&&k())),{ns:r,menuList:s,menus:u,checkedNodes:p,handleKeyDown:e=>{const t=e.target,{code:n}=e;switch(n){case EVENT_CODE.up:case EVENT_CODE.down:{e.preventDefault();const o=n===EVENT_CODE.up?-1:1;focusNode(getSibling(t,o,`.${r.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{e.preventDefault();const n=s.value[getMenuIndex(t)-1],o=null==n?void 0:n.$el.querySelector(`.${r.b("node")}[aria-expanded="true"]`);focusNode(o);break}case EVENT_CODE.right:{e.preventDefault();const n=s.value[getMenuIndex(t)+1],o=null==n?void 0:n.$el.querySelector(`.${r.b("node")}[tabindex="-1"]`);focusNode(o);break}case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:checkNode(t)}},handleCheckChange:v,getFlattedNodes:b,getCheckedNodes:_,clearCheckedNodes:()=>{p.value.forEach((e=>e.doCheck(!1))),w(),u.value=u.value.slice(0,1),d.value=null,t("expand-change",[])},calculateCheckedValue:w,scrollToExpandingNode:S}}});function _sfc_render$o(e,t,n,o,r,i){const a=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:e.handleKeyDown},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.menus,((t,n)=>(openBlock(),createBlock(a,{key:n,ref_for:!0,ref:t=>e.menuList[n]=t,index:n,nodes:[...t]},{empty:withCtx((()=>[renderSlot(e.$slots,"empty")])),_:2},1032,["index","nodes"])))),128))],42,["onKeydown"])}var CascaderPanel=_export_sfc(_sfc_main$1Z,[["render",_sfc_render$o],["__file","index.vue"]]);const ElCascaderPanel=withInstall(CascaderPanel),tagProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:componentSizes},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},__default__$1p=defineComponent({name:"ElTag"}),_sfc_main$1Y=defineComponent({...__default__$1p,props:tagProps,emits:tagEmits,setup(e,{emit:t}){const n=e,o=useFormSize(),r=useNamespace("tag"),i=computed((()=>{const{type:e,hit:t,effect:i,closable:a,round:l}=n;return[r.b(),r.is("closable",a),r.m(e||"primary"),r.m(o.value),r.m(i),r.is("hit",t),r.is("round",l)]})),a=e=>{t("close",e)},l=e=>{t("click",e)},s=e=>{var t,n,o;(null==(o=null==(n=null==(t=null==e?void 0:e.component)?void 0:t.subTree)?void 0:n.component)?void 0:o.bum)&&(e.component.subTree.component.bum=null)};return(e,t)=>e.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(i)),style:normalizeStyle$1({backgroundColor:e.color}),onClick:l},[createBaseVNode("span",{class:normalizeClass(unref(r).e("content"))},[renderSlot(e.$slots,"default")],2),e.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(r).e("close")),onClick:withModifiers(a,["stop"])},{default:withCtx((()=>[createVNode$1(unref(close_default))])),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(r).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:s},{default:withCtx((()=>[createBaseVNode("span",{class:normalizeClass(unref(i)),style:normalizeStyle$1({backgroundColor:e.color}),onClick:l},[createBaseVNode("span",{class:normalizeClass(unref(r).e("content"))},[renderSlot(e.$slots,"default")],2),e.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(r).e("close")),onClick:withModifiers(a,["stop"])},{default:withCtx((()=>[createVNode$1(unref(close_default))])),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)])),_:3},8,["name"]))}});var Tag=_export_sfc(_sfc_main$1Y,[["__file","tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},tagEffect:{...tagProps.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...useEmptyValuesProps}),cascaderEmits={[UPDATE_MODEL_EVENT]:e=>!0,[CHANGE_EVENT]:e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>isBoolean(e),expandChange:e=>!!e,removeTag:e=>!!e},nodeList=new Map;if(isClient){let e;document.addEventListener("mousedown",(t=>e=t)),document.addEventListener("mouseup",(t=>{if(e){for(const n of nodeList.values())for(const{documentHandler:o}of n)o(t,e);e=void 0}}))}function createDocumentHandler(e,t){let n=[];return isArray$6(t.arg)?n=t.arg:isElement$1(t.arg)&&n.push(t.arg),function(o,r){const i=t.instance.popperRef,a=o.target,l=null==r?void 0:r.target,s=!t||!t.instance,c=!a||!l,u=e.contains(a)||e.contains(l),d=e===a,p=n.length&&n.some((e=>null==e?void 0:e.contains(a)))||n.length&&n.includes(l),f=i&&(i.contains(a)||i.contains(l));s||c||u||d||p||f||t.value(o,r)}}const ClickOutside={beforeMount(e,t){nodeList.has(e)||nodeList.set(e,[]),nodeList.get(e).push({documentHandler:createDocumentHandler(e,t),bindingFn:t.value})},updated(e,t){nodeList.has(e)||nodeList.set(e,[]);const n=nodeList.get(e),o=n.findIndex((e=>e.bindingFn===t.oldValue)),r={documentHandler:createDocumentHandler(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted(e){nodeList.delete(e)}},COMPONENT_NAME$h="ElCascader",__default__$1o=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$1X=defineComponent({...__default__$1o,props:cascaderProps,emits:cascaderEmits,setup(e,{expose:t,emit:n}){const o=e,r={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:t,placement:n}=e;["right","left","bottom","top"].includes(n)||(t.arrow.x=35)},requires:["arrow"]}]},i=useAttrs$1();let a=0,l=0;const s=useNamespace("cascader"),c=useNamespace("input"),{t:u}=useLocale(),{form:d,formItem:p}=useFormItem(),{valueOnClear:f}=useEmptyValues(o),{isComposing:h,handleComposition:m}=useComposition({afterComposition(e){var t;const n=null==(t=e.target)?void 0:t.value;de(n)}}),g=ref(null),v=ref(null),y=ref(null),b=ref(null),_=ref(null),w=ref(!1),k=ref(!1),x=ref(!1),S=ref(!1),C=ref(""),E=ref(""),T=ref([]),A=ref([]),$=ref([]),I=computed((()=>i.style)),M=computed((()=>o.disabled||(null==d?void 0:d.disabled))),P=computed((()=>o.placeholder||u("el.cascader.placeholder"))),N=computed((()=>E.value||T.value.length>0||h.value?"":P.value)),O=useFormSize(),R=computed((()=>"small"===O.value?"small":"default")),D=computed((()=>!!o.props.multiple)),L=computed((()=>!o.filterable||D.value)),B=computed((()=>D.value?E.value:C.value)),V=computed((()=>{var e;return(null==(e=b.value)?void 0:e.checkedNodes)||[]})),z=computed((()=>!(!o.clearable||M.value||x.value||!k.value)&&!!V.value.length)),F=computed((()=>{const{showAllLevels:e,separator:t}=o,n=V.value;return n.length?D.value?"":n[0].calcText(e,t):""})),H=computed((()=>(null==p?void 0:p.validateState)||"")),j=computed({get:()=>cloneDeep(o.modelValue),set(e){const t=null!=e?e:f.value;n(UPDATE_MODEL_EVENT,t),n(CHANGE_EVENT,t),o.validateEvent&&(null==p||p.validate("change").catch((e=>debugWarn())))}}),G=computed((()=>[s.b(),s.m(O.value),s.is("disabled",M.value),i.class])),U=computed((()=>[c.e("icon"),"icon-arrow-down",s.is("reverse",w.value)])),W=computed((()=>s.is("focus",w.value||S.value))),Y=computed((()=>{var e,t;return null==(t=null==(e=g.value)?void 0:e.popperRef)?void 0:t.contentRef})),q=e=>{var t,r,i;M.value||(e=null!=e?e:!w.value)!==w.value&&(w.value=e,null==(r=null==(t=v.value)?void 0:t.input)||r.setAttribute("aria-expanded",`${e}`),e?(K(),nextTick(null==(i=b.value)?void 0:i.scrollToExpandingNode)):o.filterable&&ie(),n("visibleChange",e))},K=()=>{nextTick((()=>{var e;null==(e=g.value)||e.updatePopper()}))},Z=()=>{x.value=!1},X=e=>{const{showAllLevels:t,separator:n}=o;return{node:e,key:e.uid,text:e.calcText(t,n),hitState:!1,closable:!M.value&&!e.isDisabled,isCollapseTag:!1}},J=e=>{var t;const o=e.node;o.doCheck(!1),null==(t=b.value)||t.calculateCheckedValue(),n("removeTag",o.valueByOption)},Q=()=>{var e,t;const{filterMethod:n,showAllLevels:r,separator:i}=o,a=null==(t=null==(e=b.value)?void 0:e.getFlattedNodes(!o.props.checkStrictly))?void 0:t.filter((e=>!e.isDisabled&&(e.calcText(r,i),n(e,B.value))));D.value&&(T.value.forEach((e=>{e.hitState=!1})),A.value.forEach((e=>{e.hitState=!1}))),x.value=!0,$.value=a,K()},ee=()=>{var e;let t;t=x.value&&_.value?_.value.$el.querySelector(`.${s.e("suggestion-item")}`):null==(e=b.value)?void 0:e.$el.querySelector(`.${s.b("node")}[tabindex="-1"]`),t&&(t.focus(),!x.value&&t.click())},te=()=>{var e,t;const n=null==(e=v.value)?void 0:e.input,o=y.value,r=null==(t=_.value)?void 0:t.$el;if(isClient&&n){if(r){r.querySelector(`.${s.e("suggestion-list")}`).style.minWidth=`${n.offsetWidth}px`}if(o){const{offsetHeight:e}=o,t=T.value.length>0?Math.max(e,a)-2+"px":`${a}px`;n.style.height=t,K()}}},ne=e=>{K(),n("expandChange",e)},oe=e=>{if(!h.value)switch(e.code){case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:q();break;case EVENT_CODE.down:q(!0),nextTick(ee),e.preventDefault();break;case EVENT_CODE.esc:!0===w.value&&(e.preventDefault(),e.stopPropagation(),q(!1));break;case EVENT_CODE.tab:q(!1)}},re=()=>{var e;null==(e=b.value)||e.clearCheckedNodes(),!w.value&&o.filterable&&ie(),q(!1),n("clear")},ie=()=>{const{value:e}=F;C.value=e,E.value=e},ae=e=>{const t=e.target,{code:n}=e;switch(n){case EVENT_CODE.up:case EVENT_CODE.down:{e.preventDefault();const o=n===EVENT_CODE.up?-1:1;focusNode(getSibling(t,o,`.${s.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:t.click()}},le=()=>{const e=T.value,t=e[e.length-1];l=E.value?0:l+1,!t||!l||o.collapseTags&&e.length>1||(t.hitState?J(t):t.hitState=!0)},se=e=>{const t=e.target,o=s.e("search-input");t.className===o&&(S.value=!0),n("focus",e)},ce=e=>{S.value=!1,n("blur",e)},ue=debounce((()=>{const{value:e}=B;if(!e)return;const t=o.beforeFilter(e);isPromise(t)?t.then(Q).catch((()=>{})):!1!==t?Q():Z()}),o.debounce),de=(e,t)=>{!w.value&&q(!0),(null==t?void 0:t.isComposing)||(e?ue():Z())},pe=e=>Number.parseFloat(useCssVar(c.cssVarName("input-height"),e).value)-2;return watch(x,K),watch([V,M,()=>o.collapseTags],(()=>{if(!D.value)return;const e=V.value,t=[],n=[];if(e.forEach((e=>n.push(X(e)))),A.value=n,e.length){e.slice(0,o.maxCollapseTags).forEach((e=>t.push(X(e))));const n=e.slice(o.maxCollapseTags),r=n.length;r&&(o.collapseTags?t.push({key:-1,text:`+ ${r}`,closable:!1,isCollapseTag:!0}):n.forEach((e=>t.push(X(e)))))}T.value=t})),watch(T,(()=>{nextTick((()=>te()))})),watch(O,(async()=>{await nextTick();const e=v.value.input;a=pe(e)||a,te()})),watch(F,ie,{immediate:!0}),onMounted((()=>{const e=v.value.input,t=pe(e);a=e.offsetHeight||t,useResizeObserver(e,te)})),t({getCheckedNodes:e=>{var t;return null==(t=b.value)?void 0:t.getCheckedNodes(e)},cascaderPanelRef:b,togglePopperVisible:q,contentRef:Y,presentText:F}),(e,t)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:g,visible:w.value,teleported:e.teleported,"popper-class":[unref(s).e("dropdown"),e.popperClass],"popper-options":r,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:`${unref(s).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:e.persistent,onHide:Z},{default:withCtx((()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(G)),style:normalizeStyle$1(unref(I)),onClick:()=>q(!unref(L)||void 0),onKeydown:oe,onMouseenter:e=>k.value=!0,onMouseleave:e=>k.value=!1},[createVNode$1(unref(ElInput),{ref_key:"input",ref:v,modelValue:C.value,"onUpdate:modelValue":e=>C.value=e,placeholder:unref(N),readonly:unref(L),disabled:unref(M),"validate-event":!1,size:unref(O),class:normalizeClass(unref(W)),tabindex:unref(D)&&e.filterable&&!unref(M)?-1:void 0,onCompositionstart:unref(m),onCompositionupdate:unref(m),onCompositionend:unref(m),onFocus:se,onBlur:ce,onInput:de},createSlots({suffix:withCtx((()=>[unref(z)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(c).e("icon"),"icon-circle-close"]),onClick:withModifiers(re,["stop"])},{default:withCtx((()=>[createVNode$1(unref(circle_close_default))])),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(U)),onClick:withModifiers((e=>q()),["stop"])},{default:withCtx((()=>[createVNode$1(unref(arrow_down_default))])),_:1},8,["class","onClick"]))])),_:2},[e.$slots.prefix?{name:"prefix",fn:withCtx((()=>[renderSlot(e.$slots,"prefix")]))}:void 0]),1032,["modelValue","onUpdate:modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),unref(D)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:y,class:normalizeClass([unref(s).e("tags"),unref(s).is("validate",Boolean(unref(H)))])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(T.value,(t=>(openBlock(),createBlock(unref(ElTag),{key:t.key,type:e.tagType,size:unref(R),effect:e.tagEffect,hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>J(t)},{default:withCtx((()=>[!1===t.isCollapseTag?(openBlock(),createElementBlock("span",{key:0},toDisplayString(t.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:w.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx((()=>[createBaseVNode("span",null,toDisplayString(t.text),1)])),content:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(unref(s).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(A.value.slice(e.maxCollapseTags),((t,n)=>(openBlock(),createElementBlock("div",{key:n,class:normalizeClass(unref(s).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:t.key,class:"in-tooltip",type:e.tagType,size:unref(R),effect:e.tagEffect,hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>J(t)},{default:withCtx((()=>[createBaseVNode("span",null,toDisplayString(t.text),1)])),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2)))),128))],2)])),_:2},1032,["disabled"]))])),_:2},1032,["type","size","effect","hit","closable","onClose"])))),128)),e.filterable&&!unref(M)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":e=>E.value=e,type:"text",class:normalizeClass(unref(s).e("search-input")),placeholder:unref(F)?"":unref(P),onInput:e=>de(E.value,e),onClick:withModifiers((e=>q(!0)),["stop"]),onKeydown:withKeys(le,["delete"]),onCompositionstart:unref(m),onCompositionupdate:unref(m),onCompositionend:unref(m),onFocus:se,onBlur:ce},null,42,["onUpdate:modelValue","placeholder","onInput","onClick","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend"])),[[vModelText,E.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],46,["onClick","onMouseenter","onMouseleave"])),[[unref(ClickOutside),()=>q(!1),unref(Y)]])])),content:withCtx((()=>[withDirectives(createVNode$1(unref(ElCascaderPanel),{ref_key:"cascaderPanelRef",ref:b,modelValue:unref(j),"onUpdate:modelValue":e=>isRef(j)?j.value=e:null,options:e.options,props:o.props,border:!1,"render-label":e.$slots.default,onExpandChange:ne,onClose:t=>e.$nextTick((()=>q(!1)))},{empty:withCtx((()=>[renderSlot(e.$slots,"empty")])),_:3},8,["modelValue","onUpdate:modelValue","options","props","render-label","onClose"]),[[vShow,!x.value]]),e.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:_,tag:"ul",class:normalizeClass(unref(s).e("suggestion-panel")),"view-class":unref(s).e("suggestion-list"),onKeydown:ae},{default:withCtx((()=>[$.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList($.value,(t=>(openBlock(),createElementBlock("li",{key:t.uid,class:normalizeClass([unref(s).e("suggestion-item"),unref(s).is("checked",t.checked)]),tabindex:-1,onClick:e=>(e=>{var t,n;const{checked:o}=e;D.value?null==(t=b.value)||t.handleCheckChange(e,!o,!1):(!o&&(null==(n=b.value)||n.handleCheckChange(e,!0,!1)),q(!1))})(t)},[renderSlot(e.$slots,"suggestion-item",{item:t},(()=>[createBaseVNode("span",null,toDisplayString(t.text),1),t.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx((()=>[createVNode$1(unref(check_default))])),_:1})):createCommentVNode("v-if",!0)]))],10,["onClick"])))),128)):renderSlot(e.$slots,"empty",{key:1},(()=>[createBaseVNode("li",{class:normalizeClass(unref(s).e("empty-text"))},toDisplayString(unref(u)("el.cascader.noMatch")),3)]))])),_:3},8,["class","view-class"])),[[vShow,x.value]]):createCommentVNode("v-if",!0)])),_:3},8,["visible","teleported","popper-class","fallback-placements","placement","transition","persistent"]))}});var Cascader=_export_sfc(_sfc_main$1X,[["__file","cascader.vue"]]);const ElCascader=withInstall(Cascader),checkTagProps=buildProps({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),checkTagEmits={"update:checked":e=>isBoolean(e),[CHANGE_EVENT]:e=>isBoolean(e)},__default__$1n=defineComponent({name:"ElCheckTag"}),_sfc_main$1W=defineComponent({...__default__$1n,props:checkTagProps,emits:checkTagEmits,setup(e,{emit:t}){const n=e,o=useNamespace("check-tag"),r=computed((()=>n.disabled)),i=computed((()=>[o.b(),o.is("checked",n.checked),o.is("disabled",r.value),o.m(n.type||"primary")])),a=()=>{if(r.value)return;const e=!n.checked;t(CHANGE_EVENT,e),t("update:checked",e)};return(e,t)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(i)),onClick:a},[renderSlot(e.$slots,"default")],2))}});var CheckTag=_export_sfc(_sfc_main$1W,[["__file","check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),rowContextKey=Symbol("rowContextKey"),__default__$1m=defineComponent({name:"ElCol"}),_sfc_main$1V=defineComponent({...__default__$1m,props:colProps,setup(e){const t=e,{gutter:n}=inject(rowContextKey,{gutter:computed((()=>0))}),o=useNamespace("col"),r=computed((()=>{const e={};return n.value&&(e.paddingLeft=e.paddingRight=n.value/2+"px"),e})),i=computed((()=>{const e=[];["span","offset","pull","push"].forEach((n=>{const r=t[n];isNumber(r)&&("span"===n?e.push(o.b(`${t[n]}`)):r>0&&e.push(o.b(`${n}-${t[n]}`)))}));return["xs","sm","md","lg","xl"].forEach((n=>{isNumber(t[n])?e.push(o.b(`${n}-${t[n]}`)):isObject$8(t[n])&&Object.entries(t[n]).forEach((([t,r])=>{e.push("span"!==t?o.b(`${n}-${t}-${r}`):o.b(`${n}-${r}`))}))})),n.value&&e.push(o.is("guttered")),[o.b(),e]}));return(e,t)=>(openBlock(),createBlock(resolveDynamicComponent(e.tag),{class:normalizeClass(unref(i)),style:normalizeStyle$1(unref(r))},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["class","style"]))}});var Col=_export_sfc(_sfc_main$1V,[["__file","col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=e=>isNumber(e)||isString$4(e)||isArray$6(e),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>{}},expandIconPosition:{type:definePropType([String]),default:"right"}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(e,t)=>{const n=ref([]),o=computed((()=>{var t;return castArray$1(null!=(t=e.modelValue)?t:n.value)})),r=o=>{n.value=o;const r=e.accordion?n.value[0]:n.value;t(UPDATE_MODEL_EVENT,r),t(CHANGE_EVENT,r)};return provide(collapseContextKey,{activeNames:o,handleItemClick:t=>{if(e.accordion)r([o.value[0]===t?"":t]);else{const e=[...o.value],n=e.indexOf(t);n>-1?e.splice(n,1):e.push(t),r(e)}}}),{activeNames:o,setActiveNames:r}},useCollapseDOM=e=>{const t=useNamespace("collapse");return{rootKls:computed((()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)]))}},__default__$1l=defineComponent({name:"ElCollapse"}),_sfc_main$1U=defineComponent({...__default__$1l,props:collapseProps,emits:collapseEmits,setup(e,{expose:t,emit:n}){const o=e,{activeNames:r,setActiveNames:i}=useCollapse(o,n),{rootKls:a}=useCollapseDOM(o);return t({activeNames:r,setActiveNames:i}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(a))},[renderSlot(e.$slots,"default")],2))}});var Collapse=_export_sfc(_sfc_main$1U,[["__file","collapse.vue"]]);const __default__$1k=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1T=defineComponent({...__default__$1k,setup(e){const t=useNamespace("collapse-transition"),n=e=>{e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},o={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height&&(e.dataset.elExistsHeight=e.style.height),e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0},enter(e){requestAnimationFrame((()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsHeight?e.style.maxHeight=e.dataset.elExistsHeight:0!==e.scrollHeight?e.style.maxHeight=`${e.scrollHeight}px`:e.style.maxHeight=0,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"}))},afterEnter(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){n(e)},beforeLeave(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.maxHeight=`${e.scrollHeight}px`,e.style.overflow="hidden"},leave(e){0!==e.scrollHeight&&(e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0)},afterLeave(e){n(e)},leaveCancelled(e){n(e)}};return(e,n)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(t).b()},toHandlers(o)),{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16,["name"]))}});var CollapseTransition=_export_sfc(_sfc_main$1T,[["__file","collapse-transition.vue"]]);const ElCollapseTransition=withInstall(CollapseTransition),collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:void 0},icon:{type:iconPropType,default:arrow_right_default},disabled:Boolean}),useCollapseItem=e=>{const t=inject(collapseContextKey),{namespace:n}=useNamespace("collapse"),o=ref(!1),r=ref(!1),i=useIdInjection(),a=computed((()=>i.current++)),l=computed((()=>{var t;return null!=(t=e.name)?t:`${n.value}-id-${i.prefix}-${unref(a)}`})),s=computed((()=>null==t?void 0:t.activeNames.value.includes(unref(l))));return{focusing:o,id:a,isActive:s,handleFocus:()=>{setTimeout((()=>{r.value?r.value=!1:o.value=!0}),50)},handleHeaderClick:()=>{e.disabled||(null==t||t.handleItemClick(unref(l)),o.value=!1,r.value=!0)},handleEnterClick:()=>{null==t||t.handleItemClick(unref(l))}}},useCollapseItemDOM=(e,{focusing:t,isActive:n,id:o})=>{const r=useNamespace("collapse"),i=computed((()=>[r.b("item"),r.is("active",unref(n)),r.is("disabled",e.disabled)])),a=computed((()=>[r.be("item","header"),r.is("active",unref(n)),{focusing:unref(t)&&!e.disabled}])),l=computed((()=>[r.be("item","arrow"),r.is("active",unref(n))]));return{itemTitleKls:computed((()=>[r.be("item","title")])),arrowKls:l,headKls:a,rootKls:i,itemWrapperKls:computed((()=>r.be("item","wrap"))),itemContentKls:computed((()=>r.be("item","content"))),scopedContentId:computed((()=>r.b(`content-${unref(o)}`))),scopedHeadId:computed((()=>r.b(`head-${unref(o)}`)))}},__default__$1j=defineComponent({name:"ElCollapseItem"}),_sfc_main$1S=defineComponent({...__default__$1j,props:collapseItemProps,setup(e,{expose:t}){const n=e,{focusing:o,id:r,isActive:i,handleFocus:a,handleHeaderClick:l,handleEnterClick:s}=useCollapseItem(n),{arrowKls:c,headKls:u,rootKls:d,itemTitleKls:p,itemWrapperKls:f,itemContentKls:h,scopedContentId:m,scopedHeadId:g}=useCollapseItemDOM(n,{focusing:o,isActive:i,id:r});return t({isActive:i}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(d))},[createBaseVNode("button",{id:unref(g),class:normalizeClass(unref(u)),"aria-expanded":unref(i),"aria-controls":unref(m),"aria-describedby":unref(m),tabindex:e.disabled?-1:0,type:"button",onClick:unref(l),onKeydown:withKeys(withModifiers(unref(s),["stop","prevent"]),["space","enter"]),onFocus:unref(a),onBlur:e=>o.value=!1},[createBaseVNode("span",{class:normalizeClass(unref(p))},[renderSlot(e.$slots,"title",{isActive:unref(i)},(()=>[createTextVNode(toDisplayString(e.title),1)]))],2),renderSlot(e.$slots,"icon",{isActive:unref(i)},(()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(c))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.icon)))])),_:1},8,["class"])]))],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),createVNode$1(unref(ElCollapseTransition),null,{default:withCtx((()=>[withDirectives(createBaseVNode("div",{id:unref(m),role:"region",class:normalizeClass(unref(f)),"aria-hidden":!unref(i),"aria-labelledby":unref(g)},[createBaseVNode("div",{class:normalizeClass(unref(h))},[renderSlot(e.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[vShow,unref(i)]])])),_:3})],2))}});var CollapseItem=_export_sfc(_sfc_main$1S,[["__file","collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem:CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(e,t){if(!isClient)return;const n=function(e){var n;null==(n=t.drag)||n.call(t,e)},o=function(e){var r;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",o),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",o),document.onselectstart=null,document.ondragstart=null,isDragging=!1,null==(r=t.end)||r.call(t,e)},r=function(e){var r;isDragging||(e.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",o),document.addEventListener("touchmove",n),document.addEventListener("touchend",o),isDragging=!0,null==(r=t.start)||r.call(t,e))};e.addEventListener("mousedown",r),e.addEventListener("touchstart",r,{passive:!1})}const isInContainer=(e,t)=>{if(!isClient||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return o=t instanceof Element?t.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<o.bottom&&n.bottom>o.top&&n.right>o.left&&n.left<o.right},getOffsetTop=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},getOffsetTopDistance=(e,t)=>Math.abs(getOffsetTop(e)-getOffsetTop(t)),getClientXY=e=>{let t,n;return"touchend"===e.type?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},useAlphaSlider=e=>{const t=getCurrentInstance(),{t:n}=useLocale(),o=shallowRef(),r=shallowRef(),i=computed((()=>e.color.get("alpha"))),a=computed((()=>n("el.colorpicker.alphaLabel")));function l(n){if(!r.value||!o.value)return;const i=t.vnode.el.getBoundingClientRect(),{clientX:a,clientY:l}=getClientXY(n);if(e.vertical){let t=l-i.top;t=Math.max(o.value.offsetHeight/2,t),t=Math.min(t,i.height-o.value.offsetHeight/2),e.color.set("alpha",Math.round((t-o.value.offsetHeight/2)/(i.height-o.value.offsetHeight)*100))}else{let t=a-i.left;t=Math.max(o.value.offsetWidth/2,t),t=Math.min(t,i.width-o.value.offsetWidth/2),e.color.set("alpha",Math.round((t-o.value.offsetWidth/2)/(i.width-o.value.offsetWidth)*100))}}function s(t){let n=i.value+t;n=n<0?0:n>100?100:n,e.color.set("alpha",n)}return{thumb:o,bar:r,alpha:i,alphaLabel:a,handleDrag:l,handleClick:function(e){var t;e.target!==o.value&&l(e),null==(t=o.value)||t.focus()},handleKeydown:function(e){const{code:t,shiftKey:n}=e,o=n?10:1;switch(t){case EVENT_CODE.left:case EVENT_CODE.down:e.preventDefault(),e.stopPropagation(),s(-o);break;case EVENT_CODE.right:case EVENT_CODE.up:e.preventDefault(),e.stopPropagation(),s(o)}}}},useAlphaSliderDOM=(e,{bar:t,thumb:n,handleDrag:o})=>{const r=getCurrentInstance(),i=useNamespace("color-alpha-slider"),a=ref(0),l=ref(0),s=ref();function c(){a.value=function(){if(!n.value)return 0;if(e.vertical)return 0;const t=r.vnode.el,o=e.color.get("alpha");return t?Math.round(o*(t.offsetWidth-n.value.offsetWidth/2)/100):0}(),l.value=function(){if(!n.value)return 0;const t=r.vnode.el;if(!e.vertical)return 0;const o=e.color.get("alpha");return t?Math.round(o*(t.offsetHeight-n.value.offsetHeight/2)/100):0}(),s.value=function(){if(e.color&&e.color.value){const{r:t,g:n,b:o}=e.color.toRgb();return`linear-gradient(to right, rgba(${t}, ${n}, ${o}, 0) 0%, rgba(${t}, ${n}, ${o}, 1) 100%)`}return""}()}onMounted((()=>{if(!t.value||!n.value)return;const e={drag:e=>{o(e)},end:e=>{o(e)}};draggable(t.value,e),draggable(n.value,e),c()})),watch((()=>e.color.get("alpha")),(()=>c())),watch((()=>e.color.value),(()=>c()));const u=computed((()=>[i.b(),i.is("vertical",e.vertical)])),d=computed((()=>i.e("bar"))),p=computed((()=>i.e("thumb")));return{rootKls:u,barKls:d,barStyle:computed((()=>({background:s.value}))),thumbKls:p,thumbStyle:computed((()=>({left:addUnit(a.value),top:addUnit(l.value)}))),update:c}},COMPONENT_NAME$g="ElColorAlphaSlider",__default__$1i=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1R=defineComponent({...__default__$1i,props:alphaSliderProps,setup(e,{expose:t}){const n=e,{alpha:o,alphaLabel:r,bar:i,thumb:a,handleDrag:l,handleClick:s,handleKeydown:c}=useAlphaSlider(n),{rootKls:u,barKls:d,barStyle:p,thumbKls:f,thumbStyle:h,update:m}=useAlphaSliderDOM(n,{bar:i,thumb:a,handleDrag:l});return t({update:m,bar:i,thumb:a}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(u))},[createBaseVNode("div",{ref_key:"bar",ref:i,class:normalizeClass(unref(d)),style:normalizeStyle$1(unref(p)),onClick:unref(s)},null,14,["onClick"]),createBaseVNode("div",{ref_key:"thumb",ref:a,class:normalizeClass(unref(f)),style:normalizeStyle$1(unref(h)),"aria-label":unref(r),"aria-valuenow":unref(o),"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":"0","aria-valuemax":"100",role:"slider",tabindex:"0",onKeydown:unref(c)},null,46,["aria-label","aria-valuenow","aria-orientation","onKeydown"])],2))}});var AlphaSlider=_export_sfc(_sfc_main$1R,[["__file","alpha-slider.vue"]]);const _sfc_main$1Q=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=useNamespace("color-hue-slider"),n=getCurrentInstance(),o=ref(),r=ref(),i=ref(0),a=ref(0),l=computed((()=>e.color.get("hue")));function s(t){if(!r.value||!o.value)return;const i=n.vnode.el.getBoundingClientRect(),{clientX:a,clientY:l}=getClientXY(t);let s;if(e.vertical){let e=l-i.top;e=Math.min(e,i.height-o.value.offsetHeight/2),e=Math.max(o.value.offsetHeight/2,e),s=Math.round((e-o.value.offsetHeight/2)/(i.height-o.value.offsetHeight)*360)}else{let e=a-i.left;e=Math.min(e,i.width-o.value.offsetWidth/2),e=Math.max(o.value.offsetWidth/2,e),s=Math.round((e-o.value.offsetWidth/2)/(i.width-o.value.offsetWidth)*360)}e.color.set("hue",s)}function c(){i.value=function(){if(!o.value)return 0;const t=n.vnode.el;if(e.vertical)return 0;const r=e.color.get("hue");return t?Math.round(r*(t.offsetWidth-o.value.offsetWidth/2)/360):0}(),a.value=function(){if(!o.value)return 0;const t=n.vnode.el;if(!e.vertical)return 0;const r=e.color.get("hue");return t?Math.round(r*(t.offsetHeight-o.value.offsetHeight/2)/360):0}()}return watch((()=>l.value),(()=>{c()})),onMounted((()=>{if(!r.value||!o.value)return;const e={drag:e=>{s(e)},end:e=>{s(e)}};draggable(r.value,e),draggable(o.value,e),c()})),{bar:r,thumb:o,thumbLeft:i,thumbTop:a,hueValue:l,handleClick:function(e){e.target!==o.value&&s(e)},update:c,ns:t}}});function _sfc_render$n(e,t,n,o,r,i){return openBlock(),createElementBlock("div",{class:normalizeClass([e.ns.b(),e.ns.is("vertical",e.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(e.ns.e("bar")),onClick:e.handleClick},null,10,["onClick"]),createBaseVNode("div",{ref:"thumb",class:normalizeClass(e.ns.e("thumb")),style:normalizeStyle$1({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc(_sfc_main$1Q,[["render",_sfc_render$n],["__file","hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},tabindex:{type:[String,Number],default:0},teleported:useTooltipContentProps.teleported,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),colorPickerEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e)||isNil(e),[CHANGE_EVENT]:e=>isString$4(e)||isNil(e),activeChange:e=>isString$4(e)||isNil(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},isOnePointZero=function(e){return isString$4(e)&&e.includes(".")&&1===Number.parseFloat(e)},isPercentage=function(e){return isString$4(e)&&e.includes("%")},bound01=function(e,t){isOnePointZero(e)&&(e="100%");const n=isPercentage(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),n&&(e=Number.parseInt(""+e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${INT_HEX_MAP[t]||t}${INT_HEX_MAP[n]||n}`},toHex=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${hexOne(e)}${hexOne(t)}${hexOne(n)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(e){return 2===e.length?16*(HEX_INT_MAP[e[0].toUpperCase()]||+e[0])+(HEX_INT_MAP[e[1].toUpperCase()]||+e[1]):HEX_INT_MAP[e[1].toUpperCase()]||+e[1]},hsl2hsv=function(e,t,n){n/=100;let o=t/=100;const r=Math.max(n,.01);t*=(n*=2)<=1?n:2-n,o*=r<=1?r:2-r;return{h:e,s:100*(0===n?2*o/(r+o):2*t/(n+t)),v:100*((n+t)/2)}},rgb2hsv=(e,t,n)=>{e=bound01(e,255),t=bound01(t,255),n=bound01(n,255);const o=Math.max(e,t,n),r=Math.min(e,t,n);let i;const a=o,l=o-r,s=0===o?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:360*i,s:100*s,v:100*a}},hsv2rgb=function(e,t,n){e=6*bound01(e,360),t=bound01(t,100),n=bound01(n,100);const o=Math.floor(e),r=e-o,i=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),s=o%6,c=[n,a,i,i,l,n][s],u=[l,n,n,a,i,i][s],d=[i,i,l,n,n,a][s];return{r:Math.round(255*c),g:Math.round(255*u),b:Math.round(255*d)}};class Color{constructor(e={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const t in e)hasOwn$1(e,t)&&(this[t]=e[t]);e.value?this.fromString(e.value):this.doOnChange()}set(e,t){if(1!==arguments.length||"object"!=typeof e)this[`_${e}`]=t,this.doOnChange();else for(const n in e)hasOwn$1(e,n)&&this.set(n,e[n])}get(e){return"alpha"===e?Math.floor(this[`_${e}`]):this[`_${e}`]}toRgb(){return hsv2rgb(this._hue,this._saturation,this._value)}fromString(e){if(!e)return this._hue=0,this._saturation=100,this._value=100,void this.doOnChange();const t=(e,t,n)=>{this._hue=Math.max(0,Math.min(360,e)),this._saturation=Math.max(0,Math.min(100,t)),this._value=Math.max(0,Math.min(100,n)),this.doOnChange()};if(e.includes("hsl")){const n=e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));if(4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3){const{h:e,s:o,v:r}=hsl2hsv(n[0],n[1],n[2]);t(e,o,r)}}else if(e.includes("hsv")){const n=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3&&t(n[0],n[1],n[2])}else if(e.includes("rgb")){const n=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));if(4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3){const{h:e,s:o,v:r}=rgb2hsv(n[0],n[1],n[2]);t(e,o,r)}}else if(e.includes("#")){const n=e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(n))return;let o,r,i;3===n.length?(o=parseHexChannel(n[0]+n[0]),r=parseHexChannel(n[1]+n[1]),i=parseHexChannel(n[2]+n[2])):6!==n.length&&8!==n.length||(o=parseHexChannel(n.slice(0,2)),r=parseHexChannel(n.slice(2,4)),i=parseHexChannel(n.slice(4,6))),8===n.length?this._alpha=parseHexChannel(n.slice(6))/255*100:3!==n.length&&6!==n.length||(this._alpha=100);const{h:a,s:l,v:s}=rgb2hsv(o,r,i);t(a,l,s)}}compare(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}doOnChange(){const{_hue:e,_saturation:t,_value:n,_alpha:o,format:r}=this;if(this.enableAlpha)switch(r){case"hsl":{const o=hsv2hsl(e,t/100,n/100);this.value=`hsla(${e}, ${Math.round(100*o[1])}%, ${Math.round(100*o[2])}%, ${this.get("alpha")/100})`;break}case"hsv":this.value=`hsva(${e}, ${Math.round(t)}%, ${Math.round(n)}%, ${this.get("alpha")/100})`;break;case"hex":this.value=`${toHex(hsv2rgb(e,t,n))}${hexOne(255*o/100)}`;break;default:{const{r:o,g:r,b:i}=hsv2rgb(e,t,n);this.value=`rgba(${o}, ${r}, ${i}, ${this.get("alpha")/100})`}}else switch(r){case"hsl":{const o=hsv2hsl(e,t/100,n/100);this.value=`hsl(${e}, ${Math.round(100*o[1])}%, ${Math.round(100*o[2])}%)`;break}case"hsv":this.value=`hsv(${e}, ${Math.round(t)}%, ${Math.round(n)}%)`;break;case"rgb":{const{r:o,g:r,b:i}=hsv2rgb(e,t,n);this.value=`rgb(${o}, ${r}, ${i})`;break}default:this.value=toHex(hsv2rgb(e,t,n))}}}const _sfc_main$1P=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0},enableAlpha:{type:Boolean,required:!0}},setup(e){const t=useNamespace("color-predefine"),{currentColor:n}=inject(colorPickerContextKey),o=ref(r(e.colors,e.color));function r(t,n){return t.map((t=>{const o=new Color;return o.enableAlpha=e.enableAlpha,o.format="rgba",o.fromString(t),o.selected=o.value===n.value,o}))}return watch((()=>n.value),(e=>{const t=new Color;t.fromString(e),o.value.forEach((e=>{e.selected=t.compare(e)}))})),watchEffect((()=>{o.value=r(e.colors,e.color)})),{rgbaColors:o,handleSelect:function(t){e.color.fromString(e.colors[t])},ns:t}}});function _sfc_render$m(e,t,n,o,r,i){return openBlock(),createElementBlock("div",{class:normalizeClass(e.ns.b())},[createBaseVNode("div",{class:normalizeClass(e.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.rgbaColors,((t,n)=>(openBlock(),createElementBlock("div",{key:e.colors[n],class:normalizeClass([e.ns.e("color-selector"),e.ns.is("alpha",t._alpha<100),{selected:t.selected}]),onClick:t=>e.handleSelect(n)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:t.value})},null,4)],10,["onClick"])))),128))],2)],2)}var Predefine=_export_sfc(_sfc_main$1P,[["render",_sfc_render$m],["__file","predefine.vue"]]);const _sfc_main$1O=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=useNamespace("color-svpanel"),n=getCurrentInstance(),o=ref(0),r=ref(0),i=ref("hsl(0, 100%, 50%)"),a=computed((()=>({hue:e.color.get("hue"),value:e.color.get("value")})));function l(){const t=e.color.get("saturation"),a=e.color.get("value"),l=n.vnode.el,{clientWidth:s,clientHeight:c}=l;r.value=t*s/100,o.value=(100-a)*c/100,i.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function s(t){const i=n.vnode.el.getBoundingClientRect(),{clientX:a,clientY:l}=getClientXY(t);let s=a-i.left,c=l-i.top;s=Math.max(0,s),s=Math.min(s,i.width),c=Math.max(0,c),c=Math.min(c,i.height),r.value=s,o.value=c,e.color.set({saturation:s/i.width*100,value:100-c/i.height*100})}return watch((()=>a.value),(()=>{l()})),onMounted((()=>{draggable(n.vnode.el,{drag:e=>{s(e)},end:e=>{s(e)}}),l()})),{cursorTop:o,cursorLeft:r,background:i,colorValue:a,handleDrag:s,update:l,ns:t}}});function _sfc_render$l(e,t,n,o,r,i){return openBlock(),createElementBlock("div",{class:normalizeClass(e.ns.b()),style:normalizeStyle$1({backgroundColor:e.background})},[createBaseVNode("div",{class:normalizeClass(e.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(e.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(e.ns.e("cursor")),style:normalizeStyle$1({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},[createBaseVNode("div")],6)],6)}var SvPanel=_export_sfc(_sfc_main$1O,[["render",_sfc_render$l],["__file","sv-panel.vue"]]);const __default__$1h=defineComponent({name:"ElColorPicker"}),_sfc_main$1N=defineComponent({...__default__$1h,props:colorPickerProps,emits:colorPickerEmits,setup(e,{expose:t,emit:n}){const o=e,{t:r}=useLocale(),i=useNamespace("color"),{formItem:a}=useFormItem(),l=useFormSize(),s=useFormDisabled(),{inputId:c,isLabeledByFormItem:u}=useFormItemInputId(o,{formItemContext:a}),d=ref(),p=ref(),f=ref(),h=ref(),m=ref(),g=ref(),{isFocused:v,handleFocus:y,handleBlur:b}=useFocusController(m,{beforeFocus:()=>s.value,beforeBlur(e){var t;return null==(t=h.value)?void 0:t.isFocusInsideContent(e)},afterBlur(){I(!1),O()}});let _=!0;const w=reactive(new Color({enableAlpha:o.showAlpha,format:o.colorFormat||"",value:o.modelValue})),k=ref(!1),x=ref(!1),S=ref(""),C=computed((()=>o.modelValue||x.value?function(e,t){if(!(e instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:n,g:o,b:r}=e.toRgb();return t?`rgba(${n}, ${o}, ${r}, ${e.get("alpha")/100})`:`rgb(${n}, ${o}, ${r})`}(w,o.showAlpha):"transparent")),E=computed((()=>o.modelValue||x.value?w.value:"")),T=computed((()=>u.value?void 0:o.ariaLabel||r("el.colorpicker.defaultLabel"))),A=computed((()=>u.value?null==a?void 0:a.labelId:void 0)),$=computed((()=>[i.b("picker"),i.is("disabled",s.value),i.bm("picker",l.value),i.is("focused",v.value)]));function I(e){k.value=e}const M=debounce(I,100,{leading:!0});function P(){s.value||I(!0)}function N(){M(!1),O()}function O(){nextTick((()=>{o.modelValue?w.fromString(o.modelValue):(w.value="",nextTick((()=>{x.value=!1})))}))}function R(){s.value||(k.value&&O(),M(!k.value))}function D(){w.fromString(S.value)}function L(){const e=w.value;n(UPDATE_MODEL_EVENT,e),n(CHANGE_EVENT,e),o.validateEvent&&(null==a||a.validate("change").catch((e=>debugWarn()))),M(!1),nextTick((()=>{const e=new Color({enableAlpha:o.showAlpha,format:o.colorFormat||"",value:o.modelValue});w.compare(e)||O()}))}function B(){M(!1),n(UPDATE_MODEL_EVENT,null),n(CHANGE_EVENT,null),null!==o.modelValue&&o.validateEvent&&(null==a||a.validate("change").catch((e=>debugWarn()))),O()}function V(){k.value&&(N(),v.value&&H())}function z(e){e.preventDefault(),e.stopPropagation(),I(!1),O()}function F(e){switch(e.code){case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:case EVENT_CODE.space:e.preventDefault(),e.stopPropagation(),P(),g.value.focus();break;case EVENT_CODE.esc:z(e)}}function H(){m.value.focus()}return onMounted((()=>{o.modelValue&&(S.value=E.value)})),watch((()=>o.modelValue),(e=>{e?e&&e!==w.value&&(_=!1,w.fromString(e)):x.value=!1})),watch((()=>[o.colorFormat,o.showAlpha]),(()=>{w.enableAlpha=o.showAlpha,w.format=o.colorFormat||w.format,w.doOnChange(),n(UPDATE_MODEL_EVENT,w.value)})),watch((()=>E.value),(e=>{S.value=e,_&&n("activeChange",e),_=!0})),watch((()=>w.value),(()=>{o.modelValue||x.value||(x.value=!0)})),watch((()=>k.value),(()=>{nextTick((()=>{var e,t,n;null==(e=d.value)||e.update(),null==(t=p.value)||t.update(),null==(n=f.value)||n.update()}))})),provide(colorPickerContextKey,{currentColor:E}),t({color:w,show:P,hide:N,focus:H,blur:function(){m.value.blur()}}),(e,t)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:h,visible:k.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(i).be("picker","panel"),unref(i).b("dropdown"),e.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:e.teleported,transition:`${unref(i).namespace.value}-zoom-in-top`,persistent:"",onHide:e=>I(!1)},{content:withCtx((()=>[withDirectives((openBlock(),createElementBlock("div",{onKeydown:withKeys(z,["esc"])},[createBaseVNode("div",{class:normalizeClass(unref(i).be("dropdown","main-wrapper"))},[createVNode$1(HueSlider,{ref_key:"hue",ref:d,class:"hue-slider",color:unref(w),vertical:""},null,8,["color"]),createVNode$1(SvPanel,{ref_key:"sv",ref:p,color:unref(w)},null,8,["color"])],2),e.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:f,color:unref(w)},null,8,["color"])):createCommentVNode("v-if",!0),e.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine","enable-alpha":e.showAlpha,color:unref(w),colors:e.predefine},null,8,["enable-alpha","color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(i).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(i).be("dropdown","value"))},[createVNode$1(unref(ElInput),{ref_key:"inputRef",ref:g,modelValue:S.value,"onUpdate:modelValue":e=>S.value=e,"validate-event":!1,size:"small",onKeyup:withKeys(D,["enter"]),onBlur:D},null,8,["modelValue","onUpdate:modelValue","onKeyup"])],2),createVNode$1(unref(ElButton),{class:normalizeClass(unref(i).be("dropdown","link-btn")),text:"",size:"small",onClick:B},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(r)("el.colorpicker.clear")),1)])),_:1},8,["class"]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(i).be("dropdown","btn")),onClick:L},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(r)("el.colorpicker.confirm")),1)])),_:1},8,["class"])],2)],40,["onKeydown"])),[[unref(ClickOutside),V,m.value]])])),default:withCtx((()=>[createBaseVNode("div",mergeProps({id:unref(c),ref_key:"triggerRef",ref:m},e.$attrs,{class:unref($),role:"button","aria-label":unref(T),"aria-labelledby":unref(A),"aria-description":unref(r)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":unref(s),tabindex:unref(s)?void 0:e.tabindex,onKeydown:F,onFocus:unref(y),onBlur:unref(b)}),[unref(s)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(i).be("picker","trigger")),onClick:R},[createBaseVNode("span",{class:normalizeClass([unref(i).be("picker","color"),unref(i).is("alpha",e.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(i).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(C)})},[withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(i).be("picker","icon"),unref(i).is("icon-arrow-down")])},{default:withCtx((()=>[createVNode$1(unref(arrow_down_default))])),_:1},8,["class"]),[[vShow,e.modelValue||x.value]]),withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(i).be("picker","empty"),unref(i).is("icon-close")])},{default:withCtx((()=>[createVNode$1(unref(close_default))])),_:1},8,["class"]),[[vShow,!e.modelValue&&!x.value]])],6)],2)],2)],16,["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex","onFocus","onBlur"])])),_:1},8,["visible","popper-class","teleported","transition","onHide"]))}});var ColorPicker=_export_sfc(_sfc_main$1N,[["__file","color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),configProviderProps=buildProps({a11y:{type:Boolean,default:!0},locale:{type:definePropType(Object)},size:useSizeProp,button:{type:definePropType(Object)},experimentalFeatures:{type:definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"},...useEmptyValuesProps}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(e,{slots:t}){watch((()=>e.message),(e=>{Object.assign(messageConfig,null!=e?e:{})}),{immediate:!0,deep:!0});const n=provideGlobalConfig(e);return()=>renderSlot(t,"default",{config:null==n?void 0:n.value})}}),ElConfigProvider=withInstall(ConfigProvider),__default__$1g=defineComponent({name:"ElContainer"}),_sfc_main$1M=defineComponent({...__default__$1g,props:{direction:{type:String}},setup(e){const t=e,n=useSlots(),o=useNamespace("container"),r=computed((()=>{if("vertical"===t.direction)return!0;if("horizontal"===t.direction)return!1;if(n&&n.default){return n.default().some((e=>{const t=e.type.name;return"ElHeader"===t||"ElFooter"===t}))}return!1}));return(e,t)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(o).b(),unref(o).is("vertical",unref(r))])},[renderSlot(e.$slots,"default")],2))}});var Container=_export_sfc(_sfc_main$1M,[["__file","container.vue"]]);const __default__$1f=defineComponent({name:"ElAside"}),_sfc_main$1L=defineComponent({...__default__$1f,props:{width:{type:String,default:null}},setup(e){const t=e,n=useNamespace("aside"),o=computed((()=>t.width?n.cssVarBlock({width:t.width}):{}));return(e,t)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(o))},[renderSlot(e.$slots,"default")],6))}});var Aside=_export_sfc(_sfc_main$1L,[["__file","aside.vue"]]);const __default__$1e=defineComponent({name:"ElFooter"}),_sfc_main$1K=defineComponent({...__default__$1e,props:{height:{type:String,default:null}},setup(e){const t=e,n=useNamespace("footer"),o=computed((()=>t.height?n.cssVarBlock({height:t.height}):{}));return(e,t)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(o))},[renderSlot(e.$slots,"default")],6))}});var Footer$2=_export_sfc(_sfc_main$1K,[["__file","footer.vue"]]);const __default__$1d=defineComponent({name:"ElHeader"}),_sfc_main$1J=defineComponent({...__default__$1d,props:{height:{type:String,default:null}},setup(e){const t=e,n=useNamespace("header"),o=computed((()=>t.height?n.cssVarBlock({height:t.height}):{}));return(e,t)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(n).b()),style:normalizeStyle$1(unref(o))},[renderSlot(e.$slots,"default")],6))}});var Header$2=_export_sfc(_sfc_main$1J,[["__file","header.vue"]]);const __default__$1c=defineComponent({name:"ElMain"}),_sfc_main$1I=defineComponent({...__default__$1c,setup(e){const t=useNamespace("main");return(e,n)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(t).b())},[renderSlot(e.$slots,"default")],2))}});var Main=_export_sfc(_sfc_main$1I,[["__file","main.vue"]]);const ElContainer=withInstall(Container,{Aside:Aside,Footer:Footer$2,Header:Header$2,Main:Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$2),ElHeader=withNoopInstall(Header$2),ElMain=withNoopInstall(Main);var customParseFormat$2={exports:{}},customParseFormat$1=customParseFormat$2.exports,hasRequiredCustomParseFormat;function requireCustomParseFormat(){return hasRequiredCustomParseFormat||(hasRequiredCustomParseFormat=1,customParseFormat$2.exports=function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,o=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},l=function(e){return(e=+e)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,o=a.meridiem;if(o){for(var r=1;r<=24;r+=1)if(e.indexOf(o(r,0,t))>-1){n=r>12;break}}else n=e===(t?"pm":"PM");return n},p={A:[i,function(e){this.afternoon=d(e,!1)}],a:[i,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[o,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[o,s("day")],Do:[i,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var o=1;o<=31;o+=1)t(o).replace(/\[|\]/g,"")===e&&(this.day=o)}],w:[r,s("week")],ww:[o,s("week")],M:[r,s("month")],MM:[o,s("month")],MMM:[i,function(e){var t=u("months"),n=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[o,function(e){this.year=l(e)}],YYYY:[/\d{4}/,s("year")],Z:c,ZZ:c};function f(n){var o,r;o=n,r=a&&a.formats;for(var i=(n=o.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,o){var i=o&&o.toUpperCase();return n||r[o]||e[o]||r[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),l=i.length,s=0;s<l;s+=1){var c=i[s],u=p[c],d=u&&u[0],f=u&&u[1];i[s]=f?{regex:d,parser:f}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,o=0;n<l;n+=1){var r=i[n];if("string"==typeof r)o+=r.length;else{var a=r.regex,s=r.parser,c=e.slice(o),u=a.exec(c)[0];s.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(l=e.parseTwoDigitYear);var o=t.prototype,r=o.parse;o.parse=function(e){var t=e.date,o=e.utc,i=e.args;this.$u=o;var l=i[1];if("string"==typeof l){var s=!0===i[2],c=!0===i[3],u=s||c,d=i[2];c&&(d=i[2]),a=this.$locale(),!s&&d&&(a=n.Ls[d]),this.$d=function(e,t,n,o){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=f(t)(e),i=r.year,a=r.month,l=r.day,s=r.hours,c=r.minutes,u=r.seconds,d=r.milliseconds,p=r.zone,h=r.week,m=new Date,g=l||(i||a?1:m.getDate()),v=i||m.getFullYear(),y=0;i&&!a||(y=a>0?a-1:m.getMonth());var b,_=s||0,w=c||0,k=u||0,x=d||0;return p?new Date(Date.UTC(v,y,g,_,w,k,x+60*p.offset*1e3)):n?new Date(Date.UTC(v,y,g,_,w,k,x)):(b=new Date(v,y,g,_,w,k,x),h&&(b=o(b).week(h).toDate()),b)}catch(S){return new Date("")}}(t,l,o,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(l)&&(this.$d=new Date("")),a={}}else if(l instanceof Array)for(var p=l.length,h=1;h<=p;h+=1){i[1]=l[h-1];var m=n.apply(this,i);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}h===p&&(this.$d=new Date(""))}else r.call(this,e)}}}()),customParseFormat$2.exports}var customParseFormatExports=requireCustomParseFormat();const customParseFormat=getDefaultExportFromCjs(customParseFormatExports);var advancedFormat$2={exports:{}},advancedFormat$1=advancedFormat$2.exports,hasRequiredAdvancedFormat;function requireAdvancedFormat(){return hasRequiredAdvancedFormat||(hasRequiredAdvancedFormat=1,advancedFormat$2.exports=function(e,t){var n=t.prototype,o=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return o.bind(this)(e);var r=this.$utils(),i=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return r.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return r.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return r.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return o.bind(this)(i)}}),advancedFormat$2.exports}var advancedFormatExports=requireAdvancedFormat();const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$2={exports:{}},weekOfYear$1=weekOfYear$2.exports,hasRequiredWeekOfYear;function requireWeekOfYear(){return hasRequiredWeekOfYear||(hasRequiredWeekOfYear=1,weekOfYear$2.exports=function(){var e="week",t="year";return function(n,o,r){var i=o.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var o=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=r(this).startOf(t).add(1,t).date(o),a=r(this).endOf(e);if(i.isBefore(a))return 1}var l=r(this).startOf(t).date(o).startOf(e).subtract(1,"millisecond"),s=this.diff(l,e,!0);return s<0?r(this).startOf("week").week():Math.ceil(s)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()),weekOfYear$2.exports}var weekOfYearExports=requireWeekOfYear();const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$2={exports:{}},weekYear$1=weekYear$2.exports,hasRequiredWeekYear;function requireWeekYear(){return hasRequiredWeekYear||(hasRequiredWeekYear=1,weekYear$2.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}),weekYear$2.exports}var weekYearExports=requireWeekYear();const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$2={exports:{}},dayOfYear$1=dayOfYear$2.exports,hasRequiredDayOfYear;function requireDayOfYear(){return hasRequiredDayOfYear||(hasRequiredDayOfYear=1,dayOfYear$2.exports=function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}),dayOfYear$2.exports}var dayOfYearExports=requireDayOfYear();const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$2={exports:{}},isSameOrAfter$1=isSameOrAfter$2.exports,hasRequiredIsSameOrAfter;function requireIsSameOrAfter(){return hasRequiredIsSameOrAfter||(hasRequiredIsSameOrAfter=1,isSameOrAfter$2.exports=function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}),isSameOrAfter$2.exports}var isSameOrAfterExports=requireIsSameOrAfter();const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$2={exports:{}},isSameOrBefore$1=isSameOrBefore$2.exports,hasRequiredIsSameOrBefore;function requireIsSameOrBefore(){return hasRequiredIsSameOrBefore||(hasRequiredIsSameOrBefore=1,isSameOrBefore$2.exports=function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}),isSameOrBefore$2.exports}var isSameOrBeforeExports=requireIsSameOrBefore();const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),timeUnits$1=["hours","minutes","seconds"],DEFAULT_FORMATS_TIME="HH:mm:ss",DEFAULT_FORMATS_DATE="YYYY-MM-DD",DEFAULT_FORMATS_DATEPICKER={date:DEFAULT_FORMATS_DATE,dates:DEFAULT_FORMATS_DATE,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},disabledTimeListsProps=buildProps({disabledHours:{type:definePropType(Function)},disabledMinutes:{type:definePropType(Function)},disabledSeconds:{type:definePropType(Function)}}),timePanelSharedProps=buildProps({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),timePickerDefaultProps=buildProps({id:{type:definePropType([Array,String])},name:{type:definePropType([Array,String])},popperClass:{type:String,default:""},format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:definePropType([String,Object]),default:circle_close_default},editable:{type:Boolean,default:!0},prefixIcon:{type:definePropType([String,Object]),default:""},size:useSizeProp,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:Boolean,...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:definePropType(String),values:Ee,default:"bottom"},fallbackPlacements:{type:definePropType(Array),default:["bottom","top","right","left"]},...useEmptyValuesProps,...useAriaProps(["ariaLabel"]),showNow:{type:Boolean,default:!0}}),timePickerRangeTriggerProps=buildProps({id:{type:definePropType(Array)},name:{type:definePropType(Array)},modelValue:{type:definePropType([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),__default__$1b=defineComponent({name:"PickerRangeTrigger",inheritAttrs:!1}),_sfc_main$1H=defineComponent({...__default__$1b,props:timePickerRangeTriggerProps,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const o=useAttrs(),r=useNamespace("date"),i=useNamespace("range"),a=ref(),l=ref(),{wrapperRef:s,isFocused:c}=useFocusController(a),u=e=>{n("click",e)},d=e=>{n("mouseenter",e)},p=e=>{n("mouseleave",e)},f=e=>{n("mouseenter",e)},h=e=>{n("startInput",e)},m=e=>{n("endInput",e)},g=e=>{n("startChange",e)},v=e=>{n("endChange",e)};return t({focus:()=>{var e;null==(e=a.value)||e.focus()},blur:()=>{var e,t;null==(e=a.value)||e.blur(),null==(t=l.value)||t.blur()}}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"wrapperRef",ref:s,class:normalizeClass([unref(r).is("active",unref(c)),e.$attrs.class]),style:normalizeStyle$1(e.$attrs.style),onClick:u,onMouseenter:d,onMouseleave:p,onTouchstartPassive:f},[renderSlot(e.$slots,"prefix"),createBaseVNode("input",mergeProps(unref(o),{id:e.id&&e.id[0],ref_key:"inputRef",ref:a,name:e.name&&e.name[0],placeholder:e.startPlaceholder,value:e.modelValue&&e.modelValue[0],class:unref(i).b("input"),disabled:e.disabled,onInput:h,onChange:g}),null,16,["id","name","placeholder","value","disabled"]),renderSlot(e.$slots,"range-separator"),createBaseVNode("input",mergeProps(unref(o),{id:e.id&&e.id[1],ref_key:"endInputRef",ref:l,name:e.name&&e.name[1],placeholder:e.endPlaceholder,value:e.modelValue&&e.modelValue[1],class:unref(i).b("input"),disabled:e.disabled,onInput:m,onChange:v}),null,16,["id","name","placeholder","value","disabled"]),renderSlot(e.$slots,"suffix")],38))}});var PickerRangeTrigger=_export_sfc(_sfc_main$1H,[["__file","picker-range-trigger.vue"]]);const __default__$1a=defineComponent({name:"Picker"}),_sfc_main$1G=defineComponent({...__default__$1a,props:timePickerDefaultProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const o=e,r=useAttrs$1(),{lang:i}=useLocale(),a=useNamespace("date"),l=useNamespace("input"),s=useNamespace("range"),{form:c,formItem:u}=useFormItem(),d=inject("ElPopperOptions",{}),{valueOnClear:p}=useEmptyValues(o,null),f=ref(),h=ref(),m=ref(!1),g=ref(!1),v=ref(null);let y=!1;const{isFocused:b,handleFocus:_,handleBlur:w}=useFocusController(h,{beforeFocus:()=>o.readonly||P.value,afterFocus(){m.value=!0},beforeBlur(e){var t;return!y&&(null==(t=f.value)?void 0:t.isFocusInsideContent(e))},afterBlur(){Q(),m.value=!1,y=!1,o.validateEvent&&(null==u||u.validate("blur").catch((e=>debugWarn())))}}),k=computed((()=>[a.b("editor"),a.bm("editor",o.type),l.e("wrapper"),a.is("disabled",P.value),a.is("active",m.value),s.b("editor"),K?s.bm("editor",K.value):"",r.class])),x=computed((()=>[l.e("icon"),s.e("close-icon"),F.value?"":s.e("close-icon--hidden")]));watch(m,(e=>{e?nextTick((()=>{e&&(v.value=o.modelValue)})):(J.value=null,nextTick((()=>{S(o.modelValue)})))}));const S=(e,t)=>{!t&&valueEquals(e,v.value)||(n(CHANGE_EVENT,e),t&&(v.value=e),o.validateEvent&&(null==u||u.validate("change").catch((e=>debugWarn()))))},C=e=>{if(!valueEquals(o.modelValue,e)){let t;isArray$6(e)?t=e.map((e=>formatter(e,o.valueFormat,i.value))):e&&(t=formatter(e,o.valueFormat,i.value)),n(UPDATE_MODEL_EVENT,e?t:e,i.value)}},E=computed((()=>h.value?Array.from(h.value.$el.querySelectorAll("input")):[])),T=(e,t,n)=>{const o=E.value;o.length&&(n&&"min"!==n?"max"===n&&(o[1].setSelectionRange(e,t),o[1].focus()):(o[0].setSelectionRange(e,t),o[0].focus()))},A=(e="",t=!1)=>{let n;m.value=t,n=isArray$6(e)?e.map((e=>e.toDate())):e?e.toDate():e,J.value=null,C(n)},$=()=>{g.value=!0},I=()=>{n("visible-change",!0)},M=()=>{g.value=!1,m.value=!1,n("visible-change",!1)},P=computed((()=>o.disabled||(null==c?void 0:c.disabled))),N=computed((()=>{let e;if(j.value?ce.value.getDefaultValue&&(e=ce.value.getDefaultValue()):e=isArray$6(o.modelValue)?o.modelValue.map((e=>parseDate(e,o.valueFormat,i.value))):parseDate(o.modelValue,o.valueFormat,i.value),ce.value.getRangeAvailableTime){const t=ce.value.getRangeAvailableTime(e);isEqual$1(t,e)||(e=t,j.value||C(dayOrDaysToDate(e)))}return isArray$6(e)&&e.some((e=>!e))&&(e=[]),e})),O=computed((()=>{if(!ce.value.panelReady)return"";const e=te(N.value);return isArray$6(J.value)?[J.value[0]||e&&e[0]||"",J.value[1]||e&&e[1]||""]:null!==J.value?J.value:!D.value&&j.value||!m.value&&j.value?"":e?L.value||B.value||V.value?e.join(", "):e:""})),R=computed((()=>o.type.includes("time"))),D=computed((()=>o.type.startsWith("time"))),L=computed((()=>"dates"===o.type)),B=computed((()=>"months"===o.type)),V=computed((()=>"years"===o.type)),z=computed((()=>o.prefixIcon||(R.value?clock_default:calendar_default))),F=ref(!1),H=e=>{o.readonly||P.value||(F.value&&(e.stopPropagation(),ce.value.handleClear?ce.value.handleClear():C(p.value),S(p.value,!0),F.value=!1,M()),n("clear"))},j=computed((()=>{const{modelValue:e}=o;return!e||isArray$6(e)&&!e.filter(Boolean).length})),G=async e=>{var t;o.readonly||P.value||("INPUT"!==(null==(t=e.target)?void 0:t.tagName)||b.value)&&(m.value=!0)},U=()=>{o.readonly||P.value||!j.value&&o.clearable&&(F.value=!0)},W=()=>{F.value=!1},Y=e=>{var t;o.readonly||P.value||("INPUT"!==(null==(t=e.touches[0].target)?void 0:t.tagName)||b.value)&&(m.value=!0)},q=computed((()=>o.type.includes("range"))),K=useFormSize(),Z=computed((()=>{var e,t;return null==(t=null==(e=unref(f))?void 0:e.popperRef)?void 0:t.contentRef})),X=onClickOutside(h,(e=>{const t=unref(Z),n=unrefElement(h);t&&(e.target===t||e.composedPath().includes(t))||e.target===n||n&&e.composedPath().includes(n)||(m.value=!1)}));onBeforeUnmount((()=>{null==X||X()}));const J=ref(null),Q=()=>{if(J.value){const e=ee(O.value);e&&ne(e)&&(C(dayOrDaysToDate(e)),J.value=null)}""===J.value&&(C(p.value),S(p.value,!0),J.value=null)},ee=e=>e?ce.value.parseUserInput(e):null,te=e=>e?ce.value.formatToString(e):null,ne=e=>ce.value.isValidValue(e),oe=async e=>{if(o.readonly||P.value)return;const{code:t}=e;if((e=>{n("keydown",e)})(e),t!==EVENT_CODE.esc)if(t===EVENT_CODE.down&&(ce.value.handleFocusPicker&&(e.preventDefault(),e.stopPropagation()),!1===m.value&&(m.value=!0,await nextTick()),ce.value.handleFocusPicker))ce.value.handleFocusPicker();else{if(t!==EVENT_CODE.tab)return t===EVENT_CODE.enter||t===EVENT_CODE.numpadEnter?((null===J.value||""===J.value||ne(ee(O.value)))&&(Q(),m.value=!1),void e.stopPropagation()):void(J.value?e.stopPropagation():ce.value.handleKeydownInput&&ce.value.handleKeydownInput(e));y=!0}else!0===m.value&&(m.value=!1,e.preventDefault(),e.stopPropagation())},re=e=>{J.value=e,m.value||(m.value=!0)},ie=e=>{const t=e.target;J.value?J.value=[t.value,J.value[1]]:J.value=[t.value,null]},ae=e=>{const t=e.target;J.value?J.value=[J.value[0],t.value]:J.value=[null,t.value]},le=()=>{var e;const t=J.value,n=ee(t&&t[0]),o=unref(N);if(n&&n.isValid()){J.value=[te(n),(null==(e=O.value)?void 0:e[1])||null];const t=[n,o&&(o[1]||null)];ne(t)&&(C(dayOrDaysToDate(t)),J.value=null)}},se=()=>{var e;const t=unref(J),n=ee(t&&t[1]),o=unref(N);if(n&&n.isValid()){J.value=[(null==(e=unref(O))?void 0:e[0])||null,te(n)];const t=[o&&o[0],n];ne(t)&&(C(dayOrDaysToDate(t)),J.value=null)}},ce=ref({}),ue=e=>{ce.value[e[0]]=e[1],ce.value.panelReady=!0},de=e=>{n("calendar-change",e)},pe=(e,t,o)=>{n("panel-change",e,t,o)};return provide("EP_PICKER_BASE",{props:o}),t({focus:()=>{var e;null==(e=h.value)||e.focus()},blur:()=>{var e;null==(e=h.value)||e.blur()},handleOpen:()=>{m.value=!0},handleClose:()=>{m.value=!1},onPick:A}),(e,t)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:f,visible:m.value,effect:"light",pure:"",trigger:"click"},e.$attrs,{role:"dialog",teleported:"",transition:`${unref(a).namespace.value}-zoom-in-top`,"popper-class":[`${unref(a).namespace.value}-picker__popper`,e.popperClass],"popper-options":unref(d),"fallback-placements":e.fallbackPlacements,"gpu-acceleration":!1,placement:e.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:$,onShow:I,onHide:M}),{default:withCtx((()=>[unref(q)?(openBlock(),createBlock(PickerRangeTrigger,{key:1,id:e.id,ref_key:"inputRef",ref:h,"model-value":unref(O),name:e.name,disabled:unref(P),readonly:!e.editable||e.readonly,"start-placeholder":e.startPlaceholder,"end-placeholder":e.endPlaceholder,class:normalizeClass(unref(k)),style:normalizeStyle$1(e.$attrs.style),"aria-label":e.ariaLabel,tabindex:e.tabindex,autocomplete:"off",role:"combobox",onClick:G,onFocus:unref(_),onBlur:unref(w),onStartInput:ie,onStartChange:le,onEndInput:ae,onEndChange:se,onMousedown:G,onMouseenter:U,onMouseleave:W,onTouchstartPassive:Y,onKeydown:oe},{prefix:withCtx((()=>[unref(z)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(l).e("icon"),unref(s).e("icon")])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(z))))])),_:1},8,["class"])):createCommentVNode("v-if",!0)])),"range-separator":withCtx((()=>[renderSlot(e.$slots,"range-separator",{},(()=>[createBaseVNode("span",{class:normalizeClass(unref(s).b("separator"))},toDisplayString(e.rangeSeparator),3)]))])),suffix:withCtx((()=>[e.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(x)),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:H},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.clearIcon)))])),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)])),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(openBlock(),createBlock(unref(ElInput),{key:0,id:e.id,ref_key:"inputRef",ref:h,"container-role":"combobox","model-value":unref(O),name:e.name,size:unref(K),disabled:unref(P),placeholder:e.placeholder,class:normalizeClass([unref(a).b("editor"),unref(a).bm("editor",e.type),e.$attrs.class]),style:normalizeStyle$1(e.$attrs.style),readonly:!e.editable||e.readonly||unref(L)||unref(B)||unref(V)||"week"===e.type,"aria-label":e.ariaLabel,tabindex:e.tabindex,"validate-event":!1,onInput:re,onFocus:unref(_),onBlur:unref(w),onKeydown:oe,onChange:Q,onMousedown:G,onMouseenter:U,onMouseleave:W,onTouchstartPassive:Y,onClick:withModifiers((()=>{}),["stop"])},{prefix:withCtx((()=>[unref(z)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(l).e("icon")),onMousedown:withModifiers(G,["prevent"]),onTouchstartPassive:Y},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(z))))])),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)])),suffix:withCtx((()=>[F.value&&e.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(l).e("icon")} clear-icon`),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:H},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.clearIcon)))])),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)])),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur","onClick"]))])),content:withCtx((()=>[renderSlot(e.$slots,"default",{visible:m.value,actualVisible:g.value,parsedValue:unref(N),format:e.format,dateFormat:e.dateFormat,timeFormat:e.timeFormat,unlinkPanels:e.unlinkPanels,type:e.type,defaultValue:e.defaultValue,showNow:e.showNow,onPick:A,onSelectRange:T,onSetPickerOption:ue,onCalendarChange:de,onPanelChange:pe,onMousedown:withModifiers((()=>{}),["stop"])})])),_:3},16,["visible","transition","popper-class","popper-options","fallback-placements","placement"]))}});var CommonPicker=_export_sfc(_sfc_main$1G,[["__file","picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const o={};return{timePickerOptions:o,getAvailableTime:(o,r,i,a)=>{const l={hour:e,minute:t,second:n};let s=o;return["hour","minute","second"].forEach((e=>{if(l[e]){let t;const n=l[e];switch(e){case"minute":t=n(s.hour(),r,a);break;case"second":t=n(s.hour(),s.minute(),r,a);break;default:t=n(r,a)}if((null==t?void 0:t.length)&&!t.includes(s[e]())){const n=i?0:t.length-1;s=s[e](t[n])}}})),s},onSetOption:([e,t])=>{o[e]=t}}},makeAvailableArr=e=>e.map(((e,t)=>e||t)).filter((e=>!0!==e)),getTimeLists=(e,t,n)=>({getHoursList:(t,n)=>makeList(24,e&&(()=>null==e?void 0:e(t,n))),getMinutesList:(e,n,o)=>makeList(60,t&&(()=>null==t?void 0:t(e,n,o))),getSecondsList:(e,t,o,r)=>makeList(60,n&&(()=>null==n?void 0:n(e,t,o,r)))}),buildAvailableTimeSlotGetter=(e,t,n)=>{const{getHoursList:o,getMinutesList:r,getSecondsList:i}=getTimeLists(e,t,n);return{getAvailableHours:(e,t)=>makeAvailableArr(o(e,t)),getAvailableMinutes:(e,t,n)=>makeAvailableArr(r(e,t,n)),getAvailableSeconds:(e,t,n,o)=>makeAvailableArr(i(e,t,n,o))}},useOldValue=e=>{const t=ref(e.parsedValue);return watch((()=>e.visible),(n=>{n||(t.value=e.parsedValue)})),t},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(e,t){const n=t.value,{interval:o=REPEAT_INTERVAL,delay:r=REPEAT_DELAY}=isFunction$5(n)?{}:n;let i,a;const l=()=>isFunction$5(n)?n():n.handler(),s=()=>{a&&(clearTimeout(a),a=void 0),i&&(clearInterval(i),i=void 0)};e.addEventListener("mousedown",(e=>{0===e.button&&(s(),l(),document.addEventListener("mouseup",(()=>s()),{once:!0}),a=setTimeout((()=>{i=setInterval((()=>{l()}),o)}),r))}))}},_sfc_main$1F=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:[CHANGE_EVENT,"select-range","set-option"],setup(e,{emit:t}){const n=e,o=inject("EP_PICKER_BASE"),{isRange:r,format:i}=o.props,a=useNamespace("time"),{getHoursList:l,getMinutesList:s,getSecondsList:c}=getTimeLists(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let u=!1;const d=ref(),p={hours:ref(),minutes:ref(),seconds:ref()},f=computed((()=>n.showSeconds?timeUnits$1:timeUnits$1.slice(0,2))),h=computed((()=>{const{spinnerDate:e}=n;return{hours:e.hour(),minutes:e.minute(),seconds:e.second()}})),m=computed((()=>{const{hours:e,minutes:t}=unref(h),{role:o,spinnerDate:i}=n,a=r?void 0:i;return{hours:l(o,a),minutes:s(e,o,a),seconds:c(e,t,o,a)}})),g=computed((()=>{const{hours:e,minutes:t,seconds:n}=unref(h);return{hours:buildTimeList(e,23),minutes:buildTimeList(t,59),seconds:buildTimeList(n,59)}})),v=debounce((e=>{u=!1,_(e)}),200),y=e=>{if(!!!n.amPmMode)return"";let t=e<12?" am":" pm";return"A"===n.amPmMode&&(t=t.toUpperCase()),t},b=e=>{let n=[0,0];if(!i||i===DEFAULT_FORMATS_TIME)switch(e){case"hours":n=[0,2];break;case"minutes":n=[3,5];break;case"seconds":n=[6,8]}const[o,r]=n;t("select-range",o,r),d.value=e},_=e=>{x(e,unref(h)[e])},w=()=>{_("hours"),_("minutes"),_("seconds")},k=e=>e.querySelector(`.${a.namespace.value}-scrollbar__wrap`),x=(e,t)=>{if(n.arrowControl)return;const o=unref(p[e]);o&&o.$el&&(k(o.$el).scrollTop=Math.max(0,t*S(e)))},S=e=>{const t=unref(p[e]),n=null==t?void 0:t.$el.querySelector("li");return n&&Number.parseFloat(getStyle(n,"height"))||0},C=()=>{T(1)},E=()=>{T(-1)},T=e=>{d.value||b("hours");const t=d.value,n=unref(h)[t],o="hours"===d.value?24:60,r=A(t,n,e,o);$(t,r),x(t,r),nextTick((()=>b(t)))},A=(e,t,n,o)=>{let r=(t+n+o)%o;const i=unref(m)[e];for(;i[r]&&r!==t;)r=(r+n+o)%o;return r},$=(e,o)=>{if(unref(m)[e][o])return;const{hours:r,minutes:i,seconds:a}=unref(h);let l;switch(e){case"hours":l=n.spinnerDate.hour(o).minute(i).second(a);break;case"minutes":l=n.spinnerDate.hour(r).minute(o).second(a);break;case"seconds":l=n.spinnerDate.hour(r).minute(i).second(o)}t(CHANGE_EVENT,l)},I=e=>unref(p[e]).$el.offsetHeight,M=()=>{const e=e=>{const t=unref(p[e]);t&&t.$el&&(k(t.$el).onscroll=()=>{(e=>{const t=unref(p[e]);if(!t)return;u=!0,v(e);const n=Math.min(Math.round((k(t.$el).scrollTop-(.5*I(e)-10)/S(e)+3)/S(e)),"hours"===e?23:59);$(e,n)})(e)})};e("hours"),e("minutes"),e("seconds")};onMounted((()=>{nextTick((()=>{!n.arrowControl&&M(),w(),"start"===n.role&&b("hours")}))}));return t("set-option",[`${n.role}_scrollDown`,T]),t("set-option",[`${n.role}_emitSelectRange`,b]),watch((()=>n.spinnerDate),(()=>{u||w()})),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(a).b("spinner"),{"has-seconds":e.showSeconds}])},[e.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(f),(t=>(openBlock(),createBlock(unref(ElScrollbar),{key:t,ref_for:!0,ref:e=>((e,t)=>{p[t].value=null!=e?e:void 0})(e,t),class:normalizeClass(unref(a).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(a).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:e=>b(t),onMousemove:e=>_(t)},{default:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(m)[t],((n,o)=>(openBlock(),createElementBlock("li",{key:o,class:normalizeClass([unref(a).be("spinner","item"),unref(a).is("active",o===unref(h)[t]),unref(a).is("disabled",n)]),onClick:e=>((e,{value:t,disabled:n})=>{n||($(e,t),b(e),x(e,t))})(t,{value:o,disabled:n})},["hours"===t?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(e.amPmMode?o%12||12:o)).slice(-2))+toDisplayString(y(o)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+o).slice(-2)),1)],64))],10,["onClick"])))),128))])),_:2},1032,["class","view-class","onMouseenter","onMousemove"])))),128)),e.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(f),(t=>(openBlock(),createElementBlock("div",{key:t,class:normalizeClass([unref(a).be("spinner","wrapper"),unref(a).is("arrow")]),onMouseenter:e=>b(t)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(a).be("spinner","arrow")])},{default:withCtx((()=>[createVNode$1(unref(arrow_up_default))])),_:1},8,["class"])),[[unref(vRepeatClick),E]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(a).be("spinner","arrow")])},{default:withCtx((()=>[createVNode$1(unref(arrow_down_default))])),_:1},8,["class"])),[[unref(vRepeatClick),C]]),createBaseVNode("ul",{class:normalizeClass(unref(a).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(g)[t],((n,o)=>(openBlock(),createElementBlock("li",{key:o,class:normalizeClass([unref(a).be("spinner","item"),unref(a).is("active",n===unref(h)[t]),unref(a).is("disabled",unref(m)[t][n])])},[unref(isNumber)(n)?(openBlock(),createElementBlock(Fragment,{key:0},["hours"===t?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(e.amPmMode?n%12||12:n)).slice(-2))+toDisplayString(y(n)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+n).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2)))),128))],2)],42,["onMouseenter"])))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc(_sfc_main$1F,[["__file","basic-time-spinner.vue"]]);const _sfc_main$1E=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,o=inject("EP_PICKER_BASE"),{arrowControl:r,disabledHours:i,disabledMinutes:a,disabledSeconds:l,defaultValue:s}=o.props,{getAvailableHours:c,getAvailableMinutes:u,getAvailableSeconds:d}=buildAvailableTimeSlotGetter(i,a,l),p=useNamespace("time"),{t:f,lang:h}=useLocale(),m=ref([0,2]),g=useOldValue(n),v=computed((()=>isUndefined(n.actualVisible)?`${p.namespace.value}-zoom-in-top`:"")),y=computed((()=>n.format.includes("ss"))),b=computed((()=>n.format.includes("A")?"A":n.format.includes("a")?"a":"")),_=()=>{t("pick",g.value,!1)},w=e=>{if(!n.visible)return;const o=E(e).millisecond(0);t("pick",o,!0)},k=(e,n)=>{t("select-range",e,n),m.value=[e,n]},{timePickerOptions:x,onSetOption:S,getAvailableTime:C}=useTimePanel({getAvailableHours:c,getAvailableMinutes:u,getAvailableSeconds:d}),E=e=>C(e,n.datetimeRole||"",!0);return t("set-picker-option",["isValidValue",e=>{const t=dayjs(e).locale(h.value),n=E(t);return t.isSame(n)}]),t("set-picker-option",["formatToString",e=>e?e.format(n.format):null]),t("set-picker-option",["parseUserInput",e=>e?dayjs(e,n.format).locale(h.value):null]),t("set-picker-option",["handleKeydownInput",e=>{const t=e.code,{left:n,right:o,up:r,down:i}=EVENT_CODE;if([n,o].includes(t)){return(e=>{const t=[0,3].concat(y.value?[6]:[]),n=["hours","minutes"].concat(y.value?["seconds"]:[]),o=(t.indexOf(m.value[0])+e+t.length)%t.length;x.start_emitSelectRange(n[o])})(t===n?-1:1),void e.preventDefault()}if([r,i].includes(t)){const n=t===r?-1:1;return x.start_scrollDown(n),void e.preventDefault()}}]),t("set-picker-option",["getRangeAvailableTime",E]),t("set-picker-option",["getDefaultValue",()=>dayjs(s).locale(h.value)]),(e,o)=>(openBlock(),createBlock(Transition,{name:unref(v)},{default:withCtx((()=>[e.actualVisible||e.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(p).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(p).be("panel","content"),{"has-seconds":unref(y)}])},[createVNode$1(TimeSpinner,{ref:"spinner",role:e.datetimeRole||"start","arrow-control":unref(r),"show-seconds":unref(y),"am-pm-mode":unref(b),"spinner-date":e.parsedValue,"disabled-hours":unref(i),"disabled-minutes":unref(a),"disabled-seconds":unref(l),onChange:w,onSetOption:unref(S),onSelectRange:k},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),createBaseVNode("div",{class:normalizeClass(unref(p).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(p).be("panel","btn"),"cancel"]),onClick:_},toDisplayString(unref(f)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(p).be("panel","btn"),"confirm"]),onClick:e=>((e=!1,o=!1)=>{o||t("pick",n.parsedValue,e)})()},toDisplayString(unref(f)("el.datepicker.confirm")),11,["onClick"])],2)],2)):createCommentVNode("v-if",!0)])),_:1},8,["name"]))}});var TimePickPanel=_export_sfc(_sfc_main$1E,[["__file","panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_sfc_main$1D=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,o=(e,t)=>{const n=[];for(let o=e;o<=t;o++)n.push(o);return n},{t:r,lang:i}=useLocale(),a=useNamespace("time"),l=useNamespace("picker"),s=inject("EP_PICKER_BASE"),{arrowControl:c,disabledHours:u,disabledMinutes:d,disabledSeconds:p,defaultValue:f}=s.props,h=computed((()=>[a.be("range-picker","body"),a.be("panel","content"),a.is("arrow",c),b.value?"has-seconds":""])),m=computed((()=>[a.be("range-picker","body"),a.be("panel","content"),a.is("arrow",c),b.value?"has-seconds":""])),g=computed((()=>n.parsedValue[0])),v=computed((()=>n.parsedValue[1])),y=useOldValue(n),b=computed((()=>n.format.includes("ss"))),_=computed((()=>n.format.includes("A")?"A":n.format.includes("a")?"a":"")),w=e=>{x(e.millisecond(0),v.value)},k=e=>{x(g.value,e.millisecond(0))},x=(e,o)=>{n.visible&&t("pick",[e,o],!0)},S=computed((()=>g.value>v.value)),C=ref([0,2]),E=(e,n)=>{t("select-range",e,n,"min"),C.value=[e,n]},T=computed((()=>b.value?11:8)),A=(e,n)=>{t("select-range",e,n,"max");const o=unref(T);C.value=[e+o,n+o]},$=(e,t)=>{const n=u?u(e):[],r="start"===e,i=(t||(r?v.value:g.value)).hour(),a=r?o(i+1,23):o(0,i-1);return union(n,a)},I=(e,t,n)=>{const r=d?d(e,t):[],i="start"===t,a=n||(i?v.value:g.value);if(e!==a.hour())return r;const l=a.minute(),s=i?o(l+1,59):o(0,l-1);return union(r,s)},M=(e,t,n,r)=>{const i=p?p(e,t,n):[],a="start"===n,l=r||(a?v.value:g.value),s=l.hour(),c=l.minute();if(e!==s||t!==c)return i;const u=l.second(),d=a?o(u+1,59):o(0,u-1);return union(i,d)},P=([e,t])=>[L(e,"start",!0,t),L(t,"end",!1,e)],{getAvailableHours:N,getAvailableMinutes:O,getAvailableSeconds:R}=buildAvailableTimeSlotGetter($,I,M),{timePickerOptions:D,getAvailableTime:L,onSetOption:B}=useTimePanel({getAvailableHours:N,getAvailableMinutes:O,getAvailableSeconds:R});return t("set-picker-option",["formatToString",e=>e?isArray$6(e)?e.map((e=>e.format(n.format))):e.format(n.format):null]),t("set-picker-option",["parseUserInput",e=>e?isArray$6(e)?e.map((e=>dayjs(e,n.format).locale(i.value))):dayjs(e,n.format).locale(i.value):null]),t("set-picker-option",["isValidValue",e=>{const t=e.map((e=>dayjs(e).locale(i.value))),n=P(t);return t[0].isSame(n[0])&&t[1].isSame(n[1])}]),t("set-picker-option",["handleKeydownInput",e=>{const t=e.code,{left:n,right:o,up:r,down:i}=EVENT_CODE;if([n,o].includes(t)){return(e=>{const t=b.value?[0,3,6,11,14,17]:[0,3,8,11],n=["hours","minutes"].concat(b.value?["seconds"]:[]),o=(t.indexOf(C.value[0])+e+t.length)%t.length,r=t.length/2;o<r?D.start_emitSelectRange(n[o]):D.end_emitSelectRange(n[o-r])})(t===n?-1:1),void e.preventDefault()}if([r,i].includes(t)){const n=t===r?-1:1,o=C.value[0]<T.value?"start":"end";return D[`${o}_scrollDown`](n),void e.preventDefault()}}]),t("set-picker-option",["getDefaultValue",()=>{if(isArray$6(f))return f.map((e=>dayjs(e).locale(i.value)));const e=dayjs(f).locale(i.value);return[e,e.add(60,"m")]}]),t("set-picker-option",["getRangeAvailableTime",P]),(e,n)=>e.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(a).b("range-picker"),unref(l).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(a).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(a).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(a).be("range-picker","header"))},toDisplayString(unref(r)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(unref(h))},[createVNode$1(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(b),"am-pm-mode":unref(_),"arrow-control":unref(c),"spinner-date":unref(g),"disabled-hours":$,"disabled-minutes":I,"disabled-seconds":M,onChange:w,onSetOption:unref(B),onSelectRange:E},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(a).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(a).be("range-picker","header"))},toDisplayString(unref(r)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(unref(m))},[createVNode$1(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(b),"am-pm-mode":unref(_),"arrow-control":unref(c),"spinner-date":unref(v),"disabled-hours":$,"disabled-minutes":I,"disabled-seconds":M,onChange:k,onSetOption:unref(B),onSelectRange:A},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(a).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(a).be("panel","btn"),"cancel"]),onClick:e=>{t("pick",y.value,!1)}},toDisplayString(unref(r)("el.datepicker.cancel")),11,["onClick"]),createBaseVNode("button",{type:"button",class:normalizeClass([unref(a).be("panel","btn"),"confirm"]),disabled:unref(S),onClick:e=>((e=!1)=>{t("pick",[g.value,v.value],e)})()},toDisplayString(unref(r)("el.datepicker.confirm")),11,["disabled","onClick"])],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc(_sfc_main$1D,[["__file","panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:{type:Boolean,default:!1}},emits:[UPDATE_MODEL_EVENT],setup(e,t){const n=ref(),[o,r]=e.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],i=e=>t.emit(UPDATE_MODEL_EVENT,e);return provide("ElPopperOptions",e.popperOptions),t.expose({focus:()=>{var e;null==(e=n.value)||e.focus()},blur:()=>{var e;null==(e=n.value)||e.blur()},handleOpen:()=>{var e;null==(e=n.value)||e.handleOpen()},handleClose:()=>{var e;null==(e=n.value)||e.handleClose()}}),()=>{var t;const a=null!=(t=e.format)?t:DEFAULT_FORMATS_TIME;return createVNode$1(CommonPicker,mergeProps(e,{ref:n,type:o,format:a,"onUpdate:modelValue":i}),{default:e=>createVNode$1(r,e,null)})}}});const ElTimePicker=withInstall(TimePicker),ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({...timePickerDefaultProps,type:{type:definePropType(String),default:"date"}}),selectionModes=["date","dates","year","years","month","months","week","range"],datePickerSharedProps=buildProps({disabledDate:{type:definePropType(Function)},date:{type:definePropType(Object),required:!0},minDate:{type:definePropType(Object)},maxDate:{type:definePropType(Object)},parsedValue:{type:definePropType([Object,Array])},rangeState:{type:definePropType(Object),default:()=>({endDate:null,selecting:!1})}}),panelSharedProps=buildProps({type:{type:definePropType(String),required:!0,values:datePickTypes},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0}}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=e=>({type:String,values:selectionModes,default:e}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),isValidRange=e=>{if(!isArray$6(e))return!1;const[t,n]=e;return dayjs.isDayjs(t)&&dayjs.isDayjs(n)&&dayjs(t).isValid()&&dayjs(n).isValid()&&t.isSameOrBefore(n)},getDefaultValue=(e,{lang:t,unit:n,unlinkPanels:o})=>{let r;if(isArray$6(e)){let[r,i]=e.map((e=>dayjs(e).locale(t)));return o||(i=r.add(1,n)),[r,i]}return r=e?dayjs(e):dayjs(),r=r.locale(t),[r,r.add(1,n)]},buildPickerTable=(e,t,{columnIndexOffset:n,startDate:o,nextEndDate:r,now:i,unit:a,relativeDateGetter:l,setCellMetadata:s,setRowMetadata:c})=>{for(let u=0;u<e.row;u++){const d=t[u];for(let t=0;t<e.column;t++){let c=d[t+n];c||(c={row:u,column:t,type:"normal",inRange:!1,start:!1,end:!1});const p=l(u*e.column+t);c.dayjs=p,c.date=p.toDate(),c.timestamp=p.valueOf(),c.type="normal",c.inRange=!!(o&&p.isSameOrAfter(o,a)&&r&&p.isSameOrBefore(r,a))||!!(o&&p.isSameOrBefore(o,a)&&r&&p.isSameOrAfter(r,a)),(null==o?void 0:o.isSameOrAfter(r))?(c.start=!!r&&p.isSame(r,a),c.end=o&&p.isSame(o,a)):(c.start=!!o&&p.isSame(o,a),c.end=!!r&&p.isSame(r,a));p.isSame(i,a)&&(c.type="today"),null==s||s(c,{rowIndex:u,columnIndex:t}),d[t+n]=c}null==c||c(d)}},datesInMonth=(e,t,n)=>{const o=dayjs().locale(n).startOf("month").month(t).year(e),r=o.daysInMonth();return rangeArr(r).map((e=>o.add(e,"day").toDate()))},getValidDateOfMonth=(e,t,n,o)=>{const r=dayjs().year(e).month(t).startOf("month"),i=datesInMonth(e,t,n).find((e=>!(null==o?void 0:o(e))));return i?dayjs(i).locale(n):r.locale(n)},getValidDateOfYear=(e,t,n)=>{const o=e.year();if(!(null==n?void 0:n(e.toDate())))return e.locale(t);const r=e.month();if(!datesInMonth(o,r,t).every(n))return getValidDateOfMonth(o,r,t,n);for(let i=0;i<12;i++)if(!datesInMonth(o,i,t).every(n))return getValidDateOfMonth(o,i,t,n);return e},correctlyParseUserInput=(e,t,n,o)=>{if(isArray$6(e))return e.map((e=>correctlyParseUserInput(e,t,n,o)));if(isString$4(e)){const n=o.value?dayjs(e):dayjs(e,t);if(!n.isValid())return n}return dayjs(e,t).locale(n)},basicDateTableProps=buildProps({...datePickerSharedProps,cellClassName:{type:definePropType(Function)},showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),basicDateTableEmits=["changerange","pick","select"],isNormalDay=(e="")=>["normal","today"].includes(e),useBasicDateTable=(e,t)=>{const{lang:n}=useLocale(),o=ref(),r=ref(),i=ref(),a=ref(),l=ref([[],[],[],[],[],[]]);let s=!1;const c=e.date.$locale().weekStart||7,u=e.date.locale("en").localeData().weekdaysShort().map((e=>e.toLowerCase())),d=computed((()=>c>3?7-c:-c)),p=computed((()=>{const t=e.date.startOf("month");return t.subtract(t.day()||7,"day")})),f=computed((()=>u.concat(u).slice(c,c+7))),h=computed((()=>flatten(unref(b)).some((e=>e.isCurrent)))),m=computed((()=>{const t=e.date.startOf("month");return{startOfMonthDay:t.day()||7,dateCountOfMonth:t.daysInMonth(),dateCountOfLastMonth:t.subtract(1,"month").daysInMonth()}})),g=computed((()=>"dates"===e.selectionMode?castArray(e.parsedValue):[])),v=(t,{columnIndex:n,rowIndex:o},r)=>{const{disabledDate:i,cellClassName:a}=e,l=unref(g),s=((e,{count:t,rowIndex:n,columnIndex:o})=>{const{startOfMonthDay:r,dateCountOfMonth:i,dateCountOfLastMonth:a}=unref(m),l=unref(d);if(!(n>=0&&n<=1))return t<=i?e.text=t:(e.text=t-i,e.type="next-month"),!0;{const i=r+l<0?7+r+l:r+l;if(o+7*n>=i)return e.text=t,!0;e.text=a-(i-o%7)+1+7*n,e.type="prev-month"}return!1})(t,{count:r,rowIndex:o,columnIndex:n}),c=t.dayjs.toDate();return t.selected=l.find((e=>e.isSame(t.dayjs,"day"))),t.isSelected=!!t.selected,t.isCurrent=w(t),t.disabled=null==i?void 0:i(c),t.customClass=null==a?void 0:a(c),s},y=t=>{if("week"===e.selectionMode){const[n,o]=e.showWeekNumber?[1,7]:[0,6],r=C(t[n+1]);t[n].inRange=r,t[n].start=r,t[o].inRange=r,t[o].end=r}},b=computed((()=>{const{minDate:t,maxDate:o,rangeState:r,showWeekNumber:i}=e,a=unref(d),s=unref(l),c="day";let u=1;if(i)for(let e=0;e<6;e++)s[e][0]||(s[e][0]={type:"week",text:unref(p).add(7*e+1,c).week()});return buildPickerTable({row:6,column:7},s,{startDate:t,columnIndexOffset:i?1:0,nextEndDate:r.endDate||o||r.selecting&&t||null,now:dayjs().locale(unref(n)).startOf(c),unit:c,relativeDateGetter:e=>unref(p).add(e-a,c),setCellMetadata:(...e)=>{v(...e,u)&&(u+=1)},setRowMetadata:y}),s}));watch((()=>e.date),(async()=>{var e;(null==(e=unref(o))?void 0:e.contains(document.activeElement))&&(await nextTick(),await _())}));const _=async()=>{var e;return null==(e=unref(r))?void 0:e.focus()},w=t=>"date"===e.selectionMode&&isNormalDay(t.type)&&k(t,e.parsedValue),k=(t,o)=>!!o&&dayjs(o).locale(unref(n)).isSame(e.date.date(Number(t.text)),"day"),x=(t,n)=>{const o=7*t+(n-(e.showWeekNumber?1:0))-unref(d);return unref(p).add(o,"day")},S=(n,o=!1)=>{const r=n.target.closest("td");if(!r)return;const i=r.parentNode.rowIndex-1,a=r.cellIndex,l=unref(b)[i][a];if(l.disabled||"week"===l.type)return;const s=x(i,a);switch(e.selectionMode){case"range":(n=>{e.rangeState.selecting&&e.minDate?(n>=e.minDate?t("pick",{minDate:e.minDate,maxDate:n}):t("pick",{minDate:n,maxDate:e.minDate}),t("select",!1)):(t("pick",{minDate:n,maxDate:null}),t("select",!0))})(s);break;case"date":t("pick",s,o);break;case"week":(e=>{const n=e.week(),o=`${e.year()}w${n}`;t("pick",{year:e.year(),week:n,value:o,date:e.startOf("week")})})(s);break;case"dates":((n,o)=>{const r=o?castArray(e.parsedValue).filter((e=>(null==e?void 0:e.valueOf())!==n.valueOf())):castArray(e.parsedValue).concat([n]);t("pick",r)})(s,!!l.selected)}},C=t=>{if("week"!==e.selectionMode)return!1;let n=e.date.startOf("day");if("prev-month"===t.type&&(n=n.subtract(1,"month")),"next-month"===t.type&&(n=n.add(1,"month")),n=n.date(Number.parseInt(t.text,10)),e.parsedValue&&!isArray$6(e.parsedValue)){const t=(e.parsedValue.day()-c+7)%7-1;return e.parsedValue.subtract(t,"day").isSame(n,"day")}return!1};return{WEEKS:f,rows:b,tbodyRef:o,currentCellRef:r,focus:_,isCurrent:w,isWeekActive:C,isSelectedCell:e=>!unref(h)&&1===(null==e?void 0:e.text)&&"normal"===e.type||e.isCurrent,handlePickDate:S,handleMouseUp:e=>{e.target.closest("td")&&(s=!1)},handleMouseDown:e=>{e.target.closest("td")&&(s=!0)},handleMouseMove:n=>{var o;if(!e.rangeState.selecting)return;let r=n.target;if("SPAN"===r.tagName&&(r=null==(o=r.parentNode)?void 0:o.parentNode),"DIV"===r.tagName&&(r=r.parentNode),"TD"!==r.tagName)return;const l=r.parentNode.rowIndex-1,s=r.cellIndex;unref(b)[l][s].disabled||l===unref(i)&&s===unref(a)||(i.value=l,a.value=s,t("changerange",{selecting:!0,endDate:x(l,s)}))},handleFocus:t=>{s||unref(h)||"date"!==e.selectionMode||S(t,!0)}}},useBasicDateTableDOM=(e,{isCurrent:t,isWeekActive:n})=>{const o=useNamespace("date-table"),{t:r}=useLocale();return{tableKls:computed((()=>[o.b(),{"is-week-mode":"week"===e.selectionMode}])),tableLabel:computed((()=>r("el.datepicker.dateTablePrompt"))),weekLabel:computed((()=>r("el.datepicker.week"))),getCellClasses:n=>{const o=[];return isNormalDay(n.type)&&!n.disabled?(o.push("available"),"today"===n.type&&o.push("today")):o.push(n.type),t(n)&&o.push("current"),n.inRange&&(isNormalDay(n.type)||"week"===e.selectionMode)&&(o.push("in-range"),n.start&&o.push("start-date"),n.end&&o.push("end-date")),n.disabled&&o.push("disabled"),n.selected&&o.push("selected"),n.customClass&&o.push(n.customClass),o.join(" ")},getRowKls:e=>[o.e("row"),{current:n(e)}],t:r}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(e){const t=useNamespace("date-table-cell"),{slots:n}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:o}=e;return renderSlot(n,"default",{...o},(()=>{var e;return[createVNode$1("div",{class:t.b()},[createVNode$1("span",{class:t.e("text")},[null!=(e=null==o?void 0:o.renderText)?e:null==o?void 0:o.text])])]}))}}});const _sfc_main$1C=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:basicDateTableEmits,setup(e,{expose:t,emit:n}){const o=e,{WEEKS:r,rows:i,tbodyRef:a,currentCellRef:l,focus:s,isCurrent:c,isWeekActive:u,isSelectedCell:d,handlePickDate:p,handleMouseUp:f,handleMouseDown:h,handleMouseMove:m,handleFocus:g}=useBasicDateTable(o,n),{tableLabel:v,tableKls:y,weekLabel:b,getCellClasses:_,getRowKls:w,t:k}=useBasicDateTableDOM(o,{isCurrent:c,isWeekActive:u});let x=!1;return onBeforeUnmount((()=>{x=!0})),t({focus:s}),(e,t)=>(openBlock(),createElementBlock("table",{"aria-label":unref(v),class:normalizeClass(unref(y)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:unref(p),onMousemove:unref(m),onMousedown:withModifiers(unref(h),["prevent"]),onMouseup:unref(f)},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:a},[createBaseVNode("tr",null,[e.showWeekNumber?(openBlock(),createElementBlock("th",{key:0,scope:"col"},toDisplayString(unref(b)),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r),((e,t)=>(openBlock(),createElementBlock("th",{key:t,"aria-label":unref(k)("el.datepicker.weeksFull."+e),scope:"col"},toDisplayString(unref(k)("el.datepicker.weeks."+e)),9,["aria-label"])))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(i),((e,t)=>(openBlock(),createElementBlock("tr",{key:t,class:normalizeClass(unref(w)(e[1]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e,((e,n)=>(openBlock(),createElementBlock("td",{key:`${t}.${n}`,ref_for:!0,ref:t=>!unref(x)&&unref(d)(e)&&(l.value=t),class:normalizeClass(unref(_)(e)),"aria-current":e.isCurrent?"date":void 0,"aria-selected":e.isCurrent,tabindex:unref(d)(e)?0:-1,onFocus:unref(g)},[createVNode$1(unref(ElDatePickerCell),{cell:e},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"])))),128))],2)))),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"]))}});var DateTable=_export_sfc(_sfc_main$1C,[["__file","basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_sfc_main$1B=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const o=e,r=useNamespace("month-table"),{t:i,lang:a}=useLocale(),l=ref(),s=ref(),c=ref(o.date.locale("en").localeData().monthsShort().map((e=>e.toLowerCase()))),u=ref([[],[],[]]),d=ref(),p=ref(),f=computed((()=>{var e,t;const n=u.value,r=dayjs().locale(a.value).startOf("month");for(let i=0;i<3;i++){const a=n[i];for(let n=0;n<4;n++){const l=a[n]||(a[n]={row:i,column:n,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});l.type="normal";const s=4*i+n,c=o.date.startOf("year").month(s),u=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;l.inRange=!!(o.minDate&&c.isSameOrAfter(o.minDate,"month")&&u&&c.isSameOrBefore(u,"month"))||!!(o.minDate&&c.isSameOrBefore(o.minDate,"month")&&u&&c.isSameOrAfter(u,"month")),(null==(e=o.minDate)?void 0:e.isSameOrAfter(u))?(l.start=!(!u||!c.isSame(u,"month")),l.end=o.minDate&&c.isSame(o.minDate,"month")):(l.start=!(!o.minDate||!c.isSame(o.minDate,"month")),l.end=!(!u||!c.isSame(u,"month")));r.isSame(c)&&(l.type="today"),l.text=s,l.disabled=(null==(t=o.disabledDate)?void 0:t.call(o,c.toDate()))||!1}}return n})),h=e=>{const t={},n=o.date.year(),r=new Date,i=e.text;return t.disabled=!!o.disabledDate&&datesInMonth(n,i,a.value).every(o.disabledDate),t.current=castArray(o.parsedValue).findIndex((e=>dayjs.isDayjs(e)&&e.year()===n&&e.month()===i))>=0,t.today=r.getFullYear()===n&&r.getMonth()===i,e.inRange&&(t["in-range"]=!0,e.start&&(t["start-date"]=!0),e.end&&(t["end-date"]=!0)),t},m=e=>{const t=o.date.year(),n=e.text;return castArray(o.date).findIndex((e=>e.year()===t&&e.month()===n))>=0},g=e=>{var t;if(!o.rangeState.selecting)return;let r=e.target;if("SPAN"===r.tagName&&(r=null==(t=r.parentNode)?void 0:t.parentNode),"DIV"===r.tagName&&(r=r.parentNode),"TD"!==r.tagName)return;const i=r.parentNode.rowIndex,a=r.cellIndex;f.value[i][a].disabled||i===d.value&&a===p.value||(d.value=i,p.value=a,n("changerange",{selecting:!0,endDate:o.date.startOf("year").month(4*i+a)}))},v=e=>{var t;const r=null==(t=e.target)?void 0:t.closest("td");if("TD"!==(null==r?void 0:r.tagName))return;if(hasClass(r,"disabled"))return;const i=r.cellIndex,l=4*r.parentNode.rowIndex+i,s=o.date.startOf("year").month(l);if("months"===o.selectionMode){if("keydown"===e.type)return void n("pick",castArray(o.parsedValue),!1);const t=getValidDateOfMonth(o.date.year(),l,a.value,o.disabledDate),i=hasClass(r,"current")?castArray(o.parsedValue).filter((e=>(null==e?void 0:e.year())!==t.year()||(null==e?void 0:e.month())!==t.month())):castArray(o.parsedValue).concat([dayjs(t)]);n("pick",i)}else"range"===o.selectionMode?o.rangeState.selecting?(o.minDate&&s>=o.minDate?n("pick",{minDate:o.minDate,maxDate:s}):n("pick",{minDate:s,maxDate:o.minDate}),n("select",!1)):(n("pick",{minDate:s,maxDate:null}),n("select",!0)):n("pick",l)};return watch((()=>o.date),(async()=>{var e,t;(null==(e=l.value)?void 0:e.contains(document.activeElement))&&(await nextTick(),null==(t=s.value)||t.focus())})),t({focus:()=>{var e;null==(e=s.value)||e.focus()}}),(e,t)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(i)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(r).b()),onClick:v,onMousemove:g},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:l},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(f),((e,t)=>(openBlock(),createElementBlock("tr",{key:t},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e,((e,t)=>(openBlock(),createElementBlock("td",{key:t,ref_for:!0,ref:t=>m(e)&&(s.value=t),class:normalizeClass(h(e)),"aria-selected":`${m(e)}`,"aria-label":unref(i)("el.datepicker.month"+(+e.text+1)),tabindex:m(e)?0:-1,onKeydown:[withKeys(withModifiers(v,["prevent","stop"]),["space"]),withKeys(withModifiers(v,["prevent","stop"]),["enter"])]},[createVNode$1(unref(ElDatePickerCell),{cell:{...e,renderText:unref(i)("el.datepicker.months."+c.value[e.text])}},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"])))),128))])))),128))],512)],42,["aria-label"]))}});var MonthTable=_export_sfc(_sfc_main$1B,[["__file","basic-month-table.vue"]]);const basicYearTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("year")}),_sfc_main$1A=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const o=e,r=useNamespace("year-table"),{t:i,lang:a}=useLocale(),l=ref(),s=ref(),c=computed((()=>10*Math.floor(o.date.year()/10))),u=ref([[],[],[]]),d=ref(),p=ref(),f=computed((()=>{var e;const t=u.value,n=dayjs().locale(a.value).startOf("year");for(let r=0;r<3;r++){const i=t[r];for(let t=0;t<4&&!(4*r+t>=10);t++){let a=i[t];a||(a={row:r,column:t,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1}),a.type="normal";const l=4*r+t+c.value,s=dayjs().year(l),u=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;a.inRange=!!(o.minDate&&s.isSameOrAfter(o.minDate,"year")&&u&&s.isSameOrBefore(u,"year"))||!!(o.minDate&&s.isSameOrBefore(o.minDate,"year")&&u&&s.isSameOrAfter(u,"year")),(null==(e=o.minDate)?void 0:e.isSameOrAfter(u))?(a.start=!(!u||!s.isSame(u,"year")),a.end=!(!o.minDate||!s.isSame(o.minDate,"year"))):(a.start=!(!o.minDate||!s.isSame(o.minDate,"year")),a.end=!(!u||!s.isSame(u,"year")));n.isSame(s)&&(a.type="today"),a.text=l;const d=s.toDate();a.disabled=o.disabledDate&&o.disabledDate(d)||!1,i[t]=a}}return t})),h=e=>{const t={},n=dayjs().locale(a.value),r=e.text;return t.disabled=!!o.disabledDate&&((e,t)=>{const n=dayjs(String(e)).locale(t).startOf("year"),o=n.endOf("year").dayOfYear();return rangeArr(o).map((e=>n.add(e,"day").toDate()))})(r,a.value).every(o.disabledDate),t.today=n.year()===r,t.current=castArray(o.parsedValue).findIndex((e=>e.year()===r))>=0,e.inRange&&(t["in-range"]=!0,e.start&&(t["start-date"]=!0),e.end&&(t["end-date"]=!0)),t},m=e=>{const t=e.text;return castArray(o.date).findIndex((e=>e.year()===t))>=0},g=e=>{var t;const r=null==(t=e.target)?void 0:t.closest("td");if(!r||!r.textContent||hasClass(r,"disabled"))return;const i=r.cellIndex,l=4*r.parentNode.rowIndex+i+c.value,s=dayjs().year(l);if("range"===o.selectionMode)o.rangeState.selecting?(o.minDate&&s>=o.minDate?n("pick",{minDate:o.minDate,maxDate:s}):n("pick",{minDate:s,maxDate:o.minDate}),n("select",!1)):(n("pick",{minDate:s,maxDate:null}),n("select",!0));else if("years"===o.selectionMode){if("keydown"===e.type)return void n("pick",castArray(o.parsedValue),!1);const t=getValidDateOfYear(s.startOf("year"),a.value,o.disabledDate),i=hasClass(r,"current")?castArray(o.parsedValue).filter((e=>(null==e?void 0:e.year())!==l)):castArray(o.parsedValue).concat([t]);n("pick",i)}else n("pick",l)},v=e=>{var t;if(!o.rangeState.selecting)return;const r=null==(t=e.target)?void 0:t.closest("td");if(!r)return;const i=r.parentNode.rowIndex,a=r.cellIndex;f.value[i][a].disabled||i===d.value&&a===p.value||(d.value=i,p.value=a,n("changerange",{selecting:!0,endDate:dayjs().year(c.value).add(4*i+a,"year")}))};return watch((()=>o.date),(async()=>{var e,t;(null==(e=l.value)?void 0:e.contains(document.activeElement))&&(await nextTick(),null==(t=s.value)||t.focus())})),t({focus:()=>{var e;null==(e=s.value)||e.focus()}}),(e,t)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(i)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(r).b()),onClick:g,onMousemove:v},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:l},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(f),((e,t)=>(openBlock(),createElementBlock("tr",{key:t},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e,((e,n)=>(openBlock(),createElementBlock("td",{key:`${t}_${n}`,ref_for:!0,ref:t=>m(e)&&(s.value=t),class:normalizeClass(["available",h(e)]),"aria-selected":m(e),"aria-label":String(e.text),tabindex:m(e)?0:-1,onKeydown:[withKeys(withModifiers(g,["prevent","stop"]),["space"]),withKeys(withModifiers(g,["prevent","stop"]),["enter"])]},[createVNode$1(unref(ElDatePickerCell),{cell:e},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"])))),128))])))),128))],512)],42,["aria-label"]))}});var YearTable=_export_sfc(_sfc_main$1A,[["__file","basic-year-table.vue"]]);const _sfc_main$1z=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,o=useNamespace("picker-panel"),r=useNamespace("date-picker"),i=useAttrs$1(),a=useSlots(),{t:l,lang:s}=useLocale(),c=inject("EP_PICKER_BASE"),u=inject("ElIsDefaultFormat"),d=inject(TOOLTIP_INJECTION_KEY),{shortcuts:p,disabledDate:f,cellClassName:h,defaultTime:m}=c.props,g=toRef$1(c.props,"defaultValue"),v=ref(),y=ref(dayjs().locale(s.value)),b=ref(!1);let _=!1;const w=computed((()=>dayjs(m).locale(s.value))),k=computed((()=>y.value.month())),x=computed((()=>y.value.year())),S=ref([]),C=ref(null),E=ref(null),T=e=>!(S.value.length>0)||(S.value,n.format,!0),A=e=>!m||Z.value||b.value||_?H.value?e.millisecond(0):e.startOf("day"):w.value.year(e.year()).month(e.month()).date(e.date()),$=(e,...n)=>{if(e)if(isArray$6(e)){const o=e.map(A);t("pick",o,...n)}else t("pick",A(e),...n);else t("pick",e,...n);C.value=null,E.value=null,b.value=!1,_=!1},I=async(e,t)=>{if("date"===R.value){let o=n.parsedValue?n.parsedValue.year(e.year()).month(e.month()).date(e.date()):e;T()||(o=S.value[0][0].year(e.year()).month(e.month()).date(e.date())),y.value=o,$(o,H.value||t),"datetime"===n.type&&(await nextTick(),ae())}else"week"===R.value?$(e.date):"dates"===R.value&&$(e,!0)},M=e=>{const t=e?"add":"subtract";y.value=y.value[t](1,"month"),ce("month")},P=e=>{const t=y.value,n=e?"add":"subtract";y.value="year"===N.value?t[n](10,"year"):t[n](1,"year"),ce("year")},N=ref("date"),O=computed((()=>{const e=l("el.datepicker.year");if("year"===N.value){const t=10*Math.floor(x.value/10);return e?`${t} ${e} - ${t+9} ${e}`:`${t} - ${t+9}`}return`${x.value} ${e}`})),R=computed((()=>{const{type:e}=n;return["week","month","months","year","years","dates"].includes(e)?e:"date"})),D=computed((()=>"dates"===R.value||"months"===R.value||"years"===R.value)),L=computed((()=>"date"===R.value?N.value:R.value)),B=computed((()=>!!p.length)),V=async(e,t)=>{"month"===R.value?(y.value=getValidDateOfMonth(y.value.year(),e,s.value,f),$(y.value,!1)):"months"===R.value?$(e,null==t||t):(y.value=getValidDateOfMonth(y.value.year(),e,s.value,f),N.value="date",["month","year","date","week"].includes(R.value)&&($(y.value,!0),await nextTick(),ae())),ce("month")},z=async(e,t)=>{if("year"===R.value){const t=y.value.startOf("year").year(e);y.value=getValidDateOfYear(t,s.value,f),$(y.value,!1)}else if("years"===R.value)$(e,null==t||t);else{const t=y.value.year(e);y.value=getValidDateOfYear(t,s.value,f),N.value="month",["month","year","date","week"].includes(R.value)&&($(y.value,!0),await nextTick(),ae())}ce("year")},F=async e=>{N.value=e,await nextTick(),ae()},H=computed((()=>"datetime"===n.type||"datetimerange"===n.type)),j=computed((()=>{const e=H.value||"dates"===R.value,t="years"===R.value,n="months"===R.value,o="date"===N.value,r="year"===N.value,i="month"===N.value;return e&&o||t&&r||n&&i})),G=computed((()=>!!f&&(!n.parsedValue||(isArray$6(n.parsedValue)?f(n.parsedValue[0].toDate()):f(n.parsedValue.toDate()))))),U=()=>{if(D.value)$(n.parsedValue);else{let e=n.parsedValue;if(!e){const t=dayjs(m).locale(s.value),n=ie();e=t.year(n.year()).month(n.month()).date(n.date())}y.value=e,$(e)}},W=computed((()=>!!f&&f(dayjs().locale(s.value).toDate()))),Y=()=>{const e=dayjs().locale(s.value).toDate();b.value=!0,f&&f(e)||!T()||(y.value=dayjs().locale(s.value),$(y.value))},q=computed((()=>n.timeFormat||extractTimeFormat(n.format))),K=computed((()=>n.dateFormat||extractDateFormat(n.format))),Z=computed((()=>E.value?E.value:n.parsedValue||g.value?(n.parsedValue||y.value).format(q.value):void 0)),X=computed((()=>C.value?C.value:n.parsedValue||g.value?(n.parsedValue||y.value).format(K.value):void 0)),J=ref(!1),Q=()=>{J.value=!0},ee=()=>{J.value=!1},te=e=>({hour:e.hour(),minute:e.minute(),second:e.second(),year:e.year(),month:e.month(),date:e.date()}),ne=(e,t,o)=>{const{hour:r,minute:i,second:a}=te(e),l=n.parsedValue?n.parsedValue.hour(r).minute(i).second(a):e;y.value=l,$(y.value,!0),o||(J.value=t)},oe=e=>{const t=dayjs(e,q.value).locale(s.value);if(t.isValid()&&T()){const{year:e,month:n,date:o}=te(y.value);y.value=t.year(e).month(n).date(o),E.value=null,J.value=!1,$(y.value,!0)}},re=e=>{const t=correctlyParseUserInput(e,K.value,s.value,u);if(t.isValid()){if(f&&f(t.toDate()))return;const{hour:e,minute:n,second:o}=te(y.value);y.value=t.hour(e).minute(n).second(o),C.value=null,$(y.value,!0)}},ie=()=>{const e=dayjs(g.value).locale(s.value);if(!g.value){const e=w.value;return dayjs().hour(e.hour()).minute(e.minute()).second(e.second()).locale(s.value)}return e},ae=()=>{var e;["week","month","year","date"].includes(R.value)&&(null==(e=v.value)||e.focus())},le=e=>{const{code:t}=e;[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(t)&&(se(t),e.stopPropagation(),e.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(t)&&null===C.value&&null===E.value&&(e.preventDefault(),$(y.value,!1))},se=e=>{var n;const{up:o,down:r,left:i,right:a,home:l,end:c,pageUp:u,pageDown:d}=EVENT_CODE,p={year:{[o]:-4,[r]:4,[i]:-1,[a]:1,offset:(e,t)=>e.setFullYear(e.getFullYear()+t)},month:{[o]:-4,[r]:4,[i]:-1,[a]:1,offset:(e,t)=>e.setMonth(e.getMonth()+t)},week:{[o]:-1,[r]:1,[i]:-1,[a]:1,offset:(e,t)=>e.setDate(e.getDate()+7*t)},date:{[o]:-7,[r]:7,[i]:-1,[a]:1,[l]:e=>-e.getDay(),[c]:e=>6-e.getDay(),[u]:e=>-new Date(e.getFullYear(),e.getMonth(),0).getDate(),[d]:e=>new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),offset:(e,t)=>e.setDate(e.getDate()+t)}},h=y.value.toDate();for(;Math.abs(y.value.diff(h,"year",!0))<1;){const o=p[L.value];if(!o)return;if(o.offset(h,isFunction$5(o[e])?o[e](h):null!=(n=o[e])?n:0),f&&f(h))break;const r=dayjs(h).locale(s.value);y.value=r,t("pick",r,!0);break}},ce=e=>{t("panel-change",y.value.toDate(),e,N.value)};return watch((()=>R.value),(e=>{["month","year"].includes(e)?N.value=e:N.value="years"!==e?"months"!==e?"date":"month":"year"}),{immediate:!0}),watch((()=>N.value),(()=>{null==d||d.updatePopper()})),watch((()=>g.value),(e=>{e&&(y.value=ie())}),{immediate:!0}),watch((()=>n.parsedValue),(e=>{if(e){if(D.value)return;if(isArray$6(e))return;y.value=e}else y.value=ie()}),{immediate:!0}),t("set-picker-option",["isValidValue",e=>dayjs.isDayjs(e)&&e.isValid()&&(!f||!f(e.toDate()))]),t("set-picker-option",["formatToString",e=>isArray$6(e)?e.map((e=>e.format(n.format))):e.format(n.format)]),t("set-picker-option",["parseUserInput",e=>correctlyParseUserInput(e,n.format,s.value,u)]),t("set-picker-option",["handleFocusPicker",()=>{ae(),"week"===R.value&&se(EVENT_CODE.down)}]),(e,n)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(o).b(),unref(r).b(),{"has-sidebar":e.$slots.sidebar||unref(B),"has-time":unref(H)}])},[createBaseVNode("div",{class:normalizeClass(unref(o).e("body-wrapper"))},[renderSlot(e.$slots,"sidebar",{class:normalizeClass(unref(o).e("sidebar"))}),unref(B)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(p),((e,n)=>(openBlock(),createElementBlock("button",{key:n,type:"button",class:normalizeClass(unref(o).e("shortcut")),onClick:n=>(e=>{const n=isFunction$5(e.value)?e.value():e.value;if(n)return _=!0,void $(dayjs(n).locale(s.value));e.onClick&&e.onClick({attrs:i,slots:a,emit:t})})(e)},toDisplayString(e.text),11,["onClick"])))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(o).e("body"))},[unref(H)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(r).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(l)("el.datepicker.selectDate"),"model-value":unref(X),size:"small","validate-event":!1,onInput:e=>C.value=e,onChange:re},null,8,["placeholder","model-value","onInput"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(r).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(l)("el.datepicker.selectTime"),"model-value":unref(Z),size:"small","validate-event":!1,onFocus:Q,onInput:e=>E.value=e,onChange:oe},null,8,["placeholder","model-value","onInput"]),createVNode$1(unref(TimePickPanel),{visible:J.value,format:unref(q),"parsed-value":y.value,onPick:ne},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),ee]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(r).e("header"),("year"===N.value||"month"===N.value)&&unref(r).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(r).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(l)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(o).e("icon-btn")]),onClick:e=>P(!1)},[renderSlot(e.$slots,"prev-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_left_default))])),_:1})]))],10,["aria-label","onClick"]),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(l)("el.datepicker.prevMonth"),class:normalizeClass([unref(o).e("icon-btn"),"arrow-left"]),onClick:e=>M(!1)},[renderSlot(e.$slots,"prev-month",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_left_default))])),_:1})]))],10,["aria-label","onClick"]),[[vShow,"date"===N.value]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(r).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:withKeys((e=>F("year")),["enter"]),onClick:e=>F("year")},toDisplayString(unref(O)),43,["onKeydown","onClick"]),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(r).e("header-label"),{active:"month"===N.value}]),onKeydown:withKeys((e=>F("month")),["enter"]),onClick:e=>F("month")},toDisplayString(unref(l)(`el.datepicker.month${unref(k)+1}`)),43,["onKeydown","onClick"]),[[vShow,"date"===N.value]]),createBaseVNode("span",{class:normalizeClass(unref(r).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(l)("el.datepicker.nextMonth"),class:normalizeClass([unref(o).e("icon-btn"),"arrow-right"]),onClick:e=>M(!0)},[renderSlot(e.$slots,"next-month",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_right_default))])),_:1})]))],10,["aria-label","onClick"]),[[vShow,"date"===N.value]]),createBaseVNode("button",{type:"button","aria-label":unref(l)("el.datepicker.nextYear"),class:normalizeClass([unref(o).e("icon-btn"),"d-arrow-right"]),onClick:e=>P(!0)},[renderSlot(e.$slots,"next-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_right_default))])),_:1})]))],10,["aria-label","onClick"])],2)],2),[[vShow,"time"!==N.value]]),createBaseVNode("div",{class:normalizeClass(unref(o).e("content")),onKeydown:le},["date"===N.value?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:v,"selection-mode":unref(R),date:y.value,"parsed-value":e.parsedValue,"disabled-date":unref(f),"cell-class-name":unref(h),onPick:I},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),"year"===N.value?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:v,"selection-mode":unref(R),date:y.value,"disabled-date":unref(f),"parsed-value":e.parsedValue,onPick:z},null,8,["selection-mode","date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),"month"===N.value?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:v,"selection-mode":unref(R),date:y.value,"parsed-value":e.parsedValue,"disabled-date":unref(f),onPick:V},null,8,["selection-mode","date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(o).e("footer"))},[withDirectives(createVNode$1(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(o).e("link-btn")),disabled:unref(W),onClick:Y},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(l)("el.datepicker.now")),1)])),_:1},8,["class","disabled"]),[[vShow,!unref(D)&&e.showNow]]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(o).e("link-btn")),disabled:unref(G),onClick:U},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(l)("el.datepicker.confirm")),1)])),_:1},8,["class","disabled"])],2),[[vShow,unref(j)]])],2))}});var DatePickPanel=_export_sfc(_sfc_main$1z,[["__file","panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps,visible:Boolean}),useShortcut=e=>{const{emit:t}=getCurrentInstance(),n=useAttrs$1(),o=useSlots();return r=>{const i=isFunction$5(r.value)?r.value():r.value;i?t("pick",[dayjs(i[0]).locale(e.value),dayjs(i[1]).locale(e.value)]):r.onClick&&r.onClick({attrs:n,slots:o,emit:t})}},useRangePicker=(e,{defaultValue:t,defaultTime:n,leftDate:o,rightDate:r,unit:i,onParsedValueChanged:a})=>{const{emit:l}=getCurrentInstance(),{pickerNs:s}=inject(ROOT_PICKER_INJECTION_KEY),c=useNamespace("date-range-picker"),{t:u,lang:d}=useLocale(),p=useShortcut(d),f=ref(),h=ref(),m=ref({endDate:null,selecting:!1}),g=e=>{if(isArray$6(e)&&2===e.length){const[t,n]=e;f.value=t,o.value=t,h.value=n,a(unref(f),unref(h))}else v()},v=()=>{let[a,l]=getDefaultValue(unref(t),{lang:unref(d),unit:i,unlinkPanels:e.unlinkPanels});const s=e=>e.diff(e.startOf("d"),"ms"),c=unref(n);if(c){let e=0,t=0;if(isArray$6(c)){const[n,o]=c.map(dayjs);e=s(n),t=s(o)}else{const n=s(dayjs(c));e=n,t=n}a=a.startOf("d").add(e,"ms"),l=l.startOf("d").add(t,"ms")}f.value=void 0,h.value=void 0,o.value=a,r.value=l};return watch(t,(e=>{e&&v()}),{immediate:!0}),watch((()=>e.parsedValue),g,{immediate:!0}),{minDate:f,maxDate:h,rangeState:m,lang:d,ppNs:s,drpNs:c,handleChangeRange:e=>{m.value=e},handleRangeConfirm:(e=!1)=>{const t=unref(f),n=unref(h);isValidRange([t,n])&&l("pick",[t,n],e)},handleShortcutClick:p,onSelect:e=>{m.value.selecting=e,e||(m.value.endDate=null)},onReset:g,t:u}},unit$2="month",_sfc_main$1y=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,o=inject("EP_PICKER_BASE"),r=inject("ElIsDefaultFormat"),{disabledDate:i,cellClassName:a,defaultTime:l,clearable:s}=o.props,c=toRef$1(o.props,"format"),u=toRef$1(o.props,"shortcuts"),d=toRef$1(o.props,"defaultValue"),{lang:p}=useLocale(),f=ref(dayjs().locale(p.value)),h=ref(dayjs().locale(p.value).add(1,unit$2)),{minDate:m,maxDate:g,rangeState:v,ppNs:y,drpNs:b,handleChangeRange:_,handleRangeConfirm:w,handleShortcutClick:k,onSelect:x,onReset:S,t:C}=useRangePicker(n,{defaultValue:d,defaultTime:l,leftDate:f,rightDate:h,unit:unit$2,onParsedValueChanged:function(e,t){if(n.unlinkPanels&&t){const n=(null==e?void 0:e.year())||0,o=(null==e?void 0:e.month())||0,r=t.year(),i=t.month();h.value=n===r&&o===i?t.add(1,unit$2):t}else h.value=f.value.add(1,unit$2),t&&(h.value=h.value.hour(t.hour()).minute(t.minute()).second(t.second()))}});watch((()=>n.visible),(e=>{!e&&v.value.selecting&&(S(n.parsedValue),x(!1))}));const E=ref({min:null,max:null}),T=ref({min:null,max:null}),A=computed((()=>`${f.value.year()} ${C("el.datepicker.year")} ${C(`el.datepicker.month${f.value.month()+1}`)}`)),$=computed((()=>`${h.value.year()} ${C("el.datepicker.year")} ${C(`el.datepicker.month${h.value.month()+1}`)}`)),I=computed((()=>f.value.year())),M=computed((()=>f.value.month())),P=computed((()=>h.value.year())),N=computed((()=>h.value.month())),O=computed((()=>!!u.value.length)),R=computed((()=>null!==E.value.min?E.value.min:m.value?m.value.format(z.value):"")),D=computed((()=>null!==E.value.max?E.value.max:g.value||m.value?(g.value||m.value).format(z.value):"")),L=computed((()=>null!==T.value.min?T.value.min:m.value?m.value.format(V.value):"")),B=computed((()=>null!==T.value.max?T.value.max:g.value||m.value?(g.value||m.value).format(V.value):"")),V=computed((()=>n.timeFormat||extractTimeFormat(c.value))),z=computed((()=>n.dateFormat||extractDateFormat(c.value))),F=()=>{f.value=f.value.subtract(1,"year"),n.unlinkPanels||(h.value=f.value.add(1,"month")),K("year")},H=()=>{f.value=f.value.subtract(1,"month"),n.unlinkPanels||(h.value=f.value.add(1,"month")),K("month")},j=()=>{n.unlinkPanels?h.value=h.value.add(1,"year"):(f.value=f.value.add(1,"year"),h.value=f.value.add(1,"month")),K("year")},G=()=>{n.unlinkPanels?h.value=h.value.add(1,"month"):(f.value=f.value.add(1,"month"),h.value=f.value.add(1,"month")),K("month")},U=()=>{f.value=f.value.add(1,"year"),K("year")},W=()=>{f.value=f.value.add(1,"month"),K("month")},Y=()=>{h.value=h.value.subtract(1,"year"),K("year")},q=()=>{h.value=h.value.subtract(1,"month"),K("month")},K=e=>{t("panel-change",[f.value.toDate(),h.value.toDate()],e)},Z=computed((()=>{const e=(M.value+1)%12,t=M.value+1>=12?1:0;return n.unlinkPanels&&new Date(I.value+t,e)<new Date(P.value,N.value)})),X=computed((()=>n.unlinkPanels&&12*P.value+N.value-(12*I.value+M.value+1)>=12)),J=computed((()=>!(m.value&&g.value&&!v.value.selecting&&isValidRange([m.value,g.value])))),Q=computed((()=>"datetime"===n.type||"datetimerange"===n.type)),ee=(e,t)=>{if(e){if(l){return dayjs(l[t]||l).locale(p.value).year(e.year()).month(e.month()).date(e.date())}return e}},te=(e,n=!0)=>{const o=e.minDate,r=e.maxDate,i=ee(o,0),a=ee(r,1);g.value===a&&m.value===i||(t("calendar-change",[o.toDate(),r&&r.toDate()]),g.value=a,m.value=i,n&&!Q.value&&w())},ne=ref(!1),oe=ref(!1),re=()=>{ne.value=!1},ie=()=>{oe.value=!1},ae=(e,t)=>{E.value[t]=e;const o=dayjs(e,z.value).locale(p.value);if(o.isValid()){if(i&&i(o.toDate()))return;"min"===t?(f.value=o,m.value=(m.value||f.value).year(o.year()).month(o.month()).date(o.date()),n.unlinkPanels||g.value&&!g.value.isBefore(m.value)||(h.value=o.add(1,"month"),g.value=m.value.add(1,"month"))):(h.value=o,g.value=(g.value||h.value).year(o.year()).month(o.month()).date(o.date()),n.unlinkPanels||m.value&&!m.value.isAfter(g.value)||(f.value=o.subtract(1,"month"),m.value=g.value.subtract(1,"month")))}},le=(e,t)=>{E.value[t]=null},se=(e,t)=>{T.value[t]=e;const n=dayjs(e,V.value).locale(p.value);n.isValid()&&("min"===t?(ne.value=!0,m.value=(m.value||f.value).hour(n.hour()).minute(n.minute()).second(n.second())):(oe.value=!0,g.value=(g.value||h.value).hour(n.hour()).minute(n.minute()).second(n.second()),h.value=g.value))},ce=(e,t)=>{T.value[t]=null,"min"===t?(f.value=m.value,ne.value=!1,g.value&&!g.value.isBefore(m.value)||(g.value=m.value)):(h.value=g.value,oe.value=!1,g.value&&g.value.isBefore(m.value)&&(m.value=g.value))},ue=(e,t,n)=>{T.value.min||(e&&(f.value=e,m.value=(m.value||f.value).hour(e.hour()).minute(e.minute()).second(e.second())),n||(ne.value=t),g.value&&!g.value.isBefore(m.value)||(g.value=m.value,h.value=e))},de=(e,t,n)=>{T.value.max||(e&&(h.value=e,g.value=(g.value||h.value).hour(e.hour()).minute(e.minute()).second(e.second())),n||(oe.value=t),g.value&&g.value.isBefore(m.value)&&(m.value=g.value))},pe=()=>{f.value=getDefaultValue(unref(d),{lang:unref(p),unit:"month",unlinkPanels:n.unlinkPanels})[0],h.value=f.value.add(1,"month"),g.value=void 0,m.value=void 0,t("pick",null)};return t("set-picker-option",["isValidValue",e=>isValidRange(e)&&(!i||!i(e[0].toDate())&&!i(e[1].toDate()))]),t("set-picker-option",["parseUserInput",e=>correctlyParseUserInput(e,c.value,p.value,r)]),t("set-picker-option",["formatToString",e=>isArray$6(e)?e.map((e=>e.format(c.value))):e.format(c.value)]),t("set-picker-option",["handleClear",pe]),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(y).b(),unref(b).b(),{"has-sidebar":e.$slots.sidebar||unref(O),"has-time":unref(Q)}])},[createBaseVNode("div",{class:normalizeClass(unref(y).e("body-wrapper"))},[renderSlot(e.$slots,"sidebar",{class:normalizeClass(unref(y).e("sidebar"))}),unref(O)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(u),((e,t)=>(openBlock(),createElementBlock("button",{key:t,type:"button",class:normalizeClass(unref(y).e("shortcut")),onClick:t=>unref(k)(e)},toDisplayString(e.text),11,["onClick"])))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(y).e("body"))},[unref(Q)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(b).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(b).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(b).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",disabled:unref(v).selecting,placeholder:unref(C)("el.datepicker.startDate"),class:normalizeClass(unref(b).e("editor")),"model-value":unref(R),"validate-event":!1,onInput:e=>ae(e,"min"),onChange:e=>le(0,"min")},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(b).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(b).e("editor")),disabled:unref(v).selecting,placeholder:unref(C)("el.datepicker.startTime"),"model-value":unref(L),"validate-event":!1,onFocus:e=>ne.value=!0,onInput:e=>se(e,"min"),onChange:e=>ce(0,"min")},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),createVNode$1(unref(TimePickPanel),{visible:ne.value,format:unref(V),"datetime-role":"start","parsed-value":f.value,onPick:ue},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),re]])],2),createBaseVNode("span",null,[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_right_default))])),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(b).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(b).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(b).e("editor")),disabled:unref(v).selecting,placeholder:unref(C)("el.datepicker.endDate"),"model-value":unref(D),readonly:!unref(m),"validate-event":!1,onInput:e=>ae(e,"max"),onChange:e=>le(0,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(b).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(b).e("editor")),disabled:unref(v).selecting,placeholder:unref(C)("el.datepicker.endTime"),"model-value":unref(B),readonly:!unref(m),"validate-event":!1,onFocus:e=>unref(m)&&(oe.value=!0),onInput:e=>se(e,"max"),onChange:e=>ce(0,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),createVNode$1(unref(TimePickPanel),{"datetime-role":"end",visible:oe.value,format:unref(V),"parsed-value":h.value,onPick:de},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),ie]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(y).e("content"),unref(b).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(b).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(y).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(C)("el.datepicker.prevYear"),onClick:F},[renderSlot(e.$slots,"prev-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_left_default))])),_:1})]))],10,["aria-label"]),createBaseVNode("button",{type:"button",class:normalizeClass([unref(y).e("icon-btn"),"arrow-left"]),"aria-label":unref(C)("el.datepicker.prevMonth"),onClick:H},[renderSlot(e.$slots,"prev-month",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_left_default))])),_:1})]))],10,["aria-label"]),e.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(X),class:normalizeClass([[unref(y).e("icon-btn"),{"is-disabled":!unref(X)}],"d-arrow-right"]),"aria-label":unref(C)("el.datepicker.nextYear"),onClick:U},[renderSlot(e.$slots,"next-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_right_default))])),_:1})]))],10,["disabled","aria-label"])):createCommentVNode("v-if",!0),e.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Z),class:normalizeClass([[unref(y).e("icon-btn"),{"is-disabled":!unref(Z)}],"arrow-right"]),"aria-label":unref(C)("el.datepicker.nextMonth"),onClick:W},[renderSlot(e.$slots,"next-month",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_right_default))])),_:1})]))],10,["disabled","aria-label"])):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(A)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:f.value,"min-date":unref(m),"max-date":unref(g),"range-state":unref(v),"disabled-date":unref(i),"cell-class-name":unref(a),onChangerange:unref(_),onPick:te,onSelect:unref(x)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(y).e("content"),unref(b).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(b).e("header"))},[e.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(X),class:normalizeClass([[unref(y).e("icon-btn"),{"is-disabled":!unref(X)}],"d-arrow-left"]),"aria-label":unref(C)("el.datepicker.prevYear"),onClick:Y},[renderSlot(e.$slots,"prev-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_left_default))])),_:1})]))],10,["disabled","aria-label"])):createCommentVNode("v-if",!0),e.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Z),class:normalizeClass([[unref(y).e("icon-btn"),{"is-disabled":!unref(Z)}],"arrow-left"]),"aria-label":unref(C)("el.datepicker.prevMonth"),onClick:q},[renderSlot(e.$slots,"prev-month",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_left_default))])),_:1})]))],10,["disabled","aria-label"])):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button","aria-label":unref(C)("el.datepicker.nextYear"),class:normalizeClass([unref(y).e("icon-btn"),"d-arrow-right"]),onClick:j},[renderSlot(e.$slots,"next-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_right_default))])),_:1})]))],10,["aria-label"]),createBaseVNode("button",{type:"button",class:normalizeClass([unref(y).e("icon-btn"),"arrow-right"]),"aria-label":unref(C)("el.datepicker.nextMonth"),onClick:G},[renderSlot(e.$slots,"next-month",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_right_default))])),_:1})]))],10,["aria-label"]),createBaseVNode("div",null,toDisplayString(unref($)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:h.value,"min-date":unref(m),"max-date":unref(g),"range-state":unref(v),"disabled-date":unref(i),"cell-class-name":unref(a),onChangerange:unref(_),onPick:te,onSelect:unref(x)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(Q)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).e("footer"))},[unref(s)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(y).e("link-btn")),onClick:pe},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(C)("el.datepicker.clear")),1)])),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(y).e("link-btn")),disabled:unref(J),onClick:e=>unref(w)(!1)},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(C)("el.datepicker.confirm")),1)])),_:1},8,["class","disabled","onClick"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc(_sfc_main$1y,[["__file","panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option","calendar-change"],useMonthRangeHeader=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:o}=useLocale();return{leftPrevYear:()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},rightNextYear:()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},leftNextYear:()=>{t.value=t.value.add(1,"year")},rightPrevYear:()=>{n.value=n.value.subtract(1,"year")},leftLabel:computed((()=>`${t.value.year()} ${o("el.datepicker.year")}`)),rightLabel:computed((()=>`${n.value.year()} ${o("el.datepicker.year")}`)),leftYear:computed((()=>t.value.year())),rightYear:computed((()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year()))}},unit$1="year",__default__$19=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1x=defineComponent({...__default__$19,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(e,{emit:t}){const n=e,{lang:o}=useLocale(),r=inject("EP_PICKER_BASE"),i=inject("ElIsDefaultFormat"),{shortcuts:a,disabledDate:l}=r.props,s=toRef$1(r.props,"format"),c=toRef$1(r.props,"defaultValue"),u=ref(dayjs().locale(o.value)),d=ref(dayjs().locale(o.value).add(1,unit$1)),{minDate:p,maxDate:f,rangeState:h,ppNs:m,drpNs:g,handleChangeRange:v,handleRangeConfirm:y,handleShortcutClick:b,onSelect:_}=useRangePicker(n,{defaultValue:c,leftDate:u,rightDate:d,unit:unit$1,onParsedValueChanged:function(e,t){if(n.unlinkPanels&&t){const n=(null==e?void 0:e.year())||0,o=t.year();d.value=n===o?t.add(1,unit$1):t}else d.value=u.value.add(1,unit$1)}}),w=computed((()=>!!a.length)),{leftPrevYear:k,rightNextYear:x,leftNextYear:S,rightPrevYear:C,leftLabel:E,rightLabel:T,leftYear:A,rightYear:$}=useMonthRangeHeader({unlinkPanels:toRef$1(n,"unlinkPanels"),leftDate:u,rightDate:d}),I=computed((()=>n.unlinkPanels&&$.value>A.value+1)),M=(e,n=!0)=>{const o=e.minDate,r=e.maxDate;f.value===r&&p.value===o||(t("calendar-change",[o.toDate(),r&&r.toDate()]),f.value=r,p.value=o,n&&y())};return t("set-picker-option",["isValidValue",isValidRange]),t("set-picker-option",["formatToString",e=>isArray$6(e)?e.map((e=>e.format(s.value))):e.format(s.value)]),t("set-picker-option",["parseUserInput",e=>correctlyParseUserInput(e,s.value,o.value,i)]),t("set-picker-option",["handleClear",()=>{u.value=getDefaultValue(unref(c),{lang:unref(o),unit:"year",unlinkPanels:n.unlinkPanels})[0],d.value=u.value.add(1,"year"),t("pick",null)}]),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(m).b(),unref(g).b(),{"has-sidebar":Boolean(e.$slots.sidebar)||unref(w)}])},[createBaseVNode("div",{class:normalizeClass(unref(m).e("body-wrapper"))},[renderSlot(e.$slots,"sidebar",{class:normalizeClass(unref(m).e("sidebar"))}),unref(w)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(m).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(a),((e,t)=>(openBlock(),createElementBlock("button",{key:t,type:"button",class:normalizeClass(unref(m).e("shortcut")),onClick:t=>unref(b)(e)},toDisplayString(e.text),11,["onClick"])))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(m).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(m).e("content"),unref(g).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(g).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(m).e("icon-btn"),"d-arrow-left"]),onClick:unref(k)},[renderSlot(e.$slots,"prev-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_left_default))])),_:1})]))],10,["onClick"]),e.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(I),class:normalizeClass([[unref(m).e("icon-btn"),{[unref(m).is("disabled")]:!unref(I)}],"d-arrow-right"]),onClick:unref(S)},[renderSlot(e.$slots,"next-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_right_default))])),_:1})]))],10,["disabled","onClick"])):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(E)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:u.value,"min-date":unref(p),"max-date":unref(f),"range-state":unref(h),"disabled-date":unref(l),onChangerange:unref(v),onPick:M,onSelect:unref(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(m).e("content"),unref(g).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(g).e("header"))},[e.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(I),class:normalizeClass([[unref(m).e("icon-btn"),{"is-disabled":!unref(I)}],"d-arrow-left"]),onClick:unref(C)},[renderSlot(e.$slots,"prev-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_left_default))])),_:1})]))],10,["disabled","onClick"])):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(m).e("icon-btn"),"d-arrow-right"]),onClick:unref(x)},[renderSlot(e.$slots,"next-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_right_default))])),_:1})]))],10,["onClick"]),createBaseVNode("div",null,toDisplayString(unref(T)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:d.value,"min-date":unref(p),"max-date":unref(f),"range-state":unref(h),"disabled-date":unref(l),onChangerange:unref(v),onPick:M,onSelect:unref(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc(_sfc_main$1x,[["__file","panel-month-range.vue"]]);const panelYearRangeProps=buildProps({...panelRangeSharedProps}),panelYearRangeEmits=["pick","set-picker-option","calendar-change"],useYearRangeHeader=({unlinkPanels:e,leftDate:t,rightDate:n})=>({leftPrevYear:()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},rightNextYear:()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},leftNextYear:()=>{t.value=t.value.add(10,"year")},rightPrevYear:()=>{n.value=n.value.subtract(10,"year")},leftLabel:computed((()=>{const e=10*Math.floor(t.value.year()/10);return`${e}-${e+9}`})),rightLabel:computed((()=>{const e=10*Math.floor(n.value.year()/10);return`${e}-${e+9}`})),leftYear:computed((()=>10*Math.floor(t.value.year()/10)+9)),rightYear:computed((()=>10*Math.floor(n.value.year()/10)))}),unit="year",__default__$18=defineComponent({name:"DatePickerYearRange"}),_sfc_main$1w=defineComponent({...__default__$18,props:panelYearRangeProps,emits:panelYearRangeEmits,setup(e,{emit:t}){const n=e,{lang:o}=useLocale(),r=ref(dayjs().locale(o.value)),i=ref(r.value.add(10,"year")),{pickerNs:a}=inject(ROOT_PICKER_INJECTION_KEY),l=useNamespace("date-range-picker"),s=inject("ElIsDefaultFormat"),c=computed((()=>!!M.length)),u=computed((()=>[a.b(),l.b(),{"has-sidebar":Boolean(useSlots().sidebar)||c.value}])),d=computed((()=>({content:[a.e("content"),l.e("content"),"is-left"],arrowLeftBtn:[a.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[a.e("icon-btn"),{[a.is("disabled")]:!k.value},"d-arrow-right"]}))),p=computed((()=>({content:[a.e("content"),l.e("content"),"is-right"],arrowLeftBtn:[a.e("icon-btn"),{"is-disabled":!k.value},"d-arrow-left"],arrowRightBtn:[a.e("icon-btn"),"d-arrow-right"]}))),f=useShortcut(o),{leftPrevYear:h,rightNextYear:m,leftNextYear:g,rightPrevYear:v,leftLabel:y,rightLabel:b,leftYear:_,rightYear:w}=useYearRangeHeader({unlinkPanels:toRef$1(n,"unlinkPanels"),leftDate:r,rightDate:i}),k=computed((()=>n.unlinkPanels&&w.value>_.value+1)),x=ref(),S=ref(),C=ref({endDate:null,selecting:!1}),E=e=>{C.value=e},T=(e,n=!0)=>{const o=e.minDate,r=e.maxDate;S.value===r&&x.value===o||(t("calendar-change",[o.toDate(),r&&r.toDate()]),S.value=r,x.value=o,n&&A())},A=(e=!1)=>{isValidRange([x.value,S.value])&&t("pick",[x.value,S.value],e)},$=e=>{C.value.selecting=e,e||(C.value.endDate=null)},I=inject("EP_PICKER_BASE"),{shortcuts:M,disabledDate:P}=I.props,N=toRef$1(I.props,"format"),O=toRef$1(I.props,"defaultValue"),R=()=>{let e;if(isArray$6(O.value)){const e=dayjs(O.value[0]);let t=dayjs(O.value[1]);return n.unlinkPanels||(t=e.add(10,unit)),[e,t]}return e=O.value?dayjs(O.value):dayjs(),e=e.locale(o.value),[e,e.add(10,unit)]};watch((()=>O.value),(e=>{if(e){const e=R();r.value=e[0],i.value=e[1]}}),{immediate:!0}),watch((()=>n.parsedValue),(e=>{if(e&&2===e.length)if(x.value=e[0],S.value=e[1],r.value=x.value,n.unlinkPanels&&S.value){const e=x.value.year(),t=S.value.year();i.value=e===t?S.value.add(10,"year"):S.value}else i.value=r.value.add(10,"year");else{const e=R();x.value=void 0,S.value=void 0,r.value=e[0],i.value=e[1]}}),{immediate:!0});return t("set-picker-option",["isValidValue",e=>isValidRange(e)&&(!P||!P(e[0].toDate())&&!P(e[1].toDate()))]),t("set-picker-option",["parseUserInput",e=>correctlyParseUserInput(e,N.value,o.value,s)]),t("set-picker-option",["formatToString",e=>isArray$6(e)?e.map((e=>e.format(N.value))):e.format(N.value)]),t("set-picker-option",["handleClear",()=>{const e=R();r.value=e[0],i.value=e[1],S.value=void 0,x.value=void 0,t("pick",null)}]),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(u))},[createBaseVNode("div",{class:normalizeClass(unref(a).e("body-wrapper"))},[renderSlot(e.$slots,"sidebar",{class:normalizeClass(unref(a).e("sidebar"))}),unref(c)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(a).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(M),((e,t)=>(openBlock(),createElementBlock("button",{key:t,type:"button",class:normalizeClass(unref(a).e("shortcut")),onClick:t=>unref(f)(e)},toDisplayString(e.text),11,["onClick"])))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(a).e("body"))},[createBaseVNode("div",{class:normalizeClass(unref(d).content)},[createBaseVNode("div",{class:normalizeClass(unref(l).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass(unref(d).arrowLeftBtn),onClick:unref(h)},[renderSlot(e.$slots,"prev-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_left_default))])),_:1})]))],10,["onClick"]),e.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(k),class:normalizeClass(unref(d).arrowRightBtn),onClick:unref(g)},[renderSlot(e.$slots,"next-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_right_default))])),_:1})]))],10,["disabled","onClick"])):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(y)),1)],2),createVNode$1(YearTable,{"selection-mode":"range",date:r.value,"min-date":x.value,"max-date":S.value,"range-state":C.value,"disabled-date":unref(P),onChangerange:E,onPick:T,onSelect:$},null,8,["date","min-date","max-date","range-state","disabled-date"])],2),createBaseVNode("div",{class:normalizeClass(unref(p).content)},[createBaseVNode("div",{class:normalizeClass(unref(l).e("header"))},[e.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(k),class:normalizeClass(unref(p).arrowLeftBtn),onClick:unref(v)},[renderSlot(e.$slots,"prev-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_left_default))])),_:1})]))],10,["disabled","onClick"])):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass(unref(p).arrowRightBtn),onClick:unref(m)},[renderSlot(e.$slots,"next-year",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(d_arrow_right_default))])),_:1})]))],10,["onClick"]),createBaseVNode("div",null,toDisplayString(unref(b)),1)],2),createVNode$1(YearTable,{"selection-mode":"range",date:i.value,"min-date":x.value,"max-date":S.value,"range-state":C.value,"disabled-date":unref(P),onChangerange:E,onPick:T,onSelect:$},null,8,["date","min-date","max-date","range-state","disabled-date"])],2)],2)],2)],2))}});var YearRangePickPanel=_export_sfc(_sfc_main$1w,[["__file","panel-year-range.vue"]]);const getPanel=function(e){switch(e){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;case"yearrange":return YearRangePickPanel;default:return DatePickPanel}};dayjs.extend(localeData),dayjs.extend(advancedFormat),dayjs.extend(customParseFormat),dayjs.extend(weekOfYear),dayjs.extend(weekYear),dayjs.extend(dayOfYear),dayjs.extend(isSameOrAfter),dayjs.extend(isSameOrBefore);var DatePicker=defineComponent({name:"ElDatePicker",install:null,props:datePickerProps,emits:[UPDATE_MODEL_EVENT],setup(e,{expose:t,emit:n,slots:o}){const r=useNamespace("picker-panel");provide("ElIsDefaultFormat",computed((()=>!e.format))),provide("ElPopperOptions",reactive(toRef$1(e,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:o,pickerNs:r});const i=ref();t({focus:()=>{var e;null==(e=i.value)||e.focus()},blur:()=>{var e;null==(e=i.value)||e.blur()},handleOpen:()=>{var e;null==(e=i.value)||e.handleOpen()},handleClose:()=>{var e;null==(e=i.value)||e.handleClose()}});const a=e=>{n(UPDATE_MODEL_EVENT,e)};return()=>{var t;const n=null!=(t=e.format)?t:DEFAULT_FORMATS_DATEPICKER[e.type]||DEFAULT_FORMATS_DATE,r=getPanel(e.type);return createVNode$1(CommonPicker,mergeProps(e,{format:n,type:e.type,ref:i,"onUpdate:modelValue":a}),{default:e=>createVNode$1(r,e,{"prev-month":o["prev-month"],"next-month":o["next-month"],"prev-year":o["prev-year"],"next-year":o["next-year"]}),"range-separator":o["range-separator"]})}}});const ElDatePicker=withInstall(DatePicker),descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup:()=>({descriptions:inject(descriptionsKey,{})}),render(){var e;const t=getNormalizedProps(this.cell),n=((null==(e=this.cell)?void 0:e.dirs)||[]).map((e=>{const{dir:t,arg:n,modifiers:o,value:r}=e;return[t,r,n,o]})),{border:o,direction:r}=this.descriptions,i="vertical"===r,a=()=>{var e,n,o;return(null==(o=null==(n=null==(e=this.cell)?void 0:e.children)?void 0:n.label)?void 0:o.call(n))||t.label},l=()=>{var e,t,n;return null==(n=null==(t=null==(e=this.cell)?void 0:e.children)?void 0:t.default)?void 0:n.call(t)},s=t.span,c=t.rowspan,u=t.align?`is-${t.align}`:"",d=t.labelAlign?`is-${t.labelAlign}`:u,p=t.className,f=t.labelClassName,h={width:addUnit("label"===this.type&&(t.labelWidth||this.descriptions.labelWidth)||t.width),minWidth:addUnit(t.minWidth)},m=useNamespace("descriptions");switch(this.type){case"label":return withDirectives(h$5(this.tag,{style:h,class:[m.e("cell"),m.e("label"),m.is("bordered-label",o),m.is("vertical-label",i),d,f],colSpan:i?s:1,rowspan:i?1:c},a()),n);case"content":return withDirectives(h$5(this.tag,{style:h,class:[m.e("cell"),m.e("content"),m.is("bordered-content",o),m.is("vertical-content",i),u,p],colSpan:i?s:2*s-1,rowspan:i?2*c-1:c},l()),n);default:{const e=a(),o={},r=addUnit(t.labelWidth||this.descriptions.labelWidth);return r&&(o.width=r,o.display="inline-block"),withDirectives(h$5("td",{style:h,class:[m.e("cell"),u],colSpan:s,rowspan:c},[isNil(e)?void 0:h$5("span",{style:o,class:[m.e("label"),f]},e),h$5("span",{class:[m.e("content"),p]},l())]),n)}}}});const descriptionsRowProps=buildProps({row:{type:definePropType(Array),default:()=>[]}}),__default__$17=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1v=defineComponent({...__default__$17,props:descriptionsRowProps,setup(e){const t=inject(descriptionsKey,{});return(e,n)=>"vertical"===unref(t).direction?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.row,((e,t)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${t}`,cell:e,tag:"th",type:"label"},null,8,["cell"])))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.row,((e,t)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${t}`,cell:e,tag:"td",type:"content"},null,8,["cell"])))),128))])],64)):(openBlock(),createElementBlock("tr",{key:1},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.row,((e,n)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${n}`},[unref(t).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(unref(ElDescriptionsCell),{cell:e,tag:"td",type:"label"},null,8,["cell"]),createVNode$1(unref(ElDescriptionsCell),{cell:e,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:e,tag:"td",type:"both"},null,8,["cell"]))],64)))),128))]))}});var ElDescriptionsRow=_export_sfc(_sfc_main$1v,[["__file","descriptions-row.vue"]]);const descriptionProps=buildProps({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number],default:""}}),COMPONENT_NAME$f="ElDescriptionsItem",__default__$16=defineComponent({name:"ElDescriptions"}),_sfc_main$1u=defineComponent({...__default__$16,props:descriptionProps,setup(e){const t=e,n=useNamespace("descriptions"),o=useFormSize(),r=useSlots();provide(descriptionsKey,t);const i=computed((()=>[n.b(),n.m(o.value)])),a=(e,t,n,o=!1)=>(e.props||(e.props={}),t>n&&(e.props.span=n),o&&(e.props.span=t),e),l=()=>{if(!r.default)return[];const e=flattedChildren(r.default()).filter((e=>{var t;return(null==(t=null==e?void 0:e.type)?void 0:t.name)===COMPONENT_NAME$f})),n=[];let o=[],i=t.column,l=0;const s=[];return e.forEach(((r,c)=>{var u,d,p;const f=(null==(u=r.props)?void 0:u.span)||1,h=(null==(d=r.props)?void 0:d.rowspan)||1,m=n.length;if(s[m]||(s[m]=0),h>1)for(let e=1;e<h;e++)s[p=m+e]||(s[p]=0),s[m+e]++,l++;if(s[m]>0&&(i-=s[m],s[m]=0),c<e.length-1&&(l+=f>i?i:f),c===e.length-1){const e=t.column-l%t.column;return o.push(a(r,e,i,!0)),void n.push(o)}f<i?(i-=f,o.push(r)):(o.push(a(r,f,i)),n.push(o),i=t.column,o=[])})),n};return(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(i))},[e.title||e.extra||e.$slots.title||e.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(n).e("title"))},[renderSlot(e.$slots,"title",{},(()=>[createTextVNode(toDisplayString(e.title),1)]))],2),createBaseVNode("div",{class:normalizeClass(unref(n).e("extra"))},[renderSlot(e.$slots,"extra",{},(()=>[createTextVNode(toDisplayString(e.extra),1)]))],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(n).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(n).e("table"),unref(n).is("bordered",e.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(l(),((e,t)=>(openBlock(),createBlock(ElDescriptionsRow,{key:t,row:e},null,8,["row"])))),128))])],2)],2)],2))}});var Descriptions=_export_sfc(_sfc_main$1u,[["__file","description.vue"]]);const descriptionItemProps=buildProps({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),DescriptionItem=defineComponent({name:COMPONENT_NAME$f,props:descriptionItemProps}),ElDescriptions=withInstall(Descriptions,{DescriptionsItem:DescriptionItem}),ElDescriptionsItem=withNoopInstall(DescriptionItem),useSameTarget=e=>{if(!e)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let t=!1,n=!1;return{onClick:o=>{t&&n&&e(o),t=n=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{n=e.target===e.currentTarget}}},overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:e=>e instanceof MouseEvent},BLOCK="overlay";var Overlay$2=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(e,{slots:t,emit:n}){const o=useNamespace(BLOCK),{onClick:r,onMousedown:i,onMouseup:a}=useSameTarget(e.customMaskEvent?void 0:e=>{n("click",e)});return()=>e.mask?createVNode$1("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:r,onMousedown:i,onMouseup:a},[renderSlot(t,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$5("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(t,"default")])}});const ElOverlay=Overlay$2,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:Boolean,alignCenter:Boolean,closeIcon:{type:iconPropType},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),dialogContentEmits={close:()=>!0},useDraggable=(e,t,n,o)=>{const r={offsetX:0,offsetY:0},i=(t,n)=>{if(e.value){const{offsetX:i,offsetY:a}=r,l=e.value.getBoundingClientRect(),s=l.left,c=l.top,u=l.width,d=l.height,p=-s+i,f=-c+a,h=document.documentElement.clientWidth-s-u+i,m=document.documentElement.clientHeight-c-d+a;(null==o?void 0:o.value)||(t=Math.min(Math.max(t,p),h),n=Math.min(Math.max(n,f),m)),r.offsetX=t,r.offsetY=n,e.value.style.transform=`translate(${addUnit(t)}, ${addUnit(n)})`}},a=e=>{const t=e.clientX,n=e.clientY,{offsetX:o,offsetY:a}=r,l=e=>{const r=o+e.clientX-t,l=a+e.clientY-n;i(r,l)},s=()=>{document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",s)};document.addEventListener("mousemove",l),document.addEventListener("mouseup",s)},l=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",a),window.removeEventListener("resize",s))},s=()=>{const{offsetX:e,offsetY:t}=r;i(e,t)};return onMounted((()=>{watchEffect((()=>{n.value?t.value&&e.value&&(t.value.addEventListener("mousedown",a),window.addEventListener("resize",s)):l()}))})),onBeforeUnmount((()=>{l()})),{resetPosition:()=>{r.offsetX=0,r.offsetY=0,e.value&&(e.value.style.transform="")},updatePosition:s}},composeRefs=(...e)=>t=>{e.forEach((e=>{isFunction$5(e)?e(t):e.value=t}))},__default__$15=defineComponent({name:"ElDialogContent"}),_sfc_main$1t=defineComponent({...__default__$15,props:dialogContentProps,emits:dialogContentEmits,setup(e,{expose:t}){const n=e,{t:o}=useLocale(),{Close:r}=CloseComponents,{dialogRef:i,headerRef:a,bodyId:l,ns:s,style:c}=inject(dialogInjectionKey),{focusTrapRef:u}=inject(FOCUS_TRAP_INJECTION_KEY),d=computed((()=>[s.b(),s.is("fullscreen",n.fullscreen),s.is("draggable",n.draggable),s.is("align-center",n.alignCenter),{[s.m("center")]:n.center}])),p=composeRefs(u,i),f=computed((()=>n.draggable)),h=computed((()=>n.overflow)),{resetPosition:m,updatePosition:g}=useDraggable(i,a,f,h);return t({resetPosition:m,updatePosition:g}),(e,t)=>(openBlock(),createElementBlock("div",{ref:unref(p),class:normalizeClass(unref(d)),style:normalizeStyle$1(unref(c)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:a,class:normalizeClass([unref(s).e("header"),e.headerClass,{"show-close":e.showClose}])},[renderSlot(e.$slots,"header",{},(()=>[createBaseVNode("span",{role:"heading","aria-level":e.ariaLevel,class:normalizeClass(unref(s).e("title"))},toDisplayString(e.title),11,["aria-level"])])),e.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(o)("el.dialog.close"),class:normalizeClass(unref(s).e("headerbtn")),type:"button",onClick:t=>e.$emit("close")},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(s).e("close"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.closeIcon||unref(r))))])),_:1},8,["class"])],10,["aria-label","onClick"])):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(l),class:normalizeClass([unref(s).e("body"),e.bodyClass])},[renderSlot(e.$slots,"default")],10,["id"]),e.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass([unref(s).e("footer"),e.footerClass])},[renderSlot(e.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc(_sfc_main$1t,[["__file","dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:Boolean,appendTo:{type:teleportProps.to.type,default:"body"},beforeClose:{type:definePropType(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:e=>isBoolean(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useLockscreen=(e,t={})=>{isRef(e)||throwError("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||useNamespace("popup"),o=computed((()=>n.bm("parent","hidden")));if(!isClient||hasClass(document.body,o.value))return;let r=0,i=!1,a="0";const l=()=>{setTimeout((()=>{"undefined"!=typeof document&&i&&document&&(document.body.style.width=a,removeClass(document.body,o.value))}),200)};watch(e,(e=>{if(!e)return void l();i=!hasClass(document.body,o.value),i&&(a=document.body.style.width,addClass(document.body,o.value)),r=getScrollBarWidth(n.namespace.value);const t=document.documentElement.clientHeight<document.body.scrollHeight,s=getStyle(document.body,"overflowY");r>0&&(t||"scroll"===s)&&i&&(document.body.style.width=`calc(100% - ${r}px)`)})),onScopeDispose((()=>l()))},useDialog=(e,t)=>{var n;const o=getCurrentInstance().emit,{nextZIndex:r}=useZIndex();let i="";const a=useId(),l=useId(),s=ref(!1),c=ref(!1),u=ref(!1),d=ref(null!=(n=e.zIndex)?n:r());let p,f;const h=useGlobalConfig("namespace",defaultNamespace),m=computed((()=>{const t={},n=`--${h.value}-dialog`;return e.fullscreen||(e.top&&(t[`${n}-margin-top`]=e.top),e.width&&(t[`${n}-width`]=addUnit(e.width))),t})),g=computed((()=>e.alignCenter?{display:"flex"}:{}));function v(){null==f||f(),null==p||p(),e.openDelay&&e.openDelay>0?({stop:p}=useTimeoutFn((()=>_()),e.openDelay)):_()}function y(){null==p||p(),null==f||f(),e.closeDelay&&e.closeDelay>0?({stop:f}=useTimeoutFn((()=>w()),e.closeDelay)):w()}function b(){e.beforeClose?e.beforeClose((function(e){e||(c.value=!0,s.value=!1)})):y()}function _(){isClient&&(s.value=!0)}function w(){s.value=!1}return e.lockScroll&&useLockscreen(s),watch((()=>e.modelValue),(n=>{n?(c.value=!1,v(),u.value=!0,d.value=isUndefined$2(e.zIndex)?r():d.value++,nextTick((()=>{o("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)}))):s.value&&y()})),watch((()=>e.fullscreen),(e=>{t.value&&(e?(i=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=i)})),onMounted((()=>{e.modelValue&&(s.value=!0,u.value=!0,v())})),{afterEnter:function(){o("opened")},afterLeave:function(){o("closed"),o(UPDATE_MODEL_EVENT,!1),e.destroyOnClose&&(u.value=!1)},beforeLeave:function(){o("close")},handleClose:b,onModalClick:function(){e.closeOnClickModal&&b()},close:y,doClose:w,onOpenAutoFocus:function(){o("openAutoFocus")},onCloseAutoFocus:function(){o("closeAutoFocus")},onCloseRequested:function(){e.closeOnPressEscape&&b()},onFocusoutPrevented:function(e){var t;"pointer"===(null==(t=e.detail)?void 0:t.focusReason)&&e.preventDefault()},titleId:a,bodyId:l,closed:c,style:m,overlayDialogStyle:g,rendered:u,visible:s,zIndex:d}},__default__$14=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1s=defineComponent({...__default__$14,props:dialogProps,emits:dialogEmits,setup(e,{expose:t}){const n=e,o=useSlots();useDeprecated({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},computed((()=>!!o.title)));const r=useNamespace("dialog"),i=ref(),a=ref(),l=ref(),{visible:s,titleId:c,bodyId:u,style:d,overlayDialogStyle:p,rendered:f,zIndex:h,afterEnter:m,afterLeave:g,beforeLeave:v,handleClose:y,onModalClick:b,onOpenAutoFocus:_,onCloseAutoFocus:w,onCloseRequested:k,onFocusoutPrevented:x}=useDialog(n,i);provide(dialogInjectionKey,{dialogRef:i,headerRef:a,bodyId:u,ns:r,rendered:f,style:d});const S=useSameTarget(b),C=computed((()=>n.draggable&&!n.fullscreen));return t({visible:s,dialogContentRef:l,resetPosition:()=>{var e;null==(e=l.value)||e.resetPosition()},handleClose:y}),(e,t)=>(openBlock(),createBlock(unref(ElTeleport),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:withCtx((()=>[createVNode$1(Transition,{name:"dialog-fade",onAfterEnter:unref(m),onAfterLeave:unref(g),onBeforeLeave:unref(v),persisted:""},{default:withCtx((()=>[withDirectives(createVNode$1(unref(ElOverlay),{"custom-mask-event":"",mask:e.modal,"overlay-class":e.modalClass,"z-index":unref(h)},{default:withCtx((()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:unref(c),"aria-describedby":unref(u),class:normalizeClass(`${unref(r).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(p)),onClick:unref(S).onClick,onMousedown:unref(S).onMousedown,onMouseup:unref(S).onMouseup},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(s),"focus-start-el":"container",onFocusAfterTrapped:unref(_),onFocusAfterReleased:unref(w),onFocusoutPrevented:unref(x),onReleaseRequested:unref(k)},{default:withCtx((()=>[unref(f)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:l},e.$attrs,{center:e.center,"align-center":e.alignCenter,"close-icon":e.closeIcon,draggable:unref(C),overflow:e.overflow,fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:unref(y)}),createSlots({header:withCtx((()=>[e.$slots.title?renderSlot(e.$slots,"title",{key:1}):renderSlot(e.$slots,"header",{key:0,close:unref(y),titleId:unref(c),titleClass:unref(r).e("title")})])),default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:2},[e.$slots.footer?{name:"footer",fn:withCtx((()=>[renderSlot(e.$slots,"footer")]))}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):createCommentVNode("v-if",!0)])),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(s)]])])),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}});var Dialog=_export_sfc(_sfc_main$1s,[["__file","dialog.vue"]]);const ElDialog=withInstall(Dialog),dividerProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:definePropType(String),default:"solid"}}),__default__$13=defineComponent({name:"ElDivider"}),_sfc_main$1r=defineComponent({...__default__$13,props:dividerProps,setup(e){const t=e,n=useNamespace("divider"),o=computed((()=>n.cssVar({"border-style":t.borderStyle})));return(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(n).b(),unref(n).m(e.direction)]),style:normalizeStyle$1(unref(o)),role:"separator"},[e.$slots.default&&"vertical"!==e.direction?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(n).e("text"),unref(n).is(e.contentPosition)])},[renderSlot(e.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc(_sfc_main$1r,[["__file","divider.vue"]]);const ElDivider=withInstall(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),drawerEmits=dialogEmits,__default__$12=defineComponent({name:"ElDrawer",inheritAttrs:!1}),_sfc_main$1q=defineComponent({...__default__$12,props:drawerProps,emits:drawerEmits,setup(e,{expose:t}){const n=e,o=useSlots();useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},computed((()=>!!o.title)));const r=ref(),i=ref(),a=useNamespace("drawer"),{t:l}=useLocale(),{afterEnter:s,afterLeave:c,beforeLeave:u,visible:d,rendered:p,titleId:f,bodyId:h,zIndex:m,onModalClick:g,onOpenAutoFocus:v,onCloseAutoFocus:y,onFocusoutPrevented:b,onCloseRequested:_,handleClose:w}=useDialog(n,r),k=computed((()=>"rtl"===n.direction||"ltr"===n.direction)),x=computed((()=>addUnit(n.size)));return t({handleClose:w,afterEnter:s,afterLeave:c}),(e,t)=>(openBlock(),createBlock(unref(ElTeleport),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:withCtx((()=>[createVNode$1(Transition,{name:unref(a).b("fade"),onAfterEnter:unref(s),onAfterLeave:unref(c),onBeforeLeave:unref(u),persisted:""},{default:withCtx((()=>[withDirectives(createVNode$1(unref(ElOverlay),{mask:e.modal,"overlay-class":e.modalClass,"z-index":unref(m),onClick:unref(g)},{default:withCtx((()=>[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(d),"focus-trap-el":r.value,"focus-start-el":i.value,onFocusAfterTrapped:unref(v),onFocusAfterReleased:unref(y),onFocusoutPrevented:unref(b),onReleaseRequested:unref(_)},{default:withCtx((()=>[createBaseVNode("div",mergeProps({ref_key:"drawerRef",ref:r,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:unref(f),"aria-describedby":unref(h)},e.$attrs,{class:[unref(a).b(),e.direction,unref(d)&&"open"],style:unref(k)?"width: "+unref(x):"height: "+unref(x),role:"dialog",onClick:withModifiers((()=>{}),["stop"])}),[createBaseVNode("span",{ref_key:"focusStartRef",ref:i,class:normalizeClass(unref(a).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass([unref(a).e("header"),e.headerClass])},[e.$slots.title?renderSlot(e.$slots,"title",{key:1},(()=>[createCommentVNode(" DEPRECATED SLOT ")])):renderSlot(e.$slots,"header",{key:0,close:unref(w),titleId:unref(f),titleClass:unref(a).e("title")},(()=>[e.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:unref(f),role:"heading","aria-level":e.headerAriaLevel,class:normalizeClass(unref(a).e("title"))},toDisplayString(e.title),11,["id","aria-level"]))])),e.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":unref(l)("el.drawer.close"),class:normalizeClass(unref(a).e("close-btn")),type:"button",onClick:unref(w)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(a).e("close"))},{default:withCtx((()=>[createVNode$1(unref(close_default))])),_:1},8,["class"])],10,["aria-label","onClick"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),unref(p)?(openBlock(),createElementBlock("div",{key:1,id:unref(h),class:normalizeClass([unref(a).e("body"),e.bodyClass])},[renderSlot(e.$slots,"default")],10,["id"])):createCommentVNode("v-if",!0),e.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([unref(a).e("footer"),e.footerClass])},[renderSlot(e.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])])),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,unref(d)]])])),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}});var Drawer=_export_sfc(_sfc_main$1q,[["__file","drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1p=defineComponent({inheritAttrs:!1});function _sfc_render$k(e,t,n,o,r,i){return renderSlot(e.$slots,"default")}var Collection=_export_sfc(_sfc_main$1p,[["render",_sfc_render$k],["__file","collection.vue"]]);const _sfc_main$1o=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$j(e,t,n,o,r,i){return renderSlot(e.$slots,"default")}var CollectionItem=_export_sfc(_sfc_main$1o,[["render",_sfc_render$j],["__file","collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=e=>{const t=`El${e}Collection`,n=`${t}Item`,o=Symbol(t),r=Symbol(n),i={...Collection,name:t,setup(){const e=ref(),t=new Map;provide(o,{itemMap:t,getItems:()=>{const n=unref(e);if(!n)return[];const o=Array.from(n.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...t.values()].sort(((e,t)=>o.indexOf(e.ref)-o.indexOf(t.ref)))},collectionRef:e})}},a={...CollectionItem,name:n,setup(e,{attrs:t}){const n=ref(),i=inject(o,void 0);provide(r,{collectionItemRef:n}),onMounted((()=>{const e=unref(n);e&&i.itemMap.set(e,{ref:e,...t})})),onBeforeUnmount((()=>{const e=unref(n);i.itemMap.delete(e)}))}};return{COLLECTION_INJECTION_KEY:o,COLLECTION_ITEM_INJECTION_KEY:r,ElCollection:i,ElCollectionItem:a}},rovingFocusGroupProps=buildProps({style:{type:definePropType([String,Array,Object])},currentTabId:{type:definePropType(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:definePropType(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:ElCollection$1,ElCollectionItem:ElCollectionItem$1,COLLECTION_INJECTION_KEY:COLLECTION_INJECTION_KEY$1,COLLECTION_ITEM_INJECTION_KEY:COLLECTION_ITEM_INJECTION_KEY$1}=createCollectionWithScope("RovingFocusGroup"),ROVING_FOCUS_GROUP_INJECTION_KEY=Symbol("elRovingFocusGroup"),ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY=Symbol("elRovingFocusGroupItem"),MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},getDirectionAwareKey=(e,t)=>e,getFocusIntent=(e,t,n)=>{const o=getDirectionAwareKey(e.code);return MAP_KEY_TO_FOCUS_INTENT[o]},reorderArray=(e,t)=>e.map(((n,o)=>e[(o+t)%e.length])),focusFirst=e=>{const{activeElement:t}=document;for(const n of e){if(n===t)return;if(n.focus(),t!==document.activeElement)return}},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1n=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(e,{emit:t}){var n;const o=ref(null!=(n=e.currentTabId||e.defaultCurrentTabId)?n:null),r=ref(!1),i=ref(!1),a=ref(),{getItems:l}=inject(COLLECTION_INJECTION_KEY$1,void 0),s=computed((()=>[{outline:"none"},e.style])),c=composeEventHandlers((t=>{var n;null==(n=e.onMousedown)||n.call(e,t)}),(()=>{i.value=!0})),u=composeEventHandlers((t=>{var n;null==(n=e.onFocus)||n.call(e,t)}),(e=>{const t=!unref(i),{target:n,currentTarget:a}=e;if(n===a&&t&&!unref(r)){const e=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(null==a||a.dispatchEvent(e),!e.defaultPrevented){const e=l().filter((e=>e.focusable)),t=[e.find((e=>e.active)),e.find((e=>e.id===unref(o))),...e].filter(Boolean).map((e=>e.ref));focusFirst(t)}}i.value=!1})),d=composeEventHandlers((t=>{var n;null==(n=e.onBlur)||n.call(e,t)}),(()=>{r.value=!1}));provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(o),loop:toRef$1(e,"loop"),tabIndex:computed((()=>unref(r)?-1:0)),rovingFocusGroupRef:a,rovingFocusGroupRootStyle:s,orientation:toRef$1(e,"orientation"),dir:toRef$1(e,"dir"),onItemFocus:e=>{t(CURRENT_TAB_ID_CHANGE_EVT,e)},onItemShiftTab:()=>{r.value=!0},onBlur:d,onFocus:u,onMousedown:c}),watch((()=>e.currentTabId),(e=>{o.value=null!=e?e:null})),useEventListener(a,ENTRY_FOCUS_EVT,((...e)=>{t("entryFocus",...e)}))}});function _sfc_render$i(e,t,n,o,r,i){return renderSlot(e.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc(_sfc_main$1n,[["render",_sfc_render$i],["__file","roving-focus-group-impl.vue"]]);const _sfc_main$1m=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl:ElRovingFocusGroupImpl}});function _sfc_render$h(e,t,n,o,r,i){const a=resolveComponent("el-roving-focus-group-impl"),l=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(l,null,{default:withCtx((()=>[createVNode$1(a,normalizeProps(guardReactiveProps(e.$attrs)),{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16)])),_:3})}var ElRovingFocusGroup=_export_sfc(_sfc_main$1m,[["render",_sfc_render$h],["__file","roving-focus-group.vue"]]);const dropdownProps=buildProps({trigger:useTooltipTriggerProps.trigger,triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.numpadEnter,EVENT_CODE.space,EVENT_CODE.down]},effect:{...useTooltipContentProps.effect,default:"light"},type:{type:definePropType(String)},placement:{type:definePropType(String),default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:definePropType([Number,String]),default:0},maxHeight:{type:definePropType([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,values:roleTypes,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0}}),dropdownItemProps=buildProps({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:iconPropType}}),dropdownMenuProps=buildProps({onKeydown:{type:definePropType(Function)}}),FIRST_KEYS=[EVENT_CODE.down,EVENT_CODE.pageDown,EVENT_CODE.home],LAST_KEYS=[EVENT_CODE.up,EVENT_CODE.pageUp,EVENT_CODE.end],FIRST_LAST_KEYS=[...FIRST_KEYS,...LAST_KEYS],{ElCollection:ElCollection,ElCollectionItem:ElCollectionItem,COLLECTION_INJECTION_KEY:COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY:COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("Dropdown"),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$1l=defineComponent({name:"ElDropdown",components:{ElButton:ElButton,ElButtonGroup:ElButtonGroup,ElScrollbar:ElScrollbar,ElDropdownCollection:ElCollection,ElTooltip:ElTooltip,ElRovingFocusGroup:ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon:ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=getCurrentInstance(),o=useNamespace("dropdown"),{t:r}=useLocale(),i=ref(),a=ref(),l=ref(),s=ref(),c=ref(null),u=ref(null),d=ref(!1),p=computed((()=>({maxHeight:addUnit(e.maxHeight)}))),f=computed((()=>[o.m(y.value)])),h=computed((()=>castArray$1(e.trigger))),m=useId().value,g=computed((()=>e.id||m));function v(){var e;null==(e=l.value)||e.onClose()}watch([i,h],(([e,t],[n])=>{var o,r,i;(null==(o=null==n?void 0:n.$el)?void 0:o.removeEventListener)&&n.$el.removeEventListener("pointerenter",b),(null==(r=null==e?void 0:e.$el)?void 0:r.removeEventListener)&&e.$el.removeEventListener("pointerenter",b),(null==(i=null==e?void 0:e.$el)?void 0:i.addEventListener)&&t.includes("hover")&&e.$el.addEventListener("pointerenter",b)}),{immediate:!0}),onBeforeUnmount((()=>{var e,t;(null==(t=null==(e=i.value)?void 0:e.$el)?void 0:t.removeEventListener)&&i.value.$el.removeEventListener("pointerenter",b)}));const y=useFormSize();function b(){var e,t;null==(t=null==(e=i.value)?void 0:e.$el)||t.focus()}provide(DROPDOWN_INJECTION_KEY,{contentRef:s,role:computed((()=>e.role)),triggerId:g,isUsingKeyboard:d,onItemEnter:function(){},onItemLeave:function(){const e=unref(s);h.value.includes("hover")&&(null==e||e.focus()),u.value=null}}),provide("elDropdown",{instance:n,dropdownSize:y,handleClick:function(){v()},commandHandler:function(...e){t("command",...e)},trigger:toRef$1(e,"trigger"),hideOnClick:toRef$1(e,"hideOnClick")});return{t:r,ns:o,scrollbar:c,wrapStyle:p,dropdownTriggerKls:f,dropdownSize:y,triggerId:g,currentTabId:u,handleCurrentTabIdChange:function(e){u.value=e},handlerMainButtonClick:e=>{t("click",e)},handleEntryFocus:function(e){d.value||(e.preventDefault(),e.stopImmediatePropagation())},handleClose:v,handleOpen:function(){var e;null==(e=l.value)||e.onOpen()},handleBeforeShowTooltip:function(){t("visible-change",!0)},handleShowTooltip:function(e){var t;"keydown"===(null==e?void 0:e.type)&&(null==(t=s.value)||t.focus())},handleBeforeHideTooltip:function(){t("visible-change",!1)},onFocusAfterTrapped:e=>{var t,n;e.preventDefault(),null==(n=null==(t=s.value)?void 0:t.focus)||n.call(t,{preventScroll:!0})},popperRef:l,contentRef:s,triggeringElementRef:i,referenceElementRef:a}}});function _sfc_render$g(e,t,n,o,r,i){var a;const l=resolveComponent("el-dropdown-collection"),s=resolveComponent("el-roving-focus-group"),c=resolveComponent("el-scrollbar"),u=resolveComponent("el-only-child"),d=resolveComponent("el-tooltip"),p=resolveComponent("el-button"),f=resolveComponent("arrow-down"),h=resolveComponent("el-icon"),m=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([e.ns.b(),e.ns.is("disabled",e.disabled)])},[createVNode$1(d,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":"hover"===e.trigger?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":null==(a=e.referenceElementRef)?void 0:a.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":"hover"===e.trigger?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},createSlots({content:withCtx((()=>[createVNode$1(c,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:withCtx((()=>[createVNode$1(s,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:withCtx((()=>[createVNode$1(l,null,{default:withCtx((()=>[renderSlot(e.$slots,"dropdown")])),_:3})])),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])])),_:3},8,["wrap-style","view-class"])])),_:2},[e.splitButton?void 0:{name:"default",fn:withCtx((()=>[createVNode$1(u,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["id","tabindex"])]))}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(openBlock(),createBlock(m,{key:0},{default:withCtx((()=>[createVNode$1(p,mergeProps({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode$1(p,mergeProps({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:withCtx((()=>[createVNode$1(h,{class:normalizeClass(e.ns.e("icon"))},{default:withCtx((()=>[createVNode$1(f)])),_:1},8,["class"])])),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])])),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc(_sfc_main$1l,[["render",_sfc_render$g],["__file","dropdown.vue"]]);const _sfc_main$1k=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:o,onItemFocus:r,onItemShiftTab:i}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:a}=inject(COLLECTION_INJECTION_KEY$1,void 0),l=useId(),s=ref(),c=composeEventHandlers((e=>{t("mousedown",e)}),(t=>{e.focusable?r(unref(l)):t.preventDefault()})),u=composeEventHandlers((e=>{t("focus",e)}),(()=>{r(unref(l))})),d=composeEventHandlers((e=>{t("keydown",e)}),(e=>{const{code:t,shiftKey:n,target:r,currentTarget:l}=e;if(t===EVENT_CODE.tab&&n)return void i();if(r!==l)return;const s=getFocusIntent(e);if(s){e.preventDefault();let t=a().filter((e=>e.focusable)).map((e=>e.ref));switch(s){case"last":t.reverse();break;case"prev":case"next":{"prev"===s&&t.reverse();const e=t.indexOf(l);t=o.value?reorderArray(t,e+1):t.slice(e+1);break}}nextTick((()=>{focusFirst(t)}))}})),p=computed((()=>n.value===unref(l)));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:s,tabIndex:computed((()=>unref(p)?0:-1)),handleMousedown:c,handleFocus:u,handleKeydown:d}),{id:l,handleKeydown:d,handleFocus:u,handleMousedown:c}}});function _sfc_render$f(e,t,n,o,r,i){const a=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(a,{id:e.id,focusable:e.focusable,active:e.active},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc(_sfc_main$1k,[["render",_sfc_render$f],["__file","roving-focus-item.vue"]]);const _sfc_main$1j=defineComponent({name:"DropdownItemImpl",components:{ElIcon:ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=useNamespace("dropdown"),{role:o}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:r}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:i}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:a,tabIndex:l,handleFocus:s,handleKeydown:c,handleMousedown:u}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),d=composeRefs(r,i,a),p=computed((()=>"menu"===o.value?"menuitem":"navigation"===o.value?"link":"button")),f=composeEventHandlers((e=>{if([EVENT_CODE.enter,EVENT_CODE.numpadEnter,EVENT_CODE.space].includes(e.code))return e.preventDefault(),e.stopImmediatePropagation(),t("clickimpl",e),!0}),c);return{ns:n,itemRef:d,dataset:{[COLLECTION_ITEM_SIGN]:""},role:p,tabIndex:l,handleFocus:s,handleKeydown:f,handleMousedown:u}}});function _sfc_render$e(e,t,n,o,r,i){const a=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[e.divided?(openBlock(),createElementBlock("li",{key:0,role:"separator",class:normalizeClass(e.ns.bem("menu","item","divided"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t=>e.$emit("clickimpl",t),onFocus:e.handleFocus,onKeydown:withModifiers(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:t=>e.$emit("pointermove",t),onPointerleave:t=>e.$emit("pointerleave",t)}),[e.icon?(openBlock(),createBlock(a,{key:0},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.icon)))])),_:1})):createCommentVNode("v-if",!0),renderSlot(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}var ElDropdownItemImpl=_export_sfc(_sfc_main$1j,[["render",_sfc_render$e],["__file","dropdown-item-impl.vue"]]);const useDropdown=()=>{const e=inject("elDropdown",{}),t=computed((()=>null==e?void 0:e.dropdownSize));return{elDropdown:e,_elDropdownSize:t}},_sfc_main$1i=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem:ElRovingFocusItem,ElDropdownItemImpl:ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:o}=useDropdown(),r=getCurrentInstance(),i=ref(null),a=computed((()=>{var e,t;return null!=(t=null==(e=unref(i))?void 0:e.textContent)?t:""})),{onItemEnter:l,onItemLeave:s}=inject(DROPDOWN_INJECTION_KEY,void 0),c=composeEventHandlers((e=>(t("pointermove",e),e.defaultPrevented)),whenMouse((t=>{if(e.disabled)return void s(t);const n=t.currentTarget;n===document.activeElement||n.contains(document.activeElement)||(l(t),t.defaultPrevented||null==n||n.focus())}))),u=composeEventHandlers((e=>(t("pointerleave",e),e.defaultPrevented)),whenMouse(s)),d=composeEventHandlers((n=>{if(!e.disabled)return t("click",n),"keydown"!==n.type&&n.defaultPrevented}),(t=>{var n,i,a;e.disabled?t.stopImmediatePropagation():((null==(n=null==o?void 0:o.hideOnClick)?void 0:n.value)&&(null==(i=o.handleClick)||i.call(o)),null==(a=o.commandHandler)||a.call(o,e.command,r,t))}));return{handleClick:d,handlePointerMove:c,handlePointerLeave:u,textContent:a,propsAndAttrs:computed((()=>({...e,...n})))}}});function _sfc_render$d(e,t,n,o,r,i){var a;const l=resolveComponent("el-dropdown-item-impl"),s=resolveComponent("el-roving-focus-item"),c=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(c,{disabled:e.disabled,"text-value":null!=(a=e.textValue)?a:e.textContent},{default:withCtx((()=>[createVNode$1(s,{focusable:!e.disabled},{default:withCtx((()=>[createVNode$1(l,mergeProps(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16,["onPointerleave","onPointermove","onClickimpl"])])),_:3},8,["focusable"])])),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc(_sfc_main$1i,[["render",_sfc_render$d],["__file","dropdown-item.vue"]]);const _sfc_main$1h=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(e){const t=useNamespace("dropdown"),{_elDropdownSize:n}=useDropdown(),o=n.value,{focusTrapRef:r,onKeydown:i}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:a,role:l,triggerId:s}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:c,getItems:u}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:d,rovingFocusGroupRootStyle:p,tabIndex:f,onBlur:h,onFocus:m,onMousedown:g}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:v}=inject(COLLECTION_INJECTION_KEY$1,void 0),y=computed((()=>[t.b("menu"),t.bm("menu",null==o?void 0:o.value)])),b=composeRefs(a,c,r,d,v),_=composeEventHandlers((t=>{var n;null==(n=e.onKeydown)||n.call(e,t)}),(e=>{const{currentTarget:t,code:n,target:o}=e;if(t.contains(o),EVENT_CODE.tab===n&&e.stopImmediatePropagation(),e.preventDefault(),o!==unref(a)||!FIRST_LAST_KEYS.includes(n))return;const r=u().filter((e=>!e.disabled)).map((e=>e.ref));LAST_KEYS.includes(n)&&r.reverse(),focusFirst(r)}));return{size:o,rovingFocusGroupRootStyle:p,tabIndex:f,dropdownKls:y,role:l,triggerId:s,dropdownListWrapperRef:b,handleKeydown:e=>{_(e),i(e)},onBlur:h,onFocus:m,onMousedown:g}}});function _sfc_render$c(e,t,n,o,r,i){return openBlock(),createElementBlock("ul",{ref:e.dropdownListWrapperRef,class:normalizeClass(e.dropdownKls),style:normalizeStyle$1(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:withModifiers(e.handleKeydown,["self"]),onMousedown:withModifiers(e.onMousedown,["self"])},[renderSlot(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}var DropdownMenu=_export_sfc(_sfc_main$1h,[["render",_sfc_render$c],["__file","dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem:DropdownItem,DropdownMenu:DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),__default__$11=defineComponent({name:"ImgEmpty"}),_sfc_main$1g=defineComponent({...__default__$11,setup(e){const t=useNamespace("empty"),n=useId();return(e,o)=>(openBlock(),createElementBlock("svg",{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),createBaseVNode("stop",{"stop-color":`var(${unref(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),createBaseVNode("stop",{"stop-color":`var(${unref(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),createBaseVNode("rect",{id:`path-3-${unref(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,["id"])]),createBaseVNode("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[createBaseVNode("g",{transform:"translate(-1268.000000, -535.000000)"},[createBaseVNode("g",{transform:"translate(1268.000000, 535.000000)"},[createBaseVNode("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${unref(t).cssVarBlockName("fill-color-3")})`},null,8,["fill"]),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,["fill"]),createBaseVNode("g",{transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},[createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,["fill"]),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,["fill"]),createBaseVNode("rect",{fill:`url(#linearGradient-1-${unref(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,["fill"]),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,["fill"])]),createBaseVNode("rect",{fill:`url(#linearGradient-2-${unref(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,["fill"]),createBaseVNode("g",{transform:"translate(53.000000, 45.000000)"},[createBaseVNode("use",{fill:`var(${unref(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(n)}`},null,8,["fill","xlink:href"]),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,["fill","mask"])]),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,["fill"])])])])]))}});var ImgEmpty=_export_sfc(_sfc_main$1g,[["__file","img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),__default__$10=defineComponent({name:"ElEmpty"}),_sfc_main$1f=defineComponent({...__default__$10,props:emptyProps,setup(e){const t=e,{t:n}=useLocale(),o=useNamespace("empty"),r=computed((()=>t.description||n("el.table.emptyText"))),i=computed((()=>({width:addUnit(t.imageSize)})));return(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(o).b())},[createBaseVNode("div",{class:normalizeClass(unref(o).e("image")),style:normalizeStyle$1(unref(i))},[e.image?(openBlock(),createElementBlock("img",{key:0,src:e.image,ondragstart:"return false"},null,8,["src"])):renderSlot(e.$slots,"image",{key:1},(()=>[createVNode$1(ImgEmpty)]))],6),createBaseVNode("div",{class:normalizeClass(unref(o).e("description"))},[e.$slots.description?renderSlot(e.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",{key:1},toDisplayString(unref(r)),1))],2),e.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).e("bottom"))},[renderSlot(e.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty$1=_export_sfc(_sfc_main$1f,[["__file","empty.vue"]]);const ElEmpty=withInstall(Empty$1),formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(e,t,n)=>(isArray$6(e)||isString$4(e))&&isBoolean(t)&&isString$4(n)};function useFormLabelWidth(){const e=ref([]),t=computed((()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?`${t}px`:""}));function n(n){const o=e.value.indexOf(n);return-1===o&&t.value,o}return{autoLabelWidth:t,registerLabelWidth:function(t,o){if(t&&o){const r=n(o);e.value.splice(r,1,t)}else t&&e.value.push(t)},deregisterLabelWidth:function(t){const o=n(t);o>-1&&e.value.splice(o,1)}}}const filterFields=(e,t)=>{const n=castArray$1(t);return n.length>0?e.filter((e=>e.prop&&n.includes(e.prop))):e},COMPONENT_NAME$e="ElForm",__default__$$=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1e=defineComponent({...__default__$$,props:formProps,emits:formEmits,setup(e,{expose:t,emit:n}){const o=e,r=reactive([]),i=useFormSize(),a=useNamespace("form"),l=computed((()=>{const{labelPosition:e,inline:t}=o;return[a.b(),a.m(i.value||"default"),{[a.m(`label-${e}`)]:e,[a.m("inline")]:t}]})),s=(e=[])=>{o.model&&filterFields(r,e).forEach((e=>e.resetField()))},c=(e=[])=>{filterFields(r,e).forEach((e=>e.clearValidate()))},u=computed((()=>!!o.model)),d=async e=>f(void 0,e),p=async(e=[])=>{if(!u.value)return!1;const t=(e=>{if(0===r.length)return[];const t=filterFields(r,e);return t.length?t:[]})(e);if(0===t.length)return!0;let n={};for(const r of t)try{await r.validate(""),"error"===r.validateState&&r.resetField()}catch(o){n={...n,...o}}return 0===Object.keys(n).length||Promise.reject(n)},f=async(e=[],t)=>{const n=!isFunction$5(t);try{const n=await p(e);return!0===n&&await(null==t?void 0:t(n)),n}catch(e2){if(e2 instanceof Error)throw e2;const r=e2;return o.scrollToError&&h(Object.keys(r)[0]),await(null==t?void 0:t(!1,r)),n&&Promise.reject(r)}},h=e=>{var t;const n=filterFields(r,e)[0];n&&(null==(t=n.$el)||t.scrollIntoView(o.scrollIntoViewOptions))};return watch((()=>o.rules),(()=>{o.validateOnRuleChange&&d().catch((e=>debugWarn()))}),{deep:!0,flush:"post"}),provide(formContextKey,reactive({...toRefs(o),emit:n,resetFields:s,clearValidate:c,validateField:f,getField:e=>r.find((t=>t.prop===e)),addField:e=>{r.push(e)},removeField:e=>{e.prop&&r.splice(r.indexOf(e),1)},...useFormLabelWidth()})),t({validate:d,validateField:f,resetFields:s,clearValidate:c,scrollToField:h,fields:r}),(e,t)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(l))},[renderSlot(e.$slots,"default")],2))}});var Form=_export_sfc(_sfc_main$1e,[["__file","form.vue"]]);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_extends.apply(this,arguments)}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_setPrototypeOf(e,t)}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e2){return!1}}function _construct(e,t,n){return _construct=_isNativeReflectConstruct()?Reflect.construct.bind():function(e,t,n){var o=[null];o.push.apply(o,t);var r=new(Function.bind.apply(e,o));return n&&_setPrototypeOf(r,n.prototype),r},_construct.apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)},_wrapNativeSuper(e)}var formatRegExp=/%[sdj%]/g,warning=function(){};function convertFieldsError(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function format(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=0,i=n.length;return"function"==typeof e?e.apply(null,n):"string"==typeof e?e.replace(formatRegExp,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}break;default:return e}})):e}function isNativeStringType(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}function isEmptyValue(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!isNativeStringType(t)||"string"!=typeof e||e))}function asyncParallelArray(e,t,n){var o=[],r=0,i=e.length;function a(e){o.push.apply(o,e||[]),++r===i&&n(o)}e.forEach((function(e){t(e,a)}))}function asyncSerialArray(e,t,n){var o=0,r=e.length;!function i(a){if(a&&a.length)n(a);else{var l=o;o+=1,l<r?t(e[l],i):n([])}}([])}function flattenObjArr(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}var AsyncValidationError=function(e){function t(t,n){var o;return(o=e.call(this,"Async Validation Error")||this).errors=t,o.fields=n,o}return _inheritsLoose(t,e),t}(_wrapNativeSuper(Error));function asyncMap(e,t,n,o,r){if(t.first){var i=new Promise((function(t,i){asyncSerialArray(flattenObjArr(e),n,(function(e){return o(e),e.length?i(new AsyncValidationError(e,convertFieldsError(e))):t(r)}))}));return i.catch((function(e){return e})),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],l=Object.keys(e),s=l.length,c=0,u=[],d=new Promise((function(t,i){var d=function(e){if(u.push.apply(u,e),++c===s)return o(u),u.length?i(new AsyncValidationError(u,convertFieldsError(u))):t(r)};l.length||(o(u),t(r)),l.forEach((function(t){var o=e[t];-1!==a.indexOf(t)?asyncSerialArray(o,n,d):asyncParallelArray(o,n,d)}))}));return d.catch((function(e){return e})),d}function isErrorObj(e){return!(!e||void 0===e.message)}function getValue(e,t){for(var n=e,o=0;o<t.length;o++){if(null==n)return n;n=n[t[o]]}return n}function complementError(e,t){return function(n){var o;return o=e.fullFields?getValue(t,e.fullFields):t[n.field||e.fullField],isErrorObj(n)?(n.field=n.field||e.fullField,n.fieldValue=o,n):{message:"function"==typeof n?n():n,fieldValue:o,field:n.field||e.fullField}}}function deepMerge(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];"object"==typeof o&&"object"==typeof e[n]?e[n]=_extends({},e[n],o):e[n]=o}return e}var required$1=function(e,t,n,o,r,i){!e.required||n.hasOwnProperty(e.field)&&!isEmptyValue(t,i||e.type)||o.push(format(r.messages.required,e.fullField))},whitespace=function(e,t,n,o,r){(/^\s+$/.test(t)||""===t)&&o.push(format(r.messages.whitespace,e.fullField))},urlReg,getUrlRegex=function(){if(urlReg)return urlReg;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",r=("\n(?:\n(?:"+o+":){7}(?:"+o+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+o+":){6}(?:"+n+"|:"+o+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+o+":){5}(?::"+n+"|(?::"+o+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+o+":){4}(?:(?::"+o+"){0,1}:"+n+"|(?::"+o+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+o+":){3}(?:(?::"+o+"){0,2}:"+n+"|(?::"+o+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+o+":){2}(?:(?::"+o+"){0,3}:"+n+"|(?::"+o+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+o+":){1}(?:(?::"+o+"){0,4}:"+n+"|(?::"+o+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+o+"){0,5}:"+n+"|(?::"+o+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+r+"$)"),a=new RegExp("^"+n+"$"),l=new RegExp("^"+r+"$"),s=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+r+t(e)+")","g")};s.v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},s.v6=function(e){return e&&e.exact?l:new RegExp(""+t(e)+r+t(e),"g")};var c=s.v4().source,u=s.v6().source;return urlReg=new RegExp("(?:^"+("(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[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,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?')+"$)","i")},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types={integer:function(e){return types.number(e)&&parseInt(e,10)===e},float:function(e){return types.number(e)&&!types.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e2){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!types.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(pattern$2.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(getUrlRegex())},hex:function(e){return"string"==typeof e&&!!e.match(pattern$2.hex)}},type$1=function(e,t,n,o,r){if(e.required&&void 0===t)required$1(e,t,n,o,r);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?types[i](t)||o.push(format(r.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&o.push(format(r.messages.types[i],e.fullField,e.type))}},range=function(e,t,n,o,r){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,s=t,c=null,u="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(u?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(s=t.length),d&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&o.push(format(r.messages[c].len,e.fullField,e.len)):a&&!l&&s<e.min?o.push(format(r.messages[c].min,e.fullField,e.min)):l&&!a&&s>e.max?o.push(format(r.messages[c].max,e.fullField,e.max)):a&&l&&(s<e.min||s>e.max)&&o.push(format(r.messages[c].range,e.fullField,e.min,e.max))},ENUM$1="enum",enumerable$1=function(e,t,n,o,r){e[ENUM$1]=Array.isArray(e[ENUM$1])?e[ENUM$1]:[],-1===e[ENUM$1].indexOf(t)&&o.push(format(r.messages[ENUM$1],e.fullField,e[ENUM$1].join(", ")))},pattern$1=function(e,t,n,o,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(format(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(format(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}},rules={required:required$1,whitespace:whitespace,type:type$1,range:range,enum:enumerable$1,pattern:pattern$1},string=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t,"string")&&!e.required)return n();rules.required(e,t,o,i,r,"string"),isEmptyValue(t,"string")||(rules.type(e,t,o,i,r),rules.range(e,t,o,i,r),rules.pattern(e,t,o,i,r),!0===e.whitespace&&rules.whitespace(e,t,o,i,r))}n(i)},method2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r),void 0!==t&&rules.type(e,t,o,i,r)}n(i)},number2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(""===t&&(t=void 0),isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r),void 0!==t&&(rules.type(e,t,o,i,r),rules.range(e,t,o,i,r))}n(i)},_boolean=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r),void 0!==t&&rules.type(e,t,o,i,r)}n(i)},regexp2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r),isEmptyValue(t)||rules.type(e,t,o,i,r)}n(i)},integer2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r),void 0!==t&&(rules.type(e,t,o,i,r),rules.range(e,t,o,i,r))}n(i)},floatFn=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r),void 0!==t&&(rules.type(e,t,o,i,r),rules.range(e,t,o,i,r))}n(i)},array2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();rules.required(e,t,o,i,r,"array"),null!=t&&(rules.type(e,t,o,i,r),rules.range(e,t,o,i,r))}n(i)},object2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r),void 0!==t&&rules.type(e,t,o,i,r)}n(i)},ENUM="enum",enumerable2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r),void 0!==t&&rules[ENUM](e,t,o,i,r)}n(i)},pattern2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t,"string")&&!e.required)return n();rules.required(e,t,o,i,r),isEmptyValue(t,"string")||rules.pattern(e,t,o,i,r)}n(i)},date2=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t,"date")&&!e.required)return n();var a;if(rules.required(e,t,o,i,r),!isEmptyValue(t,"date"))a=t instanceof Date?t:new Date(t),rules.type(e,a,o,i,r),a&&rules.range(e,a.getTime(),o,i,r)}n(i)},required2=function(e,t,n,o,r){var i=[],a=Array.isArray(t)?"array":typeof t;rules.required(e,t,o,i,r,a),n(i)},type2=function(e,t,n,o,r){var i=e.type,a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t,i)&&!e.required)return n();rules.required(e,t,o,a,r,i),isEmptyValue(t,i)||rules.type(e,t,o,a,r)}n(a)},any=function(e,t,n,o,r){var i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(isEmptyValue(t)&&!e.required)return n();rules.required(e,t,o,i,r)}n(i)},validators={string:string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,any:any};function newMessages(){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 messages=newMessages(),Schema=function(){function e(e){this.rules=null,this._messages=messages,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var o=e[n];t.rules[n]=Array.isArray(o)?o:[o]}))},t.messages=function(e){return e&&(this._messages=deepMerge(newMessages(),e)),this._messages},t.validate=function(t,n,o){var r=this;void 0===n&&(n={}),void 0===o&&(o=function(){});var i=t,a=n,l=o;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);if(a.messages){var s=this.messages();s===messages&&(s=newMessages()),deepMerge(s,a.messages),a.messages=s}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach((function(e){var n=r.rules[e],o=i[e];n.forEach((function(n){var a=n;"function"==typeof a.transform&&(i===t&&(i=_extends({},i)),o=i[e]=a.transform(o)),(a="function"==typeof a?{validator:a}:_extends({},a)).validator=r.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=r.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:o,source:i,field:e}))}))}));var u={};return asyncMap(c,a,(function(t,n){var o,r=t.rule,l=!("object"!==r.type&&"array"!==r.type||"object"!=typeof r.fields&&"object"!=typeof r.defaultField);function s(e,t){return _extends({},t,{fullField:r.fullField+"."+e,fullFields:r.fullFields?[].concat(r.fullFields,[e]):[e]})}function c(o){void 0===o&&(o=[]);var c=Array.isArray(o)?o:[o];!a.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==r.message&&(c=[].concat(r.message));var d=c.map(complementError(r,i));if(a.first&&d.length)return u[r.field]=1,n(d);if(l){if(r.required&&!t.value)return void 0!==r.message?d=[].concat(r.message).map(complementError(r,i)):a.error&&(d=[a.error(r,format(a.messages.required,r.field))]),n(d);var p={};r.defaultField&&Object.keys(t.value).map((function(e){p[e]=r.defaultField})),p=_extends({},p,t.rule.fields);var f={};Object.keys(p).forEach((function(e){var t=p[e],n=Array.isArray(t)?t:[t];f[e]=n.map(s.bind(null,e))}));var h=new e(f);h.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),h.validate(t.value,t.rule.options||a,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}if(l=l&&(r.required||!r.required&&t.value),r.field=t.field,r.asyncValidator)o=r.asyncValidator(r,t.value,c,t.source,a);else if(r.validator){try{o=r.validator(r,t.value,c,t.source,a)}catch(d){console.error,a.suppressValidatorError||setTimeout((function(){throw d}),0),c(d.message)}!0===o?c():!1===o?c("function"==typeof r.message?r.message(r.fullField||r.field):r.message||(r.fullField||r.field)+" fails"):o instanceof Array?c(o):o instanceof Error&&c(o.message)}o&&o.then&&o.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){!function(e){var t=[],n={};function o(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var r=0;r<e.length;r++)o(e[r]);t.length?(n=convertFieldsError(t),l(t,n)):l(null,i)}(e)}),i)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!validators.hasOwnProperty(e.type))throw new Error(format("Unknown rule type %s",e.type));return e.type||"string"},t.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]?validators.required:validators[this.getType(e)]||void 0},e}();Schema.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");validators[e]=t},Schema.warning=warning,Schema.messages=messages,Schema.validators=validators;const formItemValidateStates=["","error","validating","success"],formItemProps=buildProps({label:String,labelWidth:{type:[String,Number],default:""},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:definePropType([String,Array])},required:{type:Boolean,default:void 0},rules:{type:definePropType([Object,Array])},error:String,validateStatus:{type:String,values:formItemValidateStates},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:componentSizes}}),COMPONENT_NAME$d="ElLabelWrap";var FormLabelWrap=defineComponent({name:COMPONENT_NAME$d,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=inject(formContextKey,void 0),o=inject(formItemContextKey);o||throwError(COMPONENT_NAME$d,"usage: <el-form-item><label-wrap /></el-form-item>");const r=useNamespace("form"),i=ref(),a=ref(0),l=(o="update")=>{nextTick((()=>{t.default&&e.isAutoWidth&&("update"===o?a.value=(()=>{var e;if(null==(e=i.value)?void 0:e.firstElementChild){const e=window.getComputedStyle(i.value.firstElementChild).width;return Math.ceil(Number.parseFloat(e))}return 0})():"remove"===o&&(null==n||n.deregisterLabelWidth(a.value)))}))},s=()=>l("update");return onMounted((()=>{s()})),onBeforeUnmount((()=>{l("remove")})),onUpdated((()=>s())),watch(a,((t,o)=>{e.updateAll&&(null==n||n.registerLabelWidth(t,o))})),useResizeObserver(computed((()=>{var e,t;return null!=(t=null==(e=i.value)?void 0:e.firstElementChild)?t:null})),s),()=>{var l,s;if(!t)return null;const{isAutoWidth:c}=e;if(c){const e=null==n?void 0:n.autoLabelWidth,s={};if((null==o?void 0:o.hasLabel)&&e&&"auto"!==e){const t=Math.max(0,Number.parseInt(e,10)-a.value),r=o.labelPosition||n.labelPosition;t&&(s["left"===r?"marginRight":"marginLeft"]=`${t}px`)}return createVNode$1("div",{ref:i,class:[r.be("item","label-wrap")],style:s},[null==(l=t.default)?void 0:l.call(t)])}return createVNode$1(Fragment,{ref:i},[null==(s=t.default)?void 0:s.call(t)])}}});const __default__$_=defineComponent({name:"ElFormItem"}),_sfc_main$1d=defineComponent({...__default__$_,props:formItemProps,setup(e,{expose:t}){const n=e,o=useSlots(),r=inject(formContextKey,void 0),i=inject(formItemContextKey,void 0),a=useFormSize(void 0,{formItem:!1}),l=useNamespace("form-item"),s=useId().value,c=ref([]),u=ref(""),d=refDebounced(u,100),p=ref(""),f=ref();let h,m=!1;const g=computed((()=>n.labelPosition||(null==r?void 0:r.labelPosition))),v=computed((()=>{if("top"===g.value)return{};const e=addUnit(n.labelWidth||(null==r?void 0:r.labelWidth)||"");return e?{width:e}:{}})),y=computed((()=>{if("top"===g.value||(null==r?void 0:r.inline))return{};if(!n.label&&!n.labelWidth&&E)return{};const e=addUnit(n.labelWidth||(null==r?void 0:r.labelWidth)||"");return n.label||o.label?{}:{marginLeft:e}})),b=computed((()=>[l.b(),l.m(a.value),l.is("error","error"===u.value),l.is("validating","validating"===u.value),l.is("success","success"===u.value),l.is("required",I.value||n.required),l.is("no-asterisk",null==r?void 0:r.hideRequiredAsterisk),"right"===(null==r?void 0:r.requireAsteriskPosition)?"asterisk-right":"asterisk-left",{[l.m("feedback")]:null==r?void 0:r.statusIcon,[l.m(`label-${g.value}`)]:g.value}])),_=computed((()=>isBoolean(n.inlineMessage)?n.inlineMessage:(null==r?void 0:r.inlineMessage)||!1)),w=computed((()=>[l.e("error"),{[l.em("error","inline")]:_.value}])),k=computed((()=>n.prop?isString$4(n.prop)?n.prop:n.prop.join("."):"")),x=computed((()=>!(!n.label&&!o.label))),S=computed((()=>n.for||(1===c.value.length?c.value[0]:void 0))),C=computed((()=>!S.value&&x.value)),E=!!i,T=computed((()=>{const e=null==r?void 0:r.model;if(e&&n.prop)return getProp(e,n.prop).value})),A=computed((()=>{const{required:e}=n,t=[];n.rules&&t.push(...castArray$1(n.rules));const o=null==r?void 0:r.rules;if(o&&n.prop){const e=getProp(o,n.prop).value;e&&t.push(...castArray$1(e))}if(void 0!==e){const n=t.map(((e,t)=>[e,t])).filter((([e])=>Object.keys(e).includes("required")));if(n.length>0)for(const[o,r]of n)o.required!==e&&(t[r]={...o,required:e});else t.push({required:e})}return t})),$=computed((()=>A.value.length>0)),I=computed((()=>A.value.some((e=>e.required)))),M=computed((()=>{var e;return"error"===d.value&&n.showMessage&&(null==(e=null==r?void 0:r.showMessage)||e)})),P=computed((()=>`${n.label||""}${(null==r?void 0:r.labelSuffix)||""}`)),N=e=>{u.value=e},O=async e=>{const t=k.value;return new Schema({[t]:e}).validate({[t]:T.value},{firstFields:!0}).then((()=>(N("success"),null==r||r.emit("validate",n.prop,!0,""),!0))).catch((e=>((e=>{var t,o;const{errors:i,fields:a}=e;N("error"),p.value=i?null!=(o=null==(t=null==i?void 0:i[0])?void 0:t.message)?o:`${n.prop} is required`:"",null==r||r.emit("validate",n.prop,!1,p.value)})(e),Promise.reject(e))))},R=async(e,t)=>{if(m||!n.prop)return!1;const o=isFunction$5(t);if(!$.value)return null==t||t(!1),!1;const r=(e=>A.value.filter((t=>!t.trigger||!e||(isArray$6(t.trigger)?t.trigger.includes(e):t.trigger===e))).map((({trigger:e,...t})=>t)))(e);return 0===r.length?(null==t||t(!0),!0):(N("validating"),O(r).then((()=>(null==t||t(!0),!0))).catch((e=>{const{fields:n}=e;return null==t||t(!1,n),!o&&Promise.reject(n)})))},D=()=>{N(""),p.value="",m=!1},L=async()=>{const e=null==r?void 0:r.model;if(!e||!n.prop)return;const t=getProp(e,n.prop);m=!0,t.value=clone$5(h),await nextTick(),D(),m=!1};watch((()=>n.error),(e=>{p.value=e||"",N(e?"error":"")}),{immediate:!0}),watch((()=>n.validateStatus),(e=>N(e||"")));const B=reactive({...toRefs(n),$el:f,size:a,validateState:u,labelId:s,inputIds:c,isGroup:C,hasLabel:x,fieldValue:T,addInputId:e=>{c.value.includes(e)||c.value.push(e)},removeInputId:e=>{c.value=c.value.filter((t=>t!==e))},resetField:L,clearValidate:D,validate:R});return provide(formItemContextKey,B),onMounted((()=>{n.prop&&(null==r||r.addField(B),h=clone$5(T.value))})),onBeforeUnmount((()=>{null==r||r.removeField(B)})),t({size:a,validateMessage:p,validateState:u,validate:R,clearValidate:D,resetField:L}),(e,t)=>{var n;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:f,class:normalizeClass(unref(b)),role:unref(C)?"group":void 0,"aria-labelledby":unref(C)?unref(s):void 0},[createVNode$1(unref(FormLabelWrap),{"is-auto-width":"auto"===unref(v).width,"update-all":"auto"===(null==(n=unref(r))?void 0:n.labelWidth)},{default:withCtx((()=>[unref(x)?(openBlock(),createBlock(resolveDynamicComponent(unref(S)?"label":"div"),{key:0,id:unref(s),for:unref(S),class:normalizeClass(unref(l).e("label")),style:normalizeStyle$1(unref(v))},{default:withCtx((()=>[renderSlot(e.$slots,"label",{label:unref(P)},(()=>[createTextVNode(toDisplayString(unref(P)),1)]))])),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)])),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(l).e("content")),style:normalizeStyle$1(unref(y))},[renderSlot(e.$slots,"default"),createVNode$1(TransitionGroup,{name:`${unref(l).namespace.value}-zoom-in-top`},{default:withCtx((()=>[unref(M)?renderSlot(e.$slots,"error",{key:0,error:p.value},(()=>[createBaseVNode("div",{class:normalizeClass(unref(w))},toDisplayString(p.value),3)])):createCommentVNode("v-if",!0)])),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}});var FormItem=_export_sfc(_sfc_main$1d,[["__file","form-item.vue"]]);const ElForm=withInstall(Form,{FormItem:FormItem}),ElFormItem=withNoopInstall(FormItem),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:{type:Boolean,default:!1},crossorigin:{type:definePropType(String)}}),imageViewerEmits={close:()=>!0,switch:e=>isNumber(e),rotate:e=>isNumber(e)},__default__$Z=defineComponent({name:"ElImageViewer"}),_sfc_main$1c=defineComponent({...__default__$Z,props:imageViewerProps,emits:imageViewerEmits,setup(e,{expose:t,emit:n}){var o;const r=e,i={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}};let a,l="";const{t:s}=useLocale(),c=useNamespace("image-viewer"),{nextZIndex:u}=useZIndex(),d=ref(),p=ref([]),f=effectScope(),h=ref(!0),m=ref(r.initialIndex),g=shallowRef(i.CONTAIN),v=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),y=ref(null!=(o=r.zIndex)?o:u()),b=computed((()=>{const{urlList:e}=r;return e.length<=1})),_=computed((()=>0===m.value)),w=computed((()=>m.value===r.urlList.length-1)),k=computed((()=>r.urlList[m.value])),x=computed((()=>[c.e("btn"),c.e("prev"),c.is("disabled",!r.infinite&&_.value)])),S=computed((()=>[c.e("btn"),c.e("next"),c.is("disabled",!r.infinite&&w.value)])),C=computed((()=>{const{scale:e,deg:t,offsetX:n,offsetY:o,enableTransition:r}=v.value;let a=n/e,l=o/e;const s=t*Math.PI/180,c=Math.cos(s),u=Math.sin(s);a=a*c+l*u,l=l*c-n/e*u;const d={transform:`scale(${e}) rotate(${t}deg) translate(${a}px, ${l}px)`,transition:r?"transform .3s":""};return g.value.name===i.CONTAIN.name&&(d.maxWidth=d.maxHeight="100%"),d})),E=computed((()=>`${m.value+1} / ${r.urlList.length}`));function T(){f.stop(),null==a||a(),document.body.style.overflow=l,n("close")}function A(){h.value=!1}function $(e){h.value=!1,e.target.alt=s("el.image.error")}function I(e){if(h.value||0!==e.button||!d.value)return;v.value.enableTransition=!1;const{offsetX:t,offsetY:n}=v.value,o=e.pageX,r=e.pageY,i=throttle$3((e=>{v.value={...v.value,offsetX:t+e.pageX-o,offsetY:n+e.pageY-r}})),a=useEventListener(document,"mousemove",i);useEventListener(document,"mouseup",(()=>{a()})),e.preventDefault()}function M(){v.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function P(){if(h.value)return;const e=keysOf(i),t=Object.values(i),n=g.value.name,o=t.findIndex((e=>e.name===n)),r=(o+1)%e.length;g.value=i[e[r]],M()}function N(e){const t=r.urlList.length;m.value=(e+t)%t}function O(){_.value&&!r.infinite||N(m.value-1)}function R(){w.value&&!r.infinite||N(m.value+1)}function D(e,t={}){if(h.value)return;const{minScale:o,maxScale:i}=r,{zoomRate:a,rotateDeg:l,enableTransition:s}={zoomRate:r.zoomRate,rotateDeg:90,enableTransition:!0,...t};switch(e){case"zoomOut":v.value.scale>o&&(v.value.scale=Number.parseFloat((v.value.scale/a).toFixed(3)));break;case"zoomIn":v.value.scale<i&&(v.value.scale=Number.parseFloat((v.value.scale*a).toFixed(3)));break;case"clockwise":v.value.deg+=l,n("rotate",v.value.deg);break;case"anticlockwise":v.value.deg-=l,n("rotate",v.value.deg)}v.value.enableTransition=s}function L(e){var t;"pointer"===(null==(t=e.detail)?void 0:t.focusReason)&&e.preventDefault()}function B(){r.closeOnPressEscape&&T()}function V(e){if(e.ctrlKey)return e.deltaY<0||e.deltaY>0?(e.preventDefault(),!1):void 0}return watch(k,(()=>{nextTick((()=>{const e=p.value[0];(null==e?void 0:e.complete)||(h.value=!0)}))})),watch(m,(e=>{M(),n("switch",e)})),onMounted((()=>{!function(){const e=throttle$3((e=>{switch(e.code){case EVENT_CODE.esc:r.closeOnPressEscape&&T();break;case EVENT_CODE.space:P();break;case EVENT_CODE.left:O();break;case EVENT_CODE.up:D("zoomIn");break;case EVENT_CODE.right:R();break;case EVENT_CODE.down:D("zoomOut")}})),t=throttle$3((e=>{D((e.deltaY||e.deltaX)<0?"zoomIn":"zoomOut",{zoomRate:r.zoomRate,enableTransition:!1})}));f.run((()=>{useEventListener(document,"keydown",e),useEventListener(document,"wheel",t)}))}(),a=useEventListener("wheel",V,{passive:!1}),l=document.body.style.overflow,document.body.style.overflow="hidden"})),t({setActiveItem:N}),(e,t)=>(openBlock(),createBlock(unref(ElTeleport),{to:"body",disabled:!e.teleported},{default:withCtx((()=>[createVNode$1(Transition,{name:"viewer-fade",appear:""},{default:withCtx((()=>[createBaseVNode("div",{ref_key:"wrapper",ref:d,tabindex:-1,class:normalizeClass(unref(c).e("wrapper")),style:normalizeStyle$1({zIndex:y.value})},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:"","focus-trap-el":d.value,"focus-start-el":"container",onFocusoutPrevented:L,onReleaseRequested:B},{default:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(unref(c).e("mask")),onClick:withModifiers((t=>e.hideOnClickModal&&T()),["self"])},null,10,["onClick"]),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(c).e("btn"),unref(c).e("close")]),onClick:T},[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(close_default))])),_:1})],2),createCommentVNode(" ARROW "),unref(b)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(unref(x)),onClick:O},[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_left_default))])),_:1})],2),createBaseVNode("span",{class:normalizeClass(unref(S)),onClick:R},[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_right_default))])),_:1})],2)],64)),e.$slots.progress||e.showProgress?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(c).e("btn"),unref(c).e("progress")])},[renderSlot(e.$slots,"progress",{activeIndex:m.value,total:e.urlList.length},(()=>[createTextVNode(toDisplayString(unref(E)),1)]))],2)):createCommentVNode("v-if",!0),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(c).e("btn"),unref(c).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(c).e("actions__inner"))},[renderSlot(e.$slots,"toolbar",{actions:D,prev:O,next:R,reset:P,activeIndex:m.value,setActiveItem:N},(()=>[createVNode$1(unref(ElIcon),{onClick:e=>D("zoomOut")},{default:withCtx((()=>[createVNode$1(unref(zoom_out_default))])),_:1},8,["onClick"]),createVNode$1(unref(ElIcon),{onClick:e=>D("zoomIn")},{default:withCtx((()=>[createVNode$1(unref(zoom_in_default))])),_:1},8,["onClick"]),createBaseVNode("i",{class:normalizeClass(unref(c).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:P},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(g).icon)))])),_:1}),createBaseVNode("i",{class:normalizeClass(unref(c).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:e=>D("anticlockwise")},{default:withCtx((()=>[createVNode$1(unref(refresh_left_default))])),_:1},8,["onClick"]),createVNode$1(unref(ElIcon),{onClick:e=>D("clockwise")},{default:withCtx((()=>[createVNode$1(unref(refresh_right_default))])),_:1},8,["onClick"])]))],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(c).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.urlList,((t,n)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:e=>p.value[n]=e,key:t,src:t,style:normalizeStyle$1(unref(C)),class:normalizeClass(unref(c).e("img")),crossorigin:e.crossorigin,onLoad:A,onError:$,onMousedown:I},null,46,["src","crossorigin"])),[[vShow,n===m.value]]))),128))],2),renderSlot(e.$slots,"default")])),_:3},8,["focus-trap-el"])],6)])),_:3})])),_:3},8,["disabled"]))}});var ImageViewer=_export_sfc(_sfc_main$1c,[["__file","image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:{type:Boolean,default:!1},crossorigin:{type:definePropType(String)}}),imageEmits={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>isNumber(e),close:()=>!0,show:()=>!0},__default__$Y=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$1b=defineComponent({...__default__$Y,props:imageProps,emits:imageEmits,setup(e,{expose:t,emit:n}){const o=e,{t:r}=useLocale(),i=useNamespace("image"),a=useAttrs$1(),l=computed((()=>fromPairs(Object.entries(a).filter((([e])=>/^(data-|on[A-Z])/i.test(e)||["id","style"].includes(e)))))),s=useAttrs({excludeListeners:!0,excludeKeys:computed((()=>Object.keys(l.value)))}),c=ref(),u=ref(!1),d=ref(!0),p=ref(!1),f=ref(),h=ref(),m=isClient&&"loading"in HTMLImageElement.prototype;let g;const v=computed((()=>[i.e("inner"),b.value&&i.e("preview"),d.value&&i.is("loading")])),y=computed((()=>{const{fit:e}=o;return isClient&&e?{objectFit:e}:{}})),b=computed((()=>{const{previewSrcList:e}=o;return isArray$6(e)&&e.length>0})),_=computed((()=>{const{previewSrcList:e,initialIndex:t}=o;let n=t;return t>e.length-1&&(n=0),n})),w=computed((()=>"eager"!==o.loading&&(!m&&"lazy"===o.loading||o.lazy))),k=()=>{isClient&&(d.value=!0,u.value=!1,c.value=o.src)};function x(e){d.value=!1,u.value=!1,n("load",e)}function S(e){d.value=!1,u.value=!0,n("error",e)}function C(){isInContainer(f.value,h.value)&&(k(),A())}const E=useThrottleFn(C,200,!0);async function T(){var e;if(!isClient)return;await nextTick();const{scrollContainer:t}=o;isElement$1(t)?h.value=t:isString$4(t)&&""!==t?h.value=null!=(e=document.querySelector(t))?e:void 0:f.value&&(h.value=getScrollContainer(f.value)),h.value&&(g=useEventListener(h,"scroll",E),setTimeout((()=>C()),100))}function A(){isClient&&h.value&&E&&(null==g||g(),h.value=void 0)}function $(){b.value&&(p.value=!0,n("show"))}function I(){p.value=!1,n("close")}function M(e){n("switch",e)}return watch((()=>o.src),(()=>{w.value?(d.value=!0,u.value=!1,A(),T()):k()})),onMounted((()=>{w.value?T():k()})),t({showPreview:$}),(e,t)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"container",ref:f},unref(l),{class:[unref(i).b(),e.$attrs.class]}),[u.value?renderSlot(e.$slots,"error",{key:0},(()=>[createBaseVNode("div",{class:normalizeClass(unref(i).e("error"))},toDisplayString(unref(r)("el.image.error")),3)])):(openBlock(),createElementBlock(Fragment,{key:1},[void 0!==c.value?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(s),{src:c.value,loading:e.loading,style:unref(y),class:unref(v),crossorigin:e.crossorigin,onClick:$,onLoad:x,onError:S}),null,16,["src","loading","crossorigin"])):createCommentVNode("v-if",!0),d.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(i).e("wrapper"))},[renderSlot(e.$slots,"placeholder",{},(()=>[createBaseVNode("div",{class:normalizeClass(unref(i).e("placeholder"))},null,2)]))],2)):createCommentVNode("v-if",!0)],64)),unref(b)?(openBlock(),createElementBlock(Fragment,{key:2},[p.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":e.zIndex,"initial-index":unref(_),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:I,onSwitch:M},createSlots({toolbar:withCtx((t=>[renderSlot(e.$slots,"toolbar",normalizeProps(guardReactiveProps(t)))])),default:withCtx((()=>[e.$slots.viewer?(openBlock(),createElementBlock("div",{key:0},[renderSlot(e.$slots,"viewer")])):createCommentVNode("v-if",!0)])),_:2},[e.$slots.progress?{name:"progress",fn:withCtx((t=>[renderSlot(e.$slots,"progress",normalizeProps(guardReactiveProps(t)))]))}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],16))}});var Image$1=_export_sfc(_sfc_main$1b,[["__file","image.vue"]]);const ElImage=withInstall(Image$1),inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>null===e||isNumber(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),inputNumberEmits={[CHANGE_EVENT]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[INPUT_EVENT]:e=>isNumber(e)||isNil(e),[UPDATE_MODEL_EVENT]:e=>isNumber(e)||isNil(e)},__default__$X=defineComponent({name:"ElInputNumber"}),_sfc_main$1a=defineComponent({...__default__$X,props:inputNumberProps,emits:inputNumberEmits,setup(e,{expose:t,emit:n}){const o=e,{t:r}=useLocale(),i=useNamespace("input-number"),a=ref(),l=reactive({currentValue:o.modelValue,userInput:null}),{formItem:s}=useFormItem(),c=computed((()=>isNumber(o.modelValue)&&o.modelValue<=o.min)),u=computed((()=>isNumber(o.modelValue)&&o.modelValue>=o.max)),d=computed((()=>{const e=v(o.step);return isUndefined(o.precision)?Math.max(v(o.modelValue),e):(o.precision,o.precision)})),p=computed((()=>o.controls&&"right"===o.controlsPosition)),f=useFormSize(),h=useFormDisabled(),m=computed((()=>{if(null!==l.userInput)return l.userInput;let e=l.currentValue;if(isNil(e))return"";if(isNumber(e)){if(Number.isNaN(e))return"";isUndefined(o.precision)||(e=e.toFixed(o.precision))}return e})),g=(e,t)=>{if(isUndefined(t)&&(t=d.value),0===t)return Math.round(e);let n=String(e);const o=n.indexOf(".");if(-1===o)return e;if(!n.replace(".","").split("")[o+t])return e;const r=n.length;return"5"===n.charAt(r-1)&&(n=`${n.slice(0,Math.max(0,r-1))}6`),Number.parseFloat(Number(n).toFixed(t))},v=e=>{if(isNil(e))return 0;const t=e.toString(),n=t.indexOf(".");let o=0;return-1!==n&&(o=t.length-n-1),o},y=(e,t=1)=>isNumber(e)?g(e+o.step*t):l.currentValue,b=()=>{if(o.readonly||h.value||u.value)return;const e=Number(m.value)||0,t=y(e);k(t),n(INPUT_EVENT,l.currentValue),T()},_=()=>{if(o.readonly||h.value||c.value)return;const e=Number(m.value)||0,t=y(e,-1);k(t),n(INPUT_EVENT,l.currentValue),T()},w=(e,t)=>{const{max:r,min:i,step:a,precision:l,stepStrictly:s,valueOnClear:c}=o;r<i&&throwError("InputNumber","min should not be greater than max.");let u=Number(e);if(isNil(e)||Number.isNaN(u))return null;if(""===e){if(null===c)return null;u=isString$4(c)?{min:i,max:r}[c]:c}return s&&(u=g(Math.round(u/a)*a,l),u!==e&&t&&n(UPDATE_MODEL_EVENT,u)),isUndefined(l)||(u=g(u,l)),(u>r||u<i)&&(u=u>r?r:i,t&&n(UPDATE_MODEL_EVENT,u)),u},k=(e,t=!0)=>{var r;const i=l.currentValue,a=w(e);t?i===a&&e||(l.userInput=null,n(UPDATE_MODEL_EVENT,a),i!==a&&n(CHANGE_EVENT,a,i),o.validateEvent&&(null==(r=null==s?void 0:s.validate)||r.call(s,"change").catch((e=>debugWarn()))),l.currentValue=a):n(UPDATE_MODEL_EVENT,a)},x=e=>{l.userInput=e;const t=""===e?null:Number(e);n(INPUT_EVENT,t),k(t,!1)},S=e=>{const t=""!==e?Number(e):"";(isNumber(t)&&!Number.isNaN(t)||""===e)&&k(t),T(),l.userInput=null},C=e=>{n("focus",e)},E=e=>{var t,r;l.userInput=null,isFirefox()&&null===l.currentValue&&(null==(t=a.value)?void 0:t.input)&&(a.value.input.value=""),n("blur",e),o.validateEvent&&(null==(r=null==s?void 0:s.validate)||r.call(s,"blur").catch((e=>debugWarn())))},T=()=>{l.currentValue!==o.modelValue&&(l.currentValue=o.modelValue)},A=e=>{document.activeElement===e.target&&e.preventDefault()};return watch((()=>o.modelValue),((e,t)=>{const n=w(e,!0);null===l.userInput&&n!==t&&(l.currentValue=n)}),{immediate:!0}),onMounted((()=>{var e;const{min:t,max:r,modelValue:i}=o,s=null==(e=a.value)?void 0:e.input;if(s.setAttribute("role","spinbutton"),Number.isFinite(r)?s.setAttribute("aria-valuemax",String(r)):s.removeAttribute("aria-valuemax"),Number.isFinite(t)?s.setAttribute("aria-valuemin",String(t)):s.removeAttribute("aria-valuemin"),s.setAttribute("aria-valuenow",l.currentValue||0===l.currentValue?String(l.currentValue):""),s.setAttribute("aria-disabled",String(h.value)),!isNumber(i)&&null!=i){let e=Number(i);Number.isNaN(e)&&(e=null),n(UPDATE_MODEL_EVENT,e)}s.addEventListener("wheel",A,{passive:!1})})),onUpdated((()=>{var e,t;const n=null==(e=a.value)?void 0:e.input;null==n||n.setAttribute("aria-valuenow",`${null!=(t=l.currentValue)?t:""}`)})),t({focus:()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.focus)||t.call(e)},blur:()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.blur)||t.call(e)}}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(i).b(),unref(i).m(unref(f)),unref(i).is("disabled",unref(h)),unref(i).is("without-controls",!e.controls),unref(i).is("controls-right",unref(p))]),onDragstart:withModifiers((()=>{}),["prevent"])},[e.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(r)("el.inputNumber.decrease"),class:normalizeClass([unref(i).e("decrease"),unref(i).is("disabled",unref(c))]),onKeydown:withKeys(_,["enter"])},[renderSlot(e.$slots,"decrease-icon",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[unref(p)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))])),_:1})]))],42,["aria-label","onKeydown"])),[[unref(vRepeatClick),_]]):createCommentVNode("v-if",!0),e.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(r)("el.inputNumber.increase"),class:normalizeClass([unref(i).e("increase"),unref(i).is("disabled",unref(u))]),onKeydown:withKeys(b,["enter"])},[renderSlot(e.$slots,"increase-icon",{},(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[unref(p)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))])),_:1})]))],42,["aria-label","onKeydown"])),[[unref(vRepeatClick),b]]):createCommentVNode("v-if",!0),createVNode$1(unref(ElInput),{id:e.id,ref_key:"input",ref:a,type:"number",step:e.step,"model-value":unref(m),placeholder:e.placeholder,readonly:e.readonly,disabled:unref(h),size:unref(f),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,onKeydown:[withKeys(withModifiers(b,["prevent"]),["up"]),withKeys(withModifiers(_,["prevent"]),["down"])],onBlur:E,onFocus:C,onInput:x,onChange:S},createSlots({_:2},[e.$slots.prefix?{name:"prefix",fn:withCtx((()=>[renderSlot(e.$slots,"prefix")]))}:void 0,e.$slots.suffix?{name:"suffix",fn:withCtx((()=>[renderSlot(e.$slots,"suffix")]))}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"]))}});var InputNumber=_export_sfc(_sfc_main$1a,[["__file","input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),inputTagProps=buildProps({modelValue:{type:definePropType(Array)},max:Number,tagType:{...tagProps.type,default:"info"},tagEffect:tagProps.effect,trigger:{type:definePropType(String),default:EVENT_CODE.enter},draggable:{type:Boolean,default:!1},delimiter:{type:[String,RegExp],default:""},size:useSizeProp,clearable:Boolean,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:String,default:"off"},saveOnBlur:{type:Boolean,default:!0},ariaLabel:String}),inputTagEmits={[UPDATE_MODEL_EVENT]:e=>isArray$6(e)||isUndefined(e),[CHANGE_EVENT]:e=>isArray$6(e)||isUndefined(e),[INPUT_EVENT]:e=>isString$4(e),"add-tag":e=>isString$4(e),"remove-tag":e=>isString$4(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function useInputTag({props:e,emit:t,formItem:n}){const o=useFormDisabled(),r=useFormSize(),i=shallowRef(),a=ref(),l=computed((()=>["small"].includes(r.value)?"small":"default")),s=computed((()=>{var t;return(null==(t=e.modelValue)?void 0:t.length)?void 0:e.placeholder})),c=computed((()=>!(e.readonly||o.value))),u=computed((()=>{var t,n;return!isUndefined(e.max)&&(null!=(n=null==(t=e.modelValue)?void 0:t.length)?n:0)>=e.max})),d=n=>{var o,r;if(u.value)a.value=void 0;else if(!g.value){if(e.delimiter){const t=null==(o=a.value)?void 0:o.replace(e.delimiter,"");(null==t?void 0:t.length)!==(null==(r=a.value)?void 0:r.length)&&(a.value=t,p())}t(INPUT_EVENT,n.target.value)}},p=()=>{var n,o;const r=null==(n=a.value)?void 0:n.trim();if(!r||u.value)return;const i=[...null!=(o=e.modelValue)?o:[],r];t(UPDATE_MODEL_EVENT,i),t(CHANGE_EVENT,i),t("add-tag",r),a.value=void 0},f=n=>{var o;const r=(null!=(o=e.modelValue)?o:[]).slice(),[i]=r.splice(n,1);t(UPDATE_MODEL_EVENT,r),t(CHANGE_EVENT,r),t("remove-tag",i)},{wrapperRef:h,isFocused:m}=useFocusController(i,{beforeFocus:()=>o.value,afterBlur(){var t;e.saveOnBlur?p():a.value=void 0,e.validateEvent&&(null==(t=null==n?void 0:n.validate)||t.call(n,"blur").catch((e=>debugWarn())))}}),{isComposing:g,handleCompositionStart:v,handleCompositionUpdate:y,handleCompositionEnd:b}=useComposition({afterComposition:d});return watch((()=>e.modelValue),(()=>{var t;e.validateEvent&&(null==(t=null==n?void 0:n.validate)||t.call(n,CHANGE_EVENT).catch((e=>debugWarn())))})),{inputRef:i,wrapperRef:h,isFocused:m,isComposing:g,inputValue:a,size:r,tagSize:l,placeholder:s,closable:c,disabled:o,inputLimit:u,handleDragged:(n,o,r)=>{var i;const a=(null!=(i=e.modelValue)?i:[]).slice(),[l]=a.splice(n,1),s=o>n&&"before"===r?-1:o<n&&"after"===r?1:0;a.splice(o+s,0,l),t(UPDATE_MODEL_EVENT,a),t(CHANGE_EVENT,a)},handleInput:d,handleKeydown:t=>{var n;if(!g.value)switch(t.code){case e.trigger:t.preventDefault(),t.stopPropagation(),p();break;case EVENT_CODE.numpadEnter:e.trigger===EVENT_CODE.enter&&(t.preventDefault(),t.stopPropagation(),p());break;case EVENT_CODE.backspace:!a.value&&(null==(n=e.modelValue)?void 0:n.length)&&(t.preventDefault(),t.stopPropagation(),f(e.modelValue.length-1))}},handleAddTag:p,handleRemoveTag:f,handleClear:()=>{a.value=void 0,t(UPDATE_MODEL_EVENT,void 0),t(CHANGE_EVENT,void 0),t("clear")},handleCompositionStart:v,handleCompositionUpdate:y,handleCompositionEnd:b,focus:()=>{var e;null==(e=i.value)||e.focus()},blur:()=>{var e;null==(e=i.value)||e.blur()}}}function useHovering(){const e=ref(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function useCalcInputWidth(){const e=shallowRef(),t=ref(0),n=computed((()=>({minWidth:`${Math.max(t.value,11)}px`})));return useResizeObserver(e,(()=>{var n,o;t.value=null!=(o=null==(n=e.value)?void 0:n.getBoundingClientRect().width)?o:0})),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}function useDragTag({wrapperRef:e,handleDragged:t,afterDragged:n}){const o=useNamespace("input-tag"),r=shallowRef(),i=ref(!1);let a,l,s,c;function u(e){return`.${o.e("inner")} .${o.namespace.value}-tag:nth-child(${e+1})`}return{dropIndicatorRef:r,showDropIndicator:i,handleDragStart:function(t,n){a=n,l=e.value.querySelector(u(n)),l&&(l.style.opacity="0.5"),t.dataTransfer.effectAllowed="move"},handleDragOver:function(t,n){if(s=n,t.preventDefault(),t.dataTransfer.dropEffect="move",isUndefined(a)||a===n)return void(i.value=!1);const l=e.value.querySelector(u(n)).getBoundingClientRect(),d=!(a+1===n),p=!(a-1===n),f=t.clientX-l.left,h=d?p?.5:1:-1,m=p?d?.5:0:1;c=f<=l.width*h?"before":f>l.width*m?"after":void 0;const g=e.value.querySelector(`.${o.e("inner")}`),v=g.getBoundingClientRect(),y=Number.parseFloat(getStyle(g,"gap"))/2,b=l.top-v.top;let _=-9999;if("before"===c)_=Math.max(l.left-v.left-y,Math.floor(-y/2));else if("after"===c){const e=l.right-v.left;_=e+(v.width===e?Math.floor(y/2):y)}setStyle(r.value,{top:`${b}px`,left:`${_}px`}),i.value=!!c},handleDragEnd:function(e){e.preventDefault(),l&&(l.style.opacity=""),!c||isUndefined(a)||isUndefined(s)||a===s||t(a,s,c),i.value=!1,a=void 0,l=null,s=void 0,c=void 0,null==n||n()}}}function useInputTagDom({props:e,isFocused:t,hovering:n,disabled:o,inputValue:r,size:i,validateState:a,validateIcon:l,needStatusIcon:s}){const c=useAttrs$1(),u=useSlots(),d=useNamespace("input-tag"),p=useNamespace("input"),f=computed((()=>[d.b(),d.is("focused",t.value),d.is("hovering",n.value),d.is("disabled",o.value),d.m(i.value),d.e("wrapper"),c.class])),h=computed((()=>[c.style])),m=computed((()=>{var t,n;return[d.e("inner"),d.is("draggable",e.draggable),d.is("left-space",!(null==(t=e.modelValue)?void 0:t.length)&&!u.prefix),d.is("right-space",!(null==(n=e.modelValue)?void 0:n.length)&&!v.value)]})),g=computed((()=>{var i;return e.clearable&&!o.value&&!e.readonly&&((null==(i=e.modelValue)?void 0:i.length)||r.value)&&(t.value||n.value)})),v=computed((()=>u.suffix||g.value||a.value&&l.value&&s.value));return{ns:d,nsInput:p,containerKls:f,containerStyle:h,innerKls:m,showClear:g,showSuffix:v}}const __default__$W=defineComponent({name:"ElInputTag",inheritAttrs:!1}),_sfc_main$19=defineComponent({...__default__$W,props:inputTagProps,emits:inputTagEmits,setup(e,{expose:t,emit:n}){const o=e,r=useAttrs(),i=useSlots(),{form:a,formItem:l}=useFormItem(),{inputId:s}=useFormItemInputId(o,{formItemContext:l}),c=computed((()=>{var e;return null!=(e=null==a?void 0:a.statusIcon)&&e})),u=computed((()=>(null==l?void 0:l.validateState)||"")),d=computed((()=>u.value&&ValidateComponentsMap[u.value])),{inputRef:p,wrapperRef:f,isFocused:h,inputValue:m,size:g,tagSize:v,placeholder:y,closable:b,disabled:_,handleDragged:w,handleInput:k,handleKeydown:x,handleRemoveTag:S,handleClear:C,handleCompositionStart:E,handleCompositionUpdate:T,handleCompositionEnd:A,focus:$,blur:I}=useInputTag({props:o,emit:n,formItem:l}),{hovering:M,handleMouseEnter:P,handleMouseLeave:N}=useHovering(),{calculatorRef:O,inputStyle:R}=useCalcInputWidth(),{dropIndicatorRef:D,showDropIndicator:L,handleDragStart:B,handleDragOver:V,handleDragEnd:z}=useDragTag({wrapperRef:f,handleDragged:w,afterDragged:$}),{ns:F,nsInput:H,containerKls:j,containerStyle:G,innerKls:U,showClear:W,showSuffix:Y}=useInputTagDom({props:o,hovering:M,isFocused:h,inputValue:m,disabled:_,size:g,validateState:u,validateIcon:d,needStatusIcon:c});return t({focus:$,blur:I}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"wrapperRef",ref:f,class:normalizeClass(unref(j)),style:normalizeStyle$1(unref(G)),onMouseenter:unref(P),onMouseleave:unref(N)},[unref(i).prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(F).e("prefix"))},[renderSlot(e.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(U))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.modelValue,((t,n)=>(openBlock(),createBlock(unref(ElTag),{key:n,size:unref(v),closable:unref(b),type:e.tagType,effect:e.tagEffect,draggable:unref(b)&&e.draggable,"disable-transitions":"",onClose:e=>unref(S)(n),onDragstart:e=>unref(B)(e,n),onDragover:e=>unref(V)(e,n),onDragend:unref(z),onDrop:withModifiers((()=>{}),["stop"])},{default:withCtx((()=>[renderSlot(e.$slots,"tag",{value:t,index:n},(()=>[createTextVNode(toDisplayString(t),1)]))])),_:2},1032,["size","closable","type","effect","draggable","onClose","onDragstart","onDragover","onDragend","onDrop"])))),128)),createBaseVNode("div",{class:normalizeClass(unref(F).e("input-wrapper"))},[withDirectives(createBaseVNode("input",mergeProps({id:unref(s),ref_key:"inputRef",ref:p,"onUpdate:modelValue":e=>isRef(m)?m.value=e:null},unref(r),{type:"text",minlength:e.minlength,maxlength:e.maxlength,disabled:unref(_),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,placeholder:unref(y),autofocus:e.autofocus,ariaLabel:e.ariaLabel,class:unref(F).e("input"),style:unref(R),onCompositionstart:unref(E),onCompositionupdate:unref(T),onCompositionend:unref(A),onInput:unref(k),onKeydown:unref(x)}),null,16,["id","onUpdate:modelValue","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onKeydown"]),[[vModelText,unref(m)]]),createBaseVNode("span",{ref_key:"calculatorRef",ref:O,"aria-hidden":"true",class:normalizeClass(unref(F).e("input-calculator")),textContent:toDisplayString(unref(m))},null,10,["textContent"])],2),withDirectives(createBaseVNode("div",{ref_key:"dropIndicatorRef",ref:D,class:normalizeClass(unref(F).e("drop-indicator"))},null,2),[[vShow,unref(L)]])],2),unref(Y)?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(F).e("suffix"))},[renderSlot(e.$slots,"suffix"),unref(W)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(F).e("icon"),unref(F).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:unref(C)},{default:withCtx((()=>[createVNode$1(unref(circle_close_default))])),_:1},8,["class","onMousedown","onClick"])):createCommentVNode("v-if",!0),unref(u)&&unref(d)&&unref(c)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(H).e("icon"),unref(H).e("validateIcon"),unref(H).is("loading","validating"===unref(u))])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(d))))])),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],46,["onMouseenter","onMouseleave"]))}});var InputTag=_export_sfc(_sfc_main$19,[["__file","input-tag.vue"]]);const ElInputTag=withInstall(InputTag),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:"hover"},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:iconPropType}}),linkEmits={click:e=>e instanceof MouseEvent},__default__$V=defineComponent({name:"ElLink"}),_sfc_main$18=defineComponent({...__default__$V,props:linkProps,emits:linkEmits,setup(e,{emit:t}){const n=e;useDeprecated({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},computed((()=>isBoolean(n.underline))));const o=useNamespace("link"),r=computed((()=>[o.b(),o.m(n.type),o.is("disabled",n.disabled),o.is("underline","always"===i.value),o.is("hover-underline","hover"===i.value&&!n.disabled)])),i=computed((()=>isBoolean(n.underline)?n.underline?"hover":"never":n.underline));function a(e){n.disabled||t("click",e)}return(e,t)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(r)),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:a},[e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.icon)))])),_:1})):createCommentVNode("v-if",!0),e.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(o).e("inner"))},[renderSlot(e.$slots,"default")],2)):createCommentVNode("v-if",!0),e.$slots.icon?renderSlot(e.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,["href","target"]))}});var Link=_export_sfc(_sfc_main$18,[["__file","link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,(t=>{t.addEventListener("keydown",(t=>{let n=!1;switch(t.code){case EVENT_CODE.down:this.gotoSubIndex(this.subIndex+1),n=!0;break;case EVENT_CODE.up:this.gotoSubIndex(this.subIndex-1),n=!0;break;case EVENT_CODE.tab:triggerEvent(e,"mouseleave");break;case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:case EVENT_CODE.space:n=!0,t.currentTarget.click()}return n&&(t.preventDefault(),t.stopPropagation()),!1}))}))}},MenuItem$1=class{constructor(e,t){this.domNode=e,this.submenu=null,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new SubMenu$1(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",(e=>{let t=!1;switch(e.code){case EVENT_CODE.down:triggerEvent(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),t=!0;break;case EVENT_CODE.up:triggerEvent(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),t=!0;break;case EVENT_CODE.tab:triggerEvent(e.currentTarget,"mouseleave");break;case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:case EVENT_CODE.space:t=!0,e.currentTarget.click()}t&&e.preventDefault()}))}},Menu$1=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach((t=>{1===t.nodeType&&new MenuItem$1(t,e)}))}};const __default__$U=defineComponent({name:"ElMenuCollapseTransition"}),_sfc_main$17=defineComponent({...__default__$U,setup(e){const t=useNamespace("menu"),n={onBeforeEnter:e=>e.style.opacity="0.2",onEnter(e,n){addClass(e,`${t.namespace.value}-opacity-transition`),e.style.opacity="1",n()},onAfterEnter(e){removeClass(e,`${t.namespace.value}-opacity-transition`),e.style.opacity=""},onBeforeLeave(e){e.dataset||(e.dataset={}),hasClass(e,t.m("collapse"))?(removeClass(e,t.m("collapse")),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth.toString(),addClass(e,t.m("collapse"))):(addClass(e,t.m("collapse")),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth.toString(),removeClass(e,t.m("collapse"))),e.style.width=`${e.scrollWidth}px`,e.style.overflow="hidden"},onLeave(e){addClass(e,"horizontal-collapse-transition"),e.style.width=`${e.dataset.scrollWidth}px`}};return(e,t)=>(openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},unref(n)),{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16))}});var ElMenuCollapseTransition=_export_sfc(_sfc_main$17,[["__file","menu-collapse-transition.vue"]]);function useMenu(e,t){const n=computed((()=>{let n=e.parent;const o=[t.value];for(;"ElMenu"!==n.type.name;)n.props.index&&o.unshift(n.props.index),n=n.parent;return o}));return{parentMenu:computed((()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t})),indexPath:n}}function useMenuColor(e){return computed((()=>{const t=e.backgroundColor;return t?new TinyColor(t).shade(20).toString():""}))}const useMenuCssVar=(e,t)=>{const n=useNamespace("menu");return computed((()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":useMenuColor(e).value||"","active-color":e.activeTextColor||"",level:`${t}`})))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:iconPropType},expandOpenIcon:{type:iconPropType},collapseCloseIcon:{type:iconPropType},collapseOpenIcon:{type:iconPropType}}),COMPONENT_NAME$c="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$c,props:subMenuProps,setup(e,{slots:t,expose:n}){const o=getCurrentInstance(),{indexPath:r,parentMenu:i}=useMenu(o,computed((()=>e.index))),a=useNamespace("menu"),l=useNamespace("sub-menu"),s=inject("rootMenu");s||throwError(COMPONENT_NAME$c,"can not inject root menu");const c=inject(`subMenu:${i.value.uid}`);c||throwError(COMPONENT_NAME$c,"can not inject sub menu");const u=ref({}),d=ref({});let p;const f=ref(!1),h=ref(),m=ref(),g=computed((()=>"horizontal"===S.value&&y.value?"bottom-start":"right-start")),v=computed((()=>"horizontal"===S.value&&y.value||"vertical"===S.value&&!s.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?k.value?e.expandOpenIcon:e.expandCloseIcon:arrow_down_default:e.collapseCloseIcon&&e.collapseOpenIcon?k.value?e.collapseOpenIcon:e.collapseCloseIcon:arrow_right_default)),y=computed((()=>0===c.level)),b=computed((()=>{const t=e.teleported;return isUndefined(t)?y.value:t})),_=computed((()=>s.props.collapse?`${a.namespace.value}-zoom-in-left`:`${a.namespace.value}-zoom-in-top`)),w=computed((()=>"horizontal"===S.value&&y.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"])),k=computed((()=>s.openedMenus.includes(e.index))),x=computed((()=>[...Object.values(u.value),...Object.values(d.value)].some((({active:e})=>e)))),S=computed((()=>s.props.mode)),C=computed((()=>s.props.persistent)),E=reactive({index:e.index,indexPath:r,active:x}),T=useMenuCssVar(s.props,c.level+1),A=computed((()=>{var t;return null!=(t=e.popperOffset)?t:s.props.popperOffset})),$=computed((()=>{var t;return null!=(t=e.popperClass)?t:s.props.popperClass})),I=computed((()=>{var t;return null!=(t=e.showTimeout)?t:s.props.showTimeout})),M=computed((()=>{var t;return null!=(t=e.hideTimeout)?t:s.props.hideTimeout})),P=e=>{var t,n,o;e||null==(o=null==(n=null==(t=m.value)?void 0:t.popperRef)?void 0:n.popperInstanceRef)||o.destroy()},N=()=>{"hover"===s.props.menuTrigger&&"horizontal"===s.props.mode||s.props.collapse&&"vertical"===s.props.mode||e.disabled||s.handleSubMenuClick({index:e.index,indexPath:r.value,active:x.value})},O=(t,n=I.value)=>{var o;"focus"!==t.type&&("click"===s.props.menuTrigger&&"horizontal"===s.props.mode||!s.props.collapse&&"vertical"===s.props.mode||e.disabled?c.mouseInChild.value=!0:(c.mouseInChild.value=!0,null==p||p(),({stop:p}=useTimeoutFn((()=>{s.openMenu(e.index,r.value)}),n)),b.value&&(null==(o=i.value.vnode.el)||o.dispatchEvent(new MouseEvent("mouseenter")))))},R=(t=!1)=>{var n;"click"===s.props.menuTrigger&&"horizontal"===s.props.mode||!s.props.collapse&&"vertical"===s.props.mode?c.mouseInChild.value=!1:(null==p||p(),c.mouseInChild.value=!1,({stop:p}=useTimeoutFn((()=>!f.value&&s.closeMenu(e.index,r.value)),M.value)),b.value&&t&&(null==(n=c.handleMouseleave)||n.call(c,!0)))};watch((()=>s.props.collapse),(e=>P(Boolean(e))));{const e=e=>{d.value[e.index]=e},t=e=>{delete d.value[e.index]};provide(`subMenu:${o.uid}`,{addSubMenu:e,removeSubMenu:t,handleMouseleave:R,mouseInChild:f,level:c.level+1})}return n({opened:k}),onMounted((()=>{s.addSubMenu(E),c.addSubMenu(E)})),onBeforeUnmount((()=>{c.removeSubMenu(E),s.removeSubMenu(E)})),()=>{var n;const r=[null==(n=t.title)?void 0:n.call(t),h$5(ElIcon,{class:l.e("icon-arrow"),style:{transform:k.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&s.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$4(v.value)?h$5(o.appContext.components[v.value]):h$5(v.value)})],i=s.isMenuPopup?h$5(ElTooltip,{ref:m,visible:k.value,effect:"light",pure:!0,offset:A.value,showArrow:!1,persistent:C.value,popperClass:$.value,placement:g.value,teleported:b.value,fallbackPlacements:w.value,transition:_.value,gpuAcceleration:!1},{content:()=>{var e;return h$5("div",{class:[a.m(S.value),a.m("popup-container"),$.value],onMouseenter:e=>O(e,100),onMouseleave:()=>R(!0),onFocus:e=>O(e,100)},[h$5("ul",{class:[a.b(),a.m("popup"),a.m(`popup-${g.value}`)],style:T.value},[null==(e=t.default)?void 0:e.call(t)])])},default:()=>h$5("div",{class:l.e("title"),onClick:N},r)}):h$5(Fragment,{},[h$5("div",{class:l.e("title"),ref:h,onClick:N},r),h$5(ElCollapseTransition,{},{default:()=>{var e;return withDirectives(h$5("ul",{role:"menu",class:[a.b(),a.m("inline")],style:T.value},[null==(e=t.default)?void 0:e.call(t)]),[[vShow,k.value]])}})]);return h$5("li",{class:[l.b(),l.is("active",x.value),l.is("opened",k.value),l.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:k.value,onMouseenter:O,onMouseleave:()=>R(),onFocus:O},[i])}}});const menuProps=buildProps({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:definePropType(Array),default:()=>mutable([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:iconPropType,default:()=>more_default},popperEffect:{type:definePropType(String),default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),checkIndexPath=e=>isArray$6(e)&&e.every((e=>isString$4(e))),menuEmits={close:(e,t)=>isString$4(e)&&checkIndexPath(t),open:(e,t)=>isString$4(e)&&checkIndexPath(t),select:(e,t,n,o)=>isString$4(e)&&checkIndexPath(t)&&isObject$8(n)&&(isUndefined(o)||o instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(e,{emit:t,slots:n,expose:o}){const r=getCurrentInstance(),i=r.appContext.config.globalProperties.$router,a=ref(),l=useNamespace("menu"),s=useNamespace("sub-menu"),c=ref(-1),u=ref(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),d=ref(e.defaultActive),p=ref({}),f=ref({}),h=computed((()=>"horizontal"===e.mode||"vertical"===e.mode&&e.collapse)),m=(n,o)=>{u.value.includes(n)||(e.uniqueOpened&&(u.value=u.value.filter((e=>o.includes(e)))),u.value.push(n),t("open",n,o))},g=e=>{const t=u.value.indexOf(e);-1!==t&&u.value.splice(t,1)},v=(e,n)=>{g(e),t("close",e,n)},y=({index:e,indexPath:t})=>{u.value.includes(e)?v(e,t):m(e,t)},b=n=>{("horizontal"===e.mode||e.collapse)&&(u.value=[]);const{index:o,indexPath:r}=n;if(!isNil(o)&&!isNil(r))if(e.router&&i){const e=n.route||o,a=i.push(e).then((e=>(e||(d.value=o),e)));t("select",o,r,{index:o,indexPath:r,route:e},a)}else d.value=o,t("select",o,r,{index:o,indexPath:r})},_=t=>{var n;const o=p.value,r=o[t]||d.value&&o[d.value]||o[e.defaultActive];d.value=null!=(n=null==r?void 0:r.index)?n:t},w=()=>{var e,t;if(!a.value)return-1;const n=Array.from(null!=(t=null==(e=a.value)?void 0:e.childNodes)?t:[]).filter((e=>"#text"!==e.nodeName||e.nodeValue)),o=getComputedStyle(a.value),r=Number.parseInt(o.paddingLeft,10),i=Number.parseInt(o.paddingRight,10),l=a.value.clientWidth-r-i;let s=0,c=0;return n.forEach(((e,t)=>{"#comment"!==e.nodeName&&(s+=(e=>{const t=getComputedStyle(e),n=Number.parseInt(t.marginLeft,10),o=Number.parseInt(t.marginRight,10);return e.offsetWidth+n+o||0})(e),s<=l-64&&(c=t+1))})),c===n.length?-1:c};let k=!0;const x=()=>{if(c.value===w())return;const e=()=>{c.value=-1,nextTick((()=>{c.value=w()}))};k?e():((e,t=33.34)=>{let n;return()=>{n&&clearTimeout(n),n=setTimeout((()=>{e()}),t)}})(e)(),k=!1};let S;watch((()=>e.defaultActive),(e=>{p.value[e]||(d.value=""),_(e)})),watch((()=>e.collapse),(e=>{e&&(u.value=[])})),watch(p.value,(()=>{const t=d.value&&p.value[d.value];if(!t||"horizontal"===e.mode||e.collapse)return;t.indexPath.forEach((e=>{const t=f.value[e];t&&m(e,t.indexPath)}))})),watchEffect((()=>{"horizontal"===e.mode&&e.ellipsis?S=useResizeObserver(a,x).stop:null==S||S()}));const C=ref(!1);{const t=e=>{f.value[e.index]=e},n=e=>{delete f.value[e.index]},o=e=>{p.value[e.index]=e},i=e=>{delete p.value[e.index]};provide("rootMenu",reactive({props:e,openedMenus:u,items:p,subMenus:f,activeIndex:d,isMenuPopup:h,addMenuItem:o,removeMenuItem:i,addSubMenu:t,removeSubMenu:n,openMenu:m,closeMenu:v,handleMenuItemClick:b,handleSubMenuClick:y})),provide(`subMenu:${r.uid}`,{addSubMenu:t,removeSubMenu:n,mouseInChild:C,level:0})}onMounted((()=>{"horizontal"===e.mode&&new Menu$1(r.vnode.el,l.namespace.value)}));{const e=e=>{const{indexPath:t}=f.value[e];t.forEach((e=>m(e,t)))};o({open:e,close:g,updateActiveIndex:_,handleResize:x})}const E=useMenuCssVar(e,0);return()=>{var o,r;let i=null!=(r=null==(o=n.default)?void 0:o.call(n))?r:[];const d=[];if("horizontal"===e.mode&&a.value){const t=flattedChildren(i),n=-1===c.value?t:t.slice(0,c.value),o=-1===c.value?[]:t.slice(c.value);(null==o?void 0:o.length)&&e.ellipsis&&(i=n,d.push(h$5(SubMenu,{index:"sub-menu-more",class:s.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>h$5(ElIcon,{class:s.e("icon-more")},{default:()=>h$5(e.ellipsisIcon)}),default:()=>o})))}const p=e.closeOnClickOutside?[[ClickOutside,()=>{u.value.length&&(C.value||(u.value.forEach((e=>{return t("close",e,(n=e,f.value[n].indexPath));var n})),u.value=[]))}]]:[],h=withDirectives(h$5("ul",{key:String(e.collapse),role:"menubar",ref:a,style:E.value,class:{[l.b()]:!0,[l.m(e.mode)]:!0,[l.m("collapse")]:e.collapse}},[...i,...d]),p);return e.collapseTransition&&"vertical"===e.mode?h$5(ElMenuCollapseTransition,(()=>h)):h}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:e=>isString$4(e.index)&&isArray$6(e.indexPath)},COMPONENT_NAME$b="ElMenuItem",__default__$T=defineComponent({name:COMPONENT_NAME$b}),_sfc_main$16=defineComponent({...__default__$T,props:menuItemProps,emits:menuItemEmits,setup(e,{expose:t,emit:n}){const o=e,r=getCurrentInstance(),i=inject("rootMenu"),a=useNamespace("menu"),l=useNamespace("menu-item");i||throwError(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:s,indexPath:c}=useMenu(r,toRef$1(o,"index")),u=inject(`subMenu:${s.value.uid}`);u||throwError(COMPONENT_NAME$b,"can not inject sub menu");const d=computed((()=>o.index===i.activeIndex)),p=reactive({index:o.index,indexPath:c,active:d}),f=()=>{o.disabled||(i.handleMenuItemClick({index:o.index,indexPath:c.value,route:o.route}),n("click",p))};return onMounted((()=>{u.addSubMenu(p),i.addMenuItem(p)})),onBeforeUnmount((()=>{u.removeSubMenu(p),i.removeMenuItem(p)})),t({parentMenu:s,rootMenu:i,active:d,nsMenu:a,nsMenuItem:l,handleClick:f}),(e,t)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(l).b(),unref(l).is("active",unref(d)),unref(l).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:f},["ElMenu"===unref(s).type.name&&unref(i).props.collapse&&e.$slots.title?(openBlock(),createBlock(unref(ElTooltip),{key:0,effect:unref(i).props.popperEffect,placement:"right","fallback-placements":["left"],persistent:unref(i).props.persistent},{content:withCtx((()=>[renderSlot(e.$slots,"title")])),default:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(unref(a).be("tooltip","trigger"))},[renderSlot(e.$slots,"default")],2)])),_:3},8,["effect","persistent"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(e.$slots,"default"),renderSlot(e.$slots,"title")],64))],2))}});var MenuItem=_export_sfc(_sfc_main$16,[["__file","menu-item.vue"]]);const menuItemGroupProps={title:String},__default__$S=defineComponent({name:"ElMenuItemGroup"}),_sfc_main$15=defineComponent({...__default__$S,props:menuItemGroupProps,setup(e){const t=useNamespace("menu-item-group");return(e,n)=>(openBlock(),createElementBlock("li",{class:normalizeClass(unref(t).b())},[createBaseVNode("div",{class:normalizeClass(unref(t).e("title"))},[e.$slots.title?renderSlot(e.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(e.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(e.$slots,"default")])],2))}});var MenuItemGroup=_export_sfc(_sfc_main$15,[["__file","menu-item-group.vue"]]);const ElMenu=withInstall(Menu,{MenuItem:MenuItem,MenuItemGroup:MenuItemGroup,SubMenu:SubMenu}),ElMenuItem=withNoopInstall(MenuItem),ElMenuItemGroup=withNoopInstall(MenuItemGroup),ElSubMenu=withNoopInstall(SubMenu),pageHeaderProps=buildProps({icon:{type:iconPropType,default:()=>back_default},title:String,content:{type:String,default:""}}),pageHeaderEmits={back:()=>!0},__default__$R=defineComponent({name:"ElPageHeader"}),_sfc_main$14=defineComponent({...__default__$R,props:pageHeaderProps,emits:pageHeaderEmits,setup(e,{emit:t}){const{t:n}=useLocale(),o=useNamespace("page-header");function r(){t("back")}return(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(o).b(),{[unref(o).m("has-breadcrumb")]:!!e.$slots.breadcrumb,[unref(o).m("has-extra")]:!!e.$slots.extra,[unref(o).is("contentful")]:!!e.$slots.default}])},[e.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).e("breadcrumb"))},[renderSlot(e.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(o).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(o).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(o).e("back")),role:"button",tabindex:"0",onClick:r},[e.icon||e.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":e.title||unref(n)("el.pageHeader.title"),class:normalizeClass(unref(o).e("icon"))},[renderSlot(e.$slots,"icon",{},(()=>[e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.icon)))])),_:1})):createCommentVNode("v-if",!0)]))],10,["aria-label"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(o).e("title"))},[renderSlot(e.$slots,"title",{},(()=>[createTextVNode(toDisplayString(e.title||unref(n)("el.pageHeader.title")),1)]))],2)],2),createVNode$1(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(o).e("content"))},[renderSlot(e.$slots,"content",{},(()=>[createTextVNode(toDisplayString(e.content),1)]))],2)],2),e.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).e("extra"))},[renderSlot(e.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),e.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(o).e("main"))},[renderSlot(e.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc(_sfc_main$14,[["__file","page-header.vue"]]);const ElPageHeader=withInstall(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:e=>e instanceof MouseEvent},__default__$Q=defineComponent({name:"ElPaginationPrev"}),_sfc_main$13=defineComponent({...__default__$Q,props:paginationPrevProps,emits:paginationPrevEmits,setup(e){const t=e,{t:n}=useLocale(),o=computed((()=>t.disabled||t.currentPage<=1));return(e,t)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(o),"aria-label":e.prevText||unref(n)("el.pagination.prev"),"aria-disabled":unref(o),onClick:t=>e.$emit("click",t)},[e.prevText?(openBlock(),createElementBlock("span",{key:0},toDisplayString(e.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.prevIcon)))])),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var Prev=_export_sfc(_sfc_main$13,[["__file","prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),__default__$P=defineComponent({name:"ElPaginationNext"}),_sfc_main$12=defineComponent({...__default__$P,props:paginationNextProps,emits:["click"],setup(e){const t=e,{t:n}=useLocale(),o=computed((()=>t.disabled||t.currentPage===t.pageCount||0===t.pageCount));return(e,t)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(o),"aria-label":e.nextText||unref(n)("el.pagination.next"),"aria-disabled":unref(o),onClick:t=>e.$emit("click",t)},[e.nextText?(openBlock(),createElementBlock("span",{key:0},toDisplayString(e.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.nextIcon)))])),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var Next=_export_sfc(_sfc_main$12,[["__file","next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect"),COMPONENT_NAME$a="ElOption",optionProps=buildProps({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function useOption$1(e,t){const n=inject(selectKey);n||throwError(COMPONENT_NAME$a,"usage: <el-select><el-option /></el-select/>");const o=inject(selectGroupKey,{disabled:!1}),r=computed((()=>u(castArray$1(n.props.modelValue),e.value))),i=computed((()=>{var e;if(n.props.multiple){const t=castArray$1(null!=(e=n.props.modelValue)?e:[]);return!r.value&&t.length>=n.props.multipleLimit&&n.props.multipleLimit>0}return!1})),a=computed((()=>e.label||(isObject$8(e.value)?"":e.value))),l=computed((()=>e.value||e.label||"")),s=computed((()=>e.disabled||t.groupDisabled||i.value)),c=getCurrentInstance(),u=(t=[],o)=>{if(isObject$8(e.value)){const e=n.props.valueKey;return t&&t.some((t=>toRaw(get$1(t,e))===get$1(o,e)))}return t&&t.includes(o)};return watch((()=>a.value),(()=>{e.created||n.props.remote||n.setSelected()})),watch((()=>e.value),((t,o)=>{const{remote:r,valueKey:i}=n.props;if((r?t!==o:!isEqual$1(t,o))&&(n.onOptionDestroy(o,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!r){if(i&&isObject$8(t)&&isObject$8(o)&&t[i]===o[i])return;n.setSelected()}})),watch((()=>o.disabled),(()=>{t.groupDisabled=o.disabled}),{immediate:!0}),{select:n,currentLabel:a,currentValue:l,itemSelected:r,isDisabled:s,hoverItem:()=>{e.disabled||o.disabled||(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},updateOption:n=>{const o=new RegExp(escapeStringRegexp(n),"i");t.visible=o.test(String(a.value))||e.created}}}const _sfc_main$11=defineComponent({name:COMPONENT_NAME$a,componentName:COMPONENT_NAME$a,props:optionProps,setup(e){const t=useNamespace("select"),n=useId(),o=computed((()=>[t.be("dropdown","item"),t.is("disabled",unref(l)),t.is("selected",unref(a)),t.is("hovering",unref(p))])),r=reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:i,itemSelected:a,isDisabled:l,select:s,hoverItem:c,updateOption:u}=useOption$1(e,r),{visible:d,hover:p}=toRefs(r),f=getCurrentInstance().proxy;return s.onOptionCreate(f),onBeforeUnmount((()=>{const e=f.value,{selected:t}=s.states,n=t.some((e=>e.value===f.value));nextTick((()=>{s.states.cachedOptions.get(e)!==f||n||s.states.cachedOptions.delete(e)})),s.onOptionDestroy(e,f)})),{ns:t,id:n,containerKls:o,currentLabel:i,itemSelected:a,isDisabled:l,select:s,visible:d,hover:p,states:r,hoverItem:c,updateOption:u,selectOptionClick:function(){l.value||s.handleOptionSelect(f)}}}});function _sfc_render$b(e,t){return withDirectives((openBlock(),createElementBlock("li",{id:e.id,class:normalizeClass(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:e.hoverItem,onClick:withModifiers(e.selectOptionClick,["stop"])},[renderSlot(e.$slots,"default",{},(()=>[createBaseVNode("span",null,toDisplayString(e.currentLabel),1)]))],42,["id","aria-disabled","aria-selected","onMousemove","onClick"])),[[vShow,e.visible]])}var Option=_export_sfc(_sfc_main$11,[["render",_sfc_render$b],["__file","option.vue"]]);const _sfc_main$10=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=inject(selectKey),t=useNamespace("select"),n=computed((()=>e.props.popperClass)),o=computed((()=>e.props.multiple)),r=computed((()=>e.props.fitInputWidth)),i=ref("");function a(){var t;i.value=`${null==(t=e.selectRef)?void 0:t.offsetWidth}px`}return onMounted((()=>{a(),useResizeObserver(e.selectRef,a)})),{ns:t,minWidth:i,popperClass:n,isMultiple:o,isFitInputWidth:r}}});function _sfc_render$a(e,t,n,o,r,i){return openBlock(),createElementBlock("div",{class:normalizeClass([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:normalizeStyle$1({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(e.ns.be("dropdown","header"))},[renderSlot(e.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(e.$slots,"default"),e.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(e.ns.be("dropdown","footer"))},[renderSlot(e.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu$1=_export_sfc(_sfc_main$10,[["render",_sfc_render$a],["__file","select-dropdown.vue"]]);const useSelect$2=(e,t)=>{const{t:n}=useLocale(),o=useId(),r=useNamespace("select"),i=useNamespace("input"),a=reactive({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),l=ref(),s=ref(),c=ref(),u=ref(),d=ref(),p=ref(),f=ref(),h=ref(),m=ref(),g=ref(),v=ref(),{isComposing:y,handleCompositionStart:b,handleCompositionUpdate:_,handleCompositionEnd:w}=useComposition({afterComposition:e=>se(e)}),{wrapperRef:k,isFocused:x,handleBlur:S}=useFocusController(d,{beforeFocus:()=>P.value,afterFocus(){e.automaticDropdown&&!C.value&&(C.value=!0,a.menuVisibleOnFocus=!0)},beforeBlur(e){var t,n;return(null==(t=c.value)?void 0:t.isFocusInsideContent(e))||(null==(n=u.value)?void 0:n.isFocusInsideContent(e))},afterBlur(){var t;C.value=!1,a.menuVisibleOnFocus=!1,e.validateEvent&&(null==(t=null==A?void 0:A.validate)||t.call(A,"blur").catch((e=>debugWarn())))}}),C=ref(!1),E=ref(),{form:T,formItem:A}=useFormItem(),{inputId:$}=useFormItemInputId(e,{formItemContext:A}),{valueOnClear:I,isEmptyValue:M}=useEmptyValues(e),P=computed((()=>e.disabled||(null==T?void 0:T.disabled))),N=computed((()=>isArray$6(e.modelValue)?e.modelValue.length>0:!M(e.modelValue))),O=computed((()=>{var e;return null!=(e=null==T?void 0:T.statusIcon)&&e})),R=computed((()=>e.clearable&&!P.value&&a.inputHovering&&N.value)),D=computed((()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon)),L=computed((()=>r.is("reverse",!(!D.value||!C.value)))),B=computed((()=>(null==A?void 0:A.validateState)||"")),V=computed((()=>B.value&&ValidateComponentsMap[B.value])),z=computed((()=>e.remote?300:0)),F=computed((()=>e.remote&&!a.inputValue&&0===a.options.size)),H=computed((()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&a.inputValue&&a.options.size>0&&0===j.value?e.noMatchText||n("el.select.noMatch"):0===a.options.size?e.noDataText||n("el.select.noData"):null)),j=computed((()=>G.value.filter((e=>e.visible)).length)),G=computed((()=>{const e=Array.from(a.options.values()),t=[];return a.optionValues.forEach((n=>{const o=e.findIndex((e=>e.value===n));o>-1&&t.push(e[o])})),t.length>=e.length?t:e})),U=computed((()=>Array.from(a.cachedOptions.values()))),W=computed((()=>{const t=G.value.filter((e=>!e.created)).some((e=>e.currentLabel===a.inputValue));return e.filterable&&e.allowCreate&&""!==a.inputValue&&!t})),Y=()=>{e.filterable&&isFunction$5(e.filterMethod)||e.filterable&&e.remote&&isFunction$5(e.remoteMethod)||G.value.forEach((e=>{var t;null==(t=e.updateOption)||t.call(e,a.inputValue)}))},q=useFormSize(),K=computed((()=>["small"].includes(q.value)?"small":"default")),Z=computed({get:()=>C.value&&!F.value,set(e){C.value=e}}),X=computed((()=>{if(e.multiple&&!isUndefined(e.modelValue))return 0===castArray$1(e.modelValue).length&&!a.inputValue;const t=isArray$6(e.modelValue)?e.modelValue[0]:e.modelValue;return!e.filterable&&!isUndefined(t)||!a.inputValue})),J=computed((()=>{var t;const o=null!=(t=e.placeholder)?t:n("el.select.placeholder");return e.multiple||!N.value?o:a.selectedLabel})),Q=computed((()=>isIOS?null:"mouseenter"));watch((()=>e.modelValue),((t,n)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(a.inputValue="",ee("")),ne(),!isEqual$1(t,n)&&e.validateEvent&&(null==A||A.validate("change").catch((e=>debugWarn())))}),{flush:"post",deep:!0}),watch((()=>C.value),(e=>{e?ee(a.inputValue):(a.inputValue="",a.previousQuery=null,a.isBeforeHide=!0),t("visible-change",e)})),watch((()=>a.options.entries()),(()=>{isClient&&(ne(),e.defaultFirstOption&&(e.filterable||e.remote)&&j.value&&te())}),{flush:"post"}),watch([()=>a.hoveringIndex,G],(([e])=>{isNumber(e)&&e>-1?E.value=G.value[e]||{}:E.value={},G.value.forEach((e=>{e.hover=E.value===e}))})),watchEffect((()=>{a.isBeforeHide||Y()}));const ee=t=>{a.previousQuery===t||y.value||(a.previousQuery=t,e.filterable&&isFunction$5(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&isFunction$5(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&j.value?nextTick(te):nextTick(re))},te=()=>{const e=G.value.filter((e=>e.visible&&!e.disabled&&!e.states.groupDisabled)),t=e.find((e=>e.created)),n=e[0],o=G.value.map((e=>e.value));a.hoveringIndex=fe(o,t||n)},ne=()=>{if(!e.multiple){const t=isArray$6(e.modelValue)?e.modelValue[0]:e.modelValue,n=oe(t);return a.selectedLabel=n.currentLabel,void(a.selected=[n])}a.selectedLabel="";const t=[];isUndefined(e.modelValue)||castArray$1(e.modelValue).forEach((e=>{t.push(oe(e))})),a.selected=t},oe=t=>{let n;const o=isPlainObject$4(t);for(let r=a.cachedOptions.size-1;r>=0;r--){const i=U.value[r];if(o?get$1(i.value,e.valueKey)===get$1(t,e.valueKey):i.value===t){n={value:t,currentLabel:i.currentLabel,get isDisabled(){return i.isDisabled}};break}}if(n)return n;return{value:t,currentLabel:o?t.label:null!=t?t:""}},re=()=>{a.hoveringIndex=G.value.findIndex((e=>a.selected.some((t=>ye(t)===ye(e)))))},ie=()=>{var e,t;null==(t=null==(e=c.value)?void 0:e.updatePopper)||t.call(e)},ae=()=>{var e,t;null==(t=null==(e=u.value)?void 0:e.updatePopper)||t.call(e)},le=()=>{a.inputValue.length>0&&!C.value&&(C.value=!0),ee(a.inputValue)},se=t=>{if(a.inputValue=t.target.value,!e.remote)return le();ce()},ce=debounce((()=>{le()}),z.value),ue=n=>{isEqual$1(e.modelValue,n)||t(CHANGE_EVENT,n)},de=n=>{n.stopPropagation();const o=e.multiple?[]:I.value;if(e.multiple)for(const e of a.selected)e.isDisabled&&o.push(e.value);t(UPDATE_MODEL_EVENT,o),ue(o),a.hoveringIndex=-1,C.value=!1,t("clear"),ge()},pe=n=>{var o;if(e.multiple){const r=castArray$1(null!=(o=e.modelValue)?o:[]).slice(),i=fe(r,n);i>-1?r.splice(i,1):(e.multipleLimit<=0||r.length<e.multipleLimit)&&r.push(n.value),t(UPDATE_MODEL_EVENT,r),ue(r),n.created&&ee(""),e.filterable&&!e.reserveKeyword&&(a.inputValue="")}else t(UPDATE_MODEL_EVENT,n.value),ue(n.value),C.value=!1;ge(),C.value||nextTick((()=>{he(n)}))},fe=(t,n)=>isUndefined(n)?-1:isObject$8(n.value)?t.findIndex((t=>isEqual$1(get$1(t,e.valueKey),ye(n)))):t.indexOf(n.value),he=e=>{var t,n,o,i,a;const l=isArray$6(e)?e[0]:e;let s=null;if(null==l?void 0:l.value){const e=G.value.filter((e=>e.value===l.value));e.length>0&&(s=e[0].$el)}if(c.value&&s){const e=null==(i=null==(o=null==(n=null==(t=c.value)?void 0:t.popperRef)?void 0:n.contentRef)?void 0:o.querySelector)?void 0:i.call(o,`.${r.be("dropdown","wrap")}`);e&&scrollIntoView(e,s)}null==(a=v.value)||a.handleScroll()},me=computed((()=>{var e,t;return null==(t=null==(e=c.value)?void 0:e.popperRef)?void 0:t.contentRef})),ge=()=>{var e;null==(e=d.value)||e.focus()},ve=()=>{P.value||(isIOS&&(a.inputHovering=!0),a.menuVisibleOnFocus?a.menuVisibleOnFocus=!1:C.value=!C.value)},ye=t=>isObject$8(t.value)?get$1(t.value,e.valueKey):t.value,be=computed((()=>G.value.filter((e=>e.visible)).every((e=>e.isDisabled)))),_e=computed((()=>e.multiple?e.collapseTags?a.selected.slice(0,e.maxCollapseTags):a.selected:[])),we=computed((()=>e.multiple&&e.collapseTags?a.selected.slice(e.maxCollapseTags):[])),ke=e=>{if(C.value){if(0!==a.options.size&&0!==j.value&&!y.value&&!be.value){"next"===e?(a.hoveringIndex++,a.hoveringIndex===a.options.size&&(a.hoveringIndex=0)):"prev"===e&&(a.hoveringIndex--,a.hoveringIndex<0&&(a.hoveringIndex=a.options.size-1));const t=G.value[a.hoveringIndex];!t.isDisabled&&t.visible||ke(e),nextTick((()=>he(E.value)))}}else C.value=!0},xe=computed((()=>{const t=(()=>{if(!s.value)return 0;const e=window.getComputedStyle(s.value);return Number.parseFloat(e.gap||"6px")})();return{maxWidth:`${g.value&&1===e.maxCollapseTags?a.selectionWidth-a.collapseItemWidth-t:a.selectionWidth}px`}})),Se=computed((()=>({maxWidth:`${a.selectionWidth}px`})));return useResizeObserver(s,(()=>{a.selectionWidth=Number.parseFloat(window.getComputedStyle(s.value).width)})),useResizeObserver(h,ie),useResizeObserver(k,ie),useResizeObserver(m,ae),useResizeObserver(g,(()=>{a.collapseItemWidth=g.value.getBoundingClientRect().width})),onMounted((()=>{ne()})),{inputId:$,contentId:o,nsSelect:r,nsInput:i,states:a,isFocused:x,expanded:C,optionsArray:G,hoverOption:E,selectSize:q,filteredOptionsCount:j,updateTooltip:ie,updateTagTooltip:ae,debouncedOnInputChange:ce,onInput:se,deletePrevTag:n=>{if(e.multiple&&n.code!==EVENT_CODE.delete&&n.target.value.length<=0){const n=castArray$1(e.modelValue).slice(),o=(e=>findLastIndex(e,(e=>{const t=a.cachedOptions.get(e);return t&&!t.disabled&&!t.states.groupDisabled})))(n);if(o<0)return;const r=n[o];n.splice(o,1),t(UPDATE_MODEL_EVENT,n),ue(n),t("remove-tag",r)}},deleteTag:(n,o)=>{const r=a.selected.indexOf(o);if(r>-1&&!P.value){const n=castArray$1(e.modelValue).slice();n.splice(r,1),t(UPDATE_MODEL_EVENT,n),ue(n),t("remove-tag",o.value)}n.stopPropagation(),ge()},deleteSelected:de,handleOptionSelect:pe,scrollToOption:he,hasModelValue:N,shouldShowPlaceholder:X,currentPlaceholder:J,mouseEnterEventName:Q,needStatusIcon:O,showClose:R,iconComponent:D,iconReverse:L,validateState:B,validateIcon:V,showNewOption:W,updateOptions:Y,collapseTagSize:K,setSelected:ne,selectDisabled:P,emptyText:H,handleCompositionStart:b,handleCompositionUpdate:_,handleCompositionEnd:w,onOptionCreate:e=>{a.options.set(e.value,e),a.cachedOptions.set(e.value,e)},onOptionDestroy:(e,t)=>{a.options.get(e)===t&&a.options.delete(e)},handleMenuEnter:()=>{a.isBeforeHide=!1,nextTick((()=>{var e;null==(e=v.value)||e.update(),he(a.selected)}))},focus:ge,blur:()=>{var e;if(C.value)return C.value=!1,void nextTick((()=>{var e;return null==(e=d.value)?void 0:e.blur()}));null==(e=d.value)||e.blur()},handleClearClick:e=>{de(e)},handleClickOutside:e=>{if(C.value=!1,x.value){const t=new FocusEvent("focus",e);nextTick((()=>S(t)))}},handleEsc:()=>{a.inputValue.length>0?a.inputValue="":C.value=!1},toggleMenu:ve,selectOption:()=>{if(C.value){const e=G.value[a.hoveringIndex];e&&!e.isDisabled&&pe(e)}else ve()},getValueKey:ye,navigateOptions:ke,dropdownMenuVisible:Z,showTagList:_e,collapseTagList:we,popupScroll:e=>{t("popup-scroll",e)},tagStyle:xe,collapseTagStyle:Se,popperRef:me,inputRef:d,tooltipRef:c,tagTooltipRef:u,prefixRef:p,suffixRef:f,selectRef:l,wrapperRef:k,selectionRef:s,scrollbarRef:v,menuRef:h,tagMenuRef:m,collapseItemRef:g}};var ElOptions=defineComponent({name:"ElOptions",setup(e,{slots:t}){const n=inject(selectKey);let o=[];return()=>{var e,r;const i=null==(e=t.default)?void 0:e.call(t),a=[];return i.length&&function e(t){isArray$6(t)&&t.forEach((t=>{var n,o,r,i;const l=null==(n=(null==t?void 0:t.type)||{})?void 0:n.name;"ElOptionGroup"===l?e(isString$4(t.children)||isArray$6(t.children)||!isFunction$5(null==(o=t.children)?void 0:o.default)?t.children:null==(r=t.children)?void 0:r.default()):"ElOption"===l?a.push(null==(i=t.props)?void 0:i.value):isArray$6(t.children)&&e(t.children)}))}(null==(r=i[0])?void 0:r.children),isEqual$1(a,o)||(o=a,n&&(n.states.optionValues=a)),i}}});const SelectProps$1=buildProps({name:String,id:String,modelValue:{type:definePropType([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:useSizeProp,effect:{type:definePropType(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},tagEffect:{...tagProps.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:useTooltipContentProps.appendTo,...useEmptyValuesProps,...useAriaProps(["ariaLabel"])});scrollbarEmits.scroll;const COMPONENT_NAME$9="ElSelect",_sfc_main$$=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions:ElOptions,ElTag:ElTag,ElScrollbar:ElScrollbar,ElTooltip:ElTooltip,ElIcon:ElIcon},directives:{ClickOutside:ClickOutside},props:SelectProps$1,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t}){const n=computed((()=>{const{modelValue:t,multiple:n}=e,o=n?[]:void 0;return isArray$6(t)?n?t:o:n?o:t})),o=reactive({...toRefs(e),modelValue:n}),r=useSelect$2(o,t),{calculatorRef:i,inputStyle:a}=useCalcInputWidth();provide(selectKey,reactive({props:o,states:r.states,selectRef:r.selectRef,optionsArray:r.optionsArray,setSelected:r.setSelected,handleOptionSelect:r.handleOptionSelect,onOptionCreate:r.onOptionCreate,onOptionDestroy:r.onOptionDestroy}));const l=computed((()=>e.multiple?r.states.selected.map((e=>e.currentLabel)):r.states.selectedLabel));return{...r,modelValue:n,selectedLabel:l,calculatorRef:i,inputStyle:a}}});function _sfc_render$9(e,t){const n=resolveComponent("el-tag"),o=resolveComponent("el-tooltip"),r=resolveComponent("el-icon"),i=resolveComponent("el-option"),a=resolveComponent("el-options"),l=resolveComponent("el-scrollbar"),s=resolveComponent("el-select-menu"),c=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[toHandlerKey(e.mouseEnterEventName)]:t=>e.states.inputHovering=!0,onMouseleave:t=>e.states.inputHovering=!1},[createVNode$1(o,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t=>e.states.isBeforeHide=!1},{default:withCtx((()=>{var t;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:withModifiers(e.toggleMenu,["prevent"])},[e.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(e.nsSelect.e("prefix"))},[renderSlot(e.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?renderSlot(e.$slots,"tag",{key:0},(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.showTagList,(t=>(openBlock(),createElementBlock("div",{key:e.getValueKey(t),class:normalizeClass(e.nsSelect.e("selected-item"))},[createVNode$1(n,{closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:normalizeStyle$1(e.tagStyle),onClose:n=>e.deleteTag(n,t)},{default:withCtx((()=>[createBaseVNode("span",{class:normalizeClass(e.nsSelect.e("tags-text"))},[renderSlot(e.$slots,"label",{label:t.currentLabel,value:t.value},(()=>[createTextVNode(toDisplayString(t.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","style","onClose"])],2)))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(openBlock(),createBlock(o,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:withCtx((()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(e.nsSelect.e("selected-item"))},[createVNode$1(n,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:normalizeStyle$1(e.collapseTagStyle)},{default:withCtx((()=>[createBaseVNode("span",{class:normalizeClass(e.nsSelect.e("tags-text"))}," + "+toDisplayString(e.states.selected.length-e.maxCollapseTags),3)])),_:1},8,["size","type","effect","style"])],2)])),content:withCtx((()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(e.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.collapseTagList,(t=>(openBlock(),createElementBlock("div",{key:e.getValueKey(t),class:normalizeClass(e.nsSelect.e("selected-item"))},[createVNode$1(n,{class:"in-tooltip",closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:withCtx((()=>[createBaseVNode("span",{class:normalizeClass(e.nsSelect.e("tags-text"))},[renderSlot(e.$slots,"label",{label:t.currentLabel,value:t.value},(()=>[createTextVNode(toDisplayString(t.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","onClose"])],2)))),128))],2)])),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[withDirectives(createBaseVNode("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t=>e.states.inputValue=t,type:"text",name:e.name,class:normalizeClass([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:normalizeStyle$1(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":(null==(t=e.hoverOption)?void 0:t.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[withKeys(withModifiers((t=>e.navigateOptions("next")),["stop","prevent"]),["down"]),withKeys(withModifiers((t=>e.navigateOptions("prev")),["stop","prevent"]),["up"]),withKeys(withModifiers(e.handleEsc,["stop","prevent"]),["esc"]),withKeys(withModifiers(e.selectOption,["stop","prevent"]),["enter"]),withKeys(withModifiers(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:withModifiers(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[vModelText,e.states.inputValue]]),e.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(e.nsSelect.e("input-calculator")),textContent:toDisplayString(e.states.inputValue)},null,10,["textContent"])):createCommentVNode("v-if",!0)],2),e.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?renderSlot(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},(()=>[createBaseVNode("span",null,toDisplayString(e.currentPlaceholder),1)])):(openBlock(),createElementBlock("span",{key:1},toDisplayString(e.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(openBlock(),createBlock(r,{key:0,class:normalizeClass([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.iconComponent)))])),_:1},8,["class"])):createCommentVNode("v-if",!0),e.showClose&&e.clearIcon?(openBlock(),createBlock(r,{key:1,class:normalizeClass([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.clearIcon)))])),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(openBlock(),createBlock(r,{key:2,class:normalizeClass([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading","validating"===e.validateState)])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.validateIcon)))])),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],10,["onClick"])]})),content:withCtx((()=>[createVNode$1(s,{ref:"menuRef"},{default:withCtx((()=>[e.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(e.nsSelect.be("dropdown","header")),onClick:withModifiers((()=>{}),["stop"])},[renderSlot(e.$slots,"header")],10,["onClick"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(l,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:normalizeClass([e.nsSelect.is("empty",0===e.filteredOptionsCount)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:withCtx((()=>[e.showNewOption?(openBlock(),createBlock(i,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode$1(a,null,{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3})])),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[vShow,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(e.nsSelect.be("dropdown","loading"))},[renderSlot(e.$slots,"loading")],2)):e.loading||0===e.filteredOptionsCount?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(e.nsSelect.be("dropdown","empty"))},[renderSlot(e.$slots,"empty",{},(()=>[createBaseVNode("span",null,toDisplayString(e.emptyText),1)]))],2)):createCommentVNode("v-if",!0),e.$slots.footer?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(e.nsSelect.be("dropdown","footer")),onClick:withModifiers((()=>{}),["stop"])},[renderSlot(e.$slots,"footer")],10,["onClick"])):createCommentVNode("v-if",!0)])),_:3},512)])),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],16,["onMouseleave"])),[[c,e.handleClickOutside,e.popperRef]])}var Select$1=_export_sfc(_sfc_main$$,[["render",_sfc_render$9],["__file","select.vue"]]);const _sfc_main$_=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=useNamespace("select"),n=ref(),o=getCurrentInstance(),r=ref([]);provide(selectGroupKey,reactive({...toRefs(e)}));const i=computed((()=>r.value.some((e=>!0===e.visible)))),a=e=>{const t=castArray$1(e),n=[];return t.forEach((e=>{var t;isVNode(e)&&((e=>{var t;return"ElOption"===e.type.name&&!!(null==(t=e.component)?void 0:t.proxy)})(e)?n.push(e.component.proxy):isArray$6(e.children)&&e.children.length?n.push(...a(e.children)):(null==(t=e.component)?void 0:t.subTree)&&n.push(...a(e.component.subTree)))})),n},l=()=>{r.value=a(o.subTree)};return onMounted((()=>{l()})),useMutationObserver(n,l,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:i,ns:t}}});function _sfc_render$8(e,t,n,o,r,i){return withDirectives((openBlock(),createElementBlock("ul",{ref:"groupRef",class:normalizeClass(e.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(e.ns.be("group","title"))},toDisplayString(e.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(e.ns.b("group"))},[renderSlot(e.$slots,"default")],2)])],2)),[[vShow,e.visible]])}var OptionGroup=_export_sfc(_sfc_main$_,[["render",_sfc_render$8],["__file","option-group.vue"]]);const ElSelect=withInstall(Select$1,{Option:Option,OptionGroup:OptionGroup}),ElOption=withNoopInstall(Option),ElOptionGroup=withNoopInstall(OptionGroup),usePagination=()=>inject(elPaginationKey,{}),paginationSizesProps=buildProps({pageSize:{type:Number,required:!0},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:componentSizes},appendSizeTo:String}),__default__$O=defineComponent({name:"ElPaginationSizes"}),_sfc_main$Z=defineComponent({...__default__$O,props:paginationSizesProps,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:o}=useLocale(),r=useNamespace("pagination"),i=usePagination(),a=ref(n.pageSize);watch((()=>n.pageSizes),((e,o)=>{if(!isEqual$1(e,o)&&isArray$6(e)){const o=e.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",o)}})),watch((()=>n.pageSize),(e=>{a.value=e}));const l=computed((()=>n.pageSizes));function s(e){var t;e!==a.value&&(a.value=e,null==(t=i.handleSizeChange)||t.call(i,Number(e)))}return(e,t)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(r).e("sizes"))},[createVNode$1(unref(ElSelect),{"model-value":a.value,disabled:e.disabled,"popper-class":e.popperClass,size:e.size,teleported:e.teleported,"validate-event":!1,"append-to":e.appendSizeTo,onChange:s},{default:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(l),(e=>(openBlock(),createBlock(unref(ElOption),{key:e,value:e,label:e+unref(o)("el.pagination.pagesize")},null,8,["value","label"])))),128))])),_:1},8,["model-value","disabled","popper-class","size","teleported","append-to"])],2))}});var Sizes=_export_sfc(_sfc_main$Z,[["__file","sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),__default__$N=defineComponent({name:"ElPaginationJumper"}),_sfc_main$Y=defineComponent({...__default__$N,props:paginationJumperProps,setup(e){const{t:t}=useLocale(),n=useNamespace("pagination"),{pageCount:o,disabled:r,currentPage:i,changeEvent:a}=usePagination(),l=ref(),s=computed((()=>{var e;return null!=(e=l.value)?e:null==i?void 0:i.value}));function c(e){l.value=e?+e:""}function u(e){e=Math.trunc(+e),null==a||a(e),l.value=void 0}return(e,i)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(n).e("jump")),disabled:unref(r)},[createBaseVNode("span",{class:normalizeClass([unref(n).e("goto")])},toDisplayString(unref(t)("el.pagination.goto")),3),createVNode$1(unref(ElInput),{size:e.size,class:normalizeClass([unref(n).e("editor"),unref(n).is("in-pagination")]),min:1,max:unref(o),disabled:unref(r),"model-value":unref(s),"validate-event":!1,"aria-label":unref(t)("el.pagination.page"),type:"number","onUpdate:modelValue":c,onChange:u},null,8,["size","class","max","disabled","model-value","aria-label"]),createBaseVNode("span",{class:normalizeClass([unref(n).e("classifier")])},toDisplayString(unref(t)("el.pagination.pageClassifier")),3)],10,["disabled"]))}});var Jumper=_export_sfc(_sfc_main$Y,[["__file","jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),__default__$M=defineComponent({name:"ElPaginationTotal"}),_sfc_main$X=defineComponent({...__default__$M,props:paginationTotalProps,setup(e){const{t:t}=useLocale(),n=useNamespace("pagination"),{disabled:o}=usePagination();return(e,r)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(n).e("total")),disabled:unref(o)},toDisplayString(unref(t)("el.pagination.total",{total:e.total})),11,["disabled"]))}});var Total=_export_sfc(_sfc_main$X,[["__file","total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),__default__$L=defineComponent({name:"ElPaginationPager"}),_sfc_main$W=defineComponent({...__default__$L,props:paginationPagerProps,emits:[CHANGE_EVENT],setup(e,{emit:t}){const n=e,o=useNamespace("pager"),r=useNamespace("icon"),{t:i}=useLocale(),a=ref(!1),l=ref(!1),s=ref(!1),c=ref(!1),u=ref(!1),d=ref(!1),p=computed((()=>{const e=n.pagerCount,t=(e-1)/2,o=Number(n.currentPage),r=Number(n.pageCount);let i=!1,a=!1;r>e&&(o>e-t&&(i=!0),o<r-t&&(a=!0));const l=[];if(i&&!a){for(let t=r-(e-2);t<r;t++)l.push(t)}else if(!i&&a)for(let n=2;n<e;n++)l.push(n);else if(i&&a){const t=Math.floor(e/2)-1;for(let e=o-t;e<=o+t;e++)l.push(e)}else for(let n=2;n<r;n++)l.push(n);return l})),f=computed((()=>["more","btn-quickprev",r.b(),o.is("disabled",n.disabled)])),h=computed((()=>["more","btn-quicknext",r.b(),o.is("disabled",n.disabled)])),m=computed((()=>n.disabled?-1:0));function g(e=!1){n.disabled||(e?s.value=!0:c.value=!0)}function v(e=!1){e?u.value=!0:d.value=!0}function y(e){const o=e.target;if("li"===o.tagName.toLowerCase()&&Array.from(o.classList).includes("number")){const e=Number(o.textContent);e!==n.currentPage&&t(CHANGE_EVENT,e)}else"li"===o.tagName.toLowerCase()&&Array.from(o.classList).includes("more")&&b(e)}function b(e){const o=e.target;if("ul"===o.tagName.toLowerCase()||n.disabled)return;let r=Number(o.textContent);const i=n.pageCount,a=n.currentPage,l=n.pagerCount-2;o.className.includes("more")&&(o.className.includes("quickprev")?r=a-l:o.className.includes("quicknext")&&(r=a+l)),Number.isNaN(+r)||(r<1&&(r=1),r>i&&(r=i)),r!==a&&t(CHANGE_EVENT,r)}return watchEffect((()=>{const e=(n.pagerCount-1)/2;a.value=!1,l.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-e&&(a.value=!0),n.currentPage<n.pageCount-e&&(l.value=!0))})),(e,t)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(o).b()),onClick:b,onKeyup:withKeys(y,["enter"])},[e.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(o).is("active",1===e.currentPage),unref(o).is("disabled",e.disabled)],"number"]),"aria-current":1===e.currentPage,"aria-label":unref(i)("el.pagination.currentPage",{pager:1}),tabindex:unref(m)}," 1 ",10,["aria-current","aria-label","tabindex"])):createCommentVNode("v-if",!0),a.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(f)),tabindex:unref(m),"aria-label":unref(i)("el.pagination.prevPages",{pager:e.pagerCount-2}),onMouseenter:e=>g(!0),onMouseleave:e=>s.value=!1,onFocus:e=>v(!0),onBlur:e=>u.value=!1},[!s.value&&!u.value||e.disabled?(openBlock(),createBlock(unref(more_filled_default),{key:1})):(openBlock(),createBlock(unref(d_arrow_left_default),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(p),(t=>(openBlock(),createElementBlock("li",{key:t,class:normalizeClass([[unref(o).is("active",e.currentPage===t),unref(o).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===t,"aria-label":unref(i)("el.pagination.currentPage",{pager:t}),tabindex:unref(m)},toDisplayString(t),11,["aria-current","aria-label","tabindex"])))),128)),l.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(h)),tabindex:unref(m),"aria-label":unref(i)("el.pagination.nextPages",{pager:e.pagerCount-2}),onMouseenter:e=>g(),onMouseleave:e=>c.value=!1,onFocus:e=>v(),onBlur:e=>d.value=!1},[!c.value&&!d.value||e.disabled?(openBlock(),createBlock(unref(more_filled_default),{key:1})):(openBlock(),createBlock(unref(d_arrow_right_default),{key:0}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):createCommentVNode("v-if",!0),e.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(o).is("active",e.currentPage===e.pageCount),unref(o).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===e.pageCount,"aria-label":unref(i)("el.pagination.currentPage",{pager:e.pageCount}),tabindex:unref(m)},toDisplayString(e.pageCount),11,["aria-current","aria-label","tabindex"])):createCommentVNode("v-if",!0)],42,["onKeyup"]))}});var Pager=_export_sfc(_sfc_main$W,[["__file","pager.vue"]]);const isAbsent=e=>"number"!=typeof e,paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>isNumber(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2==1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},teleported:{type:Boolean,default:!0},small:Boolean,size:useSizeProp,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),paginationEmits={"update:current-page":e=>isNumber(e),"update:page-size":e=>isNumber(e),"size-change":e=>isNumber(e),change:(e,t)=>isNumber(e)&&isNumber(t),"current-change":e=>isNumber(e),"prev-click":e=>isNumber(e),"next-click":e=>isNumber(e)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(e,{emit:t,slots:n}){const{t:o}=useLocale(),r=useNamespace("pagination"),i=getCurrentInstance().vnode.props||{},a=useGlobalSize(),l=computed((()=>{var t;return e.small?"small":null!=(t=e.size)?t:a.value}));useDeprecated({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},computed((()=>!!e.small)));const s="onUpdate:currentPage"in i||"onUpdate:current-page"in i||"onCurrentChange"in i,c="onUpdate:pageSize"in i||"onUpdate:page-size"in i||"onSizeChange"in i,u=computed((()=>{if(isAbsent(e.total)&&isAbsent(e.pageCount))return!1;if(!isAbsent(e.currentPage)&&!s)return!1;if(e.layout.includes("sizes"))if(isAbsent(e.pageCount)){if(!isAbsent(e.total)&&!isAbsent(e.pageSize)&&!c)return!1}else if(!c)return!1;return!0})),d=ref(isAbsent(e.defaultPageSize)?10:e.defaultPageSize),p=ref(isAbsent(e.defaultCurrentPage)?1:e.defaultCurrentPage),f=computed({get:()=>isAbsent(e.pageSize)?d.value:e.pageSize,set(n){isAbsent(e.pageSize)&&(d.value=n),c&&(t("update:page-size",n),t("size-change",n))}}),h=computed((()=>{let t=0;return isAbsent(e.pageCount)?isAbsent(e.total)||(t=Math.max(1,Math.ceil(e.total/f.value))):t=e.pageCount,t})),m=computed({get:()=>isAbsent(e.currentPage)?p.value:e.currentPage,set(n){let o=n;n<1?o=1:n>h.value&&(o=h.value),isAbsent(e.currentPage)&&(p.value=o),s&&(t("update:current-page",o),t("current-change",o))}});function g(e){m.value=e}function v(){e.disabled||(m.value-=1,t("prev-click",m.value))}function y(){e.disabled||(m.value+=1,t("next-click",m.value))}function b(e,t){e&&(e.props||(e.props={}),e.props.class=[e.props.class,t].join(" "))}return watch(h,(e=>{m.value>e&&(m.value=e)})),watch([m,f],(e=>{t(CHANGE_EVENT,...e)}),{flush:"post"}),provide(elPaginationKey,{pageCount:h,disabled:computed((()=>e.disabled)),currentPage:m,changeEvent:g,handleSizeChange:function(e){f.value=e;const t=h.value;m.value>t&&(m.value=t)}}),()=>{var t,i;if(!u.value)return debugWarn(componentName,o("el.pagination.deprecationWarning")),null;if(!e.layout)return null;if(e.hideOnSinglePage&&h.value<=1)return null;const a=[],s=[],c=h$5("div",{class:r.e("rightwrapper")},s),d={prev:h$5(Prev,{disabled:e.disabled,currentPage:m.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:v}),jumper:h$5(Jumper,{size:l.value}),pager:h$5(Pager,{currentPage:m.value,pageCount:h.value,pagerCount:e.pagerCount,onChange:g,disabled:e.disabled}),next:h$5(Next,{disabled:e.disabled,currentPage:m.value,pageCount:h.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:y}),sizes:h$5(Sizes,{pageSize:f.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:l.value,appendSizeTo:e.appendSizeTo}),slot:null!=(i=null==(t=null==n?void 0:n.default)?void 0:t.call(n))?i:null,total:h$5(Total,{total:isAbsent(e.total)?0:e.total})},p=e.layout.split(",").map((e=>e.trim()));let _=!1;return p.forEach((e=>{"->"!==e?_?s.push(d[e]):a.push(d[e]):_=!0})),b(a[0],r.is("first")),b(a[a.length-1],r.is("last")),_&&s.length>0&&(b(s[0],r.is("first")),b(s[s.length-1],r.is("last")),a.push(c)),h$5("div",{class:[r.b(),r.is("background",e.background),r.m(l.value)]},a)}}});const ElPagination=withInstall(Pagination),popconfirmProps=buildProps({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:buttonTypes,default:"primary"},cancelButtonType:{type:String,values:buttonTypes,default:"text"},icon:{type:iconPropType,default:()=>question_filled_default},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:useTooltipContentProps.teleported,persistent:useTooltipContentProps.persistent,width:{type:[String,Number],default:150}}),popconfirmEmits={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},__default__$K=defineComponent({name:"ElPopconfirm"}),_sfc_main$V=defineComponent({...__default__$K,props:popconfirmProps,emits:popconfirmEmits,setup(e,{emit:t}){const n=e,{t:o}=useLocale(),r=useNamespace("popconfirm"),i=ref(),a=()=>{var e,t;null==(t=null==(e=i.value)?void 0:e.onClose)||t.call(e)},l=computed((()=>({width:addUnit(n.width)}))),s=e=>{t("confirm",e),a()},c=e=>{t("cancel",e),a()},u=computed((()=>n.confirmButtonText||o("el.popconfirm.confirmButtonText"))),d=computed((()=>n.cancelButtonText||o("el.popconfirm.cancelButtonText")));return(e,t)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:i,trigger:"click",effect:"light"},e.$attrs,{"popper-class":`${unref(r).namespace.value}-popover`,"popper-style":unref(l),teleported:e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent}),{content:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(unref(r).b())},[createBaseVNode("div",{class:normalizeClass(unref(r).e("main"))},[!e.hideIcon&&e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(r).e("icon")),style:normalizeStyle$1({color:e.iconColor})},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.icon)))])),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString(e.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(r).e("action"))},[renderSlot(e.$slots,"actions",{confirm:s,cancel:c},(()=>[createVNode$1(unref(ElButton),{size:"small",type:"text"===e.cancelButtonType?"":e.cancelButtonType,text:"text"===e.cancelButtonType,onClick:c},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(d)),1)])),_:1},8,["type","text"]),createVNode$1(unref(ElButton),{size:"small",type:"text"===e.confirmButtonType?"":e.confirmButtonType,text:"text"===e.confirmButtonType,onClick:s},{default:withCtx((()=>[createTextVNode(toDisplayString(unref(u)),1)])),_:1},8,["type","text"])]))],2)],2)])),default:withCtx((()=>[e.$slots.reference?renderSlot(e.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)])),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc(_sfc_main$V,[["__file","popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,triggerKeys:useTooltipTriggerProps.triggerKeys,placement:dropdownProps.placement,disabled:useTooltipTriggerProps.disabled,visible:useTooltipContentProps.visible,transition:useTooltipContentProps.transition,popperOptions:dropdownProps.popperOptions,tabindex:dropdownProps.tabindex,content:useTooltipContentProps.content,popperStyle:useTooltipContentProps.popperStyle,popperClass:useTooltipContentProps.popperClass,enterable:{...useTooltipContentProps.enterable,default:!0},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,appendTo:useTooltipContentProps.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),popoverEmits={"update:visible":e=>isBoolean(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$J=defineComponent({name:"ElPopover"}),_sfc_main$U=defineComponent({...__default__$J,props:popoverProps,emits:popoverEmits,setup(e,{expose:t,emit:n}){const o=e,r=computed((()=>o[updateEventKeyRaw])),i=useNamespace("popover"),a=ref(),l=computed((()=>{var e;return null==(e=unref(a))?void 0:e.popperRef})),s=computed((()=>[{width:addUnit(o.width)},o.popperStyle])),c=computed((()=>[i.b(),o.popperClass,{[i.m("plain")]:!!o.content}])),u=computed((()=>o.transition===`${i.namespace.value}-fade-in-linear`)),d=()=>{n("before-enter")},p=()=>{n("before-leave")},f=()=>{n("after-enter")},h=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:l,hide:()=>{var e;null==(e=a.value)||e.hide()}}),(e,t)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:a},e.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":unref(c),"popper-style":unref(s),teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":unref(u),"onUpdate:visible":unref(r),onBeforeShow:d,onBeforeHide:p,onShow:f,onHide:h}),{content:withCtx((()=>[e.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).e("title")),role:"title"},toDisplayString(e.title),3)):createCommentVNode("v-if",!0),renderSlot(e.$slots,"default",{},(()=>[createTextVNode(toDisplayString(e.content),1)]))])),default:withCtx((()=>[e.$slots.reference?renderSlot(e.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)])),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc(_sfc_main$U,[["__file","popover.vue"]]);const attachEvents=(e,t)=>{const n=t.arg||t.value,o=null==n?void 0:n.popperRef;o&&(o.triggerRef=e)};var PopoverDirective={mounted(e,t){attachEvents(e,t)},updated(e,t){attachEvents(e,t)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:e=>`${e}%`}}),__default__$I=defineComponent({name:"ElProgress"}),_sfc_main$T=defineComponent({...__default__$I,props:progressProps,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=useNamespace("progress"),r=computed((()=>{const e={width:`${t.percentage}%`,animationDuration:`${t.duration}s`},n=v(t.percentage);return n.includes("gradient")?e.background=n:e.backgroundColor=n,e})),i=computed((()=>(t.strokeWidth/t.width*100).toFixed(1))),a=computed((()=>["circle","dashboard"].includes(t.type)?Number.parseInt(""+(50-Number.parseFloat(i.value)/2),10):0)),l=computed((()=>{const e=a.value,n="dashboard"===t.type;return`\n M 50 50\n m 0 ${n?"":"-"}${e}\n a ${e} ${e} 0 1 1 0 ${n?"-":""}${2*e}\n a ${e} ${e} 0 1 1 0 ${n?"":"-"}${2*e}\n `})),s=computed((()=>2*Math.PI*a.value)),c=computed((()=>"dashboard"===t.type?.75:1)),u=computed((()=>`${-1*s.value*(1-c.value)/2}px`)),d=computed((()=>({strokeDasharray:`${s.value*c.value}px, ${s.value}px`,strokeDashoffset:u.value}))),p=computed((()=>({strokeDasharray:`${s.value*c.value*(t.percentage/100)}px, ${s.value}px`,strokeDashoffset:u.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"}))),f=computed((()=>{let e;return e=t.color?v(t.percentage):n[t.status]||n.default,e})),h=computed((()=>"warning"===t.status?warning_filled_default:"line"===t.type?"success"===t.status?circle_check_default:circle_close_default:"success"===t.status?check_default:close_default)),m=computed((()=>"line"===t.type?12+.4*t.strokeWidth:.111111*t.width+2)),g=computed((()=>t.format(t.percentage)));const v=e=>{var n;const{color:o}=t;if(isFunction$5(o))return o(e);if(isString$4(o))return o;{const t=function(e){const t=100/e.length;return e.map(((e,n)=>isString$4(e)?{color:e,percentage:(n+1)*t}:e)).sort(((e,t)=>e.percentage-t.percentage))}(o);for(const n of t)if(n.percentage>e)return n.color;return null==(n=t[t.length-1])?void 0:n.color}};return(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(o).b(),unref(o).m(e.type),unref(o).is(e.status),{[unref(o).m("without-text")]:!e.showText,[unref(o).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===e.type?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(o).be("bar","outer")),style:normalizeStyle$1({height:`${e.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(o).be("bar","inner"),{[unref(o).bem("bar","inner","indeterminate")]:e.indeterminate},{[unref(o).bem("bar","inner","striped")]:e.striped},{[unref(o).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:normalizeStyle$1(unref(r))},[(e.showText||e.$slots.default)&&e.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).be("bar","innerText"))},[renderSlot(e.$slots,"default",{percentage:e.percentage},(()=>[createBaseVNode("span",null,toDisplayString(unref(g)),1)]))],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(o).b("circle")),style:normalizeStyle$1({height:`${e.width}px`,width:`${e.width}px`})},[(openBlock(),createElementBlock("svg",{viewBox:"0 0 100 100"},[createBaseVNode("path",{class:normalizeClass(unref(o).be("circle","track")),d:unref(l),stroke:`var(${unref(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":unref(i),fill:"none",style:normalizeStyle$1(unref(d))},null,14,["d","stroke","stroke-linecap","stroke-width"]),createBaseVNode("path",{class:normalizeClass(unref(o).be("circle","path")),d:unref(l),stroke:unref(f),fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":unref(i),style:normalizeStyle$1(unref(p))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),!e.showText&&!e.$slots.default||e.textInside?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(o).e("text")),style:normalizeStyle$1({fontSize:`${unref(m)}px`})},[renderSlot(e.$slots,"default",{percentage:e.percentage},(()=>[e.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(h))))])),_:1})):(openBlock(),createElementBlock("span",{key:0},toDisplayString(unref(g)),1))]))],6))],10,["aria-valuenow"]))}});var Progress=_export_sfc(_sfc_main$T,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()=>mutable(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:definePropType([Array,Object]),default:()=>[star_filled_default,star_filled_default,star_filled_default]},voidIcon:{type:iconPropType,default:()=>star_default},disabledVoidIcon:{type:iconPropType,default:()=>star_filled_default},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:definePropType(Array),default:()=>mutable(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:useSizeProp,clearable:Boolean,...useAriaProps(["ariaLabel"])}),rateEmits={[CHANGE_EVENT]:e=>isNumber(e),[UPDATE_MODEL_EVENT]:e=>isNumber(e)},__default__$H=defineComponent({name:"ElRate"}),_sfc_main$S=defineComponent({...__default__$H,props:rateProps,emits:rateEmits,setup(e,{expose:t,emit:n}){const o=e;function r(e,t){const n=e=>isObject$8(e),o=Object.keys(t).map((e=>+e)).filter((o=>{const r=t[o];return!!n(r)&&r.excluded?e<o:e<=o})).sort(((e,t)=>e-t)),r=t[o[0]];return n(r)&&r.value||r}const i=inject(formContextKey,void 0),a=inject(formItemContextKey,void 0),l=useFormSize(),s=useNamespace("rate"),{inputId:c,isLabeledByFormItem:u}=useFormItemInputId(o,{formItemContext:a}),d=ref(o.modelValue),p=ref(-1),f=ref(!0),h=computed((()=>[s.b(),s.m(l.value)])),m=computed((()=>o.disabled||(null==i?void 0:i.disabled))),g=computed((()=>s.cssVarBlock({"void-color":o.voidColor,"disabled-void-color":o.disabledVoidColor,"fill-color":_.value}))),v=computed((()=>{let e="";return o.showScore?e=o.scoreTemplate.replace(/\{\s*value\s*\}/,m.value?`${o.modelValue}`:`${d.value}`):o.showText&&(e=o.texts[Math.ceil(d.value)-1]),e})),y=computed((()=>100*o.modelValue-100*Math.floor(o.modelValue))),b=computed((()=>isArray$6(o.colors)?{[o.lowThreshold]:o.colors[0],[o.highThreshold]:{value:o.colors[1],excluded:!0},[o.max]:o.colors[2]}:o.colors)),_=computed((()=>{const e=r(d.value,b.value);return isObject$8(e)?"":e})),w=computed((()=>{let e="";return m.value?e=`${y.value}%`:o.allowHalf&&(e="50%"),{color:_.value,width:e}})),k=computed((()=>{let e=isArray$6(o.icons)?[...o.icons]:{...o.icons};return e=markRaw(e),isArray$6(e)?{[o.lowThreshold]:e[0],[o.highThreshold]:{value:e[1],excluded:!0},[o.max]:e[2]}:e})),x=computed((()=>r(o.modelValue,k.value))),S=computed((()=>m.value?isString$4(o.disabledVoidIcon)?o.disabledVoidIcon:markRaw(o.disabledVoidIcon):isString$4(o.voidIcon)?o.voidIcon:markRaw(o.voidIcon))),C=computed((()=>r(d.value,k.value)));function E(e){const t=m.value&&y.value>0&&e-1<o.modelValue&&e>o.modelValue,n=o.allowHalf&&f.value&&e-.5<=d.value&&e>d.value;return t||n}function T(e){o.clearable&&e===o.modelValue&&(e=0),n(UPDATE_MODEL_EVENT,e),o.modelValue!==e&&n(CHANGE_EVENT,e)}function A(e){if(m.value)return;let t=d.value;const r=e.code;return r===EVENT_CODE.up||r===EVENT_CODE.right?(o.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):r!==EVENT_CODE.left&&r!==EVENT_CODE.down||(o.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=t<0?0:t,t=t>o.max?o.max:t,n(UPDATE_MODEL_EVENT,t),n(CHANGE_EVENT,t),t}function $(e,t){if(!m.value){if(o.allowHalf&&t){let n=t.target;hasClass(n,s.e("item"))&&(n=n.querySelector(`.${s.e("icon")}`)),(0===n.clientWidth||hasClass(n,s.e("decimal")))&&(n=n.parentNode),f.value=2*t.offsetX<=n.clientWidth,d.value=f.value?e-.5:e}else d.value=e;p.value=e}}function I(){m.value||(o.allowHalf&&(f.value=o.modelValue!==Math.floor(o.modelValue)),d.value=o.modelValue,p.value=-1)}return watch((()=>o.modelValue),(e=>{d.value=e,f.value=o.modelValue!==Math.floor(o.modelValue)})),o.modelValue||n(UPDATE_MODEL_EVENT,0),t({setCurrentValue:$,resetCurrentValue:I}),(e,t)=>{var n;return openBlock(),createElementBlock("div",{id:unref(c),class:normalizeClass([unref(h),unref(s).is("disabled",unref(m))]),role:"slider","aria-label":unref(u)?void 0:e.ariaLabel||"rating","aria-labelledby":unref(u)?null==(n=unref(a))?void 0:n.labelId:void 0,"aria-valuenow":d.value,"aria-valuetext":unref(v)||void 0,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0",style:normalizeStyle$1(unref(g)),onKeydown:A},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.max,((e,t)=>(openBlock(),createElementBlock("span",{key:t,class:normalizeClass(unref(s).e("item")),onMousemove:t=>$(e,t),onMouseleave:I,onClick:t=>{return n=e,void(m.value||(o.allowHalf&&f.value?T(d.value):T(n)));var n}},[createVNode$1(unref(ElIcon),{class:normalizeClass([unref(s).e("icon"),{hover:p.value===e},unref(s).is("active",e<=d.value)])},{default:withCtx((()=>[E(e)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(C)),null,null,512)),[[vShow,e<=d.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(S)),null,null,512)),[[vShow,!(e<=d.value)]])],64)),E(e)?(openBlock(),createElementBlock(Fragment,{key:1},[(openBlock(),createBlock(resolveDynamicComponent(unref(S)),{class:normalizeClass([unref(s).em("decimal","box")])},null,8,["class"])),createVNode$1(unref(ElIcon),{style:normalizeStyle$1(unref(w)),class:normalizeClass([unref(s).e("icon"),unref(s).e("decimal")])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(x))))])),_:1},8,["style","class"])],64)):createCommentVNode("v-if",!0)])),_:2},1032,["class"])],42,["onMousemove","onClick"])))),128)),e.showText||e.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(s).e("text")),style:normalizeStyle$1({color:e.textColor})},toDisplayString(unref(v)),7)):createCommentVNode("v-if",!0)],46,["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"])}}});var Rate=_export_sfc(_sfc_main$S,[["__file","rate.vue"]]);const ElRate=withInstall(Rate),IconMap={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},IconComponentMap={[IconMap.success]:circle_check_filled_default,[IconMap.warning]:warning_filled_default,[IconMap.error]:circle_close_filled_default,[IconMap.info]:info_filled_default},resultProps=buildProps({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),__default__$G=defineComponent({name:"ElResult"}),_sfc_main$R=defineComponent({...__default__$G,props:resultProps,setup(e){const t=e,n=useNamespace("result"),o=computed((()=>{const e=t.icon,n=e&&IconMap[e]?IconMap[e]:"icon-info";return{class:n,component:IconComponentMap[n]||IconComponentMap["icon-info"]}}));return(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(n).b())},[createBaseVNode("div",{class:normalizeClass(unref(n).e("icon"))},[renderSlot(e.$slots,"icon",{},(()=>[unref(o).component?(openBlock(),createBlock(resolveDynamicComponent(unref(o).component),{key:0,class:normalizeClass(unref(o).class)},null,8,["class"])):createCommentVNode("v-if",!0)]))],2),e.title||e.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("title"))},[renderSlot(e.$slots,"title",{},(()=>[createBaseVNode("p",null,toDisplayString(e.title),1)]))],2)):createCommentVNode("v-if",!0),e.subTitle||e.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(n).e("subtitle"))},[renderSlot(e.$slots,"sub-title",{},(()=>[createBaseVNode("p",null,toDisplayString(e.subTitle),1)]))],2)):createCommentVNode("v-if",!0),e.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(n).e("extra"))},[renderSlot(e.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc(_sfc_main$R,[["__file","result.vue"]]);const ElResult=withInstall(Result),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign}}),__default__$F=defineComponent({name:"ElRow"}),_sfc_main$Q=defineComponent({...__default__$F,props:rowProps,setup(e){const t=e,n=useNamespace("row"),o=computed((()=>t.gutter));provide(rowContextKey,{gutter:o});const r=computed((()=>{const e={};return t.gutter?(e.marginRight=e.marginLeft=`-${t.gutter/2}px`,e):e})),i=computed((()=>[n.b(),n.is(`justify-${t.justify}`,"start"!==t.justify),n.is(`align-${t.align}`,!!t.align)]));return(e,t)=>(openBlock(),createBlock(resolveDynamicComponent(e.tag),{class:normalizeClass(unref(i)),style:normalizeStyle$1(unref(r))},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["class","style"]))}});var Row$2=_export_sfc(_sfc_main$Q,[["__file","row.vue"]]);const ElRow=withInstall(Row$2),_sfc_main$P=defineComponent({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup:()=>({ns:useNamespace("select")})});function _sfc_render$7(e,t,n,o,r,i){return openBlock(),createElementBlock("div",{class:normalizeClass(e.ns.be("group","title")),style:normalizeStyle$1({...e.style,lineHeight:`${e.height}px`})},toDisplayString(e.item.label),7)}var GroupItem=_export_sfc(_sfc_main$P,[["render",_sfc_render$7],["__file","group-item.vue"]]);function useOption(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const defaultProps$4={label:"label",value:"value",disabled:"disabled",options:"options"};function useProps(e){const t=computed((()=>({...defaultProps$4,...e.props})));return{aliasProps:t,getLabel:e=>get$1(e,t.value.label),getValue:e=>get$1(e,t.value.value),getDisabled:e=>get$1(e,t.value.disabled),getOptions:e=>get$1(e,t.value.options)}}const SelectProps=buildProps({allowCreate:Boolean,autocomplete:{type:definePropType(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},effect:{type:definePropType(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:definePropType([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:definePropType(Array),required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,size:useSizeProp,props:{type:definePropType(Object),default:()=>defaultProps$4},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},showArrow:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},tagType:{...tagProps.type,default:"info"},tagEffect:{...tagProps.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:useTooltipContentProps.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator:e=>isBoolean(e)||isNumber(e)},suffixIcon:{type:iconPropType,default:arrow_down_default},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),OptionProps=buildProps({data:Array,disabled:Boolean,hovering:Boolean,item:{type:definePropType(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),selectEmits={[UPDATE_MODEL_EVENT]:e=>!0,[CHANGE_EVENT]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},optionEmits={hover:e=>isNumber(e),select:(e,t)=>!0},selectV2InjectionKey=Symbol("ElSelectV2Injection"),_sfc_main$O=defineComponent({props:OptionProps,emits:optionEmits,setup(e,{emit:t}){const n=inject(selectV2InjectionKey),o=useNamespace("select"),{hoverItem:r,selectOptionClick:i}=useOption(e,{emit:t}),{getLabel:a}=useProps(n.props);return{ns:o,hoverItem:r,selectOptionClick:i,getLabel:a}}});function _sfc_render$6(e,t,n,o,r,i){return openBlock(),createElementBlock("li",{"aria-selected":e.selected,style:normalizeStyle$1(e.style),class:normalizeClass([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:e.hoverItem,onClick:withModifiers(e.selectOptionClick,["stop"])},[renderSlot(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},(()=>[createBaseVNode("span",null,toDisplayString(e.getLabel(e.item)),1)]))],46,["aria-selected","onMousemove","onClick"])}var OptionItem=_export_sfc(_sfc_main$O,[["render",_sfc_render$6],["__file","option-item.vue"]]),safeIsNaN=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function isEqual(e,t){return e===t||!(!safeIsNaN(e)||!safeIsNaN(t))}function areInputsEqual(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!isEqual(e[n],t[n]))return!1;return!0}function memoizeOne(e,t){void 0===t&&(t=areInputsEqual);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}const useCache=()=>{const e=getCurrentInstance().proxy.$props;return computed((()=>{const t=(e,t,n)=>({});return e.perfMode?memoize(t):memoizeOne(t)}))},DEFAULT_DYNAMIC_LIST_ITEM_SIZE=50,ITEM_RENDER_EVT="itemRendered",SCROLL_EVT="scroll",FORWARD="forward",BACKWARD="backward",AUTO_ALIGNMENT="auto",SMART_ALIGNMENT="smart",START_ALIGNMENT="start",CENTERED_ALIGNMENT="center",END_ALIGNMENT="end",HORIZONTAL="horizontal",VERTICAL="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL]:"left",[VERTICAL]:"top"},SCROLLBAR_MIN_SIZE=20,LayoutKeys={[HORIZONTAL]:"deltaX",[VERTICAL]:"deltaY"},useWheel=({atEndEdge:e,atStartEdge:t,layout:n},o)=>{let r,i=0;const a=n=>n<0&&t.value||n>0&&e.value;return{hasReachedEdge:a,onWheel:e=>{cAF(r);const t=e[LayoutKeys[n.value]];a(i)&&a(i+t)||(i+=t,isFirefox()||e.preventDefault(),r=rAF((()=>{o(i),i=0})))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total=buildProp({type:Number,required:!0}),layout=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction:direction,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:definePropType([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),virtualizedListProps=buildProps({cache:cache,estimatedItemSize:estimatedItemSize,layout:layout,initScrollOffset:initScrollOffset,total:total,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:cache,rowHeight:itemSize$1,totalColumn:total,totalRow:total,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout:layout,total:total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:scrollbarSize,startGap:startGap,endGap:endGap,visible:Boolean}),getScrollDir=(e,t)=>e<t?FORWARD:BACKWARD,isHorizontal=e=>e===LTR||e===RTL||e===HORIZONTAL,isRTL$1=e=>e===RTL;let cachedRTLResult=null;function getRTLOffsetType(e=!1){if(null===cachedRTLResult||e){const e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";const n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:(e.scrollLeft=1,cachedRTLResult=0===e.scrollLeft?RTL_OFFSET_NAG:RTL_OFFSET_POS_ASC),document.body.removeChild(e),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:e,size:t,bar:n},o){const r={},i=`translate${n.axis}(${e}px)`;return r[n.size]=t,r.transform=i,"horizontal"===o?r.height="100%":r.width="100%",r}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=computed((()=>e.startGap+e.endGap)),o=useNamespace("virtual-scrollbar"),r=useNamespace("scrollbar"),i=ref(),a=ref();let l=null,s=null;const c=reactive({isDragging:!1,traveled:0}),u=computed((()=>BAR_MAP[e.layout])),d=computed((()=>e.clientSize-unref(n))),p=computed((()=>({position:"absolute",width:`${HORIZONTAL===e.layout?d.value:e.scrollbarSize}px`,height:`${HORIZONTAL===e.layout?e.scrollbarSize:d.value}px`,[ScrollbarDirKey[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"}))),f=computed((()=>{const t=e.ratio,n=e.clientSize;if(t>=100)return Number.POSITIVE_INFINITY;if(t>=50)return t*n/100;const o=n/3;return Math.floor(Math.min(Math.max(t*n,SCROLLBAR_MIN_SIZE),o))})),h=computed((()=>{if(!Number.isFinite(f.value))return{display:"none"};const t=`${f.value}px`;return renderThumbStyle({bar:u.value,size:t,move:c.traveled},e.layout)})),m=computed((()=>Math.floor(e.clientSize-f.value-unref(n)))),g=()=>{window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",y),document.onselectstart=s,s=null;const e=unref(a);e&&(e.removeEventListener("touchmove",b),e.removeEventListener("touchend",y))},v=e=>{e.stopImmediatePropagation(),e.ctrlKey||[1,2].includes(e.button)||(c.isDragging=!0,c[u.value.axis]=e.currentTarget[u.value.offset]-(e[u.value.client]-e.currentTarget.getBoundingClientRect()[u.value.direction]),t("start-move"),(()=>{window.addEventListener("mousemove",b),window.addEventListener("mouseup",y);const e=unref(a);e&&(s=document.onselectstart,document.onselectstart=()=>!1,e.addEventListener("touchmove",b,{passive:!0}),e.addEventListener("touchend",y))})())},y=()=>{c.isDragging=!1,c[u.value.axis]=0,t("stop-move"),g()},b=n=>{const{isDragging:o}=c;if(!o)return;if(!a.value||!i.value)return;const r=c[u.value.axis];if(!r)return;cAF(l);const s=-1*(i.value.getBoundingClientRect()[u.value.direction]-n[u.value.client])-(a.value[u.value.offset]-r);l=rAF((()=>{c.traveled=Math.max(e.startGap,Math.min(s,m.value)),t("scroll",s,m.value)}))},_=e=>{const n=Math.abs(e.target.getBoundingClientRect()[u.value.direction]-e[u.value.client])-a.value[u.value.offset]/2;c.traveled=Math.max(0,Math.min(n,m.value)),t("scroll",n,m.value)};return watch((()=>e.scrollFrom),(e=>{c.isDragging||(c.traveled=Math.ceil(e*m.value))})),onBeforeUnmount((()=>{g()})),()=>h$5("div",{role:"presentation",ref:i,class:[o.b(),e.class,(e.alwaysOn||c.isDragging)&&"always-on"],style:p.value,onMousedown:withModifiers(_,["stop","prevent"]),onTouchstartPrevent:v},h$5("div",{ref:a,class:r.e("thumb"),style:h.value,onMousedown:v},[]))}}),createList=({name:e,getOffset:t,getItemSize:n,getItemOffset:o,getEstimatedTotalSize:r,getStartIndexForOffset:i,getStopIndexForStartIndex:a,initCache:l,clearCache:s,validateProps:c})=>defineComponent({name:null!=e?e:"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(e,{emit:u,expose:d}){c(e);const p=getCurrentInstance(),f=useNamespace("vl"),h=ref(l(e,p)),m=useCache(),g=ref(),v=ref(),y=ref(),b=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber(e.initScrollOffset)?e.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:e.scrollbarAlwaysOn}),_=computed((()=>{const{total:t,cache:n}=e,{isScrolling:o,scrollDir:r,scrollOffset:l}=unref(b);if(0===t)return[0,0,0,0];const s=i(e,l,unref(h)),c=a(e,s,l,unref(h)),u=o&&r!==BACKWARD?1:Math.max(1,n),d=o&&r!==FORWARD?1:Math.max(1,n);return[Math.max(0,s-u),Math.max(0,Math.min(t-1,c+d)),s,c]})),w=computed((()=>r(e,unref(h)))),k=computed((()=>isHorizontal(e.layout))),x=computed((()=>[{position:"relative",["overflow-"+(k.value?"x":"y")]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:e.direction,height:isNumber(e.height)?`${e.height}px`:e.height,width:isNumber(e.width)?`${e.width}px`:e.width},e.style])),S=computed((()=>{const e=unref(w),t=unref(k);return{height:t?"100%":`${e}px`,pointerEvents:unref(b).isScrolling?"none":void 0,width:t?`${e}px`:"100%"}})),C=computed((()=>k.value?e.width:e.height)),{onWheel:E}=useWheel({atStartEdge:computed((()=>b.value.scrollOffset<=0)),atEndEdge:computed((()=>b.value.scrollOffset>=w.value)),layout:computed((()=>e.layout))},(e=>{var t,n;null==(n=(t=y.value).onMouseUp)||n.call(t),A(Math.min(b.value.scrollOffset+e,w.value-C.value))}));useEventListener(g,"wheel",E,{passive:!1});const T=()=>{const{total:t}=e;if(t>0){const[e,t,n,o]=unref(_);u(ITEM_RENDER_EVT,e,t,n,o)}const{scrollDir:n,scrollOffset:o,updateRequested:r}=unref(b);u(SCROLL_EVT,n,o,r)},A=e=>{(e=Math.max(e,0))!==unref(b).scrollOffset&&(b.value={...unref(b),scrollOffset:e,scrollDir:getScrollDir(unref(b).scrollOffset,e),updateRequested:!0},nextTick(I))},$=(n,o=AUTO_ALIGNMENT)=>{const{scrollOffset:r}=unref(b);n=Math.max(0,Math.min(n,e.total-1)),A(t(e,n,o,r,unref(h)))},I=()=>{b.value.isScrolling=!1,nextTick((()=>{m.value(-1,null,null)}))},M=()=>{const e=g.value;e&&(e.scrollTop=0)};onMounted((()=>{if(!isClient)return;const{initScrollOffset:t}=e,n=unref(g);isNumber(t)&&n&&(unref(k)?n.scrollLeft=t:n.scrollTop=t),T()})),onUpdated((()=>{const{direction:t,layout:n}=e,{scrollOffset:o,updateRequested:r}=unref(b),i=unref(g);if(r&&i)if(n===HORIZONTAL)if(t===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:i.scrollLeft=-o;break;case RTL_OFFSET_POS_ASC:i.scrollLeft=o;break;default:{const{clientWidth:e,scrollWidth:t}=i;i.scrollLeft=t-e-o;break}}else i.scrollLeft=o;else i.scrollTop=o})),onActivated((()=>{unref(g).scrollTop=unref(b).scrollOffset}));const P={ns:f,clientSize:C,estimatedTotalSize:w,windowStyle:x,windowRef:g,innerRef:v,innerStyle:S,itemsToRender:_,scrollbarRef:y,states:b,getItemStyle:t=>{const{direction:r,itemSize:i,layout:a}=e,l=m.value(s&&i,s&&a,s&&r);let c;if(hasOwn$1(l,String(t)))c=l[t];else{const i=o(e,t,unref(h)),a=n(e,t,unref(h)),s=unref(k),u=r===RTL,d=s?i:0;l[t]=c={position:"absolute",left:u?void 0:`${d}px`,right:u?`${d}px`:void 0,top:s?0:`${i}px`,height:s?"100%":`${a}px`,width:s?`${a}px`:"100%"}}return c},onScroll:t=>{unref(k)?(t=>{const{clientWidth:n,scrollLeft:o,scrollWidth:r}=t.currentTarget,i=unref(b);if(i.scrollOffset===o)return;const{direction:a}=e;let l=o;if(a===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:l=-o;break;case RTL_OFFSET_POS_DESC:l=r-n-o}l=Math.max(0,Math.min(l,r-n)),b.value={...i,isScrolling:!0,scrollDir:getScrollDir(i.scrollOffset,l),scrollOffset:l,updateRequested:!1},nextTick(I)})(t):(e=>{const{clientHeight:t,scrollHeight:n,scrollTop:o}=e.currentTarget,r=unref(b);if(r.scrollOffset===o)return;const i=Math.max(0,Math.min(o,n-t));b.value={...r,isScrolling:!0,scrollDir:getScrollDir(r.scrollOffset,i),scrollOffset:i,updateRequested:!1},nextTick(I)})(t),T()},onScrollbarScroll:(e,t)=>{const n=(w.value-C.value)/t*e;A(Math.min(w.value-C.value,n))},onWheel:E,scrollTo:A,scrollToItem:$,resetScrollTop:M};return d({windowRef:g,innerRef:v,getItemStyleCache:m,scrollTo:A,scrollToItem:$,resetScrollTop:M,states:b}),P},render(e){var t;const{$slots:n,className:o,clientSize:r,containerElement:i,data:a,getItemStyle:l,innerElement:s,itemsToRender:c,innerStyle:u,layout:d,total:p,onScroll:f,onScrollbarScroll:h,states:m,useIsScrolling:g,windowStyle:v,ns:y}=e,[b,_]=c,w=resolveDynamicComponent(i),k=resolveDynamicComponent(s),x=[];if(p>0)for(let T=b;T<=_;T++)x.push(h$5(Fragment,{key:T},null==(t=n.default)?void 0:t.call(n,{data:a,index:T,isScrolling:g?m.isScrolling:void 0,style:l(T)})));const S=[h$5(k,{style:u,ref:"innerRef"},isString$4(k)?x:{default:()=>x})],C=h$5(ScrollBar,{ref:"scrollbarRef",clientSize:r,layout:d,onScroll:h,ratio:100*r/this.estimatedTotalSize,scrollFrom:m.scrollOffset/(this.estimatedTotalSize-r),total:p}),E=h$5(w,{class:[y.e("window"),o],style:v,onScroll:f,ref:"windowRef",key:0},isString$4(w)?[S]:{default:()=>[S]});return h$5("div",{key:0,class:[y.e("wrapper"),m.scrollbarAlwaysOn?"always-on":""]},[E,C])}}),FixedSizeList=createList({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:o,width:r},i,a,l)=>{const s=isHorizontal(o)?r:e,c=Math.max(0,t*n-s),u=Math.min(c,i*n),d=Math.max(0,(i+1)*n-s);switch(a===SMART_ALIGNMENT&&(a=l>=d-s&&l<=u+s?AUTO_ALIGNMENT:CENTERED_ALIGNMENT),a){case START_ALIGNMENT:return u;case END_ALIGNMENT:return d;case CENTERED_ALIGNMENT:{const e=Math.round(d+(u-d)/2);return e<Math.ceil(s/2)?0:e>c+Math.floor(s/2)?c:e}default:return l>=d&&l<=u?l:l<d?d:u}},getStartIndexForOffset:({total:e,itemSize:t},n)=>Math.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:o,width:r},i,a)=>{const l=i*n,s=isHorizontal(o)?r:e,c=Math.ceil((s+a-l)/n);return Math.max(0,Math.min(t-1,i+c-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(e,t,n)=>{const{itemSize:o}=e,{items:r,lastVisitedIndex:i}=n;if(t>i){let e=0;if(i>=0){const t=r[i];e=t.offset+t.size}for(let n=i+1;n<=t;n++){const t=o(n);r[n]={offset:e,size:t},e+=t}n.lastVisitedIndex=t}return r[t]},findItem$1=(e,t,n)=>{const{items:o,lastVisitedIndex:r}=t;return(r>0?o[r].offset:0)>=n?bs$1(e,t,0,r,n):es$1(e,t,Math.max(0,r),n)},bs$1=(e,t,n,o,r)=>{for(;n<=o;){const i=n+Math.floor((o-n)/2),a=getItemFromCache$1(e,i,t).offset;if(a===r)return i;a<r?n=i+1:a>r&&(o=i-1)}return Math.max(0,n-1)},es$1=(e,t,n,o)=>{const{total:r}=e;let i=1;for(;n<r&&getItemFromCache$1(e,n,t).offset<o;)n+=i,i*=2;return bs$1(e,t,Math.floor(n/2),Math.min(n,r-1),o)},getEstimatedTotalSize=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:o})=>{let r=0;if(o>=e&&(o=e-1),o>=0){const e=t[o];r=e.offset+e.size}return r+(e-o-1)*n},DynamicSizeList=createList({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>getItemFromCache$1(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:getEstimatedTotalSize,getOffset:(e,t,n,o,r)=>{const{height:i,layout:a,width:l}=e,s=isHorizontal(a)?l:i,c=getItemFromCache$1(e,t,r),u=getEstimatedTotalSize(e,r),d=Math.max(0,Math.min(u-s,c.offset)),p=Math.max(0,c.offset-s+c.size);switch(n===SMART_ALIGNMENT&&(n=o>=p-s&&o<=d+s?AUTO_ALIGNMENT:CENTERED_ALIGNMENT),n){case START_ALIGNMENT:return d;case END_ALIGNMENT:return p;case CENTERED_ALIGNMENT:return Math.round(p+(d-p)/2);default:return o>=p&&o<=d?o:o<p?p:d}},getStartIndexForOffset:(e,t,n)=>findItem$1(e,n,t),getStopIndexForStartIndex:(e,t,n,o)=>{const{height:r,total:i,layout:a,width:l}=e,s=isHorizontal(a)?l:r,c=getItemFromCache$1(e,t,o),u=n+s;let d=c.offset+c.size,p=t;for(;p<i-1&&d<u;)p++,d+=getItemFromCache$1(e,p,o).size;return p},initCache({estimatedItemSize:e=DEFAULT_DYNAMIC_LIST_ITEM_SIZE},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1,clearCacheAfterIndex:(e,o=!0)=>{var r,i;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,e-1),null==(r=t.exposed)||r.getItemStyleCache(-1),o&&(null==(i=t.proxy)||i.$forceUpdate())}};return n},clearCache:!1,validateProps:({itemSize:e})=>{}}),props={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number};var ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:props,setup(e,{slots:t,expose:n}){const o=inject(selectV2InjectionKey),r=useNamespace("select"),{getLabel:i,getValue:a,getDisabled:l}=useProps(o.props),s=ref([]),c=ref(),u=computed((()=>e.data.length));watch((()=>u.value),(()=>{var e,t;null==(t=null==(e=o.tooltipRef.value)?void 0:e.updatePopper)||t.call(e)}));const d=computed((()=>isUndefined(o.props.estimatedOptionHeight))),p=computed((()=>d.value?{itemSize:o.props.itemHeight}:{estimatedSize:o.props.estimatedOptionHeight,itemSize:e=>s.value[e]})),f=(e,t)=>o.props.multiple?((e=[],t)=>{const{props:{valueKey:n}}=o;return isObject$8(t)?e&&e.some((e=>toRaw(get$1(e,n))===get$1(t,n))):e.includes(t)})(e,a(t)):((e,t)=>{if(isObject$8(t)){const{valueKey:n}=o.props;return get$1(e,n)===get$1(t,n)}return e===t})(e,a(t)),h=(e,t)=>{const{disabled:n,multiple:r,multipleLimit:i}=o.props;return n||!t&&!!r&&i>0&&e.length>=i},m=t=>e.hoveringIndex===t;n({listRef:c,isSized:d,isItemDisabled:h,isItemHovering:m,isItemSelected:f,scrollToItem:e=>{const t=c.value;t&&t.scrollToItem(e)},resetScrollTop:()=>{const e=c.value;e&&e.resetScrollTop()}});const g=e=>{const{index:n,data:r,style:a}=e,s=unref(d),{itemSize:c,estimatedSize:u}=unref(p),{modelValue:g}=o.props,{onSelect:v,onHover:y}=o,b=r[n];if("Group"===b.type)return createVNode$1(GroupItem,{item:b,style:a,height:s?c:u},null);const _=f(g,b),w=h(g,_),k=m(n);return createVNode$1(OptionItem,mergeProps(e,{selected:_,disabled:l(b)||w,created:!!b.created,hovering:k,item:b,onSelect:v,onHover:y}),{default:e=>{var n;return(null==(n=t.default)?void 0:n.call(t,e))||createVNode$1("span",null,[i(b)])}})},{onKeyboardNavigate:v,onKeyboardSelect:y}=o,b=e=>{const{code:t}=e,{tab:n,esc:o,down:r,up:i,enter:a,numpadEnter:l}=EVENT_CODE;switch([o,r,i,a,l].includes(t)&&(e.preventDefault(),e.stopPropagation()),t){case n:case o:break;case r:v("forward");break;case i:v("backward");break;case a:case l:y()}};return()=>{var n,i,a,l;const{data:s,width:u}=e,{height:f,multiple:h,scrollbarAlwaysOn:m}=o.props,v=computed((()=>!!isIOS||m)),y=unref(d)?FixedSizeList:DynamicSizeList;return createVNode$1("div",{class:[r.b("dropdown"),r.is("multiple",h)],style:{width:`${u}px`}},[null==(n=t.header)?void 0:n.call(t),(null==(i=t.loading)?void 0:i.call(t))||(null==(a=t.empty)?void 0:a.call(t))||createVNode$1(y,mergeProps({ref:c},unref(p),{className:r.be("dropdown","list"),scrollbarAlwaysOn:v.value,data:s,height:f,width:u,total:s.length,onKeydown:b}),{default:e=>createVNode$1(g,e,null)}),null==(l=t.footer)?void 0:l.call(t)])}}});function useAllowCreate(e,t){const{aliasProps:n,getLabel:o,getValue:r}=useProps(e),i=ref(0),a=ref(),l=computed((()=>e.allowCreate&&e.filterable));return{createNewOption:function(r){if(l.value)if(r&&r.length>0){if(function(n){const r=e=>o(e)===n;return e.options&&e.options.some(r)||t.createdOptions.some(r)}(r))return;const a={[n.value.value]:r,[n.value.label]:r,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=i.value?t.createdOptions[i.value]=a:t.createdOptions.push(a)}else if(e.multiple)t.createdOptions.length=i.value;else{const e=a.value;t.createdOptions.length=0,e&&e.created&&t.createdOptions.push(e)}},removeNewOption:function(n){if(!l.value||!n||!n.created||n.created&&e.reserveKeyword&&t.inputValue===o(n))return;const a=t.createdOptions.findIndex((e=>r(e)===r(n)));~a&&(t.createdOptions.splice(a,1),i.value--)},selectNewOption:function(t){l.value&&(e.multiple&&t.created?i.value++:a.value=t)},clearAllNewOption:function(){l.value&&(t.createdOptions.length=0,i.value=0)}}}const useSelect$1=(e,t)=>{const{t:n}=useLocale(),o=useNamespace("select"),r=useNamespace("input"),{form:i,formItem:a}=useFormItem(),{inputId:l}=useFormItemInputId(e,{formItemContext:a}),{aliasProps:s,getLabel:c,getValue:u,getDisabled:d,getOptions:p}=useProps(e),{valueOnClear:f,isEmptyValue:h}=useEmptyValues(e),m=reactive({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),g=ref(-1),v=ref(),y=ref(),b=ref(),_=ref(),w=ref(),k=ref(),x=ref(),S=ref(),C=ref(),E=ref(),{isComposing:T,handleCompositionStart:A,handleCompositionEnd:$,handleCompositionUpdate:I}=useComposition({afterComposition:e=>Ne(e)}),{wrapperRef:M,isFocused:P,handleBlur:N}=useFocusController(w,{beforeFocus:()=>B.value,afterFocus(){e.automaticDropdown&&!L.value&&(L.value=!0,m.menuVisibleOnFocus=!0)},beforeBlur(e){var t,n;return(null==(t=b.value)?void 0:t.isFocusInsideContent(e))||(null==(n=_.value)?void 0:n.isFocusInsideContent(e))},afterBlur(){var t;L.value=!1,m.menuVisibleOnFocus=!1,e.validateEvent&&(null==(t=null==a?void 0:a.validate)||t.call(a,"blur").catch((e=>debugWarn())))}}),O=computed((()=>K(""))),R=computed((()=>!e.loading&&(e.options.length>0||m.createdOptions.length>0))),D=ref([]),L=ref(!1),B=computed((()=>e.disabled||(null==i?void 0:i.disabled))),V=computed((()=>{var e;return null!=(e=null==i?void 0:i.statusIcon)&&e})),z=computed((()=>{const t=D.value.length*e.itemHeight;return t>e.height?e.height:t})),F=computed((()=>e.multiple?isArray$6(e.modelValue)&&e.modelValue.length>0:!h(e.modelValue))),H=computed((()=>e.clearable&&!B.value&&m.inputHovering&&F.value)),j=computed((()=>e.remote&&e.filterable?"":e.suffixIcon)),G=computed((()=>j.value&&o.is("reverse",L.value))),U=computed((()=>(null==a?void 0:a.validateState)||"")),W=computed((()=>{if(U.value)return ValidateComponentsMap[U.value]})),Y=computed((()=>e.remote?300:0)),q=computed((()=>e.loading?e.loadingText||n("el.select.loading"):!(e.remote&&!m.inputValue&&!R.value)&&(e.filterable&&m.inputValue&&R.value&&0===D.value.length?e.noMatchText||n("el.select.noMatch"):R.value?null:e.noDataText||n("el.select.noData")))),K=t=>{const n=new RegExp(escapeStringRegexp(t),"i"),o=e.filterable&&isFunction$5(e.filterMethod),r=e.filterable&&e.remote&&isFunction$5(e.remoteMethod),i=e=>!(!o&&!r)||(!t||n.test(c(e)||""));return e.loading?[]:[...m.createdOptions,...e.options].reduce(((t,n)=>{const o=p(n);if(isArray$6(o)){const e=o.filter(i);e.length>0&&t.push({label:c(n),type:"Group"},...e)}else(e.remote||i(n))&&t.push(n);return t}),[])},Z=()=>{D.value=K(m.inputValue)},X=computed((()=>{const e=new Map;return O.value.forEach(((t,n)=>{e.set(Se(u(t)),{option:t,index:n})})),e})),J=computed((()=>{const e=new Map;return D.value.forEach(((t,n)=>{e.set(Se(u(t)),{option:t,index:n})})),e})),Q=computed((()=>D.value.every((e=>d(e))))),ee=useFormSize(),te=computed((()=>"small"===ee.value?"small":"default")),ne=()=>{var t;if(isNumber(e.fitInputWidth))return void(g.value=e.fitInputWidth);const n=(null==(t=v.value)?void 0:t.offsetWidth)||200;!e.fitInputWidth&&R.value?nextTick((()=>{g.value=Math.max(n,oe())})):g.value=n},oe=()=>{var e,t;const n=document.createElement("canvas").getContext("2d"),r=o.be("dropdown","item"),i=((null==(t=null==(e=S.value)?void 0:e.listRef)?void 0:t.innerRef)||document).querySelector(`.${r}`);if(null===i||null===n)return 0;const a=getComputedStyle(i),l=Number.parseFloat(a.paddingLeft)+Number.parseFloat(a.paddingRight);n.font=`bold ${a.font.replace(new RegExp(`\\b${a.fontWeight}\\b`),"")}`;return D.value.reduce(((e,t)=>{const o=n.measureText(c(t));return Math.max(o.width,e)}),0)+l},re=computed((()=>{const t=(()=>{if(!y.value)return 0;const e=window.getComputedStyle(y.value);return Number.parseFloat(e.gap||"6px")})();return{maxWidth:`${E.value&&1===e.maxCollapseTags?m.selectionWidth-m.collapseItemWidth-t:m.selectionWidth}px`}})),ie=computed((()=>({maxWidth:`${m.selectionWidth}px`}))),ae=computed((()=>isArray$6(e.modelValue)?0===e.modelValue.length&&!m.inputValue:!e.filterable||!m.inputValue)),le=computed((()=>{var t;const o=null!=(t=e.placeholder)?t:n("el.select.placeholder");return e.multiple||!F.value?o:m.selectedLabel})),se=computed((()=>{var e,t;return null==(t=null==(e=b.value)?void 0:e.popperRef)?void 0:t.contentRef})),ce=computed((()=>{if(e.multiple){const t=e.modelValue.length;if(e.modelValue.length>0&&J.value.has(e.modelValue[t-1])){const{index:n}=J.value.get(e.modelValue[t-1]);return n}}else if(!h(e.modelValue)&&J.value.has(e.modelValue)){const{index:t}=J.value.get(e.modelValue);return t}return-1})),ue=computed({get:()=>L.value&&!1!==q.value,set(e){L.value=e}}),de=computed((()=>e.multiple?e.collapseTags?m.cachedOptions.slice(0,e.maxCollapseTags):m.cachedOptions:[])),pe=computed((()=>e.multiple&&e.collapseTags?m.cachedOptions.slice(e.maxCollapseTags):[])),{createNewOption:fe,removeNewOption:he,selectNewOption:me,clearAllNewOption:ge}=useAllowCreate(e,m),ve=()=>{B.value||(m.menuVisibleOnFocus?m.menuVisibleOnFocus=!1:L.value=!L.value)},ye=()=>{m.inputValue.length>0&&!L.value&&(L.value=!0),fe(m.inputValue),_e(m.inputValue)},be=debounce(ye,Y.value),_e=t=>{m.previousQuery===t||T.value||(m.previousQuery=t,e.filterable&&isFunction$5(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&isFunction$5(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&D.value.length?nextTick(we):nextTick(Pe))},we=()=>{const e=D.value.filter((e=>!e.disabled&&"Group"!==e.type)),t=e.find((e=>e.created)),n=e[0];m.hoveringIndex=xe(D.value,t||n)},ke=n=>{t(UPDATE_MODEL_EVENT,n),(n=>{isEqual$1(e.modelValue,n)||t(CHANGE_EVENT,n)})(n),m.previousValue=e.multiple?String(n):n,nextTick((()=>{if(e.multiple&&isArray$6(e.modelValue)){const t=m.cachedOptions.slice(),n=e.modelValue.map((e=>Re(e,t)));isEqual$1(m.cachedOptions,n)||(m.cachedOptions=n)}else De(!0)}))},xe=(t=[],n)=>{if(!isObject$8(n))return t.indexOf(n);const o=e.valueKey;let r=-1;return t.some(((e,t)=>get$1(e,o)===get$1(n,o)&&(r=t,!0))),r},Se=t=>isObject$8(t)?get$1(t,e.valueKey):t,Ce=()=>{ne()},Ee=()=>{m.selectionWidth=Number.parseFloat(window.getComputedStyle(y.value).width)},Te=()=>{var e,t;null==(t=null==(e=b.value)?void 0:e.updatePopper)||t.call(e)},Ae=()=>{var e,t;null==(t=null==(e=_.value)?void 0:e.updatePopper)||t.call(e)},$e=t=>{if(e.multiple){let n=e.modelValue.slice();const o=xe(n,u(t));o>-1?(n=[...n.slice(0,o),...n.slice(o+1)],m.cachedOptions.splice(o,1),he(t)):(e.multipleLimit<=0||n.length<e.multipleLimit)&&(n=[...n,u(t)],m.cachedOptions.push(t),me(t)),ke(n),t.created&&_e(""),e.filterable&&!e.reserveKeyword&&(m.inputValue="")}else m.selectedLabel=c(t),ke(u(t)),L.value=!1,me(t),t.created||ge();Ie()},Ie=()=>{var e;null==(e=w.value)||e.focus()},Me=(e,t=void 0)=>{const n=D.value;if(!["forward","backward"].includes(e)||B.value||n.length<=0||Q.value||T.value)return;if(!L.value)return ve();isUndefined(t)&&(t=m.hoveringIndex);let o=-1;"forward"===e?(o=t+1,o>=n.length&&(o=0)):"backward"===e&&(o=t-1,(o<0||o>=n.length)&&(o=n.length-1));const r=n[o];if(d(r)||"Group"===r.type)return Me(e,o);m.hoveringIndex=o,Oe(o)},Pe=()=>{e.multiple?m.hoveringIndex=D.value.findIndex((t=>e.modelValue.some((e=>Se(e)===Se(t))))):m.hoveringIndex=D.value.findIndex((t=>Se(t)===Se(e.modelValue)))},Ne=t=>{if(m.inputValue=t.target.value,!e.remote)return ye();be()},Oe=e=>{S.value.scrollToItem(e)},Re=(e,t)=>{const n=Se(e);if(X.value.has(n)){const{option:e}=X.value.get(n);return e}if(t&&t.length){const e=t.find((e=>Se(u(e))===n));if(e)return e}return{[s.value.value]:e,[s.value.label]:e}},De=(t=!1)=>{if(e.multiple)if(e.modelValue.length>0){const t=m.cachedOptions.slice();m.cachedOptions.length=0,m.previousValue=e.modelValue.toString();for(const n of e.modelValue){const e=Re(n,t);m.cachedOptions.push(e)}}else m.cachedOptions=[],m.previousValue=void 0;else if(F.value){m.previousValue=e.modelValue;const n=D.value,o=n.findIndex((t=>Se(u(t))===Se(e.modelValue)));~o?m.selectedLabel=c(n[o]):m.selectedLabel&&!t||(m.selectedLabel=Se(e.modelValue))}else m.selectedLabel="",m.previousValue=void 0;ge(),ne()};return watch((()=>e.fitInputWidth),(()=>{ne()})),watch(L,(n=>{n?(e.persistent||ne(),_e("")):(m.inputValue="",m.previousQuery=null,m.isBeforeHide=!0,fe("")),t("visible-change",n)})),watch((()=>e.modelValue),((t,n)=>{var o;(!t||isArray$6(t)&&0===t.length||e.multiple&&!isEqual$1(t.toString(),m.previousValue)||!e.multiple&&Se(t)!==Se(m.previousValue))&&De(!0),!isEqual$1(t,n)&&e.validateEvent&&(null==(o=null==a?void 0:a.validate)||o.call(a,"change").catch((e=>debugWarn())))}),{deep:!0}),watch((()=>e.options),(()=>{const e=w.value;(!e||e&&document.activeElement!==e)&&De()}),{deep:!0,flush:"post"}),watch((()=>D.value),(()=>(ne(),S.value&&nextTick(S.value.resetScrollTop)))),watchEffect((()=>{m.isBeforeHide||Z()})),watchEffect((()=>{const{valueKey:t,options:n}=e,o=new Map;for(const e of n){const n=u(e);let r=n;if(isObject$8(r)&&(r=get$1(n,t)),o.get(r))break;o.set(r,!0)}})),onMounted((()=>{De()})),useResizeObserver(v,Ce),useResizeObserver(y,Ee),useResizeObserver(S,Te),useResizeObserver(M,Te),useResizeObserver(C,Ae),useResizeObserver(E,(()=>{m.collapseItemWidth=E.value.getBoundingClientRect().width})),{inputId:l,collapseTagSize:te,currentPlaceholder:le,expanded:L,emptyText:q,popupHeight:z,debounce:Y,allOptions:O,filteredOptions:D,iconComponent:j,iconReverse:G,tagStyle:re,collapseTagStyle:ie,popperSize:g,dropdownMenuVisible:ue,hasModelValue:F,shouldShowPlaceholder:ae,selectDisabled:B,selectSize:ee,needStatusIcon:V,showClearBtn:H,states:m,isFocused:P,nsSelect:o,nsInput:r,inputRef:w,menuRef:S,tagMenuRef:C,tooltipRef:b,tagTooltipRef:_,selectRef:v,wrapperRef:M,selectionRef:y,prefixRef:k,suffixRef:x,collapseItemRef:E,popperRef:se,validateState:U,validateIcon:W,showTagList:de,collapseTagList:pe,debouncedOnInputChange:be,deleteTag:(n,o)=>{let r=e.modelValue.slice();const i=xe(r,u(o));i>-1&&!B.value&&(r=[...e.modelValue.slice(0,i),...e.modelValue.slice(i+1)],m.cachedOptions.splice(i,1),ke(r),t("remove-tag",u(o)),he(o)),n.stopPropagation(),Ie()},getLabel:c,getValue:u,getDisabled:d,getValueKey:Se,handleClear:()=>{let n;n=isArray$6(e.modelValue)?[]:f.value,m.selectedLabel="",L.value=!1,ke(n),t("clear"),ge(),Ie()},handleClickOutside:e=>{if(L.value=!1,P.value){const t=new FocusEvent("focus",e);N(t)}},handleDel:n=>{if(e.multiple&&(n.code!==EVENT_CODE.delete&&0===m.inputValue.length)){n.preventDefault();const o=e.modelValue.slice(),r=findLastIndex(o,(e=>!m.cachedOptions.some((t=>u(t)===e&&d(t)))));if(r<0)return;const i=o[r];o.splice(r,1);const a=m.cachedOptions[r];m.cachedOptions.splice(r,1),he(a),ke(o),t("remove-tag",i)}},handleEsc:()=>{m.inputValue.length>0?m.inputValue="":L.value=!1},focus:Ie,blur:()=>{var e;if(L.value)return L.value=!1,void nextTick((()=>{var e;return null==(e=w.value)?void 0:e.blur()}));null==(e=w.value)||e.blur()},handleMenuEnter:()=>(m.isBeforeHide=!1,nextTick((()=>{~ce.value&&Oe(m.hoveringIndex)}))),handleResize:Ce,resetSelectionWidth:Ee,updateTooltip:Te,updateTagTooltip:Ae,updateOptions:Z,toggleMenu:ve,scrollTo:Oe,onInput:Ne,onKeyboardNavigate:Me,onKeyboardSelect:()=>{if(!L.value)return ve();~m.hoveringIndex&&D.value[m.hoveringIndex]&&$e(D.value[m.hoveringIndex])},onSelect:$e,onHover:e=>{m.hoveringIndex=null!=e?e:-1},handleCompositionStart:A,handleCompositionEnd:$,handleCompositionUpdate:I}},_sfc_main$N=defineComponent({name:"ElSelectV2",components:{ElSelectMenu:ElSelectMenu,ElTag:ElTag,ElTooltip:ElTooltip,ElIcon:ElIcon},directives:{ClickOutside:ClickOutside},props:SelectProps,emits:selectEmits,setup(e,{emit:t}){const n=computed((()=>{const{modelValue:t,multiple:n}=e,o=n?[]:void 0;return isArray$6(t)?n?t:o:n?o:t})),o=useSelect$1(reactive({...toRefs(e),modelValue:n}),t),{calculatorRef:r,inputStyle:i}=useCalcInputWidth();provide(selectV2InjectionKey,{props:reactive({...toRefs(e),height:o.popupHeight,modelValue:n}),expanded:o.expanded,tooltipRef:o.tooltipRef,onSelect:o.onSelect,onHover:o.onHover,onKeyboardNavigate:o.onKeyboardNavigate,onKeyboardSelect:o.onKeyboardSelect});const a=computed((()=>e.multiple?o.states.cachedOptions.map((e=>e.label)):o.states.selectedLabel));return{...o,modelValue:n,selectedLabel:a,calculatorRef:r,inputStyle:i}}});function _sfc_render$5(e,t,n,o,r,i){const a=resolveComponent("el-tag"),l=resolveComponent("el-tooltip"),s=resolveComponent("el-icon"),c=resolveComponent("el-select-menu"),u=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t=>e.states.inputHovering=!0,onMouseleave:t=>e.states.inputHovering=!1},[createVNode$1(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t=>e.states.isBeforeHide=!1},{default:withCtx((()=>[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:withModifiers(e.toggleMenu,["prevent"])},[e.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(e.nsSelect.e("prefix"))},[renderSlot(e.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?renderSlot(e.$slots,"tag",{key:0},(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.showTagList,(t=>(openBlock(),createElementBlock("div",{key:e.getValueKey(e.getValue(t)),class:normalizeClass(e.nsSelect.e("selected-item"))},[createVNode$1(a,{closable:!e.selectDisabled&&!e.getDisabled(t),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:normalizeStyle$1(e.tagStyle),onClose:n=>e.deleteTag(n,t)},{default:withCtx((()=>[createBaseVNode("span",{class:normalizeClass(e.nsSelect.e("tags-text"))},[renderSlot(e.$slots,"label",{label:e.getLabel(t),value:e.getValue(t)},(()=>[createTextVNode(toDisplayString(e.getLabel(t)),1)]))],2)])),_:2},1032,["closable","size","type","effect","style","onClose"])],2)))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(openBlock(),createBlock(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:withCtx((()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(e.nsSelect.e("selected-item"))},[createVNode$1(a,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:normalizeStyle$1(e.collapseTagStyle),"disable-transitions":""},{default:withCtx((()=>[createBaseVNode("span",{class:normalizeClass(e.nsSelect.e("tags-text"))}," + "+toDisplayString(e.modelValue.length-e.maxCollapseTags),3)])),_:1},8,["size","type","effect","style"])],2)])),content:withCtx((()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(e.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.collapseTagList,(t=>(openBlock(),createElementBlock("div",{key:e.getValueKey(e.getValue(t)),class:normalizeClass(e.nsSelect.e("selected-item"))},[createVNode$1(a,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(t),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:withCtx((()=>[createBaseVNode("span",{class:normalizeClass(e.nsSelect.e("tags-text"))},[renderSlot(e.$slots,"label",{label:e.getLabel(t),value:e.getValue(t)},(()=>[createTextVNode(toDisplayString(e.getLabel(t)),1)]))],2)])),_:2},1032,["closable","size","type","effect","onClose"])],2)))),128))],2)])),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[withDirectives(createBaseVNode("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t=>e.states.inputValue=t,style:normalizeStyle$1(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:normalizeClass([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:e.onInput,onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onKeydown:[withKeys(withModifiers((t=>e.onKeyboardNavigate("backward")),["stop","prevent"]),["up"]),withKeys(withModifiers((t=>e.onKeyboardNavigate("forward")),["stop","prevent"]),["down"]),withKeys(withModifiers(e.onKeyboardSelect,["stop","prevent"]),["enter"]),withKeys(withModifiers(e.handleEsc,["stop","prevent"]),["esc"]),withKeys(withModifiers(e.handleDel,["stop"]),["delete"])],onClick:withModifiers(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","autocomplete","tabindex","aria-expanded","aria-label","disabled","readonly","name","onInput","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown","onClick"]),[[vModelText,e.states.inputValue]]),e.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(e.nsSelect.e("input-calculator")),textContent:toDisplayString(e.states.inputValue)},null,10,["textContent"])):createCommentVNode("v-if",!0)],2),e.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?renderSlot(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},(()=>[createBaseVNode("span",null,toDisplayString(e.currentPlaceholder),1)])):(openBlock(),createElementBlock("span",{key:1},toDisplayString(e.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(e.nsSelect.e("suffix"))},[e.iconComponent?withDirectives((openBlock(),createBlock(s,{key:0,class:normalizeClass([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.iconComponent)))])),_:1},8,["class"])),[[vShow,!e.showClearBtn]]):createCommentVNode("v-if",!0),e.showClearBtn&&e.clearIcon?(openBlock(),createBlock(s,{key:1,class:normalizeClass([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:withModifiers(e.handleClear,["prevent","stop"])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.clearIcon)))])),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(openBlock(),createBlock(s,{key:2,class:normalizeClass([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading","validating"===e.validateState)])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.validateIcon)))])),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],10,["onClick"])])),content:withCtx((()=>[createVNode$1(c,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},createSlots({default:withCtx((t=>[renderSlot(e.$slots,"default",normalizeProps(guardReactiveProps(t)))])),_:2},[e.$slots.header?{name:"header",fn:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(e.nsSelect.be("dropdown","header"))},[renderSlot(e.$slots,"header")],2)]))}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(e.nsSelect.be("dropdown","loading"))},[renderSlot(e.$slots,"loading")],2)]))}:e.loading||0===e.filteredOptions.length?{name:"empty",fn:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(e.nsSelect.be("dropdown","empty"))},[renderSlot(e.$slots,"empty",{},(()=>[createBaseVNode("span",null,toDisplayString(e.emptyText),1)]))],2)]))}:void 0,e.$slots.footer?{name:"footer",fn:withCtx((()=>[createBaseVNode("div",{class:normalizeClass(e.nsSelect.be("dropdown","footer"))},[renderSlot(e.$slots,"footer")],2)]))}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])])),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],42,["onMouseenter","onMouseleave"])),[[u,e.handleClickOutside,e.popperRef]])}var Select=_export_sfc(_sfc_main$N,[["render",_sfc_render$5],["__file","select.vue"]]);const ElSelectV2=withInstall(Select),skeletonProps=buildProps({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:definePropType([Number,Object])}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),__default__$E=defineComponent({name:"ElSkeletonItem"}),_sfc_main$M=defineComponent({...__default__$E,props:skeletonItemProps,setup(e){const t=useNamespace("skeleton");return(e,n)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(t).e("item"),unref(t).e(e.variant)])},["image"===e.variant?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc(_sfc_main$M,[["__file","skeleton-item.vue"]]);const useThrottleRender=(e,t=0)=>{if(0===t)return e;const n=ref(isObject$8(t)&&Boolean(t.initVal));let o=null;const r=t=>{isUndefined(t)?n.value=e.value:(o&&clearTimeout(o),o=setTimeout((()=>{n.value=e.value}),t))},i=e=>{"leading"===e?isNumber(t)?r(t):r(t.leading):isObject$8(t)?r(t.trailing):n.value=!1};return onMounted((()=>i("leading"))),watch((()=>e.value),(e=>{i(e?"leading":"trailing")})),n},__default__$D=defineComponent({name:"ElSkeleton"}),_sfc_main$L=defineComponent({...__default__$D,props:skeletonProps,setup(e,{expose:t}){const n=e,o=useNamespace("skeleton"),r=useThrottleRender(toRef$1(n,"loading"),n.throttle);return t({uiLoading:r}),(e,t)=>unref(r)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(o).b(),unref(o).is("animated",e.animated)]},e.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.count,(t=>(openBlock(),createElementBlock(Fragment,{key:t},[unref(r)?renderSlot(e.$slots,"template",{key:t},(()=>[createVNode$1(SkeletonItem,{class:normalizeClass(unref(o).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.rows,(t=>(openBlock(),createBlock(SkeletonItem,{key:t,class:normalizeClass([unref(o).e("paragraph"),unref(o).is("last",t===e.rows&&e.rows>1)]),variant:"p"},null,8,["class"])))),128))])):createCommentVNode("v-if",!0)],64)))),128))],16)):renderSlot(e.$slots,"default",normalizeProps(mergeProps({key:1},e.$attrs)))}});var Skeleton=_export_sfc(_sfc_main$L,[["__file","skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton,{SkeletonItem:SkeletonItem}),ElSkeletonItem=withNoopInstall(SkeletonItem),sliderContextKey=Symbol("sliderContextKey"),sliderProps=buildProps({modelValue:{type:definePropType([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:useSizeProp,inputSize:useSizeProp,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:definePropType(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:definePropType(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ee,default:"top"},marks:{type:definePropType(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),isValidValue$1=e=>isNumber(e)||isArray$6(e)&&e.every(isNumber),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:e=>isNumber(e)},useTooltip=(e,t,n)=>{const o=ref(),r=ref(!1),i=computed((()=>t.value instanceof Function)),a=computed((()=>i.value&&t.value(e.modelValue)||e.modelValue)),l=debounce((()=>{n.value&&(r.value=!0)}),50),s=debounce((()=>{n.value&&(r.value=!1)}),50);return{tooltip:o,tooltipVisible:r,formatValue:a,displayTooltip:l,hideTooltip:s}},useSliderButton=(e,t,n)=>{const{disabled:o,min:r,max:i,step:a,showTooltip:l,persistent:s,precision:c,sliderSize:u,formatTooltip:d,emitChange:p,resetSize:f,updateDragging:h}=inject(sliderContextKey),{tooltip:m,tooltipVisible:g,formatValue:v,displayTooltip:y,hideTooltip:b}=useTooltip(e,d,l),_=ref(),w=computed((()=>(e.modelValue-r.value)/(i.value-r.value)*100+"%")),k=computed((()=>e.vertical?{bottom:w.value}:{left:w.value})),x=e=>{o.value||(e.preventDefault(),E(e),window.addEventListener("mousemove",T),window.addEventListener("touchmove",T),window.addEventListener("mouseup",A),window.addEventListener("touchend",A),window.addEventListener("contextmenu",A),_.value.focus())},S=e=>{o.value||(t.newPosition=Number.parseFloat(w.value)+e/(i.value-r.value)*100,$(t.newPosition),p())},C=e=>{let t,n;return e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},E=n=>{t.dragging=!0,t.isClick=!0;const{clientX:o,clientY:r}=C(n);e.vertical?t.startY=r:t.startX=o,t.startPosition=Number.parseFloat(w.value),t.newPosition=t.startPosition},T=n=>{if(t.dragging){let o;t.isClick=!1,y(),f();const{clientX:r,clientY:i}=C(n);e.vertical?(t.currentY=i,o=(t.startY-t.currentY)/u.value*100):(t.currentX=r,o=(t.currentX-t.startX)/u.value*100),t.newPosition=t.startPosition+o,$(t.newPosition)}},A=()=>{t.dragging&&(setTimeout((()=>{t.dragging=!1,t.hovering||b(),t.isClick||$(t.newPosition),p()}),0),window.removeEventListener("mousemove",T),window.removeEventListener("touchmove",T),window.removeEventListener("mouseup",A),window.removeEventListener("touchend",A),window.removeEventListener("contextmenu",A))},$=async o=>{if(null===o||Number.isNaN(+o))return;o<0?o=0:o>100&&(o=100);const l=100/((i.value-r.value)/a.value);let s=Math.round(o/l)*l*(i.value-r.value)*.01+r.value;s=Number.parseFloat(s.toFixed(c.value)),s!==e.modelValue&&n(UPDATE_MODEL_EVENT,s),t.dragging||e.modelValue===t.oldValue||(t.oldValue=e.modelValue),await nextTick(),t.dragging&&y(),m.value.updatePopper()};return watch((()=>t.dragging),(e=>{h(e)})),useEventListener(_,"touchstart",x,{passive:!1}),{disabled:o,button:_,tooltip:m,tooltipVisible:g,showTooltip:l,persistent:s,wrapperStyle:k,formatValue:v,handleMouseEnter:()=>{t.hovering=!0,y()},handleMouseLeave:()=>{t.hovering=!1,t.dragging||b()},onButtonDown:x,onKeyDown:e=>{let t=!0;switch(e.code){case EVENT_CODE.left:case EVENT_CODE.down:S(-a.value);break;case EVENT_CODE.right:case EVENT_CODE.up:S(a.value);break;case EVENT_CODE.home:o.value||($(0),p());break;case EVENT_CODE.end:o.value||($(100),p());break;case EVENT_CODE.pageDown:S(4*-a.value);break;case EVENT_CODE.pageUp:S(4*a.value);break;default:t=!1}t&&e.preventDefault()},setPosition:$}},__default__$C=defineComponent({name:"ElSliderButton"}),_sfc_main$K=defineComponent({...__default__$C,props:sliderButtonProps,emits:sliderButtonEmits,setup(e,{expose:t,emit:n}){const o=e,r=useNamespace("slider"),i=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:o.modelValue}),a=computed((()=>!!u.value&&d.value)),{disabled:l,button:s,tooltip:c,showTooltip:u,persistent:d,tooltipVisible:p,wrapperStyle:f,formatValue:h,handleMouseEnter:m,handleMouseLeave:g,onButtonDown:v,onKeyDown:y,setPosition:b}=useSliderButton(o,i,n),{hovering:_,dragging:w}=toRefs(i);return t({onButtonDown:v,onKeyDown:y,setPosition:b,hovering:_,dragging:w}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:s,class:normalizeClass([unref(r).e("button-wrapper"),{hover:unref(_),dragging:unref(w)}]),style:normalizeStyle$1(unref(f)),tabindex:unref(l)?-1:0,onMouseenter:unref(m),onMouseleave:unref(g),onMousedown:unref(v),onFocus:unref(m),onBlur:unref(g),onKeydown:unref(y)},[createVNode$1(unref(ElTooltip),{ref_key:"tooltip",ref:c,visible:unref(p),placement:e.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":e.tooltipClass,disabled:!unref(u),persistent:unref(a)},{content:withCtx((()=>[createBaseVNode("span",null,toDisplayString(unref(h)),1)])),default:withCtx((()=>[createBaseVNode("div",{class:normalizeClass([unref(r).e("button"),{hover:unref(_),dragging:unref(w)}])},null,2)])),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var SliderButton=_export_sfc(_sfc_main$K,[["__file","button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(e){const t=useNamespace("slider"),n=computed((()=>isString$4(e.mark)?e.mark:e.mark.label)),o=computed((()=>isString$4(e.mark)?void 0:e.mark.style));return()=>h$5("div",{class:t.e("marks-text"),style:o.value},n.value)}});const useSlide=(e,t,n)=>{const{form:o,formItem:r}=useFormItem(),i=shallowRef(),a=ref(),l=ref(),s={firstButton:a,secondButton:l},c=computed((()=>e.disabled||(null==o?void 0:o.disabled)||!1)),u=computed((()=>Math.min(t.firstValue,t.secondValue))),d=computed((()=>Math.max(t.firstValue,t.secondValue))),p=computed((()=>e.range?100*(d.value-u.value)/(e.max-e.min)+"%":100*(t.firstValue-e.min)/(e.max-e.min)+"%")),f=computed((()=>e.range?100*(u.value-e.min)/(e.max-e.min)+"%":"0%")),h=computed((()=>e.vertical?{height:e.height}:{})),m=computed((()=>e.vertical?{height:p.value,bottom:f.value}:{width:p.value,left:f.value})),g=()=>{i.value&&(t.sliderSize=i.value["client"+(e.vertical?"Height":"Width")])},v=n=>{const o=(n=>{const o=e.min+n*(e.max-e.min)/100;if(!e.range)return a;let r;return r=Math.abs(u.value-o)<Math.abs(d.value-o)?t.firstValue<t.secondValue?"firstButton":"secondButton":t.firstValue>t.secondValue?"firstButton":"secondButton",s[r]})(n);return o.value.setPosition(n),o},y=e=>{n(UPDATE_MODEL_EVENT,e),n(INPUT_EVENT,e)},b=async()=>{await nextTick(),n(CHANGE_EVENT,e.range?[u.value,d.value]:e.modelValue)},_=n=>{var o,r,a,l,s,u;if(c.value||t.dragging)return;g();let d=0;if(e.vertical){const e=null!=(a=null==(r=null==(o=n.touches)?void 0:o.item(0))?void 0:r.clientY)?a:n.clientY;d=(i.value.getBoundingClientRect().bottom-e)/t.sliderSize*100}else{d=((null!=(u=null==(s=null==(l=n.touches)?void 0:l.item(0))?void 0:s.clientX)?u:n.clientX)-i.value.getBoundingClientRect().left)/t.sliderSize*100}return d<0||d>100?void 0:v(d)};return{elFormItem:r,slider:i,firstButton:a,secondButton:l,sliderDisabled:c,minValue:u,maxValue:d,runwayStyle:h,barStyle:m,resetSize:g,setPosition:v,emitChange:b,onSliderWrapperPrevent:e=>{var t,n;((null==(t=s.firstButton.value)?void 0:t.dragging)||(null==(n=s.secondButton.value)?void 0:n.dragging))&&e.preventDefault()},onSliderClick:e=>{_(e)&&b()},onSliderDown:async e=>{const t=_(e);t&&(await nextTick(),t.value.onButtonDown(e))},onSliderMarkerDown:e=>{if(c.value||t.dragging)return;v(e)&&b()},setFirstValue:n=>{t.firstValue=null!=n?n:e.min,y(e.range?[u.value,d.value]:null!=n?n:e.min)},setSecondValue:n=>{t.secondValue=n,e.range&&y([u.value,d.value])}}},useStops=(e,t,n,o)=>({stops:computed((()=>{if(!e.showStops||e.min>e.max)return[];if(0===e.step)return[];const r=(e.max-e.min)/e.step,i=100*e.step/(e.max-e.min),a=Array.from({length:r-1}).map(((e,t)=>(t+1)*i));return e.range?a.filter((t=>t<100*(n.value-e.min)/(e.max-e.min)||t>100*(o.value-e.min)/(e.max-e.min))):a.filter((n=>n>100*(t.firstValue-e.min)/(e.max-e.min)))})),getStopStyle:t=>e.vertical?{bottom:`${t}%`}:{left:`${t}%`}}),useMarks=e=>computed((()=>{if(!e.marks)return[];return Object.keys(e.marks).map(Number.parseFloat).sort(((e,t)=>e-t)).filter((t=>t<=e.max&&t>=e.min)).map((t=>({point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]})))})),useWatch=(e,t,n,o,r,i)=>{const a=e=>{r(UPDATE_MODEL_EVENT,e),r(INPUT_EVENT,e)},l=()=>e.range?![n.value,o.value].every(((e,n)=>e===t.oldValue[n])):e.modelValue!==t.oldValue,s=()=>{var n,o;e.min>e.max&&throwError("Slider","min should not be greater than max.");const r=e.modelValue;e.range&&isArray$6(r)?r[1]<e.min?a([e.min,e.min]):r[0]>e.max?a([e.max,e.max]):r[0]<e.min?a([e.min,r[1]]):r[1]>e.max?a([r[0],e.max]):(t.firstValue=r[0],t.secondValue=r[1],l()&&(e.validateEvent&&(null==(n=null==i?void 0:i.validate)||n.call(i,"change").catch((e=>debugWarn()))),t.oldValue=r.slice())):e.range||!isNumber(r)||Number.isNaN(r)||(r<e.min?a(e.min):r>e.max?a(e.max):(t.firstValue=r,l()&&(e.validateEvent&&(null==(o=null==i?void 0:i.validate)||o.call(i,"change").catch((e=>debugWarn()))),t.oldValue=r)))};s(),watch((()=>t.dragging),(e=>{e||s()})),watch((()=>e.modelValue),((e,n)=>{t.dragging||isArray$6(e)&&isArray$6(n)&&e.every(((e,t)=>e===n[t]))&&t.firstValue===e[0]&&t.secondValue===e[1]||s()}),{deep:!0}),watch((()=>[e.min,e.max]),(()=>{s()}))},useLifecycle=(e,t,n)=>{const o=ref();return onMounted((async()=>{e.range?(isArray$6(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!isNumber(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),useEventListener(window,"resize",n),await nextTick(),n()})),{sliderWrapper:o}},__default__$B=defineComponent({name:"ElSlider"}),_sfc_main$J=defineComponent({...__default__$B,props:sliderProps,emits:sliderEmits,setup(e,{expose:t,emit:n}){const o=e,r=useNamespace("slider"),{t:i}=useLocale(),a=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:l,slider:s,firstButton:c,secondButton:u,sliderDisabled:d,minValue:p,maxValue:f,runwayStyle:h,barStyle:m,resetSize:g,emitChange:v,onSliderWrapperPrevent:y,onSliderClick:b,onSliderDown:_,onSliderMarkerDown:w,setFirstValue:k,setSecondValue:x}=useSlide(o,a,n),{stops:S,getStopStyle:C}=useStops(o,a,p,f),{inputId:E,isLabeledByFormItem:T}=useFormItemInputId(o,{formItemContext:l}),A=useFormSize(),$=computed((()=>o.inputSize||A.value)),I=computed((()=>o.ariaLabel||i("el.slider.defaultLabel",{min:o.min,max:o.max}))),M=computed((()=>o.range?o.rangeStartLabel||i("el.slider.defaultRangeStartLabel"):I.value)),P=computed((()=>o.formatValueText?o.formatValueText(V.value):`${V.value}`)),N=computed((()=>o.rangeEndLabel||i("el.slider.defaultRangeEndLabel"))),O=computed((()=>o.formatValueText?o.formatValueText(z.value):`${z.value}`)),R=computed((()=>[r.b(),r.m(A.value),r.is("vertical",o.vertical),{[r.m("with-input")]:o.showInput}])),D=useMarks(o);useWatch(o,a,p,f,n,l);const L=computed((()=>{const e=[o.min,o.max,o.step].map((e=>{const t=`${e}`.split(".")[1];return t?t.length:0}));return Math.max.apply(null,e)})),{sliderWrapper:B}=useLifecycle(o,a,g),{firstValue:V,secondValue:z,sliderSize:F}=toRefs(a);return useEventListener(B,"touchstart",y,{passive:!1}),useEventListener(B,"touchmove",y,{passive:!1}),provide(sliderContextKey,{...toRefs(o),sliderSize:F,disabled:d,precision:L,emitChange:v,resetSize:g,updateDragging:e=>{a.dragging=e}}),t({onSliderClick:b}),(e,t)=>{var n,o;return openBlock(),createElementBlock("div",{id:e.range?unref(E):void 0,ref_key:"sliderWrapper",ref:B,class:normalizeClass(unref(R)),role:e.range?"group":void 0,"aria-label":e.range&&!unref(T)?unref(I):void 0,"aria-labelledby":e.range&&unref(T)?null==(n=unref(l))?void 0:n.labelId:void 0},[createBaseVNode("div",{ref_key:"slider",ref:s,class:normalizeClass([unref(r).e("runway"),{"show-input":e.showInput&&!e.range},unref(r).is("disabled",unref(d))]),style:normalizeStyle$1(unref(h)),onMousedown:unref(_),onTouchstartPassive:unref(_)},[createBaseVNode("div",{class:normalizeClass(unref(r).e("bar")),style:normalizeStyle$1(unref(m))},null,6),createVNode$1(SliderButton,{id:e.range?void 0:unref(E),ref_key:"firstButton",ref:c,"model-value":unref(V),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":e.range||!unref(T)?unref(M):void 0,"aria-labelledby":!e.range&&unref(T)?null==(o=unref(l))?void 0:o.labelId:void 0,"aria-valuemin":e.min,"aria-valuemax":e.range?unref(z):e.max,"aria-valuenow":unref(V),"aria-valuetext":unref(P),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":unref(d),"onUpdate:modelValue":unref(k)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),e.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:u,"model-value":unref(z),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":unref(N),"aria-valuemin":unref(V),"aria-valuemax":e.max,"aria-valuenow":unref(z),"aria-valuetext":unref(O),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":unref(d),"onUpdate:modelValue":unref(x)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):createCommentVNode("v-if",!0),e.showStops?(openBlock(),createElementBlock("div",{key:1},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(S),((e,t)=>(openBlock(),createElementBlock("div",{key:t,class:normalizeClass(unref(r).e("stop")),style:normalizeStyle$1(unref(C)(e))},null,6)))),128))])):createCommentVNode("v-if",!0),unref(D).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(D),((e,t)=>(openBlock(),createElementBlock("div",{key:t,style:normalizeStyle$1(unref(C)(e.position)),class:normalizeClass([unref(r).e("stop"),unref(r).e("marks-stop")])},null,6)))),128))]),createBaseVNode("div",{class:normalizeClass(unref(r).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(D),((e,t)=>(openBlock(),createBlock(unref(SliderMarker),{key:t,mark:e.mark,style:normalizeStyle$1(unref(C)(e.position)),onMousedown:withModifiers((t=>unref(w)(e.position)),["stop"])},null,8,["mark","style","onMousedown"])))),128))],2)],64)):createCommentVNode("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),e.showInput&&!e.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(V),class:normalizeClass(unref(r).e("input")),step:e.step,disabled:unref(d),controls:e.showInputControls,min:e.min,max:e.max,precision:unref(L),debounce:e.debounce,size:unref($),"onUpdate:modelValue":unref(k),onChange:unref(v)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var Slider=_export_sfc(_sfc_main$J,[["__file","slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(e,{slots:t}){const n=useNamespace("space"),o=computed((()=>`${e.prefixCls||n.b()}__item`));return()=>h$5("div",{class:o.value},renderSlot(t,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(e){const t=useNamespace("space"),n=computed((()=>[t.b(),t.m(e.direction),e.class])),o=ref(0),r=ref(0),i=computed((()=>[e.wrap||e.fill?{flexWrap:"wrap"}:{},{alignItems:e.alignment},{rowGap:`${r.value}px`,columnGap:`${o.value}px`},e.style])),a=computed((()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{}));return watchEffect((()=>{const{size:t="small",wrap:n,direction:i,fill:a}=e;if(isArray$6(t)){const[e=0,n=0]=t;o.value=e,r.value=n}else{let e;e=isNumber(t)?t:SIZE_MAP[t||"small"]||SIZE_MAP.small,(n||a)&&"horizontal"===i?o.value=r.value=e:"horizontal"===i?(o.value=e,r.value=0):(r.value=e,o.value=0)}})),{classes:n,containerStyle:i,itemStyle:a}}const spaceProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:definePropType([String,Object,Array]),default:""},style:{type:definePropType([String,Array,Object]),default:""},alignment:{type:definePropType(String),default:"center"},prefixCls:{type:String},spacer:{type:definePropType([Object,String,Number,Array]),default:null,validator:e=>isVNode(e)||isNumber(e)||isString$4(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:e=>isNumber(e)||isArray$6(e)&&2===e.length&&e.every(isNumber)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(e,{slots:t}){const{classes:n,containerStyle:o,itemStyle:r}=useSpace(e);function i(t,n="",o=[]){const{prefixCls:a}=e;return t.forEach(((e,t)=>{isFragment(e)?isArray$6(e.children)&&e.children.forEach(((e,t)=>{isFragment(e)&&isArray$6(e.children)?i(e.children,`${n+t}-`,o):o.push(createVNode$1(SpaceItem,{style:r.value,prefixCls:a,key:`nested-${n+t}`},{default:()=>[e]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))})):isValidElementNode(e)&&o.push(createVNode$1(SpaceItem,{style:r.value,prefixCls:a,key:`LoopKey${n+t}`},{default:()=>[e]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))})),o}return()=>{var a;const{spacer:l,direction:s}=e,c=renderSlot(t,"default",{key:0},(()=>[]));if(0===(null!=(a=c.children)?a:[]).length)return null;if(isArray$6(c.children)){let e=i(c.children);if(l){const t=e.length-1;e=e.reduce(((e,n,o)=>{const i=[...e,n];return o!==t&&i.push(createVNode$1("span",{style:[r.value,"vertical"===s?"width: 100%":null],key:o},[isVNode(l)?l:createTextVNode(l,PatchFlags.TEXT)],PatchFlags.STYLE)),i}),[])}return createVNode$1("div",{class:n.value,style:o.value},e,PatchFlags.STYLE|PatchFlags.CLASS)}return c.children}}}),ElSpace=withInstall(Space),statisticProps=buildProps({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:definePropType([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:definePropType([String,Object,Array])}}),__default__$A=defineComponent({name:"ElStatistic"}),_sfc_main$I=defineComponent({...__default__$A,props:statisticProps,setup(e,{expose:t}){const n=e,o=useNamespace("statistic"),r=computed((()=>{const{value:e,formatter:t,precision:o,decimalSeparator:r,groupSeparator:i}=n;if(isFunction$5(t))return t(e);if(!isNumber(e)||Number.isNaN(e))return e;let[a,l=""]=String(e).split(".");return l=l.padEnd(o,"0").slice(0,o>0?o:0),a=a.replace(/\B(?=(\d{3})+(?!\d))/g,i),[a,l].join(l?r:"")}));return t({displayValue:r}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(o).b())},[e.$slots.title||e.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).e("head"))},[renderSlot(e.$slots,"title",{},(()=>[createTextVNode(toDisplayString(e.title),1)]))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(o).e("content"))},[e.$slots.prefix||e.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).e("prefix"))},[renderSlot(e.$slots,"prefix",{},(()=>[createBaseVNode("span",null,toDisplayString(e.prefix),1)]))],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(o).e("number")),style:normalizeStyle$1(e.valueStyle)},toDisplayString(unref(r)),7),e.$slots.suffix||e.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(o).e("suffix"))},[renderSlot(e.$slots,"suffix",{},(()=>[createBaseVNode("span",null,toDisplayString(e.suffix),1)]))],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc(_sfc_main$I,[["__file","statistic.vue"]]);const ElStatistic=withInstall(Statistic),countdownProps=buildProps({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:definePropType([Number,Object]),default:0},valueStyle:{type:definePropType([String,Object,Array])}}),countdownEmits={finish:()=>!0,[CHANGE_EVENT]:e=>isNumber(e)},timeUnits=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],getTime=e=>isNumber(e)?new Date(e).getTime():e.valueOf(),formatTime$1=(e,t)=>{let n=e;return timeUnits.reduce(((e,[t,o])=>{const r=new RegExp(`${t}+(?![^\\[\\]]*\\])`,"g");if(r.test(e)){const t=Math.floor(n/o);return n-=t*o,e.replace(r,(e=>String(t).padStart(e.length,"0")))}return e}),t).replace(/\[([^\]]*)]/g,"$1")},__default__$z=defineComponent({name:"ElCountdown"}),_sfc_main$H=defineComponent({...__default__$z,props:countdownProps,emits:countdownEmits,setup(e,{expose:t,emit:n}){const o=e;let r;const i=ref(0),a=computed((()=>formatTime$1(i.value,o.format))),l=e=>formatTime$1(e,o.format),s=()=>{r&&(cAF(r),r=void 0)};return onMounted((()=>{i.value=getTime(o.value)-Date.now(),watch((()=>[o.value,o.format]),(()=>{s(),(()=>{const e=getTime(o.value),t=()=>{let o=e-Date.now();n(CHANGE_EVENT,o),o<=0?(o=0,s(),n("finish")):r=rAF(t),i.value=o};r=rAF(t)})()}),{immediate:!0})})),onBeforeUnmount((()=>{s()})),t({displayValue:a}),(e,t)=>(openBlock(),createBlock(unref(ElStatistic),{value:i.value,title:e.title,prefix:e.prefix,suffix:e.suffix,"value-style":e.valueStyle,formatter:l},createSlots({_:2},[renderList(e.$slots,((t,n)=>({name:n,fn:withCtx((()=>[renderSlot(e.$slots,n)]))})))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc(_sfc_main$H,[["__file","countdown.vue"]]);const ElCountdown=withInstall(Countdown),stepsProps=buildProps({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),stepsEmits={[CHANGE_EVENT]:(e,t)=>[e,t].every(isNumber)},__default__$y=defineComponent({name:"ElSteps"}),_sfc_main$G=defineComponent({...__default__$y,props:stepsProps,emits:stepsEmits,setup(e,{emit:t}){const n=e,o=useNamespace("steps"),{children:r,addChild:i,removeChild:a}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(r,(()=>{r.value.forEach(((e,t)=>{e.setIndex(t)}))})),provide("ElSteps",{props:n,steps:r,addStep:i,removeStep:a}),watch((()=>n.active),((e,n)=>{t(CHANGE_EVENT,e,n)})),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(o).b(),unref(o).m(e.simple?"simple":e.direction)])},[renderSlot(e.$slots,"default")],2))}});var Steps=_export_sfc(_sfc_main$G,[["__file","steps.vue"]]);const stepProps=buildProps({title:{type:String,default:""},icon:{type:iconPropType},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),__default__$x=defineComponent({name:"ElStep"}),_sfc_main$F=defineComponent({...__default__$x,props:stepProps,setup(e){const t=e,n=useNamespace("step"),o=ref(-1),r=ref({}),i=ref(""),a=inject("ElSteps"),l=getCurrentInstance();onMounted((()=>{watch([()=>a.props.active,()=>a.props.processStatus,()=>a.props.finishStatus],(([e])=>{y(e)}),{immediate:!0})})),onBeforeUnmount((()=>{a.removeStep(b.uid)}));const s=computed((()=>t.status||i.value)),c=computed((()=>{const e=a.steps.value[o.value-1];return e?e.currentStatus:"wait"})),u=computed((()=>a.props.alignCenter)),d=computed((()=>"vertical"===a.props.direction)),p=computed((()=>a.props.simple)),f=computed((()=>a.steps.value.length)),h=computed((()=>{var e;return(null==(e=a.steps.value[f.value-1])?void 0:e.uid)===(null==l?void 0:l.uid)})),m=computed((()=>p.value?"":a.props.space)),g=computed((()=>[n.b(),n.is(p.value?"simple":a.props.direction),n.is("flex",h.value&&!m.value&&!u.value),n.is("center",u.value&&!d.value&&!p.value)])),v=computed((()=>{const e={flexBasis:isNumber(m.value)?`${m.value}px`:m.value?m.value:100/(f.value-(u.value?0:1))+"%"};return d.value||h.value&&(e.maxWidth=100/f.value+"%"),e})),y=e=>{e>o.value?i.value=a.props.finishStatus:e===o.value&&"error"!==c.value?i.value=a.props.processStatus:i.value="wait";const t=a.steps.value[o.value-1];t&&t.calcProgress(i.value)},b=reactive({uid:l.uid,currentStatus:s,setIndex:e=>{o.value=e},calcProgress:e=>{const t="wait"===e,n={transitionDelay:`${t?"-":""}${150*o.value}ms`},i=e===a.props.processStatus||t?0:100;n.borderWidth=i&&!p.value?"1px":0,n["vertical"===a.props.direction?"height":"width"]=`${i}%`,r.value=n}});return a.addStep(b),(e,t)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(v)),class:normalizeClass(unref(g))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(n).e("head"),unref(n).is(unref(s))])},[unref(p)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(n).e("line-inner")),style:normalizeStyle$1(r.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(n).e("icon"),unref(n).is(e.icon||e.$slots.icon?"icon":"text")])},[renderSlot(e.$slots,"icon",{},(()=>[e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(n).e("icon-inner"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.icon)))])),_:1},8,["class"])):"success"===unref(s)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(n).e("icon-inner"),unref(n).is("status")])},{default:withCtx((()=>[createVNode$1(unref(check_default))])),_:1},8,["class"])):"error"===unref(s)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(n).e("icon-inner"),unref(n).is("status")])},{default:withCtx((()=>[createVNode$1(unref(close_default))])),_:1},8,["class"])):unref(p)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(n).e("icon-inner"))},toDisplayString(o.value+1),3))]))],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(n).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(n).e("title"),unref(n).is(unref(s))])},[renderSlot(e.$slots,"title",{},(()=>[createTextVNode(toDisplayString(e.title),1)]))],2),unref(p)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(n).e("description"),unref(n).is(unref(s))])},[renderSlot(e.$slots,"description",{},(()=>[createTextVNode(toDisplayString(e.description),1)]))],2))],2)],6))}});var Step=_export_sfc(_sfc_main$F,[["__file","item.vue"]]);const ElSteps=withInstall(Steps,{Step:Step}),ElStep=withNoopInstall(Step),isValidComponentSize=e=>["",...componentSizes].includes(e),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{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},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},...useAriaProps(["ariaLabel"])}),switchEmits={[UPDATE_MODEL_EVENT]:e=>isBoolean(e)||isString$4(e)||isNumber(e),[CHANGE_EVENT]:e=>isBoolean(e)||isString$4(e)||isNumber(e),[INPUT_EVENT]:e=>isBoolean(e)||isString$4(e)||isNumber(e)},COMPONENT_NAME$8="ElSwitch",__default__$w=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$E=defineComponent({...__default__$w,props:switchProps,emits:switchEmits,setup(e,{expose:t,emit:n}){const o=e,{formItem:r}=useFormItem(),i=useFormSize(),a=useNamespace("switch"),{inputId:l}=useFormItemInputId(o,{formItemContext:r}),s=useFormDisabled(computed((()=>o.loading))),c=ref(!1!==o.modelValue),u=ref(),d=ref(),p=computed((()=>[a.b(),a.m(i.value),a.is("disabled",s.value),a.is("checked",v.value)])),f=computed((()=>[a.e("label"),a.em("label","left"),a.is("active",!v.value)])),h=computed((()=>[a.e("label"),a.em("label","right"),a.is("active",v.value)])),m=computed((()=>({width:addUnit(o.width)})));watch((()=>o.modelValue),(()=>{c.value=!0}));const g=computed((()=>!!c.value&&o.modelValue)),v=computed((()=>g.value===o.activeValue));[o.activeValue,o.inactiveValue].includes(g.value)||(n(UPDATE_MODEL_EVENT,o.inactiveValue),n(CHANGE_EVENT,o.inactiveValue),n(INPUT_EVENT,o.inactiveValue)),watch(v,(e=>{var t;u.value.checked=e,o.validateEvent&&(null==(t=null==r?void 0:r.validate)||t.call(r,"change").catch((e=>debugWarn())))}));const y=()=>{const e=v.value?o.inactiveValue:o.activeValue;n(UPDATE_MODEL_EVENT,e),n(CHANGE_EVENT,e),n(INPUT_EVENT,e),nextTick((()=>{u.value.checked=v.value}))},b=()=>{if(s.value)return;const{beforeChange:e}=o;if(!e)return void y();const t=e();[isPromise(t),isBoolean(t)].includes(!0)||throwError(COMPONENT_NAME$8,"beforeChange must return type `Promise<boolean>` or `boolean`"),isPromise(t)?t.then((e=>{e&&y()})).catch((e=>{})):t&&y()};return onMounted((()=>{u.value.checked=v.value})),t({focus:()=>{var e,t;null==(t=null==(e=u.value)?void 0:e.focus)||t.call(e)},checked:v}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(p)),onClick:withModifiers(b,["prevent"])},[createBaseVNode("input",{id:unref(l),ref_key:"input",ref:u,class:normalizeClass(unref(a).e("input")),type:"checkbox",role:"switch","aria-checked":unref(v),"aria-disabled":unref(s),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:unref(s),tabindex:e.tabindex,onChange:y,onKeydown:withKeys(b,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),e.inlinePrompt||!e.inactiveIcon&&!e.inactiveText?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(f))},[e.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.inactiveIcon)))])),_:1})):createCommentVNode("v-if",!0),!e.inactiveIcon&&e.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(v)},toDisplayString(e.inactiveText),9,["aria-hidden"])):createCommentVNode("v-if",!0)],2)),createBaseVNode("span",{ref_key:"core",ref:d,class:normalizeClass(unref(a).e("core")),style:normalizeStyle$1(unref(m))},[e.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(a).e("inner"))},[e.activeIcon||e.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(a).is("icon"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(v)?e.activeIcon:e.inactiveIcon)))])),_:1},8,["class"])):e.activeText||e.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(a).is("text")),"aria-hidden":!unref(v)},toDisplayString(unref(v)?e.activeText:e.inactiveText),11,["aria-hidden"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(a).e("action"))},[e.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(a).is("loading"))},{default:withCtx((()=>[createVNode$1(unref(loading_default))])),_:1},8,["class"])):unref(v)?renderSlot(e.$slots,"active-action",{key:1},(()=>[e.activeActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.activeActionIcon)))])),_:1})):createCommentVNode("v-if",!0)])):unref(v)?createCommentVNode("v-if",!0):renderSlot(e.$slots,"inactive-action",{key:2},(()=>[e.inactiveActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.inactiveActionIcon)))])),_:1})):createCommentVNode("v-if",!0)]))],2)],6),e.inlinePrompt||!e.activeIcon&&!e.activeText?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(h))},[e.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.activeIcon)))])),_:1})):createCommentVNode("v-if",!0),!e.activeIcon&&e.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(v)},toDisplayString(e.activeText),9,["aria-hidden"])):createCommentVNode("v-if",!0)],2))],10,["onClick"]))}});var Switch=_export_sfc(_sfc_main$E,[["__file","switch.vue"]]);const ElSwitch=withInstall(Switch),getCell=function(e){var t;return null==(t=e.target)?void 0:t.closest("td")},orderBy=function(e,t,n,o,r){if(!t&&!o&&(!r||isArray$6(r)&&!r.length))return e;n=isString$4(n)?"descending"===n?-1:1:n&&n<0?-1:1;const i=o?null:function(n,o){return r?(isArray$6(r)||(r=[r]),r.map((t=>isString$4(t)?get$1(n,t):t(n,o,e)))):("$key"!==t&&isObject$8(n)&&"$value"in n&&(n=n.$value),[isObject$8(n)?get$1(n,t):n])};return e.map(((e,t)=>({value:e,index:t,key:i?i(e,t):null}))).sort(((e,t)=>{let r=function(e,t){if(o)return o(e.value,t.value);for(let n=0,o=e.key.length;n<o;n++){if(e.key[n]<t.key[n])return-1;if(e.key[n]>t.key[n])return 1}return 0}(e,t);return r||(r=e.index-t.index),r*+n})).map((e=>e.value))},getColumnById=function(e,t){let n=null;return e.columns.forEach((e=>{e.id===t&&(n=e)})),n},getColumnByKey=function(e,t){let n=null;for(let o=0;o<e.columns.length;o++){const r=e.columns[o];if(r.columnKey===t){n=r;break}}return n||throwError("ElTable",`No column matching with column-key: ${t}`),n},getColumnByCell=function(e,t,n){const o=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return o?getColumnById(e,o[0]):null},getRowIdentity=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(isString$4(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let o=e;for(const e of n)o=o[e];return`${o}`}if(isFunction$5(t))return t.call(null,e)},getKeysMap=function(e,t,n=!1,o="children"){const r={};return(e||[]).forEach(((e,i)=>{if(r[getRowIdentity(e,t)]={row:e,index:i},n){const n=e[o];isArray$6(n)&&Object.assign(r,getKeysMap(n,t,!0,o))}})),r};function mergeOptions(e,t){const n={};let o;for(o in e)n[o]=e[o];for(o in t)if(hasOwn$1(t,o)){const e=t[o];isUndefined(e)||(n[o]=e)}return n}function parseWidth(e){return""===e||isUndefined(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function parseMinWidth(e){return""===e||isUndefined(e)||(e=parseWidth(e),Number.isNaN(e)&&(e=80)),e}function parseHeight(e){return isNumber(e)?e:isString$4(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function compose(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function toggleRowStatus(e,t,n,o,r,i){let a=null!=i?i:0,l=!1;const s=e.indexOf(t),c=-1!==s,u=null==r?void 0:r.call(null,t,a),d=n=>{"add"===n?e.push(t):e.splice(s,1),l=!0},p=e=>{let t=0;const n=(null==o?void 0:o.children)&&e[o.children];return n&&isArray$6(n)&&(t+=n.length,n.forEach((e=>{t+=p(e)}))),t};return r&&!u||(isBoolean(n)?n&&!c?d("add"):!n&&c&&d("remove"):d(c?"remove":"add")),!(null==o?void 0:o.checkStrictly)&&(null==o?void 0:o.children)&&isArray$6(t[o.children])&&t[o.children].forEach((t=>{const i=toggleRowStatus(e,t,null!=n?n:!c,o,r,a+1);a+=p(t)+1,i&&(l=i)})),l}function walkTreeNode(e,t,n="children",o="hasChildren"){const r=e=>!(isArray$6(e)&&e.length);function i(e,a,l){t(e,a,l),a.forEach((e=>{if(e[o])return void t(e,null,l+1);const a=e[n];r(a)||i(e,a,l+1)}))}e.forEach((e=>{if(e[o])return void t(e,null,0);const a=e[n];r(a)||i(e,a,0)}))}const getTableOverflowTooltipProps=(e,t,n,o)=>{const r={strategy:"fixed",...e.popperOptions},i=isFunction$5(o.tooltipFormatter)?o.tooltipFormatter({row:n,column:o,cellValue:getProp(n,o.property).value}):void 0;return isVNode(i)?{slotContent:i,content:null,...e,popperOptions:r}:{slotContent:null,content:null!=i?i:t,...e,popperOptions:r}};let removePopper=null;function createTablePopper(e,t,n,o,r,i){const a=getTableOverflowTooltipProps(e,t,n,o),l={...a,slotContent:void 0};if((null==removePopper?void 0:removePopper.trigger)===r){const e=removePopper.vm.component;return merge$2(e.props,l),void(a.slotContent&&(e.slots.content=()=>[a.slotContent]))}null==removePopper||removePopper();const s=null==i?void 0:i.refs.tableWrapper,c=null==s?void 0:s.dataset.prefix,u=createVNode$1(ElTooltip,{virtualTriggering:!0,virtualRef:r,appendTo:s,placement:"top",transition:"none",offset:0,hideAfter:0,...l},a.slotContent?{content:()=>a.slotContent}:void 0);u.appContext={...i.appContext,...i};const d=document.createElement("div");render$2(u,d),u.component.exposed.onOpen();const p=null==s?void 0:s.querySelector(`.${c}-scrollbar__wrap`);removePopper=()=>{render$2(null,d),null==p||p.removeEventListener("scroll",removePopper),removePopper=null},removePopper.trigger=r,removePopper.vm=u,null==p||p.addEventListener("scroll",removePopper)}function getCurrentColumns(e){return e.children?flatMap(e.children,getCurrentColumns):[e]}function getColSpan(e,t){return e+t.colSpan}const isFixedColumn=(e,t,n,o)=>{let r=0,i=e;const a=n.states.columns.value;if(o){const t=getCurrentColumns(o[e]);r=a.slice(0,a.indexOf(t[0])).reduce(getColSpan,0),i=r+t.reduce(getColSpan,0)-1}else r=e;let l;switch(t){case"left":i<n.states.fixedLeafColumnsLength.value&&(l="left");break;case"right":r>=a.length-n.states.rightFixedLeafColumnsLength.value&&(l="right");break;default:i<n.states.fixedLeafColumnsLength.value?l="left":r>=a.length-n.states.rightFixedLeafColumnsLength.value&&(l="right")}return l?{direction:l,start:r,after:i}:{}},getFixedColumnsClass=(e,t,n,o,r,i=0)=>{const a=[],{direction:l,start:s,after:c}=isFixedColumn(t,n,o,r);if(l){const t="left"===l;a.push(`${e}-fixed-column--${l}`),t&&c+i===o.states.fixedLeafColumnsLength.value-1?a.push("is-last-column"):t||s-i!=o.states.columns.value.length-o.states.rightFixedLeafColumnsLength.value||a.push("is-first-column")}return a};function getOffset$1(e,t){return e+(isNull(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const getFixedColumnOffset=(e,t,n,o)=>{const{direction:r,start:i=0,after:a=0}=isFixedColumn(e,t,n,o);if(!r)return;const l={},s="left"===r,c=n.states.columns.value;return s?l.left=c.slice(0,i).reduce(getOffset$1,0):l.right=c.slice(a+1).reverse().reduce(getOffset$1,0),l},ensurePosition=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function useExpand(e){const t=getCurrentInstance(),n=ref(!1),o=ref([]);return{updateExpandRows:()=>{const t=e.data.value||[],r=e.rowKey.value;if(n.value)o.value=t.slice();else if(r){const e=getKeysMap(o.value,r);o.value=t.reduce(((t,n)=>{const o=getRowIdentity(n,r);return e[o]&&t.push(n),t}),[])}else o.value=[]},toggleRowExpansion:(e,n)=>{toggleRowStatus(o.value,e,n)&&t.emit("expand-change",e,o.value.slice())},setExpandRowKeys:n=>{t.store.assertRowKey();const r=e.data.value||[],i=e.rowKey.value,a=getKeysMap(r,i);o.value=n.reduce(((e,t)=>{const n=a[t];return n&&e.push(n.row),e}),[])},isRowExpanded:t=>{const n=e.rowKey.value;if(n){return!!getKeysMap(o.value,n)[getRowIdentity(t,n)]}return o.value.includes(t)},states:{expandRows:o,defaultExpandAll:n}}}function useCurrent(e){const t=getCurrentInstance(),n=ref(null),o=ref(null),r=()=>{n.value=null},i=n=>{const{data:r,rowKey:i}=e;let a=null;i.value&&(a=(unref(r)||[]).find((e=>getRowIdentity(e,i.value)===n))),o.value=a,t.emit("current-change",o.value,null)};return{setCurrentRowKey:e=>{t.store.assertRowKey(),n.value=e,i(e)},restoreCurrentRowKey:r,setCurrentRowByKey:i,updateCurrentRow:e=>{const n=o.value;if(e&&e!==n)return o.value=e,void t.emit("current-change",o.value,n);!e&&n&&(o.value=null,t.emit("current-change",null,n))},updateCurrentRowData:()=>{const a=e.rowKey.value,l=e.data.value||[],s=o.value;if(!l.includes(s)&&s){if(a){const e=getRowIdentity(s,a);i(e)}else o.value=null;isNull(o.value)&&t.emit("current-change",null,s)}else n.value&&(i(n.value),r())},states:{_currentRowKey:n,currentRow:o}}}function useTree$2(e){const t=ref([]),n=ref({}),o=ref(16),r=ref(!1),i=ref({}),a=ref("hasChildren"),l=ref("children"),s=ref(!1),c=getCurrentInstance(),u=computed((()=>{if(!e.rowKey.value)return{};const t=e.data.value||[];return p(t)})),d=computed((()=>{const t=e.rowKey.value,n=Object.keys(i.value),o={};return n.length?(n.forEach((e=>{if(i.value[e].length){const n={children:[]};i.value[e].forEach((e=>{const r=getRowIdentity(e,t);n.children.push(r),e[a.value]&&!o[r]&&(o[r]={children:[]})})),o[e]=n}})),o):o})),p=t=>{const n=e.rowKey.value,o={};return walkTreeNode(t,((e,t,i)=>{const a=getRowIdentity(e,n);isArray$6(t)?o[a]={children:t.map((e=>getRowIdentity(e,n))),level:i}:r.value&&(o[a]={children:[],lazy:!0,level:i})}),l.value,a.value),o};let f=!0;const h=(e=!1)=>{var o,i;const a=u.value,l=d.value,s=Object.keys(a),p={},h=(null==(o=c.store)?void 0:o.states.defaultExpandAll.value)&&f;if(f=!1,s.length){const o=unref(n),i=[],c=(n,o)=>{if(e)return t.value.length?h||t.value.includes(o):!(!h&&!(null==n?void 0:n.expanded));{const e=h||t.value&&t.value.includes(o);return!(!(null==n?void 0:n.expanded)&&!e)}};s.forEach((e=>{const t=o[e],n={...a[e]};if(n.expanded=c(t,e),n.lazy){const{loaded:o=!1,loading:r=!1}=t||{};n.loaded=!!o,n.loading=!!r,i.push(e)}p[e]=n}));const u=Object.keys(l);r.value&&u.length&&i.length&&u.forEach((e=>{const t=o[e],n=l[e].children;if(i.includes(e)){if(0!==p[e].children.length)throw new Error("[ElTable]children must be an empty array.");p[e].children=n}else{const{loaded:o=!1,loading:r=!1}=t||{};p[e]={lazy:!0,loaded:!!o,loading:!!r,expanded:c(t,e),children:n,level:""}}}))}n.value=p,null==(i=c.store)||i.updateTableScrollY()};watch((()=>t.value),(()=>{h(!0)})),watch((()=>u.value),(()=>{h()})),watch((()=>d.value),(()=>{h()}));const m=e=>r.value&&e&&"loaded"in e&&!e.loaded,g=(t,o)=>{c.store.assertRowKey();const r=e.rowKey.value,i=getRowIdentity(t,r),a=i&&n.value[i];if(i&&a&&"expanded"in a){const e=a.expanded;o=isUndefined(o)?!a.expanded:o,n.value[i].expanded=o,e!==o&&c.emit("expand-change",t,o),m(a)&&v(t,i,a),c.store.updateTableScrollY()}},v=(e,t,o)=>{const{load:r}=c.props;r&&!n.value[t].loaded&&(n.value[t].loading=!0,r(e,o,(o=>{if(!isArray$6(o))throw new TypeError("[ElTable] data must be an array");n.value[t].loading=!1,n.value[t].loaded=!0,n.value[t].expanded=!0,o.length&&(i.value[t]=o),c.emit("expand-change",e,!0)})))};return{loadData:v,loadOrToggle:t=>{c.store.assertRowKey();const o=e.rowKey.value,r=getRowIdentity(t,o),i=n.value[r];m(i)?v(t,r,i):g(t,void 0)},toggleTreeExpansion:g,updateTreeExpandKeys:e=>{t.value=e,h()},updateTreeData:h,updateKeyChildren:(e,t)=>{const{lazy:n,rowKey:o}=c.props;if(n){if(!o)throw new Error("[Table] rowKey is required in updateKeyChild");i.value[e]&&(i.value[e]=t)}},normalize:p,states:{expandRowKeys:t,treeData:n,indent:o,lazy:r,lazyTreeNodeMap:i,lazyColumnIdentifier:a,childrenColumnName:l,checkStrictly:s}}}const sortData=(e,t)=>{const n=t.sortingColumn;return!n||isString$4(n.sortable)?e:orderBy(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},doFlattenColumns=e=>{const t=[];return e.forEach((e=>{e.children&&e.children.length>0?t.push.apply(t,doFlattenColumns(e.children)):t.push(e)})),t};function useWatcher$1(){var e;const t=getCurrentInstance(),{size:n}=toRefs(null==(e=t.proxy)?void 0:e.$props),o=ref(null),r=ref([]),i=ref([]),a=ref(!1),l=ref([]),s=ref([]),c=ref([]),u=ref([]),d=ref([]),p=ref([]),f=ref([]),h=ref([]),m=ref(0),g=ref(0),v=ref(0),y=ref(!1),b=ref([]),_=ref(!1),w=ref(!1),k=ref(null),x=ref({}),S=ref(null),C=ref(null),E=ref(null),T=ref(null),A=ref(null),$=computed((()=>o.value?getKeysMap(b.value,o.value):void 0));watch(r,(()=>{var e;if(t.state){P(!1);"auto"===t.props.tableLayout&&(null==(e=t.refs.tableHeaderRef)||e.updateFixedColumnStyle())}}),{deep:!0});const I=e=>{var t;null==(t=e.children)||t.forEach((t=>{t.fixed=e.fixed,I(t)}))},M=()=>{var e,t;let n;if(l.value.forEach((e=>{I(e)})),u.value=l.value.filter((e=>"selection"!==e.type&&[!0,"left"].includes(e.fixed))),"selection"===(null==(t=null==(e=l.value)?void 0:e[0])?void 0:t.type)){const e=l.value[0];n=[!0,"left"].includes(e.fixed)||u.value.length&&"right"!==e.fixed,n&&u.value.unshift(e)}d.value=l.value.filter((e=>"right"===e.fixed));const o=l.value.filter((e=>!(n&&"selection"===e.type||e.fixed)));s.value=[].concat(u.value).concat(o).concat(d.value);const r=doFlattenColumns(o),i=doFlattenColumns(u.value),p=doFlattenColumns(d.value);m.value=r.length,g.value=i.length,v.value=p.length,c.value=[].concat(i).concat(r).concat(p),a.value=u.value.length>0||d.value.length>0},P=(e,n=!1)=>{e&&M(),n?t.state.doLayout():t.state.debouncedUpdateLayout()},N=e=>$.value?!!$.value[getRowIdentity(e,o.value)]:b.value.includes(e),O=e=>{var n;if(!t||!t.store)return 0;const{treeData:o}=t.store.states;let r=0;const i=null==(n=o.value[e])?void 0:n.children;return i&&(r+=i.length,i.forEach((e=>{r+=O(e)}))),r},R=(e,t,n)=>{C.value&&C.value!==e&&(C.value.order=null),C.value=e,E.value=t,T.value=n},D=()=>{let e=unref(i);Object.keys(x.value).forEach((t=>{const n=x.value[t];if(!n||0===n.length)return;const o=getColumnById({columns:c.value},t);o&&o.filterMethod&&(e=e.filter((e=>n.some((t=>o.filterMethod.call(null,t,e,o))))))})),S.value=e},L=()=>{r.value=sortData(S.value,{sortingColumn:C.value,sortProp:E.value,sortOrder:T.value})},{setExpandRowKeys:B,toggleRowExpansion:V,updateExpandRows:z,states:F,isRowExpanded:H}=useExpand({data:r,rowKey:o}),{updateTreeExpandKeys:j,toggleTreeExpansion:G,updateTreeData:U,updateKeyChildren:W,loadOrToggle:Y,states:q}=useTree$2({data:r,rowKey:o}),{updateCurrentRowData:K,updateCurrentRow:Z,setCurrentRowKey:X,states:J}=useCurrent({data:r,rowKey:o});return{assertRowKey:()=>{if(!o.value)throw new Error("[ElTable] prop row-key is required")},updateColumns:M,scheduleLayout:P,isSelected:N,clearSelection:()=>{y.value=!1;const e=b.value;b.value=[],e.length&&t.emit("selection-change",[])},cleanSelection:()=>{var e,n;let i;if(o.value){i=[];const a=null==(n=null==(e=null==t?void 0:t.store)?void 0:e.states)?void 0:n.childrenColumnName.value,l=getKeysMap(r.value,o.value,!0,a);for(const e in $.value)hasOwn$1($.value,e)&&!l[e]&&i.push($.value[e].row)}else i=b.value.filter((e=>!r.value.includes(e)));if(i.length){const e=b.value.filter((e=>!i.includes(e)));b.value=e,t.emit("selection-change",e.slice())}},getSelectionRows:()=>(b.value||[]).slice(),toggleRowSelection:(e,n,o=!0,i=!1)=>{var a,l,s,c;const u={children:null==(l=null==(a=null==t?void 0:t.store)?void 0:a.states)?void 0:l.childrenColumnName.value,checkStrictly:null==(c=null==(s=null==t?void 0:t.store)?void 0:s.states)?void 0:c.checkStrictly.value};if(toggleRowStatus(b.value,e,n,u,i?void 0:k.value,r.value.indexOf(e))){const n=(b.value||[]).slice();o&&t.emit("select",n,e),t.emit("selection-change",n)}},_toggleAllSelection:()=>{var e,n;const o=w.value?!y.value:!(y.value||b.value.length);y.value=o;let i=!1,a=0;const l=null==(n=null==(e=null==t?void 0:t.store)?void 0:e.states)?void 0:n.rowKey.value,{childrenColumnName:s}=t.store.states,c={children:s.value,checkStrictly:!1};r.value.forEach(((e,t)=>{const n=t+a;toggleRowStatus(b.value,e,o,c,k.value,n)&&(i=!0),a+=O(getRowIdentity(e,l))})),i&&t.emit("selection-change",b.value?b.value.slice():[]),t.emit("select-all",(b.value||[]).slice())},toggleAllSelection:null,updateSelectionByRowKey:()=>{r.value.forEach((e=>{const t=getRowIdentity(e,o.value),n=$.value[t];n&&(b.value[n.index]=e)}))},updateAllSelected:()=>{var e;if(0===(null==(e=r.value)?void 0:e.length))return void(y.value=!1);const{childrenColumnName:n}=t.store.states;let o=0,i=0;const a=e=>{var t;for(const r of e){const e=k.value&&k.value.call(null,r,o);if(N(r))i++;else if(!k.value||e)return!1;if(o++,(null==(t=r[n.value])?void 0:t.length)&&!a(r[n.value]))return!1}return!0},l=a(r.value||[]);y.value=0!==i&&l},updateFilters:(e,t)=>{isArray$6(e)||(e=[e]);const n={};return e.forEach((e=>{x.value[e.id]=t,n[e.columnKey||e.id]=t})),n},updateCurrentRow:Z,updateSort:R,execFilter:D,execSort:L,execQuery:(e=void 0)=>{e&&e.filter||D(),L()},clearFilter:e=>{const{tableHeaderRef:n}=t.refs;if(!n)return;const o=Object.assign({},n.filterPanels),r=Object.keys(o);if(r.length)if(isString$4(e)&&(e=[e]),isArray$6(e)){const n=e.map((e=>getColumnByKey({columns:c.value},e)));r.forEach((e=>{const t=n.find((t=>t.id===e));t&&(t.filteredValue=[])})),t.store.commit("filterChange",{column:n,values:[],silent:!0,multi:!0})}else r.forEach((e=>{const t=c.value.find((t=>t.id===e));t&&(t.filteredValue=[])})),x.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},clearSort:()=>{C.value&&(R(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},toggleRowExpansion:V,setExpandRowKeysAdapter:e=>{B(e),j(e)},setCurrentRowKey:X,toggleRowExpansionAdapter:(e,t)=>{c.value.some((({type:e})=>"expand"===e))?V(e,t):G(e,t)},isRowExpanded:H,updateExpandRows:z,updateCurrentRowData:K,loadOrToggle:Y,updateTreeData:U,updateKeyChildren:W,states:{tableSize:n,rowKey:o,data:r,_data:i,isComplex:a,_columns:l,originColumns:s,columns:c,fixedColumns:u,rightFixedColumns:d,leafColumns:p,fixedLeafColumns:f,rightFixedLeafColumns:h,updateOrderFns:[],leafColumnsLength:m,fixedLeafColumnsLength:g,rightFixedLeafColumnsLength:v,isAllSelected:y,selection:b,reserveSelection:_,selectOnIndeterminate:w,selectable:k,filters:x,filteredData:S,sortingColumn:C,sortProp:E,sortOrder:T,hoverRow:A,...F,...q,...J}}}function replaceColumn(e,t){return e.map((e=>{var n;return e.id===t.id?t:((null==(n=e.children)?void 0:n.length)&&(e.children=replaceColumn(e.children,t)),e)}))}function sortColumn(e){e.forEach((e=>{var t,n;e.no=null==(t=e.getColumnIndex)?void 0:t.call(e),(null==(n=e.children)?void 0:n.length)&&sortColumn(e.children)})),e.sort(((e,t)=>e.no-t.no))}function useStore(){const e=getCurrentInstance(),t=useWatcher$1();return{ns:useNamespace("table"),...t,mutations:{setData(t,n){const o=unref(t._data)!==n;t.data.value=n,t._data.value=n,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),unref(t.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):o?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(t,n,o,r){const i=unref(t._columns);let a=[];o?(o&&!o.children&&(o.children=[]),o.children.push(n),a=replaceColumn(i,o)):(i.push(n),a=i),sortColumn(a),t._columns.value=a,t.updateOrderFns.push(r),"selection"===n.type&&(t.selectable.value=n.selectable,t.reserveSelection.value=n.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(t,n){var o;(null==(o=n.getColumnIndex)?void 0:o.call(n))!==n.no&&(sortColumn(t._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(t,n,o,r){const i=unref(t._columns)||[];if(o)o.children.splice(o.children.findIndex((e=>e.id===n.id)),1),nextTick((()=>{var e;0===(null==(e=o.children)?void 0:e.length)&&delete o.children})),t._columns.value=replaceColumn(i,o);else{const e=i.indexOf(n);e>-1&&(i.splice(e,1),t._columns.value=i)}const a=t.updateOrderFns.indexOf(r);a>-1&&t.updateOrderFns.splice(a,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(t,n){const{prop:o,order:r,init:i}=n;if(o){const n=unref(t.columns).find((e=>e.property===o));n&&(n.order=r,e.store.updateSort(n,o,r),e.store.commit("changeSortCondition",{init:i}))}},changeSortCondition(t,n){const{sortingColumn:o,sortProp:r,sortOrder:i}=t,a=unref(o),l=unref(r),s=unref(i);isNull(s)&&(t.sortingColumn.value=null,t.sortProp.value=null);e.store.execQuery({filter:!0}),n&&(n.silent||n.init)||e.emit("sort-change",{column:a,prop:l,order:s}),e.store.updateTableScrollY()},filterChange(t,n){const{column:o,values:r,silent:i}=n,a=e.store.updateFilters(o,r);e.store.execQuery(),i||e.emit("filter-change",a),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(t,n){e.store.toggleRowSelection(n),e.store.updateAllSelected()},setHoverRow(e,t){e.hoverRow.value=t},setCurrentRow(t,n){e.store.updateCurrentRow(n)}},commit:function(t,...n){const o=e.store.mutations;if(!o[t])throw new Error(`Action not found: ${t}`);o[t].apply(e,[e.store.states].concat(n))},updateTableScrollY:function(){nextTick((()=>e.layout.updateScrollY.apply(e.layout)))}}}const InitialStateMap={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function createStore(e,t){if(!e)throw new Error("Table is required.");const n=useStore();return n.toggleAllSelection=debounce(n._toggleAllSelection,10),Object.keys(InitialStateMap).forEach((e=>{handleValue(getArrKeysValue(t,e),e,n)})),proxyTableProps(n,t),n}function proxyTableProps(e,t){Object.keys(InitialStateMap).forEach((n=>{watch((()=>getArrKeysValue(t,n)),(t=>{handleValue(t,n,e)}))}))}function handleValue(e,t,n){let o=e,r=InitialStateMap[t];isObject$8(InitialStateMap[t])&&(r=r.key,o=o||InitialStateMap[t].default),n.states[r].value=o}function getArrKeysValue(e,t){if(t.includes(".")){const n=t.split(".");let o=e;return n.forEach((e=>{o=o[e]})),o}return e[t]}class TableLayout{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=ref(null),this.scrollX=ref(!1),this.scrollY=ref(!1),this.bodyWidth=ref(null),this.fixedWidth=ref(null),this.rightFixedWidth=ref(null),this.gutterWidth=0;for(const t in e)hasOwn$1(e,t)&&(isRef(this[t])?this[t].value=e[t]:this[t]=e[t]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(isNull(this.height.value))return!1;const e=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(null==e?void 0:e.wrapRef)){let t=!0;const n=this.scrollY.value;return t=e.wrapRef.scrollHeight>e.wrapRef.clientHeight,this.scrollY.value=t,n!==t}return!1}setHeight(e,t="height"){if(!isClient)return;const n=this.table.vnode.el;if(e=parseHeight(e),this.height.value=Number(e),!n&&(e||0===e))return nextTick((()=>this.setHeight(e,t)));isNumber(e)?(n.style[t]=`${e}px`,this.updateElsHeight()):isString$4(e)&&(n.style[t]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach((t=>{t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)})),e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let t=e;for(;"DIV"!==t.tagName;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1}updateColumnsWidth(){if(!isClient)return;const e=this.fit,t=this.table.vnode.el.clientWidth;let n=0;const o=this.getFlattenColumns(),r=o.filter((e=>!isNumber(e.width)));if(o.forEach((e=>{isNumber(e.width)&&e.realWidth&&(e.realWidth=null)})),r.length>0&&e){if(o.forEach((e=>{n+=Number(e.width||e.minWidth||80)})),n<=t){this.scrollX.value=!1;const e=t-n;if(1===r.length)r[0].realWidth=Number(r[0].minWidth||80)+e;else{const t=e/r.reduce(((e,t)=>e+Number(t.minWidth||80)),0);let n=0;r.forEach(((e,o)=>{if(0===o)return;const r=Math.floor(Number(e.minWidth||80)*t);n+=r,e.realWidth=Number(e.minWidth||80)+r})),r[0].realWidth=Number(r[0].minWidth||80)+e-n}}else this.scrollX.value=!0,r.forEach((e=>{e.realWidth=Number(e.minWidth)}));this.bodyWidth.value=Math.max(n,t),this.table.state.resizeState.value.width=this.bodyWidth.value}else o.forEach((e=>{e.width||e.minWidth?e.realWidth=Number(e.width||e.minWidth):e.realWidth=80,n+=e.realWidth})),this.scrollX.value=n>t,this.bodyWidth.value=n;const i=this.store.states.fixedColumns.value;if(i.length>0){let e=0;i.forEach((t=>{e+=Number(t.realWidth||t.width)})),this.fixedWidth.value=e}const a=this.store.states.rightFixedColumns.value;if(a.length>0){let e=0;a.forEach((t=>{e+=Number(t.realWidth||t.width)})),this.rightFixedWidth.value=e}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)}notifyObservers(e){this.observers.forEach((t=>{var n,o;switch(e){case"columns":null==(n=t.state)||n.onColumnsChange(this);break;case"scrollable":null==(o=t.state)||o.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}}))}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$D=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox:ElCheckbox,ElCheckboxGroup:ElCheckboxGroup,ElScrollbar:ElScrollbar,ElTooltip:ElTooltip,ElIcon:ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},directives:{ClickOutside:ClickOutside},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:useTooltipContentProps.appendTo},setup(e){const t=getCurrentInstance(),{t:n}=useLocale(),o=useNamespace("table-filter"),r=null==t?void 0:t.parent;r.filterPanels.value[e.column.id]||(r.filterPanels.value[e.column.id]=t);const i=ref(!1),a=ref(null),l=computed((()=>e.column&&e.column.filters)),s=computed((()=>e.column.filterClassName?`${o.b()} ${e.column.filterClassName}`:o.b())),c=computed({get:()=>{var t;return((null==(t=e.column)?void 0:t.filteredValue)||[])[0]},set:e=>{u.value&&(isPropAbsent(e)?u.value.splice(0,1):u.value.splice(0,1,e))}}),u=computed({get:()=>e.column&&e.column.filteredValue||[],set(t){e.column&&e.upDataColumn("filteredValue",t)}}),d=computed((()=>!e.column||e.column.filterMultiple)),p=()=>{i.value=!1},f=t=>{e.store.commit("filterChange",{column:e.column,values:t}),e.store.updateAllSelected()};watch(i,(t=>{e.column&&e.upDataColumn("filterOpened",t)}),{immediate:!0});const h=computed((()=>{var e,t;return null==(t=null==(e=a.value)?void 0:e.popperRef)?void 0:t.contentRef}));return{tooltipVisible:i,multiple:d,filterClassName:s,filteredValue:u,filterValue:c,filters:l,handleConfirm:()=>{f(u.value),p()},handleReset:()=>{u.value=[],f(u.value),p()},handleSelect:e=>{c.value=e,isPropAbsent(e)?f([]):f(u.value),p()},isPropAbsent:isPropAbsent,isActive:e=>e.value===c.value,t:n,ns:o,showFilterPanel:e=>{e.stopPropagation(),i.value=!i.value},hideFilterPanel:()=>{i.value=!1},popperPaneRef:h,tooltip:a}}});function _sfc_render$4(e,t,n,o,r,i){const a=resolveComponent("el-checkbox"),l=resolveComponent("el-checkbox-group"),s=resolveComponent("el-scrollbar"),c=resolveComponent("arrow-up"),u=resolveComponent("arrow-down"),d=resolveComponent("el-icon"),p=resolveComponent("el-tooltip"),f=resolveDirective("click-outside");return openBlock(),createBlock(p,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo},{content:withCtx((()=>[e.multiple?(openBlock(),createElementBlock("div",{key:0},[createBaseVNode("div",{class:normalizeClass(e.ns.e("content"))},[createVNode$1(s,{"wrap-class":e.ns.e("wrap")},{default:withCtx((()=>[createVNode$1(l,{modelValue:e.filteredValue,"onUpdate:modelValue":t=>e.filteredValue=t,class:normalizeClass(e.ns.e("checkbox-group"))},{default:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.filters,(e=>(openBlock(),createBlock(a,{key:e.value,value:e.value},{default:withCtx((()=>[createTextVNode(toDisplayString(e.text),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue","onUpdate:modelValue","class"])])),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(e.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[e.ns.is("disabled")]:0===e.filteredValue.length}),disabled:0===e.filteredValue.length,type:"button",onClick:e.handleConfirm},toDisplayString(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),createBaseVNode("button",{type:"button",onClick:e.handleReset},toDisplayString(e.t("el.table.resetFilter")),9,["onClick"])],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(e.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([e.ns.e("list-item"),{[e.ns.is("active")]:e.isPropAbsent(e.filterValue)}]),onClick:t=>e.handleSelect(null)},toDisplayString(e.t("el.table.clearFilter")),11,["onClick"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.filters,(t=>(openBlock(),createElementBlock("li",{key:t.value,class:normalizeClass([e.ns.e("list-item"),e.ns.is("active",e.isActive(t))]),label:t.value,onClick:n=>e.handleSelect(t.value)},toDisplayString(t.text),11,["label","onClick"])))),128))],2))])),default:withCtx((()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:e.showFilterPanel},[createVNode$1(d,null,{default:withCtx((()=>[renderSlot(e.$slots,"filter-icon",{},(()=>[e.column.filterOpened?(openBlock(),createBlock(c,{key:0})):(openBlock(),createBlock(u,{key:1}))]))])),_:3})],10,["onClick"])),[[f,e.hideFilterPanel,e.popperPaneRef]])])),_:3},8,["visible","placement","popper-class","append-to"])}var FilterPanel=_export_sfc(_sfc_main$D,[["render",_sfc_render$4],["__file","filter-panel.vue"]]);function useLayoutObserver(e){const t=getCurrentInstance();onBeforeMount((()=>{n.value.addObserver(t)})),onMounted((()=>{o(n.value),r(n.value)})),onUpdated((()=>{o(n.value),r(n.value)})),onUnmounted((()=>{n.value.removeObserver(t)}));const n=computed((()=>{const t=e.layout;if(!t)throw new Error("Can not find table layout.");return t})),o=t=>{var n;const o=(null==(n=e.vnode.el)?void 0:n.querySelectorAll("colgroup > col"))||[];if(!o.length)return;const r=t.getFlattenColumns(),i={};r.forEach((e=>{i[e.id]=e}));for(let e=0,a=o.length;e<a;e++){const t=o[e],n=t.getAttribute("name"),r=i[n];r&&t.setAttribute("width",r.realWidth||r.width)}},r=t=>{var n,o;const r=(null==(n=e.vnode.el)?void 0:n.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let e=0,a=r.length;e<a;e++){r[e].setAttribute("width",t.scrollY.value?t.gutterWidth:"0")}const i=(null==(o=e.vnode.el)?void 0:o.querySelectorAll("th.gutter"))||[];for(let e=0,a=i.length;e<a;e++){const n=i[e];n.style.width=t.scrollY.value?`${t.gutterWidth}px`:"0",n.style.display=t.scrollY.value?"":"none"}};return{tableLayout:n.value,onColumnsChange:o,onScrollableChange:r}}const TABLE_INJECTION_KEY=Symbol("ElTable");function useEvent(e,t){const n=getCurrentInstance(),o=inject(TABLE_INJECTION_KEY),r=e=>{e.stopPropagation()},i=ref(null),a=ref(!1),l=ref({}),s=(t,n,r)=>{var i;t.stopPropagation();const a=n.order===r?null:r||(({order:e,sortOrders:t})=>{if(""===e)return t[0];const n=t.indexOf(e||null);return t[n>t.length-2?0:n+1]})(n),l=null==(i=t.target)?void 0:i.closest("th");if(l&&hasClass(l,"noclick"))return void removeClass(l,"noclick");if(!n.sortable)return;const s=t.currentTarget;if(["ascending","descending"].some((e=>hasClass(s,e)&&!n.sortOrders.includes(e))))return;const c=e.store.states;let u,d=c.sortProp.value;const p=c.sortingColumn.value;(p!==n||p===n&&isNull(p.order))&&(p&&(p.order=null),c.sortingColumn.value=n,d=n.property),u=n.order=a||null,c.sortProp.value=d,c.sortOrder.value=u,null==o||o.store.commit("changeSortCondition")};return{handleHeaderClick:(e,t)=>{!t.filters&&t.sortable?s(e,t,!1):t.filterable&&!t.sortable&&r(e),null==o||o.emit("header-click",t,e)},handleHeaderContextMenu:(e,t)=>{null==o||o.emit("header-contextmenu",t,e)},handleMouseDown:(r,s)=>{if(isClient&&!(s.children&&s.children.length>0)&&i.value&&e.border){a.value=!0;const c=o;t("set-drag-visible",!0);const u=(null==c?void 0:c.vnode.el).getBoundingClientRect().left,d=n.vnode.el.querySelector(`th.${s.id}`),p=d.getBoundingClientRect(),f=p.left-u+30;addClass(d,"noclick"),l.value={startMouseLeft:r.clientX,startLeft:p.right-u,startColumnLeft:p.left-u,tableLeft:u};const h=null==c?void 0:c.refs.resizeProxy;h.style.left=`${l.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const m=e=>{const t=e.clientX-l.value.startMouseLeft,n=l.value.startLeft+t;h.style.left=`${Math.max(f,n)}px`},g=()=>{if(a.value){const{startColumnLeft:n,startLeft:o}=l.value,u=Number.parseInt(h.style.left,10)-n;s.width=s.realWidth=u,null==c||c.emit("header-dragend",s.width,o-n,s,r),requestAnimationFrame((()=>{e.store.scheduleLayout(!1,!0)})),document.body.style.cursor="",a.value=!1,i.value=null,l.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",g),document.onselectstart=null,document.ondragstart=null,setTimeout((()=>{removeClass(d,"noclick")}),0)};document.addEventListener("mousemove",m),document.addEventListener("mouseup",g)}},handleMouseMove:(t,n)=>{var o;if(n.children&&n.children.length>0)return;const r=t.target;if(!isElement$1(r))return;const l=null==r?void 0:r.closest("th");if(n&&n.resizable&&l&&!a.value&&e.border){const r=l.getBoundingClientRect(),s=document.body.style,c=(null==(o=l.parentNode)?void 0:o.lastElementChild)===l,u=e.allowDragLastColumn||!c;r.width>12&&r.right-t.clientX<8&&u?(s.cursor="col-resize",hasClass(l,"is-sortable")&&(l.style.cursor="col-resize"),i.value=n):a.value||(s.cursor="",hasClass(l,"is-sortable")&&(l.style.cursor="pointer"),i.value=null)}},handleMouseOut:()=>{isClient&&(document.body.style.cursor="")},handleSortClick:s,handleFilterClick:r}}function useStyle$2(e){const t=inject(TABLE_INJECTION_KEY),n=useNamespace("table");return{getHeaderRowStyle:e=>{const n=null==t?void 0:t.props.headerRowStyle;return isFunction$5(n)?n.call(null,{rowIndex:e}):n},getHeaderRowClass:e=>{const n=[],o=null==t?void 0:t.props.headerRowClassName;return isString$4(o)?n.push(o):isFunction$5(o)&&n.push(o.call(null,{rowIndex:e})),n.join(" ")},getHeaderCellStyle:(n,o,r,i)=>{var a;let l=null!=(a=null==t?void 0:t.props.headerCellStyle)?a:{};isFunction$5(l)&&(l=l.call(null,{rowIndex:n,columnIndex:o,row:r,column:i}));const s=getFixedColumnOffset(o,i.fixed,e.store,r);return ensurePosition(s,"left"),ensurePosition(s,"right"),Object.assign({},l,s)},getHeaderCellClass:(o,r,i,a)=>{const l=getFixedColumnsClass(n.b(),r,a.fixed,e.store,i),s=[a.id,a.order,a.headerAlign,a.className,a.labelClassName,...l];a.children||s.push("is-leaf"),a.sortable&&s.push("is-sortable");const c=null==t?void 0:t.props.headerCellClassName;return isString$4(c)?s.push(c):isFunction$5(c)&&s.push(c.call(null,{rowIndex:o,columnIndex:r,row:i,column:a})),s.push(n.e("cell")),s.filter((e=>Boolean(e))).join(" ")}}}const getAllColumns=e=>{const t=[];return e.forEach((e=>{e.children?(t.push(e),t.push.apply(t,getAllColumns(e.children))):t.push(e)})),t},convertToRows=e=>{let t=1;const n=(e,o)=>{if(o&&(e.level=o.level+1,t<e.level&&(t=e.level)),e.children){let t=0;e.children.forEach((o=>{n(o,e),t+=o.colSpan})),e.colSpan=t}else e.colSpan=1};e.forEach((e=>{e.level=1,n(e,void 0)}));const o=[];for(let r=0;r<t;r++)o.push([]);return getAllColumns(e).forEach((e=>{e.children?(e.rowSpan=1,e.children.forEach((e=>e.isSubColumn=!0))):e.rowSpan=t-e.level+1,o[e.level-1].push(e)})),o};function useUtils$1(e){const t=inject(TABLE_INJECTION_KEY),n=computed((()=>convertToRows(e.store.states.originColumns.value)));return{isGroup:computed((()=>{const e=n.value.length>1;return e&&t&&(t.state.isGroup.value=!0),e})),toggleAllSelection:e=>{e.stopPropagation(),null==t||t.store.commit("toggleAllSelection")},columnRows:n}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox:ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=getCurrentInstance(),o=inject(TABLE_INJECTION_KEY),r=useNamespace("table"),i=ref({}),{onColumnsChange:a,onScrollableChange:l}=useLayoutObserver(o),s="auto"===(null==o?void 0:o.props.tableLayout),c=reactive(new Map),u=ref(),d=()=>{setTimeout((()=>{c.size>0&&(c.forEach(((e,t)=>{const n=u.value.querySelector(`.${t.replace(/\s/g,".")}`);if(n){const t=n.getBoundingClientRect().width;e.width=t}})),c.clear())}))};watch(c,d),onMounted((async()=>{await nextTick(),await nextTick();const{prop:t,order:n}=e.defaultSort;null==o||o.store.commit("sort",{prop:t,order:n,init:!0}),d()}));const{handleHeaderClick:p,handleHeaderContextMenu:f,handleMouseDown:h,handleMouseMove:m,handleMouseOut:g,handleSortClick:v,handleFilterClick:y}=useEvent(e,t),{getHeaderRowStyle:b,getHeaderRowClass:_,getHeaderCellStyle:w,getHeaderCellClass:k}=useStyle$2(e),{isGroup:x,toggleAllSelection:S,columnRows:C}=useUtils$1(e);return n.state={onColumnsChange:a,onScrollableChange:l},n.filterPanels=i,{ns:r,filterPanels:i,onColumnsChange:a,onScrollableChange:l,columnRows:C,getHeaderRowClass:_,getHeaderRowStyle:b,getHeaderCellClass:k,getHeaderCellStyle:w,handleHeaderClick:p,handleHeaderContextMenu:f,handleMouseDown:h,handleMouseMove:m,handleMouseOut:g,handleSortClick:v,handleFilterClick:y,isGroup:x,toggleAllSelection:S,saveIndexSelection:c,isTableLayoutAuto:s,theadRef:u,updateFixedColumnStyle:d}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:o,getHeaderCellClass:r,getHeaderRowClass:i,getHeaderRowStyle:a,handleHeaderClick:l,handleHeaderContextMenu:s,handleMouseDown:c,handleMouseMove:u,handleSortClick:d,handleMouseOut:p,store:f,$parent:h,saveIndexSelection:m,isTableLayoutAuto:g}=this;let v=1;return h$5("thead",{ref:"theadRef",class:{[e.is("group")]:t}},n.map(((e,t)=>h$5("tr",{class:i(t),key:t,style:a(t)},e.map(((n,i)=>{n.rowSpan>v&&(v=n.rowSpan);const a=r(t,i,e,n);return g&&n.fixed&&m.set(a,n),h$5("th",{class:a,colspan:n.colSpan,key:`${n.id}-thead`,rowspan:n.rowSpan,style:o(t,i,e,n),onClick:e=>{e.currentTarget.classList.contains("noclick")||l(e,n)},onContextmenu:e=>s(e,n),onMousedown:e=>c(e,n),onMousemove:e=>u(e,n),onMouseout:p},[h$5("div",{class:["cell",n.filteredValue&&n.filteredValue.length>0?"highlight":""]},[n.renderHeader?n.renderHeader({column:n,$index:i,store:f,_self:h}):n.label,n.sortable&&h$5("span",{onClick:e=>d(e,n),class:"caret-wrapper"},[h$5("i",{onClick:e=>d(e,n,"ascending"),class:"sort-caret ascending"}),h$5("i",{onClick:e=>d(e,n,"descending"),class:"sort-caret descending"})]),n.filterable&&h$5(FilterPanel,{store:f,placement:n.filterPlacement||"bottom-start",appendTo:h.appendFilterPanelTo,column:n,upDataColumn:(e,t)=>{n[e]=t}},{"filter-icon":()=>n.renderFilterIcon?n.renderFilterIcon({filterOpened:n.filterOpened}):null})])])}))))))}});function isGreaterThan(e,t,n=.03){return e-t>n}function useEvents(e){const t=inject(TABLE_INJECTION_KEY),n=ref(""),o=ref(h$5("div")),r=(n,o,r)=>{var i;const a=t,l=getCell(n);let s;const c=null==(i=null==a?void 0:a.vnode.el)?void 0:i.dataset.prefix;l&&(s=getColumnByCell({columns:e.store.states.columns.value},l,c),s&&(null==a||a.emit(`cell-${r}`,o,s,l,n))),null==a||a.emit(`row-${r}`,o,s,n)},i=debounce((t=>{e.store.commit("setHoverRow",t)}),30),a=debounce((()=>{e.store.commit("setHoverRow",null)}),30),l=(e,t,n)=>{let o=t.target.parentNode;for(;e>1&&(o=null==o?void 0:o.nextSibling,o&&"TR"===o.nodeName);)n(o,"hover-row hover-fixed-row"),e--};return{handleDoubleClick:(e,t)=>{r(e,t,"dblclick")},handleClick:(t,n)=>{e.store.commit("setCurrentRow",n),r(t,n,"click")},handleContextMenu:(e,t)=>{r(e,t,"contextmenu")},handleMouseEnter:i,handleMouseLeave:a,handleCellMouseEnter:(n,o,r)=>{var i,a,s;const c=t,u=getCell(n),d=null==(i=null==c?void 0:c.vnode.el)?void 0:i.dataset.prefix;let p;if(u){p=getColumnByCell({columns:e.store.states.columns.value},u,d),u.rowSpan>1&&l(u.rowSpan,n,addClass);const t=c.hoverState={cell:u,column:p,row:o};null==c||c.emit("cell-mouse-enter",t.row,t.column,t.cell,n)}if(!r)return;const f=n.target.querySelector(".cell");if(!hasClass(f,`${d}-tooltip`)||!f.childNodes.length)return;const h=document.createRange();h.setStart(f,0),h.setEnd(f,f.childNodes.length);const{width:m,height:g}=h.getBoundingClientRect(),{width:v,height:y}=f.getBoundingClientRect(),{top:b,left:_,right:w,bottom:k}=(e=>{const t=window.getComputedStyle(e,null);return{left:Number.parseInt(t.paddingLeft,10)||0,right:Number.parseInt(t.paddingRight,10)||0,top:Number.parseInt(t.paddingTop,10)||0,bottom:Number.parseInt(t.paddingBottom,10)||0}})(f),x=b+k;isGreaterThan(m+(_+w),v)||isGreaterThan(g+x,y)||isGreaterThan(f.scrollWidth,v)?createTablePopper(r,u.innerText||u.textContent,o,p,u,c):(null==(a=removePopper)?void 0:a.trigger)===u&&(null==(s=removePopper)||s())},handleCellMouseLeave:e=>{const n=getCell(e);if(!n)return;n.rowSpan>1&&l(n.rowSpan,e,removeClass);const o=null==t?void 0:t.hoverState;null==t||t.emit("cell-mouse-leave",null==o?void 0:o.row,null==o?void 0:o.column,null==o?void 0:o.cell,e)},tooltipContent:n,tooltipTrigger:o}}function useStyles$1(e){const t=inject(TABLE_INJECTION_KEY),n=useNamespace("table");return{getRowStyle:(e,n)=>{const o=null==t?void 0:t.props.rowStyle;return isFunction$5(o)?o.call(null,{row:e,rowIndex:n}):o||null},getRowClass:(o,r)=>{const i=[n.e("row")];(null==t?void 0:t.props.highlightCurrentRow)&&o===e.store.states.currentRow.value&&i.push("current-row"),e.stripe&&r%2==1&&i.push(n.em("row","striped"));const a=null==t?void 0:t.props.rowClassName;return isString$4(a)?i.push(a):isFunction$5(a)&&i.push(a.call(null,{row:o,rowIndex:r})),i},getCellStyle:(n,o,r,i)=>{const a=null==t?void 0:t.props.cellStyle;let l=null!=a?a:{};isFunction$5(a)&&(l=a.call(null,{rowIndex:n,columnIndex:o,row:r,column:i}));const s=getFixedColumnOffset(o,null==e?void 0:e.fixed,e.store);return ensurePosition(s,"left"),ensurePosition(s,"right"),Object.assign({},l,s)},getCellClass:(o,r,i,a,l)=>{const s=getFixedColumnsClass(n.b(),r,null==e?void 0:e.fixed,e.store,void 0,l),c=[a.id,a.align,a.className,...s],u=null==t?void 0:t.props.cellClassName;return isString$4(u)?c.push(u):isFunction$5(u)&&c.push(u.call(null,{rowIndex:o,columnIndex:r,row:i,column:a})),c.push(n.e("cell")),c.filter((e=>Boolean(e))).join(" ")},getSpan:(e,n,o,r)=>{let i=1,a=1;const l=null==t?void 0:t.props.spanMethod;if(isFunction$5(l)){const t=l({row:e,column:n,rowIndex:o,columnIndex:r});isArray$6(t)?(i=t[0],a=t[1]):isObject$8(t)&&(i=t.rowspan,a=t.colspan)}return{rowspan:i,colspan:a}},getColspanRealWidth:(e,t,n)=>{if(t<1)return e[n].realWidth;const o=e.map((({realWidth:e,width:t})=>e||t)).slice(n,n+t);return Number(o.reduce(((e,t)=>Number(e)+Number(t)),-1))}}}const __default__$v=defineComponent({name:"TableTdWrapper"}),_sfc_main$C=defineComponent({...__default__$v,props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup:e=>(t,n)=>(openBlock(),createElementBlock("td",{colspan:e.colspan,rowspan:e.rowspan},[renderSlot(t.$slots,"default")],8,["colspan","rowspan"]))});var TdWrapper=_export_sfc(_sfc_main$C,[["__file","td-wrapper.vue"]]);function useRender$1(e){const t=inject(TABLE_INJECTION_KEY),n=useNamespace("table"),{handleDoubleClick:o,handleClick:r,handleContextMenu:i,handleMouseEnter:a,handleMouseLeave:l,handleCellMouseEnter:s,handleCellMouseLeave:c,tooltipContent:u,tooltipTrigger:d}=useEvents(e),{getRowStyle:p,getRowClass:f,getCellStyle:h,getCellClass:m,getSpan:g,getColspanRealWidth:v}=useStyles$1(e),y=computed((()=>e.store.states.columns.value.findIndex((({type:e})=>"default"===e)))),b=(e,n)=>{const o=t.props.rowKey;return o?getRowIdentity(e,o):n},_=(u,d,_,k=!1)=>{const{tooltipEffect:x,tooltipOptions:S,store:C}=e,{indent:E,columns:T}=C.states,A=f(u,d);let $=!0;_&&(A.push(n.em("row",`level-${_.level}`)),$=_.display);return h$5("tr",{style:[$?null:{display:"none"},p(u,d)],class:A,key:b(u,d),onDblclick:e=>o(e,u),onClick:e=>r(e,u),onContextmenu:e=>i(e,u),onMouseenter:()=>a(d),onMouseleave:l},T.value.map(((n,o)=>{const{rowspan:r,colspan:i}=g(u,n,d,o);if(!r||!i)return null;const a=Object.assign({},n);a.realWidth=v(T.value,i,o);const l={store:e.store,_self:e.context||t,column:a,row:u,$index:d,cellIndex:o,expanded:k};o===y.value&&_&&(l.treeNode={indent:_.level*E.value,level:_.level},isBoolean(_.expanded)&&(l.treeNode.expanded=_.expanded,"loading"in _&&(l.treeNode.loading=_.loading),"noLazyChildren"in _&&(l.treeNode.noLazyChildren=_.noLazyChildren)));const p=`${b(u,d)},${o}`,f=a.columnKey||a.rawColumnKey||"",C=n.showOverflowTooltip&&merge$2({effect:x},S,n.showOverflowTooltip);return h$5(TdWrapper,{style:h(d,o,u,n),class:m(d,o,u,n,i-1),key:`${f}${p}`,rowspan:r,colspan:i,onMouseenter:e=>s(e,u,C),onMouseleave:c},{default:()=>w(o,n,l)})})))},w=(e,t,n)=>t.renderCell(n);return{wrappedRowRender:(o,r)=>{const i=e.store,{isRowExpanded:a,assertRowKey:l}=i,{treeData:s,lazyTreeNodeMap:c,childrenColumnName:u,rowKey:d}=i.states,p=i.states.columns.value;if(p.some((({type:e})=>"expand"===e))){const e=a(o),l=_(o,r,void 0,e),s=t.renderExpanded;if(!s)return l;const c=[[l]];return(t.props.preserveExpandedContent||e)&&c[0].push(h$5("tr",{key:`expanded-row__${l.key}`,style:{display:e?"":"none"}},[h$5("td",{colspan:p.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[s({row:o,$index:r,store:i,expanded:e})])])),c}if(Object.keys(s.value).length){l();const e=getRowIdentity(o,d.value);let t=s.value[e],n=null;t&&(n={expanded:t.expanded,level:t.level,display:!0},isBoolean(t.lazy)&&(isBoolean(t.loaded)&&t.loaded&&(n.noLazyChildren=!(t.children&&t.children.length)),n.loading=t.loading));const i=[_(o,r,n)];if(t){let n=0;const a=(e,o)=>{e&&e.length&&o&&e.forEach((e=>{const l={display:o.display&&o.expanded,level:o.level+1,expanded:!1,noLazyChildren:!1,loading:!1},p=getRowIdentity(e,d.value);if(isPropAbsent(p))throw new Error("For nested data item, row-key is required.");if(t={...s.value[p]},t&&(l.expanded=t.expanded,t.level=t.level||l.level,t.display=!(!t.expanded||!l.display),isBoolean(t.lazy)&&(isBoolean(t.loaded)&&t.loaded&&(l.noLazyChildren=!(t.children&&t.children.length)),l.loading=t.loading)),n++,i.push(_(e,r+n,l)),t){const n=c.value[p]||e[u.value];a(n,t)}}))};t.display=!0;const l=c.value[e]||o[u.value];a(l,t)}return i}return _(o,r,void 0)},tooltipContent:u,tooltipTrigger:d}}const defaultProps$3={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var TableBody=defineComponent({name:"ElTableBody",props:defaultProps$3,setup(e){const t=getCurrentInstance(),n=inject(TABLE_INJECTION_KEY),o=useNamespace("table"),{wrappedRowRender:r,tooltipContent:i,tooltipTrigger:a}=useRender$1(e),{onColumnsChange:l,onScrollableChange:s}=useLayoutObserver(n),c=[];return watch(e.store.states.hoverRow,((n,r)=>{var i;const a=null==t?void 0:t.vnode.el,l=Array.from((null==a?void 0:a.children)||[]).filter((e=>null==e?void 0:e.classList.contains(`${o.e("row")}`)));let s=n;const u=null==(i=l[s])?void 0:i.childNodes;if(null==u?void 0:u.length){let e=0;Array.from(u).reduce(((t,n,o)=>{var r,i;return(null==(r=u[o])?void 0:r.colSpan)>1&&(e=null==(i=u[o])?void 0:i.colSpan),"TD"!==n.nodeName&&0===e&&t.push(o),e>0&&e--,t}),[]).forEach((e=>{var t;for(s=n;s>0;){const n=null==(t=l[s-1])?void 0:t.childNodes;if(n[e]&&"TD"===n[e].nodeName&&n[e].rowSpan>1){addClass(n[e],"hover-cell"),c.push(n[e]);break}s--}}))}else c.forEach((e=>removeClass(e,"hover-cell"))),c.length=0;e.store.states.isComplex.value&&isClient&&rAF((()=>{const e=l[r],t=l[n];e&&!e.classList.contains("hover-fixed-row")&&removeClass(e,"hover-row"),t&&addClass(t,"hover-row")}))})),onUnmounted((()=>{var e;null==(e=removePopper)||e()})),{ns:o,onColumnsChange:l,onScrollableChange:s,wrappedRowRender:r,tooltipContent:i,tooltipTrigger:a}},render(){const{wrappedRowRender:e,store:t}=this;return h$5("tbody",{tabIndex:-1},[(t.states.data.value||[]).reduce(((t,n)=>t.concat(e(n,t.length))),[])])}});function useMapState(){var e;const t=inject(TABLE_INJECTION_KEY),n=null==t?void 0:t.store;return{leftFixedLeafCount:computed((()=>{var e;return null!=(e=null==n?void 0:n.states.fixedLeafColumnsLength.value)?e:0})),rightFixedLeafCount:computed((()=>{var e;return null!=(e=null==n?void 0:n.states.rightFixedColumns.value.length)?e:0})),columnsCount:computed((()=>{var e;return null!=(e=null==n?void 0:n.states.columns.value.length)?e:0})),leftFixedCount:computed((()=>{var e;return null!=(e=null==n?void 0:n.states.fixedColumns.value.length)?e:0})),rightFixedCount:computed((()=>{var e;return null!=(e=null==n?void 0:n.states.rightFixedColumns.value.length)?e:0})),columns:null!=(e=null==n?void 0:n.states.columns)?e:[]}}function useStyle$1(e){const{columns:t}=useMapState(),n=useNamespace("table");return{getCellClasses:(t,o)=>{const r=t[o],i=[n.e("cell"),r.id,r.align,r.labelClassName,...getFixedColumnsClass(n.b(),o,r.fixed,e.store)];return r.className&&i.push(r.className),r.children||i.push(n.is("leaf")),i},getCellStyles:(t,n)=>{const o=getFixedColumnOffset(n,t.fixed,e.store);return ensurePosition(o,"left"),ensurePosition(o,"right"),o},columns:t}}var TableFooter=defineComponent({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const t=inject(TABLE_INJECTION_KEY),n=useNamespace("table"),{getCellClasses:o,getCellStyles:r,columns:i}=useStyle$1(e),{onScrollableChange:a,onColumnsChange:l}=useLayoutObserver(t);return{ns:n,onScrollableChange:a,onColumnsChange:l,getCellClasses:o,getCellStyles:r,columns:i}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:o,sumText:r}=this,i=this.store.states.data.value;let a=[];return o?a=o({columns:e,data:i}):e.forEach(((e,t)=>{if(0===t)return void(a[t]=r);const n=i.map((t=>Number(t[e.property]))),o=[];let l=!0;n.forEach((e=>{if(!Number.isNaN(+e)){l=!1;const t=`${e}`.split(".")[1];o.push(t?t.length:0)}}));const s=Math.max.apply(null,o);a[t]=l?"":n.reduce(((e,t)=>{const n=Number(t);return Number.isNaN(+n)?e:Number.parseFloat((e+t).toFixed(Math.min(s,20)))}),0)})),h$5(h$5("tfoot",[h$5("tr",{},[...e.map(((o,r)=>h$5("td",{key:r,colspan:o.colSpan,rowspan:o.rowSpan,class:n(e,r),style:t(o,r)},[h$5("div",{class:["cell",o.labelClassName]},[a[r]])])))])]))}});function useUtils(e){return{setCurrentRow:t=>{e.commit("setCurrentRow",t)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(t,n,o=!0)=>{e.toggleRowSelection(t,n,!1,o),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:t=>{e.clearFilter(t)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(t,n)=>{e.toggleRowExpansionAdapter(t,n)},clearSort:()=>{e.clearSort()},sort:(t,n)=>{e.commit("sort",{prop:t,order:n})},updateKeyChildren:(t,n)=>{e.updateKeyChildren(t,n)}}}function useStyle(e,t,n,o){const r=ref(!1),i=ref(null),a=ref(!1),l=ref({width:null,height:null,headerHeight:null}),s=ref(!1),c=ref(),u=ref(0),d=ref(0),p=ref(0),f=ref(0),h=ref(0);watchEffect((()=>{t.setHeight(e.height)})),watchEffect((()=>{t.setMaxHeight(e.maxHeight)})),watch((()=>[e.currentRowKey,n.states.rowKey]),(([e,t])=>{unref(t)&&unref(e)&&n.setCurrentRowKey(`${e}`)}),{immediate:!0}),watch((()=>e.data),(e=>{o.store.commit("setData",e)}),{immediate:!0,deep:!0}),watchEffect((()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)}));const m=computed((()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0)),g=computed((()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""}))),v=()=>{m.value&&t.updateElsHeight(),t.updateColumnsWidth(),"undefined"!=typeof window&&requestAnimationFrame(b)};onMounted((async()=>{await nextTick(),n.updateColumns(),_(),requestAnimationFrame(v);const t=o.vnode.el,r=o.refs.headerWrapper;e.flexible&&t&&t.parentElement&&(t.parentElement.style.minWidth="0"),l.value={width:c.value=t.offsetWidth,height:t.offsetHeight,headerHeight:e.showHeader&&r?r.offsetHeight:null},n.states.columns.value.forEach((e=>{e.filteredValue&&e.filteredValue.length&&o.store.commit("filterChange",{column:e,values:e.filteredValue,silent:!0})})),o.$ready=!0}));const y=e=>{const{tableWrapper:n}=o.refs;((e,n)=>{if(!e)return;const o=Array.from(e.classList).filter((e=>!e.startsWith("is-scrolling-")));o.push(t.scrollX.value?n:"is-scrolling-none"),e.className=o.join(" ")})(n,e)},b=function(){if(!o.refs.scrollBarRef)return;if(!t.scrollX.value){const e="is-scrolling-none";return void((e=>{const{tableWrapper:t}=o.refs;return!(!t||!t.classList.contains(e))})(e)||y(e))}const e=o.refs.scrollBarRef.wrapRef;if(!e)return;const{scrollLeft:n,offsetWidth:r,scrollWidth:i}=e,{headerWrapper:a,footerWrapper:l}=o.refs;a&&(a.scrollLeft=n),l&&(l.scrollLeft=n);y(n>=i-r-1?"is-scrolling-right":0===n?"is-scrolling-left":"is-scrolling-middle")},_=()=>{o.refs.scrollBarRef&&(o.refs.scrollBarRef.wrapRef&&useEventListener(o.refs.scrollBarRef.wrapRef,"scroll",b,{passive:!0}),e.fit?useResizeObserver(o.vnode.el,w):useEventListener(window,"resize",w),useResizeObserver(o.refs.bodyWrapper,(()=>{var e,t;w(),null==(t=null==(e=o.refs)?void 0:e.scrollBarRef)||t.update()})))},w=()=>{var t,n,r,i;const a=o.vnode.el;if(!o.$ready||!a)return;let s=!1;const{width:g,height:y,headerHeight:b}=l.value,_=c.value=a.offsetWidth;g!==_&&(s=!0);const w=a.offsetHeight;(e.height||m.value)&&y!==w&&(s=!0);const k="fixed"===e.tableLayout?o.refs.headerWrapper:null==(t=o.refs.tableHeaderRef)?void 0:t.$el;e.showHeader&&(null==k?void 0:k.offsetHeight)!==b&&(s=!0),u.value=(null==(n=o.refs.tableWrapper)?void 0:n.scrollHeight)||0,p.value=(null==k?void 0:k.scrollHeight)||0,f.value=(null==(r=o.refs.footerWrapper)?void 0:r.offsetHeight)||0,h.value=(null==(i=o.refs.appendWrapper)?void 0:i.offsetHeight)||0,d.value=u.value-p.value-f.value-h.value,s&&(l.value={width:_,height:w,headerHeight:e.showHeader&&(null==k?void 0:k.offsetHeight)||0},v())},k=useFormSize(),x=computed((()=>{const{bodyWidth:e,scrollY:n,gutterWidth:o}=t;return e.value?e.value-(n.value?o:0)+"px":""})),S=computed((()=>e.maxHeight?"fixed":e.tableLayout)),C=computed((()=>{if(e.data&&e.data.length)return null;let t="100%";e.height&&d.value&&(t=`${d.value}px`);const n=c.value;return{width:n?`${n}px`:"",height:t}})),E=computed((()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${p.value+f.value}px)`}:{maxHeight:e.maxHeight-p.value-f.value+"px"}:{}));return{isHidden:r,renderExpanded:i,setDragVisible:e=>{a.value=e},isGroup:s,handleMouseLeave:()=>{o.store.commit("setHoverRow",null),o.hoverState&&(o.hoverState=null)},handleHeaderFooterMousewheel:(e,t)=>{const{pixelX:n,pixelY:r}=t;Math.abs(n)>=Math.abs(r)&&(o.refs.bodyWrapper.scrollLeft+=t.pixelX/5)},tableSize:k,emptyBlockStyle:C,handleFixedMousewheel:(e,t)=>{const n=o.refs.bodyWrapper;if(Math.abs(t.spinY)>0){const o=n.scrollTop;t.pixelY<0&&0!==o&&e.preventDefault(),t.pixelY>0&&n.scrollHeight-n.clientHeight>o&&e.preventDefault(),n.scrollTop+=Math.ceil(t.pixelY/5)}else n.scrollLeft+=Math.ceil(t.pixelX/5)},resizeProxyVisible:a,bodyWidth:x,resizeState:l,doLayout:v,tableBodyStyles:g,tableLayout:S,scrollbarViewStyle:{display:"inline-block",verticalAlign:"middle"},scrollbarStyle:E}}function useKeyRender(e){const t=ref();onMounted((()=>{(()=>{const n=e.vnode.el.querySelector(".hidden-columns"),o=e.store.states.updateOrderFns;t.value=new MutationObserver((()=>{o.forEach((e=>e()))})),t.value.observe(n,{childList:!0,subtree:!0})})()})),onUnmounted((()=>{var e;null==(e=t.value)||e.disconnect()}))}var defaultProps$2={data:{type:Array,default:()=>[]},size:useSizeProp,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],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,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:{type:Boolean,default:!1}};function hColgroup(e){const t="auto"===e.tableLayout;let n=e.columns||[];t&&n.every((({width:e})=>isUndefined(e)))&&(n=[]);return h$5("colgroup",{},n.map((n=>h$5("col",(n=>{const o={key:`${e.tableLayout}_${n.id}`,style:{},name:void 0};return t?o.style={width:`${n.width}px`}:o.name=n.id,o})(n)))))}hColgroup.props=["columns","tableLayout"];const useScrollbar$1=()=>{const e=ref(),t=(t,n)=>{const o=e.value;o&&isNumber(n)&&["Top","Left"].includes(t)&&o[`setScroll${t}`](n)};return{scrollBarRef:e,scrollTo:(t,n)=>{const o=e.value;o&&o.scrollTo(t,n)},setScrollTop:e=>t("Top",e),setScrollLeft:e=>t("Left",e)}};var v=!1,o,f,s,u,d,N,l,p,m,w,D,x,E,M,F;function a(){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),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(x=/\b(iPhone|iP[ao]d)/.exec(e),E=/\b(iP[ao]d)/.exec(e),w=/Android/i.exec(e),M=/FBAN\/\w+;/i.exec(e),F=/Mobile/i.exec(e),D=!!/Win64/.exec(e),t){(o=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(o=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);N=r?parseFloat(r[1])+4:o,f=t[2]?parseFloat(t[2]):NaN,s=t[3]?parseFloat(t[3]):NaN,(u=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),d=t&&t[1]?parseFloat(t[1]):NaN):d=NaN}else o=f=s=d=u=NaN;if(n){if(n[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!i||parseFloat(i[1].replace("_","."))}else l=!1;p=!!n[2],m=!!n[3]}else l=p=m=!1}}var _={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||N>o},ie64:function(){return _.ie()&&D},firefox:function(){return a()||f},opera:function(){return a()||s},webkit:function(){return a()||u},safari:function(){return _.webkit()},chrome:function(){return a()||d},windows:function(){return a()||p},osx:function(){return a()||l},linux:function(){return a()||m},iphone:function(){return a()||x},mobile:function(){return a()||x||E||w||F},nativeApp:function(){return a()||M},android:function(){return a()||w},ipad:function(){return a()||E}},A=_,c=!!(typeof window<"u"&&window.document&&window.document.createElement),U={canUseDOM:c},h=U,X;function S(e,t){if(!h.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var r=document.createElement("div");r.setAttribute(n,"return;"),o="function"==typeof r[n]}return!o&&X&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var b=S,O=10,I=40,P=800;function T(e){var t=0,n=0,o=0,r=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),o=t*O,r=n*O,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=I,r*=I):(o*=P,r*=P)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b("wheel")?"wheel":"mousewheel"};var Y=T;const mousewheel=function(e,t){if(e&&e.addEventListener){const n=function(e){const n=Y(e);t&&Reflect.apply(t,this,[e,n])};e.addEventListener("wheel",n,{passive:!0})}},Mousewheel={beforeMount(e,t){mousewheel(e,t.value)}};let tableIdSeed=1;const _sfc_main$B=defineComponent({name:"ElTable",directives:{Mousewheel:Mousewheel},components:{TableHeader:TableHeader,TableBody:TableBody,TableFooter:TableFooter,ElScrollbar:ElScrollbar,hColgroup:hColgroup},props:defaultProps$2,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t:t}=useLocale(),n=useNamespace("table"),o=getCurrentInstance();provide(TABLE_INJECTION_KEY,o);const r=createStore(o,e);o.store=r;const i=new TableLayout({store:o.store,table:o,fit:e.fit,showHeader:e.showHeader});o.layout=i;const a=computed((()=>0===(r.states.data.value||[]).length)),{setCurrentRow:l,getSelectionRows:s,toggleRowSelection:c,clearSelection:u,clearFilter:d,toggleAllSelection:p,toggleRowExpansion:f,clearSort:h,sort:m,updateKeyChildren:g}=useUtils(r),{isHidden:v,renderExpanded:y,setDragVisible:b,isGroup:_,handleMouseLeave:w,handleHeaderFooterMousewheel:k,tableSize:x,emptyBlockStyle:S,handleFixedMousewheel:C,resizeProxyVisible:E,bodyWidth:T,resizeState:A,doLayout:$,tableBodyStyles:I,tableLayout:M,scrollbarViewStyle:P,scrollbarStyle:N}=useStyle(e,i,r,o),{scrollBarRef:O,scrollTo:R,setScrollLeft:D,setScrollTop:L}=useScrollbar$1(),B=debounce($,50),V=`${n.namespace.value}-table_${tableIdSeed++}`;o.tableId=V,o.state={isGroup:_,resizeState:A,doLayout:$,debouncedUpdateLayout:B};const z=computed((()=>{var n;return null!=(n=e.sumText)?n:t("el.table.sumText")})),F=computed((()=>{var n;return null!=(n=e.emptyText)?n:t("el.table.emptyText")})),H=computed((()=>convertToRows(r.states.originColumns.value)[0]));return useKeyRender(o),onBeforeUnmount((()=>{B.cancel()})),{ns:n,layout:i,store:r,columns:H,handleHeaderFooterMousewheel:k,handleMouseLeave:w,tableId:V,tableSize:x,isHidden:v,isEmpty:a,renderExpanded:y,resizeProxyVisible:E,resizeState:A,isGroup:_,bodyWidth:T,tableBodyStyles:I,emptyBlockStyle:S,debouncedUpdateLayout:B,handleFixedMousewheel:C,setCurrentRow:l,getSelectionRows:s,toggleRowSelection:c,clearSelection:u,clearFilter:d,toggleAllSelection:p,toggleRowExpansion:f,clearSort:h,doLayout:$,sort:m,updateKeyChildren:g,t:t,setDragVisible:b,context:o,computedSumText:z,computedEmptyText:F,tableLayout:M,scrollbarViewStyle:P,scrollbarStyle:N,scrollBarRef:O,scrollTo:R,setScrollLeft:D,setScrollTop:L,allowDragLastColumn:e.allowDragLastColumn}}});function _sfc_render$3(e,t,n,o,r,i){const a=resolveComponent("hColgroup"),l=resolveComponent("table-header"),s=resolveComponent("table-body"),c=resolveComponent("table-footer"),u=resolveComponent("el-scrollbar"),d=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:0!==(e.store.states.data.value||[]).length&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:normalizeStyle$1(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[createBaseVNode("div",{class:normalizeClass(e.ns.e("inner-wrapper"))},[createBaseVNode("div",{ref:"hiddenColumns",class:"hidden-columns"},[renderSlot(e.$slots,"default")],512),e.showHeader&&"fixed"===e.tableLayout?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(e.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(e.ns.e("header")),style:normalizeStyle$1(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode$1(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),createVNode$1(l,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[d,e.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(e.ns.e("body-wrapper"))},[createVNode$1(u,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,onScroll:t=>e.$emit("scroll",t)},{default:withCtx((()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:e.bodyWidth,tableLayout:e.tableLayout})},[createVNode$1(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&"auto"===e.tableLayout?(openBlock(),createBlock(l,{key:0,ref:"tableHeaderRef",class:normalizeClass(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode$1(s,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&"auto"===e.tableLayout?(openBlock(),createBlock(c,{key:1,class:normalizeClass(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):createCommentVNode("v-if",!0)],6),e.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(e.emptyBlockStyle),class:normalizeClass(e.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(e.ns.e("empty-text"))},[renderSlot(e.$slots,"empty",{},(()=>[createTextVNode(toDisplayString(e.computedEmptyText),1)]))],2)],6)):createCommentVNode("v-if",!0),e.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(e.ns.e("append-wrapper"))},[renderSlot(e.$slots,"append")],2)):createCommentVNode("v-if",!0)])),_:3},8,["view-style","wrap-style","always","tabindex","onScroll"])],2),e.showSummary&&"fixed"===e.tableLayout?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(e.ns.e("footer-wrapper"))},[createBaseVNode("table",{class:normalizeClass(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1(e.tableBodyStyles)},[createVNode$1(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),createVNode$1(c,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[vShow,!e.isEmpty],[d,e.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),e.border||e.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(e.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(e.ns.e("column-resize-proxy"))},null,2),[[vShow,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}var Table$1=_export_sfc(_sfc_main$B,[["render",_sfc_render$3],["__file","table.vue"]]);const defaultClassNames={selection:"table-column--selection",expand:"table__expand-column"},cellStarts={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},getDefaultClassName=e=>defaultClassNames[e]||"",cellForced={selection:{renderHeader:({store:e,column:t})=>h$5(ElCheckbox,{disabled:e.states.data.value&&0===e.states.data.value.length,size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value,ariaLabel:t.label}),renderCell:({row:e,column:t,store:n,$index:o})=>h$5(ElCheckbox,{disabled:!!t.selectable&&!t.selectable.call(null,e,o),size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:e=>e.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:t.label}),sortable:!1,resizable:!1},index:{renderHeader:({column:e})=>e.label||"#",renderCell({column:e,$index:t}){let n=t+1;const o=e.index;return isNumber(o)?n=t+o:isFunction$5(o)&&(n=o(t)),h$5("div",{},[n])},sortable:!1},expand:{renderHeader:({column:e})=>e.label||"",renderCell({row:e,store:t,expanded:n}){const{ns:o}=t,r=[o.e("expand-icon")];n&&r.push(o.em("expand-icon","expanded"));return h$5("div",{class:r,onClick:function(n){n.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[h$5(ElIcon,null,{default:()=>[h$5(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:e,column:t,$index:n}){var o;const r=t.property,i=r&&getProp(e,r).value;return t&&t.formatter?t.formatter(e,t,i,n):(null==(o=null==i?void 0:i.toString)?void 0:o.call(i))||""}function treeCellPrefix({row:e,treeNode:t,store:n},o=!1){const{ns:r}=n;if(!t)return o?[h$5("span",{class:r.e("placeholder")})]:null;const i=[],a=function(o){o.stopPropagation(),t.loading||n.loadOrToggle(e)};if(t.indent&&i.push(h$5("span",{class:r.e("indent"),style:{"padding-left":`${t.indent}px`}})),isBoolean(t.expanded)&&!t.noLazyChildren){const e=[r.e("expand-icon"),t.expanded?r.em("expand-icon","expanded"):""];let n=arrow_right_default;t.loading&&(n=loading_default),i.push(h$5("div",{class:e,onClick:a},{default:()=>[h$5(ElIcon,{class:{[r.is("loading")]:t.loading}},{default:()=>[h$5(n)]})]}))}else i.push(h$5("span",{class:r.e("placeholder")}));return i}function getAllAliases(e,t){return e.reduce(((e,t)=>(e[t]=t,e)),t)}function useWatcher(e,t){const n=getCurrentInstance();return{registerComplexWatchers:()=>{const o={realWidth:"width",realMinWidth:"minWidth"},r=getAllAliases(["fixed"],o);Object.keys(r).forEach((r=>{const i=o[r];hasOwn$1(t,i)&&watch((()=>t[i]),(t=>{let o=t;"width"===i&&"realWidth"===r&&(o=parseWidth(t)),"minWidth"===i&&"realMinWidth"===r&&(o=parseMinWidth(t)),n.columnConfig.value[i]=o,n.columnConfig.value[r]=o;const a="fixed"===i;e.value.store.scheduleLayout(a)}))}))},registerNormalWatchers:()=>{const e={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},o=getAllAliases(["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter"],e);Object.keys(o).forEach((o=>{const r=e[o];hasOwn$1(t,r)&&watch((()=>t[r]),(e=>{n.columnConfig.value[o]=e}))}))}}}function useRender(e,t,n){const o=getCurrentInstance(),r=ref(""),i=ref(!1),a=ref(),l=ref(),s=useNamespace("table");watchEffect((()=>{a.value=e.align?`is-${e.align}`:null,a.value})),watchEffect((()=>{l.value=e.headerAlign?`is-${e.headerAlign}`:a.value,l.value}));const c=computed((()=>{let e=o.vnode.vParent||o.parent;for(;e&&!e.tableId&&!e.columnId;)e=e.vnode.vParent||e.parent;return e})),u=computed((()=>{const{store:e}=o.parent;if(!e)return!1;const{treeData:t}=e.states,n=t.value;return n&&Object.keys(n).length>0})),d=ref(parseWidth(e.width)),p=ref(parseMinWidth(e.minWidth));return{columnId:r,realAlign:a,isSubColumn:i,realHeaderAlign:l,columnOrTableParent:c,setColumnWidth:e=>(d.value&&(e.width=d.value),p.value&&(e.minWidth=p.value),!d.value&&p.value&&(e.width=void 0),e.minWidth||(e.minWidth=80),e.realWidth=Number(isUndefined(e.width)?e.minWidth:e.width),e),setColumnForcedProps:e=>{const t=e.type,n=cellForced[t]||{};Object.keys(n).forEach((t=>{const o=n[t];"className"===t||isUndefined(o)||(e[t]=o)}));const o=getDefaultClassName(t);if(o){const t=`${unref(s.namespace)}-${o}`;e.className=e.className?`${e.className} ${t}`:t}return e},setColumnRenders:r=>{e.renderHeader||"selection"!==r.type&&(r.renderHeader=e=>(o.columnConfig.value.label,renderSlot(t,"header",e,(()=>[r.label])))),t["filter-icon"]&&(r.renderFilterIcon=e=>renderSlot(t,"filter-icon",e));let i=r.renderCell;return"expand"===r.type?(r.renderCell=e=>h$5("div",{class:"cell"},[i(e)]),n.value.renderExpanded=e=>t.default?t.default(e):t.default):(i=i||defaultRenderCell,r.renderCell=e=>{let a=null;if(t.default){const n=t.default(e);a=n.some((e=>e.type!==Comment$1))?n:i(e)}else a=i(e);const{columns:l}=n.value.store.states,c=l.value.findIndex((e=>"default"===e.type)),d=treeCellPrefix(e,u.value&&e.cellIndex===c),p={class:"cell",style:{}};return r.showOverflowTooltip&&(p.class=`${p.class} ${unref(s.namespace)}-tooltip`,p.style={width:(e.column.realWidth||Number(e.column.width))-1+"px"}),(e=>{function t(e){var t;"ElTableColumn"===(null==(t=null==e?void 0:e.type)?void 0:t.name)&&(e.vParent=o)}isArray$6(e)?e.forEach((e=>t(e))):t(e)})(a),h$5("div",p,[d,a])}),r},getPropsData:(...t)=>t.reduce(((t,n)=>(isArray$6(n)&&n.forEach((n=>{t[n]=e[n]})),t)),{}),getColumnElIndex:(e,t)=>Array.prototype.indexOf.call(e,t),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",o.columnConfig.value)}}}var defaultProps$1={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},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,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every((e=>["ascending","descending",null].includes(e)))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox:ElCheckbox},props:defaultProps$1,setup(e,{slots:t}){const n=getCurrentInstance(),o=ref({}),r=computed((()=>{let e=n.parent;for(;e&&!e.tableId;)e=e.parent;return e})),{registerNormalWatchers:i,registerComplexWatchers:a}=useWatcher(r,e),{columnId:l,isSubColumn:s,realHeaderAlign:c,columnOrTableParent:u,setColumnWidth:d,setColumnForcedProps:p,setColumnRenders:f,getPropsData:h,getColumnElIndex:m,realAlign:g,updateColumnOrder:v}=useRender(e,t,r),y=u.value;l.value=`${y.tableId||y.columnId}_column_${columnIdSeed++}`,onBeforeMount((()=>{s.value=r.value!==y;const t=e.type||"default",u=""===e.sortable||e.sortable,m="selection"!==t&&(isUndefined(e.showOverflowTooltip)?y.props.showOverflowTooltip:e.showOverflowTooltip),v=isUndefined(e.tooltipFormatter)?y.props.tooltipFormatter:e.tooltipFormatter,b={...cellStarts[t],id:l.value,type:t,property:e.prop||e.property,align:g,headerAlign:c,showOverflowTooltip:m,tooltipFormatter:v,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:u,index:e.index,rawColumnKey:n.vnode.key};let _=h(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);_=mergeOptions(b,_);_=compose(f,d,p)(_),o.value=_,i(),a()})),onMounted((()=>{var e;const t=u.value,i=s.value?t.vnode.el.children:null==(e=t.refs.hiddenColumns)?void 0:e.children,a=()=>m(i||[],n.vnode.el);o.value.getColumnIndex=a;a()>-1&&r.value.store.commit("insertColumn",o.value,s.value?t.columnConfig.value:null,v)})),onBeforeUnmount((()=>{const e=o.value.getColumnIndex;(e?e():-1)>-1&&r.value.store.commit("removeColumn",o.value,s.value?y.columnConfig.value:null,v)})),n.columnId=l.value,n.columnConfig=o},render(){var e,t,n;try{const o=null==(t=(e=this.$slots).default)?void 0:t.call(e,{row:{},column:{},$index:-1}),r=[];if(isArray$6(o))for(const e of o)"ElTableColumn"===(null==(n=e.type)?void 0:n.name)||2&e.shapeFlag?r.push(e):e.type===Fragment&&isArray$6(e.children)&&e.children.forEach((e=>{1024===(null==e?void 0:e.patchFlag)||isString$4(null==e?void 0:e.children)||r.push(e)}));return h$5("div",r)}catch(e2){return h$5("div",[])}}});const ElTable=withInstall(Table$1,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(e=>(e.ASC="asc",e.DESC="desc",e))(SortOrder||{}),Alignment=(e=>(e.CENTER="center",e.RIGHT="right",e))(Alignment||{}),FixedDir=(e=>(e.LEFT="left",e.RIGHT="right",e))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(e,t,n)=>{var o;const r={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:e.flexGrow||0,flexShrink:e.flexShrink||1}};n||(r.flexShrink=1);const i={...null!=(o=e.style)?o:{},...r,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(i.maxWidth=e.maxWidth),e.minWidth&&(i.minWidth=e.minWidth)),i};function useColumns(e,t,n){const o=computed((()=>unref(t).map(((e,t)=>{var n,o;return{...e,key:null!=(o=null!=(n=e.key)?n:e.dataKey)?o:t}})))),r=computed((()=>unref(o).filter((e=>!e.hidden)))),i=computed((()=>unref(r).filter((e=>"left"===e.fixed||!0===e.fixed)))),a=computed((()=>unref(r).filter((e=>"right"===e.fixed)))),l=computed((()=>unref(r).filter((e=>!e.fixed)))),s=computed((()=>{const e=[];return unref(i).forEach((t=>{e.push({...t,placeholderSign:placeholderSign})})),unref(l).forEach((t=>{e.push(t)})),unref(a).forEach((t=>{e.push({...t,placeholderSign:placeholderSign})})),e})),c=computed((()=>unref(i).length||unref(a).length)),u=computed((()=>unref(o).reduce(((t,o)=>(t[o.key]=calcColumnStyle(o,unref(n),e.fixed),t)),{}))),d=computed((()=>unref(r).reduce(((e,t)=>e+t.width),0))),p=e=>unref(o).find((t=>t.key===e));return{columns:o,columnsStyles:u,columnsTotalWidth:d,fixedColumnsOnLeft:i,fixedColumnsOnRight:a,hasFixedColumns:c,mainColumns:s,normalColumns:l,visibleColumns:r,getColumn:p,getColumnStyle:e=>unref(u)[e],updateColumnWidth:(e,t)=>{e.width=t},onColumnSorted:function(t){var n;const{key:o}=t.currentTarget.dataset;if(!o)return;const{sortState:r,sortBy:i}=e;let a=SortOrder.ASC;a=isObject$8(r)?oppositeOrderMap[r[o]]:oppositeOrderMap[i.order],null==(n=e.onColumnSort)||n.call(e,{column:p(o),key:o,order:a})}}}const useScrollbar=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:o,onMaybeEndReached:r})=>{const i=ref({scrollLeft:0,scrollTop:0});function a(e){var r,i,a;const{scrollTop:l}=e;null==(r=t.value)||r.scrollTo(e),null==(i=n.value)||i.scrollToTop(l),null==(a=o.value)||a.scrollToTop(l)}function l(e){i.value=e,a(e)}function s(e){i.value.scrollTop=e,a(unref(i))}return watch((()=>unref(i).scrollTop),((e,t)=>{e>t&&r()})),{scrollPos:i,scrollTo:l,scrollToLeft:function(e){var n,o;i.value.scrollLeft=e,null==(o=null==(n=t.value)?void 0:n.scrollTo)||o.call(n,unref(i))},scrollToTop:s,scrollToRow:function(e,n="auto"){var o;null==(o=t.value)||o.scrollToRow(e,n)},onScroll:function(t){var n;l(t),null==(n=e.onScroll)||n.call(e,t)},onVerticalScroll:function({scrollTop:e}){const{scrollTop:t}=unref(i);e!==t&&s(e)}}},useRow=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:o,tableInstance:r,ns:i,isScrolling:a})=>{const l=getCurrentInstance(),{emit:s}=l,c=shallowRef(!1),u=ref(e.defaultExpandedRowKeys||[]),d=ref(-1),p=shallowRef(null),f=ref({}),h=ref({}),m=shallowRef({}),g=shallowRef({}),v=shallowRef({}),y=computed((()=>isNumber(e.estimatedRowHeight)));const b=debounce((()=>{var e,r,i,a;c.value=!0,f.value={...unref(f),...unref(h)},_(unref(p),!1),h.value={},p.value=null,null==(e=t.value)||e.forceUpdate(),null==(r=n.value)||r.forceUpdate(),null==(i=o.value)||i.forceUpdate(),null==(a=l.proxy)||a.$forceUpdate(),c.value=!1}),0);function _(e,r=!1){unref(y)&&[t,n,o].forEach((t=>{const n=unref(t);n&&n.resetAfterRowIndex(e,r)}))}return{expandedRowKeys:u,lastRenderedRowIndex:d,isDynamic:y,isResetting:c,rowHeights:f,resetAfterIndex:_,onRowExpanded:function({expanded:t,rowData:n,rowIndex:o,rowKey:r}){var i,a;const l=[...unref(u)],c=l.indexOf(r);t?-1===c&&l.push(r):c>-1&&l.splice(c,1),u.value=l,s("update:expandedRowKeys",l),null==(i=e.onRowExpand)||i.call(e,{expanded:t,rowData:n,rowIndex:o,rowKey:r}),null==(a=e.onExpandedRowsChange)||a.call(e,l)},onRowHovered:function({hovered:e,rowKey:t}){if(a.value)return;r.vnode.el.querySelectorAll(`[rowkey="${String(t)}"]`).forEach((t=>{e?t.classList.add(i.is("hovered")):t.classList.remove(i.is("hovered"))}))},onRowsRendered:function(t){var n;null==(n=e.onRowsRendered)||n.call(e,t),t.rowCacheEnd>unref(d)&&(d.value=t.rowCacheEnd)},onRowHeightChange:function({rowKey:e,height:t,rowIndex:n},o){o?o===FixedDir.RIGHT?v.value[e]=t:m.value[e]=t:g.value[e]=t;const r=Math.max(...[m,v,g].map((t=>t.value[e]||0)));unref(f)[e]!==r&&(!function(e,t,n){const o=unref(p);(null===o||o>n)&&(p.value=n),h.value[e]=t}(e,r,n),b())}}},useData=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:o})=>{const r=ref({}),i=computed((()=>{const n={},{data:o,rowKey:i}=e,a=unref(t);if(!a||!a.length)return o;const l=[],s=new Set;a.forEach((e=>s.add(e)));let c=o.slice();for(c.forEach((e=>n[e[i]]=0));c.length>0;){const e=c.shift();l.push(e),s.has(e[i])&&isArray$6(e.children)&&e.children.length>0&&(c=[...e.children,...c],e.children.forEach((t=>n[t[i]]=n[e[i]]+1)))}return r.value=n,l})),a=computed((()=>{const{data:t,expandColumnKey:n}=e;return n?unref(i):t}));return watch(a,((e,t)=>{e!==t&&(n.value=-1,o(0,!0))})),{data:a,depthMap:r}},sumReducer=(e,t)=>e+t,sum=e=>isArray$6(e)?e.reduce(sumReducer,0):e,tryCall=(e,t,n={})=>isFunction$5(e)?e(t):null!=e?e:n,enforceUnit=e=>(["width","maxWidth","minWidth","height"].forEach((t=>{e[t]=addUnit(e[t])})),e),componentToSlot=e=>isVNode(e)?t=>h$5(e,t):e,useStyles=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:o,fixedColumnsOnRight:r})=>{const i=computed((()=>{const{fixed:n,width:o,vScrollbarSize:r}=e,i=o-r;return n?Math.max(Math.round(unref(t)),i):i})),a=computed((()=>unref(i)+e.vScrollbarSize)),l=computed((()=>{const{height:t=0,maxHeight:o=0,footerHeight:r,hScrollbarSize:i}=e;if(o>0){const e=unref(f),t=unref(n),a=unref(p)+e+t+i;return Math.min(a,o-r)}return t-r})),s=computed((()=>{const{maxHeight:t}=e,o=unref(l);if(isNumber(t)&&t>0)return o;const r=unref(n)+unref(p)+unref(f);return Math.min(o,r)})),c=e=>e.width,u=computed((()=>sum(unref(o).map(c)))),d=computed((()=>sum(unref(r).map(c)))),p=computed((()=>sum(e.headerHeight))),f=computed((()=>{var t;return((null==(t=e.fixedData)?void 0:t.length)||0)*e.rowHeight})),h=computed((()=>unref(l)-unref(p)-unref(f))),m=computed((()=>{const{style:t={},height:n,width:o}=e;return enforceUnit({...t,height:n,width:o})})),g=computed((()=>enforceUnit({height:e.footerHeight}))),v=computed((()=>({top:addUnit(unref(p)),bottom:addUnit(e.footerHeight),width:addUnit(e.width)})));return{bodyWidth:i,fixedTableHeight:s,mainTableHeight:l,leftTableWidth:u,rightTableWidth:d,headerWidth:a,windowHeight:h,footerHeight:g,emptyStyle:v,rootStyle:m,headerHeight:p}};function useTable(e){const t=ref(),n=ref(),o=ref(),{columns:r,columnsStyles:i,columnsTotalWidth:a,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,hasFixedColumns:c,mainColumns:u,onColumnSorted:d}=useColumns(e,toRef$1(e,"columns"),toRef$1(e,"fixed")),{scrollTo:p,scrollToLeft:f,scrollToTop:h,scrollToRow:m,onScroll:g,onVerticalScroll:v,scrollPos:y}=useScrollbar(e,{mainTableRef:t,leftTableRef:n,rightTableRef:o,onMaybeEndReached:function(){const{onEndReached:t}=e;if(!t)return;const{scrollTop:n}=unref(y),o=unref(O),r=unref(F),i=o-(n+r)+e.hScrollbarSize;!q.value&&unref(x)>=0&&o<=n+unref(L)-unref(U)?(q.value=!0,t(i)):q.value=!1}}),b=useNamespace("table-v2"),_=getCurrentInstance(),w=shallowRef(!1),{expandedRowKeys:k,lastRenderedRowIndex:x,isDynamic:S,isResetting:C,rowHeights:E,resetAfterIndex:T,onRowExpanded:A,onRowHeightChange:$,onRowHovered:I,onRowsRendered:M}=useRow(e,{mainTableRef:t,leftTableRef:n,rightTableRef:o,tableInstance:_,ns:b,isScrolling:w}),{data:P,depthMap:N}=useData(e,{expandedRowKeys:k,lastRenderedRowIndex:x,resetAfterIndex:T}),O=computed((()=>{const{estimatedRowHeight:t,rowHeight:n}=e,o=unref(P);return isNumber(t)?Object.values(unref(E)).reduce(((e,t)=>e+t),0):o.length*n})),{bodyWidth:R,fixedTableHeight:D,mainTableHeight:L,leftTableWidth:B,rightTableWidth:V,headerWidth:z,windowHeight:F,footerHeight:H,emptyStyle:j,rootStyle:G,headerHeight:U}=useStyles(e,{columnsTotalWidth:a,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,rowsHeight:O}),W=ref(),Y=computed((()=>{const t=0===unref(P).length;return isArray$6(e.fixedData)?0===e.fixedData.length&&t:t}));const q=ref(!1);return watch((()=>unref(O)),(()=>q.value=!1)),watch((()=>e.expandedRowKeys),(e=>k.value=e),{deep:!0}),{columns:r,containerRef:W,mainTableRef:t,leftTableRef:n,rightTableRef:o,isDynamic:S,isResetting:C,isScrolling:w,hasFixedColumns:c,columnsStyles:i,columnsTotalWidth:a,data:P,expandedRowKeys:k,depthMap:N,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,mainColumns:u,bodyWidth:R,emptyStyle:j,rootStyle:G,headerWidth:z,footerHeight:H,mainTableHeight:L,fixedTableHeight:D,leftTableWidth:B,rightTableWidth:V,showEmpty:Y,getRowHeight:function(t){const{estimatedRowHeight:n,rowHeight:o,rowKey:r}=e;return n?unref(E)[unref(P)[t][r]]||n:o},onColumnSorted:d,onRowHovered:I,onRowExpanded:A,onRowsRendered:M,onRowHeightChange:$,scrollTo:p,scrollToLeft:f,scrollToTop:h,scrollToRow:m,onScroll:g,onVerticalScroll:v}}const TableV2InjectionKey=Symbol("tableV2"),classType=String,columns={type:definePropType(Array),required:!0},fixedDataType={type:definePropType(Array)},dataType={...fixedDataType,required:!0},expandColumnKey=String,expandKeys={type:definePropType(Array),default:()=>mutable([])},requiredNumber={type:Number,required:!0},rowKey={type:definePropType([String,Number,Symbol]),default:"id"},styleType={type:definePropType(Object)},tableV2RowProps=buildProps({class:String,columns:columns,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,expandColumnKey:expandColumnKey,estimatedRowHeight:{...virtualizedGridProps.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:definePropType(Function)},onRowHover:{type:definePropType(Function)},onRowHeightChange:{type:definePropType(Function)},rowData:{type:definePropType(Object),required:!0},rowEventHandlers:{type:definePropType(Object)},rowIndex:{type:Number,required:!0},rowKey:rowKey,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,columns:columns,fixedHeaderData:{type:definePropType(Array)},headerData:{type:definePropType(Array),required:!0},headerHeight:{type:definePropType([Number,Array]),default:50},rowWidth:requiredNumberType,rowHeight:{type:Number,default:50},height:requiredNumberType,width:requiredNumberType}),tableV2GridProps=buildProps({columns:columns,data:dataType,fixedData:fixedDataType,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,width:requiredNumber,height:requiredNumber,headerWidth:requiredNumber,headerHeight:tableV2HeaderProps.headerHeight,bodyWidth:requiredNumber,rowHeight:requiredNumber,cache:virtualizedListProps.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:virtualizedGridProps.scrollbarAlwaysOn,scrollbarStartGap:virtualizedGridProps.scrollbarStartGap,scrollbarEndGap:virtualizedGridProps.scrollbarEndGap,class:classType,style:styleType,containerStyle:styleType,getRowHeight:{type:definePropType(Function),required:!0},rowKey:tableV2RowProps.rowKey,onRowsRendered:{type:definePropType(Function)},onScroll:{type:definePropType(Function)}}),tableV2Props=buildProps({cache:tableV2GridProps.cache,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,rowKey:rowKey,headerClass:{type:definePropType([String,Function])},headerProps:{type:definePropType([Object,Function])},headerCellProps:{type:definePropType([Object,Function])},headerHeight:tableV2HeaderProps.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:definePropType([String,Function])},rowProps:{type:definePropType([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:definePropType([Object,Function])},columns:columns,data:dataType,dataGetter:{type:definePropType(Function)},fixedData:fixedDataType,expandColumnKey:tableV2RowProps.expandColumnKey,expandedRowKeys:expandKeys,defaultExpandedRowKeys:expandKeys,class:classType,fixed:Boolean,style:{type:definePropType(Object)},width:requiredNumber,height:requiredNumber,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:virtualizedGridProps.hScrollbarSize,vScrollbarSize:virtualizedGridProps.vScrollbarSize,scrollbarAlwaysOn:virtualizedScrollbarProps.alwaysOn,sortBy:{type:definePropType(Object),default:()=>({})},sortState:{type:definePropType(Object),default:void 0},onColumnSort:{type:definePropType(Function)},onExpandedRowsChange:{type:definePropType(Function)},onEndReached:{type:definePropType(Function)},onRowExpand:tableV2RowProps.onRowExpand,onScroll:tableV2GridProps.onScroll,onRowsRendered:tableV2GridProps.onRowsRendered,rowEventHandlers:tableV2RowProps.rowEventHandlers}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(e,{slots:t,expose:n}){const o=useNamespace("table-v2"),r=inject("tableV2GridScrollLeft"),i=ref(),a=computed((()=>enforceUnit({width:e.width,height:e.height}))),l=computed((()=>enforceUnit({width:e.rowWidth,height:e.height}))),s=computed((()=>castArray$1(unref(e.headerHeight)))),c=e=>{const t=unref(i);nextTick((()=>{(null==t?void 0:t.scroll)&&t.scroll({left:e})}))},u=()=>{const n=o.e("fixed-header-row"),{columns:r,fixedHeaderData:i,rowHeight:a}=e;return null==i?void 0:i.map(((e,o)=>{var i;const l=enforceUnit({height:a,width:"100%"});return null==(i=t.fixed)?void 0:i.call(t,{class:n,columns:r,rowData:e,rowIndex:-(o+1),style:l})}))},d=()=>{const n=o.e("dynamic-header-row"),{columns:r}=e;return unref(s).map(((e,o)=>{var i;const a=enforceUnit({width:"100%",height:e});return null==(i=t.dynamic)?void 0:i.call(t,{class:n,columns:r,headerIndex:o,style:a})}))};return onUpdated((()=>{(null==r?void 0:r.value)&&c(r.value)})),n({scrollToLeft:c}),()=>{if(!(e.height<=0))return createVNode$1("div",{ref:i,class:e.class,style:unref(a),role:"rowgroup"},[createVNode$1("div",{style:unref(l),class:o.e("header")},[d(),u()])])}}});var Header$1=TableV2Header;const useGridWheel=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:o},r)=>{let i=null,a=0,l=0;const s=(r,i)=>{const a=r<=0&&t.value||r>=0&&e.value,l=i<=0&&o.value||i>=0&&n.value;return a&&l};return{hasReachedEdge:s,onWheel:e=>{cAF(i);let t=e.deltaX,n=e.deltaY;Math.abs(t)>Math.abs(n)?n=0:t=0,e.shiftKey&&0!==n&&(t=n,n=0),s(a,l)&&s(a+t,l+n)||(a+=t,l+=n,e.preventDefault(),i=rAF((()=>{r(a,l),a=0,l=0})))}}},createGrid=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:o,getColumnStopIndexForStartIndex:r,getEstimatedTotalHeight:i,getEstimatedTotalWidth:a,getColumnOffset:l,getRowOffset:s,getRowPosition:c,getRowStartIndexForOffset:u,getRowStopIndexForStartIndex:d,initCache:p,injectToInstance:f,validateProps:h})=>defineComponent({name:null!=e?e:"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(e,{emit:m,expose:g,slots:v}){const y=useNamespace("vl");h(e);const b=getCurrentInstance(),_=ref(p(e,b));null==f||f(b,_);const w=ref(),k=ref(),x=ref(),S=ref(null),C=ref({isScrolling:!1,scrollLeft:isNumber(e.initScrollLeft)?e.initScrollLeft:0,scrollTop:isNumber(e.initScrollTop)?e.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),E=useCache(),T=computed((()=>Number.parseInt(`${e.height}`,10))),A=computed((()=>Number.parseInt(`${e.width}`,10))),$=computed((()=>{const{totalColumn:t,totalRow:n,columnCache:i}=e,{isScrolling:a,xAxisScrollDir:l,scrollLeft:s}=unref(C);if(0===t||0===n)return[0,0,0,0];const c=o(e,s,unref(_)),u=r(e,c,s,unref(_)),d=a&&l!==BACKWARD?1:Math.max(1,i),p=a&&l!==FORWARD?1:Math.max(1,i);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]})),I=computed((()=>{const{totalColumn:t,totalRow:n,rowCache:o}=e,{isScrolling:r,yAxisScrollDir:i,scrollTop:a}=unref(C);if(0===t||0===n)return[0,0,0,0];const l=u(e,a,unref(_)),s=d(e,l,a,unref(_)),c=r&&i!==BACKWARD?1:Math.max(1,o),p=r&&i!==FORWARD?1:Math.max(1,o);return[Math.max(0,l-c),Math.max(0,Math.min(n-1,s+p)),l,s]})),M=computed((()=>i(e,unref(_)))),P=computed((()=>a(e,unref(_)))),N=computed((()=>{var t;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:e.direction,height:isNumber(e.height)?`${e.height}px`:e.height,width:isNumber(e.width)?`${e.width}px`:e.width},null!=(t=e.style)?t:{}]})),O=computed((()=>{const e=`${unref(P)}px`;return{height:`${unref(M)}px`,pointerEvents:unref(C).isScrolling?"none":void 0,width:e}})),R=()=>{const{totalColumn:t,totalRow:n}=e;if(t>0&&n>0){const[e,t,n,o]=unref($),[r,i,a,l]=unref(I);m(ITEM_RENDER_EVT,{columnCacheStart:e,columnCacheEnd:t,rowCacheStart:r,rowCacheEnd:i,columnVisibleStart:n,columnVisibleEnd:o,rowVisibleStart:a,rowVisibleEnd:l})}const{scrollLeft:o,scrollTop:r,updateRequested:i,xAxisScrollDir:a,yAxisScrollDir:l}=unref(C);m(SCROLL_EVT,{xAxisScrollDir:a,scrollLeft:o,yAxisScrollDir:l,scrollTop:r,updateRequested:i})},D=t=>{const{clientHeight:n,clientWidth:o,scrollHeight:r,scrollLeft:i,scrollTop:a,scrollWidth:l}=t.currentTarget,s=unref(C);if(s.scrollTop===a&&s.scrollLeft===i)return;let c=i;if(isRTL$1(e.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:c=-i;break;case RTL_OFFSET_POS_DESC:c=l-o-i}C.value={...s,isScrolling:!0,scrollLeft:c,scrollTop:Math.max(0,Math.min(a,r-n)),updateRequested:!0,xAxisScrollDir:getScrollDir(s.scrollLeft,c),yAxisScrollDir:getScrollDir(s.scrollTop,a)},nextTick((()=>H())),j(),R()},L=(e,t)=>{const n=unref(T),o=(M.value-n)/t*e;z({scrollTop:Math.min(M.value-n,o)})},B=(e,t)=>{const n=unref(A),o=(P.value-n)/t*e;z({scrollLeft:Math.min(P.value-n,o)})},{onWheel:V}=useGridWheel({atXStartEdge:computed((()=>C.value.scrollLeft<=0)),atXEndEdge:computed((()=>C.value.scrollLeft>=P.value-unref(A))),atYStartEdge:computed((()=>C.value.scrollTop<=0)),atYEndEdge:computed((()=>C.value.scrollTop>=M.value-unref(T)))},((e,t)=>{var n,o,r,i;null==(o=null==(n=k.value)?void 0:n.onMouseUp)||o.call(n),null==(i=null==(r=x.value)?void 0:r.onMouseUp)||i.call(r);const a=unref(A),l=unref(T);z({scrollLeft:Math.min(C.value.scrollLeft+e,P.value-a),scrollTop:Math.min(C.value.scrollTop+t,M.value-l)})}));useEventListener(w,"wheel",V,{passive:!1});const z=({scrollLeft:e=C.value.scrollLeft,scrollTop:t=C.value.scrollTop})=>{e=Math.max(e,0),t=Math.max(t,0);const n=unref(C);t===n.scrollTop&&e===n.scrollLeft||(C.value={...n,xAxisScrollDir:getScrollDir(n.scrollLeft,e),yAxisScrollDir:getScrollDir(n.scrollTop,t),scrollLeft:e,scrollTop:t,updateRequested:!0},nextTick((()=>H())),j(),R())},F=(o,r)=>{const{columnWidth:i,direction:a,rowHeight:l}=e,s=E.value(t&&i,t&&l,t&&a),u=`${o},${r}`;if(hasOwn$1(s,u))return s[u];{const[,t]=n(e,r,unref(_)),i=unref(_),l=isRTL$1(a),[d,p]=c(e,o,i),[f]=n(e,r,i);return s[u]={position:"absolute",left:l?void 0:`${t}px`,right:l?`${t}px`:void 0,top:`${p}px`,height:`${d}px`,width:`${f}px`},s[u]}},H=()=>{C.value.isScrolling=!1,nextTick((()=>{E.value(-1,null,null)}))};onMounted((()=>{if(!isClient)return;const{initScrollLeft:t,initScrollTop:n}=e,o=unref(w);o&&(isNumber(t)&&(o.scrollLeft=t),isNumber(n)&&(o.scrollTop=n)),R()}));const j=()=>{const{direction:t}=e,{scrollLeft:n,scrollTop:o,updateRequested:r}=unref(C),i=unref(w);if(r&&i){if(t===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:i.scrollLeft=-n;break;case RTL_OFFSET_POS_ASC:i.scrollLeft=n;break;default:{const{clientWidth:e,scrollWidth:t}=i;i.scrollLeft=t-e-n;break}}else i.scrollLeft=Math.max(0,n);i.scrollTop=Math.max(0,o)}},{resetAfterColumnIndex:G,resetAfterRowIndex:U,resetAfter:W}=b.proxy;g({windowRef:w,innerRef:S,getItemStyleCache:E,scrollTo:z,scrollToItem:(t=0,n=0,o=AUTO_ALIGNMENT)=>{const r=unref(C);n=Math.max(0,Math.min(n,e.totalColumn-1)),t=Math.max(0,Math.min(t,e.totalRow-1));const c=getScrollBarWidth(y.namespace.value),u=unref(_),d=i(e,u),p=a(e,u);z({scrollLeft:l(e,n,o,r.scrollLeft,u,p>e.width?c:0),scrollTop:s(e,t,o,r.scrollTop,u,d>e.height?c:0)})},states:C,resetAfterColumnIndex:G,resetAfterRowIndex:U,resetAfter:W});const Y=()=>{const t=resolveDynamicComponent(e.innerElement),n=(()=>{var t;const[n,o]=unref($),[r,i]=unref(I),{data:a,totalColumn:l,totalRow:s,useIsScrolling:c,itemKey:u}=e,d=[];if(s>0&&l>0)for(let e=r;e<=i;e++)for(let r=n;r<=o;r++){const n=u({columnIndex:r,data:a,rowIndex:e});d.push(h$5(Fragment,{key:n},null==(t=v.default)?void 0:t.call(v,{columnIndex:r,data:a,isScrolling:c?unref(C).isScrolling:void 0,style:F(e,r),rowIndex:e})))}return d})();return[h$5(t,{style:unref(O),ref:S},isString$4(t)?n:{default:()=>n})]};return()=>{const t=resolveDynamicComponent(e.containerElement),{horizontalScrollbar:n,verticalScrollbar:o}=(()=>{const{scrollbarAlwaysOn:t,scrollbarStartGap:n,scrollbarEndGap:o,totalColumn:r,totalRow:i}=e,a=unref(A),l=unref(T),s=unref(P),c=unref(M),{scrollLeft:u,scrollTop:d}=unref(C);return{horizontalScrollbar:h$5(ScrollBar,{ref:k,alwaysOn:t,startGap:n,endGap:o,class:y.e("horizontal"),clientSize:a,layout:"horizontal",onScroll:B,ratio:100*a/s,scrollFrom:u/(s-a),total:i,visible:!0}),verticalScrollbar:h$5(ScrollBar,{ref:x,alwaysOn:t,startGap:n,endGap:o,class:y.e("vertical"),clientSize:l,layout:"vertical",onScroll:L,ratio:100*l/c,scrollFrom:d/(c-l),total:r,visible:!0})}})(),r=Y();return h$5("div",{key:0,class:y.e("wrapper"),role:e.role},[h$5(t,{class:e.className,style:unref(N),onScroll:D,ref:w},isString$4(t)?r:{default:()=>r}),n,o])}}}),{max:max,min:min,floor:floor}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(e,t,n,o)=>{const[r,i,a]=[n[o],e[ACCESS_SIZER_KEY_MAP[o]],n[ACCESS_LAST_VISITED_KEY_MAP[o]]];if(t>a){let e=0;if(a>=0){const t=r[a];e=t.offset+t.size}for(let n=a+1;n<=t;n++){const t=i(n);r[n]={offset:e,size:t},e+=t}n[ACCESS_LAST_VISITED_KEY_MAP[o]]=t}return r[t]},bs=(e,t,n,o,r,i)=>{for(;n<=o;){const a=n+floor((o-n)/2),l=getItemFromCache(e,a,t,i).offset;if(l===r)return a;l<r?n=a+1:o=a-1}return max(0,n-1)},es=(e,t,n,o,r)=>{const i="column"===r?e.totalColumn:e.totalRow;let a=1;for(;n<i&&getItemFromCache(e,n,t,r).offset<o;)n+=a,a*=2;return bs(e,t,floor(n/2),min(n,i-1),o,r)},findItem=(e,t,n,o)=>{const[r,i]=[t[o],t[ACCESS_LAST_VISITED_KEY_MAP[o]]];return(i>0?r[i].offset:0)>=n?bs(e,t,0,i,n,o):es(e,t,max(0,i),n,o)},getEstimatedTotalHeight=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:o})=>{let r=0;if(n>=e&&(n=e-1),n>=0){const e=o[n];r=e.offset+e.size}return r+(e-n-1)*t},getEstimatedTotalWidth=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:o})=>{let r=0;if(o>e&&(o=e-1),o>=0){const e=t[o];r=e.offset+e.size}return r+(e-o-1)*n},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset=(e,t,n,o,r,i,a)=>{const[l,s]=["row"===i?e.height:e.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[i]],c=getItemFromCache(e,t,r,i),u=s(e,r),d=max(0,min(u-l,c.offset)),p=max(0,c.offset-l+a+c.size);switch(n===SMART_ALIGNMENT&&(n=o>=p-l&&o<=d+l?AUTO_ALIGNMENT:CENTERED_ALIGNMENT),n){case START_ALIGNMENT:return d;case END_ALIGNMENT:return p;case CENTERED_ALIGNMENT:return Math.round(p+(d-p)/2);default:return o>=p&&o<=d?o:p>d||o<p?p:d}},DynamicSizeGrid=createGrid({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const o=getItemFromCache(e,t,n,"column");return[o.size,o.offset]},getRowPosition:(e,t,n)=>{const o=getItemFromCache(e,t,n,"row");return[o.size,o.offset]},getColumnOffset:(e,t,n,o,r,i)=>getOffset(e,t,n,o,r,"column",i),getRowOffset:(e,t,n,o,r,i)=>getOffset(e,t,n,o,r,"row",i),getColumnStartIndexForOffset:(e,t,n)=>findItem(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,o)=>{const r=getItemFromCache(e,t,o,"column"),i=n+e.width;let a=r.offset+r.size,l=t;for(;l<e.totalColumn-1&&a<i;)l++,a+=getItemFromCache(e,t,o,"column").size;return l},getEstimatedTotalHeight:getEstimatedTotalHeight,getEstimatedTotalWidth:getEstimatedTotalWidth,getRowStartIndexForOffset:(e,t,n)=>findItem(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,o)=>{const{totalRow:r,height:i}=e,a=getItemFromCache(e,t,o,"row"),l=n+i;let s=a.size+a.offset,c=t;for(;c<r-1&&s<l;)c++,s+=getItemFromCache(e,c,o,"row").size;return c},injectToInstance:(e,t)=>{const n=({columnIndex:n,rowIndex:o},r)=>{var i,a;r=!!isUndefined(r)||r,isNumber(n)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,n-1)),isNumber(o)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,o-1)),null==(i=e.exposed)||i.getItemStyleCache.value(-1,null,null),r&&(null==(a=e.proxy)||a.$forceUpdate())};Object.assign(e.proxy,{resetAfterColumnIndex:(e,t)=>{n({columnIndex:e},t)},resetAfterRowIndex:(e,t)=>{n({rowIndex:e},t)},resetAfter:n})},initCache:({estimatedColumnWidth:e=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:t=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},o,r,i,a,l)=>{n=Number(n);const s=Math.max(0,e*t-n),c=Math.min(s,o*t),u=Math.max(0,o*t-n+l+t);switch("smart"===r&&(r=i>=u-n&&i<=c+n?AUTO_ALIGNMENT:CENTERED_ALIGNMENT),r){case START_ALIGNMENT:return c;case END_ALIGNMENT:return u;case CENTERED_ALIGNMENT:{const e=Math.round(u+(c-u)/2);return e<Math.ceil(n/2)?0:e>s+Math.floor(n/2)?s:e}default:return i>=u&&i<=c?i:u>c||i<u?u:c}},getRowOffset:({rowHeight:e,height:t,totalRow:n},o,r,i,a,l)=>{t=Number(t);const s=Math.max(0,n*e-t),c=Math.min(s,o*e),u=Math.max(0,o*e-t+l+e);switch(r===SMART_ALIGNMENT&&(r=i>=u-t&&i<=c+t?AUTO_ALIGNMENT:CENTERED_ALIGNMENT),r){case START_ALIGNMENT:return c;case END_ALIGNMENT:return u;case CENTERED_ALIGNMENT:{const e=Math.round(u+(c-u)/2);return e<Math.ceil(t/2)?0:e>s+Math.floor(t/2)?s:e}default:return i>=u&&i<=c?i:u>c||i<u?u:c}},getColumnStartIndexForOffset:({columnWidth:e,totalColumn:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},o,r)=>{const i=o*e,a=Math.ceil((n+r-i)/e);return Math.max(0,Math.min(t-1,o+a-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},o,r)=>{const i=o*e,a=Math.ceil((n+r-i)/e);return Math.max(0,Math.min(t-1,o+a-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),COMPONENT_NAME$6="ElTableV2Grid",useTableGrid=e=>{const t=ref(),n=ref(),o=ref(0),r=computed((()=>{const{data:t,rowHeight:n,estimatedRowHeight:o}=e;if(!o)return t.length*n})),i=computed((()=>{const{fixedData:t,rowHeight:n}=e;return((null==t?void 0:t.length)||0)*n})),a=computed((()=>sum(e.headerHeight))),l=computed((()=>{const{height:t}=e;return Math.max(0,t-unref(a)-unref(i))})),s=computed((()=>unref(a)+unref(i)>0));return watch((()=>e.bodyWidth),(()=>{var t;isNumber(e.estimatedRowHeight)&&(null==(t=n.value)||t.resetAfter({columnIndex:0},!1))})),{bodyRef:n,forceUpdate:function(){var e,o;null==(e=unref(n))||e.$forceUpdate(),null==(o=unref(t))||o.$forceUpdate()},fixedRowHeight:i,gridHeight:l,hasHeader:s,headerHeight:a,headerRef:t,totalHeight:r,itemKey:({data:t,rowIndex:n})=>t[n][e.rowKey],onItemRendered:function({rowCacheStart:t,rowCacheEnd:n,rowVisibleStart:o,rowVisibleEnd:r}){var i;null==(i=e.onRowsRendered)||i.call(e,{rowCacheStart:t,rowCacheEnd:n,rowVisibleStart:o,rowVisibleEnd:r})},resetAfterRowIndex:function(e,t){var o;null==(o=n.value)||o.resetAfterRowIndex(e,t)},scrollTo:function(e,r){const i=unref(t),a=unref(n);isObject$8(e)?(null==i||i.scrollToLeft(e.scrollLeft),o.value=e.scrollLeft,null==a||a.scrollTo(e)):(null==i||i.scrollToLeft(e),o.value=e,null==a||a.scrollTo({scrollLeft:e,scrollTop:r}))},scrollToTop:function(e){var t;null==(t=unref(n))||t.scrollTo({scrollTop:e})},scrollToRow:function(e,t){var o;null==(o=unref(n))||o.scrollToItem(e,1,t)},scrollLeft:o}},TableGrid=defineComponent({name:COMPONENT_NAME$6,props:tableV2GridProps,setup(e,{slots:t,expose:n}){const{ns:o}=inject(TableV2InjectionKey),{bodyRef:r,fixedRowHeight:i,gridHeight:a,hasHeader:l,headerRef:s,headerHeight:c,totalHeight:u,forceUpdate:d,itemKey:p,onItemRendered:f,resetAfterRowIndex:h,scrollTo:m,scrollToTop:g,scrollToRow:v,scrollLeft:y}=useTableGrid(e);provide("tableV2GridScrollLeft",y),n({forceUpdate:d,totalHeight:u,scrollTo:m,scrollToTop:g,scrollToRow:v,resetAfterRowIndex:h});const b=()=>e.bodyWidth;return()=>{const{cache:n,columns:u,data:d,fixedData:h,useIsScrolling:m,scrollbarAlwaysOn:g,scrollbarEndGap:v,scrollbarStartGap:y,style:_,rowHeight:w,bodyWidth:k,estimatedRowHeight:x,headerWidth:S,height:C,width:E,getRowHeight:T,onScroll:A}=e,$=isNumber(x),I=$?DynamicSizeGrid:FixedSizeGrid,M=unref(c);return createVNode$1("div",{role:"table",class:[o.e("table"),e.class],style:_},[createVNode$1(I,{ref:r,data:d,useIsScrolling:m,itemKey:p,columnCache:0,columnWidth:$?b:k,totalColumn:1,totalRow:d.length,rowCache:n,rowHeight:$?T:w,width:E,height:unref(a),class:o.e("body"),role:"rowgroup",scrollbarStartGap:y,scrollbarEndGap:v,scrollbarAlwaysOn:g,onScroll:A,onItemRendered:f,perfMode:!1},{default:e=>{var n;const o=d[e.rowIndex];return null==(n=t.row)?void 0:n.call(t,{...e,columns:u,rowData:o})}}),unref(l)&&createVNode$1(Header$1,{ref:s,class:o.e("header-wrapper"),columns:u,headerData:d,headerHeight:e.headerHeight,fixedHeaderData:h,rowWidth:S,rowHeight:w,width:E,height:Math.min(M+unref(i),C)},{dynamic:t.header,fixed:t.row})])}}});var Table=TableGrid;function _isSlot$5(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const MainTable=(e,{slots:t})=>{const{mainTableRef:n,...o}=e;return createVNode$1(Table,mergeProps({ref:n},o),_isSlot$5(t)?t:{default:()=>[t]})};var MainTable$1=MainTable;function _isSlot$4(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const LeftTable$1=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...o}=e;return createVNode$1(Table,mergeProps({ref:n},o),_isSlot$4(t)?t:{default:()=>[t]})};var LeftTable$1$1=LeftTable$1;function _isSlot$3(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const LeftTable=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...o}=e;return createVNode$1(Table,mergeProps({ref:n},o),_isSlot$3(t)?t:{default:()=>[t]})};var RightTable=LeftTable;const useTableRow=e=>{const{isScrolling:t}=inject(TableV2InjectionKey),n=ref(!1),o=ref(),r=computed((()=>isNumber(e.estimatedRowHeight)&&e.rowIndex>=0)),i=computed((()=>{const{rowData:t,rowIndex:n,rowKey:o,onRowHover:r}=e,i=e.rowEventHandlers||{},a={};return Object.entries(i).forEach((([e,r])=>{isFunction$5(r)&&(a[e]=e=>{r({event:e,rowData:t,rowIndex:n,rowKey:o})})})),r&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach((({name:e,hovered:i})=>{const l=a[e];a[e]=e=>{r({event:e,hovered:i,rowData:t,rowIndex:n,rowKey:o}),null==l||l(e)}})),a}));return onMounted((()=>{unref(r)&&((t=!1)=>{const r=unref(o);if(!r)return;const{columns:i,onRowHeightChange:a,rowKey:l,rowIndex:s,style:c}=e,{height:u}=r.getBoundingClientRect();n.value=!0,nextTick((()=>{if(t||u!==Number.parseInt(c.height)){const e=i[0],t=(null==e?void 0:e.placeholderSign)===placeholderSign;null==a||a({rowKey:l,height:u,rowIndex:s},e&&!t&&e.fixed)}}))})(!0)})),{isScrolling:t,measurable:r,measured:n,rowRef:o,eventHandlers:i,onExpand:t=>{const{onRowExpand:n,rowData:o,rowIndex:r,rowKey:i}=e;null==n||n({expanded:t,rowData:o,rowIndex:r,rowKey:i})}}},COMPONENT_NAME$5="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$5,props:tableV2RowProps,setup(e,{expose:t,slots:n,attrs:o}){const{eventHandlers:r,isScrolling:i,measurable:a,measured:l,rowRef:s,onExpand:c}=useTableRow(e);return t({onExpand:c}),()=>{const{columns:t,columnsStyles:u,expandColumnKey:d,depth:p,rowData:f,rowIndex:h,style:m}=e;let g=t.map(((e,o)=>{const r=isArray$6(f.children)&&f.children.length>0&&e.key===d;return n.cell({column:e,columns:t,columnIndex:o,depth:p,style:u[e.key],rowData:f,rowIndex:h,isScrolling:unref(i),expandIconProps:r?{rowData:f,rowIndex:h,onExpand:c}:void 0})}));if(n.row&&(g=n.row({cells:g.map((e=>isArray$6(e)&&1===e.length?e[0]:e)),style:m,columns:t,depth:p,rowData:f,rowIndex:h,isScrolling:unref(i)})),unref(a)){const{height:t,...n}=m||{},i=unref(l);return createVNode$1("div",mergeProps({ref:s,class:e.class,style:i?m:n,role:"row"},o,unref(r)),[g])}return createVNode$1("div",mergeProps(o,{ref:s,class:e.class,style:m,role:"row"},unref(r)),[g])}}});var Row$1=TableV2Row;function _isSlot$2(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const RowRenderer=(e,{slots:t})=>{const{columns:n,columnsStyles:o,depthMap:r,expandColumnKey:i,expandedRowKeys:a,estimatedRowHeight:l,hasFixedColumns:s,rowData:c,rowIndex:u,style:d,isScrolling:p,rowProps:f,rowClass:h,rowKey:m,rowEventHandlers:g,ns:v,onRowHovered:y,onRowExpanded:b}=e,_=tryCall(h,{columns:n,rowData:c,rowIndex:u},""),w=tryCall(f,{columns:n,rowData:c,rowIndex:u}),k=c[m],x=r[k]||0,S=Boolean(i),C=u<0,E=[v.e("row"),_,{[v.e(`row-depth-${x}`)]:S&&u>=0,[v.is("expanded")]:S&&a.includes(k),[v.is("fixed")]:!x&&C,[v.is("customized")]:Boolean(t.row)}],T=s?y:void 0,A={...w,columns:n,columnsStyles:o,class:E,depth:x,expandColumnKey:i,estimatedRowHeight:C?void 0:l,isScrolling:p,rowIndex:u,rowData:c,rowKey:k,rowEventHandlers:g,style:d};return createVNode$1(Row$1,mergeProps(A,{onRowExpand:b,onMouseenter:e=>{null==T||T({hovered:!0,rowKey:k,event:e,rowData:c,rowIndex:u})},onMouseleave:e=>{null==T||T({hovered:!1,rowKey:k,event:e,rowData:c,rowIndex:u})},rowkey:k}),_isSlot$2(t)?t:{default:()=>[t]})};var Row=RowRenderer;const TableV2Cell=(e,{slots:t})=>{var n;const{cellData:o,style:r}=e,i=(null==(n=null==o?void 0:o.toString)?void 0:n.call(o))||"",a=renderSlot(t,"default",e,(()=>[i]));return createVNode$1("div",{class:e.class,title:i,style:r},[a])};TableV2Cell.displayName="ElTableV2Cell",TableV2Cell.inheritAttrs=!1;var TableCell=TableV2Cell;const ExpandIcon=e=>{const{expanded:t,expandable:n,onExpand:o,style:r,size:i}=e,a={onClick:n?()=>o(!t):void 0,class:e.class};return createVNode$1(ElIcon,mergeProps(a,{size:i,style:r}),{default:()=>[createVNode$1(arrow_right_default,null,null)]})};var ExpandIcon$1=ExpandIcon;const CellRenderer=({columns:e,column:t,columnIndex:n,depth:o,expandIconProps:r,isScrolling:i,rowData:a,rowIndex:l,style:s,expandedRowKeys:c,ns:u,cellProps:d,expandColumnKey:p,indentSize:f,iconSize:h,rowKey:m},{slots:g})=>{const v=enforceUnit(s);if(t.placeholderSign===placeholderSign)return createVNode$1("div",{class:u.em("row-cell","placeholder"),style:v},null);const{cellRenderer:y,dataKey:b,dataGetter:_}=t,w=isFunction$5(_)?_({columns:e,column:t,columnIndex:n,rowData:a,rowIndex:l}):get$1(a,null!=b?b:""),k=tryCall(d,{cellData:w,columns:e,column:t,columnIndex:n,rowIndex:l,rowData:a}),x={class:u.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:w,isScrolling:i,rowData:a,rowIndex:l},S=componentToSlot(y),C=S?S(x):renderSlot(g,"default",x,(()=>[createVNode$1(TableCell,x,null)])),E=[u.e("row-cell"),t.class,t.align===Alignment.CENTER&&u.is("align-center"),t.align===Alignment.RIGHT&&u.is("align-right")],T=l>=0&&p&&t.key===p,A=l>=0&&c.includes(a[m]);let $;const I=`margin-inline-start: ${o*f}px;`;return T&&($=isObject$8(r)?createVNode$1(ExpandIcon$1,mergeProps(r,{class:[u.e("expand-icon"),u.is("expanded",A)],size:h,expanded:A,style:I,expandable:!0}),null):createVNode$1("div",{style:[I,`width: ${h}px; height: ${h}px;`].join(" ")},null)),createVNode$1("div",mergeProps({class:E,style:v},k,{role:"cell"}),[$,C])};CellRenderer.inheritAttrs=!1;var Cell=CellRenderer;const tableV2HeaderRowProps=buildProps({class:String,columns:columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup:(e,{slots:t})=>()=>{const{columns:n,columnsStyles:o,headerIndex:r,style:i}=e;let a=n.map(((e,i)=>t.cell({columns:n,column:e,columnIndex:i,headerIndex:r,style:o[e.key]})));return t.header&&(a=t.header({cells:a.map((e=>isArray$6(e)&&1===e.length?e[0]:e)),columns:n,headerIndex:r})),createVNode$1("div",{class:e.class,style:i,role:"row"},[a])}});var HeaderRow=TableV2HeaderRow;function _isSlot$1(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const HeaderRenderer=({columns:e,columnsStyles:t,headerIndex:n,style:o,headerClass:r,headerProps:i,ns:a},{slots:l})=>{const s={columns:e,headerIndex:n},c=[a.e("header-row"),tryCall(r,s,""),{[a.is("customized")]:Boolean(l.header)}],u={...tryCall(i,s),columnsStyles:t,class:c,columns:e,headerIndex:n,style:o};return createVNode$1(HeaderRow,u,_isSlot$1(l)?l:{default:()=>[l]})};var Header=HeaderRenderer;const HeaderCell$1=(e,{slots:t})=>renderSlot(t,"default",e,(()=>{var t,n;return[createVNode$1("div",{class:e.class,title:null==(t=e.column)?void 0:t.title},[null==(n=e.column)?void 0:n.title])]}));HeaderCell$1.displayName="ElTableV2HeaderCell",HeaderCell$1.inheritAttrs=!1;var HeaderCell$1$1=HeaderCell$1;const SortIcon=e=>{const{sortOrder:t}=e;return createVNode$1(ElIcon,{size:14,class:e.class},{default:()=>[t===SortOrder.ASC?createVNode$1(sort_up_default,null,null):createVNode$1(sort_down_default,null,null)]})};var SortIcon$1=SortIcon;const HeaderCellRenderer=(e,{slots:t})=>{const{column:n,ns:o,style:r,onColumnSorted:i}=e,a=enforceUnit(r);if(n.placeholderSign===placeholderSign)return createVNode$1("div",{class:o.em("header-row-cell","placeholder"),style:a},null);const{headerCellRenderer:l,headerClass:s,sortable:c}=n,u={...e,class:o.e("header-cell-text")},d=componentToSlot(l),p=d?d(u):renderSlot(t,"default",u,(()=>[createVNode$1(HeaderCell$1$1,u,null)])),{sortBy:f,sortState:h,headerCellProps:m}=e;let g,v;if(h){const e=h[n.key];g=Boolean(oppositeOrderMap[e]),v=g?e:SortOrder.ASC}else g=n.key===f.key,v=g?f.order:SortOrder.ASC;const y=[o.e("header-cell"),tryCall(s,e,""),n.align===Alignment.CENTER&&o.is("align-center"),n.align===Alignment.RIGHT&&o.is("align-right"),c&&o.is("sortable")],b={...tryCall(m,e),onClick:n.sortable?i:void 0,class:y,style:a,"data-key":n.key};return createVNode$1("div",mergeProps(b,{role:"columnheader"}),[p,c&&createVNode$1(SortIcon$1,{class:[o.e("sort-icon"),g&&o.is("sorting")],sortOrder:v},null)])};var HeaderCell=HeaderCellRenderer;const Footer$1=(e,{slots:t})=>{var n;return createVNode$1("div",{class:e.class,style:e.style},[null==(n=t.default)?void 0:n.call(t)])};Footer$1.displayName="ElTableV2Footer";var Footer$1$1=Footer$1;const Footer=(e,{slots:t})=>{const n=renderSlot(t,"default",{},(()=>[createVNode$1(ElEmpty,null,null)]));return createVNode$1("div",{class:e.class,style:e.style},[n])};Footer.displayName="ElTableV2Empty";var Empty=Footer;const Overlay=(e,{slots:t})=>{var n;return createVNode$1("div",{class:e.class,style:e.style},[null==(n=t.default)?void 0:n.call(t)])};Overlay.displayName="ElTableV2Overlay";var Overlay$1=Overlay;function _isSlot(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(e,{slots:t,expose:n}){const o=useNamespace("table-v2"),{columnsStyles:r,fixedColumnsOnLeft:i,fixedColumnsOnRight:a,mainColumns:l,mainTableHeight:s,fixedTableHeight:c,leftTableWidth:u,rightTableWidth:d,data:p,depthMap:f,expandedRowKeys:h,hasFixedColumns:m,mainTableRef:g,leftTableRef:v,rightTableRef:y,isDynamic:b,isResetting:_,isScrolling:w,bodyWidth:k,emptyStyle:x,rootStyle:S,headerWidth:C,footerHeight:E,showEmpty:T,scrollTo:A,scrollToLeft:$,scrollToTop:I,scrollToRow:M,getRowHeight:P,onColumnSorted:N,onRowHeightChange:O,onRowHovered:R,onRowExpanded:D,onRowsRendered:L,onScroll:B,onVerticalScroll:V}=useTable(e);return n({scrollTo:A,scrollToLeft:$,scrollToTop:I,scrollToRow:M}),provide(TableV2InjectionKey,{ns:o,isResetting:_,isScrolling:w}),()=>{const{cache:n,cellProps:_,estimatedRowHeight:w,expandColumnKey:A,fixedData:$,headerHeight:I,headerClass:M,headerProps:z,headerCellProps:F,sortBy:H,sortState:j,rowHeight:G,rowClass:U,rowEventHandlers:W,rowKey:Y,rowProps:q,scrollbarAlwaysOn:K,indentSize:Z,iconSize:X,useIsScrolling:J,vScrollbarSize:Q,width:ee}=e,te=unref(p),ne={cache:n,class:o.e("main"),columns:unref(l),data:te,fixedData:$,estimatedRowHeight:w,bodyWidth:unref(k)+Q,headerHeight:I,headerWidth:unref(C),height:unref(s),mainTableRef:g,rowKey:Y,rowHeight:G,scrollbarAlwaysOn:K,scrollbarStartGap:2,scrollbarEndGap:Q,useIsScrolling:J,width:ee,getRowHeight:P,onRowsRendered:L,onScroll:B},oe=unref(u),re=unref(c),ie={cache:n,class:o.e("left"),columns:unref(i),data:te,fixedData:$,estimatedRowHeight:w,leftTableRef:v,rowHeight:G,bodyWidth:oe,headerWidth:oe,headerHeight:I,height:re,rowKey:Y,scrollbarAlwaysOn:K,scrollbarStartGap:2,scrollbarEndGap:Q,useIsScrolling:J,width:oe,getRowHeight:P,onScroll:V},ae=unref(d)+Q,le={cache:n,class:o.e("right"),columns:unref(a),data:te,fixedData:$,estimatedRowHeight:w,rightTableRef:y,rowHeight:G,bodyWidth:ae,headerWidth:ae,headerHeight:I,height:re,rowKey:Y,scrollbarAlwaysOn:K,scrollbarStartGap:2,scrollbarEndGap:Q,width:ae,style:`--${unref(o.namespace)}-table-scrollbar-size: ${Q}px`,useIsScrolling:J,getRowHeight:P,onScroll:V},se=unref(r),ce={ns:o,depthMap:unref(f),columnsStyles:se,expandColumnKey:A,expandedRowKeys:unref(h),estimatedRowHeight:w,hasFixedColumns:unref(m),rowProps:q,rowClass:U,rowKey:Y,rowEventHandlers:W,onRowHovered:R,onRowExpanded:D,onRowHeightChange:O},ue={cellProps:_,expandColumnKey:A,indentSize:Z,iconSize:X,rowKey:Y,expandedRowKeys:unref(h),ns:o},de={ns:o,headerClass:M,headerProps:z,columnsStyles:se},pe={ns:o,sortBy:H,sortState:j,headerCellProps:F,onColumnSorted:N},fe={row:e=>createVNode$1(Row,mergeProps(e,ce),{row:t.row,cell:e=>{let n;return t.cell?createVNode$1(Cell,mergeProps(e,ue,{style:se[e.column.key]}),_isSlot(n=t.cell(e))?n:{default:()=>[n]}):createVNode$1(Cell,mergeProps(e,ue,{style:se[e.column.key]}),null)}}),header:e=>createVNode$1(Header,mergeProps(e,de),{header:t.header,cell:e=>{let n;return t["header-cell"]?createVNode$1(HeaderCell,mergeProps(e,pe,{style:se[e.column.key]}),_isSlot(n=t["header-cell"](e))?n:{default:()=>[n]}):createVNode$1(HeaderCell,mergeProps(e,pe,{style:se[e.column.key]}),null)}})},he=[e.class,o.b(),o.e("root"),{[o.is("dynamic")]:unref(b)}],me={class:o.e("footer"),style:unref(E)};return createVNode$1("div",{class:he,style:unref(S)},[createVNode$1(MainTable$1,ne,_isSlot(fe)?fe:{default:()=>[fe]}),createVNode$1(LeftTable$1$1,ie,_isSlot(fe)?fe:{default:()=>[fe]}),createVNode$1(RightTable,le,_isSlot(fe)?fe:{default:()=>[fe]}),t.footer&&createVNode$1(Footer$1$1,me,{default:t.footer}),unref(T)&&createVNode$1(Empty,{class:o.e("empty"),style:unref(x)},{default:t.empty}),t.overlay&&createVNode$1(Overlay$1,{class:o.e("overlay")},{default:t.overlay})])}}});var TableV2$1=TableV2;const autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),useAutoResize=e=>{const t=ref(),n=ref(0),o=ref(0);let r;return onMounted((()=>{r=useResizeObserver(t,(([e])=>{const{width:t,height:r}=e.contentRect,{paddingLeft:i,paddingRight:a,paddingTop:l,paddingBottom:s}=getComputedStyle(e.target),c=Number.parseInt(i)||0,u=Number.parseInt(a)||0,d=Number.parseInt(l)||0,p=Number.parseInt(s)||0;n.value=t-c-u,o.value=r-d-p})).stop})),onBeforeUnmount((()=>{null==r||r()})),watch([n,o],(([t,n])=>{var o;null==(o=e.onResize)||o.call(e,{width:t,height:n})})),{sizer:t,width:n,height:o}},AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(e,{slots:t}){const n=useNamespace("auto-resizer"),{height:o,width:r,sizer:i}=useAutoResize(e),a={width:"100%",height:"100%"};return()=>{var e;return createVNode$1("div",{ref:i,class:n.b(),style:a},[null==(e=t.default)?void 0:e.call(t,{height:o.value,width:r.value})])}}});var AutoResizer$1=AutoResizer;const ElTableV2=withInstall(TableV2$1),ElAutoResizer=withInstall(AutoResizer$1),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$u=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$A=defineComponent({...__default__$u,props:tabBarProps,setup(e,{expose:t}){const n=e,o=getCurrentInstance(),r=inject(tabsRootContextKey);r||throwError(COMPONENT_NAME$3,"<el-tabs><el-tab-bar /></el-tabs>");const i=useNamespace("tabs"),a=ref(),l=ref(),s=()=>l.value=(()=>{let e=0,t=0;const i=["top","bottom"].includes(r.props.tabPosition)?"width":"height",a="width"===i?"x":"y",l="x"===a?"left":"top";return n.tabs.every((n=>{var r,a;const s=null==(a=null==(r=o.parent)?void 0:r.refs)?void 0:a[`tab-${n.uid}`];if(!s)return!1;if(!n.active)return!0;e=s[`offset${capitalize(l)}`],t=s[`client${capitalize(i)}`];const c=window.getComputedStyle(s);return"width"===i&&(t-=Number.parseFloat(c.paddingLeft)+Number.parseFloat(c.paddingRight),e+=Number.parseFloat(c.paddingLeft)),!1})),{[i]:`${t}px`,transform:`translate${capitalize(a)}(${e}px)`}})(),c=[];watch((()=>n.tabs),(async()=>{await nextTick(),s(),(()=>{var e;c.forEach((e=>e.stop())),c.length=0;const t=null==(e=o.parent)?void 0:e.refs;if(t)for(const n in t)if(n.startsWith("tab-")){const e=t[n];e&&c.push(useResizeObserver(e,s))}})()}),{immediate:!0});const u=useResizeObserver(a,(()=>s()));return onBeforeUnmount((()=>{c.forEach((e=>e.stop())),c.length=0,u.stop()})),t({ref:a,update:s}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:a,class:normalizeClass([unref(i).e("active-bar"),unref(i).is(unref(r).props.tabPosition)]),style:normalizeStyle$1(l.value)},null,6))}});var TabBar=_export_sfc(_sfc_main$A,[["__file","tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(e,{expose:t,emit:n}){const o=inject(tabsRootContextKey);o||throwError(COMPONENT_NAME$2,"<el-tabs><tab-nav /></el-tabs>");const r=useNamespace("tabs"),i=useDocumentVisibility(),a=useWindowFocus(),l=ref(),s=ref(),c=ref(),u=ref(),d=ref(!1),p=ref(0),f=ref(!1),h=ref(!0),m=computed((()=>["top","bottom"].includes(o.props.tabPosition)?"width":"height")),g=computed((()=>({transform:`translate${"width"===m.value?"X":"Y"}(-${p.value}px)`}))),v=()=>{if(!l.value)return;const e=l.value[`offset${capitalize(m.value)}`],t=p.value;if(!t)return;const n=t>e?t-e:0;p.value=n},y=()=>{if(!l.value||!s.value)return;const e=s.value[`offset${capitalize(m.value)}`],t=l.value[`offset${capitalize(m.value)}`],n=p.value;if(e-n<=t)return;const o=e-n>2*t?n+t:e-t;p.value=o},b=async()=>{const e=s.value;if(!(d.value&&c.value&&l.value&&e))return;await nextTick();const t=c.value.querySelector(".is-active");if(!t)return;const n=l.value,r=["top","bottom"].includes(o.props.tabPosition),i=t.getBoundingClientRect(),a=n.getBoundingClientRect(),u=r?e.offsetWidth-a.width:e.offsetHeight-a.height,f=p.value;let h=f;r?(i.left<a.left&&(h=f-(a.left-i.left)),i.right>a.right&&(h=f+i.right-a.right)):(i.top<a.top&&(h=f-(a.top-i.top)),i.bottom>a.bottom&&(h=f+(i.bottom-a.bottom))),h=Math.max(h,0),p.value=Math.min(h,u)},_=()=>{var t;if(!s.value||!l.value)return;e.stretch&&(null==(t=u.value)||t.update());const n=s.value[`offset${capitalize(m.value)}`],o=l.value[`offset${capitalize(m.value)}`],r=p.value;o<n?(d.value=d.value||{},d.value.prev=r,d.value.next=r+o<n,n-r<o&&(p.value=n-o)):(d.value=!1,r>0&&(p.value=0))},w=e=>{let t=0;switch(e.code){case EVENT_CODE.left:case EVENT_CODE.up:t=-1;break;case EVENT_CODE.right:case EVENT_CODE.down:t=1;break;default:return}const n=Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let o=n.indexOf(e.target)+t;o<0?o=n.length-1:o>=n.length&&(o=0),n[o].focus({preventScroll:!0}),n[o].click(),k()},k=()=>{h.value&&(f.value=!0)},x=()=>f.value=!1;return watch(i,(e=>{"hidden"===e?h.value=!1:"visible"===e&&setTimeout((()=>h.value=!0),50)})),watch(a,(e=>{e?setTimeout((()=>h.value=!0),50):h.value=!1})),useResizeObserver(c,_),onMounted((()=>setTimeout((()=>b()),0))),onUpdated((()=>_())),t({scrollToActiveTab:b,removeFocus:x,tabListRef:s,tabBarRef:u}),()=>{const t=d.value?[createVNode$1("span",{class:[r.e("nav-prev"),r.is("disabled",!d.value.prev)],onClick:v},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_left_default,null,null)]})]),createVNode$1("span",{class:[r.e("nav-next"),r.is("disabled",!d.value.next)],onClick:y},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_right_default,null,null)]})])]:null,i=e.panes.map(((t,i)=>{var a,l,s,c;const u=t.uid,d=t.props.disabled,p=null!=(l=null!=(a=t.props.name)?a:t.index)?l:`${i}`,h=!d&&(t.isClosable||e.editable);t.index=`${i}`;const m=h?createVNode$1(ElIcon,{class:"is-icon-close",onClick:e=>n("tabRemove",t,e)},{default:()=>[createVNode$1(close_default,null,null)]}):null,g=(null==(c=(s=t.slots).label)?void 0:c.call(s))||t.props.label,v=!d&&t.active?0:-1;return createVNode$1("div",{ref:`tab-${u}`,class:[r.e("item"),r.is(o.props.tabPosition),r.is("active",t.active),r.is("disabled",d),r.is("closable",h),r.is("focus",f.value)],id:`tab-${p}`,key:`tab-${u}`,"aria-controls":`pane-${p}`,role:"tab","aria-selected":t.active,tabindex:v,onFocus:()=>k(),onBlur:()=>x(),onClick:e=>{x(),n("tabClick",t,p,e)},onKeydown:e=>{!h||e.code!==EVENT_CODE.delete&&e.code!==EVENT_CODE.backspace||n("tabRemove",t,e)}},[g,m])}));return createVNode$1("div",{ref:c,class:[r.e("nav-wrap"),r.is("scrollable",!!d.value),r.is(o.props.tabPosition)]},[t,createVNode$1("div",{class:r.e("nav-scroll"),ref:l},[createVNode$1("div",{class:[r.e("nav"),r.is(o.props.tabPosition),r.is("stretch",e.stretch&&["top","bottom"].includes(o.props.tabPosition))],ref:s,style:g.value,role:"tablist",onKeydown:w},[e.type?null:createVNode$1(TabBar,{ref:u,tabs:[...e.panes]},null),i])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=e=>isString$4(e)||isNumber(e),tabsEmits={[UPDATE_MODEL_EVENT]:e=>isPaneName(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>isPaneName(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>isPaneName(e),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(e,{emit:t,slots:n,expose:o}){var r;const i=useNamespace("tabs"),a=computed((()=>["left","right"].includes(e.tabPosition))),{children:l,addChild:s,removeChild:c}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),u=ref(),d=ref(null!=(r=e.modelValue)?r:"0"),p=async(n,o=!1)=>{var r,i;if(d.value!==n&&!isUndefined(n))try{let a;if(e.beforeLeave){const t=e.beforeLeave(n,d.value);a=t instanceof Promise?await t:t}else a=!0;!1!==a&&(d.value=n,o&&(t(UPDATE_MODEL_EVENT,n),t("tabChange",n)),null==(i=null==(r=u.value)?void 0:r.removeFocus)||i.call(r))}catch(e2){}},f=(e,n,o)=>{e.props.disabled||(t("tabClick",e,o),p(n,!0))},h=(e,n)=>{e.props.disabled||isUndefined(e.props.name)||(n.stopPropagation(),t("edit",e.props.name,"remove"),t("tabRemove",e.props.name))},m=()=>{t("edit",void 0,"add"),t("tabAdd")};watch((()=>e.modelValue),(e=>p(e))),watch(d,(async()=>{var e;await nextTick(),null==(e=u.value)||e.scrollToActiveTab()})),provide(tabsRootContextKey,{props:e,currentName:d,registerPane:e=>{l.value.push(e)},sortPane:s,unregisterPane:c}),o({currentName:d,tabNavRef:u});const g=({render:e})=>e();return()=>{const t=n["add-icon"],o=e.editable||e.addable?createVNode$1("div",{class:[i.e("new-tab"),a.value&&i.e("new-tab-vertical")],tabindex:"0",onClick:m,onKeydown:e=>{[EVENT_CODE.enter,EVENT_CODE.numpadEnter].includes(e.code)&&m()}},[t?renderSlot(n,"add-icon"):createVNode$1(ElIcon,{class:i.is("icon-plus")},{default:()=>[createVNode$1(plus_default,null,null)]})]):null,r=createVNode$1("div",{class:[i.e("header"),a.value&&i.e("header-vertical"),i.is(e.tabPosition)]},[createVNode$1(g,{render:()=>{const t=l.value.some((e=>e.slots.label));return createVNode$1(TabNav,{ref:u,currentName:d.value,editable:e.editable,type:e.type,panes:l.value,stretch:e.stretch,onTabClick:f,onTabRemove:h},{$stable:!t})}},null),o]),s=createVNode$1("div",{class:i.e("content")},[renderSlot(n,"default")]);return createVNode$1("div",{class:[i.b(),i.m(e.tabPosition),{[i.m("card")]:"card"===e.type,[i.m("border-card")]:"border-card"===e.type}]},[s,r])}}});var Tabs$1=Tabs;const tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),COMPONENT_NAME$1="ElTabPane",__default__$t=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$z=defineComponent({...__default__$t,props:tabPaneProps,setup(e){const t=e,n=getCurrentInstance(),o=useSlots(),r=inject(tabsRootContextKey);r||throwError(COMPONENT_NAME$1,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const i=useNamespace("tab-pane"),a=ref(),l=computed((()=>t.closable||r.props.closable)),s=computedEager((()=>{var e;return r.currentName.value===(null!=(e=t.name)?e:a.value)})),c=ref(s.value),u=computed((()=>{var e;return null!=(e=t.name)?e:a.value})),d=computedEager((()=>!t.lazy||c.value||s.value));watch(s,(e=>{e&&(c.value=!0)}));const p=reactive({uid:n.uid,slots:o,props:t,paneName:u,active:s,index:a,isClosable:l});return r.registerPane(p),onMounted((()=>{r.sortPane(p)})),onUnmounted((()=>{r.unregisterPane(p.uid)})),(e,t)=>unref(d)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(u)}`,class:normalizeClass(unref(i).b()),role:"tabpanel","aria-hidden":!unref(s),"aria-labelledby":`tab-${unref(u)}`},[renderSlot(e.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[vShow,unref(s)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc(_sfc_main$z,[["__file","tab-pane.vue"]]);const ElTabs=withInstall(Tabs$1,{TabPane:TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),__default__$s=defineComponent({name:"ElText"}),_sfc_main$y=defineComponent({...__default__$s,props:textProps,setup(e){const t=e,n=ref(),o=useFormSize(),r=useNamespace("text"),i=computed((()=>[r.b(),r.m(t.type),r.m(o.value),r.is("truncated",t.truncated),r.is("line-clamp",!isUndefined(t.lineClamp))])),a=useAttrs$1().title,l=()=>{var e,o,r,i,l;if(a)return;let s=!1;const c=(null==(e=n.value)?void 0:e.textContent)||"";if(t.truncated){const e=null==(o=n.value)?void 0:o.offsetWidth,t=null==(r=n.value)?void 0:r.scrollWidth;e&&t&&t>e&&(s=!0)}else if(!isUndefined(t.lineClamp)){const e=null==(i=n.value)?void 0:i.offsetHeight,t=null==(l=n.value)?void 0:l.scrollHeight;e&&t&&t>e&&(s=!0)}s?n.value.setAttribute("title",c):n.value.removeAttribute("title")};return onMounted(l),onUpdated(l),(e,t)=>(openBlock(),createBlock(resolveDynamicComponent(e.tag),{ref_key:"textRef",ref:n,class:normalizeClass(unref(i)),style:normalizeStyle$1({"-webkit-line-clamp":e.lineClamp})},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["class","style"]))}});var Text$1=_export_sfc(_sfc_main$y,[["__file","text.vue"]]);const ElText=withInstall(Text$1),timeSelectProps=buildProps({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:definePropType(String),default:"light"},clearable:{type:Boolean,default:!0},size:useSizeProp,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,includeEndTime:{type:Boolean,default:!1},name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default},...useEmptyValuesProps}),parseTime=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const o=Number.parseInt(t[1],10),r=e.toUpperCase();return r.includes("AM")&&12===n?n=0:r.includes("PM")&&12!==n&&(n+=12),{hours:n,minutes:o}}return null},compareTime=(e,t)=>{const n=parseTime(e);if(!n)return-1;const o=parseTime(t);if(!o)return-1;const r=n.minutes+60*n.hours,i=o.minutes+60*o.hours;return r===i?0:r>i?1:-1},padTime=e=>`${e}`.padStart(2,"0"),formatTime=e=>`${padTime(e.hours)}:${padTime(e.minutes)}`,nextTime=(e,t)=>{const n=parseTime(e);if(!n)return"";const o=parseTime(t);if(!o)return"";const r={hours:n.hours,minutes:n.minutes};return r.minutes+=o.minutes,r.hours+=o.hours,r.hours+=Math.floor(r.minutes/60),r.minutes=r.minutes%60,formatTime(r)},__default__$r=defineComponent({name:"ElTimeSelect"}),_sfc_main$x=defineComponent({...__default__$r,props:timeSelectProps,emits:[CHANGE_EVENT,"blur","focus","clear",UPDATE_MODEL_EVENT],setup(e,{expose:t}){const n=e;dayjs.extend(customParseFormat);const{Option:o}=ElSelect,r=useNamespace("input"),i=ref(),a=useFormDisabled(),{lang:l}=useLocale(),s=computed((()=>n.modelValue)),c=computed((()=>{const e=parseTime(n.start);return e?formatTime(e):null})),u=computed((()=>{const e=parseTime(n.end);return e?formatTime(e):null})),d=computed((()=>{const e=parseTime(n.step);return e?formatTime(e):null})),p=computed((()=>{const e=parseTime(n.minTime||"");return e?formatTime(e):null})),f=computed((()=>{const e=parseTime(n.maxTime||"");return e?formatTime(e):null})),h=computed((()=>{var e;const t=[],o=(e,n)=>{t.push({value:e,disabled:compareTime(n,p.value||"-1:-1")<=0||compareTime(n,f.value||"100:100")>=0})};if(n.start&&n.end&&n.step){let r,i=c.value;for(;i&&u.value&&compareTime(i,u.value)<=0;)r=dayjs(i,"HH:mm").locale(l.value).format(n.format),o(r,i),i=nextTime(i,d.value);if(n.includeEndTime&&u.value&&(null==(e=t[t.length-1])?void 0:e.value)!==u.value){o(dayjs(u.value,"HH:mm").locale(l.value).format(n.format),u.value)}}return t}));return t({blur:()=>{var e,t;null==(t=null==(e=i.value)?void 0:e.blur)||t.call(e)},focus:()=>{var e,t;null==(t=null==(e=i.value)?void 0:e.focus)||t.call(e)}}),(e,t)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:i,"model-value":unref(s),disabled:unref(a),clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"empty-values":e.emptyValues,"value-on-clear":e.valueOnClear,"onUpdate:modelValue":t=>e.$emit(unref(UPDATE_MODEL_EVENT),t),onChange:t=>e.$emit(unref(CHANGE_EVENT),t),onBlur:t=>e.$emit("blur",t),onFocus:t=>e.$emit("focus",t),onClear:()=>e.$emit("clear")},{prefix:withCtx((()=>[e.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(r).e("prefix-icon"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.prefixIcon)))])),_:1},8,["class"])):createCommentVNode("v-if",!0)])),default:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(h),(e=>(openBlock(),createBlock(unref(o),{key:e.value,label:e.value,value:e.value,disabled:e.disabled},null,8,["label","value","disabled"])))),128))])),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","onUpdate:modelValue","onChange","onBlur","onFocus","onClear"]))}});var TimeSelect=_export_sfc(_sfc_main$x,[["__file","time-select.vue"]]);const ElTimeSelect=withInstall(TimeSelect),Timeline=defineComponent({name:"ElTimeline",setup(e,{slots:t}){const n=useNamespace("timeline");return provide("timeline",t),()=>h$5("ul",{class:[n.b()]},[renderSlot(t,"default")])}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:iconPropType},hollow:Boolean}),__default__$q=defineComponent({name:"ElTimelineItem"}),_sfc_main$w=defineComponent({...__default__$q,props:timelineItemProps,setup(e){const t=e,n=useNamespace("timeline-item"),o=computed((()=>[n.e("node"),n.em("node",t.size||""),n.em("node",t.type||""),n.is("hollow",t.hollow)]));return(e,t)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(n).b(),{[unref(n).e("center")]:e.center}])},[createBaseVNode("div",{class:normalizeClass(unref(n).e("tail"))},null,2),e.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o)),style:normalizeStyle$1({backgroundColor:e.color})},[e.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(n).e("icon"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.icon)))])),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),e.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(n).e("dot"))},[renderSlot(e.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(n).e("wrapper"))},[e.hideTimestamp||"top"!==e.placement?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(n).e("timestamp"),unref(n).is("top")])},toDisplayString(e.timestamp),3)),createBaseVNode("div",{class:normalizeClass(unref(n).e("content"))},[renderSlot(e.$slots,"default")],2),e.hideTimestamp||"bottom"!==e.placement?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(n).e("timestamp"),unref(n).is("bottom")])},toDisplayString(e.timestamp),3))],2)],2))}});var TimelineItem=_export_sfc(_sfc_main$w,[["__file","timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem:TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(e=>(e.top="top",e.bottom="bottom",e.left="left",e.right="right",e))(TooltipV2Sides||{});const tooltipV2Sides=Object.values(TooltipV2Sides),tooltipV2ArrowProps=buildProps({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:definePropType(Object),default:null}}),tooltipV2ArrowSpecialProps=buildProps({side:{type:definePropType(String),values:tooltipV2Sides,required:!0}}),tooltipV2Strategies=["absolute","fixed"],tooltipV2Placements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tooltipV2ContentProps=buildProps({arrowPadding:{type:definePropType(Number),default:5},effect:{type:definePropType(String),default:"light"},contentClass:String,placement:{type:definePropType(String),values:tooltipV2Placements,default:"bottom"},reference:{type:definePropType(Object),default:null},offset:{type:Number,default:8},strategy:{type:definePropType(String),values:tooltipV2Strategies,default:"absolute"},showArrow:Boolean,...useAriaProps(["ariaLabel"])}),tooltipV2RootProps=buildProps({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:definePropType(Function)},"onUpdate:open":{type:definePropType(Function)}}),EventHandler={type:definePropType(Function)},tooltipV2TriggerProps=buildProps({onBlur:EventHandler,onClick:EventHandler,onFocus:EventHandler,onMouseDown:EventHandler,onMouseEnter:EventHandler,onMouseLeave:EventHandler}),tooltipV2Props=buildProps({...tooltipV2RootProps,...tooltipV2ArrowProps,...tooltipV2TriggerProps,...tooltipV2ContentProps,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:definePropType(Object),default:null},teleported:Boolean,to:{type:definePropType(String),default:"body"}}),tooltipV2RootKey=Symbol("tooltipV2"),tooltipV2ContentKey=Symbol("tooltipV2Content"),TOOLTIP_V2_OPEN="tooltip_v2.open",__default__$p=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$v=defineComponent({...__default__$p,props:tooltipV2RootProps,setup(e,{expose:t}){const n=e,o=ref(n.defaultOpen),r=ref(null),i=computed({get:()=>isPropAbsent(n.open)?o.value:n.open,set:e=>{var t;o.value=e,null==(t=n["onUpdate:open"])||t.call(n,e)}}),a=computed((()=>isNumber(n.delayDuration)&&n.delayDuration>0)),{start:l,stop:s}=useTimeoutFn((()=>{i.value=!0}),computed((()=>n.delayDuration)),{immediate:!1}),c=useNamespace("tooltip-v2"),u=useId(),d=()=>{s(),i.value=!0},p=d,f=()=>{s(),i.value=!1};return watch(i,(e=>{var t;e&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),p()),null==(t=n.onOpenChange)||t.call(n,e)})),onMounted((()=>{document.addEventListener(TOOLTIP_V2_OPEN,f)})),onBeforeUnmount((()=>{s(),document.removeEventListener(TOOLTIP_V2_OPEN,f)})),provide(tooltipV2RootKey,{contentId:u,triggerRef:r,ns:c,onClose:f,onDelayOpen:()=>{unref(a)?l():d()},onOpen:p}),t({onOpen:p,onClose:f}),(e,t)=>renderSlot(e.$slots,"default",{open:unref(i)})}});var TooltipV2Root=_export_sfc(_sfc_main$v,[["__file","root.vue"]]);const __default__$o=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$u=defineComponent({...__default__$o,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(e){const t=e,{ns:n}=inject(tooltipV2RootKey),{arrowRef:o}=inject(tooltipV2ContentKey),r=computed((()=>{const{style:e,width:o,height:r}=t,i=n.namespace.value;return{[`--${i}-tooltip-v2-arrow-width`]:`${o}px`,[`--${i}-tooltip-v2-arrow-height`]:`${r}px`,[`--${i}-tooltip-v2-arrow-border-width`]:o/2+"px",[`--${i}-tooltip-v2-arrow-cover-width`]:o/2-1,...e||{}}}));return(e,t)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:o,style:normalizeStyle$1(unref(r)),class:normalizeClass(unref(n).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc(_sfc_main$u,[["__file","arrow.vue"]]);function hasWindow(){return"undefined"!=typeof window}function getNodeName(e){return isNode(e)?(e.nodeName||"").toLowerCase():"#document"}function getWindow(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function getDocumentElement(e){var t;return null==(t=(isNode(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function isNode(e){return!!hasWindow()&&(e instanceof Node||e instanceof getWindow(e).Node)}function isElement(e){return!!hasWindow()&&(e instanceof Element||e instanceof getWindow(e).Element)}function isHTMLElement(e){return!!hasWindow()&&(e instanceof HTMLElement||e instanceof getWindow(e).HTMLElement)}function isShadowRoot(e){return!(!hasWindow()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof getWindow(e).ShadowRoot)}function isOverflowElement(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=getComputedStyle$1(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function isTableElement(e){return["table","td","th"].includes(getNodeName(e))}function isTopLayer(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e2){return!1}}))}function isContainingBlock(e){const t=isWebKit(),n=isElement(e)?getComputedStyle$1(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function getContainingBlock(e){let t=getParentNode(e);for(;isHTMLElement(t)&&!isLastTraversableNode(t);){if(isContainingBlock(t))return t;if(isTopLayer(t))return null;t=getParentNode(t)}return null}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(e){return["html","body","#document"].includes(getNodeName(e))}function getComputedStyle$1(e){return getWindow(e).getComputedStyle(e)}function getNodeScroll(e){return isElement(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function getParentNode(e){if("html"===getNodeName(e))return e;const t=e.assignedSlot||e.parentNode||isShadowRoot(e)&&e.host||getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){const t=getParentNode(e);return isLastTraversableNode(t)?e.ownerDocument?e.ownerDocument.body:e.body:isHTMLElement(t)&&isOverflowElement(t)?t:getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=getNearestOverflowAncestor(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=getWindow(r);if(i){const e=getFrameElement(a);return t.concat(a,a.visualViewport||[],isOverflowElement(r)?r:[],e&&n?getOverflowAncestors(e):[])}return t.concat(r,getOverflowAncestors(r,[],n))}function getFrameElement(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function getCssDimensions(e){const t=getComputedStyle$1(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=isHTMLElement(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,l=round$4(n)!==i||round$4(o)!==a;return l&&(n=i,o=a),{width:n,height:o,$:l}}function unwrapElement(e){return isElement(e)?e:e.contextElement}function getScale(e){const t=unwrapElement(e);if(!isHTMLElement(t))return createCoords(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=getCssDimensions(t);let a=(i?round$4(n.width):n.width)/o,l=(i?round$4(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const noOffsets=createCoords(0);function getVisualOffsets(e){const t=getWindow(e);return isWebKit()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==getWindow(e))&&t}function getBoundingClientRect(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=unwrapElement(e);let a=createCoords(1);t&&(o?isElement(o)&&(a=getScale(o)):a=getScale(e));const l=shouldAddVisualOffsets(i,n,o)?getVisualOffsets(i):createCoords(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const e=getWindow(i),t=o&&isElement(o)?getWindow(o):o;let n=e,r=getFrameElement(n);for(;r&&o&&t!==n;){const e=getScale(r),t=r.getBoundingClientRect(),o=getComputedStyle$1(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=i,c+=a,n=getWindow(r),r=getFrameElement(n)}}return rectToClientRect({width:u,height:d,x:s,y:c})}function getWindowScrollBarX(e,t){const n=getNodeScroll(e).scrollLeft;return t?t.left+n:getBoundingClientRect(getDocumentElement(e)).left+n}function getHTMLOffset(e,t,n){void 0===n&&(n=!1);const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-(n?0:getWindowScrollBarX(e,o)),y:o.top+t.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i="fixed"===r,a=getDocumentElement(o),l=!!t&&isTopLayer(t.floating);if(o===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},c=createCoords(1);const u=createCoords(0),d=isHTMLElement(o);if((d||!d&&!i)&&(("body"!==getNodeName(o)||isOverflowElement(a))&&(s=getNodeScroll(o)),isHTMLElement(o))){const e=getBoundingClientRect(o);c=getScale(o),u.x=e.x+o.clientLeft,u.y=e.y+o.clientTop}const p=!a||d||i?createCoords(0):getHTMLOffset(a,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-s.scrollTop*c.y+u.y+p.y}}function getClientRects(e){return Array.from(e.getClientRects())}function getDocumentRect(e){const t=getDocumentElement(e),n=getNodeScroll(e),o=e.ownerDocument.body,r=max$3(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=max$3(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+getWindowScrollBarX(e);const l=-n.scrollTop;return"rtl"===getComputedStyle$1(o).direction&&(a+=max$3(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}function getViewportRect(e,t){const n=getWindow(e),o=getDocumentElement(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const e=isWebKit();(!e||e&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}function getInnerBoundingClientRect(e,t){const n=getBoundingClientRect(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=isHTMLElement(e)?getScale(e):createCoords(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}function getClientRectFromClippingAncestor(e,t,n){let o;if("viewport"===t)o=getViewportRect(e,n);else if("document"===t)o=getDocumentRect(getDocumentElement(e));else if(isElement(t))o=getInnerBoundingClientRect(t,n);else{const n=getVisualOffsets(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return rectToClientRect(o)}function hasFixedPositionAncestor(e,t){const n=getParentNode(e);return!(n===t||!isElement(n)||isLastTraversableNode(n))&&("fixed"===getComputedStyle$1(n).position||hasFixedPositionAncestor(n,t))}function getClippingElementAncestors(e,t){const n=t.get(e);if(n)return n;let o=getOverflowAncestors(e,[],!1).filter((e=>isElement(e)&&"body"!==getNodeName(e))),r=null;const i="fixed"===getComputedStyle$1(e).position;let a=i?getParentNode(e):e;for(;isElement(a)&&!isLastTraversableNode(a);){const t=getComputedStyle$1(a),n=isContainingBlock(a);n||"fixed"!==t.position||(r=null);(i?!n&&!r:!n&&"static"===t.position&&!!r&&["absolute","fixed"].includes(r.position)||isOverflowElement(a)&&!n&&hasFixedPositionAncestor(e,a))?o=o.filter((e=>e!==a)):r=t,a=getParentNode(a)}return t.set(e,o),o}function getClippingRect(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?isTopLayer(t)?[]:getClippingElementAncestors(t,this._c):[].concat(n),o],a=i[0],l=i.reduce(((e,n)=>{const o=getClientRectFromClippingAncestor(t,n,r);return e.top=max$3(o.top,e.top),e.right=min$3(o.right,e.right),e.bottom=min$3(o.bottom,e.bottom),e.left=max$3(o.left,e.left),e}),getClientRectFromClippingAncestor(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function getDimensions(e){const{width:t,height:n}=getCssDimensions(e);return{width:t,height:n}}function getRectRelativeToOffsetParent(e,t,n){const o=isHTMLElement(t),r=getDocumentElement(t),i="fixed"===n,a=getBoundingClientRect(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=createCoords(0);function c(){s.x=getWindowScrollBarX(r)}if(o||!o&&!i)if(("body"!==getNodeName(t)||isOverflowElement(r))&&(l=getNodeScroll(t)),o){const e=getBoundingClientRect(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else r&&c();i&&!o&&r&&c();const u=!r||o||i?createCoords(0):getHTMLOffset(r,l);return{x:a.left+l.scrollLeft-s.x-u.x,y:a.top+l.scrollTop-s.y-u.y,width:a.width,height:a.height}}function isStaticPositioned(e){return"static"===getComputedStyle$1(e).position}function getTrueOffsetParent(e,t){if(!isHTMLElement(e)||"fixed"===getComputedStyle$1(e).position)return null;if(t)return t(e);let n=e.offsetParent;return getDocumentElement(e)===n&&(n=n.ownerDocument.body),n}function getOffsetParent(e,t){const n=getWindow(e);if(isTopLayer(e))return n;if(!isHTMLElement(e)){let t=getParentNode(e);for(;t&&!isLastTraversableNode(t);){if(isElement(t)&&!isStaticPositioned(t))return t;t=getParentNode(t)}return n}let o=getTrueOffsetParent(e,t);for(;o&&isTableElement(o)&&isStaticPositioned(o);)o=getTrueOffsetParent(o,t);return o&&isLastTraversableNode(o)&&isStaticPositioned(o)&&!isContainingBlock(o)?n:o||getContainingBlock(e)||n}const getElementRects=async function(e){const t=this.getOffsetParent||getOffsetParent,n=this.getDimensions,o=await n(e.floating);return{reference:getRectRelativeToOffsetParent(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function isRTL(e){return"rtl"===getComputedStyle$1(e).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement,getClippingRect:getClippingRect,getOffsetParent:getOffsetParent,getElementRects:getElementRects,getClientRects:getClientRects,getDimensions:getDimensions,getScale:getScale,isElement:isElement,isRTL:isRTL};function rectsAreEqual(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function observeMove(e,t){let n,o=null;const r=getDocumentElement(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(l||t(),!p||!f)return;const h={rootMargin:-floor$1(d)+"px "+-floor$1(r.clientWidth-(u+p))+"px "+-floor$1(r.clientHeight-(d+f))+"px "+-floor$1(u)+"px",threshold:max$3(0,min$3(1,s))||1};let m=!0;function g(t){const o=t[0].intersectionRatio;if(o!==s){if(!m)return a();o?a(!1,o):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==o||rectsAreEqual(c,e.getBoundingClientRect())||a(),m=!1}try{o=new IntersectionObserver(g,{...h,root:r.ownerDocument})}catch(v){o=new IntersectionObserver(g,h)}o.observe(e)}(!0),i}function autoUpdate(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,c=unwrapElement(e),u=r||i?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(t)]:[];u.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&l?observeMove(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),c&&!s&&h.observe(c),h.observe(t));let m=s?getBoundingClientRect(e):null;return s&&function t(){const o=getBoundingClientRect(e);m&&!rectsAreEqual(m,o)&&n();m=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(p)}}const detectOverflow=detectOverflow$1,offset=offset$1,shift=shift$1,flip=flip$1,arrow=arrow$1,computePosition=(e,t,n)=>{const o=new Map,r={platform:platform,...n},i={...r.platform,_c:o};return computePosition$1(e,t,{...r,platform:i})},visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$n=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$t=defineComponent({...__default__$n,props:visualHiddenProps,setup(e){const t=e,n=computed((()=>[t.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]));return(e,t)=>(openBlock(),createElementBlock("span",mergeProps(e.$attrs,{style:unref(n)}),[renderSlot(e.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc(_sfc_main$t,[["__file","visual-hidden.vue"]]);buildProps({});const unrefReference=e=>{if(!isClient)return;if(!e)return e;const t=unrefElement(e);return t||(isRef(e)?t:e)},useFloating$1=({middleware:e,placement:t,strategy:n})=>{const o=ref(),r=ref(),i=ref(),a=ref(),l=ref({}),s={x:i,y:a,placement:t,strategy:n,middlewareData:l},c=async()=>{if(!isClient)return;const i=unrefReference(o),a=unrefElement(r);if(!i||!a)return;const l=await computePosition(i,a,{placement:unref(t),strategy:unref(n),middleware:unref(e)});keysOf(s).forEach((e=>{s[e].value=l[e]}))};return onMounted((()=>{watchEffect((()=>{c()}))})),{...s,update:c,referenceRef:o,contentRef:r}},arrowMiddleware=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const o=unref(e);return o?arrow({element:o,padding:t}).fn(n):{}}}),__default__$m=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$s=defineComponent({...__default__$m,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(e){const t=e,{triggerRef:n,contentId:o}=inject(tooltipV2RootKey),r=ref(t.placement),i=ref(t.strategy),a=ref(null),{referenceRef:l,contentRef:s,middlewareData:c,x:u,y:d,update:p}=useFloating$1({placement:r,strategy:i,middleware:computed((()=>{const e=[offset(t.offset)];return t.showArrow&&e.push(arrowMiddleware({arrowRef:a})),e}))}),f=useZIndex().nextZIndex(),h=useNamespace("tooltip-v2"),m=computed((()=>r.value.split("-")[0])),g=computed((()=>({position:unref(i),top:`${unref(d)||0}px`,left:`${unref(u)||0}px`,zIndex:f}))),v=computed((()=>{if(!t.showArrow)return{};const{arrow:e}=unref(c);return{[`--${h.namespace.value}-tooltip-v2-arrow-x`]:`${null==e?void 0:e.x}px`||"",[`--${h.namespace.value}-tooltip-v2-arrow-y`]:`${null==e?void 0:e.y}px`||""}})),y=computed((()=>[h.e("content"),h.is("dark","dark"===t.effect),h.is(unref(i)),t.contentClass]));return watch(a,(()=>p())),watch((()=>t.placement),(e=>r.value=e)),onMounted((()=>{watch((()=>t.reference||n.value),(e=>{l.value=e||void 0}),{immediate:!0})})),provide(tooltipV2ContentKey,{arrowRef:a}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:s,style:normalizeStyle$1(unref(g)),"data-tooltip-v2-root":""},[e.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(m),class:normalizeClass(unref(y))},[renderSlot(e.$slots,"default",{contentStyle:unref(g),contentClass:unref(y)}),createVNode$1(unref(ElVisuallyHidden),{id:unref(o),role:"tooltip"},{default:withCtx((()=>[e.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(e.ariaLabel),1)],64)):renderSlot(e.$slots,"default",{key:1})])),_:3},8,["id"]),renderSlot(e.$slots,"arrow",{style:normalizeStyle$1(unref(v)),side:unref(m)})],10,["data-side"]))],4))}});var TooltipV2Content=_export_sfc(_sfc_main$s,[["__file","content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup(e,{slots:t}){const n=ref(),o=composeRefs(n,(t=>{t?e.setRef(t.nextElementSibling):e.setRef(null)}));return()=>{var n;const[r]=(null==(n=t.default)?void 0:n.call(t))||[],i=e.onlyChild?ensureOnlyChild(r.children):r.children;return createVNode$1(Fragment,{ref:o},[i])}}});const __default__$l=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$r=defineComponent({...__default__$l,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(e){const t=e,{onClose:n,onOpen:o,onDelayOpen:r,triggerRef:i,contentId:a}=inject(tooltipV2RootKey);let l=!1;const s=e=>{i.value=e},c=()=>{l=!1},u=composeEventHandlers(t.onMouseEnter,r),d=composeEventHandlers(t.onMouseLeave,n),p=composeEventHandlers(t.onMouseDown,(()=>{n(),l=!0,document.addEventListener("mouseup",c,{once:!0})})),f=composeEventHandlers(t.onFocus,(()=>{l||o()})),h=composeEventHandlers(t.onBlur,n),m=composeEventHandlers(t.onClick,(e=>{0===e.detail&&n()})),g={blur:h,click:m,focus:f,mousedown:p,mouseenter:u,mouseleave:d},v=(e,t,n)=>{e&&Object.entries(t).forEach((([t,o])=>{e[n](t,o)}))};return watch(i,((e,t)=>{v(e,g,"addEventListener"),v(t,g,"removeEventListener"),e&&e.setAttribute("aria-describedby",a.value)})),onBeforeUnmount((()=>{v(i.value,g,"removeEventListener"),document.removeEventListener("mouseup",c)})),(e,t)=>e.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":s,"only-child":""},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:i},e.$attrs),[renderSlot(e.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc(_sfc_main$r,[["__file","trigger.vue"]]);const __default__$k=defineComponent({name:"ElTooltipV2"}),_sfc_main$q=defineComponent({...__default__$k,props:tooltipV2Props,setup(e){const t=toRefs(e),n=reactive(pick(t,Object.keys(tooltipV2ArrowProps))),o=reactive(pick(t,Object.keys(tooltipV2ContentProps))),r=reactive(pick(t,Object.keys(tooltipV2RootProps))),i=reactive(pick(t,Object.keys(tooltipV2TriggerProps)));return(e,t)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(r)),{default:withCtx((({open:t})=>[createVNode$1(TooltipV2Trigger,mergeProps(i,{nowrap:""}),{default:withCtx((()=>[renderSlot(e.$slots,"trigger")])),_:3},16),createVNode$1(unref(ElTeleport),{to:e.to,disabled:!e.teleported},{default:withCtx((()=>[e.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},e.transitionProps)),{default:withCtx((()=>[e.alwaysOn||t?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},o)),{arrow:withCtx((({style:t,side:o})=>[e.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},n,{style:t,side:o}),null,16,["style","side"])):createCommentVNode("v-if",!0)])),default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16)):createCommentVNode("v-if",!0)])),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[e.alwaysOn||t?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},o)),{arrow:withCtx((({style:t,side:o})=>[e.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},n,{style:t,side:o}),null,16,["style","side"])):createCommentVNode("v-if",!0)])),default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},16)):createCommentVNode("v-if",!0)],64))])),_:2},1032,["to","disabled"])])),_:3},16))}});var TooltipV2=_export_sfc(_sfc_main$q,[["__file","tooltip.vue"]]);const ElTooltipV2=withInstall(TooltipV2),LEFT_CHECK_CHANGE_EVENT="left-check-change",RIGHT_CHECK_CHANGE_EVENT="right-check-change",transferProps=buildProps({data:{type:definePropType(Array),default:()=>[]},titles:{type:definePropType(Array),default:()=>[]},buttonTexts:{type:definePropType(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:definePropType(Function)},leftDefaultChecked:{type:definePropType(Array),default:()=>[]},rightDefaultChecked:{type:definePropType(Array),default:()=>[]},renderContent:{type:definePropType(Function)},modelValue:{type:definePropType(Array),default:()=>[]},format:{type:definePropType(Object),default:()=>({})},filterable:Boolean,props:{type:definePropType(Object),default:()=>mutable({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),transferCheckedChangeFn=(e,t)=>[e,t].every(isArray$6)||isArray$6(e)&&isNil(t),transferEmits={[CHANGE_EVENT]:(e,t,n)=>[e,n].every(isArray$6)&&["left","right"].includes(t),[UPDATE_MODEL_EVENT]:e=>isArray$6(e),[LEFT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn,[RIGHT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn},CHECKED_CHANGE_EVENT="checked-change",transferPanelProps=buildProps({data:transferProps.data,optionRender:{type:definePropType(Function)},placeholder:String,title:String,filterable:Boolean,format:transferProps.format,filterMethod:transferProps.filterMethod,defaultChecked:transferProps.leftDefaultChecked,props:transferProps.props}),transferPanelEmits={[CHECKED_CHANGE_EVENT]:transferCheckedChangeFn},usePropsAlias=e=>{const t={label:"label",key:"key",disabled:"disabled"};return computed((()=>({...t,...e.props})))},useCheck$1=(e,t,n)=>{const o=usePropsAlias(e),r=computed((()=>e.data.filter((n=>{if(isFunction$5(e.filterMethod))return e.filterMethod(t.query,n);return String(n[o.value.label]||n[o.value.key]).toLowerCase().includes(t.query.toLowerCase())})))),i=computed((()=>r.value.filter((e=>!e[o.value.disabled])))),a=computed((()=>{const n=t.checked.length,o=e.data.length,{noChecked:r,hasChecked:i}=e.format;return r&&i?n>0?i.replace(/\${checked}/g,n.toString()).replace(/\${total}/g,o.toString()):r.replace(/\${total}/g,o.toString()):`${n}/${o}`})),l=computed((()=>{const e=t.checked.length;return e>0&&e<i.value.length})),s=()=>{const e=i.value.map((e=>e[o.value.key]));t.allChecked=e.length>0&&e.every((e=>t.checked.includes(e)))};return watch((()=>t.checked),((e,o)=>{if(s(),t.checkChangeByUser){const t=e.concat(o).filter((t=>!e.includes(t)||!o.includes(t)));n(CHECKED_CHANGE_EVENT,e,t)}else n(CHECKED_CHANGE_EVENT,e),t.checkChangeByUser=!0})),watch(i,(()=>{s()})),watch((()=>e.data),(()=>{const e=[],n=r.value.map((e=>e[o.value.key]));t.checked.forEach((t=>{n.includes(t)&&e.push(t)})),t.checkChangeByUser=!1,t.checked=e})),watch((()=>e.defaultChecked),((e,n)=>{if(n&&e.length===n.length&&e.every((e=>n.includes(e))))return;const r=[],a=i.value.map((e=>e[o.value.key]));e.forEach((e=>{a.includes(e)&&r.push(e)})),t.checkChangeByUser=!1,t.checked=r}),{immediate:!0}),{filteredData:r,checkableData:i,checkedSummary:a,isIndeterminate:l,updateAllChecked:s,handleAllCheckedChange:e=>{t.checked=e?i.value.map((e=>e[o.value.key])):[]}}},__default__$j=defineComponent({name:"ElTransferPanel"}),_sfc_main$p=defineComponent({...__default__$j,props:transferPanelProps,emits:transferPanelEmits,setup(e,{expose:t,emit:n}){const o=e,r=useSlots(),i=({option:e})=>e,{t:a}=useLocale(),l=useNamespace("transfer"),s=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),c=usePropsAlias(o),{filteredData:u,checkedSummary:d,isIndeterminate:p,handleAllCheckedChange:f}=useCheck$1(o,s,n),h=computed((()=>!isEmpty(s.query)&&isEmpty(u.value))),m=computed((()=>!isEmpty(r.default()[0].children))),{checked:g,allChecked:v,query:y}=toRefs(s);return t({query:y}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(l).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(l).be("panel","header"))},[createVNode$1(unref(ElCheckbox),{modelValue:unref(v),"onUpdate:modelValue":e=>isRef(v)?v.value=e:null,indeterminate:unref(p),"validate-event":!1,onChange:unref(f)},{default:withCtx((()=>[createTextVNode(toDisplayString(e.title)+" ",1),createBaseVNode("span",null,toDisplayString(unref(d)),1)])),_:1},8,["modelValue","onUpdate:modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(l).be("panel","body"),unref(l).is("with-footer",unref(m))])},[e.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(y),"onUpdate:modelValue":e=>isRef(y)?y.value=e:null,class:normalizeClass(unref(l).be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","onUpdate:modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElCheckboxGroup$1),{modelValue:unref(g),"onUpdate:modelValue":e=>isRef(g)?g.value=e:null,"validate-event":!1,class:normalizeClass([unref(l).is("filterable",e.filterable),unref(l).be("panel","list")])},{default:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(u),(t=>(openBlock(),createBlock(unref(ElCheckbox),{key:t[unref(c).key],class:normalizeClass(unref(l).be("panel","item")),value:t[unref(c).key],disabled:t[unref(c).disabled],"validate-event":!1},{default:withCtx((()=>{var n;return[createVNode$1(i,{option:null==(n=e.optionRender)?void 0:n.call(e,t)},null,8,["option"])]})),_:2},1032,["class","value","disabled"])))),128))])),_:1},8,["modelValue","onUpdate:modelValue","class"]),[[vShow,!unref(h)&&!unref(isEmpty)(e.data)]]),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(l).be("panel","empty"))},[renderSlot(e.$slots,"empty",{},(()=>[createTextVNode(toDisplayString(unref(h)?unref(a)("el.transfer.noMatch"):unref(a)("el.transfer.noData")),1)]))],2),[[vShow,unref(h)||unref(isEmpty)(e.data)]])],2),unref(m)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(l).be("panel","footer"))},[renderSlot(e.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc(_sfc_main$p,[["__file","transfer-panel.vue"]]);const useComputedData=e=>{const t=usePropsAlias(e),n=computed((()=>e.data.reduce(((e,n)=>(e[n[t.value.key]]=n)&&e),{})));return{sourceData:computed((()=>e.data.filter((n=>!e.modelValue.includes(n[t.value.key]))))),targetData:computed((()=>"original"===e.targetOrder?e.data.filter((n=>e.modelValue.includes(n[t.value.key]))):e.modelValue.reduce(((e,t)=>{const o=n.value[t];return o&&e.push(o),e}),[])))}},useMove=(e,t,n)=>{const o=usePropsAlias(e),r=(e,t,o)=>{n(UPDATE_MODEL_EVENT,e),n(CHANGE_EVENT,e,t,o)};return{addToLeft:()=>{const n=e.modelValue.slice();t.rightChecked.forEach((e=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)})),r(n,"left",t.rightChecked)},addToRight:()=>{let n=e.modelValue.slice();const i=e.data.filter((n=>{const r=n[o.value.key];return t.leftChecked.includes(r)&&!e.modelValue.includes(r)})).map((e=>e[o.value.key]));n="unshift"===e.targetOrder?i.concat(n):n.concat(i),"original"===e.targetOrder&&(n=e.data.filter((e=>n.includes(e[o.value.key]))).map((e=>e[o.value.key]))),r(n,"right",t.leftChecked)}}},useCheckedChange=(e,t)=>({onSourceCheckedChange:(n,o)=>{e.leftChecked=n,o&&t(LEFT_CHECK_CHANGE_EVENT,n,o)},onTargetCheckedChange:(n,o)=>{e.rightChecked=n,o&&t(RIGHT_CHECK_CHANGE_EVENT,n,o)}}),__default__$i=defineComponent({name:"ElTransfer"}),_sfc_main$o=defineComponent({...__default__$i,props:transferProps,emits:transferEmits,setup(e,{expose:t,emit:n}){const o=e,r=useSlots(),{t:i}=useLocale(),a=useNamespace("transfer"),{formItem:l}=useFormItem(),s=reactive({leftChecked:[],rightChecked:[]}),c=usePropsAlias(o),{sourceData:u,targetData:d}=useComputedData(o),{onSourceCheckedChange:p,onTargetCheckedChange:f}=useCheckedChange(s,n),{addToLeft:h,addToRight:m}=useMove(o,s,n),g=ref(),v=ref(),y=computed((()=>2===o.buttonTexts.length)),b=computed((()=>o.titles[0]||i("el.transfer.titles.0"))),_=computed((()=>o.titles[1]||i("el.transfer.titles.1"))),w=computed((()=>o.filterPlaceholder||i("el.transfer.filterPlaceholder")));watch((()=>o.modelValue),(()=>{var e;o.validateEvent&&(null==(e=null==l?void 0:l.validate)||e.call(l,"change").catch((e=>debugWarn())))}));const k=computed((()=>e=>{var t;if(o.renderContent)return o.renderContent(h$5,e);const n=((null==(t=r.default)?void 0:t.call(r,{option:e}))||[]).filter((e=>e.type!==Comment$1));return n.length?n:h$5("span",e[c.value.label]||e[c.value.key])}));return t({clearQuery:e=>{switch(e){case"left":g.value.query="";break;case"right":v.value.query=""}},leftPanel:g,rightPanel:v}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(a).b())},[createVNode$1(TransferPanel,{ref_key:"leftPanel",ref:g,data:unref(u),"option-render":unref(k),placeholder:unref(w),title:unref(b),filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:o.props,onCheckedChange:unref(p)},{empty:withCtx((()=>[renderSlot(e.$slots,"left-empty")])),default:withCtx((()=>[renderSlot(e.$slots,"left-footer")])),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(a).e("buttons"))},[createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(a).e("button"),unref(a).is("with-texts",unref(y))]),disabled:unref(isEmpty)(s.rightChecked),onClick:unref(h)},{default:withCtx((()=>[createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_left_default))])),_:1}),unref(isUndefined)(e.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0},toDisplayString(e.buttonTexts[0]),1))])),_:1},8,["class","disabled","onClick"]),createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(a).e("button"),unref(a).is("with-texts",unref(y))]),disabled:unref(isEmpty)(s.leftChecked),onClick:unref(m)},{default:withCtx((()=>[unref(isUndefined)(e.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0},toDisplayString(e.buttonTexts[1]),1)),createVNode$1(unref(ElIcon),null,{default:withCtx((()=>[createVNode$1(unref(arrow_right_default))])),_:1})])),_:1},8,["class","disabled","onClick"])],2),createVNode$1(TransferPanel,{ref_key:"rightPanel",ref:v,data:unref(d),"option-render":unref(k),placeholder:unref(w),filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:unref(_),"default-checked":e.rightDefaultChecked,props:o.props,onCheckedChange:unref(f)},{empty:withCtx((()=>[renderSlot(e.$slots,"right-empty")])),default:withCtx((()=>[renderSlot(e.$slots,"right-footer")])),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc(_sfc_main$o,[["__file","transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(e,t){t&&!t[NODE_KEY]&&Object.defineProperty(t,NODE_KEY,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=(e,t)=>null==t?void 0:t[e||NODE_KEY],handleCurrentChange=(e,t,n)=>{const o=e.value.currentNode;n();const r=e.value.currentNode;o!==r&&t("current-change",r?r.data:null,r)},getChildState=e=>{let t=!0,n=!0,o=!0;for(let r=0,i=e.length;r<i;r++){const i=e[r];(!0!==i.checked||i.indeterminate)&&(t=!1,i.disabled||(o=!1)),(!1!==i.checked||i.indeterminate)&&(n=!1)}return{all:t,none:n,allWithoutDisable:o,half:!t&&!n}},reInitChecked=function(e){if(0===e.childNodes.length||e.loading)return;const{all:t,none:n,half:o}=getChildState(e.childNodes);t?(e.checked=!0,e.indeterminate=!1):o?(e.checked=!1,e.indeterminate=!0):n&&(e.checked=!1,e.indeterminate=!1);const r=e.parent;r&&0!==r.level&&(e.store.checkStrictly||reInitChecked(r))},getPropertyFromData=function(e,t){const n=e.store.props,o=e.data||{},r=n[t];if(isFunction$5(r))return r(o,e);if(isString$4(r))return o[r];if(isUndefined(r)){const e=o[t];return isUndefined(e)?"":e}};let nodeIdSeed=0,Node$1=class e{constructor(e){this.id=nodeIdSeed++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const t in e)hasOwn$1(e,t)&&(this[t]=e[t]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const e=this.store;if(!e)throw new Error("[Node]store is required!");e.registerNode(this);const t=e.props;if(t&&void 0!==t.isLeaf){const e=getPropertyFromData(this,"isLeaf");isBoolean(e)&&(this.isLeafByUser=e)}if(!0!==e.lazy&&this.data?(this.setData(this.data),e.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&e.lazy&&e.defaultExpandAll&&!this.isLeafByUser&&this.expand(),isArray$6(this.data)||markNodeData(this,this.data),!this.data)return;const n=e.defaultExpandedKeys,o=e.key;o&&n&&n.includes(this.key)&&this.expand(null,e.autoExpandParent),o&&void 0!==e.currentNodeKey&&this.key===e.currentNodeKey&&(e.currentNode=this,e.currentNode.isCurrent=!0),e.lazy&&e._initDefaultCheckedNode(this),this.updateLeafState(),!this.parent||1!==this.level&&!0!==this.parent.expanded||(this.canFocus=!0)}setData(e){let t;isArray$6(e)||markNodeData(this,e),this.data=e,this.childNodes=[],t=0===this.level&&isArray$6(this.data)?this.data:getPropertyFromData(this,"children")||[];for(let n=0,o=t.length;n<o;n++)this.insertChild({data:t[n]})}get label(){return getPropertyFromData(this,"label")}get key(){const e=this.store.key;return this.data?this.data[e]:null}get disabled(){return getPropertyFromData(this,"disabled")}get nextSibling(){const e=this.parent;if(e){const t=e.childNodes.indexOf(this);if(t>-1)return e.childNodes[t+1]}return null}get previousSibling(){const e=this.parent;if(e){const t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}contains(e,t=!0){return(this.childNodes||[]).some((n=>n===e||t&&n.contains(e)))}remove(){const e=this.parent;e&&e.removeChild(this)}insertChild(t,n,o){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof e)){if(!o){const e=this.getChildren(!0);e.includes(t.data)||(isUndefined(n)||n<0?e.push(t.data):e.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),(t=reactive(new e(t)))instanceof e&&t.initialize()}t.level=this.level+1,isUndefined(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(e,t){let n;t&&(n=this.childNodes.indexOf(t)),this.insertChild(e,n)}insertAfter(e,t){let n;t&&(n=this.childNodes.indexOf(t),-1!==n&&(n+=1)),this.insertChild(e,n)}removeChild(e){const t=this.getChildren()||[],n=t.indexOf(e.data);n>-1&&t.splice(n,1);const o=this.childNodes.indexOf(e);o>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(o,1)),this.updateLeafState()}removeChildByData(e){let t=null;for(let n=0;n<this.childNodes.length;n++)if(this.childNodes[n].data===e){t=this.childNodes[n];break}t&&this.removeChild(t)}expand(e,t){const n=()=>{if(t){let e=this.parent;for(;e.level>0;)e.expanded=!0,e=e.parent}this.expanded=!0,e&&e(),this.childNodes.forEach((e=>{e.canFocus=!0}))};this.shouldLoadData()?this.loadData((e=>{isArray$6(e)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),n())})):n()}doCreateChildren(e,t={}){e.forEach((e=>{this.insertChild(Object.assign({data:e},t),void 0,!0)}))}collapse(){this.expanded=!1,this.childNodes.forEach((e=>{e.canFocus=!1}))}shouldLoadData(){return!0===this.store.lazy&&this.store.load&&!this.loaded}updateLeafState(){if(!0===this.store.lazy&&!0!==this.loaded&&void 0!==this.isLeafByUser)return void(this.isLeaf=this.isLeafByUser);const e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}setChecked(e,t,n,o){if(this.indeterminate="half"===e,this.checked=!0===e,this.store.checkStrictly)return;if(!this.shouldLoadData()||this.store.checkDescendants){const{all:n,allWithoutDisable:r}=getChildState(this.childNodes);this.isLeaf||n||!r||(this.checked=!1,e=!1);const i=()=>{if(t){const n=this.childNodes;for(let a=0,l=n.length;a<l;a++){const r=n[a];o=o||!1!==e;const i=r.disabled?r.checked:o;r.setChecked(i,t,!0,o)}const{half:r,all:i}=getChildState(n);i||(this.checked=i,this.indeterminate=r)}};if(this.shouldLoadData())return void this.loadData((()=>{i(),reInitChecked(this)}),{checked:!1!==e});i()}const r=this.parent;r&&0!==r.level&&(n||reInitChecked(r))}getChildren(e=!1){if(0===this.level)return this.data;const t=this.data;if(!t)return null;const n=this.store.props;let o="children";return n&&(o=n.children||"children"),isUndefined(t[o])&&(t[o]=null),e&&!t[o]&&(t[o]=[]),t[o]}updateChildren(){const e=this.getChildren()||[],t=this.childNodes.map((e=>e.data)),n={},o=[];e.forEach(((e,r)=>{const i=e[NODE_KEY];!!i&&t.findIndex((e=>e[NODE_KEY]===i))>=0?n[i]={index:r,data:e}:o.push({index:r,data:e})})),this.store.lazy||t.forEach((e=>{n[e[NODE_KEY]]||this.removeChildByData(e)})),o.forEach((({index:e,data:t})=>{this.insertChild({data:t},e)})),this.updateLeafState()}loadData(e,t={}){if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(t).length)e&&e.call(this);else{this.loading=!0;const n=n=>{this.childNodes=[],this.doCreateChildren(n,t),this.loaded=!0,this.loading=!1,this.updateLeafState(),e&&e.call(this,n)},o=()=>{this.loading=!1};this.store.load(this,n,o)}}eachNode(e){const t=[this];for(;t.length;){const n=t.shift();t.unshift(...n.childNodes),e(n)}}reInitChecked(){this.store.checkStrictly||reInitChecked(this)}};class TreeStore{constructor(e){this.currentNode=null,this.currentNodeKey=null;for(const t in e)hasOwn$1(e,t)&&(this[t]=e[t]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){(0,this.load)(this.root,(e=>{this.root.doCreateChildren(e),this._initDefaultCheckedNodes()}))}else this._initDefaultCheckedNodes()}filter(e){const t=this.filterNodeMethod,n=this.lazy,o=async function(r){const i=r.root?r.root.childNodes:r.childNodes;for(const[n,a]of i.entries())a.visible=t.call(a,e,a.data,a),n%80==0&&n>0&&await nextTick(),await o(a);if(!r.visible&&i.length){let e=!0;e=!i.some((e=>e.visible)),r.root?r.root.visible=!1===e:r.visible=!1===e}e&&r.visible&&!r.isLeaf&&(n&&!r.loaded||r.expand())};o(this)}setData(e){e!==this.root.data?(this.nodesMap={},this.root.setData(e),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(e){if(e instanceof Node$1)return e;const t=isObject$8(e)?getNodeKey(this.key,e):e;return this.nodesMap[t]||null}insertBefore(e,t){const n=this.getNode(t);n.parent.insertBefore({data:e},n)}insertAfter(e,t){const n=this.getNode(t);n.parent.insertAfter({data:e},n)}remove(e){const t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}append(e,t){const n=isPropAbsent(t)?this.root:this.getNode(t);n&&n.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;e.forEach((e=>{const n=t[e];n&&n.setChecked(!0,!this.checkStrictly)}))}_initDefaultCheckedNode(e){(this.defaultCheckedKeys||[]).includes(e.key)&&e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){const t=this.key;if(e&&e.data)if(t){void 0!==e.key&&(this.nodesMap[e.key]=e)}else this.nodesMap[e.id]=e}deregisterNode(e){this.key&&e&&e.data&&(e.childNodes.forEach((e=>{this.deregisterNode(e)})),delete this.nodesMap[e.key])}getCheckedNodes(e=!1,t=!1){const n=[],o=function(r){(r.root?r.root.childNodes:r.childNodes).forEach((r=>{(r.checked||t&&r.indeterminate)&&(!e||e&&r.isLeaf)&&n.push(r.data),o(r)}))};return o(this),n}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map((e=>(e||{})[this.key]))}getHalfCheckedNodes(){const e=[],t=function(n){(n.root?n.root.childNodes:n.childNodes).forEach((n=>{n.indeterminate&&e.push(n.data),t(n)}))};return t(this),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map((e=>(e||{})[this.key]))}_getAllNodes(){const e=[],t=this.nodesMap;for(const n in t)hasOwn$1(t,n)&&e.push(t[n]);return e}updateChildren(e,t){const n=this.nodesMap[e];if(!n)return;const o=n.childNodes;for(let r=o.length-1;r>=0;r--){const e=o[r];this.remove(e.data)}for(let r=0,i=t.length;r<i;r++){const e=t[r];this.append(e,n.data)}}_setCheckedKeys(e,t=!1,n){const o=this._getAllNodes().sort(((e,t)=>e.level-t.level)),r=Object.create(null),i=Object.keys(n);o.forEach((e=>e.setChecked(!1,!1)));const a=t=>{t.childNodes.forEach((t=>{var n;r[t.data[e]]=!0,(null==(n=t.childNodes)?void 0:n.length)&&a(t)}))};for(let l=0,s=o.length;l<s;l++){const n=o[l],s=n.data[e].toString();if(i.includes(s)){if(n.childNodes.length&&a(n),n.isLeaf||this.checkStrictly)n.setChecked(!0,!1);else if(n.setChecked(!0,!0),t){n.setChecked(!1,!1);const e=function(t){t.childNodes.forEach((t=>{t.isLeaf||t.setChecked(!1,!1),e(t)}))};e(n)}}else n.checked&&!r[s]&&n.setChecked(!1,!1)}}setCheckedNodes(e,t=!1){const n=this.key,o={};e.forEach((e=>{o[(e||{})[n]]=!0})),this._setCheckedKeys(n,t,o)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const n=this.key,o={};e.forEach((e=>{o[e]=!0})),this._setCheckedKeys(n,t,o)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach((e=>{const t=this.getNode(e);t&&t.expand(null,this.autoExpandParent)}))}setChecked(e,t,n){const o=this.getNode(e);o&&o.setChecked(!!t,n)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}setUserCurrentNode(e,t=!0){const n=e[this.key],o=this.nodesMap[n];this.setCurrentNode(o),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(e,t=!0){if(this.currentNodeKey=e,isPropAbsent(e))return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);const n=this.getNode(e);n&&(this.setCurrentNode(n),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$n=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=useNamespace("tree"),n=inject("NodeInstance"),o=inject("RootTree");return()=>{const r=e.node,{data:i,store:a}=r;return e.renderContent?e.renderContent(h$5,{_self:n,node:r,data:i,store:a}):renderSlot(o.ctx.slots,"default",{node:r,data:i},(()=>[h$5(ElText,{tag:"span",truncated:!0,class:t.be("node","label")},(()=>[r.label]))]))}}});var NodeContent=_export_sfc(_sfc_main$n,[["__file","tree-node-content.vue"]]);function useNodeExpandEventBroadcast(e){const t=inject("TreeNodeMap",null),n={treeNodeExpand:t=>{e.node!==t&&e.node.collapse()},children:[]};return t&&t.children.push(n),provide("TreeNodeMap",n),{broadcastExpanded:t=>{if(e.accordion)for(const e of n.children)e.treeNodeExpand(t)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:e,ctx:t,el$:n,dropIndicator$:o,store:r}){const i=useNamespace("tree"),a=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:n,treeNode:o})=>{if(isFunction$5(e.allowDrag)&&!e.allowDrag(o.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(e2){}a.value.draggingNode=o,t.emit("node-drag-start",o.node,n)},treeNodeDragOver:({event:r,treeNode:l})=>{const s=l,c=a.value.dropNode;c&&c.node.id!==s.node.id&&removeClass(c.$el,i.is("drop-inner"));const u=a.value.draggingNode;if(!u||!s)return;let d=!0,p=!0,f=!0,h=!0;isFunction$5(e.allowDrop)&&(d=e.allowDrop(u.node,s.node,"prev"),h=p=e.allowDrop(u.node,s.node,"inner"),f=e.allowDrop(u.node,s.node,"next")),r.dataTransfer.dropEffect=p||d||f?"move":"none",(d||p||f)&&(null==c?void 0:c.node.id)!==s.node.id&&(c&&t.emit("node-drag-leave",u.node,c.node,r),t.emit("node-drag-enter",u.node,s.node,r)),a.value.dropNode=d||p||f?s:null,s.node.nextSibling===u.node&&(f=!1),s.node.previousSibling===u.node&&(d=!1),s.node.contains(u.node,!1)&&(p=!1),(u.node===s.node||u.node.contains(s.node))&&(d=!1,p=!1,f=!1);const m=s.$el.querySelector(`.${i.be("node","content")}`).getBoundingClientRect(),g=n.value.getBoundingClientRect();let v;const y=d?p?.25:f?.45:1:-1,b=f?p?.75:d?.55:0:1;let _=-9999;const w=r.clientY-m.top;v=w<m.height*y?"before":w>m.height*b?"after":p?"inner":"none";const k=s.$el.querySelector(`.${i.be("node","expand-icon")}`).getBoundingClientRect(),x=o.value;"before"===v?_=k.top-g.top:"after"===v&&(_=k.bottom-g.top),x.style.top=`${_}px`,x.style.left=k.right-g.left+"px","inner"===v?addClass(s.$el,i.is("drop-inner")):removeClass(s.$el,i.is("drop-inner")),a.value.showDropIndicator="before"===v||"after"===v,a.value.allowDrop=a.value.showDropIndicator||h,a.value.dropType=v,t.emit("node-drag-over",u.node,s.node,r)},treeNodeDragEnd:e=>{const{draggingNode:n,dropType:o,dropNode:l}=a.value;if(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="move"),n&&l){const a={data:n.node.data};"none"!==o&&n.node.remove(),"before"===o?l.node.parent.insertBefore(a,l.node):"after"===o?l.node.parent.insertAfter(a,l.node):"inner"===o&&l.node.insertChild(a),"none"!==o&&(r.value.registerNode(a),r.value.key&&n.node.eachNode((e=>{var t;null==(t=r.value.nodesMap[e.data[r.value.key]])||t.setChecked(e.checked,!r.value.checkStrictly)}))),removeClass(l.$el,i.is("drop-inner")),t.emit("node-drag-end",n.node,l.node,o,e),"none"!==o&&t.emit("node-drop",n.node,l.node,o,e)}n&&!l&&t.emit("node-drag-end",n.node,null,o,e),a.value.showDropIndicator=!1,a.value.draggingNode=null,a.value.dropNode=null,a.value.allowDrop=!0}}),{dragState:a}}const _sfc_main$m=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:ElCollapseTransition,ElCheckbox:ElCheckbox,NodeContent:NodeContent,ElIcon:ElIcon,Loading:loading_default},props:{node:{type:Node$1,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const n=useNamespace("tree"),{broadcastExpanded:o}=useNodeExpandEventBroadcast(e),r=inject("RootTree"),i=ref(!1),a=ref(!1),l=ref(),s=ref(),c=ref(),u=inject(dragEventsKey),d=getCurrentInstance();provide("NodeInstance",d),e.node.expanded&&(i.value=!0,a.value=!0);const p=r.props.props.children||"children";watch((()=>{var t;const n=null==(t=e.node.data)?void 0:t[p];return n&&[...n]}),(()=>{e.node.updateChildren()})),watch((()=>e.node.indeterminate),(t=>{h(e.node.checked,t)})),watch((()=>e.node.checked),(t=>{h(t,e.node.indeterminate)})),watch((()=>e.node.childNodes.length),(()=>e.node.reInitChecked())),watch((()=>e.node.expanded),(e=>{nextTick((()=>i.value=e)),e&&(a.value=!0)}));const f=e=>getNodeKey(r.props.nodeKey,e.data),h=(t,n)=>{l.value===t&&s.value===n||r.ctx.emit("check-change",e.node.data,t,n),l.value=t,s.value=n},m=()=>{e.node.isLeaf||(i.value?(r.ctx.emit("node-collapse",e.node.data,e.node,d),e.node.collapse()):e.node.expand((()=>{t.emit("node-expand",e.node.data,e.node,d)})))},g=t=>{e.node.setChecked(t,!(null==r?void 0:r.props.checkStrictly)),nextTick((()=>{const t=r.store.value;r.ctx.emit("check",e.node.data,{checkedNodes:t.getCheckedNodes(),checkedKeys:t.getCheckedKeys(),halfCheckedNodes:t.getHalfCheckedNodes(),halfCheckedKeys:t.getHalfCheckedKeys()})}))};return{ns:n,node$:c,tree:r,expanded:i,childNodeRendered:a,oldChecked:l,oldIndeterminate:s,getNodeKey:f,getNodeClass:t=>{const n=e.props.class;if(!n)return{};let o;if(isFunction$5(n)){const{data:e}=t;o=n(e,t)}else o=n;return isString$4(o)?{[o]:!0}:o},handleSelectChange:h,handleClick:t=>{handleCurrentChange(r.store,r.ctx.emit,(()=>{var t;if(null==(t=null==r?void 0:r.props)?void 0:t.nodeKey){const t=f(e.node);r.store.value.setCurrentNodeKey(t)}else r.store.value.setCurrentNode(e.node)})),r.currentNode.value=e.node,r.props.expandOnClickNode&&m(),(r.props.checkOnClickNode||e.node.isLeaf&&r.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&g(!e.node.checked),r.ctx.emit("node-click",e.node.data,e.node,d,t)},handleContextMenu:t=>{var n;(null==(n=r.instance.vnode.props)?void 0:n.onNodeContextmenu)&&(t.stopPropagation(),t.preventDefault()),r.ctx.emit("node-contextmenu",t,e.node.data,e.node,d)},handleExpandIconClick:m,handleCheckChange:g,handleChildNodeExpand:(e,t,n)=>{o(t),r.ctx.emit("node-expand",e,t,n)},handleDragStart:t=>{r.props.draggable&&u.treeNodeDragStart({event:t,treeNode:e})},handleDragOver:t=>{t.preventDefault(),r.props.draggable&&u.treeNodeDragOver({event:t,treeNode:{$el:c.value,node:e.node}})},handleDrop:e=>{e.preventDefault()},handleDragEnd:e=>{r.props.draggable&&u.treeNodeDragEnd(e)},CaretRight:caret_right_default}}});function _sfc_render$2(e,t,n,o,r,i){const a=resolveComponent("el-icon"),l=resolveComponent("el-checkbox"),s=resolveComponent("loading"),c=resolveComponent("node-content"),u=resolveComponent("el-tree-node"),d=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:withModifiers(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:withModifiers(e.handleDragStart,["stop"]),onDragover:withModifiers(e.handleDragOver,["stop"]),onDragend:withModifiers(e.handleDragEnd,["stop"]),onDrop:withModifiers(e.handleDrop,["stop"])},[createBaseVNode("div",{class:normalizeClass(e.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(openBlock(),createBlock(a,{key:0,class:normalizeClass([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:withModifiers(e.handleExpandIconClick,["stop"])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.tree.props.icon||e.CaretRight)))])),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),e.showCheckbox?(openBlock(),createBlock(l,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:withModifiers((()=>{}),["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):createCommentVNode("v-if",!0),e.node.loading?(openBlock(),createBlock(a,{key:2,class:normalizeClass([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:withCtx((()=>[createVNode$1(s)])),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),createVNode$1(d,null,{default:withCtx((()=>[!e.renderAfterExpand||e.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:withModifiers((()=>{}),["stop"])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.node.childNodes,(t=>(openBlock(),createBlock(u,{key:e.getNodeKey(t),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:t,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"])))),128))],10,["aria-expanded","onClick"])),[[vShow,e.expanded]]):createCommentVNode("v-if",!0)])),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[vShow,e.node.visible]])}var ElTreeNode$1=_export_sfc(_sfc_main$m,[["render",_sfc_render$2],["__file","tree-node.vue"]]);function useKeydown({el$:e},t){const n=useNamespace("tree");onMounted((()=>{o()})),onUpdated((()=>{Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach((e=>{e.setAttribute("tabindex","-1")}))}));useEventListener(e,"keydown",(o=>{const r=o.target;if(!r.className.includes(n.b("node")))return;const i=o.code,a=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),l=a.indexOf(r);let s;if([EVENT_CODE.up,EVENT_CODE.down].includes(i)){if(o.preventDefault(),i===EVENT_CODE.up){s=-1===l?0:0!==l?l-1:a.length-1;const e=s;for(;!t.value.getNode(a[s].dataset.key).canFocus;){if(s--,s===e){s=-1;break}s<0&&(s=a.length-1)}}else{s=-1===l?0:l<a.length-1?l+1:0;const e=s;for(;!t.value.getNode(a[s].dataset.key).canFocus;){if(s++,s===e){s=-1;break}s>=a.length&&(s=0)}}-1!==s&&a[s].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(i)&&(o.preventDefault(),r.click());const c=r.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.numpadEnter,EVENT_CODE.space].includes(i)&&c&&(o.preventDefault(),c.click())}));const o=()=>{var t;const o=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach((e=>{e.setAttribute("tabindex","-1")}));const r=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);r.length?r[0].setAttribute("tabindex","0"):null==(t=o[0])||t.setAttribute("tabindex","0")}}const _sfc_main$l=defineComponent({name:"ElTree",components:{ElTreeNode:ElTreeNode$1},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},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:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:iconPropType}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=useLocale(),o=useNamespace("tree"),r=inject(selectKey,null),i=ref(new TreeStore({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));i.value.initialize();const a=ref(i.value.root),l=ref(null),s=ref(null),c=ref(null),{broadcastExpanded:u}=useNodeExpandEventBroadcast(e),{dragState:d}=useDragNodeHandler({props:e,ctx:t,el$:s,dropIndicator$:c,store:i});useKeydown({el$:s},i);const p=computed((()=>{const{childNodes:e}=a.value,t=!!r&&0!==r.hasFilteredOptions;return(!e||0===e.length||e.every((({visible:e})=>!e)))&&!t}));watch((()=>e.currentNodeKey),(e=>{i.value.setCurrentNodeKey(e)})),watch((()=>e.defaultCheckedKeys),(e=>{i.value.setDefaultCheckedKey(e)})),watch((()=>e.defaultExpandedKeys),(e=>{i.value.setDefaultExpandedKeys(e)})),watch((()=>e.data),(e=>{i.value.setData(e)}),{deep:!0}),watch((()=>e.checkStrictly),(e=>{i.value.checkStrictly=e}));const f=()=>{const e=i.value.getCurrentNode();return e?e.data:null};return provide("RootTree",{ctx:t,props:e,store:i,root:a,currentNode:l,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:o,store:i,root:a,currentNode:l,dragState:d,el$:s,dropIndicator$:c,isEmpty:p,filter:t=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");i.value.filter(t)},getNodeKey:t=>getNodeKey(e.nodeKey,t.data),getNodePath:t=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const n=i.value.getNode(t);if(!n)return[];const o=[n.data];let r=n.parent;for(;r&&r!==a.value;)o.push(r.data),r=r.parent;return o.reverse()},getCheckedNodes:(e,t)=>i.value.getCheckedNodes(e,t),getCheckedKeys:e=>i.value.getCheckedKeys(e),getCurrentNode:f,getCurrentKey:()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const t=f();return t?t[e.nodeKey]:null},setCheckedNodes:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");i.value.setCheckedNodes(t,n)},setCheckedKeys:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");i.value.setCheckedKeys(t,n)},setChecked:(e,t,n)=>{i.value.setChecked(e,t,n)},getHalfCheckedNodes:()=>i.value.getHalfCheckedNodes(),getHalfCheckedKeys:()=>i.value.getHalfCheckedKeys(),setCurrentNode:(n,o=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(i,t.emit,(()=>{u(n),i.value.setUserCurrentNode(n,o)}))},setCurrentKey:(n,o=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(i,t.emit,(()=>{u(),i.value.setCurrentNodeKey(n,o)}))},t:n,getNode:e=>i.value.getNode(e),remove:e=>{i.value.remove(e)},append:(e,t)=>{i.value.append(e,t)},insertBefore:(e,t)=>{i.value.insertBefore(e,t)},insertAfter:(e,t)=>{i.value.insertAfter(e,t)},handleNodeExpand:(e,n,o)=>{u(n),t.emit("node-expand",e,n,o)},updateKeyChildren:(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");i.value.updateChildren(t,n)}}}});function _sfc_render$1(e,t,n,o,r,i){const a=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner","inner"===e.dragState.dropType),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.root.childNodes,(t=>(openBlock(),createBlock(a,{key:e.getNodeKey(t),node:t,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"])))),128)),e.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(e.ns.e("empty-block"))},[renderSlot(e.$slots,"empty",{},(()=>{var t;return[createBaseVNode("span",{class:normalizeClass(e.ns.e("empty-text"))},toDisplayString(null!=(t=e.emptyText)?t:e.t("el.tree.emptyText")),3)]}))],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(e.ns.e("drop-indicator"))},null,2),[[vShow,e.dragState.showDropIndicator]])],2)}var Tree=_export_sfc(_sfc_main$l,[["render",_sfc_render$1],["__file","tree.vue"]]);const ElTree=withInstall(Tree),useSelect=(e,{attrs:t,emit:n},{select:o,tree:r,key:i})=>{const a=useNamespace("tree-select");watch((()=>e.data),(()=>{e.filterable&&nextTick((()=>{var e,t;null==(t=r.value)||t.filter(null==(e=o.value)?void 0:e.states.inputValue)}))}),{flush:"post"});return{...pick(toRefs(e),Object.keys(ElSelect.props)),...t,class:computed((()=>t.class)),style:computed((()=>t.style)),"onUpdate:modelValue":e=>n(UPDATE_MODEL_EVENT,e),valueKey:i,popperClass:computed((()=>{const t=[a.e("popper")];return e.popperClass&&t.push(e.popperClass),t.join(" ")})),filterMethod:(t="")=>{var n;e.filterMethod?e.filterMethod(t):e.remoteMethod?e.remoteMethod(t):null==(n=r.value)||n.filter(t)}}},component=defineComponent({extends:ElOption,setup(e,t){const n=ElOption.setup(e,t);delete n.selectOptionClick;const o=getCurrentInstance().proxy;return nextTick((()=>{n.select.states.cachedOptions.get(o.value)||n.select.onOptionCreate(o)})),watch((()=>t.attrs.visible),(e=>{nextTick((()=>{n.states.visible=e}))}),{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(e){return e||0===e}function isValidArray(e){return isArray$6(e)&&e.length}function toValidArray(e){return isArray$6(e)?e:isValidValue(e)?[e]:[]}function treeFind(e,t,n,o,r){for(let i=0;i<e.length;i++){const a=e[i];if(t(a,i,e,r))return o?o(a,i,e,r):a;{const e=n(a);if(isValidArray(e)){const r=treeFind(e,t,n,o,a);if(r)return r}}}}function treeEach(e,t,n,o){for(let r=0;r<e.length;r++){const i=e[r];t(i,r,e,o);const a=n(i);isValidArray(a)&&treeEach(a,t,n,i)}}const useTree$1=(e,{attrs:t,slots:n,emit:o},{select:r,tree:i,key:a})=>{watch((()=>e.modelValue),(()=>{e.showCheckbox&&nextTick((()=>{const t=i.value;t&&!isEqual$1(t.getCheckedKeys(),toValidArray(e.modelValue))&&t.setCheckedKeys(toValidArray(e.modelValue))}))}),{immediate:!0,deep:!0});const l=computed((()=>({value:a.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props}))),s=(e,t)=>{var n;const o=l.value[e];return isFunction$5(o)?o(t,null==(n=i.value)?void 0:n.getNode(s("value",t))):t[o]},c=toValidArray(e.modelValue).map((t=>treeFind(e.data||[],(e=>s("value",e)===t),(e=>s("children",e)),((e,t,n,o)=>o&&s("value",o))))).filter((e=>isValidValue(e))),u=computed((()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const t=[];return treeEach(e.data.concat(e.cacheData),(e=>{const n=s("value",e);t.push({value:n,currentLabel:s("label",e),isDisabled:s("disabled",e)})}),(e=>s("children",e))),t})),d=()=>{var e;return null==(e=i.value)?void 0:e.getCheckedKeys().filter((e=>{var t;const n=null==(t=i.value)?void 0:t.getNode(e);return!isNil(n)&&isEmpty(n.childNodes)}))};return{...pick(toRefs(e),Object.keys(ElTree.props)),...t,nodeKey:a,expandOnClickNode:computed((()=>!e.checkStrictly&&e.expandOnClickNode)),defaultExpandedKeys:computed((()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(c):c)),renderContent:(t,{node:o,data:r,store:i})=>t(component,{value:s("value",r),label:s("label",r),disabled:s("disabled",r),visible:o.visible},e.renderContent?()=>e.renderContent(t,{node:o,data:r,store:i}):n.default?()=>n.default({node:o,data:r,store:i}):void 0),filterNodeMethod:(t,n,o)=>{if(e.filterNodeMethod)return e.filterNodeMethod(t,n,o);if(!t)return!0;return new RegExp(escapeStringRegexp(t),"i").test(s("label",n)||"")},onNodeClick:(n,o,i)=>{var a,l,c,u;if(null==(a=t.onNodeClick)||a.call(t,n,o,i),!e.showCheckbox||!e.checkOnClickNode){if(e.showCheckbox||!e.checkStrictly&&!o.isLeaf)e.expandOnClickNode&&i.proxy.handleExpandIconClick();else if(!s("disabled",n)){const e=null==(l=r.value)?void 0:l.states.options.get(s("value",n));null==(c=r.value)||c.handleOptionSelect(e)}null==(u=r.value)||u.focus()}},onCheck:(n,a)=>{var l;if(!e.showCheckbox)return;const c=s("value",n),u={};treeEach([i.value.store.root],(e=>u[e.key]=e),(e=>e.childNodes));const p=a.checkedKeys,f=e.multiple?toValidArray(e.modelValue).filter((e=>!(e in u)&&!p.includes(e))):[],h=f.concat(p);if(e.checkStrictly)o(UPDATE_MODEL_EVENT,e.multiple?h:h.includes(c)?c:void 0);else if(e.multiple){const e=d();o(UPDATE_MODEL_EVENT,f.concat(e))}else{const t=treeFind([n],(e=>!isValidArray(s("children",e))&&!s("disabled",e)),(e=>s("children",e))),r=t?s("value",t):void 0,i=isValidValue(e.modelValue)&&!!treeFind([n],(t=>s("value",t)===e.modelValue),(e=>s("children",e)));o(UPDATE_MODEL_EVENT,r===e.modelValue||i?void 0:r)}nextTick((()=>{var o;const r=toValidArray(e.modelValue);i.value.setCheckedKeys(r),null==(o=t.onCheck)||o.call(t,n,{checkedKeys:i.value.getCheckedKeys(),checkedNodes:i.value.getCheckedNodes(),halfCheckedKeys:i.value.getHalfCheckedKeys(),halfCheckedNodes:i.value.getHalfCheckedNodes()})})),null==(l=r.value)||l.focus()},onNodeExpand:(n,r,a)=>{var l;null==(l=t.onNodeExpand)||l.call(t,n,r,a),nextTick((()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&r.checked){const t={},n=i.value.getCheckedKeys();treeEach([i.value.store.root],(e=>t[e.key]=e),(e=>e.childNodes));const r=toValidArray(e.modelValue).filter((e=>!(e in t)&&!n.includes(e))),a=d();o(UPDATE_MODEL_EVENT,r.concat(a))}}))},cacheOptions:u}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(e){const t=inject(selectKey);return watch((()=>e.data),(()=>{var n;e.data.forEach((e=>{t.states.cachedOptions.has(e.value)||t.states.cachedOptions.set(e.value,e)}));const o=(null==(n=t.selectRef)?void 0:n.querySelectorAll("input"))||[];isClient&&!Array.from(o).includes(document.activeElement)&&t.setSelected()}),{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$k=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,...ElTree.props,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:o}=t,r=ref(),i=ref(),a=computed((()=>e.nodeKey||e.valueKey||"value")),l=useSelect(e,t,{select:r,tree:i,key:a}),{cacheOptions:s,...c}=useTree$1(e,t,{select:r,tree:i,key:a}),u=reactive({});return o(u),onMounted((()=>{Object.assign(u,{...pick(i.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick(r.value,["focus","blur","selectedLabel"])})})),()=>h$5(ElSelect,reactive({...l,ref:e=>r.value=e}),{...n,default:()=>[h$5(CacheOptions,{data:s.value}),h$5(ElTree,reactive({...c,ref:e=>i.value=e}))]})}});var TreeSelect=_export_sfc(_sfc_main$k,[["__file","tree-select.vue"]]);const ElTreeSelect=withInstall(TreeSelect),ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(TreeOptionsEnum||{}),SetOperationEnum=(e=>(e.ADD="add",e.DELETE="delete",e))(SetOperationEnum||{});const itemSize={type:Number,default:26},treeProps=buildProps({data:{type:definePropType(Array),default:()=>mutable([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:definePropType(Object),default:()=>mutable({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:definePropType(Array),default:()=>mutable([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:definePropType(Array),default:()=>mutable([])},indent:{type:Number,default:16},itemSize:itemSize,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:definePropType([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:definePropType(Function)},perfMode:{type:Boolean,default:!0}}),treeNodeProps=buildProps({node:{type:definePropType(Object),default:()=>mutable(EMPTY_NODE)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize:itemSize}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",NODE_DROP="node-drop",NODE_EXPAND="node-expand",NODE_COLLAPSE="node-collapse",CURRENT_CHANGE="current-change",NODE_CHECK="check",NODE_CHECK_CHANGE="check-change",NODE_CONTEXTMENU="node-contextmenu",treeEmits={[NODE_CLICK]:(e,t,n)=>e&&t&&n,[NODE_DROP]:(e,t,n)=>e&&t&&n,[NODE_EXPAND]:(e,t)=>e&&t,[NODE_COLLAPSE]:(e,t)=>e&&t,[CURRENT_CHANGE]:(e,t)=>e&&t,[NODE_CHECK]:(e,t)=>e&&t,[NODE_CHECK_CHANGE]:(e,t)=>e&&isBoolean(t),[NODE_CONTEXTMENU]:(e,t,n)=>e&&t&&n},treeNodeEmits={click:(e,t)=>!(!e||!t),drop:(e,t)=>!(!e||!t),toggle:e=>!!e,check:(e,t)=>e&&isBoolean(t)};function useCheck(e,t){const n=ref(new Set),o=ref(new Set),{emit:r}=getCurrentInstance();watch([()=>t.value,()=>e.defaultCheckedKeys],(()=>nextTick((()=>{d(e.defaultCheckedKeys)}))),{immediate:!0});const i=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:r,maxLevel:i}=t.value,a=n.value,l=new Set;for(let e=i-1;e>=1;--e){const t=r.get(e);t&&t.forEach((e=>{const t=e.children;if(t){let n=!0,o=!1;for(const e of t){const t=e.key;if(a.has(t))o=!0;else{if(l.has(t)){n=!1,o=!0;break}n=!1}}n?a.add(e.key):o?(l.add(e.key),a.delete(e.key)):(a.delete(e.key),l.delete(e.key))}}))}o.value=l},a=e=>n.value.has(e.key),l=(t,o,r=!0,a=!0)=>{const l=n.value,c=(t,n)=>{l[n?SetOperationEnum.ADD:SetOperationEnum.DELETE](t.key);const o=t.children;!e.checkStrictly&&o&&o.forEach((e=>{e.disabled||c(e,n)}))};c(t,o),a&&i(),r&&s(t,o)},s=(e,t)=>{const{checkedNodes:n,checkedKeys:o}=c(),{halfCheckedNodes:i,halfCheckedKeys:a}=u();r(NODE_CHECK,e.data,{checkedKeys:o,checkedNodes:n,halfCheckedKeys:a,halfCheckedNodes:i}),r(NODE_CHECK_CHANGE,e.data,t)};function c(o=!1){const r=[],i=[];if((null==t?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:e}=t.value;n.value.forEach((t=>{const n=e.get(t);n&&(!o||o&&n.isLeaf)&&(i.push(t),r.push(n.data))}))}return{checkedKeys:i,checkedNodes:r}}function u(){const n=[],r=[];if((null==t?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:e}=t.value;o.value.forEach((t=>{const o=e.get(t);o&&(r.push(t),n.push(o.data))}))}return{halfCheckedNodes:n,halfCheckedKeys:r}}function d(n){if(null==t?void 0:t.value){const{treeNodeMap:o}=t.value;if(e.showCheckbox&&o&&(null==n?void 0:n.length)>0){for(const e of n){const t=o.get(e);t&&!a(t)&&l(t,!0,!1,!1)}i()}}}return{updateCheckedKeys:i,toggleCheckbox:l,isChecked:a,isIndeterminate:e=>o.value.has(e.key),getCheckedKeys:function(e=!1){return c(e).checkedKeys},getCheckedNodes:function(e=!1){return c(e).checkedNodes},getHalfCheckedKeys:function(){return u().halfCheckedKeys},getHalfCheckedNodes:function(){return u().halfCheckedNodes},setChecked:function(n,o){if((null==t?void 0:t.value)&&e.showCheckbox){const e=t.value.treeNodeMap.get(n);e&&l(e,o,!1)}},setCheckedKeys:function(e){n.value.clear(),o.value.clear(),nextTick((()=>{d(e)}))}}}function useFilter(e,t){const n=ref(new Set([])),o=ref(new Set([])),r=computed((()=>isFunction$5(e.filterMethod)));return{hiddenExpandIconKeySet:o,hiddenNodeKeySet:n,doFilter:function(i){var a;if(!r.value)return;const l=new Set,s=o.value,c=n.value,u=[],d=(null==(a=t.value)?void 0:a.treeNodes)||[],p=e.filterMethod;return c.clear(),function e(t){t.forEach((t=>{u.push(t),(null==p?void 0:p(i,t.data,t))?u.forEach((e=>{l.add(e.key)})):t.isLeaf&&c.add(t.key);const n=t.children;if(n&&e(n),!t.isLeaf)if(l.has(t.key)){if(n){let e=!0;for(const t of n)if(!c.has(t.key)){e=!1;break}e?s.add(t.key):s.delete(t.key)}}else c.add(t.key);u.pop()}))}(d),l},isForceHiddenExpandIcon:function(e){return o.value.has(e.key)}}}function useTree(e,t){const n=ref(new Set(e.defaultExpandedKeys)),o=ref(),r=shallowRef(),i=ref();watch((()=>e.currentNodeKey),(e=>{o.value=e}),{immediate:!0}),watch((()=>e.data),(e=>{P(e)}),{immediate:!0});const{isIndeterminate:a,isChecked:l,toggleCheckbox:s,getCheckedKeys:c,getCheckedNodes:u,getHalfCheckedKeys:d,getHalfCheckedNodes:p,setChecked:f,setCheckedKeys:h}=useCheck(e,r),{doFilter:m,hiddenNodeKeySet:g,isForceHiddenExpandIcon:v}=useFilter(e,r),y=computed((()=>{var t;return(null==(t=e.props)?void 0:t.value)||TreeOptionsEnum.KEY})),b=computed((()=>{var t;return(null==(t=e.props)?void 0:t.children)||TreeOptionsEnum.CHILDREN})),_=computed((()=>{var t;return(null==(t=e.props)?void 0:t.disabled)||TreeOptionsEnum.DISABLED})),w=computed((()=>{var t;return(null==(t=e.props)?void 0:t.label)||TreeOptionsEnum.LABEL})),k=computed((()=>{var e;const t=n.value,o=g.value,i=[],a=(null==(e=r.value)?void 0:e.treeNodes)||[],l=[];for(let n=a.length-1;n>=0;--n)l.push(a[n]);for(;l.length;){const e=l.pop();if(!o.has(e.key)&&(i.push(e),e.children&&t.has(e.key)))for(let t=e.children.length-1;t>=0;--t)l.push(e.children[t])}return i})),x=computed((()=>k.value.length>0));function S(e){return e[b.value]}function C(e){return e?e[y.value]:""}function E(e){return e[_.value]}function T(e){return e[w.value]}function A(e){n.value.has(e.key)?I(e):$(e)}function $(o){const i=n.value;if(r.value&&e.accordion){const{treeNodeMap:e}=r.value;i.forEach((t=>{const n=e.get(t);o&&o.level===(null==n?void 0:n.level)&&i.delete(t)}))}i.add(o.key),t(NODE_EXPAND,o.data,o)}function I(e){n.value.delete(e.key),t(NODE_COLLAPSE,e.data,e)}function M(e){const t=o.value;return void 0!==t&&t===e.key}function P(e){nextTick((()=>r.value=function(e){const t=new Map,n=new Map;let o=1;const r=function e(r,i=1,a){var l;const s=[];for(const o of r){const r=C(o),c={level:i,key:r,data:o};c.label=T(o),c.parent=a;const u=S(o);c.disabled=E(o),c.isLeaf=!u||0===u.length,u&&u.length&&(c.children=e(u,i+1,c)),s.push(c),t.set(r,c),n.has(i)||n.set(i,[]),null==(l=n.get(i))||l.push(c)}return i>o&&(o=i),s}(e);return{treeNodeMap:t,levelTreeNodeMap:n,maxLevel:o,treeNodes:r}}(e)))}function N(e){var t;const n=isObject$8(e)?C(e):e;return null==(t=r.value)?void 0:t.treeNodeMap.get(n)}return{tree:r,flattenTree:k,isNotEmpty:x,listRef:i,getKey:C,getChildren:S,toggleExpand:A,toggleCheckbox:s,isExpanded:function(e){return n.value.has(e.key)},isChecked:l,isIndeterminate:a,isDisabled:function(e){return!!e.disabled},isCurrent:M,isForceHiddenExpandIcon:v,handleNodeClick:function(n,r){t(NODE_CLICK,n.data,n,r),function(e){M(e)||(o.value=e.key,t(CURRENT_CHANGE,e.data,e))}(n),e.expandOnClickNode&&A(n),e.showCheckbox&&(e.checkOnClickNode||n.isLeaf&&e.checkOnClickLeaf)&&!n.disabled&&s(n,!l(n),!0)},handleNodeDrop:function(e,n){t(NODE_DROP,e.data,e,n)},handleNodeCheck:function(e,t){s(e,t)},getCurrentNode:function(){var e,t;if(o.value)return null==(t=null==(e=r.value)?void 0:e.treeNodeMap.get(o.value))?void 0:t.data},getCurrentKey:function(){return o.value},setCurrentKey:function(e){o.value=e},getCheckedKeys:c,getCheckedNodes:u,getHalfCheckedKeys:d,getHalfCheckedNodes:p,setChecked:f,setCheckedKeys:h,filter:function(e){const t=m(e);t&&(n.value=t)},setData:P,getNode:N,expandNode:$,collapseNode:I,setExpandedKeys:function(e){const t=new Set,o=r.value.treeNodeMap;e.forEach((e=>{let n=o.get(e);for(;n&&!t.has(n.key);)t.add(n.key),n=n.parent})),n.value=t},scrollToNode:function(e,t="auto"){const n=N(e);n&&i.value&&i.value.scrollToItem(k.value.indexOf(n),t)},scrollTo:function(e){var t;null==(t=i.value)||t.scrollTo(e)}}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(e){const t=inject(ROOT_TREE_INJECTION_KEY),n=useNamespace("tree");return()=>{const o=e.node,{data:r}=o;return(null==t?void 0:t.ctx.slots.default)?t.ctx.slots.default({node:o,data:r}):h$5(ElText,{tag:"span",truncated:!0,class:n.be("node","label")},(()=>[null==o?void 0:o.label]))}}});const __default__$h=defineComponent({name:"ElTreeNode"}),_sfc_main$j=defineComponent({...__default__$h,props:treeNodeProps,emits:treeNodeEmits,setup(e,{emit:t}){const n=e,o=inject(ROOT_TREE_INJECTION_KEY),r=useNamespace("tree"),i=computed((()=>{var e;return null!=(e=null==o?void 0:o.props.indent)?e:16})),a=computed((()=>{var e;return null!=(e=null==o?void 0:o.props.icon)?e:caret_right_default})),l=e=>{const t=null==o?void 0:o.props.props.class;if(!t)return{};let n;if(isFunction$5(t)){const{data:o}=e;n=t(o,e)}else n=t;return isString$4(n)?{[n]:!0}:n},s=e=>{t("click",n.node,e)},c=e=>{t("drop",n.node,e)},u=()=>{t("toggle",n.node)},d=e=>{t("check",n.node,e)},p=e=>{var t,r,i,a;(null==(i=null==(r=null==(t=null==o?void 0:o.instance)?void 0:t.vnode)?void 0:r.props)?void 0:i.onNodeContextmenu)&&(e.stopPropagation(),e.preventDefault()),null==o||o.ctx.emit(NODE_CONTEXTMENU,e,null==(a=n.node)?void 0:a.data,n.node)};return(e,t)=>{var n,o,f;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(r).b("node"),unref(r).is("expanded",e.expanded),unref(r).is("current",e.current),unref(r).is("focusable",!e.disabled),unref(r).is("checked",!e.disabled&&e.checked),l(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":null==(n=e.node)?void 0:n.key,onClick:withModifiers(s,["stop"]),onContextmenu:p,onDragover:withModifiers((()=>{}),["prevent"]),onDragenter:withModifiers((()=>{}),["prevent"]),onDrop:withModifiers(c,["stop"])},[createBaseVNode("div",{class:normalizeClass(unref(r).be("node","content")),style:normalizeStyle$1({paddingLeft:(e.node.level-1)*unref(i)+"px",height:e.itemSize+"px"})},[unref(a)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(r).is("leaf",!!(null==(o=e.node)?void 0:o.isLeaf)),unref(r).is("hidden",e.hiddenExpandIcon),{expanded:!(null==(f=e.node)?void 0:f.isLeaf)&&e.expanded},unref(r).be("node","expand-icon")]),onClick:withModifiers(u,["stop"])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(a))))])),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),e.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:d,onClick:withModifiers((()=>{}),["stop"])},null,8,["model-value","indeterminate","disabled","onClick"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElNodeContent),{node:e.node},null,8,["node"])],6)],42,["aria-expanded","aria-disabled","aria-checked","data-key","onClick","onDragover","onDragenter","onDrop"])}}});var ElTreeNode=_export_sfc(_sfc_main$j,[["__file","tree-node.vue"]]);const __default__$g=defineComponent({name:"ElTreeV2"}),_sfc_main$i=defineComponent({...__default__$g,props:treeProps,emits:treeEmits,setup(e,{expose:t,emit:n}){const o=e,r=useSlots(),i=computed((()=>o.itemSize));provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:n,slots:r},props:o,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:a}=useLocale(),l=useNamespace("tree"),{flattenTree:s,isNotEmpty:c,listRef:u,toggleExpand:d,isExpanded:p,isIndeterminate:f,isChecked:h,isDisabled:m,isCurrent:g,isForceHiddenExpandIcon:v,handleNodeClick:y,handleNodeDrop:b,handleNodeCheck:_,toggleCheckbox:w,getCurrentNode:k,getCurrentKey:x,setCurrentKey:S,getCheckedKeys:C,getCheckedNodes:E,getHalfCheckedKeys:T,getHalfCheckedNodes:A,setChecked:$,setCheckedKeys:I,filter:M,setData:P,getNode:N,expandNode:O,collapseNode:R,setExpandedKeys:D,scrollToNode:L,scrollTo:B}=useTree(o,n);return t({toggleCheckbox:w,getCurrentNode:k,getCurrentKey:x,setCurrentKey:S,getCheckedKeys:C,getCheckedNodes:E,getHalfCheckedKeys:T,getHalfCheckedNodes:A,setChecked:$,setCheckedKeys:I,filter:M,setData:P,getNode:N,expandNode:O,collapseNode:R,setExpandedKeys:D,scrollToNode:L,scrollTo:B}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(l).b(),{[unref(l).m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[unref(c)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,ref_key:"listRef",ref:u,"class-name":unref(l).b("virtual-list"),data:unref(s),total:unref(s).length,height:e.height,"item-size":unref(i),"perf-mode":e.perfMode},{default:withCtx((({data:t,index:n,style:o})=>[(openBlock(),createBlock(ElTreeNode,{key:t[n].key,style:normalizeStyle$1(o),node:t[n],expanded:unref(p)(t[n]),"show-checkbox":e.showCheckbox,checked:unref(h)(t[n]),indeterminate:unref(f)(t[n]),"item-size":unref(i),disabled:unref(m)(t[n]),current:unref(g)(t[n]),"hidden-expand-icon":unref(v)(t[n]),onClick:unref(y),onToggle:unref(d),onCheck:unref(_),onDrop:unref(b)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))])),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(l).e("empty-block"))},[renderSlot(e.$slots,"empty",{},(()=>{var t;return[createBaseVNode("span",{class:normalizeClass(unref(l).e("empty-text"))},toDisplayString(null!=(t=e.emptyText)?t:unref(a)("el.tree.emptyText")),3)]}))],2))],2))}});var TreeV2=_export_sfc(_sfc_main$i,[["__file","tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor(e,t,n,o){super(e),this.name="UploadAjaxError",this.status=t,this.method=n,this.url=o}}function getError(e,t,n){let o;return o=n.response?`${n.response.error||n.response}`:n.responseText?`${n.responseText}`:`fail to ${t.method} ${e} ${n.status}`,new UploadAjaxError(o,n.status,t.method,e)}function getBody(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e2){return t}}const ajaxUpload=e=>{"undefined"==typeof XMLHttpRequest&&throwError(SCOPE$2,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",(t=>{const n=t;n.percent=t.total>0?t.loaded/t.total*100:0,e.onProgress(n)}));const o=new FormData;if(e.data)for(const[i,a]of Object.entries(e.data))isArray$6(a)&&a.length?o.append(i,...a):o.append(i,a);o.append(e.filename,e.file,e.file.name),t.addEventListener("error",(()=>{e.onError(getError(n,e,t))})),t.addEventListener("load",(()=>{if(t.status<200||t.status>=300)return e.onError(getError(n,e,t));e.onSuccess(getBody(t))})),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const r=e.headers||{};if(r instanceof Headers)r.forEach(((e,n)=>t.setRequestHeader(n,e)));else for(const[i,a]of Object.entries(r))isNil(a)||t.setRequestHeader(i,String(a));return t.send(o),t},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:definePropType([Object,Function,Promise]),default:()=>mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP},crossorigin:{type:definePropType(String)}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"},crossorigin:{type:definePropType(String)}}),uploadListEmits={remove:e=>!!e},__default__$f=defineComponent({name:"ElUploadList"}),_sfc_main$h=defineComponent({...__default__$f,props:uploadListProps,emits:uploadListEmits,setup(e,{emit:t}){const n=e,{t:o}=useLocale(),r=useNamespace("upload"),i=useNamespace("icon"),a=useNamespace("list"),l=useFormDisabled(),s=ref(!1),c=computed((()=>[r.b("list"),r.bm("list",n.listType),r.is("disabled",n.disabled)])),u=e=>{t("remove",e)};return(e,t)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(unref(c)),name:unref(a).b()},{default:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.files,((t,n)=>(openBlock(),createElementBlock("li",{key:t.uid||t.name,class:normalizeClass([unref(r).be("list","item"),unref(r).is(t.status),{focusing:s.value}]),tabindex:"0",onKeydown:withKeys((e=>!unref(l)&&u(t)),["delete"]),onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onClick:e=>s.value=!1},[renderSlot(e.$slots,"default",{file:t,index:n},(()=>["picture"===e.listType||"uploading"!==t.status&&"picture-card"===e.listType?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(r).be("list","item-thumbnail")),src:t.url,crossorigin:e.crossorigin,alt:""},null,10,["src","crossorigin"])):createCommentVNode("v-if",!0),"uploading"===t.status||"picture-card"!==e.listType?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(r).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(r).be("list","item-name")),onClick:withModifiers((n=>e.handlePreview(t)),["prevent"])},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(i).m("document"))},{default:withCtx((()=>[createVNode$1(unref(document_default))])),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(r).be("list","item-file-name")),title:t.name},toDisplayString(t.name),11,["title"])],10,["onClick"]),"uploading"===t.status?(openBlock(),createBlock(unref(ElProgress),{key:0,type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:Number(t.percentage),style:normalizeStyle$1("picture-card"===e.listType?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(r).be("list","item-status-label"))},["text"===e.listType?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(i).m("upload-success"),unref(i).m("circle-check")])},{default:withCtx((()=>[createVNode$1(unref(circle_check_default))])),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(i).m("upload-success"),unref(i).m("check")])},{default:withCtx((()=>[createVNode$1(unref(check_default))])),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(l)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(i).m("close")),onClick:e=>u(t)},{default:withCtx((()=>[createVNode$1(unref(close_default))])),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(l)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(i).m("close-tip"))},toDisplayString(unref(o)("el.upload.deleteTip")),3)),"picture-card"===e.listType?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(r).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(r).be("list","item-preview")),onClick:n=>e.handlePreview(t)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(i).m("zoom-in"))},{default:withCtx((()=>[createVNode$1(unref(zoom_in_default))])),_:1},8,["class"])],10,["onClick"]),unref(l)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(r).be("list","item-delete")),onClick:e=>u(t)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(i).m("delete"))},{default:withCtx((()=>[createVNode$1(unref(delete_default))])),_:1},8,["class"])],10,["onClick"]))],2)):createCommentVNode("v-if",!0)]))],42,["onKeydown","onFocus","onBlur","onClick"])))),128)),renderSlot(e.$slots,"append")])),_:3},8,["class","name"]))}});var UploadList=_export_sfc(_sfc_main$h,[["__file","upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:e=>isArray$6(e)},COMPONENT_NAME="ElUploadDrag",__default__$e=defineComponent({name:COMPONENT_NAME}),_sfc_main$g=defineComponent({...__default__$e,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(e,{emit:t}){inject(uploadContextKey)||throwError(COMPONENT_NAME,"usage: <el-upload><el-upload-dragger /></el-upload>");const n=useNamespace("upload"),o=ref(!1),r=useFormDisabled(),i=e=>{if(r.value)return;o.value=!1,e.stopPropagation();const n=Array.from(e.dataTransfer.files),i=e.dataTransfer.items||[];n.forEach(((e,t)=>{var n;const o=i[t],r=null==(n=null==o?void 0:o.webkitGetAsEntry)?void 0:n.call(o);r&&(e.isDirectory=r.isDirectory)})),t("file",n)},a=()=>{r.value||(o.value=!0)};return(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(n).b("dragger"),unref(n).is("dragover",o.value)]),onDrop:withModifiers(i,["prevent"]),onDragover:withModifiers(a,["prevent"]),onDragleave:withModifiers((e=>o.value=!1),["prevent"])},[renderSlot(e.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var UploadDragger=_export_sfc(_sfc_main$g,[["__file","upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),__default__$d=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$f=defineComponent({...__default__$d,props:uploadContentProps,setup(e,{expose:t}){const n=e,o=useNamespace("upload"),r=useFormDisabled(),i=shallowRef({}),a=shallowRef(),l=e=>{if(0===e.length)return;const{autoUpload:t,limit:o,fileList:r,multiple:i,onStart:a,onExceed:l}=n;if(o&&r.length+e.length>o)l(e,r);else{i||(e=e.slice(0,1));for(const n of e){const e=n;e.uid=genFileId(),a(e),t&&s(e)}}},s=async e=>{if(a.value.value="",!n.beforeUpload)return c(e);let t,o={};try{const r=n.data,i=n.beforeUpload(e);o=isPlainObject$4(n.data)?cloneDeep(n.data):n.data,t=await i,isPlainObject$4(n.data)&&isEqual$1(r,o)&&(o=cloneDeep(n.data))}catch(e2){t=!1}if(!1===t)return void n.onRemove(e);let r=e;t instanceof Blob&&(r=t instanceof File?t:new File([t],e.name,{type:e.type})),c(Object.assign(r,{uid:e.uid}),o)},c=async(e,t)=>{const{headers:o,data:r,method:a,withCredentials:l,name:s,action:c,onProgress:u,onSuccess:d,onError:p,httpRequest:f}=n;try{t=await(async(e,t)=>isFunction$5(e)?e(t):e)(null!=t?t:r,e)}catch(e2){return void n.onRemove(e)}const{uid:h}=e,m={headers:o||{},withCredentials:l,file:e,data:t,method:a,filename:s,action:c,onProgress:t=>{u(t,e)},onSuccess:t=>{d(t,e),delete i.value[h]},onError:t=>{p(t,e),delete i.value[h]}},g=f(m);i.value[h]=g,g instanceof Promise&&g.then(m.onSuccess,m.onError)},u=e=>{const t=e.target.files;t&&l(Array.from(t))},d=()=>{r.value||(a.value.value="",a.value.click())},p=()=>{d()};return t({abort:e=>{const t=entriesOf(i.value).filter(e?([t])=>String(e.uid)===t:()=>!0);t.forEach((([e,t])=>{t instanceof XMLHttpRequest&&t.abort(),delete i.value[e]}))},upload:s}),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(o).b(),unref(o).m(e.listType),unref(o).is("drag",e.drag),unref(o).is("disabled",unref(r))]),tabindex:unref(r)?"-1":"0",onClick:d,onKeydown:withKeys(withModifiers(p,["self"]),["enter","space"])},[e.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(r),onFile:l},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["disabled"])):renderSlot(e.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:a,class:normalizeClass(unref(o).e("input")),name:e.name,disabled:unref(r),multiple:e.multiple,accept:e.accept,type:"file",onChange:u,onClick:withModifiers((()=>{}),["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var UploadContent=_export_sfc(_sfc_main$f,[["__file","upload-content.vue"]]);const SCOPE$1="ElUpload",revokeFileObjectURL=e=>{var t;(null==(t=e.url)?void 0:t.startsWith("blob:"))&&URL.revokeObjectURL(e.url)},useHandlers=(e,t)=>{const n=useVModel(e,"fileList",void 0,{passive:!0}),o=e=>n.value.find((t=>t.uid===e.uid));function r(e){var n;null==(n=t.value)||n.abort(e)}function i(e){n.value=n.value.filter((t=>t.uid!==e.uid))}return watch((()=>e.listType),(t=>{"picture-card"!==t&&"picture"!==t||(n.value=n.value.map((t=>{const{raw:o,url:r}=t;if(!r&&o)try{t.url=URL.createObjectURL(o)}catch(i){e.onError(i,t,n.value)}return t})))})),watch(n,(e=>{for(const t of e)t.uid||(t.uid=genFileId()),t.status||(t.status="success")}),{immediate:!0,deep:!0}),{uploadFiles:n,abort:r,clearFiles:function(e=["ready","uploading","success","fail"]){n.value=n.value.filter((t=>!e.includes(t.status)))},handleError:(t,r)=>{const a=o(r);a&&(a.status="fail",i(a),e.onError(t,a,n.value),e.onChange(a,n.value))},handleProgress:(t,r)=>{const i=o(r);i&&(e.onProgress(t,i,n.value),i.status="uploading",i.percentage=Math.round(t.percent))},handleStart:t=>{isNil(t.uid)&&(t.uid=genFileId());const o={name:t.name,percentage:0,status:"ready",size:t.size,raw:t,uid:t.uid};if("picture-card"===e.listType||"picture"===e.listType)try{o.url=URL.createObjectURL(t)}catch(r){debugWarn(SCOPE$1,r.message),e.onError(r,o,n.value)}n.value=[...n.value,o],e.onChange(o,n.value)},handleSuccess:(t,r)=>{const i=o(r);i&&(i.status="success",i.response=t,e.onSuccess(t,i,n.value),e.onChange(i,n.value))},handleRemove:async t=>{const a=t instanceof File?o(t):t;a||throwError(SCOPE$1,"file to be removed not found");const l=t=>{r(t),i(t),e.onRemove(t,n.value),revokeFileObjectURL(t)};if(e.beforeRemove){!1!==await e.beforeRemove(a,n.value)&&l(a)}else l(a)},submit:function(){n.value.filter((({status:e})=>"ready"===e)).forEach((({raw:e})=>{var n;return e&&(null==(n=t.value)?void 0:n.upload(e))}))},revokeFileObjectURL:revokeFileObjectURL}},__default__$c=defineComponent({name:"ElUpload"}),_sfc_main$e=defineComponent({...__default__$c,props:uploadProps,setup(e,{expose:t}){const n=e,o=useFormDisabled(),r=shallowRef(),{abort:i,submit:a,clearFiles:l,uploadFiles:s,handleStart:c,handleError:u,handleRemove:d,handleSuccess:p,handleProgress:f,revokeFileObjectURL:h}=useHandlers(n,r),m=computed((()=>"picture-card"===n.listType)),g=computed((()=>({...n,fileList:s.value,onStart:c,onProgress:f,onSuccess:p,onError:u,onRemove:d})));return onBeforeUnmount((()=>{s.value.forEach(h)})),provide(uploadContextKey,{accept:toRef$1(n,"accept")}),t({abort:i,submit:a,clearFiles:l,handleStart:c,handleRemove:d}),(e,t)=>(openBlock(),createElementBlock("div",null,[unref(m)&&e.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(o),"list-type":e.listType,files:unref(s),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:unref(d)},createSlots({append:withCtx((()=>[createVNode$1(UploadContent,mergeProps({ref_key:"uploadRef",ref:r},unref(g)),{default:withCtx((()=>[e.$slots.trigger?renderSlot(e.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!e.$slots.trigger&&e.$slots.default?renderSlot(e.$slots,"default",{key:1}):createCommentVNode("v-if",!0)])),_:3},16)])),_:2},[e.$slots.file?{name:"default",fn:withCtx((({file:t,index:n})=>[renderSlot(e.$slots,"file",{file:t,index:n})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(m)||unref(m)&&!e.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:r},unref(g)),{default:withCtx((()=>[e.$slots.trigger?renderSlot(e.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!e.$slots.trigger&&e.$slots.default?renderSlot(e.$slots,"default",{key:1}):createCommentVNode("v-if",!0)])),_:3},16)):createCommentVNode("v-if",!0),e.$slots.trigger?renderSlot(e.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(e.$slots,"tip"),!unref(m)&&e.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(o),"list-type":e.listType,files:unref(s),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:unref(d)},createSlots({_:2},[e.$slots.file?{name:"default",fn:withCtx((({file:t,index:n})=>[renderSlot(e.$slots,"file",{file:t,index:n})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc(_sfc_main$e,[["__file","upload.vue"]]);const ElUpload=withInstall(Upload),watermarkProps=buildProps({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:definePropType([String,Array]),default:"Element Plus"},font:{type:definePropType(Object)},gap:{type:definePropType(Array),default:()=>[100,100]},offset:{type:definePropType(Array)}});function toLowercaseSeparator(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr(e){return Object.keys(e).map((t=>`${toLowercaseSeparator(t)}: ${e[t]};`)).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}const reRendering=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),"attributes"===e.type&&e.target===t&&(n=!0),n},FontGap=3;function prepareCanvas(e,t,n=1){const o=document.createElement("canvas"),r=o.getContext("2d"),i=e*n,a=t*n;return o.setAttribute("width",`${i}px`),o.setAttribute("height",`${a}px`),r.save(),[r,o,i,a]}function useClips(){return function(e,t,n,o,r,i,a,l){const[s,c,u,d]=prepareCanvas(o,r,n);if(e instanceof HTMLImageElement)s.drawImage(e,0,0,u,d);else{const{color:t,fontSize:o,fontStyle:a,fontWeight:l,fontFamily:c,textAlign:d,textBaseline:p}=i,f=Number(o)*n;s.font=`${a} normal ${l} ${f}px/${r}px ${c}`,s.fillStyle=t,s.textAlign=d,s.textBaseline=p;const h=isArray$6(e)?e:[e];null==h||h.forEach(((e,t)=>{s.fillText(null!=e?e:"",u/2,t*(f+FontGap*n))}))}const p=Math.PI/180*Number(t),f=Math.max(o,r),[h,m,g]=prepareCanvas(f,f,n);h.translate(g/2,g/2),h.rotate(p),u>0&&d>0&&h.drawImage(c,-u/2,-d/2);let v=0,y=0,b=0,_=0;const w=u/2,k=d/2;[[0-w,0-k],[0+w,0-k],[0+w,0+k],[0-w,0+k]].forEach((([e,t])=>{const[n,o]=function(e,t){return[e*Math.cos(p)-t*Math.sin(p),e*Math.sin(p)+t*Math.cos(p)]}(e,t);v=Math.min(v,n),y=Math.max(y,n),b=Math.min(b,o),_=Math.max(_,o)}));const x=v+g/2,S=b+g/2,C=y-v,E=_-b,T=a*n,A=l*n,$=2*(C+T),I=E+A,[M,P]=prepareCanvas($,I);function N(e=0,t=0){M.drawImage(m,x,S,C,E,e,t,C,E)}return N(),N(C+T,-E/2-A/2),N(C+T,+E/2+A/2),[P.toDataURL(),$/n,I/n]}}const __default__$b=defineComponent({name:"ElWatermark"}),_sfc_main$d=defineComponent({...__default__$b,props:watermarkProps,setup(e){const t=e,n={position:"relative"},o=computed((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.color)?n:"rgba(0,0,0,.15)"})),r=computed((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontSize)?n:16})),i=computed((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontWeight)?n:"normal"})),a=computed((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontStyle)?n:"normal"})),l=computed((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontFamily)?n:"sans-serif"})),s=computed((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.textAlign)?n:"center"})),c=computed((()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.textBaseline)?n:"hanging"})),u=computed((()=>t.gap[0])),d=computed((()=>t.gap[1])),p=computed((()=>u.value/2)),f=computed((()=>d.value/2)),h=computed((()=>{var e,n;return null!=(n=null==(e=t.offset)?void 0:e[0])?n:p.value})),m=computed((()=>{var e,n;return null!=(n=null==(e=t.offset)?void 0:e[1])?n:f.value})),g=()=>{const e={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let n=h.value-p.value,o=m.value-f.value;return n>0&&(e.left=`${n}px`,e.width=`calc(100% - ${n}px)`,n=0),o>0&&(e.top=`${o}px`,e.height=`calc(100% - ${o}px)`,o=0),e.backgroundPosition=`${n}px ${o}px`,e},v=shallowRef(null),y=shallowRef(),b=ref(!1),_=()=>{y.value&&(y.value.remove(),y.value=void 0)},w=useClips(),k=()=>{const e=document.createElement("canvas").getContext("2d"),n=t.image,p=t.content,f=t.rotate;if(e){y.value||(y.value=document.createElement("div"));const h=getPixelRatio(),[m,_]=(e=>{let n=120,o=64;const{image:i,content:a,width:s,height:c,rotate:u}=t;if(!i&&e.measureText){e.font=`${Number(r.value)}px ${l.value}`;const t=isArray$6(a)?a:[a];let i=0,s=0;t.forEach((t=>{const{width:n,fontBoundingBoxAscent:o,fontBoundingBoxDescent:r,actualBoundingBoxAscent:a,actualBoundingBoxDescent:l}=e.measureText(t),c=isUndefined(o)?a+l:o+r;n>i&&(i=Math.ceil(n)),c>s&&(s=Math.ceil(c))})),n=i,o=s*t.length+(t.length-1)*FontGap;const c=Math.PI/180*Number(u);n+=Math.ceil(Math.abs(Math.sin(c)*o)/2)}return[null!=s?s:n,null!=c?c:o]})(e),k=e=>{const[t,n]=w(e||"",f,h,m,_,{color:o.value,fontSize:r.value,fontStyle:a.value,fontWeight:i.value,fontFamily:l.value,textAlign:s.value,textBaseline:c.value},u.value,d.value);((e,t)=>{var n;v.value&&y.value&&(b.value=!0,y.value.setAttribute("style",getStyleStr({...g(),backgroundImage:`url('${e}')`,backgroundSize:`${Math.floor(t)}px`})),null==(n=v.value)||n.append(y.value),setTimeout((()=>{b.value=!1})))})(t,n)};if(n){const e=new Image;e.onload=()=>{k(e)},e.onerror=()=>{k(p)},e.crossOrigin="anonymous",e.referrerPolicy="no-referrer",e.src=n}else k(p)}};onMounted((()=>{k()})),watch((()=>t),(()=>{k()}),{deep:!0,flush:"post"}),onBeforeUnmount((()=>{_()}));return useMutationObserver(v,(e=>{b.value||e.forEach((e=>{reRendering(e,y.value)&&(_(),k())}))}),{attributes:!0,subtree:!0,childList:!0}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"containerRef",ref:v,style:normalizeStyle$1([n])},[renderSlot(e.$slots,"default")],4))}});var Watermark=_export_sfc(_sfc_main$d,[["__file","watermark.vue"]]);const ElWatermark=withInstall(Watermark),maskProps=buildProps({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:definePropType(Object)},targetAreaClickable:{type:Boolean,default:!0}}),useTarget=(e,t,n,o,r)=>{const i=ref(null),a=()=>{let t;return t=isString$4(e.value)?document.querySelector(e.value):isFunction$5(e.value)?e.value():e.value,t},l=()=>{const e=a();if(!e||!t.value)return void(i.value=null);isInViewPort(e)||e.scrollIntoView(r.value);const{left:n,top:o,width:l,height:s}=e.getBoundingClientRect();i.value={left:n,top:o,width:l,height:s,radius:0}};onMounted((()=>{watch([t,e],(()=>{l()}),{immediate:!0}),window.addEventListener("resize",l)})),onBeforeUnmount((()=>{window.removeEventListener("resize",l)}));const s=e=>{var t;return null!=(t=isArray$6(n.value.offset)?n.value.offset[e]:n.value.offset)?t:6},c=computed((()=>{var e;if(!i.value)return i.value;const t=s(0),o=s(1),r=(null==(e=n.value)?void 0:e.radius)||2;return{left:i.value.left-t,top:i.value.top-o,width:i.value.width+2*t,height:i.value.height+2*o,radius:r}})),u=computed((()=>{const e=a();return o.value&&e&&window.DOMRect?{getBoundingClientRect(){var e,t,n,o;return window.DOMRect.fromRect({width:(null==(e=c.value)?void 0:e.width)||0,height:(null==(t=c.value)?void 0:t.height)||0,x:(null==(n=c.value)?void 0:n.left)||0,y:(null==(o=c.value)?void 0:o.top)||0})}}:e||void 0}));return{mergedPosInfo:c,triggerTarget:u}},tourKey=Symbol("ElTour");function isInViewPort(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:o,right:r,bottom:i,left:a}=e.getBoundingClientRect();return o>=0&&a>=0&&r<=t&&i<=n}const useFloating=(e,t,n,o,r,i,a,l)=>{const s=ref(),c=ref(),u=ref({}),d={x:s,y:c,placement:o,strategy:r,middlewareData:u},p=computed((()=>{const e=[offset(unref(i)),flip(),shift(),overflowMiddleware()];return unref(l)&&unref(n)&&e.push(arrow({element:unref(n)})),e})),f=async()=>{if(!isClient)return;const n=unref(e),i=unref(t);if(!n||!i)return;const a=await computePosition(n,i,{placement:unref(o),strategy:unref(r),middleware:unref(p)});keysOf(d).forEach((e=>{d[e].value=a[e]}))},h=computed((()=>{if(!unref(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:unref(a)};const{overflow:t}=unref(u);return{position:unref(r),zIndex:unref(a),top:null!=unref(c)?`${unref(c)}px`:"",left:null!=unref(s)?`${unref(s)}px`:"",maxWidth:(null==t?void 0:t.maxWidth)?`${null==t?void 0:t.maxWidth}px`:""}})),m=computed((()=>{if(!unref(l))return{};const{arrow:e}=unref(u);return{left:null!=(null==e?void 0:e.x)?`${null==e?void 0:e.x}px`:"",top:null!=(null==e?void 0:e.y)?`${null==e?void 0:e.y}px`:""}}));let g;return onMounted((()=>{const n=unref(e),o=unref(t);n&&o&&(g=autoUpdate(n,o,f)),watchEffect((()=>{f()}))})),onBeforeUnmount((()=>{g&&g()})),{update:f,contentStyle:h,arrowStyle:m}},overflowMiddleware=()=>({name:"overflow",async fn(e){const t=await detectOverflow(e);let n=0;t.left>0&&(n=t.left),t.right>0&&(n=t.right);return{data:{maxWidth:e.rects.floating.width-n}}}}),__default__$a=defineComponent({name:"ElTourMask",inheritAttrs:!1}),_sfc_main$c=defineComponent({...__default__$a,props:maskProps,setup(e){const t=e,{ns:n}=inject(tourKey),o=computed((()=>{var e,n;return null!=(n=null==(e=t.pos)?void 0:e.radius)?n:2})),r=computed((()=>{const e=o.value,t=`a${e},${e} 0 0 1`;return{topRight:`${t} ${e},${e}`,bottomRight:`${t} ${-e},${e}`,bottomLeft:`${t} ${-e},${-e}`,topLeft:`${t} ${e},${-e}`}})),i=computed((()=>{const e=window.innerWidth,n=window.innerHeight,i=r.value,a=`M${e},0 L0,0 L0,${n} L${e},${n} L${e},0 Z`,l=o.value;return t.pos?`${a} M${t.pos.left+l},${t.pos.top} h${t.pos.width-2*l} ${i.topRight} v${t.pos.height-2*l} ${i.bottomRight} h${-t.pos.width+2*l} ${i.bottomLeft} v${-t.pos.height+2*l} ${i.topLeft} z`:a})),a=computed((()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"})));return useLockscreen(toRef$1(t,"visible"),{ns:n}),(e,t)=>e.visible?(openBlock(),createElementBlock("div",mergeProps({key:0,class:unref(n).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:e.zIndex,pointerEvents:e.pos&&e.targetAreaClickable?"none":"auto"}},e.$attrs),[(openBlock(),createElementBlock("svg",{style:{width:"100%",height:"100%"}},[createBaseVNode("path",{class:normalizeClass(unref(n).e("hollow")),style:normalizeStyle$1(unref(a)),d:unref(i)},null,14,["d"])]))],16)):createCommentVNode("v-if",!0)}});var ElTourMask=_export_sfc(_sfc_main$c,[["__file","mask.vue"]]);const tourStrategies=["absolute","fixed"],tourPlacements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tourContentProps=buildProps({placement:{type:definePropType(String),values:tourPlacements,default:"bottom"},reference:{type:definePropType(Object),default:null},strategy:{type:definePropType(String),values:tourStrategies,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),tourContentEmits={close:()=>!0},__default__$9=defineComponent({name:"ElTourContent"}),_sfc_main$b=defineComponent({...__default__$9,props:tourContentProps,emits:tourContentEmits,setup(e,{emit:t}){const n=e,o=ref(n.placement),r=ref(n.strategy),i=ref(null),a=ref(null);watch((()=>n.placement),(()=>{o.value=n.placement}));const{contentStyle:l,arrowStyle:s}=useFloating(toRef$1(n,"reference"),i,a,o,r,toRef$1(n,"offset"),toRef$1(n,"zIndex"),toRef$1(n,"showArrow")),c=computed((()=>o.value.split("-")[0])),{ns:u}=inject(tourKey),d=()=>{t("close")},p=e=>{"pointer"===e.detail.focusReason&&e.preventDefault()};return(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:i,style:normalizeStyle$1(unref(l)),class:normalizeClass(unref(u).e("content")),"data-side":unref(c),tabindex:"-1"},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":i.value||void 0,onReleaseRequested:d,onFocusoutPrevented:p},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["focus-trap-el"]),e.showArrow?(openBlock(),createElementBlock("span",{key:0,ref_key:"arrowRef",ref:a,style:normalizeStyle$1(unref(s)),class:normalizeClass(unref(u).e("arrow"))},null,6)):createCommentVNode("v-if",!0)],14,["data-side"]))}});var ElTourContent=_export_sfc(_sfc_main$b,[["__file","content.vue"]]),ElTourSteps=defineComponent({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let o=0;return()=>{var r,i;const a=null==(r=t.default)?void 0:r.call(t),l=[];let s=0;var c;return a.length&&(c=flattedChildren(null==(i=a[0])?void 0:i.children),isArray$6(c)&&c.forEach((e=>{var t;"ElTourStep"===(null==(t=(null==e?void 0:e.type)||{})?void 0:t.name)&&(l.push(e),s+=1)}))),o!==s&&(o=s,n("update-total",s)),l.length?l[e.current]:null}}});const tourProps=buildProps({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:iconPropType},placement:tourContentProps.placement,contentStyle:{type:definePropType([Object])},mask:{type:definePropType([Boolean,Object]),default:!0},gap:{type:definePropType(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:()=>({block:"center"})},type:{type:definePropType(String)},appendTo:{type:teleportProps.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),tourEmits={[UPDATE_MODEL_EVENT]:e=>isBoolean(e),"update:current":e=>isNumber(e),close:e=>isNumber(e),finish:()=>!0,change:e=>isNumber(e)},__default__$8=defineComponent({name:"ElTour"}),_sfc_main$a=defineComponent({...__default__$8,props:tourProps,emits:tourEmits,setup(e,{emit:t}){const n=e,o=useNamespace("tour"),r=ref(0),i=ref(),a=useVModel(n,"current",t,{passive:!0}),l=computed((()=>{var e;return null==(e=i.value)?void 0:e.target})),s=computed((()=>[o.b(),"primary"===g.value?o.m("primary"):""])),c=computed((()=>{var e;return(null==(e=i.value)?void 0:e.placement)||n.placement})),u=computed((()=>{var e,t;return null!=(t=null==(e=i.value)?void 0:e.contentStyle)?t:n.contentStyle})),d=computed((()=>{var e,t;return null!=(t=null==(e=i.value)?void 0:e.mask)?t:n.mask})),p=computed((()=>!!d.value&&n.modelValue)),f=computed((()=>isBoolean(d.value)?void 0:d.value)),h=computed((()=>{var e,t;return!!l.value&&(null!=(t=null==(e=i.value)?void 0:e.showArrow)?t:n.showArrow)})),m=computed((()=>{var e,t;return null!=(t=null==(e=i.value)?void 0:e.scrollIntoViewOptions)?t:n.scrollIntoViewOptions})),g=computed((()=>{var e,t;return null!=(t=null==(e=i.value)?void 0:e.type)?t:n.type})),{nextZIndex:v}=useZIndex(),y=v(),b=computed((()=>{var e;return null!=(e=n.zIndex)?e:y})),{mergedPosInfo:_,triggerTarget:w}=useTarget(l,toRef$1(n,"modelValue"),toRef$1(n,"gap"),d,m);watch((()=>n.modelValue),(e=>{e||(a.value=0)}));const k=()=>{n.closeOnPressEscape&&(t(UPDATE_MODEL_EVENT,!1),t("close",a.value))},x=e=>{r.value=e},S=useSlots();return provide(tourKey,{currentStep:i,current:a,total:r,showClose:toRef$1(n,"showClose"),closeIcon:toRef$1(n,"closeIcon"),mergedType:g,ns:o,slots:S,updateModelValue(e){t(UPDATE_MODEL_EVENT,e)},onClose(){t("close",a.value)},onFinish(){t("finish")},onChange(){t(CHANGE_EVENT,a.value)}}),(e,t)=>(openBlock(),createElementBlock(Fragment,null,[createVNode$1(unref(ElTeleport),{to:e.appendTo},{default:withCtx((()=>{var t,n;return[createBaseVNode("div",mergeProps({class:unref(s)},e.$attrs),[createVNode$1(ElTourMask,{visible:unref(p),fill:null==(t=unref(f))?void 0:t.color,style:normalizeStyle$1(null==(n=unref(f))?void 0:n.style),pos:unref(_),"z-index":unref(b),"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?(openBlock(),createBlock(ElTourContent,{key:unref(a),reference:unref(w),placement:unref(c),"show-arrow":unref(h),"z-index":unref(b),style:normalizeStyle$1(unref(u)),onClose:k},{default:withCtx((()=>[createVNode$1(unref(ElTourSteps),{current:unref(a),onUpdateTotal:x},{default:withCtx((()=>[renderSlot(e.$slots,"default")])),_:3},8,["current"])])),_:3},8,["reference","placement","show-arrow","z-index","style"])):createCommentVNode("v-if",!0)],16)]})),_:3},8,["to"]),createCommentVNode(" just for IDE "),createCommentVNode("v-if",!0)],64))}});var Tour=_export_sfc(_sfc_main$a,[["__file","tour.vue"]]);const tourStepProps=buildProps({target:{type:definePropType([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:iconPropType},showArrow:{type:Boolean,default:void 0},placement:tourContentProps.placement,mask:{type:definePropType([Boolean,Object]),default:void 0},contentStyle:{type:definePropType([Object])},prevButtonProps:{type:definePropType(Object)},nextButtonProps:{type:definePropType(Object)},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:void 0},type:{type:definePropType(String)}}),tourStepEmits={close:()=>!0},__default__$7=defineComponent({name:"ElTourStep"}),_sfc_main$9=defineComponent({...__default__$7,props:tourStepProps,emits:tourStepEmits,setup(e,{emit:t}){const n=e,{Close:o}=CloseComponents,{t:r}=useLocale(),{currentStep:i,current:a,total:l,showClose:s,closeIcon:c,mergedType:u,ns:d,slots:p,updateModelValue:f,onClose:h,onFinish:m,onChange:g}=inject(tourKey);watch(n,(e=>{i.value=e}),{immediate:!0});const v=computed((()=>{var e;return null!=(e=n.showClose)?e:s.value})),y=computed((()=>{var e,t;return null!=(t=null!=(e=n.closeIcon)?e:c.value)?t:o})),b=e=>{if(e)return omit(e,["children","onClick"])},_=()=>{var e,t;a.value-=1,(null==(e=n.prevButtonProps)?void 0:e.onClick)&&(null==(t=n.prevButtonProps)||t.onClick()),g()},w=()=>{var e;a.value>=l.value-1?k():a.value+=1,(null==(e=n.nextButtonProps)?void 0:e.onClick)&&n.nextButtonProps.onClick(),g()},k=()=>{x(),m()},x=()=>{f(!1),h(),t("close")};return(e,t)=>(openBlock(),createElementBlock(Fragment,null,[unref(v)?(openBlock(),createElementBlock("button",{key:0,"aria-label":"Close",class:normalizeClass(unref(d).e("closebtn")),type:"button",onClick:x},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(d).e("close"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(y))))])),_:1},8,["class"])],2)):createCommentVNode("v-if",!0),createBaseVNode("header",{class:normalizeClass([unref(d).e("header"),{"show-close":unref(s)}])},[renderSlot(e.$slots,"header",{},(()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(d).e("title"))},toDisplayString(e.title),3)]))],2),createBaseVNode("div",{class:normalizeClass(unref(d).e("body"))},[renderSlot(e.$slots,"default",{},(()=>[createBaseVNode("span",null,toDisplayString(e.description),1)]))],2),createBaseVNode("footer",{class:normalizeClass(unref(d).e("footer"))},[createBaseVNode("div",{class:normalizeClass(unref(d).b("indicators"))},[unref(p).indicators?(openBlock(),createBlock(resolveDynamicComponent(unref(p).indicators),{key:0,current:unref(a),total:unref(l)},null,8,["current","total"])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(l),((e,t)=>(openBlock(),createElementBlock("span",{key:e,class:normalizeClass([unref(d).b("indicator"),t===unref(a)?"is-active":""])},null,2)))),128))],2),createBaseVNode("div",{class:normalizeClass(unref(d).b("buttons"))},[unref(a)>0?(openBlock(),createBlock(unref(ElButton),mergeProps({key:0,size:"small",type:unref(u)},b(e.prevButtonProps),{onClick:_}),{default:withCtx((()=>{var t,n;return[createTextVNode(toDisplayString(null!=(n=null==(t=e.prevButtonProps)?void 0:t.children)?n:unref(r)("el.tour.previous")),1)]})),_:1},16,["type"])):createCommentVNode("v-if",!0),unref(a)<=unref(l)-1?(openBlock(),createBlock(unref(ElButton),mergeProps({key:1,size:"small",type:"primary"===unref(u)?"default":"primary"},b(e.nextButtonProps),{onClick:w}),{default:withCtx((()=>{var t,n;return[createTextVNode(toDisplayString(null!=(n=null==(t=e.nextButtonProps)?void 0:t.children)?n:unref(a)===unref(l)-1?unref(r)("el.tour.finish"):unref(r)("el.tour.next")),1)]})),_:1},16,["type"])):createCommentVNode("v-if",!0)],2)],2)],64))}});var TourStep=_export_sfc(_sfc_main$9,[["__file","step.vue"]]);const ElTour=withInstall(Tour,{TourStep:TourStep}),ElTourStep=withNoopInstall(TourStep),anchorProps=buildProps({container:{type:definePropType([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:definePropType(String),default:"default"},direction:{type:definePropType(String),default:"vertical"},selectScrollTop:{type:Boolean,default:!1}}),anchorEmits={change:e=>isString$4(e),click:(e,t)=>e instanceof MouseEvent&&(isString$4(t)||isUndefined(t))},anchorKey=Symbol("anchor"),getElement=e=>{if(!isClient||""===e)return null;if(isString$4(e))try{return document.querySelector(e)}catch(e2){return null}return e};function throttleByRaf(e){let t=0;const n=(...n)=>{t&&cAF(t),t=rAF((()=>{e(...n),t=0}))};return n.cancel=()=>{cAF(t),t=0},n}const __default__$6=defineComponent({name:"ElAnchor"}),_sfc_main$8=defineComponent({...__default__$6,props:anchorProps,emits:anchorEmits,setup(e,{expose:t,emit:n}){const o=e,r=ref(""),i=ref(null),a=ref(null),l=ref(),s={};let c=!1,u=0;const d=useNamespace("anchor"),p=computed((()=>[d.b(),"underline"===o.type?d.m("underline"):"",d.m(o.direction)])),f=e=>{r.value!==e&&(r.value=e,n(CHANGE_EVENT,e))};let h=null;const m=e=>{e&&(f(e),(e=>{if(!l.value)return;const t=getElement(e);if(!t)return;h&&h(),c=!0;const n=getScrollElement(t,l.value),r=getOffsetTopDistance(t,n),i=n.scrollHeight-n.clientHeight,a=Math.min(r-o.offset,i);h=animateScrollTo(l.value,u,a,o.duration,(()=>{setTimeout((()=>{c=!1}),20)}))})(e))},g=throttleByRaf((()=>{l.value&&(u=getScrollTop(l.value));const e=v();c||isUndefined(e)||f(e)})),v=()=>{if(!l.value)return;const e=getScrollTop(l.value),t=[];for(const n of Object.keys(s)){const e=getElement(n);if(!e)continue;const r=getScrollElement(e,l.value),i=getOffsetTopDistance(e,r);t.push({top:i-o.offset-o.bound,href:n})}t.sort(((e,t)=>e.top-t.top));for(let n=0;n<t.length;n++){const r=t[n],i=t[n+1];if(0===n&&0===e)return o.selectScrollTop?r.href:"";if(r.top<=e&&(!i||i.top>e))return r.href}},y=()=>{const e=getElement(o.container);!e||isWindow(e)?l.value=window:l.value=e};useEventListener(l,"scroll",g);const b=computed((()=>{if(!i.value||!a.value||!r.value)return{};const e=s[r.value];if(!e)return{};const t=i.value.getBoundingClientRect(),n=a.value.getBoundingClientRect(),l=e.getBoundingClientRect();if("horizontal"===o.direction){return{left:`${l.left-t.left}px`,width:`${l.width}px`,opacity:1}}return{top:`${l.top-t.top+(l.height-n.height)/2}px`,opacity:1}}));return onMounted((()=>{y();const e=decodeURIComponent(window.location.hash);getElement(e)?m(e):g()})),watch((()=>o.container),(()=>{y()})),provide(anchorKey,{ns:d,direction:o.direction,currentAnchor:r,addLink:e=>{s[e.href]=e.el},removeLink:e=>{delete s[e]},handleClick:(e,t)=>{n("click",e,t),m(t)}}),t({scrollTo:m}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"anchorRef",ref:i,class:normalizeClass(unref(p))},[e.marker?(openBlock(),createElementBlock("div",{key:0,ref_key:"markerRef",ref:a,class:normalizeClass(unref(d).e("marker")),style:normalizeStyle$1(unref(b))},null,6)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(d).e("list"))},[renderSlot(e.$slots,"default")],2)],2))}});var Anchor=_export_sfc(_sfc_main$8,[["__file","anchor.vue"]]);const anchorLinkProps=buildProps({title:String,href:String}),__default__$5=defineComponent({name:"ElAnchorLink"}),_sfc_main$7=defineComponent({...__default__$5,props:anchorLinkProps,setup(e){const t=e,n=ref(null),{ns:o,direction:r,currentAnchor:i,addLink:a,removeLink:l,handleClick:s}=inject(anchorKey),c=computed((()=>[o.e("link"),o.is("active",i.value===t.href)])),u=e=>{s(e,t.href)};return watch((()=>t.href),((e,t)=>{nextTick((()=>{t&&l(t),e&&a({href:e,el:n.value})}))})),onMounted((()=>{const{href:e}=t;e&&a({href:e,el:n.value})})),onBeforeUnmount((()=>{const{href:e}=t;e&&l(e)})),(e,t)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(o).e("item"))},[createBaseVNode("a",{ref_key:"linkRef",ref:n,class:normalizeClass(unref(c)),href:e.href,onClick:u},[renderSlot(e.$slots,"default",{},(()=>[createTextVNode(toDisplayString(e.title),1)]))],10,["href"]),e.$slots["sub-link"]&&"vertical"===unref(r)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(o).e("list"))},[renderSlot(e.$slots,"sub-link")],2)):createCommentVNode("v-if",!0)],2))}});var AnchorLink=_export_sfc(_sfc_main$7,[["__file","anchor-link.vue"]]);const ElAnchor=withInstall(Anchor,{AnchorLink:AnchorLink}),ElAnchorLink=withNoopInstall(AnchorLink),defaultProps={label:"label",value:"value",disabled:"disabled"},segmentedProps=buildProps({direction:{type:definePropType(String),default:"horizontal"},options:{type:definePropType(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:definePropType(Object),default:()=>defaultProps},block:Boolean,size:useSizeProp,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...useAriaProps(["ariaLabel"])}),segmentedEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e)||isNumber(e)||isBoolean(e),[CHANGE_EVENT]:e=>isString$4(e)||isNumber(e)||isBoolean(e)},__default__$4=defineComponent({name:"ElSegmented"}),_sfc_main$6=defineComponent({...__default__$4,props:segmentedProps,emits:segmentedEmits,setup(e,{emit:t}){const n=e,o=useNamespace("segmented"),r=useId(),i=useFormSize(),a=useFormDisabled(),{formItem:l}=useFormItem(),{inputId:s,isLabeledByFormItem:c}=useFormItemInputId(n,{formItemContext:l}),u=ref(null),d=useActiveElement(),p=reactive({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),f=computed((()=>({...defaultProps,...n.props}))),h=e=>isObject$8(e)?e[f.value.value]:e,m=e=>isObject$8(e)?e[f.value.label]:e,g=e=>!!(a.value||isObject$8(e)&&e[f.value.disabled]),v=e=>n.modelValue===h(e),y=e=>[o.e("item"),o.is("selected",v(e)),o.is("disabled",g(e))],b=()=>{if(!u.value)return;const e=u.value.querySelector(".is-selected"),t=u.value.querySelector(".is-selected input");if(!e||!t)return p.width=0,p.height=0,p.translateX=0,p.translateY=0,void(p.focusVisible=!1);const o=e.getBoundingClientRect();p.isInit=!0,"vertical"===n.direction?(p.height=o.height,p.translateY=e.offsetTop):(p.width=o.width,p.translateX=e.offsetLeft);try{p.focusVisible=t.matches(":focus-visible")}catch(e2){}},_=computed((()=>[o.b(),o.m(i.value),o.is("block",n.block)])),w=computed((()=>({width:"vertical"===n.direction?"100%":`${p.width}px`,height:"vertical"===n.direction?`${p.height}px`:"100%",transform:"vertical"===n.direction?`translateY(${p.translateY}px)`:`translateX(${p.translateX}px)`,display:p.isInit?"block":"none"}))),k=computed((()=>{return[o.e("item-selected"),o.is("disabled",g((e=n.modelValue,n.options.find((t=>h(t)===e))))),o.is("focus-visible",p.focusVisible)];var e})),x=computed((()=>n.name||r.value));return useResizeObserver(u,b),watch(d,b),watch((()=>n.modelValue),(()=>{var e;b(),n.validateEvent&&(null==(e=null==l?void 0:l.validate)||e.call(l,"change").catch((e=>debugWarn())))}),{flush:"post"}),(e,r)=>e.options.length?(openBlock(),createElementBlock("div",{key:0,id:unref(s),ref_key:"segmentedRef",ref:u,class:normalizeClass(unref(_)),role:"radiogroup","aria-label":unref(c)?void 0:e.ariaLabel||"segmented","aria-labelledby":unref(c)?unref(l).labelId:void 0},[createBaseVNode("div",{class:normalizeClass([unref(o).e("group"),unref(o).m(n.direction)])},[createBaseVNode("div",{style:normalizeStyle$1(unref(w)),class:normalizeClass(unref(k))},null,6),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.options,((n,r)=>(openBlock(),createElementBlock("label",{key:r,class:normalizeClass(y(n))},[createBaseVNode("input",{class:normalizeClass(unref(o).e("item-input")),type:"radio",name:unref(x),disabled:g(n),checked:v(n),onChange:e=>(e=>{const n=h(e);t(UPDATE_MODEL_EVENT,n),t(CHANGE_EVENT,n)})(n)},null,42,["name","disabled","checked","onChange"]),createBaseVNode("div",{class:normalizeClass(unref(o).e("item-label"))},[renderSlot(e.$slots,"default",{item:n},(()=>[createTextVNode(toDisplayString(m(n)),1)]))],2)],2)))),128))],2)],10,["id","aria-label","aria-labelledby"])):createCommentVNode("v-if",!0)}});var Segmented=_export_sfc(_sfc_main$6,[["__file","segmented.vue"]]);const ElSegmented=withInstall(Segmented),filterOption=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value).toLowerCase().includes(n)},getMentionCtx=(e,t,n)=>{const{selectionEnd:o}=e;if(null===o)return;const r=e.value,i=castArray$1(t);let a,l=-1;for(let s=o-1;s>=0;--s){const e=r[s];if(e!==n&&"\n"!==e&&"\r"!==e){if(i.includes(e)){const t=-1===l?o:l;a={pattern:r.slice(s+1,t),start:s+1,end:t,prefix:e,prefixIndex:s,splitIndex:l,selectionEnd:o};break}}else l=s}return a},getCursorPosition=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=null!==e.selectionStart?e.selectionStart:0,o=null!==e.selectionEnd?e.selectionEnd:0,r=t.useSelectionEnd?o:n;if(t.debug){const e=document.querySelector("#input-textarea-caret-position-mirror-div");(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}const i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);const a=i.style,l=window.getComputedStyle(e),s="INPUT"===e.nodeName;a.whiteSpace=s?"nowrap":"pre-wrap",s||(a.wordWrap="break-word"),a.position="absolute",t.debug||(a.visibility="hidden"),["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"].forEach((e=>{if(s&&"lineHeight"===e)if("border-box"===l.boxSizing){const e=Number.parseInt(l.height),t=Number.parseInt(l.paddingTop)+Number.parseInt(l.paddingBottom)+Number.parseInt(l.borderTopWidth)+Number.parseInt(l.borderBottomWidth),n=t+Number.parseInt(l.lineHeight);a.lineHeight=e>n?e-t+"px":e===n?l.lineHeight:"0"}else a.lineHeight=l.height;else a[e]=l[e]})),isFirefox()?e.scrollHeight>Number.parseInt(l.height)&&(a.overflowY="scroll"):a.overflow="hidden",i.textContent=e.value.slice(0,Math.max(0,r)),s&&i.textContent&&(i.textContent=i.textContent.replace(/\s/g," "));const c=document.createElement("span");c.textContent=e.value.slice(Math.max(0,r))||".",c.style.position="relative",c.style.left=-e.scrollLeft+"px",c.style.top=-e.scrollTop+"px",i.appendChild(c);const u={top:c.offsetTop+Number.parseInt(l.borderTopWidth),left:c.offsetLeft+Number.parseInt(l.borderLeftWidth),height:1.5*Number.parseInt(l.fontSize)};return t.debug?c.style.backgroundColor="#aaa":document.body.removeChild(i),u.left>=e.clientWidth&&(u.left=e.clientWidth),u},mentionProps=buildProps({...inputProps,options:{type:definePropType(Array),default:()=>[]},prefix:{type:definePropType([String,Array]),default:"@",validator:e=>isString$4(e)?1===e.length:e.every((e=>isString$4(e)&&1===e.length))},split:{type:String,default:" ",validator:e=>1===e.length},filterOption:{type:definePropType([Boolean,Function]),default:()=>filterOption,validator:e=>!1===e||isFunction$5(e)},placement:{type:definePropType(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:definePropType(Function)},modelValue:String,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})}}),mentionEmits={[UPDATE_MODEL_EVENT]:e=>isString$4(e),input:e=>isString$4(e),search:(e,t)=>isString$4(e)&&isString$4(t),select:(e,t)=>isString$4(e.value)&&isString$4(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},mentionDropdownProps=buildProps({options:{type:definePropType(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),mentionDropdownEmits={select:e=>isString$4(e.value)},__default__$3=defineComponent({name:"ElMentionDropdown"}),_sfc_main$5=defineComponent({...__default__$3,props:mentionDropdownProps,emits:mentionDropdownEmits,setup(e,{expose:t,emit:n}){const o=e,r=useNamespace("mention"),{t:i}=useLocale(),a=ref(-1),l=ref(),s=ref(),c=ref(),u=(e,t)=>[r.be("dropdown","item"),r.is("hovering",a.value===t),r.is("disabled",e.disabled||o.disabled)],d=computed((()=>o.disabled||o.options.every((e=>e.disabled)))),p=computed((()=>o.options[a.value])),f=e=>{const{options:t}=o;if(0===t.length||d.value)return;"next"===e?(a.value++,a.value===t.length&&(a.value=0)):"prev"===e&&(a.value--,a.value<0&&(a.value=t.length-1));const n=t[a.value];n.disabled?f(e):nextTick((()=>h(n)))},h=e=>{var t,n,i,a;const{options:u}=o,d=u.findIndex((t=>t.value===e.value)),p=null==(t=s.value)?void 0:t[d];if(p){const e=null==(i=null==(n=c.value)?void 0:n.querySelector)?void 0:i.call(n,`.${r.be("dropdown","wrap")}`);e&&scrollIntoView(e,p)}null==(a=l.value)||a.handleScroll()};return watch((()=>o.options),(()=>{d.value||0===o.options.length?a.value=-1:a.value=0}),{immediate:!0}),t({hoveringIndex:a,navigateOptions:f,selectHoverOption:()=>{p.value&&n("select",p.value)},hoverOption:p}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"dropdownRef",ref:c,class:normalizeClass(unref(r).b("dropdown"))},[e.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).be("dropdown","header"))},[renderSlot(e.$slots,"header")],2)):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElScrollbar),{id:e.contentId,ref_key:"scrollbarRef",ref:l,tag:"ul","wrap-class":unref(r).be("dropdown","wrap"),"view-class":unref(r).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.options,((t,r)=>(openBlock(),createElementBlock("li",{id:`${e.contentId}-${r}`,ref_for:!0,ref_key:"optionRefs",ref:s,key:r,class:normalizeClass(u(t,r)),role:"option","aria-disabled":t.disabled||e.disabled||void 0,"aria-selected":a.value===r,onMousemove:e=>(e=>{a.value=e})(r),onClick:withModifiers((e=>(e=>{e.disabled||o.disabled||n("select",e)})(t)),["stop"])},[renderSlot(e.$slots,"label",{item:t,index:r},(()=>{var e;return[createBaseVNode("span",null,toDisplayString(null!=(e=t.label)?e:t.value),1)]}))],42,["id","aria-disabled","aria-selected","onMousemove","onClick"])))),128))])),_:3},8,["id","wrap-class","view-class","aria-label"]),[[vShow,e.options.length>0&&!e.loading]]),e.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(r).be("dropdown","loading"))},[renderSlot(e.$slots,"loading",{},(()=>[createTextVNode(toDisplayString(unref(i)("el.mention.loading")),1)]))],2)):createCommentVNode("v-if",!0),e.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(r).be("dropdown","footer"))},[renderSlot(e.$slots,"footer")],2)):createCommentVNode("v-if",!0)],2))}});var ElMentionDropdown=_export_sfc(_sfc_main$5,[["__file","mention-dropdown.vue"]]);const __default__$2=defineComponent({name:"ElMention",inheritAttrs:!1}),_sfc_main$4=defineComponent({...__default__$2,props:mentionProps,emits:mentionEmits,setup(e,{expose:t,emit:n}){const o=e,r=computed((()=>pick(o,Object.keys(inputProps)))),i=useNamespace("mention"),a=useFormDisabled(),l=useId(),s=ref(),c=ref(),u=ref(),d=ref(!1),p=ref(),f=ref(),h=computed((()=>o.showArrow?o.placement:`${o.placement}-start`)),m=computed((()=>o.showArrow?["bottom","top"]:["bottom-start","top-start"])),g=computed((()=>{const{filterOption:e,options:t}=o;return f.value&&e?t.filter((t=>e(f.value.pattern,t))):t})),v=computed((()=>d.value&&(!!g.value.length||o.loading))),y=computed((()=>{var e;return`${l.value}-${null==(e=u.value)?void 0:e.hoveringIndex}`})),b=e=>{n(UPDATE_MODEL_EVENT,e),n(INPUT_EVENT,e),C()},_=e=>{var t,r,i,a;if("code"in e&&!(null==(t=s.value)?void 0:t.isComposing))switch(e.code){case EVENT_CODE.left:case EVENT_CODE.right:C();break;case EVENT_CODE.up:case EVENT_CODE.down:if(!d.value)return;e.preventDefault(),null==(r=u.value)||r.navigateOptions(e.code===EVENT_CODE.up?"prev":"next");break;case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:if(!d.value)return;e.preventDefault(),(null==(i=u.value)?void 0:i.hoverOption)?null==(a=u.value)||a.selectHoverOption():d.value=!1;break;case EVENT_CODE.esc:if(!d.value)return;e.preventDefault(),d.value=!1;break;case EVENT_CODE.backspace:if(o.whole&&f.value){const{splitIndex:t,selectionEnd:r,pattern:i,prefixIndex:a,prefix:l}=f.value,s=S();if(!s)return;const c=s.value,u=o.options.find((e=>e.value===i));if((isFunction$5(o.checkIsWhole)?o.checkIsWhole(i,l):u)&&-1!==t&&t+1===r){e.preventDefault();const o=c.slice(0,a)+c.slice(t+1);n(UPDATE_MODEL_EVENT,o),n(INPUT_EVENT,o);const r=a;nextTick((()=>{s.selectionStart=r,s.selectionEnd=r,T()}))}}}},{wrapperRef:w}=useFocusController(s,{beforeFocus:()=>a.value,afterFocus(){C()},beforeBlur(e){var t;return null==(t=c.value)?void 0:t.isFocusInsideContent(e)},afterBlur(){d.value=!1}}),k=()=>{C()},x=e=>{if(!f.value)return;const t=S();if(!t)return;const r=t.value,{split:i}=o,a=r.slice(f.value.end),l=a.startsWith(i),s=`${e.value}${l?"":i}`,c=r.slice(0,f.value.start)+s+a;n(UPDATE_MODEL_EVENT,c),n(INPUT_EVENT,c),n("select",e,f.value.prefix);const u=f.value.start+s.length+(l?1:0);nextTick((()=>{t.selectionStart=u,t.selectionEnd=u,t.focus(),T()}))},S=()=>{var e,t;return"textarea"===o.type?null==(e=s.value)?void 0:e.textarea:null==(t=s.value)?void 0:t.input},C=()=>{setTimeout((()=>{E(),T(),nextTick((()=>{var e;return null==(e=c.value)?void 0:e.updatePopper()}))}),0)},E=()=>{const e=S();if(!e)return;const t=getCursorPosition(e),n=e.getBoundingClientRect(),o=s.value.$el.getBoundingClientRect();p.value={position:"absolute",width:0,height:`${t.height}px`,left:t.left+n.left-o.left+"px",top:t.top+n.top-o.top+"px"}},T=()=>{const e=S();if(document.activeElement!==e)return void(d.value=!1);const{prefix:t,split:r}=o;if(f.value=getMentionCtx(e,t,r),f.value&&-1===f.value.splitIndex)return d.value=!0,void n("search",f.value.pattern,f.value.prefix);d.value=!1};return t({input:s,tooltip:c,dropdownVisible:v}),(e,t)=>(openBlock(),createElementBlock("div",{ref_key:"wrapperRef",ref:w,class:normalizeClass(unref(i).b())},[createVNode$1(unref(ElInput),mergeProps(mergeProps(unref(r),e.$attrs),{ref_key:"elInputRef",ref:s,"model-value":e.modelValue,disabled:unref(a),role:unref(v)?"combobox":void 0,"aria-activedescendant":unref(v)?unref(y)||"":void 0,"aria-controls":unref(v)?unref(l):void 0,"aria-expanded":unref(v)||void 0,"aria-label":e.ariaLabel,"aria-autocomplete":unref(v)?"none":void 0,"aria-haspopup":unref(v)?"listbox":void 0,onInput:b,onKeydown:_,onMousedown:k}),createSlots({_:2},[renderList(e.$slots,((t,n)=>({name:n,fn:withCtx((t=>[renderSlot(e.$slots,n,normalizeProps(guardReactiveProps(t)))]))})))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),createVNode$1(unref(ElTooltip),{ref_key:"tooltipRef",ref:c,visible:unref(v),"popper-class":[unref(i).e("popper"),e.popperClass],"popper-options":e.popperOptions,placement:unref(h),"fallback-placements":unref(m),effect:"light",pure:"",offset:e.offset,"show-arrow":e.showArrow},{default:withCtx((()=>[createBaseVNode("div",{style:normalizeStyle$1(p.value)},null,4)])),content:withCtx((()=>{var t;return[createVNode$1(ElMentionDropdown,{ref_key:"dropdownRef",ref:u,options:unref(g),disabled:unref(a),loading:e.loading,"content-id":unref(l),"aria-label":e.ariaLabel,onSelect:x,onClick:withModifiers(null==(t=s.value)?void 0:t.focus,["stop"])},createSlots({_:2},[renderList(e.$slots,((t,n)=>({name:n,fn:withCtx((t=>[renderSlot(e.$slots,n,normalizeProps(guardReactiveProps(t)))]))})))]),1032,["options","disabled","loading","content-id","aria-label","onClick"])]})),_:3},8,["visible","popper-class","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});var Mention=_export_sfc(_sfc_main$4,[["__file","mention.vue"]]);const ElMention=withInstall(Mention);var Components=[ElAffix,ElAlert,ElAutocomplete,ElAutoResizer,ElAvatar,ElBacktop,ElBadge,ElBreadcrumb,ElBreadcrumbItem,ElButton,ElButtonGroup$1,ElCalendar,ElCard,ElCarousel,ElCarouselItem,ElCascader,ElCascaderPanel,ElCheckTag,ElCheckbox,ElCheckboxButton,ElCheckboxGroup$1,ElCol,ElCollapse,ElCollapseItem,ElCollapseTransition,ElColorPicker,ElConfigProvider,ElContainer,ElAside,ElFooter,ElHeader,ElMain,ElDatePicker,ElDescriptions,ElDescriptionsItem,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElEmpty,ElForm,ElFormItem,ElIcon,ElImage,ElImageViewer,ElInput,ElInputNumber,ElInputTag,ElLink,ElMenu,ElMenuItem,ElMenuItemGroup,ElSubMenu,ElPageHeader,ElPagination,ElPopconfirm,ElPopover,ElPopper,ElProgress,ElRadio,ElRadioButton,ElRadioGroup,ElRate,ElResult,ElRow,ElScrollbar,ElSelect,ElOption,ElOptionGroup,ElSelectV2,ElSkeleton,ElSkeletonItem,ElSlider,ElSpace,ElStatistic,ElCountdown,ElSteps,ElStep,ElSwitch,ElTable,ElTableColumn,ElTableV2,ElTabs,ElTabPane,ElTag,ElText,ElTimePicker,ElTimeSelect,ElTimeline,ElTimelineItem,ElTooltip,ElTooltipV2,ElTransfer,ElTree,ElTreeSelect,ElTreeV2,ElUpload,ElWatermark,ElTour,ElTourStep,ElAnchor,ElAnchorLink,ElSegmented,ElMention];const SCOPE="ElInfiniteScroll",CHECK_INTERVAL=50,DEFAULT_DELAY=200,DEFAULT_DISTANCE=0,attributes={delay:{type:Number,default:DEFAULT_DELAY},distance:{type:Number,default:DEFAULT_DISTANCE},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},getScrollOptions=(e,t)=>Object.entries(attributes).reduce(((n,[o,r])=>{var i,a;const{type:l,default:s}=r,c=e.getAttribute(`infinite-scroll-${o}`);let u=null!=(a=null!=(i=t[c])?i:c)?a:s;return u="false"!==u&&u,u=l(u),n[o]=Number.isNaN(u)?s:u,n}),{}),destroyObserver=e=>{const{observer:t}=e[SCOPE];t&&(t.disconnect(),delete e[SCOPE].observer)},handleScroll=(e,t)=>{const{container:n,containerEl:o,instance:r,observer:i,lastScrollTop:a}=e[SCOPE],{disabled:l,distance:s}=getScrollOptions(e,r),{clientHeight:c,scrollHeight:u,scrollTop:d}=o,p=d-a;if(e[SCOPE].lastScrollTop=d,i||l||p<0)return;let f=!1;if(n===e)f=u-(c+d)<=s;else{const{clientTop:t,scrollHeight:n}=e;f=d+c>=getOffsetTopDistance(e,o)+t+n-s}f&&t.call(r)};function checkFull(e,t){const{containerEl:n,instance:o}=e[SCOPE],{disabled:r}=getScrollOptions(e,o);r||0===n.clientHeight||(n.scrollHeight<=n.clientHeight?t.call(o):destroyObserver(e))}const InfiniteScroll={async mounted(e,t){const{instance:n,value:o}=t;isFunction$5(o)||throwError(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:r,immediate:i}=getScrollOptions(e,n),a=getScrollContainer(e,!0),l=a===window?document.documentElement:a,s=throttle$3(handleScroll.bind(null,e,o),r);if(a){if(e[SCOPE]={instance:n,container:a,containerEl:l,delay:r,cb:o,onScroll:s,lastScrollTop:l.scrollTop},i){const t=new MutationObserver(throttle$3(checkFull.bind(null,e,o),CHECK_INTERVAL));e[SCOPE].observer=t,t.observe(e,{childList:!0,subtree:!0}),checkFull(e,o)}a.addEventListener("scroll",s)}},unmounted(e){if(!e[SCOPE])return;const{container:t,onScroll:n}=e[SCOPE];null==t||t.removeEventListener("scroll",n),destroyObserver(e)},async updated(e){if(e[SCOPE]){const{containerEl:t,cb:n,observer:o}=e[SCOPE];t.clientHeight&&o&&checkFull(e,n)}else await nextTick()}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=e=>{e.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(e,t){let n;const o=ref(!1),r=reactive({...e,originalPosition:"",originalOverflow:"",visible:!1});function i(){var e,t;null==(t=null==(e=s.$el)?void 0:e.parentNode)||t.removeChild(s.$el)}function a(){if(!o.value)return;const e=r.parent;o.value=!1,e.vLoadingAddClassList=void 0,function(){const e=r.parent,t=s.ns;if(!e.vLoadingAddClassList){let n=e.getAttribute("loading-number");n=Number.parseInt(n)-1,n?e.setAttribute("loading-number",n.toString()):(removeClass(e,t.bm("parent","relative")),e.removeAttribute("loading-number")),removeClass(e,t.bm("parent","hidden"))}i(),l.unmount()}()}const l=createApp(defineComponent({name:"ElLoading",setup(e,{expose:t}){const{ns:n,zIndex:o}=useGlobalComponentSettings("loading");return t({ns:n,zIndex:o}),()=>{const e=r.spinner||r.svg,t=h$5("svg",{class:"circular",viewBox:r.svgViewBox?r.svgViewBox:"0 0 50 50",...e?{innerHTML:e}:{}},[h$5("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),o=r.text?h$5("p",{class:n.b("text")},[r.text]):void 0;return h$5(Transition,{name:n.b("fade"),onAfterLeave:a},{default:withCtx((()=>[withDirectives(createVNode$1("div",{style:{backgroundColor:r.background||""},class:[n.b("mask"),r.customClass,r.fullscreen?"is-fullscreen":""]},[h$5("div",{class:n.b("spinner")},[t,o])]),[[vShow,r.visible]])]))})}}}));Object.assign(l._context,null!=t?t:{});const s=l.mount(document.createElement("div"));return{...toRefs(r),setText:function(e){r.text=e},removeElLoadingChild:i,close:function(){var t;e.beforeClose&&!e.beforeClose()||(o.value=!0,clearTimeout(n),n=setTimeout(a,400),r.visible=!1,null==(t=e.closed)||t.call(e))},handleAfterLeave:a,vm:s,get $el(){return s.$el}}}let fullscreenInstance;const Loading=function(e={}){if(!isClient)return;const t=resolveOptions(e);if(t.fullscreen&&fullscreenInstance)return fullscreenInstance;const n=createLoadingComponent({...t,closed:()=>{var e;null==(e=t.closed)||e.call(t),t.fullscreen&&(fullscreenInstance=void 0)}},Loading._context);addStyle(t,t.parent,n),addClassList(t,t.parent,n),t.parent.vLoadingAddClassList=()=>addClassList(t,t.parent,n);let o=t.parent.getAttribute("loading-number");return o=o?`${Number.parseInt(o)+1}`:"1",t.parent.setAttribute("loading-number",o),t.parent.appendChild(n.$el),nextTick((()=>n.visible.value=t.visible)),t.fullscreen&&(fullscreenInstance=n),n},resolveOptions=e=>{var t,n,o,r;let i;return i=isString$4(e.target)?null!=(t=document.querySelector(e.target))?t:document.body:e.target||document.body,{parent:i===document.body||e.body?document.body:i,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:i===document.body&&(null==(n=e.fullscreen)||n),lock:null!=(o=e.lock)&&o,customClass:e.customClass||"",visible:null==(r=e.visible)||r,beforeClose:e.beforeClose,closed:e.closed,target:i}},addStyle=async(e,t,n)=>{const{nextZIndex:o}=n.vm.zIndex||n.vm._.exposed.zIndex,r={};if(e.fullscreen)n.originalPosition.value=getStyle(document.body,"position"),n.originalOverflow.value=getStyle(document.body,"overflow"),r.zIndex=o();else if(e.parent===document.body){n.originalPosition.value=getStyle(document.body,"position"),await nextTick();for(const t of["top","left"]){const n="top"===t?"scrollTop":"scrollLeft";r[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-Number.parseInt(getStyle(document.body,`margin-${t}`),10)+"px"}for(const t of["height","width"])r[t]=`${e.target.getBoundingClientRect()[t]}px`}else n.originalPosition.value=getStyle(t,"position");for(const[i,a]of Object.entries(r))n.$el.style[i]=a},addClassList=(e,t,n)=>{const o=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?removeClass(t,o.bm("parent","relative")):addClass(t,o.bm("parent","relative")),e.fullscreen&&e.lock?addClass(t,o.bm("parent","hidden")):removeClass(t,o.bm("parent","hidden"))};Loading._context=null;const INSTANCE_KEY=Symbol("ElLoading"),createInstance=(e,t)=>{var n,o,r,i;const a=t.instance,l=e=>isObject$8(t.value)?t.value[e]:void 0,s=t=>(e=>{const t=isString$4(e)&&(null==a?void 0:a[e])||e;return t?ref(t):t})(l(t)||e.getAttribute(`element-loading-${hyphenate(t)}`)),c=null!=(n=l("fullscreen"))?n:t.modifiers.fullscreen,u={text:s("text"),svg:s("svg"),svgViewBox:s("svgViewBox"),spinner:s("spinner"),background:s("background"),customClass:s("customClass"),fullscreen:c,target:null!=(o=l("target"))?o:c?void 0:e,body:null!=(r=l("body"))?r:t.modifiers.body,lock:null!=(i=l("lock"))?i:t.modifiers.lock},d=Loading(u);d._context=vLoading._context,e[INSTANCE_KEY]={options:u,instance:d}},updateOptions=(e,t)=>{for(const n of Object.keys(t))isRef(t[n])&&(t[n].value=e[n])},vLoading={mounted(e,t){t.value&&createInstance(e,t)},updated(e,t){const n=e[INSTANCE_KEY];t.oldValue!==t.value&&(t.value&&!t.oldValue?createInstance(e,t):t.value&&t.oldValue?isObject$8(t.value)&&updateOptions(t.value,n.options):null==n||n.instance.close())},unmounted(e){var t;null==(t=e[INSTANCE_KEY])||t.instance.close(),e[INSTANCE_KEY]=null},_context:null},ElLoading={install(e){Loading._context=e._context,vLoading._context=e._context,e.directive("loading",vLoading),e.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),default:messageDefaults.onClose},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},plain:{type:Boolean,default:messageDefaults.plain},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances=shallowReactive([]),getInstance=e=>{const t=instances.findIndex((t=>t.id===e)),n=instances[t];let o;return t>0&&(o=instances[t-1]),{current:n,prev:o}},getLastOffset=e=>{const{prev:t}=getInstance(e);return t?t.vm.exposed.bottom.value:0},getOffsetOrSpace=(e,t)=>instances.findIndex((t=>t.id===e))>0?16:t,__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$3=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(e,{expose:t,emit:n}){const o=e,{Close:r}=TypeComponents,i=ref(!1),{ns:a,zIndex:l}=useGlobalComponentSettings("message"),{currentZIndex:s,nextZIndex:c}=l,u=ref(),d=ref(!1),p=ref(0);let f;const h=computed((()=>o.type?"error"===o.type?"danger":o.type:"info")),m=computed((()=>{const e=o.type;return{[a.bm("icon",e)]:e&&TypeComponentsMap[e]}})),g=computed((()=>o.icon||TypeComponentsMap[o.type]||"")),v=computed((()=>getLastOffset(o.id))),y=computed((()=>getOffsetOrSpace(o.id,o.offset)+v.value)),b=computed((()=>p.value+y.value)),_=computed((()=>({top:`${y.value}px`,zIndex:s.value})));function w(){0!==o.duration&&({stop:f}=useTimeoutFn((()=>{x()}),o.duration))}function k(){null==f||f()}function x(){d.value=!1,nextTick((()=>{var e;i.value||(null==(e=o.onClose)||e.call(o),n("destroy"))}))}return onMounted((()=>{w(),c(),d.value=!0})),watch((()=>o.repeatNum),(()=>{k(),w()})),useEventListener(document,"keydown",(function({code:e}){e===EVENT_CODE.esc&&x()})),useResizeObserver(u,(()=>{p.value=u.value.getBoundingClientRect().height})),t({visible:d,bottom:b,close:x}),(e,t)=>(openBlock(),createBlock(Transition,{name:unref(a).b("fade"),onBeforeEnter:e=>i.value=!0,onBeforeLeave:e.onClose,onAfterLeave:t=>e.$emit("destroy"),persisted:""},{default:withCtx((()=>[withDirectives(createBaseVNode("div",{id:e.id,ref_key:"messageRef",ref:u,class:normalizeClass([unref(a).b(),{[unref(a).m(e.type)]:e.type},unref(a).is("closable",e.showClose),unref(a).is("plain",e.plain),e.customClass]),style:normalizeStyle$1(unref(_)),role:"alert",onMouseenter:k,onMouseleave:w},[e.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:e.repeatNum,type:unref(h),class:normalizeClass(unref(a).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(g)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(a).e("icon"),unref(m)])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(g))))])),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(a).e("content")),innerHTML:e.message},null,10,["innerHTML"])],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(a).e("content"))},toDisplayString(e.message),3))])),e.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(a).e("closeBtn")),onClick:withModifiers(x,["stop"])},{default:withCtx((()=>[createVNode$1(unref(r))])),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,["id"]),[[vShow,d.value]])])),_:3},8,["name","onBeforeEnter","onBeforeLeave","onAfterLeave"]))}});var MessageConstructor=_export_sfc(_sfc_main$3,[["__file","message.vue"]]);let seed$1=1;const normalizeOptions=e=>{const t=!e||isString$4(e)||isVNode(e)||isFunction$5(e)?{message:e}:e,n={...messageDefaults,...t};if(n.appendTo){if(isString$4(n.appendTo)){let e=document.querySelector(n.appendTo);isElement$1(e)||(e=document.body),n.appendTo=e}}else n.appendTo=document.body;return isBoolean(messageConfig.grouping)&&!n.grouping&&(n.grouping=messageConfig.grouping),isNumber(messageConfig.duration)&&3e3===n.duration&&(n.duration=messageConfig.duration),isNumber(messageConfig.offset)&&16===n.offset&&(n.offset=messageConfig.offset),isBoolean(messageConfig.showClose)&&!n.showClose&&(n.showClose=messageConfig.showClose),n},closeMessage=e=>{const t=instances.indexOf(e);if(-1===t)return;instances.splice(t,1);const{handler:n}=e;n.close()},createMessage=({appendTo:e,...t},n)=>{const o="message_"+seed$1++,r=t.onClose,i=document.createElement("div"),a={...t,id:o,onClose:()=>{null==r||r(),closeMessage(u)},onDestroy:()=>{render$2(null,i)}},l=createVNode$1(MessageConstructor,a,isFunction$5(a.message)||isVNode(a.message)?{default:isFunction$5(a.message)?a.message:()=>a.message}:null);l.appContext=n||message._context,render$2(l,i),e.appendChild(i.firstElementChild);const s=l.component,c={close:()=>{s.exposed.close()}},u={id:o,vnode:l,vm:s,handler:c,props:l.component.props};return u},message=(e={},t)=>{if(!isClient)return{close:()=>{}};const n=normalizeOptions(e);if(n.grouping&&instances.length){const e=instances.find((({vnode:e})=>{var t;return(null==(t=e.props)?void 0:t.message)===n.message}));if(e)return e.props.repeatNum+=1,e.props.type=n.type,e.handler}if(isNumber(messageConfig.max)&&instances.length>=messageConfig.max)return{close:()=>{}};const o=createMessage(n,t);return instances.push(o),o.handler};function closeAll$1(e){const t=[...instances];for(const n of t)e&&e!==n.props.type||n.handler.close()}messageTypes.forEach((e=>{message[e]=(t={},n)=>{const o=normalizeOptions(t);return message({...o,type:e},n)}})),message.closeAll=closeAll$1,message._context=null;const ElMessage=withInstallFunction(message,"$message"),FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=e=>{if(0===FOCUS_STACK.length)return;const t=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(t.length>0&&e.code===EVENT_CODE.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},TrapFocus={beforeMount(e){e[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(e),FOCUS_STACK.push(e),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(e){nextTick((()=>{e[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(e)}))},unmounted(){FOCUS_STACK.shift(),0===FOCUS_STACK.length&&document.removeEventListener("keydown",FOCUS_HANDLER)}},_sfc_main$2=defineComponent({name:"ElMessageBox",directives:{TrapFocus:TrapFocus},components:{ElButton:ElButton,ElFocusTrap:ElFocusTrap,ElInput:ElInput,ElOverlay:ElOverlay,ElIcon:ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:o,ns:r,size:i}=useGlobalComponentSettings("message-box",computed((()=>e.buttonSize))),{t:a}=n,{nextZIndex:l}=o,s=ref(!1),c=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:markRaw(loading_default),cancelButtonLoadingIcon:markRaw(loading_default),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:l()}),u=computed((()=>{const e=c.type;return{[r.bm("icon",e)]:e&&TypeComponentsMap[e]}})),d=useId(),p=useId(),f=computed((()=>{const e=c.type;return c.icon||e&&TypeComponentsMap[e]||""})),h=computed((()=>!!c.message)),m=ref(),g=ref(),v=ref(),y=ref(),b=ref(),_=computed((()=>c.confirmButtonClass));watch((()=>c.inputValue),(async t=>{await nextTick(),"prompt"===e.boxType&&t&&T()}),{immediate:!0}),watch((()=>s.value),(t=>{var n,o;t&&("prompt"!==e.boxType&&(c.autofocus?v.value=null!=(o=null==(n=b.value)?void 0:n.$el)?o:m.value:v.value=m.value),c.zIndex=l()),"prompt"===e.boxType&&(t?nextTick().then((()=>{var e;y.value&&y.value.$el&&(c.autofocus?v.value=null!=(e=A())?e:m.value:v.value=m.value)})):(c.editorErrorMessage="",c.validateError=!1))}));const w=computed((()=>e.draggable)),k=computed((()=>e.overflow));function x(){s.value&&(s.value=!1,nextTick((()=>{c.action&&t("action",c.action)})))}useDraggable(m,g,w,k),onMounted((async()=>{await nextTick(),e.closeOnHashChange&&window.addEventListener("hashchange",x)})),onBeforeUnmount((()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",x)}));const S=()=>{e.closeOnClickModal&&E(c.distinguishCancelAndClose?"close":"cancel")},C=useSameTarget(S),E=t=>{var n;("prompt"!==e.boxType||"confirm"!==t||T())&&(c.action=t,c.beforeClose?null==(n=c.beforeClose)||n.call(c,t,c,x):x())},T=()=>{if("prompt"===e.boxType){const e=c.inputPattern;if(e&&!e.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||a("el.messagebox.error"),c.validateError=!0,!1;const t=c.inputValidator;if(isFunction$5(t)){const e=t(c.inputValue);if(!1===e)return c.editorErrorMessage=c.inputErrorMessage||a("el.messagebox.error"),c.validateError=!0,!1;if(isString$4(e))return c.editorErrorMessage=e,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},A=()=>{var e,t;const n=null==(e=y.value)?void 0:e.$refs;return null!=(t=null==n?void 0:n.input)?t:null==n?void 0:n.textarea},$=()=>{E("close")};return e.lockScroll&&useLockscreen(s),{...toRefs(c),ns:r,overlayEvent:C,visible:s,hasMessage:h,typeClass:u,contentId:d,inputId:p,btnSize:i,iconComponent:f,confirmButtonClasses:_,rootRef:m,focusStartRef:v,headerRef:g,inputRef:y,confirmRef:b,doClose:x,handleClose:$,onCloseRequested:()=>{e.closeOnPressEscape&&$()},handleWrapperClick:S,handleInputEnter:e=>{if("textarea"!==c.inputType)return e.preventDefault(),E("confirm")},handleAction:E,t:a}}});function _sfc_render(e,t,n,o,r,i){const a=resolveComponent("el-icon"),l=resolveComponent("el-input"),s=resolveComponent("el-button"),c=resolveComponent("el-focus-trap"),u=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:t=>e.$emit("vanish"),persisted:""},{default:withCtx((()=>[withDirectives(createVNode$1(u,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:withCtx((()=>[createBaseVNode("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:normalizeClass(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[createVNode$1(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:withCtx((()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:normalizeStyle$1(e.customStyle),tabindex:"-1",onClick:withModifiers((()=>{}),["stop"])},[null!==e.title&&void 0!==e.title?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass([e.ns.e("header"),{"show-close":e.showClose}])},[createBaseVNode("div",{class:normalizeClass(e.ns.e("title"))},[e.iconComponent&&e.center?(openBlock(),createBlock(a,{key:0,class:normalizeClass([e.ns.e("status"),e.typeClass])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.iconComponent)))])),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(e.title),1)],2),e.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),onKeydown:withKeys(withModifiers((t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),["prevent"]),["enter"])},[createVNode$1(a,{class:normalizeClass(e.ns.e("close"))},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.closeIcon||"close")))])),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:e.contentId,class:normalizeClass(e.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(openBlock(),createBlock(a,{key:0,class:normalizeClass([e.ns.e("status"),e.typeClass])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.iconComponent)))])),_:1},8,["class"])):createCommentVNode("v-if",!0),e.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(e.ns.e("message"))},[renderSlot(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:withCtx((()=>[createTextVNode(toDisplayString(e.dangerouslyUseHTMLString?"":e.message),1)])),_:1},8,["for"]))]))],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(e.ns.e("input"))},[createVNode$1(l,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t=>e.inputValue=t,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:normalizeClass({invalid:e.validateError}),onKeydown:withKeys(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(e.ns.e("errormsg")),style:normalizeStyle$1({visibility:e.editorErrorMessage?"visible":"hidden"})},toDisplayString(e.editorErrorMessage),7)],2),[[vShow,e.showInput]])],10,["id"]),createBaseVNode("div",{class:normalizeClass(e.ns.e("btns"))},[e.showCancelButton?(openBlock(),createBlock(s,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:normalizeClass([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t=>e.handleAction("cancel"),onKeydown:withKeys(withModifiers((t=>e.handleAction("cancel")),["prevent"]),["enter"])},{default:withCtx((()=>[createTextVNode(toDisplayString(e.cancelButtonText||e.t("el.messagebox.cancel")),1)])),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(s,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:normalizeClass([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t=>e.handleAction("confirm"),onKeydown:withKeys(withModifiers((t=>e.handleAction("confirm")),["prevent"]),["enter"])},{default:withCtx((()=>[createTextVNode(toDisplayString(e.confirmButtonText||e.t("el.messagebox.confirm")),1)])),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[vShow,e.showConfirmButton]])],2)],14,["onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["z-index","overlay-class","mask"]),[[vShow,e.visible]])])),_:3},8,["onAfterLeave"])}var MessageBoxConstructor=_export_sfc(_sfc_main$2,[["render",_sfc_render],["__file","index.vue"]]);const messageInstance=new Map,getAppendToElement=e=>{let t=document.body;return e.appendTo&&(isString$4(e.appendTo)&&(t=document.querySelector(e.appendTo)),isElement$1(e.appendTo)&&(t=e.appendTo),isElement$1(t)||(t=document.body)),t},initInstance=(e,t,n=null)=>{const o=createVNode$1(MessageBoxConstructor,e,isFunction$5(e.message)||isVNode(e.message)?{default:isFunction$5(e.message)?e.message:()=>e.message}:null);return o.appContext=n,render$2(o,t),getAppendToElement(e).appendChild(t.firstElementChild),o.component},genContainer=()=>document.createElement("div"),showMessage=(e,t)=>{const n=genContainer();e.onVanish=()=>{render$2(null,n),messageInstance.delete(r)},e.onAction=t=>{const n=messageInstance.get(r);let i;i=e.showInput?{value:r.inputValue,action:t}:t,e.callback?e.callback(i,o.proxy):"cancel"===t||"close"===t?e.distinguishCancelAndClose&&"cancel"!==t?n.reject("close"):n.reject("cancel"):n.resolve(i)};const o=initInstance(e,n,t),r=o.proxy;for(const i in e)hasOwn$1(e,i)&&!hasOwn$1(r.$props,i)&&("closeIcon"===i&&isObject$8(e[i])?r[i]=markRaw(e[i]):r[i]=e[i]);return r.visible=!0,r};function MessageBox(e,t=null){if(!isClient)return Promise.reject();let n;return isString$4(e)||isVNode(e)?e={message:e}:n=e.callback,new Promise(((o,r)=>{const i=showMessage(e,null!=t?t:MessageBox._context);messageInstance.set(i,{options:e,callback:n,resolve:o,reject:r})}))}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};function messageBoxFactory(e){return(t,n,o,r)=>{let i="";return isObject$8(n)?(o=n,i=""):i=isUndefined(n)?"":n,MessageBox(Object.assign({title:i,message:t,type:"",...MESSAGE_BOX_DEFAULT_OPTS[e]},o,{boxType:e}),r)}}MESSAGE_BOX_VARIANTS.forEach((e=>{MessageBox[e]=messageBoxFactory(e)})),MessageBox.close=()=>{messageInstance.forEach(((e,t)=>{t.doClose()})),messageInstance.clear()},MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=e=>{_MessageBox._context=e._context,e.config.globalProperties.$msgbox=_MessageBox,e.config.globalProperties.$messageBox=_MessageBox,e.config.globalProperties.$alert=_MessageBox.alert,e.config.globalProperties.$confirm=_MessageBox.confirm,e.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:Number,closeIcon:{type:iconPropType,default:close_default}}),notificationEmits={destroy:()=>!0},__default__=defineComponent({name:"ElNotification"}),_sfc_main$1=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(e,{expose:t}){const n=e,{ns:o,zIndex:r}=useGlobalComponentSettings("notification"),{nextZIndex:i,currentZIndex:a}=r,l=ref(!1);let s;const c=computed((()=>{const e=n.type;return e&&TypeComponentsMap[n.type]?o.m(e):""})),u=computed((()=>n.type&&TypeComponentsMap[n.type]||n.icon)),d=computed((()=>n.position.endsWith("right")?"right":"left")),p=computed((()=>n.position.startsWith("top")?"top":"bottom")),f=computed((()=>{var e;return{[p.value]:`${n.offset}px`,zIndex:null!=(e=n.zIndex)?e:a.value}}));function h(){n.duration>0&&({stop:s}=useTimeoutFn((()=>{l.value&&g()}),n.duration))}function m(){null==s||s()}function g(){l.value=!1}return onMounted((()=>{h(),i(),l.value=!0})),useEventListener(document,"keydown",(function({code:e}){e===EVENT_CODE.delete||e===EVENT_CODE.backspace?m():e===EVENT_CODE.esc?l.value&&g():h()})),t({visible:l,close:g}),(e,t)=>(openBlock(),createBlock(Transition,{name:unref(o).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t=>e.$emit("destroy"),persisted:""},{default:withCtx((()=>[withDirectives(createBaseVNode("div",{id:e.id,class:normalizeClass([unref(o).b(),e.customClass,unref(d)]),style:normalizeStyle$1(unref(f)),role:"alert",onMouseenter:m,onMouseleave:h,onClick:e.onClick},[unref(u)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(o).e("icon"),unref(c)])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(u))))])),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(o).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(o).e("title")),textContent:toDisplayString(e.title)},null,10,["textContent"]),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(o).e("content")),style:normalizeStyle$1(e.title?void 0:{margin:0})},[renderSlot(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:e.message},null,8,["innerHTML"])],2112)):(openBlock(),createElementBlock("p",{key:0},toDisplayString(e.message),1))]))],6),[[vShow,e.message]]),e.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(o).e("closeBtn")),onClick:withModifiers(g,["stop"])},{default:withCtx((()=>[(openBlock(),createBlock(resolveDynamicComponent(e.closeIcon)))])),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,["id","onClick"]),[[vShow,l.value]])])),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var NotificationConstructor=_export_sfc(_sfc_main$1,[["__file","notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(e={},t){if(!isClient)return{close:()=>{}};(isString$4(e)||isVNode(e))&&(e={message:e});const n=e.position||"top-right";let o=e.offset||0;notifications[n].forEach((({vm:e})=>{var t;o+=((null==(t=e.el)?void 0:t.offsetHeight)||0)+GAP_SIZE})),o+=GAP_SIZE;const r="notification_"+seed++,i=e.onClose,a={...e,offset:o,id:r,onClose:()=>{close(r,n,i)}};let l=document.body;isElement$1(e.appendTo)?l=e.appendTo:isString$4(e.appendTo)&&(l=document.querySelector(e.appendTo)),isElement$1(l)||(l=document.body);const s=document.createElement("div"),c=createVNode$1(NotificationConstructor,a,isFunction$5(a.message)?a.message:isVNode(a.message)?()=>a.message:null);return c.appContext=isUndefined(t)?notify._context:t,c.props.onDestroy=()=>{render$2(null,s)},render$2(c,s),notifications[n].push({vm:c}),l.appendChild(s.firstElementChild),{close:()=>{c.component.exposed.visible.value=!1}}};function close(e,t,n){const o=notifications[t],r=o.findIndex((({vm:t})=>{var n;return(null==(n=t.component)?void 0:n.props.id)===e}));if(-1===r)return;const{vm:i}=o[r];if(!i)return;null==n||n(i);const a=i.el.offsetHeight,l=t.split("-")[0];o.splice(r,1);const s=o.length;if(!(s<1))for(let c=r;c<s;c++){const{el:e,component:t}=o[c].vm,n=Number.parseInt(e.style[l],10)-a-GAP_SIZE;t.props.offset=n}}function closeAll(){for(const e of Object.values(notifications))e.forEach((({vm:e})=>{e.component.exposed.visible.value=!1}))}notificationTypes.forEach((e=>{notify[e]=(t={},n)=>((isString$4(t)||isVNode(t))&&(t={message:t}),notify({...t,type:e},n))})),notify.closeAll=closeAll,notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]);const api=axios.create({baseURL:"/api",timeout:6e4,responseType:"json"});api.interceptors.request.use((e=>{const t=useUserStore();return t.isLogin&&e.headers&&(e.headers.Authorization=t.token?`Bearer ${t.token}`:""),e.method,e})),api.interceptors.response.use((e=>Promise.resolve(e.data)),(e=>{let t="";if(null==e?void 0:e.response){const{data:n,status:o}=e.response;if(401===o&&(t="权限验证失败,请重新登录",401===n.code&&n.message.includes("请登录后继续操作"))){useUserStore().logout().then((()=>{router.push({name:"login"})}))}const{message:r,code:i}=n;r&&(t=r)}else t="接口请求异常,请稍后再试";return ElMessage({message:t,type:"error"}),Promise.reject(e)}));const ApiUser={login:e=>api.post("auth/login",e),permission:()=>api.get("auth/getInfo"),getInfo:()=>api.get("auth/getInfo"),queryAllUser:e=>api.get("user/queryAll",{params:e}),updateUserStatus:e=>api.post("user/updateStatus",e),resetUserPassword:e=>api.post("user/resetUserPass",e),sendUserCrami:e=>api.post("user/recharge",e),passwordEdit:e=>api.post("auth/updatePassword",e),queryUserAccountLog:e=>api.get("balance/accountLog",{params:e})},useUserStore=defineStore("user",(()=>{const e=useRouteStore(),t=useMenuStore(),n=ref(""),o=ref(localStorage.username??""),r=ref(localStorage.token??""),i=ref(localStorage.failure_time??""),a=ref([]),l=computed((()=>r.value));async function s(){localStorage.removeItem("username"),localStorage.removeItem("token"),localStorage.removeItem("failure_time"),o.value="",r.value="",i.value="",e.removeRoutes(),t.setActived(0),router.push({name:"login"})}async function c(){const e=await ApiUser.getInfo(),{userInfo:t}=e.data;localStorage.setItem("username",t.username);const{role:r}=t;o.value=t.username,n.value=t.avatar,["admin","super"].includes(r)||(ElMessage.error("您没有权限访问该系统!!!"),await s())}return{username:o,token:r,permissions:a,isLogin:l,avatar:n,login:async function(e){const t=await ApiUser.login(e);localStorage.setItem("token",t.data),r.value=t.data,await c()},logout:s,getInfo:c,getPermissions:async function(){const e=await ApiUser.permission(),{userInfo:t}=e.data,{username:n}=t;return localStorage.setItem("username",n),o.value=n,a.value=["permission.browse","permission.create","permission.edit","permission.remove"],a.value},editPassword:async function(e){await ApiUser.passwordEdit(e)}}}));function useAuth(){function e(e){const t=useSettingsStore(),n=useUserStore();return!t.settings.app.enablePermission||n.permissions.includes(e)}return{auth:function(t){let n;return n="string"==typeof t?""===t||e(t):!(t.length>0)||t.some((t=>e(t))),n},authAll:function(t){return!(t.length>0)||t.every((t=>e(t)))}}}const _sfc_main=defineComponent({__name:"App",setup(e){const t=useRoute(),n=useSettingsStore(),{auth:o}=useAuth(),r=computed((()=>t.matched.every((e=>o(e.meta.auth??""))))),i=computed((()=>{let e=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-main-sidebar-width"));return("single"===n.settings.menu.menuMode||"head"===n.settings.menu.menuMode&&"mobile"!==n.mode)&&(e=0),`${e}px`})),a=computed((()=>{let e=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-width"));return n.settings.menu.subMenuCollapse&&"mobile"!==n.mode&&(e=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-collapse-width"))),`${e}px`}));return watch([()=>n.settings.app.enableDynamicTitle,()=>n.title],(()=>{if(n.settings.app.enableDynamicTitle&&n.title){const e="function"==typeof n.title?n.title():n.title;document.title=`${e} - AIWeb`}else document.title="AIWeb"}),{immediate:!0,deep:!0}),onMounted((()=>{n.setMode(document.documentElement.clientWidth),window.addEventListener("resize",(()=>{n.setMode(document.documentElement.clientWidth)})),hotkeys("alt+i",(()=>{eventBus.emit("global-system-info-toggle")}))})),(e,t)=>{const n=_sfc_main$2B,o=resolveComponent("RouterView"),l=_sfc_main$2D;return openBlock(),createBlock(_sfc_main$2A,null,{default:withCtx((()=>[createVNode$1(o,{style:normalizeStyle$1({"--g-main-sidebar-actual-width":unref(i),"--g-sub-sidebar-actual-width":unref(a)})},{default:withCtx((({Component:e})=>[unref(r)?(openBlock(),createBlock(resolveDynamicComponent(e),{key:0})):(openBlock(),createBlock(n,{key:1}))])),_:1},8,["style"]),createVNode$1(l)])),_:1})}}});function install(e){e.use(installer)}const ui={install:install};function directive(e){e.directive("auth",{mounted:(e,t)=>{useAuth().auth(t.value)||e.remove()}}),e.directive("auth-all",{mounted:(e,t)=>{useAuth().authAll(t.value)||e.remove()}})}if("undefined"!=typeof window){let e=function(){var e=document.body,t=document.getElementById("__svg__icons__dom__");t||((t=document.createElementNS("http://www.w3.org/2000/svg","svg")).style.position="absolute",t.style.width="0",t.style.height="0",t.id="__svg__icons__dom__",t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),t.innerHTML='<symbol viewBox="0 0 815 510" id="icon-403"><g fill="none" fill-rule="evenodd" transform="translate(0 1)"><ellipse cx="445.8" cy="311.6" fill="#E9F2FB" fill-rule="nonzero" rx="335.6" ry="196.9" /><g fill-rule="nonzero"><path fill="#EE706D" d="m724.7 279.8-35.6 40.8-34.6-.2v-1.2l36.3-39.8h30.9c1.1 0 2.1.1 3 .4Zm-75-.4-16.6 17.7v-17.7z" /><path fill="#FED280" d="M635.7 172.5v30.2c0 3.1-2.5 5.7-5.7 5.7H406.7c-3.1 0-5.7-2.5-5.7-5.7v-30.2c0-3.1 2.5-5.7 5.7-5.7H630c3.2 0 5.7 2.6 5.7 5.7Z" /><path fill="#99C592" d="M633.1 320.2v50.5c0 7.5-5.4 13.9-12.5 15.3h-15.9c1.2-2.2 2.2-4.1 2.9-5.7 1.9-3.9 2.8-8.1 2.9-12.4.1-8.5.2-26.9.3-47.9h1.2l21.1.2Zm0-96.1v55.3h-22c.2-24.5.5-45.9.8-52.2.8-17.1-3.1-18.8-3.1-18.8h8.6c8.6 0 15.7 7.1 15.7 15.7Z" /><path fill="#EE706D" d="M610.7 320c.1-12.9.2-26.8.4-39.8l.8-.8h21.2v17.7l-21.2 22.7v.3l-1.2-.1Z" /><path fill="#EE706D" d="m572.8 319.7 38.3-39.6c-.1 13-.2 26.9-.4 39.8l-37.9-.2Zm-6.2-40.3-38.8 39.4v.6l-36.7-.2 40.9-39.8z" /><path fill="#B0D7A1" d="m572.8 319.7 37.9.3c-.1 20.9-.2 39.4-.3 47.9 0 4.3-1 8.5-2.9 12.4-.7 1.6-1.7 3.5-2.9 5.7h-191c-7.1-1.5-12.5-7.8-12.5-15.3v-52.1l10.1.1 34.3.2 45.7.3 36.7.3 44.9.2Z" /><path fill="#EE706D" d="m488.3 279.4-42.9 39.4-34.3-.2 42.3-39.2z" /><path fill="#B0D7A1" d="M453.4 279.4h-52.3v-55.3c0-8.6 7.1-15.7 15.7-15.7h192s3.9 1.7 3.1 18.8c-.3 6.3-.6 27.6-.8 52.2H453.4Zm-40-21.5h5.2c.8 0 1.5-.7 1.5-1.5v-30.1c0-.8-.7-1.4-1.5-1.4h-5.2c-.8 0-1.4.6-1.4 1.4v30.1c0 .8.6 1.5 1.4 1.5Zm2.9 13.3c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3-4.3 1.9-4.3 4.3c0 2.3 1.9 4.3 4.3 4.3Z" /><path fill="#EE706D" d="M401.1 279.4v4.2l-33.7 34.7-36.9-.3v-.3l36.9-38.3z" /><path fill="#DFDFDF" d="M386.7 77.7c12.3 17.3-4.5 10.7-4.5 10.7l-24.5-12.5 15.1-13.3 13.9 15.1Z" /><path fill="#DFDFDF" d="m318.8 8 54.1 54.7L357.8 76l-5.1 4.5c-4 3.5-10.1 3.4-14-.3l-18.4-17.5-15.9-15.5-20.2-19.8.6-.6 19.5-19c4-3.9 10.5-3.9 14.5.2Z" /><path fill="#F0F3F8" d="M321.7 359.7s19.9 3.2 17.6 26.3h-150s-2.8-22.2 21.5-26.3h110.9Z" /><path fill="#EE706D" d="m324 279.4-21.2 20.7v-20.7z" /><path fill="#5C5C5C" d="M310.6 80.2c-1.8 2.7-5.4 3.3-7.9 1.4V64.2l1.5-1.6 5.9 5.7c.9.8 1.5 1.8 1.9 2.9 1.1 2.5.8 5.5-.7 8l-.7 1Z" /><path fill="#DAE3E9" d="M302.8 317.8v41.9h-18v-42z" /><path fill="#EE706D" d="M302.8 279.4v20.7l-18 17.6V283l3.6-3.6z" /><path fill="#DAE3E9" d="M302.8 160.7v118.7h-18V160.7zm-18-33.7h18v33.7h-18z" /><path fill="#5C5C5C" d="m310.2 68.3-5.9-5.7-6.4-6.2c-.7-.6-1.4-1.1-2.2-1.5l.2-.5 8.5-7.3 15.9 15.5L313 71l-.8.2c-.5-1.1-1.2-2-2-2.9Z" /><path fill="#5C5C5C" d="m297.9 56.5 6.4 6.2-1.5 1.6h-16.6c-1.3-2.8-.5-6.3 2.2-8.3l.2-.2c2.1-1.5 4.8-1.7 7.1-.8.8.3 1.5.8 2.2 1.5Zm-10.4 9.7c-.6-.6-1-1.2-1.3-1.9h16.6v17.4c-.2-.1-.4-.3-.6-.5l-14.7-15Z" /><path fill="#DAE3E9" d="m287.5 66.2 14.7 14.9c.2.2.4.4.6.5V127h-18V64.2h1.4c.3.7.7 1.4 1.3 2Z" /><path fill="#E7F2FA" d="M284.8 317.7v42h-34.7v-42.3z" /><path fill="#EE706D" d="M284.8 283v34.7l-34.7-.3z" /><path fill="#E7F2FA" d="M284.8 160.7v118.6h-34.6v-43.6c0-5.7-4.7-10.4-10.4-10.4h-14v-64.6h59Z" /><path fill="#FFF" d="M225.7 127h59.1v33.7h-59.1z" /><path fill="#E7F2FA" d="M284.8 64.2V127h-59.1V81.4c0-9.5 7.7-17.1 17.1-17.1h42v-.1Z" /><path fill="#E2E1E3" d="M250.1 317.4v42.2h-15.2V225.3h4.8c5.7 0 10.4 4.7 10.4 10.4v81.7Z" /><path fill="#FDFDFD" d="M234.9 225.3v134.3h-24.2V235.7c0-5.7 4.7-10.4 10.4-10.4h13.8Z" /></g><g fill="#96CEF7" fill-rule="nonzero" transform="translate(666 177)"><path d="M20.2 9.6V5.9c0-3 2.4-5.4 5.4-5.4h90.6c3 0 5.4 2.4 5.4 5.4v3.8c0 3-2.4 5.4-5.4 5.4H76.3c-3 0-5.4 2.4-5.4 5.4v4c0 3 2.4 5.4 5.4 5.4h7.6c3 0 5.4 2.4 5.4 5.3l.1 6.4c0 3-2.4 5.5-5.4 5.5H5.9c-3 0-5.4-2.4-5.4-5.4v-6.2c0-3 2.4-5.4 5.4-5.4l35.4-.2c2.9 0 5.3-2.4 5.4-5.3l.1-4.3c.1-3-2.4-5.5-5.5-5.5l-15.7.2c-2.9.1-5.4-2.4-5.4-5.4Z" /><circle cx="140.9" cy="8.5" r="8" /></g><g fill="#96CEF7" fill-rule="nonzero" transform="translate(0 278)"><path d="M161.6 11.8V7.2c0-3.7-3-6.8-6.8-6.8H41.7c-3.7 0-6.8 3-6.8 6.8v4.7c0 3.7 3 6.7 6.7 6.7h49.9c3.7 0 6.8 3 6.8 6.8v5c0 3.7-3 6.8-6.8 6.8H82c-3.7 0-6.7 3-6.8 6.7l-.1 8c-.1 3.8 3 6.9 6.8 6.9h97.6c3.7 0 6.8-3 6.8-6.8v-7.7c0-3.7-3-6.7-6.7-6.8l-44.3-.3c-3.7 0-6.7-3-6.7-6.6l-.1-5.3c-.1-3.8 3-6.9 6.8-6.9l19.6.2c3.6 0 6.7-3 6.7-6.8Z" /><circle cx="10.8" cy="10.4" r="9.9" /></g><path stroke="currentColor" d="M429.2 201.7h187m-201.3 0h9.7M192.4 378.1s-.7-13.2 16.4-19.2M337.2 70.6s6.7 9.2 13.8 3.5m2.5-2 14.8-13.5" /><g stroke="#000" stroke-width="2"><path d="M210.7 355.7v-124c0-5.7 4.7-10.4 10.4-10.4h18.6c5.7 0 10.4 4.7 10.4 10.4v123.9h-39.4v.1Zm77.7-80.3-35.9 38.3 32.2.2 18 .1 27.7.2 36.9.2 33.7.2 10.1.1 34.3.2 45.7.3 36.7.2 45 .3 39.1.3 21.2.1 21.4.1 34.5.2 32.6.2c5.8.1 10.4-4.6 10.4-10.4v-20.7c0-4.7-3.1-8.6-7.3-9.9-1-.3-2-.5-3-.5H250.1m73.9.3-39.2 38.3m82.6-38.3-36.9 38.3m74.7-38.3-37.8 38.9m43.7.3 42.3-39.2m-8 39.4 42.9-39.4m2.8 39.8 40.9-39.8m34.6 0-38.8 39.4m45 1 39.1-40.4m37.8 0-37.8 40.4m78.9-40.4-36.3 39.8" /><path d="m725.1 275.4-.4.4-35.7 40.8-.2.3m17.9 65.1h79.8m-85.1 0h2.3m-36.3 0h28.2m-306.1 0h272.8m-305.5 0h26.8M144 382h207.7m-217.9 0h7.4m-34.2 0h20.4m61.8 0s-2.8-22.2 21.5-26.3m39.4 0h71.5s19.9 3.2 17.6 26.3m-36.4-68.3v42m0-277v196.7m-77.1-54.1V77.4c0-9.5 7.7-17.1 17.1-17.1h42.8m-.8 62.7h18m-77.1 0h59.1m0 33.7h18m-77.1 0h59.1m1.3-96.7c.3.8.8 1.5 1.4 2.2l14.7 14.9c.3.3.6.5.9.7 2.5 1.7 5.9 1 7.6-1.6l.7-1.1c1.6-2.4 1.8-5.4.7-8-.4-1.1-1.1-2-1.9-2.9l-12.3-11.9c-.7-.6-1.4-1.1-2.2-1.5-2.3-.9-5-.7-7.1.8l-.2.2c-2.7 2-3.5 5.4-2.3 8.2Z" /><path d="m295.9 50.5 8.5-7.3 15.8 15.4-7.3 8.4m-29.4-44.2.6.5 20.3 19.9" /><path d="m320.2 58.6 18.4 17.5c3.9 3.7 9.9 3.8 14 .3l5.1-4.5 15.1-13.3-54-54.6c-4-4-10.5-4.1-14.6-.1L284 23.4l-.5.5m74.3 48 24.5 12.5s16.8 6.6 4.5-10.7L373 58.6m260.1 257.1v50.9c0 7.5-5.4 13.9-12.5 15.3-1 .2-2.1.3-3.2.3H416.8c-1.1 0-2.1-.1-3.2-.3-7.1-1.5-12.5-7.8-12.5-15.3v-23m216.3-139.2c8.6 0 15.7 7.1 15.7 15.7v55.3m-232 0v-55.3c0-8.6 7.1-15.7 15.7-15.7m-15.7 125.4v-15.5m178.6-151.5H620c8.6 0 15.7 7.1 15.7 15.7v10.2c0 8.6-7.1 15.7-15.7 15.7H416.8c-8.6 0-15.7-7.1-15.7-15.7v-10.2c0-8.6 7.1-15.7 15.7-15.7H439m10.6 0h117m-127.7 0h10.7" /><path d="M418.6 253.9h-5.2c-.8 0-1.4-.7-1.4-1.5v-30.1c0-.8.6-1.4 1.4-1.4h5.2c.8 0 1.5.6 1.5 1.4v30.1c0 .8-.7 1.5-1.5 1.5Zm-2.3 13.3c-2.4 0-4.3-1.9-4.3-4.3s1.9-4.3 4.3-4.3 4.3 1.9 4.3 4.3c.1 2.3-1.9 4.3-4.3 4.3Z" /></g></g></symbol><symbol viewBox="0 0 859 586" id="icon-404"><g fill="none" fill-rule="evenodd"><ellipse cx="452" cy="344" fill="#E7F4FE" fill-rule="nonzero" rx="406.2" ry="241.1" /><g fill="#96CEF7" fill-rule="nonzero" transform="translate(646 401)"><path d="M20.7 9.5V5.7c0-3.1 2.5-5.6 5.6-5.6h92.9c3.1 0 5.6 2.5 5.6 5.6v3.9c0 3.1-2.5 5.5-5.5 5.5H78.4c-3.1 0-5.6 2.5-5.6 5.6v4.1c0 3.1 2.5 5.6 5.6 5.6h7.8c3 0 5.5 2.4 5.6 5.5l.1 6.6c0 3.1-2.5 5.6-5.6 5.6H6.2c-3.1 0-5.6-2.5-5.6-5.6v-6.4c0-3.1 2.5-5.5 5.5-5.6l36.4-.2c3 0 5.5-2.4 5.5-5.5l.1-4.4c.1-3.1-2.5-5.7-5.6-5.7l-16.1.2c-3.1.2-5.7-2.3-5.7-5.4z" /><circle cx="144.6" cy="8.4" r="8.2" /></g><g fill="#96CEF7" fill-rule="nonzero" transform="translate(0 249)"><path d="M158.3 12V7.5c0-3.7-3-6.7-6.7-6.7H40.3c-3.7 0-6.7 3-6.7 6.7v4.6c0 3.7 3 6.6 6.6 6.6h49c3.7 0 6.7 3 6.7 6.7v4.9c0 3.7-3 6.7-6.7 6.7h-9.3c-3.6 0-6.6 2.9-6.7 6.5l-.1 7.9c-.1 3.7 2.9 6.8 6.7 6.8h96c3.7 0 6.7-3 6.7-6.7v-7.6c0-3.7-3-6.6-6.6-6.7l-43.6-.3c-3.6 0-6.5-2.9-6.6-6.5l-.1-5.2c-.1-3.7 3-6.8 6.7-6.8l19.3.2c3.6.1 6.7-2.9 6.7-6.6z" /><circle cx="9.9" cy="10.6" r="9.8" /></g><g fill-rule="nonzero"><path fill="#96CEF7" d="M513.5 354.8s-2 15.1 11.1 21.8c-5.5 9.6-12.4 18.4-20.3 26.1-20.1-35.8-40.6-14.5-40.6-14.5s-12.6-26.5-31-21.9c18.2-11.9 36.8-25.3 54.9-39 4.9 27 25.9 27.5 25.9 27.5z" /><path fill="#309EED" d="M524.7 376.6c-13.1-6.7-11.2-21.8-11.2-21.8s-21-.6-25.8-27.6c16.7-12.7 33-25.8 48.3-38.5 2.6 9.6 4 19.7 3.9 30.2 0 21.1-5.5 40.7-15.2 57.7zm-20.3 26.1c-21 20.3-49.5 32.8-81 32.8-2.8 0-5.5-.1-8.2-.3 0 0-9-16.1 3.7-25.2 0 0-16.6-17.5.5-35.2 4.4-2.7 8.9-5.6 13.3-8.5 18.4-4.6 31 21.9 31 21.9s20.6-21.3 40.7 14.5z" /><path fill="#309EED" d="M536 288.8c-15.3 12.7-31.6 25.8-48.3 38.5-.1-.5-.2-1-.2-1.5-4.2-28.5 24.2-39.4 24.2-39.4s-5-20.8 19-12.8c2.1 4.8 3.9 9.9 5.3 15.2z" /><path fill="#96CEF7" d="M487.4 325.7c.1.5.2 1 .2 1.5-18.1 13.8-36.7 27.1-54.9 39-3 .7-6.1 2.3-9.4 4.9-1.5 1.2-2.8 2.4-4 3.6-25 15.5-49 27.8-69.9 34.3-24.8-20.3-41-50.7-42.5-84.9v-.1c.4-10.6 2-21 4.7-30.9 4.8 1.1 17.7 3.7 23.5-.5 7.3-5.2-.7 51.8 30.6 51.8s33.7-52.2 33.7-52.2 26.7 1.2 13.3-29.1c0 0 17.8 1.5 22.6-16.4 3.4-12.5-2.2-25.6-12.8-33.1-4.2-3-9.7-6.4-16.9-10.1 5.7-.9 11.6-1.3 17.6-1.3 48.2 0 89.6 29.3 107.3 71-24-8-19 12.8-19 12.8s-28.3 11.2-24.1 39.7zM458 319s7.6-6.6 5.8-12.8c-1.8-6.2-10.3.7-10.3.7s-.6-18.7-17-12.1c-16.4 6.7-5.5 24.2-5.5 24.2 12.8 13.8 27 0 27 0z" /><path fill="#309EED" d="M463.8 306.2c1.8 6.2-5.8 12.8-5.8 12.8s-14.3 13.8-27 0c0 0-10.9-17.5 5.5-24.2 16.4-6.7 17 12.1 17 12.1s8.5-6.9 10.3-.7z" /><path fill="#96CEF7" d="M349.6 409.1c20.9-6.5 44.9-18.8 69.9-34.3-17.1 17.7-.5 35.2-.5 35.2-12.7 9.1-3.7 25.2-3.7 25.2-24.9-1.7-47.6-11.2-65.7-26.1z" /><path fill="#309EED" d="M435.5 246.9c-4.9 17.9-22.6 16.4-22.6 16.4 13.3 30.3-13.3 29.1-13.3 29.1s-2.4 52.2-33.7 52.2c-31.3 0-23.3-57-30.6-51.8-5.9 4.2-18.8 1.6-23.5.5 6.7-25.1 20.2-47.3 38.4-64.8 15.7-12.7 34.8-21.4 55.7-24.6 7.2 3.7 12.7 7.1 16.9 10.1 10.5 7.3 16.1 20.4 12.7 32.9z" /></g><circle cx="423.4" cy="319" r="116.5" /><path stroke="currentColor" d="M487 419.1c-2.4 1.4-4.9 2.8-7.4 4.1" /><path stroke="#000" stroke-width="2" d="M459.6 429.9c-11.3 3.6-23.3 5.6-35.8 5.6-64.3 0-116.5-52.2-116.5-116.5s52.2-116.5 116.5-116.5S540.3 254.6 540.3 319c0 39.8-20 75-50.5 96" /><path stroke="#5C5C5C" stroke-dasharray="3.0047,3.0047" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M445.5 470.4c77.651 0 140.6-62.949 140.6-140.6s-62.949-140.6-140.6-140.6-140.6 62.949-140.6 140.6 62.949 140.6 140.6 140.6z" /><path stroke="#5C5C5C" stroke-dasharray="2.994,2.994" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M441.4 524C547.218 524 633 438.218 633 332.4s-85.782-191.6-191.6-191.6-191.6 85.782-191.6 191.6S335.582 524 441.4 524z" /><path stroke="#EF706D" stroke-dasharray="3,3" stroke-width="2" d="M303.3 324s-66.9 112.7 34.9 87.2C440 385.7 668.8 176 668.8 176" /><path stroke="#EF706D" stroke-dasharray="3,3" stroke-width="2" d="M304.8 330.5s-50.5 85.1 26.4 65.8c76.9-19.2 321-242.9 321-242.9" /><g fill-rule="nonzero"><path fill="#AFD7A3" d="M785.4 115c17.8 26.5 24.6 49.3 15.4 58.4-13.7 13.7-58.3-8.8-99.6-50.3-17.7-17.8-31.9-36.1-41.3-52.4-1-1.7-1.9-3.3-2.7-4.9-1.8-3.3-3.3-6.5-4.6-9.6-6.4-15-7.3-26.9-1.2-32.9 8.5-8.5 28.7-3.1 52.7 12 14.9 9.3 31.1 22.4 46.9 38.3 9.3 9.4 17.7 18.9 24.9 28.2 3.4 4.5 6.6 8.9 9.5 13.2zm-23 22.4c5.3-5.3-7.7-26.9-29.1-48.3-21.3-21.4-42.9-34.5-48.2-29.3-5.3 5.2 7.8 26.9 29.1 48.3s43 34.6 48.2 29.3z" /><path fill="#E7B976" d="M791.3 66.8c5.2 13.1 7.1 30.7-6 48.2-2.9-4.3-6.1-8.7-9.6-13.2C796.5 88.5 789.6 63 789.6 63c.7 1.2 1.2 2.5 1.7 3.8zm-57.9 22.4c21.3 21.4 34.4 43 29.1 48.3-5.3 5.2-26.8-7.9-48.2-29.3-21.4-21.4-34.4-43-29.1-48.3 5.3-5.3 26.8 7.8 48.2 29.3z" /><path fill="#FED37C" d="M789.6 63s6.8 25.5-13.8 38.8c-7.2-9.3-15.5-18.8-24.9-28.2-15.8-15.9-32.1-28.9-46.9-38.3 0 0 21.3-19.7 58.4-.2 3.5 1.8 6.8 4 9.9 6.4 2.3 1.8 4.5 3.8 6.5 5.9 4.4 4.6 8.1 9.8 10.8 15.6zm-33.3-19.6c.7-1.2.4-2.7-.8-3.5-1.2-.7-2.8-.4-3.5.8-.7 1.2-.4 2.8.8 3.5 1.2.7 2.8.4 3.5-.8zm-11.9-1c1.5.1 2.9-.7 3.3-2.1.3-1.1-.1-2.4-2.5-3.5-4.1-2-11.8-1.5-15-1.2-1.3.1-2.6.6-3.5 1.4-3.1 2.6 0 5.8 3.6 5.1 3.3-.8 10.8-.1 14.1.3z" /><path fill="#AFD7A3" d="M800 21.8c1.2.7-21.2 25.6-21.2 25.6-2-2.1-4.2-4.1-6.5-5.9 0 .1 26.5-20.4 27.7-19.7z" /><path fill="#FFF" d="M755.5 39.9c1.2.7 1.6 2.3.8 3.5-.7 1.2-2.3 1.6-3.5.8-1.2-.7-1.6-2.3-.8-3.5.7-1.2 2.3-1.5 3.5-.8zm-7.8.3c-.4 1.4-1.8 2.3-3.3 2.1-3.3-.4-10.8-1.1-14.1-.4-3.6.8-6.7-2.4-3.6-5.1 1-.9 2.2-1.3 3.5-1.4 3.2-.3 10.9-.8 15 1.2 2.4 1.3 2.8 2.6 2.5 3.6z" /><path fill="#D8D7D7" d="M627.9 180.6c-.2.1-.4.1-.6.2-1.1-1.9-2.2-3.7-3.3-5.6 1.2 1.8 2.6 3.6 3.9 5.4z" /></g><g stroke="#000" stroke-width="2"><path d="M657.2 65.9c-1.8-3.3-3.3-6.5-4.6-9.6m7.3 14.5c-1-1.7-1.9-3.3-2.7-4.9m-4.6-9.6c-6.4-15-7.3-26.9-1.2-32.9 8.5-8.5 28.7-3.1 52.7 12 14.9 9.3 31.1 22.4 46.9 38.3 9.3 9.4 17.7 18.9 24.9 28.2 3.5 4.5 6.7 8.9 9.6 13.2 17.8 26.5 24.6 49.3 15.4 58.4-13.7 13.7-58.3-8.8-99.6-50.3-17.7-17.8-31.9-36.1-41.3-52.4" /><path d="M704 35.4s21.3-19.7 58.4-.2c3.5 1.8 6.8 4 9.9 6.4 2.3 1.8 4.5 3.8 6.5 5.9 4.4 4.6 8.1 9.8 10.9 15.6.6 1.2 1.2 2.5 1.7 3.8 5.2 13.1 7.1 30.7-6 48.2m-23 22.3c-5.3 5.2-26.8-7.9-48.2-29.3-21.4-21.4-34.4-43-29.1-48.3 5.3-5.2 26.8 7.9 48.2 29.3 21.4 21.5 34.4 43.1 29.1 48.3z" /><path d="M772.3 41.6s26.5-20.4 27.7-19.7c1.2.7-21.2 25.6-21.2 25.6m17.6-32.3L802.5.8m1.3 19 10.1-9.7m-7.6 15.6 12.9-.7" /></g><path stroke="#FFF" d="M624 70.7s7.6-4.1 15 0" /><path stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" d="M657.2 22.8s14-5.3 59.3 25.4" /><path stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M720.5 51s56 43.6 75.9 91.7" /></g></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-image-load-fail"><path d="M704 328a72 72 0 1 0 144 0 72 72 0 1 0-144 0z" /><path d="M999.904 116.608a32 32 0 0 0-21.952-10.912L521.76 73.792a31.552 31.552 0 0 0-27.2 11.904l-92.192 114.848a32 32 0 0 0 .672 40.896l146.144 169.952-147.456 194.656 36.48-173.376a32 32 0 0 0-11.136-31.424L235.616 245.504l79.616-125.696a32 32 0 0 0-29.28-49.024L45.76 87.552a32 32 0 0 0-29.696 34.176l55.808 798.016a32.064 32.064 0 0 0 34.304 29.696l176.512-13.184c17.632-1.312 30.848-16.672 29.504-34.272s-16.576-31.04-34.304-29.536L133.44 883.232l-6.432-92.512 125.312-12.576a32 32 0 0 0 28.672-35.04 32.16 32.16 0 0 0-35.04-28.672L122.56 726.848 82.144 149.184l145.152-10.144-60.96 96.224a32 32 0 0 0 6.848 41.952l198.4 161.344-58.752 279.296a30.912 30.912 0 0 0 .736 14.752 31.68 31.68 0 0 0 1.408 11.04l51.52 154.56a31.968 31.968 0 0 0 27.456 21.76l523.104 47.552a32.064 32.064 0 0 0 34.848-29.632l55.776-798.048a32.064 32.064 0 0 0-7.776-23.232zm-98.912 630.848-412.576-39.648a31.52 31.52 0 0 0-34.912 28.768 32 32 0 0 0 28.8 34.912l414.24 39.808-6.272 89.536-469.728-42.72-39.584-118.72 234.816-310.016a31.936 31.936 0 0 0-1.248-40.192L468.896 219.84l65.088-81.056 407.584 28.48-40.576 580.192z" /></symbol><symbol class="icon" viewBox="0 0 1028 1024" id="icon-toolbar-collapse"><path d="M989.867 234.667H499.2c-17.067 0-34.133-21.334-34.133-42.667 0-25.6 12.8-42.667 34.133-42.667h490.667c17.066 0 34.133 17.067 34.133 42.667 0 21.333-12.8 42.667-34.133 42.667zm-473.6 128h465.066c25.6 0 46.934 21.333 46.934 42.666 0 25.6-21.334 42.667-46.934 42.667H516.267c-25.6 0-46.934-17.067-46.934-42.667s21.334-42.666 46.934-42.666zm0 298.666c-25.6 0-46.934-21.333-46.934-42.666 0-25.6 21.334-42.667 46.934-42.667h465.066c25.6 0 46.934 17.067 46.934 42.667s-21.334 42.666-46.934 42.666H516.267zm4.266 128H972.8c29.867 0 51.2 17.067 51.2 42.667s-21.333 42.667-51.2 42.667H520.533c-29.866 0-51.2-17.067-51.2-42.667s21.334-42.667 51.2-42.667zm-192 25.6c-17.066 17.067-46.933 17.067-64 0L12.8 541.867c-17.067-17.067-17.067-51.2 0-68.267l251.733-273.067c17.067-17.066 46.934-17.066 64 0s17.067 51.2 0 68.267L106.667 507.733l221.866 238.934c17.067 21.333 17.067 51.2 0 68.266z" /></symbol>',e.insertBefore(t,e.lastChild)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}const data=JSON.parse('[{"prefix":"ant-design","info":{"name":"Ant Design Icons","total":789,"version":"4.3.1","author":{"name":"HeskeyBaozi","url":"https://github.com/ant-design/ant-design-icons"},"license":{"title":"MIT","spdx":"MIT","url":"https://github.com/ant-design/ant-design-icons/blob/master/LICENSE"},"samples":["pushpin-filled","pie-chart-outlined","shopping-twotone"],"height":16,"category":"General","palette":false},"icons":["account-book-filled","account-book-outlined","account-book-twotone","aim-outlined","alert-filled","alert-outlined","alert-twotone","alibaba-outlined","align-center-outlined","align-left-outlined","align-right-outlined","alipay-circle-filled","alipay-circle-outlined","alipay-outlined","alipay-square-filled","aliwangwang-filled","aliwangwang-outlined","aliyun-outlined","amazon-circle-filled","amazon-outlined","amazon-square-filled","android-filled","android-outlined","ant-cloud-outlined","ant-design-outlined","apartment-outlined","api-filled","api-outlined","api-twotone","apple-filled","apple-outlined","appstore-add-outlined","appstore-filled","appstore-outlined","appstore-twotone","area-chart-outlined","arrow-down-outlined","arrow-left-outlined","arrow-right-outlined","arrow-up-outlined","arrows-alt-outlined","audio-filled","audio-muted-outlined","audio-outlined","audio-twotone","audit-outlined","backward-filled","backward-outlined","bank-filled","bank-outlined","bank-twotone","bar-chart-outlined","barcode-outlined","bars-outlined","behance-circle-filled","behance-outlined","behance-square-filled","behance-square-outlined","bell-filled","bell-outlined","bell-twotone","bg-colors-outlined","block-outlined","bold-outlined","book-filled","book-outlined","book-twotone","border-bottom-outlined","border-horizontal-outlined","border-inner-outlined","border-left-outlined","border-outer-outlined","border-outlined","border-right-outlined","border-top-outlined","border-verticle-outlined","borderless-table-outlined","box-plot-filled","box-plot-outlined","box-plot-twotone","branches-outlined","bug-filled","bug-outlined","bug-twotone","build-filled","build-outlined","build-twotone","bulb-filled","bulb-outlined","bulb-twotone","calculator-filled","calculator-outlined","calculator-twotone","calendar-filled","calendar-outlined","calendar-twotone","camera-filled","camera-outlined","camera-twotone","car-filled","car-outlined","car-twotone","caret-down-filled","caret-down-outlined","caret-left-filled","caret-left-outlined","caret-right-filled","caret-right-outlined","caret-up-filled","caret-up-outlined","carry-out-filled","carry-out-outlined","carry-out-twotone","check-circle-filled","check-circle-outlined","check-circle-twotone","check-outlined","check-square-filled","check-square-outlined","check-square-twotone","chrome-filled","chrome-outlined","ci-circle-filled","ci-circle-outlined","ci-circle-twotone","ci-outlined","ci-twotone","clear-outlined","clock-circle-filled","clock-circle-outlined","clock-circle-twotone","close-circle-filled","close-circle-outlined","close-circle-twotone","close-outlined","close-square-filled","close-square-outlined","close-square-twotone","cloud-download-outlined","cloud-filled","cloud-outlined","cloud-server-outlined","cloud-sync-outlined","cloud-twotone","cloud-upload-outlined","cluster-outlined","code-filled","code-outlined","code-sandbox-circle-filled","code-sandbox-outlined","code-sandbox-square-filled","code-twotone","codepen-circle-filled","codepen-circle-outlined","codepen-outlined","codepen-square-filled","coffee-outlined","column-height-outlined","column-width-outlined","comment-outlined","compass-filled","compass-outlined","compass-twotone","compress-outlined","console-sql-outlined","contacts-filled","contacts-outlined","contacts-twotone","container-filled","container-outlined","container-twotone","control-filled","control-outlined","control-twotone","copy-filled","copy-outlined","copy-twotone","copyright-circle-filled","copyright-circle-outlined","copyright-circle-twotone","copyright-outlined","copyright-twotone","credit-card-filled","credit-card-outlined","credit-card-twotone","crown-filled","crown-outlined","crown-twotone","customer-service-filled","customer-service-outlined","customer-service-twotone","dash-outlined","dashboard-filled","dashboard-outlined","dashboard-twotone","database-filled","database-outlined","database-twotone","delete-column-outlined","delete-filled","delete-outlined","delete-row-outlined","delete-twotone","delivered-procedure-outlined","deployment-unit-outlined","desktop-outlined","diff-filled","diff-outlined","diff-twotone","dingding-outlined","dingtalk-circle-filled","dingtalk-outlined","dingtalk-square-filled","disconnect-outlined","dislike-filled","dislike-outlined","dislike-twotone","dollar-circle-filled","dollar-circle-outlined","dollar-circle-twotone","dollar-outlined","dollar-twotone","dot-chart-outlined","double-left-outlined","double-right-outlined","down-circle-filled","down-circle-outlined","down-circle-twotone","down-outlined","down-square-filled","down-square-outlined","down-square-twotone","download-outlined","drag-outlined","dribbble-circle-filled","dribbble-outlined","dribbble-square-filled","dribbble-square-outlined","dropbox-circle-filled","dropbox-outlined","dropbox-square-filled","edit-filled","edit-outlined","edit-twotone","ellipsis-outlined","enter-outlined","environment-filled","environment-outlined","environment-twotone","euro-circle-filled","euro-circle-outlined","euro-circle-twotone","euro-outlined","euro-twotone","exception-outlined","exclamation-circle-filled","exclamation-circle-outlined","exclamation-circle-twotone","exclamation-outlined","expand-alt-outlined","expand-outlined","experiment-filled","experiment-outlined","experiment-twotone","export-outlined","eye-filled","eye-invisible-filled","eye-invisible-outlined","eye-invisible-twotone","eye-outlined","eye-twotone","facebook-filled","facebook-outlined","fall-outlined","fast-backward-filled","fast-backward-outlined","fast-forward-filled","fast-forward-outlined","field-binary-outlined","field-number-outlined","field-string-outlined","field-time-outlined","file-add-filled","file-add-outlined","file-add-twotone","file-done-outlined","file-excel-filled","file-excel-outlined","file-excel-twotone","file-exclamation-filled","file-exclamation-outlined","file-exclamation-twotone","file-filled","file-gif-outlined","file-image-filled","file-image-outlined","file-image-twotone","file-jpg-outlined","file-markdown-filled","file-markdown-outlined","file-markdown-twotone","file-outlined","file-pdf-filled","file-pdf-outlined","file-pdf-twotone","file-ppt-filled","file-ppt-outlined","file-ppt-twotone","file-protect-outlined","file-search-outlined","file-sync-outlined","file-text-filled","file-text-outlined","file-text-twotone","file-twotone","file-unknown-filled","file-unknown-outlined","file-unknown-twotone","file-word-filled","file-word-outlined","file-word-twotone","file-zip-filled","file-zip-outlined","file-zip-twotone","filter-filled","filter-outlined","filter-twotone","fire-filled","fire-outlined","fire-twotone","flag-filled","flag-outlined","flag-twotone","folder-add-filled","folder-add-outlined","folder-add-twotone","folder-filled","folder-open-filled","folder-open-outlined","folder-open-twotone","folder-outlined","folder-twotone","folder-view-outlined","font-colors-outlined","font-size-outlined","fork-outlined","form-outlined","format-painter-filled","format-painter-outlined","forward-filled","forward-outlined","frown-filled","frown-outlined","frown-twotone","fullscreen-exit-outlined","fullscreen-outlined","function-outlined","fund-filled","fund-outlined","fund-projection-screen-outlined","fund-twotone","fund-view-outlined","funnel-plot-filled","funnel-plot-outlined","funnel-plot-twotone","gateway-outlined","gif-outlined","gift-filled","gift-outlined","gift-twotone","github-filled","github-outlined","gitlab-filled","gitlab-outlined","global-outlined","gold-filled","gold-outlined","gold-twotone","golden-filled","google-circle-filled","google-outlined","google-plus-circle-filled","google-plus-outlined","google-plus-square-filled","google-square-filled","group-outlined","hdd-filled","hdd-outlined","hdd-twotone","heart-filled","heart-outlined","heart-twotone","heat-map-outlined","highlight-filled","highlight-outlined","highlight-twotone","history-outlined","holder-outlined","home-filled","home-outlined","home-twotone","hourglass-filled","hourglass-outlined","hourglass-twotone","html5-filled","html5-outlined","html5-twotone","idcard-filled","idcard-outlined","idcard-twotone","ie-circle-filled","ie-outlined","ie-square-filled","import-outlined","inbox-outlined","info-circle-filled","info-circle-outlined","info-circle-twotone","info-outlined","insert-row-above-outlined","insert-row-below-outlined","insert-row-left-outlined","insert-row-right-outlined","instagram-filled","instagram-outlined","insurance-filled","insurance-outlined","insurance-twotone","interaction-filled","interaction-outlined","interaction-twotone","issues-close-outlined","italic-outlined","key-outlined","laptop-outlined","layout-filled","layout-outlined","layout-twotone","left-circle-filled","left-circle-outlined","left-circle-twotone","left-outlined","left-square-filled","left-square-outlined","left-square-twotone","like-filled","like-outlined","like-twotone","line-chart-outlined","line-height-outlined","line-outlined","link-outlined","linkedin-filled","linkedin-outlined","loading-3-quarters-outlined","loading-outlined","lock-filled","lock-outlined","lock-twotone","login-outlined","logout-outlined","mac-command-filled","mac-command-outlined","mail-filled","mail-outlined","mail-twotone","man-outlined","medicine-box-filled","medicine-box-outlined","medicine-box-twotone","medium-circle-filled","medium-outlined","medium-square-filled","medium-workmark-outlined","meh-filled","meh-outlined","meh-twotone","menu-fold-outlined","menu-outlined","menu-unfold-outlined","merge-cells-outlined","message-filled","message-outlined","message-twotone","minus-circle-filled","minus-circle-outlined","minus-circle-twotone","minus-outlined","minus-square-filled","minus-square-outlined","minus-square-twotone","mobile-filled","mobile-outlined","mobile-twotone","money-collect-filled","money-collect-outlined","money-collect-twotone","monitor-outlined","more-outlined","node-collapse-outlined","node-expand-outlined","node-index-outlined","notification-filled","notification-outlined","notification-twotone","number-outlined","one-to-one-outlined","ordered-list-outlined","paper-clip-outlined","partition-outlined","pause-circle-filled","pause-circle-outlined","pause-circle-twotone","pause-outlined","pay-circle-filled","pay-circle-outlined","percentage-outlined","phone-filled","phone-outlined","phone-twotone","pic-center-outlined","pic-left-outlined","pic-right-outlined","picture-filled","picture-outlined","picture-twotone","pie-chart-filled","pie-chart-outlined","pie-chart-twotone","play-circle-filled","play-circle-outlined","play-circle-twotone","play-square-filled","play-square-outlined","play-square-twotone","plus-circle-filled","plus-circle-outlined","plus-circle-twotone","plus-outlined","plus-square-filled","plus-square-outlined","plus-square-twotone","pound-circle-filled","pound-circle-outlined","pound-circle-twotone","pound-outlined","poweroff-outlined","printer-filled","printer-outlined","printer-twotone","profile-filled","profile-outlined","profile-twotone","project-filled","project-outlined","project-twotone","property-safety-filled","property-safety-outlined","property-safety-twotone","pull-request-outlined","pushpin-filled","pushpin-outlined","pushpin-twotone","qq-circle-filled","qq-outlined","qq-square-filled","qrcode-outlined","question-circle-filled","question-circle-outlined","question-circle-twotone","question-outlined","radar-chart-outlined","radius-bottomleft-outlined","radius-bottomright-outlined","radius-setting-outlined","radius-upleft-outlined","radius-upright-outlined","read-filled","read-outlined","reconciliation-filled","reconciliation-outlined","reconciliation-twotone","red-envelope-filled","red-envelope-outlined","red-envelope-twotone","reddit-circle-filled","reddit-outlined","reddit-square-filled","redo-outlined","reload-outlined","rest-filled","rest-outlined","rest-twotone","retweet-outlined","right-circle-filled","right-circle-outlined","right-circle-twotone","right-outlined","right-square-filled","right-square-outlined","right-square-twotone","rise-outlined","robot-filled","robot-outlined","rocket-filled","rocket-outlined","rocket-twotone","rollback-outlined","rotate-left-outlined","rotate-right-outlined","safety-certificate-filled","safety-certificate-outlined","safety-certificate-twotone","safety-outlined","save-filled","save-outlined","save-twotone","scan-outlined","schedule-filled","schedule-outlined","schedule-twotone","scissor-outlined","search-outlined","security-scan-filled","security-scan-outlined","security-scan-twotone","select-outlined","send-outlined","setting-filled","setting-outlined","setting-twotone","shake-outlined","share-alt-outlined","shop-filled","shop-outlined","shop-twotone","shopping-cart-outlined","shopping-filled","shopping-outlined","shopping-twotone","shrink-outlined","signal-filled","sisternode-outlined","sketch-circle-filled","sketch-outlined","sketch-square-filled","skin-filled","skin-outlined","skin-twotone","skype-filled","skype-outlined","slack-circle-filled","slack-outlined","slack-square-filled","slack-square-outlined","sliders-filled","sliders-outlined","sliders-twotone","small-dash-outlined","smile-filled","smile-outlined","smile-twotone","snippets-filled","snippets-outlined","snippets-twotone","solution-outlined","sort-ascending-outlined","sort-descending-outlined","sound-filled","sound-outlined","sound-twotone","split-cells-outlined","star-filled","star-outlined","star-twotone","step-backward-filled","step-backward-outlined","step-forward-filled","step-forward-outlined","stock-outlined","stop-filled","stop-outlined","stop-twotone","strikethrough-outlined","subnode-outlined","swap-left-outlined","swap-outlined","swap-right-outlined","switcher-filled","switcher-outlined","switcher-twotone","sync-outlined","table-outlined","tablet-filled","tablet-outlined","tablet-twotone","tag-filled","tag-outlined","tag-twotone","tags-filled","tags-outlined","tags-twotone","taobao-circle-filled","taobao-circle-outlined","taobao-outlined","taobao-square-filled","team-outlined","thunderbolt-filled","thunderbolt-outlined","thunderbolt-twotone","to-top-outlined","tool-filled","tool-outlined","tool-twotone","trademark-circle-filled","trademark-circle-outlined","trademark-circle-twotone","trademark-outlined","transaction-outlined","translation-outlined","trophy-filled","trophy-outlined","trophy-twotone","twitter-circle-filled","twitter-outlined","twitter-square-filled","underline-outlined","undo-outlined","ungroup-outlined","unlock-filled","unlock-outlined","unlock-twotone","unordered-list-outlined","up-circle-filled","up-circle-outlined","up-circle-twotone","up-outlined","up-square-filled","up-square-outlined","up-square-twotone","upload-outlined","usb-filled","usb-outlined","usb-twotone","user-add-outlined","user-delete-outlined","user-outlined","user-switch-outlined","usergroup-add-outlined","usergroup-delete-outlined","verified-outlined","vertical-align-bottom-outlined","vertical-align-middle-outlined","vertical-align-top-outlined","vertical-left-outlined","vertical-right-outlined","video-camera-add-outlined","video-camera-filled","video-camera-outlined","video-camera-twotone","wallet-filled","wallet-outlined","wallet-twotone","warning-filled","warning-outlined","warning-twotone","wechat-filled","wechat-outlined","weibo-circle-filled","weibo-circle-outlined","weibo-outlined","weibo-square-filled","weibo-square-outlined","whats-app-outlined","wifi-outlined","windows-filled","windows-outlined","woman-outlined","yahoo-filled","yahoo-outlined","youtube-filled","youtube-outlined","yuque-filled","yuque-outlined","zhihu-circle-filled","zhihu-outlined","zhihu-square-filled","zoom-in-outlined","zoom-out-outlined"]},{"prefix":"ep","info":{"name":"Element Plus","total":293,"version":"2.3.1","author":{"name":"Element Plus","url":"https://github.com/element-plus/element-plus-icons"},"license":{"title":"MIT","spdx":"MIT","url":"https://github.com/element-plus/element-plus-icons/blob/main/packages/svg/package.json"},"samples":["home-filled","partly-cloudy","avatar"],"height":32,"displayHeight":16,"category":"General","palette":false},"icons":["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","chrome-filled","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","element-plus","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","gold-medal","goods","goods-filled","grape","grid","guide","handbag","headset","help","help-filled","hide","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","memo","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","quartz-watch","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","shopping-trolley","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","suitcase-line","sunny","sunrise","sunset","switch","switch-button","switch-filled","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","trophy-base","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warn-triangle-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"]},{"prefix":"flagpack","info":{"name":"Flagpack","total":255,"version":"2.0.0","author":{"name":"Yummygum","url":"https://github.com/Yummygum/flagpack-core"},"license":{"title":"MIT","spdx":"MIT","url":"https://github.com/Yummygum/flagpack-core/blob/main/LICENSE"},"samples":["ci","gb-ukm","wf"],"height":24,"category":"Maps / Flags","palette":true},"icons":["ad","ae","af","ag","ai","al","am","ao","aq","ar","as","at","au","aw","ax","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bl","bm","bn","bo","bq-bo","bq-sa","bq-se","br","bs","bt","bv","bw","by","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cu","cv","cw","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","eh","er","es","et","fi","fj","fk","fm","fo","fr","ga","gb","gb-eng","gb-nir","gb-sct","gb-ukm","gb-wls","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gu","gw","gy","hk","hm","hn","hr","ht","hu","id","ie","il","im","in","io","iq","ir","is","it","je","jm","jo","jp","ke","kg","kh","ki","km","kn","kp","kr","kw","ky","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","me","mf","mg","mh","mk","ml","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pr","ps","pt","pw","py","qa","re","ro","rs","ru","rw","sa","sb","sc","sd","se","sg","sh","si","sj","sk","sl","sm","sn","so","sr","ss","st","sv","sx","sy","sz","tc","td","tf","tg","th","tj","tk","tl","tm","tn","to","tr","tt","tv","tw","tz","ua","ug","um","us","uy","uz","va","vc","ve","vg","vi","vn","vu","wf","ws","ye","yt","za","zm","zw"]},{"prefix":"icon-park","info":{"name":"IconPark","total":2658,"version":"1.4.2","author":{"name":"ByteDance","url":"https://github.com/bytedance/IconPark"},"license":{"title":"Apache 2.0","spdx":"Apache-2.0","url":"https://github.com/bytedance/IconPark/blob/master/LICENSE"},"samples":["add-one","english-mustache","basketball-clothes"],"height":24,"category":"General","palette":true},"icons":["a-cane","abdominal","abnormal","acceleration","accept-email","acoustic","activity-source","ad","ad-product","add","add-computer","add-four","add-item","add-mode","add-music","add-one","add-pic","add-picture","add-print","add-subset","add-subtract","add-text","add-text-two","add-three","add-two","add-user","add-web","address-book","adjacent-item","adjustment","adobe-illustrate","adobe-indesign","adobe-lightroom","adobe-photoshop","afferent","afferent-four","afferent-three","afferent-two","afro-pick","agreement","aiming","air-bike","air-conditioning","airplane","airplane-window","airplane-window-one","airplay","airpods","alarm","alarm-clock","align-bottom","align-bottom-two","align-horizontal-center-two","align-horizontally","align-left","align-left-one","align-left-two","align-right","align-right-one","align-right-two","align-text-both","align-text-both-one","align-text-bottom","align-text-bottom-one","align-text-center","align-text-center-one","align-text-left","align-text-left-one","align-text-middle","align-text-middle-one","align-text-right","align-text-right-one","align-text-top","align-text-top-one","align-top","align-top-two","align-vertical-center-two","align-vertically","alignment-bottom-center","alignment-bottom-left","alignment-bottom-right","alignment-horizontal-bottom","alignment-horizontal-center","alignment-horizontal-top","alignment-left-bottom","alignment-left-center","alignment-left-top","alignment-right-bottom","alignment-right-center","alignment-right-top","alignment-top-center","alignment-top-left","alignment-top-right","alignment-vertical-center","alignment-vertical-left","alignment-vertical-right","alipay","all-application","alphabetical-sorting","alphabetical-sorting-two","ambulance","analysis","anchor","anchor-one","anchor-round","anchor-squre","anchor-two","android","angry-face","anguished-face","announcement","anti-corrosion","aperture-priority","api","api-app","app-store","app-switch","apple","apple-one","applet-closed","application","application-effect","application-menu","application-one","application-two","appointment","aquarius","arc-de-triomphe","archers-bow","archery","area-map","arena","aries","arithmetic","arithmetic-buttons","arithmetic-one","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-keys","arrow-left","arrow-left-down","arrow-left-up","arrow-right","arrow-right-down","arrow-right-up","arrow-up","assembly-line","association","asterisk","asterisk-key","astonished-face","at-sign","attention","audio-file","audit","auto-focus","auto-height-one","auto-line-height","auto-line-width","auto-width","auto-width-one","avatar","average","aviation","avocado","avocado-one","baby","baby-app","baby-bottle","baby-car-seat","baby-feet","baby-meal","baby-mobile","baby-one","baby-pants","baby-sling","baby-taste","bachelor-cap","bachelor-cap-one","bachelor-cap-two","back","back-one","background-color","backpack","bad","bad-one","bad-two","badge","badge-two","badminton","baggage-delay","balance","balance-one","balance-two","banana","bank","bank-card","bank-card-one","bank-card-two","bank-transfer","baokemeng","bar-code","barbecue","barber-brush","barber-clippers","baseball","baseball-bat","baseball-cap","basketball","basketball-clothes","basketball-one","basketball-stand","bat","battery-charge","battery-empty","battery-failure","battery-full","battery-storage","battery-tips","battery-working","battery-working-one","beach-umbrella","bear","beauty","beauty-instrument","bedside","bedside-two","bee","beer","beer-mug","behance","bell-ring","belt","benz","bezier-curve","bib","big-clock","big-x","bike","bill","bird","birthday-cake","bitcoin","black-eight","blackboard","blade","bless","block","block-eight","block-five","block-four","block-nine","block-one","block-seven","block-six","block-ten","block-three","block-two","blockchain","blocks-and-arrows","bloom","blossom","bluetooth","boiler","bolt-one","bone","book","book-one","book-open","bookmark","bookmark-one","bookmark-three","bookshelf","booster-car-seat","booth","boots","bottle","bottle-one","bottle-three","bottle-two","bottom-bar","bottom-bar-one","bow","bowl","bowl-one","bowling","box","boxing","boxing-one","boy","boy-one","boy-stroller","boy-two","brain","brake-pads","branch","branch-one","branch-two","brdige-three","bread","bread-machine","bread-one","breast-pump","bridge-one","bridge-two","briefcase","brightness","bring-forward","bring-to-front","bring-to-front-one","broadcast","broadcast-one","broadcast-radio","browser","browser-chrome","browser-safari","bubble-chart","bug","building-four","building-one","building-three","building-two","bullet-map","bus","bus-one","bus-two","butterfly","buy","bydesign","bye","bytedance","bytedance-applets","bytedance-mini-app","cable-car","cactus","cake","cake-five","cake-four","cake-one","cake-three","cake-two","calculator","calculator-one","calendar","calendar-dot","calendar-thirty","calendar-thirty-two","calendar-three","camera","camera-five","camera-four","camera-one","camera-three","camera-two","camp","cancer","candy","canned-fruit","capricornus","car","car-battery","card-two","cardioelectric","carousel","carousel-video","carrot","cast-screen","castle","cat","category-management","cattle","cattle-zodiac","caution","cc","cd","ce-marking","cell","center-alignment","certificate","chafing-dish","chafing-dish-one","chair","chair-one","change","change-date-sort","charging-treasure","chart-graph","chart-histogram","chart-histogram-one","chart-histogram-two","chart-line","chart-line-area","chart-pie","chart-pie-one","chart-proportion","chart-ring","chart-scatter","chart-stock","check","check-correct","check-in","check-one","check-small","checkbox","checkerboard","checklist","cheese","chef-hat","chef-hat-one","cherry","chess","chess-one","chest","chicken","chicken-leg","chicken-zodiac","child-with-pacifier","children-cap","children-pyramid","chili","chimney","chinese","chinese-one","chinese-pavilion","chip","chopping-board","chopsticks-fork","christmas-tree","christmas-tree-one","church-one","church-two","circle-double-down","circle-double-left","circle-double-right","circle-double-up","circle-five-line","circle-four","circle-four-line","circle-house","circle-left-down","circle-left-up","circle-right-down","circle-right-up","circle-three","circle-two-line","circles-and-triangles","circles-seven","circular-connection","circus","city","city-gate","city-one","clap","classroom","clear","clear-format","click","click-tap","click-tap-two","click-to-fold","clipboard","clock-tower","close","close-one","close-remind","close-small","close-wifi","clothes-briefs","clothes-cardigan","clothes-crew-neck","clothes-diapers","clothes-gloves","clothes-gloves-two","clothes-hoodie","clothes-pants","clothes-pants-short","clothes-pants-sweat","clothes-short-sleeve","clothes-skates","clothes-suit","clothes-sweater","clothes-turtleneck","clothes-windbreaker","cloud-storage","cloudy","cloudy-night","clue","coat-hanger","cocktail","coconut-tree","code","code-brackets","code-computer","code-download","code-laptop","code-one","coffee-machine","cola","collapse-text-input","collect-computer","collect-laptop","collect-picture","collection-files","collection-records","color-card","color-filter","column","comb","come","command","comment","comment-one","comments","commodity","communication","commuter-bag","compass","compass-one","components","composition","compression","computer","computer-one","concept-sharing","concern","conditioner","cone","cones","config","confounded-face","confused-face","connect","connect-address-one","connect-address-two","connection","connection-arrow","connection-box","connection-point","connection-point-two","consignment","consume","contrast","contrast-view","contrast-view-circle","control","converging-gateway","cook","cooking","cooking-pot","cool","cooperative-handshake","coordinate-system","copy","copy-link","copy-one","copyright","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","coronavirus","correct","cosmetic-brush","coupon","court","cpu","crab","creation-date-sort","creative","credit","crib","croissant","cross-ring","cross-ring-two","cross-society","crown","crown-three","crown-two","cruise","crying-baby","cube","cube-five","cube-four","cube-three","cube-two","cup","cup-four","cup-one","curling","currency","curve-adjustment","customer","cutting","cutting-one","cuvette","cycle","cycle-arrow","cycle-movement","cycle-one","cylinder","damage-map","dark-mode","dashboard","dashboard-car","dashboard-one","dashboard-two","data","data-all","data-arrival","data-display","data-file","data-four","data-lock","data-null","data-one","data-screen","data-server","data-sheet","data-switching","data-three","data-two","data-user","database-alert","database-code","database-config","database-download","database-enter","database-fail","database-first","database-forbid","database-lock","database-network","database-network-point","database-point","database-position","database-power","database-proportion","database-search","database-setting","database-success","database-sync","database-time","date-comes-back","deadline-sort","death-star","deeplink","deer","degree-hat","delete","delete-five","delete-four","delete-key","delete-mode","delete-one","delete-themes","delete-three","delete-two","delivery","deposit","descend","desk-lamp","desk-lamp-one","detection","devices","diamond","diamond-necklace","diamond-one","diamond-ring","diamond-three","diamond-two","diamonds","dianziqian","diapers-one","difference-set","digital-watches","direction","direction-adjustment","direction-adjustment-three","direction-adjustment-two","disabaled-web","disabled-computer","disabled-laptop","disabled-picture","disappointed-face","discovery-index","disk","disk-one","disk-two","dislike","dislike-two","display","distortion","distraught-face","distribute-horizontal-spacing","distribute-horizontally","distribute-vertical-spacing","distribute-vertically","dividing-line","dividing-line-one","diving","diving-bottle","diving-suit","division","dizzy-face","doc-add","doc-detail","doc-fail","doc-search","doc-search-two","doc-success","document-folder","dog","dog-zodiac","dollar","dolphin","dome","dome-light","done-all","dongchedi","door-handle","dot","double-bed","double-down","double-left","double-right","double-up","doughnut","down","down-c","down-one","down-picture","down-small","down-square","down-two","download","download-computer","download-four","download-laptop","download-one","download-three","download-two","download-web","drag","dragon-zodiac","dribble","drink","drone","drone-one","drop-down-list","drop-shadow-down","drop-shadow-left","drop-shadow-right","drop-shadow-up","dropbox","drumstick","dubai","duck","dumbbel-line","dumbbell","dvi","eagle","earth","easy","ecg","edit","edit-movie","edit-name","edit-one","edit-two","editing","editor","eeg","effects","efferent-four","efferent-three","egg","egg-one","eggplant","eiffel-tower","eight-key","electric-drill","electric-iron","electric-wave","electrocardiogram","electronic-door-lock","electronic-locks-close","electronic-locks-open","electronic-pen","elephant","elevator","email-block","email-delect","email-down","email-fail","email-lock","email-push","email-search","email-security","email-successfully","emotion-happy","emotion-unhappy","empty","end-time-sort","endless","endocrine","endpoint-displacement","endpoint-flat","endpoint-round","endpoint-square","energy-socket","engineering-brand","engineering-vehicle","english","english-mustache","enquire","enter-key","enter-key-one","enter-the-keyboard","entertainment","envelope","envelope-one","equal-ratio","equalizer","erase","error","error-computer","error-picture","error-prompt","escalators","ethernet-off","ethernet-on","every-user","excel","excel-one","exchange","exchange-four","exchange-one","exchange-three","exchange-two","exclude-selection","exclusive-gateway","expand-down","expand-down-one","expand-left","expand-left-and-right","expand-right","expand-text-input","expand-up","expenses","expenses-one","experiment","experiment-one","export","express-delivery","expressionless-face","extend","external-transmission","eyebrow","eyes","f-eight-key","f-five-key","f-four-key","f-n-key","f-nine-key","f-one-key","f-seven-key","f-six-key","f-three-key","f-two-key","f-zero-key","face-powder","face-recognition","face-with-smiling-open-eyes","face-without-mouth","facebook","facebook-one","facetime","faceu","facial-cleanser","facial-mask","factory-building","fail-picture","family","fan","fanqiexiaoshuo","feelgood","feelgood-one","feiyu","female","fence-one","fence-two","ferris-wheel","figma","figma-component","figma-flatten-selection","figma-mask","figma-reset-instance","file-addition","file-addition-one","file-cabinet","file-code","file-code-one","file-collection","file-collection-one","file-conversion","file-conversion-one","file-date","file-date-one","file-display","file-display-one","file-doc","file-editing","file-editing-one","file-excel","file-failed","file-failed-one","file-focus","file-focus-one","file-gif","file-hash","file-hash-one","file-hiding","file-hiding-one","file-jpg","file-lock","file-lock-one","file-music","file-music-one","file-pdf","file-pdf-one","file-ppt","file-protection","file-protection-one","file-quality","file-quality-one","file-question","file-removal","file-removal-one","file-search","file-search-one","file-search-two","file-settings","file-settings-one","file-staff","file-staff-one","file-success","file-success-one","file-text","file-text-one","file-tips","file-tips-one","file-txt","file-txt-one","file-withdrawal","file-withdrawal-one","file-word","file-zip","fill","film","filter","filter-one","finance","financing","financing-one","financing-two","find","find-one","fingernail","fingerprint","fingerprint-three","fingerprint-two","fire","fire-extinguisher","fire-extinguisher-one","fire-two","fireworks","first","first-aid-kit","fish","fish-one","fishing","fist","fitness","five","five-ellipses","five-five","five-key","five-star-badge","flag","flash-payment","flashlamp","flashlight","flask","flight-airflow","flight-safety","flip-camera","flip-horizontally","flip-vertically","flirt","float","floor-tile","fm","focus","focus-one","fog","fold-up-one","folder","folder-block","folder-block-one","folder-close","folder-code","folder-code-one","folder-conversion","folder-conversion-one","folder-download","folder-failed","folder-failed-one","folder-focus","folder-focus-one","folder-lock","folder-lock-one","folder-minus","folder-music","folder-music-one","folder-one","folder-open","folder-plus","folder-protection","folder-protection-one","folder-quality","folder-quality-one","folder-search","folder-search-one","folder-settings","folder-settings-one","folder-success","folder-success-one","folder-upload","folder-withdrawal","folder-withdrawal-one","follow-up-date-sort","font-search","font-size","font-size-two","foot","football","forbid","fork","fork-spoon","form","form-one","format","format-brush","formula","foundation-makeup","four","four-arrows","four-four","four-key","four-leaves","four-point-connection","four-round-point-connection","foursquare","freeze-column","freeze-line","freezing-line-column","french-fries","friends-circle","frigate","frog","frowning-face-whit-open-mouth","fruiter","full-dress-longuette","full-screen","full-screen-one","full-screen-play","full-screen-two","full-selection","fullwidth","funds","future-build-one","future-build-three","future-build-two","game","game-console","game-console-one","game-emoji","game-handle","game-ps","game-three","game-two","gamepad","garage","garlic","gas","gastrointestinal","gate","gate-machine","gauze","gavel","gemini","general-branch","geometric-flowers","germs","ghost","gift","gift-bag","gift-box","girl","girl-one","girl-two","github","github-one","gitlab","glasses","glasses-one","glasses-three","globe","glove","go-ahead","go-end","go-on","go-start","goblet","goblet-cracking","goblet-full","goblet-one","gold-medal","gold-medal-two","golf-course","gongfu","good","good-one","good-two","google","google-ads","gopro","gps","graphic-design","graphic-design-two","graphic-stitching","graphic-stitching-four","graphic-stitching-three","great-wall","green-house","green-new-energy","grid-four","grid-nine","grid-sixteen","grid-three","grid-two","grimacing-face","grinning-face","grinning-face-with-open-mouth","grinning-face-with-squinting-eyes","grinning-face-with-tightly-closed-eyes","grinning-face-with-tightly-closed-eyes-open-mouth","group","guide-board","gymnastics","gymnastics-one","h","h1","h2","h3","hair-brush","hair-clip","hair-dryer","hair-dryer-one","halo","hamburger","hamburger-button","hamburger-one","hammer-and-anvil","hand-cream","hand-down","hand-drag","hand-left","hand-painted-plate","hand-right","hand-up","handbag","handheld","handle-a","handle-b","handle-c","handle-down","handle-left","handle-right","handle-round","handle-square","handle-triangle","handle-up","handle-x","handle-y","handle-z","hands","handwashing","handwashing-fluid","hanfu-chinese-style","hanger","hanger-one","hanger-two","hard-disk","hard-disk-one","harm","hashtag-key","hat","hdd","hdmi-cable","hdmi-connector","headphone-sound","headset","headset-one","headset-two","headwear","health","health-products","healthy-recognition","heart","heart-ballon","heart-rate","heartbeat","heater-resistor","heavy-metal","heavy-rain","heavy-wind","helmet","helmet-one","help","helpcenter","hexagon-one","hexagon-strip","hexagonal","hi","high-heeled-shoes","high-light","high-speed-rail","hippo","histogram","history","history-query","hockey","hold","hold-interface","hold-seeds","holding-hands","holy-sword","home","home-two","homestay","honey","honey-one","horizontal-spacing-between-items","horizontal-tidy-up","horizontally-centered","horse-zodiac","hospital","hospital-bed","hospital-four","hospital-three","hospital-two","hot-air-balloon","hot-pot","hot-pot-one","hotel","hotel-do-not-clean","hotel-please-clean","hourglass","hourglass-full","hourglass-null","html-five","hunting-gear","huoshanzhibo","i-mac","icecream","icecream-five","icecream-four","icecream-one","icecream-three","icecream-two","id-card","id-card-h","id-card-v","image-files","imbalance","import-and-export","in-flight","inbox","inbox-download-r","inbox-in","inbox-out","inbox-r","inbox-success","inbox-success-r","inbox-upload-r","inclusive-gateway","income","income-one","incoming","increase","increase-the-scale","indent-left","indent-right","index-finger","induction-lock","industrial-scales","info","infusion","injection","inline","inner-shadow-bottom-left","inner-shadow-bottom-right","inner-shadow-down","inner-shadow-left","inner-shadow-right","inner-shadow-top-left","inner-shadow-top-right","inner-shadow-up","insert-card","insert-table","inspection","instagram","instagram-one","install","instruction","intercom","intermediate-mode","internal-data","internal-expansion","internal-reduction","internal-transmission","international","intersect-selection","intersection","invalid-files","invert-camera","invert-left","invert-right","ios-face-recognition","ipad","ipad-one","iphone","ipo","iron","iron-disable","iron-three","iron-two","iwatch","iwatch-one","iwatch-two","jewelry","jinritoutiao","journey","joystick","juice","jump","kagi-map","kettle","kettle-one","key","key-one","key-two","keyboard","keyboard-one","keyhole","keyline","kitchen-knife","knife-fork","koala-bear","kungfu","label","ladder","ladder-one","lamp","land-surveying","landing","landscape","laptop","laptop-computer","laptop-one","lark","lark-one","lattice-pattern","layers","layout-five","layout-four","layout-one","layout-three","layout-two","leaf","leaves","leaves-one","leaves-two","led-diode","left","left-alignment","left-and-right-branch","left-bar","left-branch","left-c","left-expand","left-one","left-small","left-small-down","left-small-up","left-square","left-two","lemon","lens-alignment","leo","level","level-adjustment","level-eight-title","level-five-title","level-four-title","level-nine-title","level-seven-title","level-six-title","libra","lifebuoy","light","light-house","light-member","light-rain","lightning","like","lincoln","link","link-break","link-cloud","link-cloud-faild","link-cloud-sucess","link-four","link-in","link-interrupt","link-left","link-one","link-out","link-right","link-three","link-two","lip-gloss","lip-tattoo","lipstick","lipstick-one","liqueur","list","list-add","list-alphabet","list-bottom","list-checkbox","list-fail","list-middle","list-numbers","list-one","list-success","list-top","list-two","list-view","loading","loading-four","loading-one","loading-three","loading-two","local","local-pin","local-two","lock","lock-one","locking-computer","locking-laptop","locking-picture","locking-web","log","login","logout","lollipop","loop-once","lotion","lotus","loudly-crying-face","loudly-crying-face-whit-open-mouth","love-and-help","lower-branch","luggage","luminous","lung","mac-finder","macadamia-nut","magic","magic-hat","magic-wand","magnet","mail","mail-download","mail-edit","mail-open","mail-package","mail-review","mail-unpacking","maill-one","makeups","male","mall-bag","manual-gear","many-to-many","map-distance","map-draw","map-road","map-road-two","map-two","margin","margin-one","mark","market","market-analysis","mascara","mask","mask-one","mask-two","maslow-pyramids","massage-chair","massage-chair-one","massage-table","master","material","material-three","material-two","maximum","maya","mayura-gesture","me","measuring-cup","medal-one","mediaeditor","medical-box","medical-files","medical-mark","medication-time","medicine-bottle","medicine-bottle-one","medicine-chest","memory","memory-card","memory-card-one","memory-one","men-jacket","menu-fold","menu-fold-one","menu-unfold","menu-unfold-one","merge","merge-cells","message","message-emoji","message-failed","message-one","message-privacy","message-search","message-security","message-sent","message-success","message-unread","messages","messages-one","micro-sd","micro-slr-camera","microphone","microphone-one","microscope","microscope-one","microwave-oven","microwaves","middle-finger","milk","milk-one","min","mind-mapping","mindmap-list","mindmap-map","mini-sd-card","minus","minus-the-bottom","minus-the-top","mirror","mirror-one","mirror-two","misaligned-semicircle","mitsubishi","modify","modify-two","monitor","monitor-camera","monitor-off","monitor-one","monitor-two","monkey","monkey-zodiac","monument-one","monument-two","moon","more","more-app","more-four","more-one","more-three","more-two","mosaic","mountain","mounted","mouse","mouse-one","mouse-zodiac","mouth","move","move-in","move-in-one","move-one","movie","movie-board","moving-picture","multi-circular","multi-function-knife","multi-picture-carousel","multi-rectangle","multi-ring","multi-triangular","multi-triangular-four","multi-triangular-three","multi-triangular-two","multicast","multilayer-sphere","muscle","museum-one","museum-two","music","music-cd","music-list","music-menu","music-one","music-rhythm","mute","nail-polish","nail-polish-one","nasal","natural-mode","navigation","necktie","needle","negative-dynamics","nested-arrows","nests","network-drive","network-tree","neural","neutral-face","new-afferent","new-computer","new-dianziqian","new-efferent","new-lark","new-picture","newlybuild","newspaper-folding","next","nine-key","nine-points-connected","nintendo-switch","nmr","no-shooting","node-flat","node-round","node-square","noodles","notebook","notebook-and-pen","notebook-one","notepad","notes","nuclear-plant","nurse-cap","nut","nutrition","oceanengine","octagon","off-screen","off-screen-one","off-screen-two","oil-industry","okay","one","one-key","one-one","one-third-rotation","one-to-many","one-to-one","onesies","online-meeting","open","open-an-account","open-door","open-one","optimize","optional","orange","orange-one","orange-station","order","ordered-list","orthopedic","oscillator","other","outbound","outdoor","outgoing","oval-love","oval-love-two","oval-one","oven","oven-tray","overall-reduction","owl","pacifier","pad","page","page-template","pagoda","paint","painted-eggshell","painted-screen","palace","palm","panda","pangle","panorama-horizontal","panties","paper-money","paper-money-two","paper-ship","paperclip","parabola","parachute","paragraph-alphabet","paragraph-break","paragraph-break-two","paragraph-cut","paragraph-rectangle","paragraph-round","paragraph-triangle","paragraph-unfold","parallel-gateway","parallelogram","parenting-book","parking","party-balloon","passport","passport-one","pause","pause-one","pay-code","pay-code-one","pay-code-two","payment-method","paypal","peach","pear","pearl-of-the-orient","peas","pencil","pennant","pentagon-one","people","people-bottom","people-bottom-card","people-delete","people-delete-one","people-download","people-left","people-minus","people-minus-one","people-plus","people-plus-one","people-right","people-safe","people-safe-one","people-search","people-search-one","people-speak","people-top","people-top-card","people-unknown","people-upload","peoples","peoples-two","percentage","performance","perfume","perfumer-bottle","period","permissions","personal-collection","personal-privacy","perspective","pesticide","petrol","phone","phone-booth","phone-call","phone-incoming","phone-incoming-one","phone-missed","phone-off","phone-one","phone-outgoing","phone-outgoing-one","phone-telephone","phone-two","phone-video-call","phonograph","photograph","piano","pic","pic-one","picture","picture-album","picture-one","pie","pie-five","pie-four","pie-one","pie-seven","pie-six","pie-three","pie-two","pig","pig-zodiac","pigeon","pill","pills","pin","pineapple","pinwheel","pisces","pivot-table","plan","planet","plastic-surgery","platte","play","play-basketball","play-cycle","play-once","play-one","play-two","play-volleyball","play-wrong","playback-progress","plug","plug-one","plus","plus-cross","point","point-out","pokeball-one","poker","popcorn","popcorn-one","positive-dynamics","pot","potentiometer","pound","pound-sign","pouting-face","powder","power","power-supply","power-supply-one","powerpoint","ppt","pregnant-women","preschool","prescription","press","preview-close","preview-close-one","preview-open","printer","printer-one","printer-two","prison","process-line","projector","projector-one","projector-three","projector-two","proportional-scaling","protect","protection","public-toilet","pull-door","pull-requests","pumpkin","pure-natural","push-door","pushpin","puzzle","pyramid","pyramid-one","qingniao-clue","qiyehao","quadrangular-pyramid","quadrilateral","quote","rabbit","rabbit-zodiac","radar","radar-chart","radar-three","radar-two","radiation","radio","radio-nanny","radio-one","radio-two","radish","radish-one","railway","ranking","ranking-list","rattle","rattle-one","razor","read-book","receive","receiver","recent-views-sort","record","record-disc","record-player","rectangle","rectangle-one","rectangle-small","rectangle-tear","rectangle-x","rectangular-circular-connection","rectangular-circular-separation","rectangular-vertebra","recycle-bin","recycling","recycling-pool","red-cross","red-envelope","red-envelopes","redo","reduce","reduce-decimal-places","reduce-one","reduce-two","reduce-user","reel","refraction","refresh","refresh-one","refrigerator","reject","relational-graph","relieved-face","reload","remind","remind-disable","remote-control","remote-control-one","renal","renault","repair","replay-five","replay-music","report","repositioning","resistor","respect","resting","retro-bag","return","reverse-lens","reverse-lens-one","reverse-operation-in","reverse-operation-out","reverse-rotation","rice","riding","riding-one","right","right-angle","right-bar","right-branch","right-branch-one","right-branch-two","right-c","right-expand","right-one","right-run","right-small","right-small-down","right-small-up","right-square","right-two","right-user","ring","ring-one","rings","ripple","road","road-cone","road-one","road-sign","road-sign-both","robot","robot-one","robot-two","rock","rock-gesture","rocket","rocket-one","rocking-horse","rollerskates","romper","rope-skipping","rope-skipping-one","rotate","rotate-one","rotating-add","rotating-forward","rotation","rotation-horizontal","rotation-one","rotation-vertical","round","round-caliper","round-distortion","round-mask","round-socket","round-trip","router","router-one","row-height","rowing","rs-male","rss","rugby","rugby-one","rule-two","ruler","ruler-one","run-left","s-turn-down","s-turn-left","s-turn-right","s-turn-up","safe-retrieval","sagittarius","sailboat","sailboat-one","sailing","sales-report","sandals","sandstorm","sandwich","sandwich-one","sapling","save","save-one","scale","scale-one","scallion","scan","scan-code","scan-setting","scanning","scanning-two","scatter-alignment","schedule","school","scissors","scoreboard","scorpio","screen-rotation","screenshot","screenshot-one","screenshot-two","screwdriver","sd","sd-card","seal","search","seat","security","security-stall","seedling","selected","selected-focus","selfie","send","send-backward","send-email","send-one","send-to-back","sent-to-back","seo","seo-folder","server","set-off","setting","setting-computer","setting-config","setting-laptop","setting-one","setting-three","setting-two","setting-web","seven-key","shade","shake","share","share-one","share-sys","share-three","share-two","shaver","shaver-one","shaving","sheep-zodiac","shield","shield-add","ship","shop","shopping","shopping-bag","shopping-bag-one","shopping-cart","shopping-cart-add","shopping-cart-del","shopping-cart-one","shopping-cart-two","shopping-mall","short-skirt","shorts","shoulder-bag","shovel","shovel-one","shower-head","shrimp","shuffle","shuffle-one","shutter-priority","sickbed","signal","signal-one","signal-strength","signal-tower","signal-tower-one","sim","sim-card","single-bed","sinusoid","sippy-cup","six","six-circular-connection","six-key","six-points","skate","skates","skating","sketch","skiing-nordic","skull","slave","sleaves","sleep","sleep-one","sleep-two","slide","slide-two","sliding-horizontal","sliding-vertical","slightly-frowning-face-whit-open-mouth","slightly-smiling-face","slippers","slippers-one","sly-face-whit-smile","smart-optimization","smiling-face","smiling-face-with-squinting-eyes","snacks","snake-zodiac","snow","snowflake","snowman","soap-bubble","soccer","soccer-one","socks","sofa","sofa-two","softball","solar-energy","solar-energy-one","solid-state-disk","sorcerer-hat","sort","sort-amount-down","sort-amount-up","sort-four","sort-one","sort-three","sort-two","sound","sound-one","sound-wave","source-code","soybean-milk-maker","spa-candle","space-colony","spanner","speaker","speaker-one","speed","speed-one","sperm","sphere","spider-man","spikedshoes","spinning-top","split","split-branch","split-cells","split-turn-down-left","split-turn-down-right","spoon","sport","sporting","square","square-small","ssd","stack-light","stamp","stand-up","stapler","star","star-one","start-time-sort","steering-wheel","steoller","stereo-nesting","stereo-one","stereo-perspective","stethoscope","stickers","stock-market","stopwatch","stopwatch-start","storage-card-one","storage-card-two","straight-razor","straw-hat","stretching","stretching-one","strikethrough","strongbox","subtract-selection","subtract-selection-one","subway","success","success-picture","sum","sun","sun-hat","sun-one","sunbath","sunny","sunrise","sunset","sunshade","surprised-face-with-open-big-mouth","surprised-face-with-open-mouth","surveillance-cameras","surveillance-cameras-one","surveillance-cameras-two","swallow","sweater","swimming-pool","swimming-ring","swimsuit","swing","swipe","switch","switch-button","switch-contrast","switch-nintendo","switch-one","switch-themes","switch-track","switching-done","symbol","symbol-double-x","symmetry","sync","system","t-shirt","table","table-file","table-lamp","table-report","tabletennis","tag","tag-one","tailoring","tailoring-two","taj-mahal","take-off","take-off-one","taobao","tape","tape-measure","target","target-one","target-two","taurus","taxi","tea","tea-drink","teapot","teeth","telegram","telescope","tencent-qq","tennis","tent","tent-banner","terminal","termination-file","terrace","test-tube","text","text-bold","text-italic","text-message","text-recognition","text-rotation-down","text-rotation-left","text-rotation-none","text-rotation-up","text-style","text-style-one","text-underline","text-wrap-overflow","text-wrap-truncation","textarea","texture","texture-two","the-single-shoulder-bag","theater","theme","thermometer","thermometer-one","thermos-cup","thin","thinking-problem","three","three-d-glasses","three-hexagons","three-key","three-slashes","three-three","three-triangles","thumbs-down","thumbs-up","thunderbolt","thunderstorm","thunderstorm-one","ticket","ticket-one","tickets-checked","tickets-one","tickets-two","tiger-zodiac","tiktok","time","timed-mail","timeline","timer","tips","tips-one","tire-swing","title-level","to-bottom","to-bottom-one","to-left","to-right","to-top","to-top-one","toilet","tomato","tool","toolkit","top-bar","topbuzz","topic","topic-discussion","torch","tour-bus","towel","tower","tower-of-babel","tower-of-pisa","toxins","trace","trademark","traditional-chinese-medicine","train","transaction","transaction-order","transfer","transfer-data","transform","translate","translation","transport","transporter","trapezoid","tray","treadmill","treadmill-one","treadmill-two","treasure-chest","tree","tree-diagram","tree-list","tree-one","tree-two","trend","trend-two","trending-down","trending-up","triangle","triangle-round-rectangle","triangle-ruler","triangular-pyramid","trophy","trousers-bell-bottoms","truck","trumpet","trunk","tub","tuchong","tumblr","turkey","turn-around","turn-off-bluetooth","turn-on","tv","tv-one","twitter","two","two-dimensional-code","two-dimensional-code-one","two-dimensional-code-two","two-ellipses","two-fingers","two-hands","two-key","two-semicircles","two-triangles","two-triangles-two","two-two","type-drive","u-disk","u-turn-down","u-turn-left","u-turn-right","u-turn-up","ulikecam","umbrella","umbrella-one","umbrella-two","undo","ungroup","unicast","union-selection","universal","unlike","unlink","unlock","unlock-one","unordered-list","up","up-and-down","up-c","up-one","up-small","up-square","up-two","update-rotation","upload","upload-computer","upload-laptop","upload-logs","upload-one","upload-picture","upload-three","upload-two","upload-web","upside-down-face","usb","usb-memory-stick","usb-micro-one","usb-micro-two","usb-one","usb-type-c","user","user-business","user-positioning","user-to-user-transmission","uterus","vacation","vacuum-cleaner","vegetable-basket","vegetables","vertical-spacing-between-items","vertical-tidy-up","vertical-timeline","vertically-centered","vest","vial","vicia-faba","video","video-conference","video-file","video-one","video-two","videocamera","videocamera-one","viencharts","view-grid-card","view-grid-detail","view-grid-list","view-list","viewfinder","vigo","vip","vip-one","virgo","virtual-reality-glasses","voice","voice-input","voice-message","voice-off","voice-one","voicemail","volkswagen","volleyball","volume-down","volume-mute","volume-notice","volume-small","volume-up","vr-glasses","waistline","wallet","wallet-one","wallet-three","wallet-two","warehousing","washing-machine","washing-machine-one","watch","watch-one","water","water-level","water-no","water-rate","water-rate-two","waterfalls-h","waterfalls-v","watermelon","watermelon-one","waterpolo","waterpolo-one","waves","waves-left","waves-right","weary-face","web-page","webcam","wechat","weibo","weight","weightlifting","weixin-cards-offers","weixin-favorites","weixin-games","weixin-market","weixin-mini-app","weixin-people-nearby","weixin-scan","weixin-search","weixin-shake","weixin-top-stories","whale","wheelchair","whirlwind","whistling","whole-site-accelerator","wifi","wind","wind-turbine","windmill","windmill-one","windmill-two","windows","wingsuit-flying","winking-face","winking-face-with-open-eyes","woman","women","women-coat","woolen-hat","word","workbench","worker","world","worried-face","write","writing-fluently","wrong-user","xiaodu","xiaodu-home","xigua","xingfuli","xingtu","yep","youtobe","youtube","zero-key","zijinyunying","zip","zoom","zoom-in","zoom-internal","zoom-out"]},{"prefix":"mdi","info":{"name":"Material Design Icons","total":7447,"author":{"name":"Pictogrammers","url":"https://github.com/Templarian/MaterialDesign"},"license":{"title":"Apache 2.0","spdx":"Apache-2.0","url":"https://github.com/Templarian/MaterialDesign/blob/master/LICENSE"},"samples":["account-check","bell-alert-outline","calendar-edit"],"height":24,"category":"General","palette":false},"icons":["ab-testing","abacus","abjad-arabic","abjad-hebrew","abugida-devanagari","abugida-thai","access-point","access-point-check","access-point-minus","access-point-network","access-point-network-off","access-point-off","access-point-plus","access-point-remove","account","account-alert","account-alert-outline","account-arrow-down","account-arrow-down-outline","account-arrow-left","account-arrow-left-outline","account-arrow-right","account-arrow-right-outline","account-arrow-up","account-arrow-up-outline","account-badge","account-badge-outline","account-box","account-box-edit-outline","account-box-minus-outline","account-box-multiple","account-box-multiple-outline","account-box-outline","account-box-plus-outline","account-cancel","account-cancel-outline","account-card","account-card-outline","account-cash","account-cash-outline","account-check","account-check-outline","account-child","account-child-circle","account-child-outline","account-circle","account-circle-outline","account-clock","account-clock-outline","account-cog","account-cog-outline","account-convert","account-convert-outline","account-cowboy-hat","account-cowboy-hat-outline","account-credit-card","account-credit-card-outline","account-details","account-details-outline","account-edit","account-edit-outline","account-eye","account-eye-outline","account-file","account-file-outline","account-file-text","account-file-text-outline","account-filter","account-filter-outline","account-group","account-group-outline","account-hard-hat","account-hard-hat-outline","account-heart","account-heart-outline","account-injury","account-injury-outline","account-key","account-key-outline","account-lock","account-lock-open","account-lock-open-outline","account-lock-outline","account-minus","account-minus-outline","account-multiple","account-multiple-check","account-multiple-check-outline","account-multiple-minus","account-multiple-minus-outline","account-multiple-outline","account-multiple-plus","account-multiple-plus-outline","account-multiple-remove","account-multiple-remove-outline","account-music","account-music-outline","account-network","account-network-off","account-network-off-outline","account-network-outline","account-off","account-off-outline","account-outline","account-plus","account-plus-outline","account-question","account-question-outline","account-reactivate","account-reactivate-outline","account-remove","account-remove-outline","account-school","account-school-outline","account-search","account-search-outline","account-settings","account-settings-outline","account-settings-variant","account-star","account-star-outline","account-supervisor","account-supervisor-circle","account-supervisor-circle-outline","account-supervisor-outline","account-switch","account-switch-outline","account-sync","account-sync-outline","account-tag","account-tag-outline","account-tie","account-tie-hat","account-tie-hat-outline","account-tie-outline","account-tie-voice","account-tie-voice-off","account-tie-voice-off-outline","account-tie-voice-outline","account-tie-woman","account-voice","account-voice-off","account-wrench","account-wrench-outline","accusoft","ad-choices","adchoices","adjust","adobe","advertisements","advertisements-off","air-conditioner","air-filter","air-horn","air-humidifier","air-humidifier-off","air-purifier","air-purifier-off","airbag","airballoon","airballoon-outline","airplane","airplane-alert","airplane-check","airplane-clock","airplane-cog","airplane-edit","airplane-landing","airplane-marker","airplane-minus","airplane-off","airplane-plus","airplane-remove","airplane-search","airplane-settings","airplane-takeoff","airport","alarm","alarm-bell","alarm-check","alarm-light","alarm-light-off","alarm-light-off-outline","alarm-light-outline","alarm-multiple","alarm-note","alarm-note-off","alarm-off","alarm-panel","alarm-panel-outline","alarm-plus","alarm-snooze","album","alert","alert-box","alert-box-outline","alert-circle","alert-circle-check","alert-circle-check-outline","alert-circle-outline","alert-decagram","alert-decagram-outline","alert-minus","alert-minus-outline","alert-octagon","alert-octagon-outline","alert-octagram","alert-octagram-outline","alert-outline","alert-plus","alert-plus-outline","alert-remove","alert-remove-outline","alert-rhombus","alert-rhombus-outline","alien","alien-outline","align-horizontal-center","align-horizontal-distribute","align-horizontal-left","align-horizontal-right","align-vertical-bottom","align-vertical-center","align-vertical-distribute","align-vertical-top","all-inclusive","all-inclusive-box","all-inclusive-box-outline","allergy","allo","alpha","alpha-a","alpha-a-box","alpha-a-box-outline","alpha-a-circle","alpha-a-circle-outline","alpha-b","alpha-b-box","alpha-b-box-outline","alpha-b-circle","alpha-b-circle-outline","alpha-c","alpha-c-box","alpha-c-box-outline","alpha-c-circle","alpha-c-circle-outline","alpha-d","alpha-d-box","alpha-d-box-outline","alpha-d-circle","alpha-d-circle-outline","alpha-e","alpha-e-box","alpha-e-box-outline","alpha-e-circle","alpha-e-circle-outline","alpha-f","alpha-f-box","alpha-f-box-outline","alpha-f-circle","alpha-f-circle-outline","alpha-g","alpha-g-box","alpha-g-box-outline","alpha-g-circle","alpha-g-circle-outline","alpha-h","alpha-h-box","alpha-h-box-outline","alpha-h-circle","alpha-h-circle-outline","alpha-i","alpha-i-box","alpha-i-box-outline","alpha-i-circle","alpha-i-circle-outline","alpha-j","alpha-j-box","alpha-j-box-outline","alpha-j-circle","alpha-j-circle-outline","alpha-k","alpha-k-box","alpha-k-box-outline","alpha-k-circle","alpha-k-circle-outline","alpha-l","alpha-l-box","alpha-l-box-outline","alpha-l-circle","alpha-l-circle-outline","alpha-m","alpha-m-box","alpha-m-box-outline","alpha-m-circle","alpha-m-circle-outline","alpha-n","alpha-n-box","alpha-n-box-outline","alpha-n-circle","alpha-n-circle-outline","alpha-o","alpha-o-box","alpha-o-box-outline","alpha-o-circle","alpha-o-circle-outline","alpha-p","alpha-p-box","alpha-p-box-outline","alpha-p-circle","alpha-p-circle-outline","alpha-q","alpha-q-box","alpha-q-box-outline","alpha-q-circle","alpha-q-circle-outline","alpha-r","alpha-r-box","alpha-r-box-outline","alpha-r-circle","alpha-r-circle-outline","alpha-s","alpha-s-box","alpha-s-box-outline","alpha-s-circle","alpha-s-circle-outline","alpha-t","alpha-t-box","alpha-t-box-outline","alpha-t-circle","alpha-t-circle-outline","alpha-u","alpha-u-box","alpha-u-box-outline","alpha-u-circle","alpha-u-circle-outline","alpha-v","alpha-v-box","alpha-v-box-outline","alpha-v-circle","alpha-v-circle-outline","alpha-w","alpha-w-box","alpha-w-box-outline","alpha-w-circle","alpha-w-circle-outline","alpha-x","alpha-x-box","alpha-x-box-outline","alpha-x-circle","alpha-x-circle-outline","alpha-y","alpha-y-box","alpha-y-box-outline","alpha-y-circle","alpha-y-circle-outline","alpha-z","alpha-z-box","alpha-z-box-outline","alpha-z-circle","alpha-z-circle-outline","alphabet-aurebesh","alphabet-cyrillic","alphabet-greek","alphabet-latin","alphabet-piqad","alphabet-tengwar","alphabetical","alphabetical-off","alphabetical-variant","alphabetical-variant-off","altimeter","amazon","amazon-alexa","amazon-drive","ambulance","ammunition","ampersand","amplifier","amplifier-off","anchor","android","android-auto","android-debug-bridge","android-head","android-messages","android-studio","angle-acute","angle-obtuse","angle-right","angular","angularjs","animation","animation-outline","animation-play","animation-play-outline","ansible","antenna","anvil","apache-kafka","api","api-off","apple","apple-finder","apple-icloud","apple-ios","apple-keyboard-caps","apple-keyboard-command","apple-keyboard-control","apple-keyboard-option","apple-keyboard-shift","apple-safari","application","application-array","application-array-outline","application-braces","application-braces-outline","application-brackets","application-brackets-outline","application-cog","application-cog-outline","application-edit","application-edit-outline","application-export","application-import","application-outline","application-parentheses","application-parentheses-outline","application-settings","application-settings-outline","application-variable","application-variable-outline","appnet","approximately-equal","approximately-equal-box","apps","apps-box","arch","archive","archive-alert","archive-alert-outline","archive-arrow-down","archive-arrow-down-outline","archive-arrow-up","archive-arrow-up-outline","archive-cancel","archive-cancel-outline","archive-check","archive-check-outline","archive-clock","archive-clock-outline","archive-cog","archive-cog-outline","archive-edit","archive-edit-outline","archive-eye","archive-eye-outline","archive-lock","archive-lock-open","archive-lock-open-outline","archive-lock-outline","archive-marker","archive-marker-outline","archive-minus","archive-minus-outline","archive-music","archive-music-outline","archive-off","archive-off-outline","archive-outline","archive-plus","archive-plus-outline","archive-refresh","archive-refresh-outline","archive-remove","archive-remove-outline","archive-search","archive-search-outline","archive-settings","archive-settings-outline","archive-star","archive-star-outline","archive-sync","archive-sync-outline","arm-flex","arm-flex-outline","arrange-bring-forward","arrange-bring-to-front","arrange-send-backward","arrange-send-to-back","arrow-all","arrow-bottom-left","arrow-bottom-left-bold-box","arrow-bottom-left-bold-box-outline","arrow-bottom-left-bold-outline","arrow-bottom-left-thick","arrow-bottom-left-thin","arrow-bottom-left-thin-circle-outline","arrow-bottom-right","arrow-bottom-right-bold-box","arrow-bottom-right-bold-box-outline","arrow-bottom-right-bold-outline","arrow-bottom-right-thick","arrow-bottom-right-thin","arrow-bottom-right-thin-circle-outline","arrow-collapse","arrow-collapse-all","arrow-collapse-down","arrow-collapse-horizontal","arrow-collapse-left","arrow-collapse-right","arrow-collapse-up","arrow-collapse-vertical","arrow-decision","arrow-decision-auto","arrow-decision-auto-outline","arrow-decision-outline","arrow-down","arrow-down-bold","arrow-down-bold-box","arrow-down-bold-box-outline","arrow-down-bold-circle","arrow-down-bold-circle-outline","arrow-down-bold-hexagon-outline","arrow-down-bold-outline","arrow-down-box","arrow-down-circle","arrow-down-circle-outline","arrow-down-drop-circle","arrow-down-drop-circle-outline","arrow-down-left","arrow-down-left-bold","arrow-down-right","arrow-down-right-bold","arrow-down-thick","arrow-down-thin","arrow-down-thin-circle-outline","arrow-expand","arrow-expand-all","arrow-expand-down","arrow-expand-horizontal","arrow-expand-left","arrow-expand-right","arrow-expand-up","arrow-expand-vertical","arrow-horizontal-lock","arrow-left","arrow-left-bold","arrow-left-bold-box","arrow-left-bold-box-outline","arrow-left-bold-circle","arrow-left-bold-circle-outline","arrow-left-bold-hexagon-outline","arrow-left-bold-outline","arrow-left-bottom","arrow-left-bottom-bold","arrow-left-box","arrow-left-circle","arrow-left-circle-outline","arrow-left-drop-circle","arrow-left-drop-circle-outline","arrow-left-right","arrow-left-right-bold","arrow-left-right-bold-outline","arrow-left-thick","arrow-left-thin","arrow-left-thin-circle-outline","arrow-left-top","arrow-left-top-bold","arrow-oscillating","arrow-oscillating-off","arrow-projectile","arrow-projectile-multiple","arrow-right","arrow-right-bold","arrow-right-bold-box","arrow-right-bold-box-outline","arrow-right-bold-circle","arrow-right-bold-circle-outline","arrow-right-bold-hexagon-outline","arrow-right-bold-outline","arrow-right-bottom","arrow-right-bottom-bold","arrow-right-box","arrow-right-circle","arrow-right-circle-outline","arrow-right-drop-circle","arrow-right-drop-circle-outline","arrow-right-thick","arrow-right-thin","arrow-right-thin-circle-outline","arrow-right-top","arrow-right-top-bold","arrow-split-horizontal","arrow-split-vertical","arrow-top-left","arrow-top-left-bold-box","arrow-top-left-bold-box-outline","arrow-top-left-bold-outline","arrow-top-left-bottom-right","arrow-top-left-bottom-right-bold","arrow-top-left-thick","arrow-top-left-thin","arrow-top-left-thin-circle-outline","arrow-top-right","arrow-top-right-bold-box","arrow-top-right-bold-box-outline","arrow-top-right-bold-outline","arrow-top-right-bottom-left","arrow-top-right-bottom-left-bold","arrow-top-right-thick","arrow-top-right-thin","arrow-top-right-thin-circle-outline","arrow-u-down-left","arrow-u-down-left-bold","arrow-u-down-right","arrow-u-down-right-bold","arrow-u-left-bottom","arrow-u-left-bottom-bold","arrow-u-left-top","arrow-u-left-top-bold","arrow-u-right-bottom","arrow-u-right-bottom-bold","arrow-u-right-top","arrow-u-right-top-bold","arrow-u-up-left","arrow-u-up-left-bold","arrow-u-up-right","arrow-u-up-right-bold","arrow-up","arrow-up-bold","arrow-up-bold-box","arrow-up-bold-box-outline","arrow-up-bold-circle","arrow-up-bold-circle-outline","arrow-up-bold-hexagon-outline","arrow-up-bold-outline","arrow-up-box","arrow-up-circle","arrow-up-circle-outline","arrow-up-down","arrow-up-down-bold","arrow-up-down-bold-outline","arrow-up-drop-circle","arrow-up-drop-circle-outline","arrow-up-left","arrow-up-left-bold","arrow-up-right","arrow-up-right-bold","arrow-up-thick","arrow-up-thin","arrow-up-thin-circle-outline","arrow-vertical-lock","artboard","artstation","aspect-ratio","assistant","asterisk","asterisk-circle-outline","at","atlassian","atm","atom","atom-variant","attachment","attachment-check","attachment-lock","attachment-minus","attachment-off","attachment-plus","attachment-remove","atv","audio-input-rca","audio-input-stereo-minijack","audio-input-xlr","audio-video","audio-video-off","augmented-reality","aurora","auto-download","auto-fix","auto-mode","auto-upload","autorenew","autorenew-off","av-timer","awning","awning-outline","aws","axe","axe-battle","axis","axis-arrow","axis-arrow-info","axis-arrow-lock","axis-lock","axis-x-arrow","axis-x-arrow-lock","axis-x-rotate-clockwise","axis-x-rotate-counterclockwise","axis-x-y-arrow-lock","axis-y-arrow","axis-y-arrow-lock","axis-y-rotate-clockwise","axis-y-rotate-counterclockwise","axis-z-arrow","axis-z-arrow-lock","axis-z-rotate-clockwise","axis-z-rotate-counterclockwise","babel","baby","baby-bottle","baby-bottle-outline","baby-buggy","baby-buggy-off","baby-carriage","baby-carriage-off","baby-face","baby-face-outline","backburger","backspace","backspace-outline","backspace-reverse","backspace-reverse-outline","backup-restore","bacteria","bacteria-outline","badge-account","badge-account-alert","badge-account-alert-outline","badge-account-horizontal","badge-account-horizontal-outline","badge-account-outline","badminton","bag-carry-on","bag-carry-on-check","bag-carry-on-off","bag-checked","bag-personal","bag-personal-off","bag-personal-off-outline","bag-personal-outline","bag-personal-plus","bag-personal-plus-outline","bag-personal-tag","bag-personal-tag-outline","bag-suitcase","bag-suitcase-off","bag-suitcase-off-outline","bag-suitcase-outline","baguette","balcony","balloon","ballot","ballot-outline","ballot-recount","ballot-recount-outline","bandage","bandcamp","bank","bank-check","bank-circle","bank-circle-outline","bank-minus","bank-off","bank-off-outline","bank-outline","bank-plus","bank-remove","bank-transfer","bank-transfer-in","bank-transfer-out","barcode","barcode-off","barcode-scan","barley","barley-off","barn","barrel","barrel-outline","baseball","baseball-bat","baseball-diamond","baseball-diamond-outline","baseball-outline","basecamp","bash","basket","basket-check","basket-check-outline","basket-fill","basket-minus","basket-minus-outline","basket-off","basket-off-outline","basket-outline","basket-plus","basket-plus-outline","basket-remove","basket-remove-outline","basket-unfill","basketball","basketball-hoop","basketball-hoop-outline","bat","bathtub","bathtub-outline","battery","battery-10","battery-10-bluetooth","battery-20","battery-20-bluetooth","battery-30","battery-30-bluetooth","battery-40","battery-40-bluetooth","battery-50","battery-50-bluetooth","battery-60","battery-60-bluetooth","battery-70","battery-70-bluetooth","battery-80","battery-80-bluetooth","battery-90","battery-90-bluetooth","battery-alert","battery-alert-bluetooth","battery-alert-variant","battery-alert-variant-outline","battery-arrow-down","battery-arrow-down-outline","battery-arrow-up","battery-arrow-up-outline","battery-bluetooth","battery-bluetooth-variant","battery-charging","battery-charging-10","battery-charging-100","battery-charging-20","battery-charging-30","battery-charging-40","battery-charging-50","battery-charging-60","battery-charging-70","battery-charging-80","battery-charging-90","battery-charging-high","battery-charging-low","battery-charging-medium","battery-charging-outline","battery-charging-wireless","battery-charging-wireless-10","battery-charging-wireless-20","battery-charging-wireless-30","battery-charging-wireless-40","battery-charging-wireless-50","battery-charging-wireless-60","battery-charging-wireless-70","battery-charging-wireless-80","battery-charging-wireless-90","battery-charging-wireless-alert","battery-charging-wireless-outline","battery-check","battery-check-outline","battery-clock","battery-clock-outline","battery-heart","battery-heart-outline","battery-heart-variant","battery-high","battery-lock","battery-lock-open","battery-low","battery-medium","battery-minus","battery-minus-outline","battery-minus-variant","battery-negative","battery-off","battery-off-outline","battery-outline","battery-plus","battery-plus-outline","battery-plus-variant","battery-positive","battery-remove","battery-remove-outline","battery-standard","battery-sync","battery-sync-outline","battery-unknown","battery-unknown-bluetooth","battlenet","beach","beaker","beaker-alert","beaker-alert-outline","beaker-check","beaker-check-outline","beaker-minus","beaker-minus-outline","beaker-outline","beaker-plus","beaker-plus-outline","beaker-question","beaker-question-outline","beaker-remove","beaker-remove-outline","beam","beats","bed","bed-clock","bed-double","bed-double-outline","bed-empty","bed-king","bed-king-outline","bed-outline","bed-queen","bed-queen-outline","bed-single","bed-single-outline","bee","bee-flower","beehive-off-outline","beehive-outline","beekeeper","beer","beer-outline","behance","bell","bell-alert","bell-alert-outline","bell-badge","bell-badge-outline","bell-cancel","bell-cancel-outline","bell-check","bell-check-outline","bell-circle","bell-circle-outline","bell-cog","bell-cog-outline","bell-minus","bell-minus-outline","bell-off","bell-off-outline","bell-outline","bell-plus","bell-plus-outline","bell-remove","bell-remove-outline","bell-ring","bell-ring-outline","bell-sleep","bell-sleep-outline","bench","bench-back","beta","betamax","biathlon","bicycle","bicycle-basket","bicycle-cargo","bicycle-electric","bicycle-penny-farthing","bike","bike-fast","bike-pedal","bike-pedal-clipless","bike-pedal-mountain","billboard","billiards","billiards-rack","binoculars","bio","biohazard","bird","bitbucket","bitcoin","black-mesa","blackberry","blender","blender-outline","blender-software","blinds","blinds-horizontal","blinds-horizontal-closed","blinds-open","blinds-vertical","blinds-vertical-closed","block-helper","blogger","blood-bag","bluetooth","bluetooth-audio","bluetooth-connect","bluetooth-off","bluetooth-settings","bluetooth-transfer","blur","blur-linear","blur-off","blur-radial","bolt","bomb","bomb-off","bone","bone-off","book","book-account","book-account-outline","book-alert","book-alert-outline","book-alphabet","book-arrow-down","book-arrow-down-outline","book-arrow-left","book-arrow-left-outline","book-arrow-right","book-arrow-right-outline","book-arrow-up","book-arrow-up-outline","book-cancel","book-cancel-outline","book-check","book-check-outline","book-clock","book-clock-outline","book-cog","book-cog-outline","book-cross","book-edit","book-edit-outline","book-education","book-education-outline","book-heart","book-heart-outline","book-information-variant","book-lock","book-lock-open","book-lock-open-outline","book-lock-outline","book-marker","book-marker-outline","book-minus","book-minus-multiple","book-minus-multiple-outline","book-minus-outline","book-multiple","book-multiple-minus","book-multiple-outline","book-multiple-plus","book-multiple-remove","book-multiple-variant","book-music","book-music-outline","book-off","book-off-outline","book-open","book-open-blank-variant","book-open-blank-variant-outline","book-open-outline","book-open-page-variant","book-open-page-variant-outline","book-open-variant","book-open-variant-outline","book-outline","book-play","book-play-outline","book-plus","book-plus-multiple","book-plus-multiple-outline","book-plus-outline","book-refresh","book-refresh-outline","book-remove","book-remove-multiple","book-remove-multiple-outline","book-remove-outline","book-search","book-search-outline","book-settings","book-settings-outline","book-sync","book-sync-outline","book-variant","book-variant-multiple","bookmark","bookmark-box","bookmark-box-multiple","bookmark-box-multiple-outline","bookmark-box-outline","bookmark-check","bookmark-check-outline","bookmark-minus","bookmark-minus-outline","bookmark-multiple","bookmark-multiple-outline","bookmark-music","bookmark-music-outline","bookmark-off","bookmark-off-outline","bookmark-outline","bookmark-plus","bookmark-plus-outline","bookmark-remove","bookmark-remove-outline","bookshelf","boom-gate","boom-gate-alert","boom-gate-alert-outline","boom-gate-arrow-down","boom-gate-arrow-down-outline","boom-gate-arrow-up","boom-gate-arrow-up-outline","boom-gate-outline","boom-gate-up","boom-gate-up-outline","boombox","boomerang","bootstrap","border-all","border-all-variant","border-bottom","border-bottom-variant","border-color","border-horizontal","border-inside","border-left","border-left-variant","border-none","border-none-variant","border-outside","border-radius","border-right","border-right-variant","border-style","border-top","border-top-variant","border-vertical","bottle-soda","bottle-soda-classic","bottle-soda-classic-outline","bottle-soda-outline","bottle-tonic","bottle-tonic-outline","bottle-tonic-plus","bottle-tonic-plus-outline","bottle-tonic-skull","bottle-tonic-skull-outline","bottle-wine","bottle-wine-outline","bow-arrow","bow-tie","bowl","bowl-mix","bowl-mix-outline","bowl-outline","bowling","box","box-cutter","box-cutter-off","box-download","box-shadow","box-upload","boxing-glove","boxing-gloves","braille","brain","bread-slice","bread-slice-outline","bridge","briefcase","briefcase-account","briefcase-account-outline","briefcase-arrow-left-right","briefcase-arrow-left-right-outline","briefcase-arrow-up-down","briefcase-arrow-up-down-outline","briefcase-check","briefcase-check-outline","briefcase-clock","briefcase-clock-outline","briefcase-download","briefcase-download-outline","briefcase-edit","briefcase-edit-outline","briefcase-eye","briefcase-eye-outline","briefcase-minus","briefcase-minus-outline","briefcase-off","briefcase-off-outline","briefcase-outline","briefcase-plus","briefcase-plus-outline","briefcase-remove","briefcase-remove-outline","briefcase-search","briefcase-search-outline","briefcase-upload","briefcase-upload-outline","briefcase-variant","briefcase-variant-off","briefcase-variant-off-outline","briefcase-variant-outline","brightness","brightness-1","brightness-2","brightness-3","brightness-4","brightness-5","brightness-6","brightness-7","brightness-auto","brightness-percent","broadcast","broadcast-off","broom","brush","brush-off","brush-outline","brush-variant","bucket","bucket-outline","buffer","buffet","bug","bug-check","bug-check-outline","bug-outline","bug-pause","bug-pause-outline","bug-play","bug-play-outline","bug-stop","bug-stop-outline","bugle","bulkhead-light","bulldozer","bullet","bulletin-board","bullhorn","bullhorn-outline","bullhorn-variant","bullhorn-variant-outline","bullseye","bullseye-arrow","bulma","bunk-bed","bunk-bed-outline","bus","bus-alert","bus-articulated-end","bus-articulated-front","bus-clock","bus-double-decker","bus-electric","bus-marker","bus-multiple","bus-school","bus-side","bus-sign","bus-stop","bus-stop-covered","bus-stop-uncovered","bus-wrench","butterfly","butterfly-outline","button-cursor","button-pointer","cabin-a-frame","cable-data","cached","cactus","cake","cake-layered","cake-variant","cake-variant-outline","calculator","calculator-off","calculator-variant","calculator-variant-outline","calendar","calendar-account","calendar-account-outline","calendar-alert","calendar-alert-outline","calendar-arrow-left","calendar-arrow-right","calendar-badge","calendar-badge-outline","calendar-blank","calendar-blank-multiple","calendar-blank-outline","calendar-check","calendar-check-outline","calendar-clock","calendar-clock-outline","calendar-collapse-horizontal","calendar-collapse-horizontal-outline","calendar-cursor","calendar-cursor-outline","calendar-edit","calendar-edit-outline","calendar-end","calendar-end-outline","calendar-expand-horizontal","calendar-expand-horizontal-outline","calendar-export","calendar-export-outline","calendar-filter","calendar-filter-outline","calendar-heart","calendar-heart-outline","calendar-import","calendar-import-outline","calendar-lock","calendar-lock-open","calendar-lock-open-outline","calendar-lock-outline","calendar-minus","calendar-minus-outline","calendar-month","calendar-month-outline","calendar-multiple","calendar-multiple-check","calendar-multiselect","calendar-multiselect-outline","calendar-outline","calendar-plus","calendar-plus-outline","calendar-question","calendar-question-outline","calendar-range","calendar-range-outline","calendar-refresh","calendar-refresh-outline","calendar-remove","calendar-remove-outline","calendar-search","calendar-search-outline","calendar-select","calendar-star","calendar-star-four-points","calendar-star-outline","calendar-start","calendar-start-outline","calendar-sync","calendar-sync-outline","calendar-text","calendar-text-outline","calendar-today","calendar-today-outline","calendar-week","calendar-week-begin","calendar-week-begin-outline","calendar-week-end","calendar-week-end-outline","calendar-week-outline","calendar-weekend","calendar-weekend-outline","call-made","call-merge","call-missed","call-received","call-split","camcorder","camcorder-off","camera","camera-account","camera-burst","camera-control","camera-document","camera-document-off","camera-enhance","camera-enhance-outline","camera-flip","camera-flip-outline","camera-focus","camera-front","camera-front-variant","camera-gopro","camera-image","camera-iris","camera-lock","camera-lock-open","camera-lock-open-outline","camera-lock-outline","camera-marker","camera-marker-outline","camera-metering-center","camera-metering-matrix","camera-metering-partial","camera-metering-spot","camera-off","camera-off-outline","camera-outline","camera-party-mode","camera-plus","camera-plus-outline","camera-rear","camera-rear-variant","camera-retake","camera-retake-outline","camera-switch","camera-switch-outline","camera-timer","camera-wireless","camera-wireless-outline","campfire","cancel","candelabra","candelabra-fire","candle","candy","candy-off","candy-off-outline","candy-outline","candycane","cannabis","cannabis-off","caps-lock","car","car-2-plus","car-3-plus","car-arrow-left","car-arrow-right","car-back","car-battery","car-brake-abs","car-brake-alert","car-brake-fluid-level","car-brake-hold","car-brake-low-pressure","car-brake-parking","car-brake-retarder","car-brake-temperature","car-brake-worn-linings","car-child-seat","car-clock","car-clutch","car-cog","car-connected","car-convertable","car-convertible","car-coolant-level","car-cruise-control","car-defrost-front","car-defrost-rear","car-door","car-door-lock","car-door-lock-open","car-electric","car-electric-outline","car-emergency","car-esp","car-estate","car-hatchback","car-info","car-key","car-lifted-pickup","car-light-alert","car-light-dimmed","car-light-fog","car-light-high","car-limousine","car-multiple","car-off","car-outline","car-parking-lights","car-pickup","car-search","car-search-outline","car-seat","car-seat-cooler","car-seat-heater","car-select","car-settings","car-shift-pattern","car-side","car-speed-limiter","car-sports","car-tire-alert","car-traction-control","car-turbocharger","car-wash","car-windshield","car-windshield-outline","car-wireless","car-wrench","carabiner","caravan","card","card-account-details","card-account-details-outline","card-account-details-star","card-account-details-star-outline","card-account-mail","card-account-mail-outline","card-account-phone","card-account-phone-outline","card-bulleted","card-bulleted-off","card-bulleted-off-outline","card-bulleted-outline","card-bulleted-settings","card-bulleted-settings-outline","card-minus","card-minus-outline","card-multiple","card-multiple-outline","card-off","card-off-outline","card-outline","card-plus","card-plus-outline","card-remove","card-remove-outline","card-search","card-search-outline","card-text","card-text-outline","cards","cards-club","cards-club-outline","cards-diamond","cards-diamond-outline","cards-heart","cards-heart-outline","cards-outline","cards-playing","cards-playing-club","cards-playing-club-multiple","cards-playing-club-multiple-outline","cards-playing-club-outline","cards-playing-diamond","cards-playing-diamond-multiple","cards-playing-diamond-multiple-outline","cards-playing-diamond-outline","cards-playing-heart","cards-playing-heart-multiple","cards-playing-heart-multiple-outline","cards-playing-heart-outline","cards-playing-outline","cards-playing-spade","cards-playing-spade-multiple","cards-playing-spade-multiple-outline","cards-playing-spade-outline","cards-spade","cards-spade-outline","cards-variant","carrot","cart","cart-arrow-down","cart-arrow-right","cart-arrow-up","cart-check","cart-heart","cart-minus","cart-off","cart-outline","cart-percent","cart-plus","cart-remove","cart-variant","case-sensitive-alt","cash","cash-100","cash-check","cash-clock","cash-edit","cash-fast","cash-lock","cash-lock-open","cash-marker","cash-minus","cash-multiple","cash-off","cash-plus","cash-refund","cash-register","cash-remove","cash-sync","cash-usd","cash-usd-outline","cassette","cast","cast-audio","cast-audio-variant","cast-connected","cast-education","cast-off","cast-variant","castle","cat","cctv","cctv-off","ceiling-fan","ceiling-fan-light","ceiling-light","ceiling-light-multiple","ceiling-light-multiple-outline","ceiling-light-outline","cellphone","cellphone-android","cellphone-arrow-down","cellphone-arrow-down-variant","cellphone-basic","cellphone-charging","cellphone-check","cellphone-cog","cellphone-dock","cellphone-information","cellphone-iphone","cellphone-key","cellphone-link","cellphone-link-off","cellphone-lock","cellphone-marker","cellphone-message","cellphone-message-off","cellphone-nfc","cellphone-nfc-off","cellphone-off","cellphone-play","cellphone-remove","cellphone-screenshot","cellphone-settings","cellphone-sound","cellphone-text","cellphone-wireless","centos","certificate","certificate-outline","chair-rolling","chair-school","chandelier","charity","charity-search","chart-arc","chart-areaspline","chart-areaspline-variant","chart-bar","chart-bar-stacked","chart-bell-curve","chart-bell-curve-cumulative","chart-box","chart-box-multiple","chart-box-multiple-outline","chart-box-outline","chart-box-plus-outline","chart-bubble","chart-donut","chart-donut-variant","chart-gantt","chart-histogram","chart-line","chart-line-stacked","chart-line-variant","chart-multiline","chart-multiple","chart-pie","chart-pie-outline","chart-ppf","chart-sankey","chart-sankey-variant","chart-scatter-plot","chart-scatter-plot-hexbin","chart-timeline","chart-timeline-variant","chart-timeline-variant-shimmer","chart-tree","chart-waterfall","chat","chat-alert","chat-alert-outline","chat-minus","chat-minus-outline","chat-outline","chat-plus","chat-plus-outline","chat-processing","chat-processing-outline","chat-question","chat-question-outline","chat-remove","chat-remove-outline","chat-sleep","chat-sleep-outline","check","check-all","check-bold","check-bookmark","check-circle","check-circle-outline","check-decagram","check-decagram-outline","check-network","check-network-outline","check-outline","check-underline","check-underline-circle","check-underline-circle-outline","checkbook","checkbook-arrow-left","checkbook-arrow-right","checkbox-blank","checkbox-blank-badge","checkbox-blank-badge-outline","checkbox-blank-circle","checkbox-blank-circle-outline","checkbox-blank-off","checkbox-blank-off-outline","checkbox-blank-outline","checkbox-intermediate","checkbox-intermediate-variant","checkbox-marked","checkbox-marked-circle","checkbox-marked-circle-auto-outline","checkbox-marked-circle-minus-outline","checkbox-marked-circle-outline","checkbox-marked-circle-plus-outline","checkbox-marked-outline","checkbox-multiple-blank","checkbox-multiple-blank-circle","checkbox-multiple-blank-circle-outline","checkbox-multiple-blank-outline","checkbox-multiple-marked","checkbox-multiple-marked-circle","checkbox-multiple-marked-circle-outline","checkbox-multiple-marked-outline","checkbox-multiple-outline","checkbox-outline","checkerboard","checkerboard-minus","checkerboard-plus","checkerboard-remove","cheese","cheese-off","chef-hat","chemical-weapon","chess-bishop","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-double-down","chevron-double-left","chevron-double-right","chevron-double-up","chevron-down","chevron-down-box","chevron-down-box-outline","chevron-down-circle","chevron-down-circle-outline","chevron-left","chevron-left-box","chevron-left-box-outline","chevron-left-circle","chevron-left-circle-outline","chevron-right","chevron-right-box","chevron-right-box-outline","chevron-right-circle","chevron-right-circle-outline","chevron-triple-down","chevron-triple-left","chevron-triple-right","chevron-triple-up","chevron-up","chevron-up-box","chevron-up-box-outline","chevron-up-circle","chevron-up-circle-outline","chili-alert","chili-alert-outline","chili-hot","chili-hot-outline","chili-medium","chili-medium-outline","chili-mild","chili-mild-outline","chili-off","chili-off-outline","chip","church","church-outline","cigar","cigar-off","circle","circle-box","circle-box-outline","circle-double","circle-edit-outline","circle-expand","circle-half","circle-half-full","circle-medium","circle-multiple","circle-multiple-outline","circle-off-outline","circle-opacity","circle-outline","circle-slice-1","circle-slice-2","circle-slice-3","circle-slice-4","circle-slice-5","circle-slice-6","circle-slice-7","circle-slice-8","circle-small","circular-saw","cisco-webex","city","city-switch","city-variant","city-variant-outline","clipboard","clipboard-account","clipboard-account-outline","clipboard-alert","clipboard-alert-outline","clipboard-arrow-down","clipboard-arrow-down-outline","clipboard-arrow-left","clipboard-arrow-left-outline","clipboard-arrow-right","clipboard-arrow-right-outline","clipboard-arrow-up","clipboard-arrow-up-outline","clipboard-check","clipboard-check-multiple","clipboard-check-multiple-outline","clipboard-check-outline","clipboard-clock","clipboard-clock-outline","clipboard-edit","clipboard-edit-outline","clipboard-file","clipboard-file-outline","clipboard-flow","clipboard-flow-outline","clipboard-list","clipboard-list-outline","clipboard-minus","clipboard-minus-outline","clipboard-multiple","clipboard-multiple-outline","clipboard-off","clipboard-off-outline","clipboard-outline","clipboard-play","clipboard-play-multiple","clipboard-play-multiple-outline","clipboard-play-outline","clipboard-plus","clipboard-plus-outline","clipboard-pulse","clipboard-pulse-outline","clipboard-remove","clipboard-remove-outline","clipboard-search","clipboard-search-outline","clipboard-text","clipboard-text-clock","clipboard-text-clock-outline","clipboard-text-multiple","clipboard-text-multiple-outline","clipboard-text-off","clipboard-text-off-outline","clipboard-text-outline","clipboard-text-play","clipboard-text-play-outline","clipboard-text-search","clipboard-text-search-outline","clippy","clock","clock-alert","clock-alert-outline","clock-check","clock-check-outline","clock-digital","clock-edit","clock-edit-outline","clock-end","clock-fast","clock-in","clock-minus","clock-minus-outline","clock-out","clock-outline","clock-plus","clock-plus-outline","clock-remove","clock-remove-outline","clock-star-four-points","clock-star-four-points-outline","clock-start","clock-time-eight","clock-time-eight-outline","clock-time-eleven","clock-time-eleven-outline","clock-time-five","clock-time-five-outline","clock-time-four","clock-time-four-outline","clock-time-nine","clock-time-nine-outline","clock-time-one","clock-time-one-outline","clock-time-seven","clock-time-seven-outline","clock-time-six","clock-time-six-outline","clock-time-ten","clock-time-ten-outline","clock-time-three","clock-time-three-outline","clock-time-twelve","clock-time-twelve-outline","clock-time-two","clock-time-two-outline","close","close-box","close-box-multiple","close-box-multiple-outline","close-box-outline","close-circle","close-circle-multiple","close-circle-multiple-outline","close-circle-outline","close-network","close-network-outline","close-octagon","close-octagon-outline","close-outline","close-thick","closed-caption","closed-caption-outline","cloud","cloud-alert","cloud-alert-outline","cloud-arrow-down","cloud-arrow-down-outline","cloud-arrow-left","cloud-arrow-left-outline","cloud-arrow-right","cloud-arrow-right-outline","cloud-arrow-up","cloud-arrow-up-outline","cloud-braces","cloud-cancel","cloud-cancel-outline","cloud-check","cloud-check-outline","cloud-check-variant","cloud-check-variant-outline","cloud-circle","cloud-circle-outline","cloud-clock","cloud-clock-outline","cloud-cog","cloud-cog-outline","cloud-download","cloud-download-outline","cloud-key","cloud-key-outline","cloud-lock","cloud-lock-open","cloud-lock-open-outline","cloud-lock-outline","cloud-minus","cloud-minus-outline","cloud-off","cloud-off-outline","cloud-outline","cloud-percent","cloud-percent-outline","cloud-plus","cloud-plus-outline","cloud-print","cloud-print-outline","cloud-question","cloud-question-outline","cloud-refresh","cloud-refresh-outline","cloud-refresh-variant","cloud-refresh-variant-outline","cloud-remove","cloud-remove-outline","cloud-search","cloud-search-outline","cloud-sync","cloud-sync-outline","cloud-tags","cloud-upload","cloud-upload-outline","clouds","clover","clover-outline","coach-lamp","coach-lamp-variant","coat-rack","code-array","code-block-braces","code-block-brackets","code-block-parentheses","code-block-tags","code-braces","code-braces-box","code-brackets","code-equal","code-greater-than","code-greater-than-or-equal","code-json","code-less-than","code-less-than-or-equal","code-not-equal","code-not-equal-variant","code-parentheses","code-parentheses-box","code-string","code-tags","code-tags-check","codepen","coffee","coffee-maker","coffee-maker-check","coffee-maker-check-outline","coffee-maker-outline","coffee-off","coffee-off-outline","coffee-outline","coffee-to-go","coffee-to-go-outline","coffin","cog","cog-box","cog-clockwise","cog-counterclockwise","cog-off","cog-off-outline","cog-outline","cog-pause","cog-pause-outline","cog-play","cog-play-outline","cog-refresh","cog-refresh-outline","cog-stop","cog-stop-outline","cog-sync","cog-sync-outline","cog-transfer","cog-transfer-outline","cogs","collage","collapse-all","collapse-all-outline","color-helper","comma","comma-box","comma-box-outline","comma-circle","comma-circle-outline","comment","comment-account","comment-account-outline","comment-alert","comment-alert-outline","comment-arrow-left","comment-arrow-left-outline","comment-arrow-right","comment-arrow-right-outline","comment-bookmark","comment-bookmark-outline","comment-check","comment-check-outline","comment-edit","comment-edit-outline","comment-eye","comment-eye-outline","comment-flash","comment-flash-outline","comment-minus","comment-minus-outline","comment-multiple","comment-multiple-outline","comment-off","comment-off-outline","comment-outline","comment-plus","comment-plus-outline","comment-processing","comment-processing-outline","comment-question","comment-question-outline","comment-quote","comment-quote-outline","comment-remove","comment-remove-outline","comment-search","comment-search-outline","comment-text","comment-text-multiple","comment-text-multiple-outline","comment-text-outline","compare","compare-horizontal","compare-remove","compare-vertical","compass","compass-off","compass-off-outline","compass-outline","compass-rose","compost","concourse-ci","cone","cone-off","connection","console","console-line","console-network","console-network-outline","consolidate","contactless-payment","contactless-payment-circle","contactless-payment-circle-outline","contacts","contacts-outline","contain","contain-end","contain-start","content-copy","content-cut","content-duplicate","content-paste","content-save","content-save-alert","content-save-alert-outline","content-save-all","content-save-all-outline","content-save-check","content-save-check-outline","content-save-cog","content-save-cog-outline","content-save-edit","content-save-edit-outline","content-save-minus","content-save-minus-outline","content-save-move","content-save-move-outline","content-save-off","content-save-off-outline","content-save-outline","content-save-plus","content-save-plus-outline","content-save-settings","content-save-settings-outline","contrast","contrast-box","contrast-circle","controller","controller-classic","controller-classic-outline","controller-off","controller-xbox","cookie","cookie-alert","cookie-alert-outline","cookie-check","cookie-check-outline","cookie-clock","cookie-clock-outline","cookie-cog","cookie-cog-outline","cookie-edit","cookie-edit-outline","cookie-lock","cookie-lock-outline","cookie-minus","cookie-minus-outline","cookie-off","cookie-off-outline","cookie-outline","cookie-plus","cookie-plus-outline","cookie-refresh","cookie-refresh-outline","cookie-remove","cookie-remove-outline","cookie-settings","cookie-settings-outline","coolant-temperature","copyleft","copyright","cordova","corn","corn-off","cosine-wave","counter","countertop","countertop-outline","cow","cow-off","cpu-32-bit","cpu-64-bit","cradle","cradle-outline","crane","creation","creation-outline","creative-commons","credit-card","credit-card-check","credit-card-check-outline","credit-card-chip","credit-card-chip-outline","credit-card-clock","credit-card-clock-outline","credit-card-edit","credit-card-edit-outline","credit-card-fast","credit-card-fast-outline","credit-card-lock","credit-card-lock-outline","credit-card-marker","credit-card-marker-outline","credit-card-minus","credit-card-minus-outline","credit-card-multiple","credit-card-multiple-outline","credit-card-off","credit-card-off-outline","credit-card-outline","credit-card-plus","credit-card-plus-outline","credit-card-refresh","credit-card-refresh-outline","credit-card-refund","credit-card-refund-outline","credit-card-remove","credit-card-remove-outline","credit-card-scan","credit-card-scan-outline","credit-card-search","credit-card-search-outline","credit-card-settings","credit-card-settings-outline","credit-card-sync","credit-card-sync-outline","credit-card-wireless","credit-card-wireless-off","credit-card-wireless-off-outline","credit-card-wireless-outline","cricket","crop","crop-free","crop-landscape","crop-portrait","crop-rotate","crop-square","cross","cross-bolnisi","cross-celtic","cross-outline","crosshairs","crosshairs-gps","crosshairs-off","crosshairs-question","crowd","crown","crown-circle","crown-circle-outline","crown-outline","cryengine","crystal-ball","cube","cube-off","cube-off-outline","cube-outline","cube-scan","cube-send","cube-unfolded","cup","cup-off","cup-off-outline","cup-outline","cup-water","cupboard","cupboard-outline","cupcake","curling","currency-bdt","currency-brl","currency-btc","currency-chf","currency-cny","currency-eth","currency-eur","currency-eur-off","currency-fra","currency-gbp","currency-ils","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-mnt","currency-ngn","currency-php","currency-rial","currency-rub","currency-rupee","currency-sign","currency-thb","currency-try","currency-twd","currency-uah","currency-usd","currency-usd-circle","currency-usd-circle-outline","currency-usd-off","current-ac","current-dc","cursor-default","cursor-default-click","cursor-default-click-outline","cursor-default-gesture","cursor-default-gesture-outline","cursor-default-outline","cursor-move","cursor-pointer","cursor-text","curtains","curtains-closed","cylinder","cylinder-off","dance-ballroom","dance-pole","data","data-matrix","data-matrix-edit","data-matrix-minus","data-matrix-plus","data-matrix-remove","data-matrix-scan","database","database-alert","database-alert-outline","database-arrow-down","database-arrow-down-outline","database-arrow-left","database-arrow-left-outline","database-arrow-right","database-arrow-right-outline","database-arrow-up","database-arrow-up-outline","database-check","database-check-outline","database-clock","database-clock-outline","database-cog","database-cog-outline","database-edit","database-edit-outline","database-export","database-export-outline","database-eye","database-eye-off","database-eye-off-outline","database-eye-outline","database-import","database-import-outline","database-lock","database-lock-outline","database-marker","database-marker-outline","database-minus","database-minus-outline","database-off","database-off-outline","database-outline","database-plus","database-plus-outline","database-refresh","database-refresh-outline","database-remove","database-remove-outline","database-search","database-search-outline","database-settings","database-settings-outline","database-sync","database-sync-outline","death-star","death-star-variant","deathly-hallows","debian","debug-step-into","debug-step-out","debug-step-over","decagram","decagram-outline","decimal","decimal-comma","decimal-comma-decrease","decimal-comma-increase","decimal-decrease","decimal-increase","delete","delete-alert","delete-alert-outline","delete-circle","delete-circle-outline","delete-clock","delete-clock-outline","delete-empty","delete-empty-outline","delete-forever","delete-forever-outline","delete-off","delete-off-outline","delete-outline","delete-restore","delete-sweep","delete-sweep-outline","delete-variant","delta","desk","desk-lamp","desk-lamp-off","desk-lamp-on","deskphone","desktop-classic","desktop-mac","desktop-mac-dashboard","desktop-tower","desktop-tower-monitor","details","dev-to","developer-board","deviantart","devices","dharmachakra","diabetes","dialpad","diameter","diameter-outline","diameter-variant","diamond","diamond-outline","diamond-stone","diaper-outline","dice","dice-1","dice-1-outline","dice-2","dice-2-outline","dice-3","dice-3-outline","dice-4","dice-4-outline","dice-5","dice-5-outline","dice-6","dice-6-outline","dice-d10","dice-d10-outline","dice-d12","dice-d12-outline","dice-d20","dice-d20-outline","dice-d4","dice-d4-outline","dice-d6","dice-d6-outline","dice-d8","dice-d8-outline","dice-multiple","dice-multiple-outline","digital-ocean","dip-switch","directions","directions-fork","disc","disc-alert","disc-player","discord","dishwasher","dishwasher-alert","dishwasher-off","disk","disk-alert","disk-player","disqus","disqus-outline","distribute-horizontal-center","distribute-horizontal-left","distribute-horizontal-right","distribute-vertical-bottom","distribute-vertical-center","distribute-vertical-top","diversify","diving","diving-flippers","diving-helmet","diving-scuba","diving-scuba-flag","diving-scuba-mask","diving-scuba-tank","diving-scuba-tank-multiple","diving-snorkel","division","division-box","dlna","dna","dns","dns-outline","do-not-disturb","dock-bottom","dock-left","dock-right","dock-top","dock-window","docker","doctor","document","dog","dog-service","dog-side","dog-side-off","dolby","dolly","dolphin","domain","domain-off","domain-plus","domain-remove","domain-switch","dome-light","domino-mask","donkey","door","door-closed","door-closed-cancel","door-closed-lock","door-open","door-sliding","door-sliding-lock","door-sliding-open","doorbell","doorbell-video","dot-net","dots-circle","dots-grid","dots-hexagon","dots-horizontal","dots-horizontal-circle","dots-horizontal-circle-outline","dots-square","dots-triangle","dots-vertical","dots-vertical-circle","dots-vertical-circle-outline","douban","download","download-box","download-box-outline","download-circle","download-circle-outline","download-lock","download-lock-outline","download-multiple","download-multiple-outline","download-network","download-network-outline","download-off","download-off-outline","download-outline","drag","drag-horizontal","drag-horizontal-variant","drag-variant","drag-vertical","drag-vertical-variant","drama-masks","draw","draw-pen","drawing","drawing-box","dresser","dresser-outline","dribbble","dribbble-box","drone","dropbox","drupal","duck","dumbbell","dump-truck","ear-hearing","ear-hearing-loop","ear-hearing-off","earbuds","earbuds-off","earbuds-off-outline","earbuds-outline","earth","earth-arrow-down","earth-arrow-left","earth-arrow-right","earth-arrow-up","earth-box","earth-box-minus","earth-box-off","earth-box-plus","earth-box-remove","earth-minus","earth-off","earth-plus","earth-remove","ebay","egg","egg-easter","egg-fried","egg-off","egg-off-outline","egg-outline","eiffel-tower","eight-track","eject","eject-circle","eject-circle-outline","eject-outline","electric-switch","electric-switch-closed","electron-framework","elephant","elevation-decline","elevation-rise","elevator","elevator-down","elevator-passenger","elevator-passenger-off","elevator-passenger-off-outline","elevator-passenger-outline","elevator-up","ellipse","ellipse-outline","email","email-alert","email-alert-outline","email-arrow-left","email-arrow-left-outline","email-arrow-right","email-arrow-right-outline","email-box","email-check","email-check-outline","email-edit","email-edit-outline","email-fast","email-fast-outline","email-heart-outline","email-lock","email-lock-outline","email-mark-as-unread","email-minus","email-minus-outline","email-multiple","email-multiple-outline","email-newsletter","email-off","email-off-outline","email-open","email-open-heart-outline","email-open-multiple","email-open-multiple-outline","email-open-outline","email-outline","email-plus","email-plus-outline","email-remove","email-remove-outline","email-seal","email-seal-outline","email-search","email-search-outline","email-sync","email-sync-outline","email-variant","ember","emby","emoticon","emoticon-angry","emoticon-angry-outline","emoticon-confused","emoticon-confused-outline","emoticon-cool","emoticon-cool-outline","emoticon-cry","emoticon-cry-outline","emoticon-dead","emoticon-dead-outline","emoticon-devil","emoticon-devil-outline","emoticon-excited","emoticon-excited-outline","emoticon-frown","emoticon-frown-outline","emoticon-happy","emoticon-happy-outline","emoticon-kiss","emoticon-kiss-outline","emoticon-lol","emoticon-lol-outline","emoticon-minus","emoticon-minus-outline","emoticon-neutral","emoticon-neutral-outline","emoticon-outline","emoticon-plus","emoticon-plus-outline","emoticon-poop","emoticon-poop-outline","emoticon-remove","emoticon-remove-outline","emoticon-sad","emoticon-sad-outline","emoticon-sick","emoticon-sick-outline","emoticon-tongue","emoticon-tongue-outline","emoticon-wink","emoticon-wink-outline","engine","engine-off","engine-off-outline","engine-outline","epsilon","equal","equal-box","equalizer","equalizer-outline","eraser","eraser-variant","escalator","escalator-box","escalator-down","escalator-up","eslint","et","ethereum","ethernet","ethernet-cable","ethernet-cable-off","ethernet-off","etsy","ev-plug-ccs1","ev-plug-ccs2","ev-plug-chademo","ev-plug-tesla","ev-plug-type1","ev-plug-type2","ev-station","eventbrite","evernote","excavator","exclamation","exclamation-thick","exit-run","exit-to-app","expand-all","expand-all-outline","expansion-card","expansion-card-variant","exponent","exponent-box","export","export-variant","eye","eye-arrow-left","eye-arrow-left-outline","eye-arrow-right","eye-arrow-right-outline","eye-check","eye-check-outline","eye-circle","eye-circle-outline","eye-closed","eye-lock","eye-lock-open","eye-lock-open-outline","eye-lock-outline","eye-minus","eye-minus-outline","eye-off","eye-off-outline","eye-outline","eye-plus","eye-plus-outline","eye-refresh","eye-refresh-outline","eye-remove","eye-remove-outline","eye-settings","eye-settings-outline","eyedropper","eyedropper-minus","eyedropper-off","eyedropper-plus","eyedropper-remove","eyedropper-variant","face-agent","face-man","face-man-outline","face-man-profile","face-man-shimmer","face-man-shimmer-outline","face-mask","face-mask-outline","face-recognition","face-woman","face-woman-outline","face-woman-profile","face-woman-shimmer","face-woman-shimmer-outline","facebook","facebook-box","facebook-gaming","facebook-messenger","facebook-workplace","factory","family-tree","fan","fan-alert","fan-auto","fan-chevron-down","fan-chevron-up","fan-clock","fan-minus","fan-off","fan-plus","fan-remove","fan-speed-1","fan-speed-2","fan-speed-3","fast-forward","fast-forward-10","fast-forward-15","fast-forward-30","fast-forward-45","fast-forward-5","fast-forward-60","fast-forward-outline","faucet","faucet-variant","fax","feather","feature-search","feature-search-outline","fedora","fence","fence-electric","fencing","ferris-wheel","ferry","file","file-account","file-account-outline","file-alert","file-alert-outline","file-arrow-left-right","file-arrow-left-right-outline","file-arrow-up-down","file-arrow-up-down-outline","file-cabinet","file-cad","file-cad-box","file-cancel","file-cancel-outline","file-certificate","file-certificate-outline","file-chart","file-chart-check","file-chart-check-outline","file-chart-outline","file-check","file-check-outline","file-clock","file-clock-outline","file-cloud","file-cloud-outline","file-code","file-code-outline","file-cog","file-cog-outline","file-compare","file-delimited","file-delimited-outline","file-document","file-document-alert","file-document-alert-outline","file-document-arrow-right","file-document-arrow-right-outline","file-document-check","file-document-check-outline","file-document-edit","file-document-edit-outline","file-document-minus","file-document-minus-outline","file-document-multiple","file-document-multiple-outline","file-document-outline","file-document-plus","file-document-plus-outline","file-document-refresh","file-document-refresh-outline","file-document-remove","file-document-remove-outline","file-download","file-download-outline","file-edit","file-edit-outline","file-excel","file-excel-box","file-excel-box-outline","file-excel-outline","file-export","file-export-outline","file-eye","file-eye-outline","file-find","file-find-outline","file-gif-box","file-hidden","file-image","file-image-box","file-image-marker","file-image-marker-outline","file-image-minus","file-image-minus-outline","file-image-outline","file-image-plus","file-image-plus-outline","file-image-remove","file-image-remove-outline","file-import","file-import-outline","file-jpg-box","file-key","file-key-outline","file-link","file-link-outline","file-lock","file-lock-open","file-lock-open-outline","file-lock-outline","file-marker","file-marker-outline","file-minus","file-minus-outline","file-move","file-move-outline","file-multiple","file-multiple-outline","file-music","file-music-outline","file-outline","file-pdf","file-pdf-box","file-pdf-box-outline","file-pdf-outline","file-percent","file-percent-outline","file-phone","file-phone-outline","file-plus","file-plus-outline","file-png-box","file-powerpoint","file-powerpoint-box","file-powerpoint-box-outline","file-powerpoint-outline","file-presentation-box","file-question","file-question-outline","file-refresh","file-refresh-outline","file-remove","file-remove-outline","file-replace","file-replace-outline","file-restore","file-restore-outline","file-rotate-left","file-rotate-left-outline","file-rotate-right","file-rotate-right-outline","file-search","file-search-outline","file-send","file-send-outline","file-settings","file-settings-outline","file-sign","file-star","file-star-four-points","file-star-four-points-outline","file-star-outline","file-swap","file-swap-outline","file-sync","file-sync-outline","file-table","file-table-box","file-table-box-multiple","file-table-box-multiple-outline","file-table-box-outline","file-table-outline","file-tree","file-tree-outline","file-undo","file-undo-outline","file-upload","file-upload-outline","file-video","file-video-outline","file-word","file-word-box","file-word-box-outline","file-word-outline","file-xml","file-xml-box","fill","film","filmstrip","filmstrip-box","filmstrip-box-multiple","filmstrip-off","filter","filter-check","filter-check-outline","filter-cog","filter-cog-outline","filter-menu","filter-menu-outline","filter-minus","filter-minus-outline","filter-multiple","filter-multiple-outline","filter-off","filter-off-outline","filter-outline","filter-plus","filter-plus-outline","filter-remove","filter-remove-outline","filter-settings","filter-settings-outline","filter-variant","filter-variant-minus","filter-variant-plus","filter-variant-remove","finance","find-replace","fingerprint","fingerprint-off","fire","fire-alert","fire-circle","fire-extinguisher","fire-hydrant","fire-hydrant-alert","fire-hydrant-off","fire-off","fire-station","fire-truck","firebase","firefox","fireplace","fireplace-off","firewire","firework","firework-off","fish","fish-off","fishbowl","fishbowl-outline","fit-to-page","fit-to-page-outline","fit-to-screen","fit-to-screen-outline","flag","flag-checkered","flag-checkered-variant","flag-minus","flag-minus-outline","flag-off","flag-off-outline","flag-outline","flag-outline-variant","flag-plus","flag-plus-outline","flag-remove","flag-remove-outline","flag-triangle","flag-variant","flag-variant-minus","flag-variant-minus-outline","flag-variant-off","flag-variant-off-outline","flag-variant-outline","flag-variant-plus","flag-variant-plus-outline","flag-variant-remove","flag-variant-remove-outline","flare","flash","flash-alert","flash-alert-outline","flash-auto","flash-off","flash-off-outline","flash-outline","flash-red-eye","flash-triangle","flash-triangle-outline","flashlight","flashlight-off","flask","flask-empty","flask-empty-minus","flask-empty-minus-outline","flask-empty-off","flask-empty-off-outline","flask-empty-outline","flask-empty-plus","flask-empty-plus-outline","flask-empty-remove","flask-empty-remove-outline","flask-minus","flask-minus-outline","flask-off","flask-off-outline","flask-outline","flask-plus","flask-plus-outline","flask-remove","flask-remove-outline","flask-round-bottom","flask-round-bottom-empty","flask-round-bottom-empty-outline","flask-round-bottom-outline","flattr","fleur-de-lis","flickr","flickr-after","flickr-before","flip-horizontal","flip-to-back","flip-to-front","flip-vertical","floor-1","floor-2","floor-3","floor-a","floor-b","floor-g","floor-l","floor-lamp","floor-lamp-dual","floor-lamp-dual-outline","floor-lamp-outline","floor-lamp-torchiere","floor-lamp-torchiere-outline","floor-lamp-torchiere-variant","floor-lamp-torchiere-variant-outline","floor-plan","floppy","floppy-variant","flower","flower-outline","flower-pollen","flower-pollen-outline","flower-poppy","flower-tulip","flower-tulip-outline","focus-auto","focus-field","focus-field-horizontal","focus-field-vertical","folder","folder-account","folder-account-outline","folder-alert","folder-alert-outline","folder-arrow-down","folder-arrow-down-outline","folder-arrow-left","folder-arrow-left-outline","folder-arrow-left-right","folder-arrow-left-right-outline","folder-arrow-right","folder-arrow-right-outline","folder-arrow-up","folder-arrow-up-down","folder-arrow-up-down-outline","folder-arrow-up-outline","folder-cancel","folder-cancel-outline","folder-check","folder-check-outline","folder-clock","folder-clock-outline","folder-cog","folder-cog-outline","folder-download","folder-download-outline","folder-edit","folder-edit-outline","folder-eye","folder-eye-outline","folder-file","folder-file-outline","folder-google-drive","folder-heart","folder-heart-outline","folder-hidden","folder-home","folder-home-outline","folder-image","folder-information","folder-information-outline","folder-key","folder-key-network","folder-key-network-outline","folder-key-outline","folder-lock","folder-lock-open","folder-lock-open-outline","folder-lock-outline","folder-marker","folder-marker-outline","folder-minus","folder-minus-outline","folder-move","folder-move-outline","folder-multiple","folder-multiple-image","folder-multiple-outline","folder-multiple-plus","folder-multiple-plus-outline","folder-music","folder-music-outline","folder-network","folder-network-outline","folder-off","folder-off-outline","folder-open","folder-open-outline","folder-outline","folder-outline-lock","folder-play","folder-play-outline","folder-plus","folder-plus-outline","folder-pound","folder-pound-outline","folder-question","folder-question-outline","folder-refresh","folder-refresh-outline","folder-remove","folder-remove-outline","folder-search","folder-search-outline","folder-settings","folder-settings-outline","folder-star","folder-star-multiple","folder-star-multiple-outline","folder-star-outline","folder-swap","folder-swap-outline","folder-sync","folder-sync-outline","folder-table","folder-table-outline","folder-text","folder-text-outline","folder-upload","folder-upload-outline","folder-wrench","folder-wrench-outline","folder-zip","folder-zip-outline","font-awesome","food","food-apple","food-apple-outline","food-croissant","food-drumstick","food-drumstick-off","food-drumstick-off-outline","food-drumstick-outline","food-fork-drink","food-halal","food-hot-dog","food-kosher","food-off","food-off-outline","food-outline","food-steak","food-steak-off","food-takeout-box","food-takeout-box-outline","food-turkey","food-variant","food-variant-off","foot-print","football","football-australian","football-helmet","footer","forest","forest-outline","forklift","form-dropdown","form-select","form-textarea","form-textbox","form-textbox-lock","form-textbox-password","format-align-bottom","format-align-center","format-align-justify","format-align-left","format-align-middle","format-align-right","format-align-top","format-annotation-minus","format-annotation-plus","format-bold","format-clear","format-color","format-color-fill","format-color-highlight","format-color-marker-cancel","format-color-text","format-columns","format-float-center","format-float-left","format-float-none","format-float-right","format-font","format-font-size-decrease","format-font-size-increase","format-header-1","format-header-2","format-header-3","format-header-4","format-header-5","format-header-6","format-header-decrease","format-header-down","format-header-equal","format-header-increase","format-header-pound","format-header-up","format-horizontal-align-center","format-horizontal-align-left","format-horizontal-align-right","format-indent-decrease","format-indent-increase","format-italic","format-letter-case","format-letter-case-lower","format-letter-case-upper","format-letter-ends-with","format-letter-matches","format-letter-spacing","format-letter-spacing-variant","format-letter-starts-with","format-line-height","format-line-spacing","format-line-style","format-line-weight","format-list-bulleted","format-list-bulleted-square","format-list-bulleted-triangle","format-list-bulleted-type","format-list-checkbox","format-list-checks","format-list-group","format-list-group-plus","format-list-numbered","format-list-numbered-rtl","format-list-text","format-list-triangle","format-overline","format-page-break","format-page-split","format-paint","format-paragraph","format-paragraph-spacing","format-pilcrow","format-pilcrow-arrow-left","format-pilcrow-arrow-right","format-quote-close","format-quote-close-outline","format-quote-open","format-quote-open-outline","format-rotate-90","format-section","format-size","format-strikethrough","format-strikethrough-variant","format-subscript","format-superscript","format-text","format-text-rotation-angle-down","format-text-rotation-angle-up","format-text-rotation-down","format-text-rotation-down-vertical","format-text-rotation-none","format-text-rotation-up","format-text-rotation-vertical","format-text-variant","format-text-variant-outline","format-text-wrapping-clip","format-text-wrapping-overflow","format-text-wrapping-wrap","format-textbox","format-title","format-underline","format-underline-wavy","format-vertical-align-bottom","format-vertical-align-center","format-vertical-align-top","format-wrap-inline","format-wrap-square","format-wrap-tight","format-wrap-top-bottom","forum","forum-minus","forum-minus-outline","forum-outline","forum-plus","forum-plus-outline","forum-remove","forum-remove-outline","forward","forwardburger","fountain","fountain-pen","fountain-pen-tip","foursquare","fraction-one-half","freebsd","french-fries","frequently-asked-questions","fridge","fridge-alert","fridge-alert-outline","fridge-bottom","fridge-industrial","fridge-industrial-alert","fridge-industrial-alert-outline","fridge-industrial-off","fridge-industrial-off-outline","fridge-industrial-outline","fridge-off","fridge-off-outline","fridge-outline","fridge-top","fridge-variant","fridge-variant-alert","fridge-variant-alert-outline","fridge-variant-off","fridge-variant-off-outline","fridge-variant-outline","fruit-cherries","fruit-cherries-off","fruit-citrus","fruit-citrus-off","fruit-grapes","fruit-grapes-outline","fruit-pear","fruit-pineapple","fruit-watermelon","fuel","fuel-cell","fullscreen","fullscreen-exit","function","function-variant","furigana-horizontal","furigana-vertical","fuse","fuse-alert","fuse-blade","fuse-off","gamepad","gamepad-circle","gamepad-circle-down","gamepad-circle-left","gamepad-circle-outline","gamepad-circle-right","gamepad-circle-up","gamepad-down","gamepad-left","gamepad-outline","gamepad-right","gamepad-round","gamepad-round-down","gamepad-round-left","gamepad-round-outline","gamepad-round-right","gamepad-round-up","gamepad-square","gamepad-square-outline","gamepad-up","gamepad-variant","gamepad-variant-outline","gamma","gantry-crane","garage","garage-alert","garage-alert-variant","garage-lock","garage-open","garage-open-variant","garage-variant","garage-variant-lock","gas-burner","gas-cylinder","gas-station","gas-station-in-use","gas-station-in-use-outline","gas-station-off","gas-station-off-outline","gas-station-outline","gate","gate-alert","gate-and","gate-arrow-left","gate-arrow-right","gate-buffer","gate-nand","gate-nor","gate-not","gate-open","gate-or","gate-xnor","gate-xor","gatsby","gauge","gauge-empty","gauge-full","gauge-low","gavel","gender-female","gender-male","gender-male-female","gender-male-female-variant","gender-non-binary","gender-transgender","generator-mobile","generator-portable","generator-stationary","gentoo","gesture","gesture-double-tap","gesture-pinch","gesture-spread","gesture-swipe","gesture-swipe-down","gesture-swipe-horizontal","gesture-swipe-left","gesture-swipe-right","gesture-swipe-up","gesture-swipe-vertical","gesture-tap","gesture-tap-box","gesture-tap-button","gesture-tap-hold","gesture-two-double-tap","gesture-two-tap","ghost","ghost-off","ghost-off-outline","ghost-outline","gif","gift","gift-off","gift-off-outline","gift-open","gift-open-outline","gift-outline","git","github","github-box","github-face","gitlab","glass-cocktail","glass-cocktail-off","glass-flute","glass-fragile","glass-mug","glass-mug-off","glass-mug-variant","glass-mug-variant-off","glass-pint-outline","glass-stange","glass-tulip","glass-wine","glassdoor","glasses","globe-light","globe-light-outline","globe-model","gmail","gnome","go-kart","go-kart-track","gog","gold","golf","golf-cart","golf-tee","gondola","goodreads","google","google-ads","google-allo","google-analytics","google-assistant","google-cardboard","google-chrome","google-circles","google-circles-communities","google-circles-extended","google-circles-group","google-classroom","google-cloud","google-downasaur","google-drive","google-earth","google-fit","google-glass","google-hangouts","google-home","google-keep","google-lens","google-maps","google-my-business","google-nearby","google-pages","google-photos","google-physical-web","google-play","google-plus","google-plus-box","google-podcast","google-spreadsheet","google-street-view","google-translate","google-wallet","gradient-horizontal","gradient-vertical","grain","graph","graph-outline","graphql","grass","grave-stone","grease-pencil","greater-than","greater-than-or-equal","greenhouse","grid","grid-large","grid-off","grill","grill-outline","group","guitar-acoustic","guitar-electric","guitar-pick","guitar-pick-outline","guy-fawkes-mask","gymnastics","hail","hair-dryer","hair-dryer-outline","halloween","hamburger","hamburger-check","hamburger-minus","hamburger-off","hamburger-plus","hamburger-remove","hammer","hammer-screwdriver","hammer-sickle","hammer-wrench","hand-back-left","hand-back-left-off","hand-back-left-off-outline","hand-back-left-outline","hand-back-right","hand-back-right-off","hand-back-right-off-outline","hand-back-right-outline","hand-clap","hand-clap-off","hand-coin","hand-coin-outline","hand-cycle","hand-extended","hand-extended-outline","hand-front-left","hand-front-left-outline","hand-front-right","hand-front-right-outline","hand-heart","hand-heart-outline","hand-left","hand-okay","hand-peace","hand-peace-variant","hand-pointing-down","hand-pointing-left","hand-pointing-right","hand-pointing-up","hand-right","hand-saw","hand-wash","hand-wash-outline","hand-water","hand-wave","hand-wave-outline","handball","handcuffs","hands-pray","handshake","handshake-outline","hanger","hangouts","hard-hat","harddisk","harddisk-plus","harddisk-remove","hat-fedora","hazard-lights","hdmi-port","hdr","hdr-off","head","head-alert","head-alert-outline","head-check","head-check-outline","head-cog","head-cog-outline","head-dots-horizontal","head-dots-horizontal-outline","head-flash","head-flash-outline","head-heart","head-heart-outline","head-lightbulb","head-lightbulb-outline","head-minus","head-minus-outline","head-outline","head-plus","head-plus-outline","head-question","head-question-outline","head-remove","head-remove-outline","head-snowflake","head-snowflake-outline","head-sync","head-sync-outline","headphones","headphones-bluetooth","headphones-box","headphones-off","headphones-settings","headset","headset-dock","headset-off","heart","heart-box","heart-box-outline","heart-broken","heart-broken-outline","heart-circle","heart-circle-outline","heart-cog","heart-cog-outline","heart-flash","heart-half","heart-half-full","heart-half-outline","heart-minus","heart-minus-outline","heart-multiple","heart-multiple-outline","heart-off","heart-off-outline","heart-outline","heart-plus","heart-plus-outline","heart-pulse","heart-remove","heart-remove-outline","heart-search","heart-settings","heart-settings-outline","heat-pump","heat-pump-outline","heat-wave","heating-coil","helicopter","help","help-box","help-box-multiple","help-box-multiple-outline","help-box-outline","help-circle","help-circle-outline","help-network","help-network-outline","help-rhombus","help-rhombus-outline","hexadecimal","hexagon","hexagon-multiple","hexagon-multiple-outline","hexagon-outline","hexagon-slice-1","hexagon-slice-2","hexagon-slice-3","hexagon-slice-4","hexagon-slice-5","hexagon-slice-6","hexagram","hexagram-outline","high-definition","high-definition-box","highway","hiking","history","hockey-puck","hockey-sticks","hololens","home","home-account","home-alert","home-alert-outline","home-analytics","home-assistant","home-automation","home-battery","home-battery-outline","home-circle","home-circle-outline","home-city","home-city-outline","home-clock","home-clock-outline","home-currency-usd","home-edit","home-edit-outline","home-export-outline","home-flood","home-floor-0","home-floor-1","home-floor-2","home-floor-3","home-floor-a","home-floor-b","home-floor-g","home-floor-l","home-floor-negative-1","home-group","home-group-minus","home-group-plus","home-group-remove","home-heart","home-import-outline","home-lightbulb","home-lightbulb-outline","home-lightning-bolt","home-lightning-bolt-outline","home-lock","home-lock-open","home-map-marker","home-minus","home-minus-outline","home-modern","home-off","home-off-outline","home-outline","home-percent","home-percent-outline","home-plus","home-plus-outline","home-remove","home-remove-outline","home-roof","home-search","home-search-outline","home-silo","home-silo-outline","home-sound-in","home-sound-in-outline","home-sound-out","home-sound-out-outline","home-switch","home-switch-outline","home-thermometer","home-thermometer-outline","home-variant","home-variant-outline","hook","hook-off","hoop-house","hops","horizontal-rotate-clockwise","horizontal-rotate-counterclockwise","horse","horse-human","horse-variant","horse-variant-fast","horseshoe","hospital","hospital-box","hospital-box-outline","hospital-building","hospital-marker","hot-tub","hours-12","hours-24","houzz","houzz-box","hub","hub-outline","hubspot","hulu","human","human-baby-changing-table","human-cane","human-capacity-decrease","human-capacity-increase","human-child","human-dolly","human-edit","human-female","human-female-boy","human-female-dance","human-female-female","human-female-female-child","human-female-girl","human-greeting","human-greeting-proximity","human-greeting-variant","human-handsdown","human-handsup","human-male","human-male-board","human-male-board-poll","human-male-boy","human-male-child","human-male-female","human-male-female-child","human-male-girl","human-male-height","human-male-height-variant","human-male-male","human-male-male-child","human-non-binary","human-pregnant","human-queue","human-scooter","human-walker","human-wheelchair","human-white-cane","humble-bundle","hurricane","hvac","hvac-off","hydraulic-oil-level","hydraulic-oil-temperature","hydro-power","hydrogen-station","ice-cream","ice-cream-off","ice-pop","id-card","identifier","ideogram-cjk","ideogram-cjk-variant","image","image-album","image-area","image-area-close","image-auto-adjust","image-broken","image-broken-variant","image-check","image-check-outline","image-edit","image-edit-outline","image-filter-black-white","image-filter-center-focus","image-filter-center-focus-strong","image-filter-center-focus-strong-outline","image-filter-center-focus-weak","image-filter-drama","image-filter-drama-outline","image-filter-frames","image-filter-hdr","image-filter-hdr-outline","image-filter-none","image-filter-tilt-shift","image-filter-vintage","image-frame","image-lock","image-lock-outline","image-marker","image-marker-outline","image-minus","image-minus-outline","image-move","image-multiple","image-multiple-outline","image-off","image-off-outline","image-outline","image-plus","image-plus-outline","image-refresh","image-refresh-outline","image-remove","image-remove-outline","image-search","image-search-outline","image-size-select-actual","image-size-select-large","image-size-select-small","image-sync","image-sync-outline","image-text","import","inbox","inbox-arrow-down","inbox-arrow-down-outline","inbox-arrow-up","inbox-arrow-up-outline","inbox-full","inbox-full-outline","inbox-multiple","inbox-multiple-outline","inbox-outline","inbox-remove","inbox-remove-outline","incognito","incognito-circle","incognito-circle-off","incognito-off","indent","induction","infinity","information","information-box","information-box-outline","information-off","information-off-outline","information-outline","information-slab-box","information-slab-box-outline","information-slab-circle","information-slab-circle-outline","information-slab-symbol","information-symbol","information-variant","information-variant-box","information-variant-box-outline","information-variant-circle","information-variant-circle-outline","instagram","instapaper","instrument-triangle","integrated-circuit-chip","invert-colors","invert-colors-off","invoice","invoice-arrow-left","invoice-arrow-left-outline","invoice-arrow-right","invoice-arrow-right-outline","invoice-check","invoice-check-outline","invoice-clock","invoice-clock-outline","invoice-edit","invoice-edit-outline","invoice-export-outline","invoice-fast","invoice-fast-outline","invoice-import","invoice-import-outline","invoice-list","invoice-list-outline","invoice-minus","invoice-minus-outline","invoice-multiple","invoice-multiple-outline","invoice-outline","invoice-plus","invoice-plus-outline","invoice-remove","invoice-remove-outline","invoice-send","invoice-send-outline","invoice-text","invoice-text-arrow-left","invoice-text-arrow-left-outline","invoice-text-arrow-right","invoice-text-arrow-right-outline","invoice-text-check","invoice-text-check-outline","invoice-text-clock","invoice-text-clock-outline","invoice-text-edit","invoice-text-edit-outline","invoice-text-fast","invoice-text-fast-outline","invoice-text-minus","invoice-text-minus-outline","invoice-text-multiple","invoice-text-multiple-outline","invoice-text-outline","invoice-text-plus","invoice-text-plus-outline","invoice-text-remove","invoice-text-remove-outline","invoice-text-send","invoice-text-send-outline","iobroker","ip","ip-network","ip-network-outline","ip-outline","ipod","iron","iron-board","iron-outline","island","island-variant","itunes","iv-bag","jabber","jeepney","jellyfish","jellyfish-outline","jira","jquery","jsfiddle","jump-rope","kabaddi","kangaroo","karate","kayaking","keg","kettle","kettle-alert","kettle-alert-outline","kettle-off","kettle-off-outline","kettle-outline","kettle-pour-over","kettle-steam","kettle-steam-outline","kettlebell","key","key-alert","key-alert-outline","key-arrow-right","key-chain","key-chain-variant","key-change","key-link","key-minus","key-outline","key-plus","key-remove","key-star","key-variant","key-wireless","keyboard","keyboard-backspace","keyboard-caps","keyboard-close","keyboard-close-outline","keyboard-esc","keyboard-f1","keyboard-f10","keyboard-f11","keyboard-f12","keyboard-f2","keyboard-f3","keyboard-f4","keyboard-f5","keyboard-f6","keyboard-f7","keyboard-f8","keyboard-f9","keyboard-off","keyboard-off-outline","keyboard-outline","keyboard-return","keyboard-settings","keyboard-settings-outline","keyboard-space","keyboard-tab","keyboard-tab-reverse","keyboard-variant","khanda","kickstarter","kite","kite-outline","kitesurfing","klingon","knife","knife-military","knob","koala","kodi","kubernetes","label","label-multiple","label-multiple-outline","label-off","label-off-outline","label-outline","label-percent","label-percent-outline","label-variant","label-variant-outline","ladder","ladybug","lambda","lamp","lamp-outline","lamps","lamps-outline","lan","lan-check","lan-connect","lan-disconnect","lan-pending","land-fields","land-plots","land-plots-circle","land-plots-circle-variant","land-plots-marker","land-rows-horizontal","land-rows-vertical","landslide","landslide-outline","language-c","language-cpp","language-csharp","language-css3","language-fortran","language-go","language-haskell","language-html5","language-java","language-javascript","language-jsx","language-kotlin","language-lua","language-markdown","language-markdown-outline","language-php","language-python","language-python-text","language-r","language-ruby","language-ruby-on-rails","language-rust","language-swift","language-typescript","language-xaml","laptop","laptop-account","laptop-chromebook","laptop-mac","laptop-off","laptop-windows","laravel","laser-pointer","lasso","lastfm","lastpass","latitude","launch","lava-lamp","layers","layers-edit","layers-minus","layers-off","layers-off-outline","layers-outline","layers-plus","layers-remove","layers-search","layers-search-outline","layers-triple","layers-triple-outline","lead-pencil","leaf","leaf-circle","leaf-circle-outline","leaf-maple","leaf-maple-off","leaf-off","leak","leak-off","lectern","led-off","led-on","led-outline","led-strip","led-strip-variant","led-strip-variant-off","led-variant-off","led-variant-on","led-variant-outline","leek","less-than","less-than-or-equal","library","library-books","library-outline","library-shelves","license","lifebuoy","light-flood-down","light-flood-up","light-recessed","light-switch","light-switch-off","lightbulb","lightbulb-alert","lightbulb-alert-outline","lightbulb-auto","lightbulb-auto-outline","lightbulb-cfl","lightbulb-cfl-off","lightbulb-cfl-spiral","lightbulb-cfl-spiral-off","lightbulb-fluorescent-tube","lightbulb-fluorescent-tube-outline","lightbulb-group","lightbulb-group-off","lightbulb-group-off-outline","lightbulb-group-outline","lightbulb-multiple","lightbulb-multiple-off","lightbulb-multiple-off-outline","lightbulb-multiple-outline","lightbulb-night","lightbulb-night-outline","lightbulb-off","lightbulb-off-outline","lightbulb-on","lightbulb-on-10","lightbulb-on-20","lightbulb-on-30","lightbulb-on-40","lightbulb-on-50","lightbulb-on-60","lightbulb-on-70","lightbulb-on-80","lightbulb-on-90","lightbulb-on-outline","lightbulb-outline","lightbulb-question","lightbulb-question-outline","lightbulb-spot","lightbulb-spot-off","lightbulb-variant","lightbulb-variant-outline","lighthouse","lighthouse-on","lightning-bolt","lightning-bolt-circle","lightning-bolt-outline","line-scan","lingerie","link","link-box","link-box-outline","link-box-variant","link-box-variant-outline","link-circle","link-circle-outline","link-edit","link-lock","link-off","link-plus","link-variant","link-variant-minus","link-variant-off","link-variant-plus","link-variant-remove","linkedin","linode","linux","linux-mint","lipstick","liquid-spot","liquor","list-box","list-box-outline","list-status","litecoin","loading","location-enter","location-exit","lock","lock-alert","lock-alert-outline","lock-check","lock-check-outline","lock-clock","lock-minus","lock-minus-outline","lock-off","lock-off-outline","lock-open","lock-open-alert","lock-open-alert-outline","lock-open-check","lock-open-check-outline","lock-open-minus","lock-open-minus-outline","lock-open-outline","lock-open-plus","lock-open-plus-outline","lock-open-remove","lock-open-remove-outline","lock-open-variant","lock-open-variant-outline","lock-outline","lock-pattern","lock-percent","lock-percent-open","lock-percent-open-outline","lock-percent-open-variant","lock-percent-open-variant-outline","lock-percent-outline","lock-plus","lock-plus-outline","lock-question","lock-remove","lock-remove-outline","lock-reset","lock-smart","locker","locker-multiple","login","login-variant","logout","logout-variant","longitude","looks","lotion","lotion-outline","lotion-plus","lotion-plus-outline","loupe","lumx","lungs","lyft","mace","magazine-pistol","magazine-rifle","magic-staff","magnet","magnet-on","magnify","magnify-close","magnify-expand","magnify-minus","magnify-minus-cursor","magnify-minus-outline","magnify-plus","magnify-plus-cursor","magnify-plus-outline","magnify-remove-cursor","magnify-remove-outline","magnify-scan","mail","mail-ru","mailbox","mailbox-open","mailbox-open-outline","mailbox-open-up","mailbox-open-up-outline","mailbox-outline","mailbox-up","mailbox-up-outline","manjaro","map","map-check","map-check-outline","map-clock","map-clock-outline","map-legend","map-marker","map-marker-account","map-marker-account-outline","map-marker-alert","map-marker-alert-outline","map-marker-check","map-marker-check-outline","map-marker-circle","map-marker-distance","map-marker-down","map-marker-left","map-marker-left-outline","map-marker-minus","map-marker-minus-outline","map-marker-multiple","map-marker-multiple-outline","map-marker-off","map-marker-off-outline","map-marker-outline","map-marker-path","map-marker-plus","map-marker-plus-outline","map-marker-question","map-marker-question-outline","map-marker-radius","map-marker-radius-outline","map-marker-remove","map-marker-remove-outline","map-marker-remove-variant","map-marker-right","map-marker-right-outline","map-marker-star","map-marker-star-outline","map-marker-up","map-minus","map-outline","map-plus","map-search","map-search-outline","mapbox","margin","marker","marker-cancel","marker-check","mastodon","mastodon-variant","material-design","material-ui","math-compass","math-cos","math-integral","math-integral-box","math-log","math-norm","math-norm-box","math-sin","math-tan","matrix","maxcdn","medal","medal-outline","medical-bag","medical-cotton-swab","medication","medication-outline","meditation","medium","meetup","memory","memory-arrow-down","menorah","menorah-fire","menu","menu-close","menu-down","menu-down-outline","menu-left","menu-left-outline","menu-open","menu-right","menu-right-outline","menu-swap","menu-swap-outline","menu-up","menu-up-outline","merge","message","message-alert","message-alert-outline","message-arrow-left","message-arrow-left-outline","message-arrow-right","message-arrow-right-outline","message-badge","message-badge-outline","message-bookmark","message-bookmark-outline","message-bulleted","message-bulleted-off","message-check","message-check-outline","message-cog","message-cog-outline","message-draw","message-fast","message-fast-outline","message-flash","message-flash-outline","message-image","message-image-outline","message-lock","message-lock-outline","message-minus","message-minus-outline","message-off","message-off-outline","message-outline","message-plus","message-plus-outline","message-processing","message-processing-outline","message-question","message-question-outline","message-reply","message-reply-outline","message-reply-text","message-reply-text-outline","message-settings","message-settings-outline","message-star","message-star-outline","message-text","message-text-clock","message-text-clock-outline","message-text-fast","message-text-fast-outline","message-text-lock","message-text-lock-outline","message-text-outline","message-video","meteor","meter-electric","meter-electric-outline","meter-gas","meter-gas-outline","metronome","metronome-tick","micro-sd","microphone","microphone-message","microphone-message-off","microphone-minus","microphone-off","microphone-outline","microphone-plus","microphone-question","microphone-question-outline","microphone-settings","microphone-variant","microphone-variant-off","microscope","microsoft","microsoft-access","microsoft-azure","microsoft-azure-devops","microsoft-bing","microsoft-dynamics-365","microsoft-edge","microsoft-edge-legacy","microsoft-excel","microsoft-internet-explorer","microsoft-office","microsoft-onedrive","microsoft-onenote","microsoft-outlook","microsoft-powerpoint","microsoft-sharepoint","microsoft-teams","microsoft-visual-studio","microsoft-visual-studio-code","microsoft-windows","microsoft-windows-classic","microsoft-word","microsoft-xbox","microsoft-xbox-controller","microsoft-xbox-controller-battery-alert","microsoft-xbox-controller-battery-charging","microsoft-xbox-controller-battery-empty","microsoft-xbox-controller-battery-full","microsoft-xbox-controller-battery-low","microsoft-xbox-controller-battery-medium","microsoft-xbox-controller-battery-unknown","microsoft-xbox-controller-menu","microsoft-xbox-controller-off","microsoft-xbox-controller-view","microsoft-yammer","microwave","microwave-off","middleware","middleware-outline","midi","midi-input","midi-port","mine","minecraft","mini-sd","minidisc","minus","minus-box","minus-box-multiple","minus-box-multiple-outline","minus-box-outline","minus-circle","minus-circle-multiple","minus-circle-multiple-outline","minus-circle-off","minus-circle-off-outline","minus-circle-outline","minus-network","minus-network-outline","minus-thick","mirror","mirror-rectangle","mirror-variant","mixcloud","mixed-martial-arts","mixed-reality","mixer","molecule","molecule-co","molecule-co2","monitor","monitor-account","monitor-arrow-down","monitor-arrow-down-variant","monitor-cellphone","monitor-cellphone-star","monitor-dashboard","monitor-edit","monitor-eye","monitor-lock","monitor-multiple","monitor-off","monitor-screenshot","monitor-share","monitor-shimmer","monitor-small","monitor-speaker","monitor-speaker-off","monitor-star","monitor-vertical","moon-first-quarter","moon-full","moon-last-quarter","moon-new","moon-waning-crescent","moon-waning-gibbous","moon-waxing-crescent","moon-waxing-gibbous","moped","moped-electric","moped-electric-outline","moped-outline","more","mortar-pestle","mortar-pestle-plus","mosque","mosque-outline","mother-heart","mother-nurse","motion","motion-outline","motion-pause","motion-pause-outline","motion-play","motion-play-outline","motion-sensor","motion-sensor-off","motorbike","motorbike-electric","motorbike-off","mouse","mouse-bluetooth","mouse-left-click","mouse-left-click-outline","mouse-move-down","mouse-move-up","mouse-move-vertical","mouse-off","mouse-outline","mouse-right-click","mouse-right-click-outline","mouse-scroll-wheel","mouse-variant","mouse-variant-off","move-resize","move-resize-variant","movie","movie-check","movie-check-outline","movie-cog","movie-cog-outline","movie-edit","movie-edit-outline","movie-filter","movie-filter-outline","movie-minus","movie-minus-outline","movie-off","movie-off-outline","movie-open","movie-open-check","movie-open-check-outline","movie-open-cog","movie-open-cog-outline","movie-open-edit","movie-open-edit-outline","movie-open-minus","movie-open-minus-outline","movie-open-off","movie-open-off-outline","movie-open-outline","movie-open-play","movie-open-play-outline","movie-open-plus","movie-open-plus-outline","movie-open-remove","movie-open-remove-outline","movie-open-settings","movie-open-settings-outline","movie-open-star","movie-open-star-outline","movie-outline","movie-play","movie-play-outline","movie-plus","movie-plus-outline","movie-remove","movie-remove-outline","movie-roll","movie-search","movie-search-outline","movie-settings","movie-settings-outline","movie-star","movie-star-outline","mower","mower-bag","mower-bag-on","mower-on","muffin","multicast","multimedia","multiplication","multiplication-box","mushroom","mushroom-off","mushroom-off-outline","mushroom-outline","music","music-accidental-double-flat","music-accidental-double-sharp","music-accidental-flat","music-accidental-natural","music-accidental-sharp","music-box","music-box-multiple","music-box-multiple-outline","music-box-outline","music-circle","music-circle-outline","music-clef-alto","music-clef-bass","music-clef-treble","music-note","music-note-bluetooth","music-note-bluetooth-off","music-note-eighth","music-note-eighth-dotted","music-note-half","music-note-half-dotted","music-note-minus","music-note-off","music-note-off-outline","music-note-outline","music-note-plus","music-note-quarter","music-note-quarter-dotted","music-note-sixteenth","music-note-sixteenth-dotted","music-note-whole","music-note-whole-dotted","music-off","music-rest-eighth","music-rest-half","music-rest-quarter","music-rest-sixteenth","music-rest-whole","mustache","nail","nas","nativescript","nature","nature-outline","nature-people","nature-people-outline","navigation","navigation-outline","navigation-variant","navigation-variant-outline","near-me","necklace","needle","needle-off","nest-thermostat","netflix","network","network-off","network-off-outline","network-outline","network-pos","network-strength-1","network-strength-1-alert","network-strength-2","network-strength-2-alert","network-strength-3","network-strength-3-alert","network-strength-4","network-strength-4-alert","network-strength-4-cog","network-strength-alert","network-strength-alert-outline","network-strength-off","network-strength-off-outline","network-strength-outline","new-box","newspaper","newspaper-check","newspaper-minus","newspaper-plus","newspaper-remove","newspaper-variant","newspaper-variant-multiple","newspaper-variant-multiple-outline","newspaper-variant-outline","nfc","nfc-off","nfc-search-variant","nfc-tap","nfc-variant","nfc-variant-off","ninja","nintendo-game-boy","nintendo-switch","nintendo-wii","nintendo-wiiu","nix","nodejs","noodles","not-equal","not-equal-variant","note","note-alert","note-alert-outline","note-check","note-check-outline","note-edit","note-edit-outline","note-minus","note-minus-outline","note-multiple","note-multiple-outline","note-off","note-off-outline","note-outline","note-plus","note-plus-outline","note-remove","note-remove-outline","note-search","note-search-outline","note-text","note-text-outline","notebook","notebook-check","notebook-check-outline","notebook-edit","notebook-edit-outline","notebook-heart","notebook-heart-outline","notebook-minus","notebook-minus-outline","notebook-multiple","notebook-outline","notebook-plus","notebook-plus-outline","notebook-remove","notebook-remove-outline","notification-clear-all","npm","npm-variant","npm-variant-outline","nuke","null","numeric","numeric-0","numeric-0-box","numeric-0-box-multiple","numeric-0-box-multiple-outline","numeric-0-box-outline","numeric-0-circle","numeric-0-circle-outline","numeric-1","numeric-1-box","numeric-1-box-multiple","numeric-1-box-multiple-outline","numeric-1-box-outline","numeric-1-circle","numeric-1-circle-outline","numeric-10","numeric-10-box","numeric-10-box-multiple","numeric-10-box-multiple-outline","numeric-10-box-outline","numeric-10-circle","numeric-10-circle-outline","numeric-2","numeric-2-box","numeric-2-box-multiple","numeric-2-box-multiple-outline","numeric-2-box-outline","numeric-2-circle","numeric-2-circle-outline","numeric-3","numeric-3-box","numeric-3-box-multiple","numeric-3-box-multiple-outline","numeric-3-box-outline","numeric-3-circle","numeric-3-circle-outline","numeric-4","numeric-4-box","numeric-4-box-multiple","numeric-4-box-multiple-outline","numeric-4-box-outline","numeric-4-circle","numeric-4-circle-outline","numeric-5","numeric-5-box","numeric-5-box-multiple","numeric-5-box-multiple-outline","numeric-5-box-outline","numeric-5-circle","numeric-5-circle-outline","numeric-6","numeric-6-box","numeric-6-box-multiple","numeric-6-box-multiple-outline","numeric-6-box-outline","numeric-6-circle","numeric-6-circle-outline","numeric-7","numeric-7-box","numeric-7-box-multiple","numeric-7-box-multiple-outline","numeric-7-box-outline","numeric-7-circle","numeric-7-circle-outline","numeric-8","numeric-8-box","numeric-8-box-multiple","numeric-8-box-multiple-outline","numeric-8-box-outline","numeric-8-circle","numeric-8-circle-outline","numeric-9","numeric-9-box","numeric-9-box-multiple","numeric-9-box-multiple-outline","numeric-9-box-outline","numeric-9-circle","numeric-9-circle-outline","numeric-9-plus","numeric-9-plus-box","numeric-9-plus-box-multiple","numeric-9-plus-box-multiple-outline","numeric-9-plus-box-outline","numeric-9-plus-circle","numeric-9-plus-circle-outline","numeric-negative-1","numeric-off","numeric-positive-1","nut","nutrition","nuxt","oar","ocarina","oci","ocr","octagon","octagon-outline","octagram","octagram-edit","octagram-edit-outline","octagram-minus","octagram-minus-outline","octagram-outline","octagram-plus","octagram-plus-outline","octahedron","octahedron-off","odnoklassniki","offer","office-building","office-building-cog","office-building-cog-outline","office-building-marker","office-building-marker-outline","office-building-minus","office-building-minus-outline","office-building-outline","office-building-plus","office-building-plus-outline","office-building-remove","office-building-remove-outline","oil","oil-lamp","oil-level","oil-temperature","om","omega","one-up","onedrive","onenote","onepassword","opacity","open-in-app","open-in-new","open-source-initiative","openid","opera","orbit","orbit-variant","order-alphabetical-ascending","order-alphabetical-descending","order-bool-ascending","order-bool-ascending-variant","order-bool-descending","order-bool-descending-variant","order-numeric-ascending","order-numeric-descending","origin","ornament","ornament-variant","outbox","outdent","outdoor-lamp","outlook","overscan","owl","pac-man","package","package-check","package-down","package-up","package-variant","package-variant-closed","package-variant-closed-check","package-variant-closed-minus","package-variant-closed-plus","package-variant-closed-remove","package-variant-minus","package-variant-plus","package-variant-remove","page-first","page-last","page-layout-body","page-layout-footer","page-layout-header","page-layout-header-footer","page-layout-sidebar-left","page-layout-sidebar-right","page-next","page-next-outline","page-previous","page-previous-outline","pail","pail-minus","pail-minus-outline","pail-off","pail-off-outline","pail-outline","pail-plus","pail-plus-outline","pail-remove","pail-remove-outline","palette","palette-advanced","palette-outline","palette-swatch","palette-swatch-outline","palette-swatch-variant","palm-tree","pan","pan-bottom-left","pan-bottom-right","pan-down","pan-horizontal","pan-left","pan-right","pan-top-left","pan-top-right","pan-up","pan-vertical","panda","pandora","panorama","panorama-fisheye","panorama-horizontal","panorama-horizontal-outline","panorama-outline","panorama-sphere","panorama-sphere-outline","panorama-variant","panorama-variant-outline","panorama-vertical","panorama-vertical-outline","panorama-wide-angle","panorama-wide-angle-outline","paper-cut-vertical","paper-roll","paper-roll-outline","paperclip","paperclip-check","paperclip-lock","paperclip-minus","paperclip-off","paperclip-plus","paperclip-remove","parachute","parachute-outline","paragliding","parking","party-popper","passport","passport-alert","passport-biometric","passport-cancel","passport-check","passport-minus","passport-plus","passport-remove","pasta","patio-heater","patreon","pause","pause-box","pause-box-outline","pause-circle","pause-circle-outline","pause-octagon","pause-octagon-outline","paw","paw-off","paw-off-outline","paw-outline","paypal","peace","peanut","peanut-off","peanut-off-outline","peanut-outline","pen","pen-lock","pen-minus","pen-off","pen-plus","pen-remove","pencil","pencil-box","pencil-box-multiple","pencil-box-multiple-outline","pencil-box-outline","pencil-circle","pencil-circle-outline","pencil-lock","pencil-lock-outline","pencil-minus","pencil-minus-outline","pencil-off","pencil-off-outline","pencil-outline","pencil-plus","pencil-plus-outline","pencil-remove","pencil-remove-outline","pencil-ruler","pencil-ruler-outline","penguin","pentagon","pentagon-outline","pentagram","percent","percent-box","percent-box-outline","percent-circle","percent-circle-outline","percent-outline","periodic-table","periscope","perspective-less","perspective-more","ph","phone","phone-alert","phone-alert-outline","phone-bluetooth","phone-bluetooth-outline","phone-cancel","phone-cancel-outline","phone-check","phone-check-outline","phone-classic","phone-classic-off","phone-clock","phone-dial","phone-dial-outline","phone-forward","phone-forward-outline","phone-hangup","phone-hangup-outline","phone-in-talk","phone-in-talk-outline","phone-incoming","phone-incoming-outgoing","phone-incoming-outgoing-outline","phone-incoming-outline","phone-lock","phone-lock-outline","phone-log","phone-log-outline","phone-message","phone-message-outline","phone-minus","phone-minus-outline","phone-missed","phone-missed-outline","phone-off","phone-off-outline","phone-outgoing","phone-outgoing-outline","phone-outline","phone-paused","phone-paused-outline","phone-plus","phone-plus-outline","phone-refresh","phone-refresh-outline","phone-remove","phone-remove-outline","phone-return","phone-return-outline","phone-ring","phone-ring-outline","phone-rotate-landscape","phone-rotate-portrait","phone-settings","phone-settings-outline","phone-sync","phone-sync-outline","phone-voip","pi","pi-box","pi-hole","piano","piano-off","pickaxe","picture-in-picture-bottom-right","picture-in-picture-bottom-right-outline","picture-in-picture-top-right","picture-in-picture-top-right-outline","pier","pier-crane","pig","pig-variant","pig-variant-outline","piggy-bank","piggy-bank-outline","pill","pill-multiple","pill-off","pillar","pin","pin-off","pin-off-outline","pin-outline","pine-tree","pine-tree-box","pine-tree-fire","pine-tree-variant","pine-tree-variant-outline","pinterest","pinterest-box","pinwheel","pinwheel-outline","pipe","pipe-disconnected","pipe-leak","pipe-valve","pipe-wrench","pirate","pistol","piston","pitchfork","pizza","plane-car","plane-train","play","play-box","play-box-edit-outline","play-box-lock","play-box-lock-open","play-box-lock-open-outline","play-box-lock-outline","play-box-multiple","play-box-multiple-outline","play-box-outline","play-circle","play-circle-outline","play-network","play-network-outline","play-outline","play-pause","play-protected-content","play-speed","playlist-check","playlist-edit","playlist-minus","playlist-music","playlist-music-outline","playlist-play","playlist-plus","playlist-remove","playlist-star","plex","pliers","plus","plus-box","plus-box-multiple","plus-box-multiple-outline","plus-box-outline","plus-circle","plus-circle-multiple","plus-circle-multiple-outline","plus-circle-outline","plus-lock","plus-lock-open","plus-minus","plus-minus-box","plus-minus-variant","plus-network","plus-network-outline","plus-outline","plus-thick","pocket","podcast","podium","podium-bronze","podium-gold","podium-silver","point-of-sale","pokeball","pokemon-go","poker-chip","polaroid","police-badge","police-badge-outline","police-station","poll","polo","polymer","pool","pool-thermometer","popcorn","post","post-lamp","post-outline","postage-stamp","pot","pot-mix","pot-mix-outline","pot-outline","pot-steam","pot-steam-outline","pound","pound-box","pound-box-outline","power","power-cycle","power-off","power-on","power-plug","power-plug-battery","power-plug-battery-outline","power-plug-off","power-plug-off-outline","power-plug-outline","power-settings","power-sleep","power-socket","power-socket-au","power-socket-ch","power-socket-de","power-socket-eu","power-socket-fr","power-socket-it","power-socket-jp","power-socket-uk","power-socket-us","power-standby","powershell","prescription","presentation","presentation-play","pretzel","prezi","printer","printer-3d","printer-3d-nozzle","printer-3d-nozzle-alert","printer-3d-nozzle-alert-outline","printer-3d-nozzle-heat","printer-3d-nozzle-heat-outline","printer-3d-nozzle-off","printer-3d-nozzle-off-outline","printer-3d-nozzle-outline","printer-3d-off","printer-alert","printer-check","printer-eye","printer-off","printer-off-outline","printer-outline","printer-pos","printer-pos-alert","printer-pos-alert-outline","printer-pos-cancel","printer-pos-cancel-outline","printer-pos-check","printer-pos-check-outline","printer-pos-cog","printer-pos-cog-outline","printer-pos-edit","printer-pos-edit-outline","printer-pos-minus","printer-pos-minus-outline","printer-pos-network","printer-pos-network-outline","printer-pos-off","printer-pos-off-outline","printer-pos-outline","printer-pos-pause","printer-pos-pause-outline","printer-pos-play","printer-pos-play-outline","printer-pos-plus","printer-pos-plus-outline","printer-pos-refresh","printer-pos-refresh-outline","printer-pos-remove","printer-pos-remove-outline","printer-pos-star","printer-pos-star-outline","printer-pos-stop","printer-pos-stop-outline","printer-pos-sync","printer-pos-sync-outline","printer-pos-wrench","printer-pos-wrench-outline","printer-search","printer-settings","printer-wireless","priority-high","priority-low","professional-hexagon","progress-alert","progress-check","progress-clock","progress-close","progress-download","progress-helper","progress-pencil","progress-question","progress-star","progress-star-four-points","progress-tag","progress-upload","progress-wrench","projector","projector-off","projector-screen","projector-screen-off","projector-screen-off-outline","projector-screen-outline","projector-screen-variant","projector-screen-variant-off","projector-screen-variant-off-outline","projector-screen-variant-outline","propane-tank","propane-tank-outline","protocol","publish","publish-off","pulse","pump","pump-off","pumpkin","purse","purse-outline","puzzle","puzzle-check","puzzle-check-outline","puzzle-edit","puzzle-edit-outline","puzzle-heart","puzzle-heart-outline","puzzle-minus","puzzle-minus-outline","puzzle-outline","puzzle-plus","puzzle-plus-outline","puzzle-remove","puzzle-remove-outline","puzzle-star","puzzle-star-outline","pyramid","pyramid-off","qi","qqchat","qrcode","qrcode-edit","qrcode-minus","qrcode-plus","qrcode-remove","qrcode-scan","quadcopter","quality-high","quality-low","quality-medium","queue-first-in-last-out","quick-reply","quicktime","quora","rabbit","rabbit-variant","rabbit-variant-outline","racing-helmet","racquetball","radar","radiator","radiator-disabled","radiator-off","radio","radio-am","radio-fm","radio-handheld","radio-off","radio-tower","radioactive","radioactive-circle","radioactive-circle-outline","radioactive-off","radiobox-blank","radiobox-indeterminate-variant","radiobox-marked","radiology-box","radiology-box-outline","radius","radius-outline","railroad-light","rake","raspberry-pi","raw","raw-off","ray-end","ray-end-arrow","ray-start","ray-start-arrow","ray-start-end","ray-start-vertex-end","ray-vertex","razor-double-edge","razor-single-edge","rdio","react","read","receipt","receipt-clock","receipt-clock-outline","receipt-outline","receipt-send","receipt-send-outline","receipt-text","receipt-text-arrow-left","receipt-text-arrow-left-outline","receipt-text-arrow-right","receipt-text-arrow-right-outline","receipt-text-check","receipt-text-check-outline","receipt-text-clock","receipt-text-clock-outline","receipt-text-edit","receipt-text-edit-outline","receipt-text-minus","receipt-text-minus-outline","receipt-text-outline","receipt-text-plus","receipt-text-plus-outline","receipt-text-remove","receipt-text-remove-outline","receipt-text-send","receipt-text-send-outline","record","record-circle","record-circle-outline","record-player","record-rec","rectangle","rectangle-outline","recycle","recycle-variant","reddit","redhat","redo","redo-variant","reflect-horizontal","reflect-vertical","refresh","refresh-auto","refresh-circle","regex","registered-trademark","reiterate","relation-many-to-many","relation-many-to-one","relation-many-to-one-or-many","relation-many-to-only-one","relation-many-to-zero-or-many","relation-many-to-zero-or-one","relation-one-or-many-to-many","relation-one-or-many-to-one","relation-one-or-many-to-one-or-many","relation-one-or-many-to-only-one","relation-one-or-many-to-zero-or-many","relation-one-or-many-to-zero-or-one","relation-one-to-many","relation-one-to-one","relation-one-to-one-or-many","relation-one-to-only-one","relation-one-to-zero-or-many","relation-one-to-zero-or-one","relation-only-one-to-many","relation-only-one-to-one","relation-only-one-to-one-or-many","relation-only-one-to-only-one","relation-only-one-to-zero-or-many","relation-only-one-to-zero-or-one","relation-zero-or-many-to-many","relation-zero-or-many-to-one","relation-zero-or-many-to-one-or-many","relation-zero-or-many-to-only-one","relation-zero-or-many-to-zero-or-many","relation-zero-or-many-to-zero-or-one","relation-zero-or-one-to-many","relation-zero-or-one-to-one","relation-zero-or-one-to-one-or-many","relation-zero-or-one-to-only-one","relation-zero-or-one-to-zero-or-many","relation-zero-or-one-to-zero-or-one","relative-scale","reload","reload-alert","reminder","remote","remote-desktop","remote-off","remote-tv","remote-tv-off","rename","rename-box","rename-box-outline","rename-outline","reorder-horizontal","reorder-vertical","repeat","repeat-off","repeat-once","repeat-variant","replay","reply","reply-all","reply-all-outline","reply-circle","reply-outline","reproduction","resistor","resistor-nodes","resize","resize-bottom-right","responsive","restart","restart-alert","restart-off","restore","restore-alert","rewind","rewind-10","rewind-15","rewind-30","rewind-45","rewind-5","rewind-60","rewind-outline","rhombus","rhombus-medium","rhombus-medium-outline","rhombus-outline","rhombus-split","rhombus-split-outline","ribbon","rice","rickshaw","rickshaw-electric","ring","rivet","road","road-variant","robber","robot","robot-angry","robot-angry-outline","robot-confused","robot-confused-outline","robot-dead","robot-dead-outline","robot-excited","robot-excited-outline","robot-happy","robot-happy-outline","robot-industrial","robot-industrial-outline","robot-love","robot-love-outline","robot-mower","robot-mower-outline","robot-off","robot-off-outline","robot-outline","robot-vacuum","robot-vacuum-alert","robot-vacuum-off","robot-vacuum-variant","robot-vacuum-variant-alert","robot-vacuum-variant-off","rocket","rocket-launch","rocket-launch-outline","rocket-outline","rodent","roller-shade","roller-shade-closed","roller-skate","roller-skate-off","rollerblade","rollerblade-off","rollupjs","rolodex","rolodex-outline","roman-numeral-1","roman-numeral-10","roman-numeral-2","roman-numeral-3","roman-numeral-4","roman-numeral-5","roman-numeral-6","roman-numeral-7","roman-numeral-8","roman-numeral-9","room-service","room-service-outline","rotate-360","rotate-3d","rotate-3d-variant","rotate-left","rotate-left-variant","rotate-orbit","rotate-right","rotate-right-variant","rounded-corner","router","router-network","router-network-wireless","router-wireless","router-wireless-off","router-wireless-settings","routes","routes-clock","rowing","rss","rss-box","rss-off","rug","rugby","ruler","ruler-square","ruler-square-compass","run","run-fast","rv-truck","sack","sack-outline","sack-percent","safe","safe-square","safe-square-outline","safety-goggles","safety-googles","sail-boat","sail-boat-sink","sale","sale-outline","salesforce","sass","satellite","satellite-uplink","satellite-variant","sausage","sausage-off","saw-blade","sawtooth-wave","saxophone","scale","scale-balance","scale-bathroom","scale-off","scale-unbalanced","scan-helper","scanner","scanner-off","scatter-plot","scatter-plot-outline","scent","scent-off","school","school-outline","scissors-cutting","scooter","scooter-electric","scoreboard","scoreboard-outline","screen-rotation","screen-rotation-lock","screw-flat-top","screw-lag","screw-machine-flat-top","screw-machine-round-top","screw-round-top","screwdriver","script","script-outline","script-text","script-text-key","script-text-key-outline","script-text-outline","script-text-play","script-text-play-outline","sd","seal","seal-variant","search-web","seat","seat-flat","seat-flat-angled","seat-individual-suite","seat-legroom-extra","seat-legroom-normal","seat-legroom-reduced","seat-outline","seat-passenger","seat-recline-extra","seat-recline-normal","seatbelt","security","security-close","security-network","seed","seed-off","seed-off-outline","seed-outline","seed-plus","seed-plus-outline","seesaw","segment","select","select-all","select-arrow-down","select-arrow-up","select-color","select-compare","select-drag","select-group","select-inverse","select-marker","select-multiple","select-multiple-marker","select-off","select-place","select-remove","select-search","selection","selection-drag","selection-ellipse","selection-ellipse-arrow-inside","selection-ellipse-remove","selection-lasso","selection-marker","selection-multiple","selection-multiple-marker","selection-off","selection-remove","selection-search","semantic-web","send","send-check","send-check-outline","send-circle","send-circle-outline","send-clock","send-clock-outline","send-lock","send-lock-outline","send-outline","send-variant","send-variant-clock","send-variant-clock-outline","send-variant-outline","serial-port","server","server-minus","server-minus-outline","server-network","server-network-off","server-network-outline","server-off","server-outline","server-plus","server-plus-outline","server-remove","server-security","set-all","set-center","set-center-right","set-left","set-left-center","set-left-right","set-merge","set-none","set-right","set-split","set-square","set-top-box","settings-helper","shaker","shaker-outline","shape","shape-circle-plus","shape-outline","shape-oval-plus","shape-plus","shape-plus-outline","shape-polygon-plus","shape-rectangle-plus","shape-square-plus","shape-square-rounded-plus","share","share-all","share-all-outline","share-circle","share-off","share-off-outline","share-outline","share-variant","share-variant-outline","shark","shark-fin","shark-fin-outline","shark-off","sheep","shield","shield-account","shield-account-outline","shield-account-variant","shield-account-variant-outline","shield-airplane","shield-airplane-outline","shield-alert","shield-alert-outline","shield-bug","shield-bug-outline","shield-car","shield-check","shield-check-outline","shield-cross","shield-cross-outline","shield-crown","shield-crown-outline","shield-edit","shield-edit-outline","shield-half","shield-half-full","shield-home","shield-home-outline","shield-key","shield-key-outline","shield-link-variant","shield-link-variant-outline","shield-lock","shield-lock-open","shield-lock-open-outline","shield-lock-outline","shield-moon","shield-moon-outline","shield-off","shield-off-outline","shield-outline","shield-plus","shield-plus-outline","shield-refresh","shield-refresh-outline","shield-remove","shield-remove-outline","shield-search","shield-star","shield-star-outline","shield-sun","shield-sun-outline","shield-sword","shield-sword-outline","shield-sync","shield-sync-outline","shimmer","ship-wheel","shipping-pallet","shoe-ballet","shoe-cleat","shoe-formal","shoe-heel","shoe-print","shoe-sneaker","shopify","shopping","shopping-music","shopping-outline","shopping-search","shopping-search-outline","shore","shovel","shovel-off","shower","shower-head","shredder","shuffle","shuffle-disabled","shuffle-variant","shuriken","sickle","sigma","sigma-lower","sign-caution","sign-direction","sign-direction-minus","sign-direction-plus","sign-direction-remove","sign-language","sign-language-outline","sign-pole","sign-real-estate","sign-text","sign-yield","signal","signal-2g","signal-3g","signal-4g","signal-5g","signal-cellular-1","signal-cellular-2","signal-cellular-3","signal-cellular-outline","signal-distance-variant","signal-hspa","signal-hspa-plus","signal-off","signal-variant","signature","signature-freehand","signature-image","signature-text","silo","silo-outline","silverware","silverware-clean","silverware-fork","silverware-fork-knife","silverware-spoon","silverware-variant","sim","sim-alert","sim-alert-outline","sim-off","sim-off-outline","sim-outline","simple-icons","sina-weibo","sine-wave","sitemap","sitemap-outline","size-l","size-m","size-s","size-xl","size-xs","size-xxl","size-xxs","size-xxxl","skate","skate-off","skateboard","skateboarding","skew-less","skew-more","ski","ski-cross-country","ski-water","skip-backward","skip-backward-outline","skip-forward","skip-forward-outline","skip-next","skip-next-circle","skip-next-circle-outline","skip-next-outline","skip-previous","skip-previous-circle","skip-previous-circle-outline","skip-previous-outline","skull","skull-crossbones","skull-crossbones-outline","skull-outline","skull-scan","skull-scan-outline","skype","skype-business","slack","slackware","slash-forward","slash-forward-box","sledding","sleep","sleep-off","slide","slope-downhill","slope-uphill","slot-machine","slot-machine-outline","smart-card","smart-card-off","smart-card-off-outline","smart-card-outline","smart-card-reader","smart-card-reader-outline","smog","smoke","smoke-detector","smoke-detector-alert","smoke-detector-alert-outline","smoke-detector-off","smoke-detector-off-outline","smoke-detector-outline","smoke-detector-variant","smoke-detector-variant-alert","smoke-detector-variant-off","smoking","smoking-off","smoking-pipe","smoking-pipe-off","snail","snake","snapchat","snowboard","snowflake","snowflake-alert","snowflake-check","snowflake-melt","snowflake-off","snowflake-thermometer","snowflake-variant","snowman","snowmobile","snowshoeing","soccer","soccer-field","social-distance-2-meters","social-distance-6-feet","sofa","sofa-outline","sofa-single","sofa-single-outline","solar-panel","solar-panel-large","solar-power","solar-power-variant","solar-power-variant-outline","soldering-iron","solid","sony-playstation","sort","sort-alphabetical-ascending","sort-alphabetical-ascending-variant","sort-alphabetical-descending","sort-alphabetical-descending-variant","sort-alphabetical-variant","sort-ascending","sort-bool-ascending","sort-bool-ascending-variant","sort-bool-descending","sort-bool-descending-variant","sort-calendar-ascending","sort-calendar-descending","sort-clock-ascending","sort-clock-ascending-outline","sort-clock-descending","sort-clock-descending-outline","sort-descending","sort-numeric-ascending","sort-numeric-ascending-variant","sort-numeric-descending","sort-numeric-descending-variant","sort-numeric-variant","sort-reverse-variant","sort-variant","sort-variant-lock","sort-variant-lock-open","sort-variant-off","sort-variant-remove","soundbar","soundcloud","source-branch","source-branch-check","source-branch-minus","source-branch-plus","source-branch-refresh","source-branch-remove","source-branch-sync","source-commit","source-commit-end","source-commit-end-local","source-commit-local","source-commit-next-local","source-commit-start","source-commit-start-next-local","source-fork","source-merge","source-pull","source-repository","source-repository-multiple","soy-sauce","soy-sauce-off","spa","spa-outline","space-invaders","space-station","spade","speaker","speaker-bluetooth","speaker-message","speaker-multiple","speaker-off","speaker-pause","speaker-play","speaker-stop","speaker-wireless","spear","speedometer","speedometer-medium","speedometer-slow","spellcheck","sphere","sphere-off","spider","spider-outline","spider-thread","spider-web","spirit-level","split-horizontal","split-vertical","spoon-sugar","spotify","spotlight","spotlight-beam","spray","spray-bottle","spreadsheet","sprinkler","sprinkler-fire","sprinkler-variant","sprout","sprout-outline","square","square-circle","square-circle-outline","square-edit-outline","square-inc","square-inc-cash","square-medium","square-medium-outline","square-off","square-off-outline","square-opacity","square-outline","square-root","square-root-box","square-rounded","square-rounded-badge","square-rounded-badge-outline","square-rounded-outline","square-small","square-wave","squeegee","ssh","stack-exchange","stack-overflow","stackpath","stadium","stadium-outline","stadium-variant","stairs","stairs-box","stairs-down","stairs-up","stamper","standard-definition","star","star-box","star-box-multiple","star-box-multiple-outline","star-box-outline","star-check","star-check-outline","star-circle","star-circle-outline","star-cog","star-cog-outline","star-crescent","star-david","star-face","star-four-points","star-four-points-box","star-four-points-box-outline","star-four-points-circle","star-four-points-circle-outline","star-four-points-outline","star-four-points-small","star-half","star-half-full","star-minus","star-minus-outline","star-off","star-off-outline","star-outline","star-plus","star-plus-outline","star-remove","star-remove-outline","star-settings","star-settings-outline","star-shooting","star-shooting-outline","star-three-points","star-three-points-outline","state-machine","steam","steam-box","steering","steering-off","step-backward","step-backward-2","step-forward","step-forward-2","stethoscope","sticker","sticker-alert","sticker-alert-outline","sticker-check","sticker-check-outline","sticker-circle-outline","sticker-emoji","sticker-minus","sticker-minus-outline","sticker-outline","sticker-plus","sticker-plus-outline","sticker-remove","sticker-remove-outline","sticker-text","sticker-text-outline","stocking","stomach","stool","stool-outline","stop","stop-circle","stop-circle-outline","storage-tank","storage-tank-outline","store","store-24-hour","store-alert","store-alert-outline","store-check","store-check-outline","store-clock","store-clock-outline","store-cog","store-cog-outline","store-edit","store-edit-outline","store-marker","store-marker-outline","store-minus","store-minus-outline","store-off","store-off-outline","store-outline","store-plus","store-plus-outline","store-remove","store-remove-outline","store-search","store-search-outline","store-settings","store-settings-outline","storefront","storefront-check","storefront-check-outline","storefront-edit","storefront-edit-outline","storefront-minus","storefront-minus-outline","storefront-outline","storefront-plus","storefront-plus-outline","storefront-remove","storefront-remove-outline","stove","strategy","strava","stretch-to-page","stretch-to-page-outline","string-lights","string-lights-off","subdirectory-arrow-left","subdirectory-arrow-right","submarine","subtitles","subtitles-outline","subway","subway-alert-variant","subway-variant","summit","sun-angle","sun-angle-outline","sun-clock","sun-clock-outline","sun-compass","sun-snowflake","sun-snowflake-variant","sun-thermometer","sun-thermometer-outline","sun-wireless","sun-wireless-outline","sunglasses","surfing","surround-sound","surround-sound-2-0","surround-sound-2-1","surround-sound-3-1","surround-sound-5-1","surround-sound-5-1-2","surround-sound-7-1","svg","swap-horizontal","swap-horizontal-bold","swap-horizontal-circle","swap-horizontal-circle-outline","swap-horizontal-hidden","swap-horizontal-variant","swap-vertical","swap-vertical-bold","swap-vertical-circle","swap-vertical-circle-outline","swap-vertical-variant","swim","switch","sword","sword-cross","syllabary-hangul","syllabary-hiragana","syllabary-katakana","syllabary-katakana-halfwidth","symbol","symfony","synagogue","synagogue-outline","sync","sync-alert","sync-circle","sync-off","tab","tab-minus","tab-plus","tab-remove","tab-search","tab-unselected","table","table-account","table-alert","table-arrow-down","table-arrow-left","table-arrow-right","table-arrow-up","table-border","table-cancel","table-chair","table-check","table-clock","table-cog","table-column","table-column-plus-after","table-column-plus-before","table-column-remove","table-column-width","table-edit","table-eye","table-eye-off","table-filter","table-furniture","table-headers-eye","table-headers-eye-off","table-heart","table-key","table-large","table-large-plus","table-large-remove","table-lock","table-merge-cells","table-minus","table-multiple","table-network","table-of-contents","table-off","table-picnic","table-pivot","table-plus","table-question","table-refresh","table-remove","table-row","table-row-height","table-row-plus-after","table-row-plus-before","table-row-remove","table-search","table-settings","table-split-cell","table-star","table-sync","table-tennis","tablet","tablet-android","tablet-cellphone","tablet-dashboard","tablet-ipad","taco","tag","tag-arrow-down","tag-arrow-down-outline","tag-arrow-left","tag-arrow-left-outline","tag-arrow-right","tag-arrow-right-outline","tag-arrow-up","tag-arrow-up-outline","tag-check","tag-check-outline","tag-edit","tag-edit-outline","tag-faces","tag-heart","tag-heart-outline","tag-hidden","tag-minus","tag-minus-outline","tag-multiple","tag-multiple-outline","tag-off","tag-off-outline","tag-outline","tag-plus","tag-plus-outline","tag-remove","tag-remove-outline","tag-search","tag-search-outline","tag-text","tag-text-outline","tailwind","tally-mark-1","tally-mark-2","tally-mark-3","tally-mark-4","tally-mark-5","tangram","tank","tanker-truck","tape-drive","tape-measure","target","target-account","target-variant","taxi","tea","tea-outline","teamspeak","teamviewer","teddy-bear","telegram","telescope","television","television-ambient-light","television-box","television-classic","television-classic-off","television-guide","television-off","television-pause","television-play","television-shimmer","television-speaker","television-speaker-off","television-stop","temperature-celsius","temperature-fahrenheit","temperature-kelvin","temple-buddhist","temple-buddhist-outline","temple-hindu","temple-hindu-outline","tennis","tennis-ball","tennis-ball-outline","tent","terraform","terrain","test-tube","test-tube-empty","test-tube-off","text","text-account","text-box","text-box-check","text-box-check-outline","text-box-edit","text-box-edit-outline","text-box-minus","text-box-minus-outline","text-box-multiple","text-box-multiple-outline","text-box-outline","text-box-plus","text-box-plus-outline","text-box-remove","text-box-remove-outline","text-box-search","text-box-search-outline","text-long","text-recognition","text-search","text-search-variant","text-shadow","text-short","texture","texture-box","theater","theme-light-dark","thermometer","thermometer-alert","thermometer-auto","thermometer-bluetooth","thermometer-check","thermometer-chevron-down","thermometer-chevron-up","thermometer-high","thermometer-lines","thermometer-low","thermometer-minus","thermometer-off","thermometer-plus","thermometer-probe","thermometer-probe-off","thermometer-water","thermostat","thermostat-auto","thermostat-box","thermostat-box-auto","thermostat-cog","thought-bubble","thought-bubble-outline","thumb-down","thumb-down-outline","thumb-up","thumb-up-outline","thumbs-up-down","thumbs-up-down-outline","ticket","ticket-account","ticket-confirmation","ticket-confirmation-outline","ticket-outline","ticket-percent","ticket-percent-outline","tie","tilde","tilde-off","timelapse","timeline","timeline-alert","timeline-alert-outline","timeline-check","timeline-check-outline","timeline-clock","timeline-clock-outline","timeline-minus","timeline-minus-outline","timeline-outline","timeline-plus","timeline-plus-outline","timeline-question","timeline-question-outline","timeline-remove","timeline-remove-outline","timeline-text","timeline-text-outline","timer","timer-10","timer-3","timer-alert","timer-alert-outline","timer-cancel","timer-cancel-outline","timer-check","timer-check-outline","timer-cog","timer-cog-outline","timer-edit","timer-edit-outline","timer-lock","timer-lock-open","timer-lock-open-outline","timer-lock-outline","timer-marker","timer-marker-outline","timer-minus","timer-minus-outline","timer-music","timer-music-outline","timer-off","timer-off-outline","timer-outline","timer-pause","timer-pause-outline","timer-play","timer-play-outline","timer-plus","timer-plus-outline","timer-refresh","timer-refresh-outline","timer-remove","timer-remove-outline","timer-sand","timer-sand-complete","timer-sand-empty","timer-sand-full","timer-sand-paused","timer-settings","timer-settings-outline","timer-star","timer-star-outline","timer-stop","timer-stop-outline","timer-sync","timer-sync-outline","timetable","tire","toaster","toaster-off","toaster-oven","toggle-switch","toggle-switch-off","toggle-switch-off-outline","toggle-switch-outline","toggle-switch-variant","toggle-switch-variant-off","toilet","toolbox","toolbox-outline","tools","tooltip","tooltip-account","tooltip-cellphone","tooltip-check","tooltip-check-outline","tooltip-edit","tooltip-edit-outline","tooltip-image","tooltip-image-outline","tooltip-minus","tooltip-minus-outline","tooltip-outline","tooltip-plus","tooltip-plus-outline","tooltip-question","tooltip-question-outline","tooltip-remove","tooltip-remove-outline","tooltip-text","tooltip-text-outline","tooth","tooth-outline","toothbrush","toothbrush-electric","toothbrush-paste","tor","torch","tortoise","toslink","touch-text-outline","tournament","tow-truck","tower-beach","tower-fire","town-hall","toy-brick","toy-brick-marker","toy-brick-marker-outline","toy-brick-minus","toy-brick-minus-outline","toy-brick-outline","toy-brick-plus","toy-brick-plus-outline","toy-brick-remove","toy-brick-remove-outline","toy-brick-search","toy-brick-search-outline","track-light","track-light-off","trackpad","trackpad-lock","tractor","tractor-variant","trademark","traffic-cone","traffic-light","traffic-light-outline","train","train-bus","train-car","train-car-autorack","train-car-box","train-car-box-full","train-car-box-open","train-car-caboose","train-car-centerbeam","train-car-centerbeam-full","train-car-container","train-car-flatbed","train-car-flatbed-car","train-car-flatbed-tank","train-car-gondola","train-car-gondola-full","train-car-hopper","train-car-hopper-covered","train-car-hopper-full","train-car-intermodal","train-car-passenger","train-car-passenger-door","train-car-passenger-door-open","train-car-passenger-variant","train-car-tank","train-variant","tram","tram-side","transcribe","transcribe-close","transfer","transfer-down","transfer-left","transfer-right","transfer-up","transit-connection","transit-connection-horizontal","transit-connection-variant","transit-detour","transit-skip","transit-transfer","transition","transition-masked","translate","translate-off","translate-variant","transmission-tower","transmission-tower-export","transmission-tower-import","transmission-tower-off","trash-can","trash-can-outline","tray","tray-alert","tray-arrow-down","tray-arrow-up","tray-full","tray-minus","tray-plus","tray-remove","treasure-chest","treasure-chest-outline","tree","tree-outline","trello","trending-down","trending-neutral","trending-up","triangle","triangle-down","triangle-down-outline","triangle-outline","triangle-small-down","triangle-small-up","triangle-wave","triforce","trophy","trophy-award","trophy-broken","trophy-outline","trophy-variant","trophy-variant-outline","truck","truck-alert","truck-alert-outline","truck-cargo-container","truck-check","truck-check-outline","truck-delivery","truck-delivery-outline","truck-fast","truck-fast-outline","truck-flatbed","truck-minus","truck-minus-outline","truck-off-road","truck-off-road-off","truck-outline","truck-plus","truck-plus-outline","truck-remove","truck-remove-outline","truck-snowflake","truck-trailer","trumpet","tshirt-crew","tshirt-crew-outline","tshirt-v","tshirt-v-outline","tsunami","tumble-dryer","tumble-dryer-alert","tumble-dryer-off","tumblr","tumblr-box","tumblr-reblog","tune","tune-variant","tune-vertical","tune-vertical-variant","tunnel","tunnel-outline","turbine","turkey","turnstile","turnstile-outline","turtle","twitch","twitter","twitter-box","twitter-circle","two-factor-authentication","typewriter","uber","ubisoft","ubuntu","ufo","ufo-outline","ultra-high-definition","umbraco","umbrella","umbrella-beach","umbrella-beach-outline","umbrella-closed","umbrella-closed-outline","umbrella-closed-variant","umbrella-outline","underwear-outline","undo","undo-variant","unfold-less-horizontal","unfold-less-vertical","unfold-more-horizontal","unfold-more-vertical","ungroup","unicode","unicorn","unicorn-variant","unicycle","unity","unreal","untappd","update","upload","upload-box","upload-box-outline","upload-circle","upload-circle-outline","upload-lock","upload-lock-outline","upload-multiple","upload-multiple-outline","upload-network","upload-network-outline","upload-off","upload-off-outline","upload-outline","usb","usb-c-port","usb-flash-drive","usb-flash-drive-outline","usb-port","vacuum","vacuum-outline","valve","valve-closed","valve-open","van-passenger","van-utility","vanish","vanish-quarter","vanity-light","variable","variable-box","vector-arrange-above","vector-arrange-below","vector-bezier","vector-circle","vector-circle-variant","vector-combine","vector-curve","vector-difference","vector-difference-ab","vector-difference-ba","vector-ellipse","vector-intersection","vector-line","vector-link","vector-point","vector-point-edit","vector-point-minus","vector-point-plus","vector-point-select","vector-polygon","vector-polygon-variant","vector-polyline","vector-polyline-edit","vector-polyline-minus","vector-polyline-plus","vector-polyline-remove","vector-radius","vector-rectangle","vector-selection","vector-square","vector-square-close","vector-square-edit","vector-square-minus","vector-square-open","vector-square-plus","vector-square-remove","vector-triangle","vector-union","venmo","vhs","vibrate","vibrate-off","video","video-2d","video-3d","video-3d-off","video-3d-variant","video-4k-box","video-account","video-box","video-box-off","video-check","video-check-outline","video-high-definition","video-image","video-input-antenna","video-input-component","video-input-hdmi","video-input-scart","video-input-svideo","video-marker","video-marker-outline","video-minus","video-minus-outline","video-off","video-off-outline","video-outline","video-plus","video-plus-outline","video-stabilization","video-standard-definition","video-switch","video-switch-outline","video-vintage","video-wireless","video-wireless-outline","view-agenda","view-agenda-outline","view-array","view-array-outline","view-carousel","view-carousel-outline","view-column","view-column-outline","view-comfy","view-comfy-outline","view-compact","view-compact-outline","view-dashboard","view-dashboard-edit","view-dashboard-edit-outline","view-dashboard-outline","view-dashboard-variant","view-dashboard-variant-outline","view-day","view-day-outline","view-gallery","view-gallery-outline","view-grid","view-grid-compact","view-grid-outline","view-grid-plus","view-grid-plus-outline","view-headline","view-list","view-list-outline","view-module","view-module-outline","view-parallel","view-parallel-outline","view-quilt","view-quilt-outline","view-sequential","view-sequential-outline","view-split-horizontal","view-split-vertical","view-stream","view-stream-outline","view-week","view-week-outline","vimeo","vine","violin","virtual-reality","virus","virus-off","virus-off-outline","virus-outline","vk","vk-box","vk-circle","vlc","voicemail","volcano","volcano-outline","volleyball","volume","volume-equal","volume-high","volume-low","volume-medium","volume-minus","volume-mute","volume-off","volume-plus","volume-source","volume-variant-off","volume-vibrate","vote","vote-outline","vpn","vuejs","vuetify","walk","wall","wall-fire","wall-sconce","wall-sconce-flat","wall-sconce-flat-outline","wall-sconce-flat-variant","wall-sconce-flat-variant-outline","wall-sconce-outline","wall-sconce-round","wall-sconce-round-outline","wall-sconce-round-variant","wall-sconce-round-variant-outline","wall-sconce-variant","wallet","wallet-bifold","wallet-bifold-outline","wallet-giftcard","wallet-membership","wallet-outline","wallet-plus","wallet-plus-outline","wallet-travel","wallpaper","wan","wardrobe","wardrobe-outline","warehouse","washing-machine","washing-machine-alert","washing-machine-off","watch","watch-export","watch-export-variant","watch-import","watch-import-variant","watch-variant","watch-vibrate","watch-vibrate-off","water","water-alert","water-alert-outline","water-boiler","water-boiler-alert","water-boiler-auto","water-boiler-off","water-check","water-check-outline","water-circle","water-minus","water-minus-outline","water-off","water-off-outline","water-opacity","water-outline","water-percent","water-percent-alert","water-plus","water-plus-outline","water-polo","water-pump","water-pump-off","water-remove","water-remove-outline","water-sync","water-thermometer","water-thermometer-outline","water-well","water-well-outline","waterfall","watering-can","watering-can-outline","watermark","wave","wave-arrow-down","wave-arrow-up","wave-undercurrent","waveform","waves","waves-arrow-left","waves-arrow-right","waves-arrow-up","waze","weather-cloudy","weather-cloudy-alert","weather-cloudy-arrow-right","weather-cloudy-clock","weather-dust","weather-fog","weather-hail","weather-hazy","weather-hurricane","weather-hurricane-outline","weather-lightning","weather-lightning-rainy","weather-moonset","weather-moonset-down","weather-moonset-up","weather-night","weather-night-partly-cloudy","weather-partly-cloudy","weather-partly-lightning","weather-partly-rainy","weather-partly-snowy","weather-partly-snowy-rainy","weather-pouring","weather-rainy","weather-snowy","weather-snowy-heavy","weather-snowy-rainy","weather-sunny","weather-sunny-alert","weather-sunny-off","weather-sunset","weather-sunset-down","weather-sunset-up","weather-tornado","weather-windy","weather-windy-variant","web","web-box","web-cancel","web-check","web-clock","web-minus","web-off","web-plus","web-refresh","web-remove","web-sync","webcam","webcam-off","webhook","webpack","webrtc","wechat","weight","weight-gram","weight-kilogram","weight-lifter","weight-pound","whatsapp","wheel-barrow","wheelchair","wheelchair-accessibility","whistle","whistle-outline","white-balance-auto","white-balance-incandescent","white-balance-iridescent","white-balance-sunny","widgets","widgets-outline","wifi","wifi-alert","wifi-arrow-down","wifi-arrow-left","wifi-arrow-left-right","wifi-arrow-right","wifi-arrow-up","wifi-arrow-up-down","wifi-cancel","wifi-check","wifi-cog","wifi-lock","wifi-lock-open","wifi-marker","wifi-minus","wifi-off","wifi-plus","wifi-refresh","wifi-remove","wifi-settings","wifi-star","wifi-strength-1","wifi-strength-1-alert","wifi-strength-1-lock","wifi-strength-1-lock-open","wifi-strength-2","wifi-strength-2-alert","wifi-strength-2-lock","wifi-strength-2-lock-open","wifi-strength-3","wifi-strength-3-alert","wifi-strength-3-lock","wifi-strength-3-lock-open","wifi-strength-4","wifi-strength-4-alert","wifi-strength-4-lock","wifi-strength-4-lock-open","wifi-strength-alert-outline","wifi-strength-lock-open-outline","wifi-strength-lock-outline","wifi-strength-off","wifi-strength-off-outline","wifi-strength-outline","wifi-sync","wikipedia","wind-power","wind-power-outline","wind-turbine","wind-turbine-alert","wind-turbine-check","window-close","window-closed","window-closed-variant","window-maximize","window-minimize","window-open","window-open-variant","window-restore","window-shutter","window-shutter-alert","window-shutter-auto","window-shutter-cog","window-shutter-open","window-shutter-settings","windsock","wiper","wiper-wash","wiper-wash-alert","wizard-hat","wordpress","wrap","wrap-disabled","wrench","wrench-check","wrench-check-outline","wrench-clock","wrench-clock-outline","wrench-cog","wrench-cog-outline","wrench-outline","wunderlist","xamarin","xamarin-outline","xda","xing","xing-circle","xml","xmpp","y-combinator","yahoo","yammer","yeast","yelp","yin-yang","yoga","youtube","youtube-gaming","youtube-studio","youtube-subscription","youtube-tv","yurt","z-wave","zend","zigbee","zip-box","zip-box-outline","zip-disk","zodiac-aquarius","zodiac-aries","zodiac-cancer","zodiac-capricorn","zodiac-gemini","zodiac-leo","zodiac-libra","zodiac-pisces","zodiac-sagittarius","zodiac-scorpio","zodiac-taurus","zodiac-virgo"]},{"prefix":"ri","info":{"name":"Remix Icon","total":2704,"version":"4.0.0","author":{"name":"Remix Design","url":"https://github.com/Remix-Design/RemixIcon"},"license":{"title":"Apache 2.0","spdx":"Apache-2.0","url":"https://github.com/Remix-Design/RemixIcon/blob/master/License"},"samples":["lock-2-line","mark-pen-fill","moon-line"],"height":24,"category":"General","palette":false},"icons":["24-hours-fill","24-hours-line","4k-fill","4k-line","a-b","account-box-fill","account-box-line","account-circle-fill","account-circle-line","account-pin-box-fill","account-pin-box-line","account-pin-circle-fill","account-pin-circle-line","add-box-fill","add-box-line","add-circle-fill","add-circle-line","add-fill","add-line","admin-fill","admin-line","advertisement-fill","advertisement-line","ai-generate","airplay-fill","airplay-line","alarm-fill","alarm-line","alarm-warning-fill","alarm-warning-line","album-fill","album-line","alert-fill","alert-line","aliens-fill","aliens-line","align-bottom","align-center","align-justify","align-left","align-right","align-top","align-vertically","alipay-fill","alipay-line","amazon-fill","amazon-line","anchor-fill","anchor-line","ancient-gate-fill","ancient-gate-line","ancient-pavilion-fill","ancient-pavilion-line","android-fill","android-line","angularjs-fill","angularjs-line","anticlockwise-2-fill","anticlockwise-2-line","anticlockwise-fill","anticlockwise-line","app-store-fill","app-store-line","apple-fill","apple-line","apps-2-fill","apps-2-line","apps-fill","apps-line","archive-2-fill","archive-2-line","archive-drawer-fill","archive-drawer-line","archive-fill","archive-line","archive-stack-fill","archive-stack-line","armchair-fill","armchair-line","arrow-down-circle-fill","arrow-down-circle-line","arrow-down-double-fill","arrow-down-double-line","arrow-down-fill","arrow-down-line","arrow-down-s-fill","arrow-down-s-line","arrow-drop-down-fill","arrow-drop-down-line","arrow-drop-left-fill","arrow-drop-left-line","arrow-drop-right-fill","arrow-drop-right-line","arrow-drop-up-fill","arrow-drop-up-line","arrow-go-back-fill","arrow-go-back-line","arrow-go-forward-fill","arrow-go-forward-line","arrow-left-circle-fill","arrow-left-circle-line","arrow-left-double-fill","arrow-left-double-line","arrow-left-down-fill","arrow-left-down-line","arrow-left-fill","arrow-left-line","arrow-left-right-fill","arrow-left-right-line","arrow-left-s-fill","arrow-left-s-line","arrow-left-up-fill","arrow-left-up-line","arrow-right-circle-fill","arrow-right-circle-line","arrow-right-double-fill","arrow-right-double-line","arrow-right-down-fill","arrow-right-down-line","arrow-right-fill","arrow-right-line","arrow-right-s-fill","arrow-right-s-line","arrow-right-up-fill","arrow-right-up-line","arrow-turn-back-fill","arrow-turn-back-line","arrow-turn-forward-fill","arrow-turn-forward-line","arrow-up-circle-fill","arrow-up-circle-line","arrow-up-double-fill","arrow-up-double-line","arrow-up-down-fill","arrow-up-down-line","arrow-up-fill","arrow-up-line","arrow-up-s-fill","arrow-up-s-line","artboard-2-fill","artboard-2-line","artboard-fill","artboard-line","article-fill","article-line","aspect-ratio-fill","aspect-ratio-line","asterisk","at-fill","at-line","attachment-2","attachment-fill","attachment-line","auction-fill","auction-line","award-fill","award-line","baidu-fill","baidu-line","ball-pen-fill","ball-pen-line","bank-card-2-fill","bank-card-2-line","bank-card-fill","bank-card-line","bank-fill","bank-line","bar-chart-2-fill","bar-chart-2-line","bar-chart-box-fill","bar-chart-box-line","bar-chart-fill","bar-chart-grouped-fill","bar-chart-grouped-line","bar-chart-horizontal-fill","bar-chart-horizontal-line","bar-chart-line","barcode-box-fill","barcode-box-line","barcode-fill","barcode-line","bard-fill","bard-line","barricade-fill","barricade-line","base-station-fill","base-station-line","basketball-fill","basketball-line","battery-2-charge-fill","battery-2-charge-line","battery-2-fill","battery-2-line","battery-charge-fill","battery-charge-line","battery-fill","battery-line","battery-low-fill","battery-low-line","battery-saver-fill","battery-saver-line","battery-share-fill","battery-share-line","bear-smile-fill","bear-smile-line","beer-fill","beer-line","behance-fill","behance-line","bell-fill","bell-line","bike-fill","bike-line","bilibili-fill","bilibili-line","bill-fill","bill-line","billiards-fill","billiards-line","bit-coin-fill","bit-coin-line","blaze-fill","blaze-line","blender-fill","blender-line","blogger-fill","blogger-line","bluetooth-connect-fill","bluetooth-connect-line","bluetooth-fill","bluetooth-line","blur-off-fill","blur-off-line","bnb-fill","bnb-line","body-scan-fill","body-scan-line","bold","book-2-fill","book-2-line","book-3-fill","book-3-line","book-fill","book-line","book-marked-fill","book-marked-line","book-open-fill","book-open-line","book-read-fill","book-read-line","booklet-fill","booklet-line","bookmark-2-fill","bookmark-2-line","bookmark-3-fill","bookmark-3-line","bookmark-fill","bookmark-line","bootstrap-fill","bootstrap-line","bowl-fill","bowl-line","box-1-fill","box-1-line","box-2-fill","box-2-line","box-3-fill","box-3-line","boxing-fill","boxing-line","braces-fill","braces-line","brackets-fill","brackets-line","brain-fill","brain-line","bread-fill","bread-line","briefcase-2-fill","briefcase-2-line","briefcase-3-fill","briefcase-3-line","briefcase-4-fill","briefcase-4-line","briefcase-5-fill","briefcase-5-line","briefcase-fill","briefcase-line","bring-forward","bring-to-front","broadcast-fill","broadcast-line","brush-2-fill","brush-2-line","brush-3-fill","brush-3-line","brush-4-fill","brush-4-line","brush-fill","brush-line","btc-fill","btc-line","bubble-chart-fill","bubble-chart-line","bug-2-fill","bug-2-line","bug-fill","bug-line","building-2-fill","building-2-line","building-3-fill","building-3-line","building-4-fill","building-4-line","building-fill","building-line","bus-2-fill","bus-2-line","bus-fill","bus-line","bus-wifi-fill","bus-wifi-line","cactus-fill","cactus-line","cake-2-fill","cake-2-line","cake-3-fill","cake-3-line","cake-fill","cake-line","calculator-fill","calculator-line","calendar-2-fill","calendar-2-line","calendar-check-fill","calendar-check-line","calendar-close-fill","calendar-close-line","calendar-event-fill","calendar-event-line","calendar-fill","calendar-line","calendar-schedule-fill","calendar-schedule-line","calendar-todo-fill","calendar-todo-line","calendar-view","camera-2-fill","camera-2-line","camera-3-fill","camera-3-line","camera-fill","camera-lens-fill","camera-lens-line","camera-line","camera-off-fill","camera-off-line","camera-switch-fill","camera-switch-line","candle-fill","candle-line","capsule-fill","capsule-line","car-fill","car-line","car-washing-fill","car-washing-line","caravan-fill","caravan-line","carousel-view","cash-fill","cash-line","cast-fill","cast-line","cellphone-fill","cellphone-line","celsius-fill","celsius-line","centos-fill","centos-line","character-recognition-fill","character-recognition-line","charging-pile-2-fill","charging-pile-2-line","charging-pile-fill","charging-pile-line","chat-1-fill","chat-1-line","chat-2-fill","chat-2-line","chat-3-fill","chat-3-line","chat-4-fill","chat-4-line","chat-check-fill","chat-check-line","chat-delete-fill","chat-delete-line","chat-download-fill","chat-download-line","chat-follow-up-fill","chat-follow-up-line","chat-forward-fill","chat-forward-line","chat-heart-fill","chat-heart-line","chat-history-fill","chat-history-line","chat-new-fill","chat-new-line","chat-off-fill","chat-off-line","chat-poll-fill","chat-poll-line","chat-private-fill","chat-private-line","chat-quote-fill","chat-quote-line","chat-settings-fill","chat-settings-line","chat-smile-2-fill","chat-smile-2-line","chat-smile-3-fill","chat-smile-3-line","chat-smile-fill","chat-smile-line","chat-thread-fill","chat-thread-line","chat-upload-fill","chat-upload-line","chat-voice-fill","chat-voice-line","check-double-fill","check-double-line","check-fill","check-line","checkbox-blank-circle-fill","checkbox-blank-circle-line","checkbox-blank-fill","checkbox-blank-line","checkbox-circle-fill","checkbox-circle-line","checkbox-fill","checkbox-indeterminate-fill","checkbox-indeterminate-line","checkbox-line","checkbox-multiple-blank-fill","checkbox-multiple-blank-line","checkbox-multiple-fill","checkbox-multiple-line","china-railway-fill","china-railway-line","chrome-fill","chrome-line","circle-fill","circle-line","clapperboard-fill","clapperboard-line","clipboard-fill","clipboard-line","clockwise-2-fill","clockwise-2-line","clockwise-fill","clockwise-line","close-circle-fill","close-circle-line","close-fill","close-line","closed-captioning-fill","closed-captioning-line","cloud-fill","cloud-line","cloud-off-fill","cloud-off-line","cloud-windy-fill","cloud-windy-line","cloudy-2-fill","cloudy-2-line","cloudy-fill","cloudy-line","code-block","code-box-fill","code-box-line","code-fill","code-line","code-s-fill","code-s-line","code-s-slash-fill","code-s-slash-line","code-view","codepen-fill","codepen-line","coin-fill","coin-line","coins-fill","coins-line","collage-fill","collage-line","color-filter-fill","color-filter-line","command-fill","command-line","community-fill","community-line","compass-2-fill","compass-2-line","compass-3-fill","compass-3-line","compass-4-fill","compass-4-line","compass-discover-fill","compass-discover-line","compass-fill","compass-line","compasses-2-fill","compasses-2-line","compasses-fill","compasses-line","computer-fill","computer-line","contacts-book-2-fill","contacts-book-2-line","contacts-book-3-fill","contacts-book-3-line","contacts-book-fill","contacts-book-line","contacts-book-upload-fill","contacts-book-upload-line","contacts-fill","contacts-line","contract-fill","contract-left-fill","contract-left-line","contract-left-right-fill","contract-left-right-line","contract-line","contract-right-fill","contract-right-line","contract-up-down-fill","contract-up-down-line","contrast-2-fill","contrast-2-line","contrast-drop-2-fill","contrast-drop-2-line","contrast-drop-fill","contrast-drop-line","contrast-fill","contrast-line","copilot-fill","copilot-line","copper-coin-fill","copper-coin-line","copper-diamond-fill","copper-diamond-line","copyleft-fill","copyleft-line","copyright-fill","copyright-line","coreos-fill","coreos-line","corner-down-left-fill","corner-down-left-line","corner-down-right-fill","corner-down-right-line","corner-left-down-fill","corner-left-down-line","corner-left-up-fill","corner-left-up-line","corner-right-down-fill","corner-right-down-line","corner-right-up-fill","corner-right-up-line","corner-up-left-double-fill","corner-up-left-double-line","corner-up-left-fill","corner-up-left-line","corner-up-right-double-fill","corner-up-right-double-line","corner-up-right-fill","corner-up-right-line","coupon-2-fill","coupon-2-line","coupon-3-fill","coupon-3-line","coupon-4-fill","coupon-4-line","coupon-5-fill","coupon-5-line","coupon-fill","coupon-line","cpu-fill","cpu-line","creative-commons-by-fill","creative-commons-by-line","creative-commons-fill","creative-commons-line","creative-commons-nc-fill","creative-commons-nc-line","creative-commons-nd-fill","creative-commons-nd-line","creative-commons-sa-fill","creative-commons-sa-line","creative-commons-zero-fill","creative-commons-zero-line","criminal-fill","criminal-line","crop-2-fill","crop-2-line","crop-fill","crop-line","cross-fill","cross-line","crosshair-2-fill","crosshair-2-line","crosshair-fill","crosshair-line","css3-fill","css3-line","cup-fill","cup-line","currency-fill","currency-line","cursor-fill","cursor-line","customer-service-2-fill","customer-service-2-line","customer-service-fill","customer-service-line","dashboard-2-fill","dashboard-2-line","dashboard-3-fill","dashboard-3-line","dashboard-fill","dashboard-line","database-2-fill","database-2-line","database-fill","database-line","delete-back-2-fill","delete-back-2-line","delete-back-fill","delete-back-line","delete-bin-2-fill","delete-bin-2-line","delete-bin-3-fill","delete-bin-3-line","delete-bin-4-fill","delete-bin-4-line","delete-bin-5-fill","delete-bin-5-line","delete-bin-6-fill","delete-bin-6-line","delete-bin-7-fill","delete-bin-7-line","delete-bin-fill","delete-bin-line","delete-column","delete-row","device-fill","device-line","device-recover-fill","device-recover-line","dice-1-fill","dice-1-line","dice-2-fill","dice-2-line","dice-3-fill","dice-3-line","dice-4-fill","dice-4-line","dice-5-fill","dice-5-line","dice-6-fill","dice-6-line","dice-fill","dice-line","dingding-fill","dingding-line","direction-fill","direction-line","disc-fill","disc-line","discord-fill","discord-line","discount-percent-fill","discount-percent-line","discuss-fill","discuss-line","dislike-fill","dislike-line","disqus-fill","disqus-line","divide-fill","divide-line","donut-chart-fill","donut-chart-line","door-closed-fill","door-closed-line","door-fill","door-line","door-lock-box-fill","door-lock-box-line","door-lock-fill","door-lock-line","door-open-fill","door-open-line","dossier-fill","dossier-line","douban-fill","douban-line","double-quotes-l","double-quotes-r","download-2-fill","download-2-line","download-cloud-2-fill","download-cloud-2-line","download-cloud-fill","download-cloud-line","download-fill","download-line","draft-fill","draft-line","drag-drop-fill","drag-drop-line","drag-move-2-fill","drag-move-2-line","drag-move-fill","drag-move-line","draggable","dribbble-fill","dribbble-line","drinks-2-fill","drinks-2-line","drinks-fill","drinks-line","drive-fill","drive-line","drizzle-fill","drizzle-line","drop-fill","drop-line","dropbox-fill","dropbox-line","dropdown-list","dual-sim-1-fill","dual-sim-1-line","dual-sim-2-fill","dual-sim-2-line","dv-fill","dv-line","dvd-fill","dvd-line","e-bike-2-fill","e-bike-2-line","e-bike-fill","e-bike-line","earth-fill","earth-line","earthquake-fill","earthquake-line","edge-fill","edge-line","edge-new-fill","edge-new-line","edit-2-fill","edit-2-line","edit-box-fill","edit-box-line","edit-circle-fill","edit-circle-line","edit-fill","edit-line","eject-fill","eject-line","emoji-sticker-fill","emoji-sticker-line","emotion-2-fill","emotion-2-line","emotion-fill","emotion-happy-fill","emotion-happy-line","emotion-laugh-fill","emotion-laugh-line","emotion-line","emotion-normal-fill","emotion-normal-line","emotion-sad-fill","emotion-sad-line","emotion-unhappy-fill","emotion-unhappy-line","empathize-fill","empathize-line","emphasis","emphasis-cn","english-input","equal-fill","equal-line","equalizer-2-fill","equalizer-2-line","equalizer-3-fill","equalizer-3-line","equalizer-fill","equalizer-line","eraser-fill","eraser-line","error-warning-fill","error-warning-line","eth-fill","eth-line","evernote-fill","evernote-line","exchange-2-fill","exchange-2-line","exchange-box-fill","exchange-box-line","exchange-cny-fill","exchange-cny-line","exchange-dollar-fill","exchange-dollar-line","exchange-fill","exchange-funds-fill","exchange-funds-line","exchange-line","expand-left-fill","expand-left-line","expand-left-right-fill","expand-left-right-line","expand-right-fill","expand-right-line","expand-up-down-fill","expand-up-down-line","export-fill","export-line","external-link-fill","external-link-line","eye-2-fill","eye-2-line","eye-close-fill","eye-close-line","eye-fill","eye-line","eye-off-fill","eye-off-line","facebook-box-fill","facebook-box-line","facebook-circle-fill","facebook-circle-line","facebook-fill","facebook-line","fahrenheit-fill","fahrenheit-line","feedback-fill","feedback-line","file-2-fill","file-2-line","file-3-fill","file-3-line","file-4-fill","file-4-line","file-add-fill","file-add-line","file-chart-2-fill","file-chart-2-line","file-chart-fill","file-chart-line","file-check-fill","file-check-line","file-close-fill","file-close-line","file-cloud-fill","file-cloud-line","file-code-fill","file-code-line","file-copy-2-fill","file-copy-2-line","file-copy-fill","file-copy-line","file-damage-fill","file-damage-line","file-download-fill","file-download-line","file-edit-fill","file-edit-line","file-excel-2-fill","file-excel-2-line","file-excel-fill","file-excel-line","file-fill","file-forbid-fill","file-forbid-line","file-gif-fill","file-gif-line","file-history-fill","file-history-line","file-hwp-fill","file-hwp-line","file-image-fill","file-image-line","file-info-fill","file-info-line","file-line","file-list-2-fill","file-list-2-line","file-list-3-fill","file-list-3-line","file-list-fill","file-list-line","file-lock-fill","file-lock-line","file-marked-fill","file-marked-line","file-music-fill","file-music-line","file-paper-2-fill","file-paper-2-line","file-paper-fill","file-paper-line","file-pdf-2-fill","file-pdf-2-line","file-pdf-fill","file-pdf-line","file-ppt-2-fill","file-ppt-2-line","file-ppt-fill","file-ppt-line","file-reduce-fill","file-reduce-line","file-search-fill","file-search-line","file-settings-fill","file-settings-line","file-shield-2-fill","file-shield-2-line","file-shield-fill","file-shield-line","file-shred-fill","file-shred-line","file-text-fill","file-text-line","file-transfer-fill","file-transfer-line","file-unknow-fill","file-unknow-line","file-upload-fill","file-upload-line","file-user-fill","file-user-line","file-video-fill","file-video-line","file-warning-fill","file-warning-line","file-word-2-fill","file-word-2-line","file-word-fill","file-word-line","file-zip-fill","file-zip-line","film-fill","film-line","filter-2-fill","filter-2-line","filter-3-fill","filter-3-line","filter-fill","filter-line","filter-off-fill","filter-off-line","find-replace-fill","find-replace-line","finder-fill","finder-line","fingerprint-2-fill","fingerprint-2-line","fingerprint-fill","fingerprint-line","fire-fill","fire-line","firefox-fill","firefox-line","first-aid-kit-fill","first-aid-kit-line","flag-2-fill","flag-2-line","flag-fill","flag-line","flashlight-fill","flashlight-line","flask-fill","flask-line","flickr-fill","flickr-line","flight-land-fill","flight-land-line","flight-takeoff-fill","flight-takeoff-line","flood-fill","flood-line","flow-chart","flower-fill","flower-line","flutter-fill","flutter-line","focus-2-fill","focus-2-line","focus-3-fill","focus-3-line","focus-fill","focus-line","focus-mode","foggy-fill","foggy-line","folder-2-fill","folder-2-line","folder-3-fill","folder-3-line","folder-4-fill","folder-4-line","folder-5-fill","folder-5-line","folder-6-fill","folder-6-line","folder-add-fill","folder-add-line","folder-chart-2-fill","folder-chart-2-line","folder-chart-fill","folder-chart-line","folder-check-fill","folder-check-line","folder-close-fill","folder-close-line","folder-cloud-fill","folder-cloud-line","folder-download-fill","folder-download-line","folder-fill","folder-forbid-fill","folder-forbid-line","folder-history-fill","folder-history-line","folder-image-fill","folder-image-line","folder-info-fill","folder-info-line","folder-keyhole-fill","folder-keyhole-line","folder-line","folder-lock-fill","folder-lock-line","folder-music-fill","folder-music-line","folder-open-fill","folder-open-line","folder-received-fill","folder-received-line","folder-reduce-fill","folder-reduce-line","folder-settings-fill","folder-settings-line","folder-shared-fill","folder-shared-line","folder-shield-2-fill","folder-shield-2-line","folder-shield-fill","folder-shield-line","folder-transfer-fill","folder-transfer-line","folder-unknow-fill","folder-unknow-line","folder-upload-fill","folder-upload-line","folder-user-fill","folder-user-line","folder-video-fill","folder-video-line","folder-warning-fill","folder-warning-line","folder-zip-fill","folder-zip-line","folders-fill","folders-line","font-color","font-family","font-mono","font-sans","font-sans-serif","font-size","font-size-2","football-fill","football-line","footprint-fill","footprint-line","forbid-2-fill","forbid-2-line","forbid-fill","forbid-line","format-clear","forward-10-fill","forward-10-line","forward-15-fill","forward-15-line","forward-30-fill","forward-30-line","forward-5-fill","forward-5-line","fridge-fill","fridge-line","fullscreen-exit-fill","fullscreen-exit-line","fullscreen-fill","fullscreen-line","function-fill","function-line","functions","funds-box-fill","funds-box-line","funds-fill","funds-line","gallery-fill","gallery-line","gallery-upload-fill","gallery-upload-line","gallery-view","gallery-view-2","game-fill","game-line","gamepad-fill","gamepad-line","gas-station-fill","gas-station-line","gatsby-fill","gatsby-line","genderless-fill","genderless-line","ghost-2-fill","ghost-2-line","ghost-fill","ghost-line","ghost-smile-fill","ghost-smile-line","gift-2-fill","gift-2-line","gift-fill","gift-line","git-branch-fill","git-branch-line","git-close-pull-request-fill","git-close-pull-request-line","git-commit-fill","git-commit-line","git-fork-fill","git-fork-line","git-merge-fill","git-merge-line","git-pull-request-fill","git-pull-request-line","git-repository-commits-fill","git-repository-commits-line","git-repository-fill","git-repository-line","git-repository-private-fill","git-repository-private-line","github-fill","github-line","gitlab-fill","gitlab-line","glasses-2-fill","glasses-2-line","glasses-fill","glasses-line","global-fill","global-line","globe-fill","globe-line","goblet-fill","goblet-line","goggles-fill","goggles-line","google-fill","google-line","google-play-fill","google-play-line","government-fill","government-line","gps-fill","gps-line","gradienter-fill","gradienter-line","graduation-cap-fill","graduation-cap-line","grid-fill","grid-line","group-2-fill","group-2-line","group-fill","group-line","guide-fill","guide-line","h-1","h-2","h-3","h-4","h-5","h-6","hail-fill","hail-line","hammer-fill","hammer-line","hand","hand-coin-fill","hand-coin-line","hand-heart-fill","hand-heart-line","hand-sanitizer-fill","hand-sanitizer-line","handbag-fill","handbag-line","hard-drive-2-fill","hard-drive-2-line","hard-drive-3-fill","hard-drive-3-line","hard-drive-fill","hard-drive-line","hashtag","haze-2-fill","haze-2-line","haze-fill","haze-line","hd-fill","hd-line","heading","headphone-fill","headphone-line","health-book-fill","health-book-line","heart-2-fill","heart-2-line","heart-3-fill","heart-3-line","heart-add-fill","heart-add-line","heart-fill","heart-line","heart-pulse-fill","heart-pulse-line","hearts-fill","hearts-line","heavy-showers-fill","heavy-showers-line","hexagon-fill","hexagon-line","history-fill","history-line","home-2-fill","home-2-line","home-3-fill","home-3-line","home-4-fill","home-4-line","home-5-fill","home-5-line","home-6-fill","home-6-line","home-7-fill","home-7-line","home-8-fill","home-8-line","home-fill","home-gear-fill","home-gear-line","home-heart-fill","home-heart-line","home-line","home-office-fill","home-office-line","home-smile-2-fill","home-smile-2-line","home-smile-fill","home-smile-line","home-wifi-fill","home-wifi-line","honor-of-kings-fill","honor-of-kings-line","honour-fill","honour-line","hospital-fill","hospital-line","hotel-bed-fill","hotel-bed-line","hotel-fill","hotel-line","hotspot-fill","hotspot-line","hourglass-2-fill","hourglass-2-line","hourglass-fill","hourglass-line","hq-fill","hq-line","html5-fill","html5-line","ie-fill","ie-line","image-2-fill","image-2-line","image-add-fill","image-add-line","image-circle-fill","image-circle-line","image-edit-fill","image-edit-line","image-fill","image-line","import-fill","import-line","inbox-2-fill","inbox-2-line","inbox-archive-fill","inbox-archive-line","inbox-fill","inbox-line","inbox-unarchive-fill","inbox-unarchive-line","increase-decrease-fill","increase-decrease-line","indent-decrease","indent-increase","indeterminate-circle-fill","indeterminate-circle-line","infinity-fill","infinity-line","info-i","information-2-fill","information-2-line","information-fill","information-line","infrared-thermometer-fill","infrared-thermometer-line","ink-bottle-fill","ink-bottle-line","input-cursor-move","input-field","input-method-fill","input-method-line","insert-column-left","insert-column-right","insert-row-bottom","insert-row-top","instagram-fill","instagram-line","install-fill","install-line","instance-fill","instance-line","invision-fill","invision-line","italic","javascript-fill","javascript-line","kakao-talk-fill","kakao-talk-line","kanban-view","kanban-view-2","key-2-fill","key-2-line","key-fill","key-line","keyboard-box-fill","keyboard-box-line","keyboard-fill","keyboard-line","keynote-fill","keynote-line","kick-fill","kick-line","knife-blood-fill","knife-blood-line","knife-fill","knife-line","landscape-fill","landscape-line","layout-2-fill","layout-2-line","layout-3-fill","layout-3-line","layout-4-fill","layout-4-line","layout-5-fill","layout-5-line","layout-6-fill","layout-6-line","layout-bottom-2-fill","layout-bottom-2-line","layout-bottom-fill","layout-bottom-line","layout-column-fill","layout-column-line","layout-fill","layout-grid-fill","layout-grid-line","layout-left-2-fill","layout-left-2-line","layout-left-fill","layout-left-line","layout-line","layout-masonry-fill","layout-masonry-line","layout-right-2-fill","layout-right-2-line","layout-right-fill","layout-right-line","layout-row-fill","layout-row-line","layout-top-2-fill","layout-top-2-line","layout-top-fill","layout-top-line","leaf-fill","leaf-line","lifebuoy-fill","lifebuoy-line","lightbulb-fill","lightbulb-flash-fill","lightbulb-flash-line","lightbulb-line","line-chart-fill","line-chart-line","line-fill","line-height","line-line","link","link-m","link-unlink","link-unlink-m","linkedin-box-fill","linkedin-box-line","linkedin-fill","linkedin-line","links-fill","links-line","list-check","list-check-2","list-check-3","list-indefinite","list-ordered","list-ordered-2","list-radio","list-settings-fill","list-settings-line","list-unordered","list-view","live-fill","live-line","loader-2-fill","loader-2-line","loader-3-fill","loader-3-line","loader-4-fill","loader-4-line","loader-5-fill","loader-5-line","loader-fill","loader-line","lock-2-fill","lock-2-line","lock-fill","lock-line","lock-password-fill","lock-password-line","lock-star-fill","lock-star-line","lock-unlock-fill","lock-unlock-line","login-box-fill","login-box-line","login-circle-fill","login-circle-line","logout-box-fill","logout-box-line","logout-box-r-fill","logout-box-r-line","logout-circle-fill","logout-circle-line","logout-circle-r-fill","logout-circle-r-line","loop-left-fill","loop-left-line","loop-right-fill","loop-right-line","luggage-cart-fill","luggage-cart-line","luggage-deposit-fill","luggage-deposit-line","lungs-fill","lungs-line","mac-fill","mac-line","macbook-fill","macbook-line","magic-fill","magic-line","mail-add-fill","mail-add-line","mail-check-fill","mail-check-line","mail-close-fill","mail-close-line","mail-download-fill","mail-download-line","mail-fill","mail-forbid-fill","mail-forbid-line","mail-line","mail-lock-fill","mail-lock-line","mail-open-fill","mail-open-line","mail-send-fill","mail-send-line","mail-settings-fill","mail-settings-line","mail-star-fill","mail-star-line","mail-unread-fill","mail-unread-line","mail-volume-fill","mail-volume-line","map-2-fill","map-2-line","map-fill","map-line","map-pin-2-fill","map-pin-2-line","map-pin-3-fill","map-pin-3-line","map-pin-4-fill","map-pin-4-line","map-pin-5-fill","map-pin-5-line","map-pin-add-fill","map-pin-add-line","map-pin-fill","map-pin-line","map-pin-range-fill","map-pin-range-line","map-pin-time-fill","map-pin-time-line","map-pin-user-fill","map-pin-user-line","mark-pen-fill","mark-pen-line","markdown-fill","markdown-line","markup-fill","markup-line","mastercard-fill","mastercard-line","mastodon-fill","mastodon-line","medal-2-fill","medal-2-line","medal-fill","medal-line","medicine-bottle-fill","medicine-bottle-line","medium-fill","medium-line","megaphone-fill","megaphone-line","memories-fill","memories-line","men-fill","men-line","mental-health-fill","mental-health-line","menu-2-fill","menu-2-line","menu-3-fill","menu-3-line","menu-4-fill","menu-4-line","menu-5-fill","menu-5-line","menu-add-fill","menu-add-line","menu-fill","menu-fold-fill","menu-fold-line","menu-line","menu-search-fill","menu-search-line","menu-unfold-fill","menu-unfold-line","merge-cells-horizontal","merge-cells-vertical","message-2-fill","message-2-line","message-3-fill","message-3-line","message-fill","message-line","messenger-fill","messenger-line","meta-fill","meta-line","meteor-fill","meteor-line","mic-2-fill","mic-2-line","mic-fill","mic-line","mic-off-fill","mic-off-line","mickey-fill","mickey-line","microscope-fill","microscope-line","microsoft-fill","microsoft-line","microsoft-loop-fill","microsoft-loop-line","mind-map","mini-program-fill","mini-program-line","mist-fill","mist-line","money-cny-box-fill","money-cny-box-line","money-cny-circle-fill","money-cny-circle-line","money-dollar-box-fill","money-dollar-box-line","money-dollar-circle-fill","money-dollar-circle-line","money-euro-box-fill","money-euro-box-line","money-euro-circle-fill","money-euro-circle-line","money-pound-box-fill","money-pound-box-line","money-pound-circle-fill","money-pound-circle-line","money-rupee-circle-fill","money-rupee-circle-line","moon-clear-fill","moon-clear-line","moon-cloudy-fill","moon-cloudy-line","moon-fill","moon-foggy-fill","moon-foggy-line","moon-line","more-2-fill","more-2-line","more-fill","more-line","motorbike-fill","motorbike-line","mouse-fill","mouse-line","movie-2-fill","movie-2-line","movie-fill","movie-line","music-2-fill","music-2-line","music-fill","music-line","mv-fill","mv-line","navigation-fill","navigation-line","netease-cloud-music-fill","netease-cloud-music-line","netflix-fill","netflix-line","news-fill","news-line","newspaper-fill","newspaper-line","nft-fill","nft-line","node-tree","notification-2-fill","notification-2-line","notification-3-fill","notification-3-line","notification-4-fill","notification-4-line","notification-badge-fill","notification-badge-line","notification-fill","notification-line","notification-off-fill","notification-off-line","notion-fill","notion-line","npmjs-fill","npmjs-line","number-0","number-1","number-2","number-3","number-4","number-5","number-6","number-7","number-8","number-9","numbers-fill","numbers-line","nurse-fill","nurse-line","octagon-fill","octagon-line","oil-fill","oil-line","omega","open-arm-fill","open-arm-line","open-source-fill","open-source-line","openai-fill","openai-line","openbase-fill","openbase-line","opera-fill","opera-line","order-play-fill","order-play-line","organization-chart","outlet-2-fill","outlet-2-line","outlet-fill","outlet-line","overline","p2p-fill","p2p-line","page-separator","pages-fill","pages-line","paint-brush-fill","paint-brush-line","paint-fill","paint-line","palette-fill","palette-line","pantone-fill","pantone-line","paragraph","parent-fill","parent-line","parentheses-fill","parentheses-line","parking-box-fill","parking-box-line","parking-fill","parking-line","pass-expired-fill","pass-expired-line","pass-pending-fill","pass-pending-line","pass-valid-fill","pass-valid-line","passport-fill","passport-line","patreon-fill","patreon-line","pause-circle-fill","pause-circle-line","pause-fill","pause-line","pause-mini-fill","pause-mini-line","paypal-fill","paypal-line","pen-nib-fill","pen-nib-line","pencil-fill","pencil-line","pencil-ruler-2-fill","pencil-ruler-2-line","pencil-ruler-fill","pencil-ruler-line","pentagon-fill","pentagon-line","percent-fill","percent-line","phone-camera-fill","phone-camera-line","phone-fill","phone-find-fill","phone-find-line","phone-line","phone-lock-fill","phone-lock-line","picture-in-picture-2-fill","picture-in-picture-2-line","picture-in-picture-exit-fill","picture-in-picture-exit-line","picture-in-picture-fill","picture-in-picture-line","pie-chart-2-fill","pie-chart-2-line","pie-chart-box-fill","pie-chart-box-line","pie-chart-fill","pie-chart-line","pin-distance-fill","pin-distance-line","ping-pong-fill","ping-pong-line","pinterest-fill","pinterest-line","pinyin-input","pixelfed-fill","pixelfed-line","plane-fill","plane-line","planet-fill","planet-line","plant-fill","plant-line","play-circle-fill","play-circle-line","play-fill","play-line","play-list-2-fill","play-list-2-line","play-list-add-fill","play-list-add-line","play-list-fill","play-list-line","play-mini-fill","play-mini-line","playstation-fill","playstation-line","plug-2-fill","plug-2-line","plug-fill","plug-line","polaroid-2-fill","polaroid-2-line","polaroid-fill","polaroid-line","police-car-fill","police-car-line","presentation-fill","presentation-line","price-tag-2-fill","price-tag-2-line","price-tag-3-fill","price-tag-3-line","price-tag-fill","price-tag-line","printer-cloud-fill","printer-cloud-line","printer-fill","printer-line","product-hunt-fill","product-hunt-line","profile-fill","profile-line","progress-1-fill","progress-1-line","progress-2-fill","progress-2-line","progress-3-fill","progress-3-line","progress-4-fill","progress-4-line","progress-5-fill","progress-5-line","progress-6-fill","progress-6-line","progress-7-fill","progress-7-line","progress-8-fill","progress-8-line","prohibited-fill","prohibited-line","projector-2-fill","projector-2-line","projector-fill","projector-line","psychotherapy-fill","psychotherapy-line","pulse-fill","pulse-line","pushpin-2-fill","pushpin-2-line","pushpin-fill","pushpin-line","puzzle-2-fill","puzzle-2-line","puzzle-fill","puzzle-line","qq-fill","qq-line","qr-code-fill","qr-code-line","qr-scan-2-fill","qr-scan-2-line","qr-scan-fill","qr-scan-line","question-answer-fill","question-answer-line","question-fill","question-line","question-mark","questionnaire-fill","questionnaire-line","quill-pen-fill","quill-pen-line","quote-text","radar-fill","radar-line","radio-2-fill","radio-2-line","radio-button-fill","radio-button-line","radio-fill","radio-line","rainbow-fill","rainbow-line","rainy-fill","rainy-line","ram-2-fill","ram-2-line","ram-fill","ram-line","reactjs-fill","reactjs-line","receipt-fill","receipt-line","record-circle-fill","record-circle-line","record-mail-fill","record-mail-line","rectangle-fill","rectangle-line","recycle-fill","recycle-line","red-packet-fill","red-packet-line","reddit-fill","reddit-line","refresh-fill","refresh-line","refund-2-fill","refund-2-line","refund-fill","refund-line","registered-fill","registered-line","remix-run-fill","remix-run-line","remixicon-fill","remixicon-line","remote-control-2-fill","remote-control-2-line","remote-control-fill","remote-control-line","repeat-2-fill","repeat-2-line","repeat-fill","repeat-line","repeat-one-fill","repeat-one-line","replay-10-fill","replay-10-line","replay-15-fill","replay-15-line","replay-30-fill","replay-30-line","replay-5-fill","replay-5-line","reply-all-fill","reply-all-line","reply-fill","reply-line","reserved-fill","reserved-line","rest-time-fill","rest-time-line","restart-fill","restart-line","restaurant-2-fill","restaurant-2-line","restaurant-fill","restaurant-line","rewind-fill","rewind-line","rewind-mini-fill","rewind-mini-line","rfid-fill","rfid-line","rhythm-fill","rhythm-line","riding-fill","riding-line","road-map-fill","road-map-line","roadster-fill","roadster-line","robot-2-fill","robot-2-line","robot-3-fill","robot-3-line","robot-fill","robot-line","rocket-2-fill","rocket-2-line","rocket-fill","rocket-line","rotate-lock-fill","rotate-lock-line","rounded-corner","route-fill","route-line","router-fill","router-line","rss-fill","rss-line","ruler-2-fill","ruler-2-line","ruler-fill","ruler-line","run-fill","run-line","safari-fill","safari-line","safe-2-fill","safe-2-line","safe-fill","safe-line","sailboat-fill","sailboat-line","save-2-fill","save-2-line","save-3-fill","save-3-line","save-fill","save-line","scales-2-fill","scales-2-line","scales-3-fill","scales-3-line","scales-fill","scales-line","scan-2-fill","scan-2-line","scan-fill","scan-line","school-fill","school-line","scissors-2-fill","scissors-2-line","scissors-cut-fill","scissors-cut-line","scissors-fill","scissors-line","screenshot-2-fill","screenshot-2-line","screenshot-fill","screenshot-line","sd-card-fill","sd-card-line","sd-card-mini-fill","sd-card-mini-line","search-2-fill","search-2-line","search-eye-fill","search-eye-line","search-fill","search-line","secure-payment-fill","secure-payment-line","seedling-fill","seedling-line","send-backward","send-plane-2-fill","send-plane-2-line","send-plane-fill","send-plane-line","send-to-back","sensor-fill","sensor-line","seo-fill","seo-line","separator","server-fill","server-line","service-fill","service-line","settings-2-fill","settings-2-line","settings-3-fill","settings-3-line","settings-4-fill","settings-4-line","settings-5-fill","settings-5-line","settings-6-fill","settings-6-line","settings-fill","settings-line","shadow-fill","shadow-line","shake-hands-fill","shake-hands-line","shape-2-fill","shape-2-line","shape-fill","shape-line","shapes-fill","shapes-line","share-2-fill","share-2-line","share-box-fill","share-box-line","share-circle-fill","share-circle-line","share-fill","share-forward-2-fill","share-forward-2-line","share-forward-box-fill","share-forward-box-line","share-forward-fill","share-forward-line","share-line","shield-check-fill","shield-check-line","shield-cross-fill","shield-cross-line","shield-fill","shield-flash-fill","shield-flash-line","shield-keyhole-fill","shield-keyhole-line","shield-line","shield-star-fill","shield-star-line","shield-user-fill","shield-user-line","shining-2-fill","shining-2-line","shining-fill","shining-line","ship-2-fill","ship-2-line","ship-fill","ship-line","shirt-fill","shirt-line","shopping-bag-2-fill","shopping-bag-2-line","shopping-bag-3-fill","shopping-bag-3-line","shopping-bag-fill","shopping-bag-line","shopping-basket-2-fill","shopping-basket-2-line","shopping-basket-fill","shopping-basket-line","shopping-cart-2-fill","shopping-cart-2-line","shopping-cart-fill","shopping-cart-line","showers-fill","showers-line","shuffle-fill","shuffle-line","shut-down-fill","shut-down-line","side-bar-fill","side-bar-line","sidebar-fold-fill","sidebar-fold-line","sidebar-unfold-fill","sidebar-unfold-line","signal-tower-fill","signal-tower-line","signal-wifi-1-fill","signal-wifi-1-line","signal-wifi-2-fill","signal-wifi-2-line","signal-wifi-3-fill","signal-wifi-3-line","signal-wifi-error-fill","signal-wifi-error-line","signal-wifi-fill","signal-wifi-line","signal-wifi-off-fill","signal-wifi-off-line","signpost-fill","signpost-line","sim-card-2-fill","sim-card-2-line","sim-card-fill","sim-card-line","single-quotes-l","single-quotes-r","sip-fill","sip-line","sketching","skip-back-fill","skip-back-line","skip-back-mini-fill","skip-back-mini-line","skip-down-fill","skip-down-line","skip-forward-fill","skip-forward-line","skip-forward-mini-fill","skip-forward-mini-line","skip-left-fill","skip-left-line","skip-right-fill","skip-right-line","skip-up-fill","skip-up-line","skull-2-fill","skull-2-line","skull-fill","skull-line","skype-fill","skype-line","slack-fill","slack-line","slash-commands","slash-commands-2","slice-fill","slice-line","slideshow-2-fill","slideshow-2-line","slideshow-3-fill","slideshow-3-line","slideshow-4-fill","slideshow-4-line","slideshow-fill","slideshow-line","slideshow-view","slow-down-fill","slow-down-line","smartphone-fill","smartphone-line","snapchat-fill","snapchat-line","snowy-fill","snowy-line","sofa-fill","sofa-line","sort-alphabet-asc","sort-alphabet-desc","sort-asc","sort-desc","sort-number-asc","sort-number-desc","sound-module-fill","sound-module-line","soundcloud-fill","soundcloud-line","space","space-ship-fill","space-ship-line","spam-2-fill","spam-2-line","spam-3-fill","spam-3-line","spam-fill","spam-line","sparkling-2-fill","sparkling-2-line","sparkling-fill","sparkling-line","speak-fill","speak-line","speaker-2-fill","speaker-2-line","speaker-3-fill","speaker-3-line","speaker-fill","speaker-line","spectrum-fill","spectrum-line","speed-fill","speed-line","speed-mini-fill","speed-mini-line","speed-up-fill","speed-up-line","split-cells-horizontal","split-cells-vertical","spotify-fill","spotify-line","spy-fill","spy-line","square-fill","square-line","stack-fill","stack-line","stack-overflow-fill","stack-overflow-line","stacked-view","stackshare-fill","stackshare-line","star-fill","star-half-fill","star-half-line","star-half-s-fill","star-half-s-line","star-line","star-s-fill","star-s-line","star-smile-fill","star-smile-line","steam-fill","steam-line","steering-2-fill","steering-2-line","steering-fill","steering-line","stethoscope-fill","stethoscope-line","sticky-note-2-fill","sticky-note-2-line","sticky-note-add-fill","sticky-note-add-line","sticky-note-fill","sticky-note-line","stock-fill","stock-line","stop-circle-fill","stop-circle-line","stop-fill","stop-line","stop-mini-fill","stop-mini-line","store-2-fill","store-2-line","store-3-fill","store-3-line","store-fill","store-line","strikethrough","strikethrough-2","subscript","subscript-2","subtract-fill","subtract-line","subway-fill","subway-line","subway-wifi-fill","subway-wifi-line","suitcase-2-fill","suitcase-2-line","suitcase-3-fill","suitcase-3-line","suitcase-fill","suitcase-line","sun-cloudy-fill","sun-cloudy-line","sun-fill","sun-foggy-fill","sun-foggy-line","sun-line","supabase-fill","supabase-line","superscript","superscript-2","surgical-mask-fill","surgical-mask-line","surround-sound-fill","surround-sound-line","survey-fill","survey-line","svelte-fill","svelte-line","swap-2-fill","swap-2-line","swap-3-fill","swap-3-line","swap-box-fill","swap-box-line","swap-fill","swap-line","switch-fill","switch-line","sword-fill","sword-line","syringe-fill","syringe-line","t-box-fill","t-box-line","t-shirt-2-fill","t-shirt-2-line","t-shirt-air-fill","t-shirt-air-line","t-shirt-fill","t-shirt-line","table-2","table-3","table-alt-fill","table-alt-line","table-fill","table-line","table-view","tablet-fill","tablet-line","takeaway-fill","takeaway-line","taobao-fill","taobao-line","tape-fill","tape-line","task-fill","task-line","taxi-fill","taxi-line","taxi-wifi-fill","taxi-wifi-line","team-fill","team-line","telegram-fill","telegram-line","temp-cold-fill","temp-cold-line","temp-hot-fill","temp-hot-line","tent-fill","tent-line","terminal-box-fill","terminal-box-line","terminal-fill","terminal-line","terminal-window-fill","terminal-window-line","test-tube-fill","test-tube-line","text","text-block","text-direction-l","text-direction-r","text-snippet","text-spacing","text-wrap","thermometer-fill","thermometer-line","threads-fill","threads-line","thumb-down-fill","thumb-down-line","thumb-up-fill","thumb-up-line","thunderstorms-fill","thunderstorms-line","ticket-2-fill","ticket-2-line","ticket-fill","ticket-line","tiktok-fill","tiktok-line","time-fill","time-line","time-zone-fill","time-zone-line","timeline-view","timer-2-fill","timer-2-line","timer-fill","timer-flash-fill","timer-flash-line","timer-line","todo-fill","todo-line","toggle-fill","toggle-line","token-swap-fill","token-swap-line","tools-fill","tools-line","tornado-fill","tornado-line","trademark-fill","trademark-line","traffic-light-fill","traffic-light-line","train-fill","train-line","train-wifi-fill","train-wifi-line","translate","translate-2","travesti-fill","travesti-line","treasure-map-fill","treasure-map-line","tree-fill","tree-line","trello-fill","trello-line","triangle-fill","triangle-line","trophy-fill","trophy-line","truck-fill","truck-line","tumblr-fill","tumblr-line","tv-2-fill","tv-2-line","tv-fill","tv-line","twitch-fill","twitch-line","twitter-fill","twitter-line","twitter-x-fill","twitter-x-line","typhoon-fill","typhoon-line","u-disk-fill","u-disk-line","ubuntu-fill","ubuntu-line","umbrella-fill","umbrella-line","underline","uninstall-fill","uninstall-line","unpin-fill","unpin-line","unsplash-fill","unsplash-line","upload-2-fill","upload-2-line","upload-cloud-2-fill","upload-cloud-2-line","upload-cloud-fill","upload-cloud-line","upload-fill","upload-line","usb-fill","usb-line","user-2-fill","user-2-line","user-3-fill","user-3-line","user-4-fill","user-4-line","user-5-fill","user-5-line","user-6-fill","user-6-line","user-add-fill","user-add-line","user-fill","user-follow-fill","user-follow-line","user-forbid-fill","user-forbid-line","user-heart-fill","user-heart-line","user-line","user-location-fill","user-location-line","user-received-2-fill","user-received-2-line","user-received-fill","user-received-line","user-search-fill","user-search-line","user-settings-fill","user-settings-line","user-shared-2-fill","user-shared-2-line","user-shared-fill","user-shared-line","user-smile-fill","user-smile-line","user-star-fill","user-star-line","user-unfollow-fill","user-unfollow-line","user-voice-fill","user-voice-line","verified-badge-fill","verified-badge-line","video-add-fill","video-add-line","video-chat-fill","video-chat-line","video-download-fill","video-download-line","video-fill","video-line","video-upload-fill","video-upload-line","vidicon-2-fill","vidicon-2-line","vidicon-fill","vidicon-line","vimeo-fill","vimeo-line","vip-crown-2-fill","vip-crown-2-line","vip-crown-fill","vip-crown-line","vip-diamond-fill","vip-diamond-line","vip-fill","vip-line","virus-fill","virus-line","visa-fill","visa-line","vk-fill","vk-line","voice-recognition-fill","voice-recognition-line","voiceprint-fill","voiceprint-line","volume-down-fill","volume-down-line","volume-mute-fill","volume-mute-line","volume-off-vibrate-fill","volume-off-vibrate-line","volume-up-fill","volume-up-line","volume-vibrate-fill","volume-vibrate-line","vuejs-fill","vuejs-line","walk-fill","walk-line","wallet-2-fill","wallet-2-line","wallet-3-fill","wallet-3-line","wallet-fill","wallet-line","water-flash-fill","water-flash-line","water-percent-fill","water-percent-line","webcam-fill","webcam-line","wechat-2-fill","wechat-2-line","wechat-channels-fill","wechat-channels-line","wechat-fill","wechat-line","wechat-pay-fill","wechat-pay-line","weibo-fill","weibo-line","whatsapp-fill","whatsapp-line","wheelchair-fill","wheelchair-line","wifi-fill","wifi-line","wifi-off-fill","wifi-off-line","window-2-fill","window-2-line","window-fill","window-line","windows-fill","windows-line","windy-fill","windy-line","wireless-charging-fill","wireless-charging-line","women-fill","women-line","wordpress-fill","wordpress-line","wubi-input","xbox-fill","xbox-line","xing-fill","xing-line","xrp-fill","xrp-line","xtz-fill","xtz-line","youtube-fill","youtube-line","yuque-fill","yuque-line","zcool-fill","zcool-line","zhihu-fill","zhihu-line","zoom-in-fill","zoom-in-line","zoom-out-fill","zoom-out-line","zzz-fill","zzz-line"]},{"prefix":"logos","info":{"name":"SVG Logos","total":1812,"author":{"name":"Gil Barbara","url":"https://github.com/gilbarbara/logos"},"license":{"title":"CC0","spdx":"CC0-1.0","url":"https://raw.githubusercontent.com/gilbarbara/logos/master/LICENSE.txt"},"samples":["angular-icon","firefox","google-drive"],"category":"Brands / Social","palette":true},"icons":["100tb","500px","6px","active-campaign","active-campaign-icon","admob","adobe-after-effects","adobe-animate","adobe-dreamweaver","adobe-illustrator","adobe-incopy","adobe-indesign","adobe-lightroom","adobe-photoshop","adobe-premiere","adobe-xd","adonisjs","adonisjs-icon","adroll","adyen","aerogear","aerospike","aerospike-icon","aha","ai","airbnb","airbnb-icon","airbrake","airflow","airflow-icon","airtable","aix","akamai","akka","alfresco","algolia","alpinejs","alpinejs-icon","altair","amazon-chime","amazon-connect","amd","amex","amex-digital","amp","amp-icon","ampersand","amplication","amplication-icon","amplitude","amplitude-icon","analog","android","android-icon","android-vertical","angellist","angular","angular-icon","ansible","ant-design","anthropic","anthropic-icon","apache","apache-camel","apache-cloudstack","apache-flink","apache-flink-icon","apache-spark","apache-superset","apache-superset-icon","api-ai","apiary","apigee","apitools","apollostack","apostrophe","appbase","appbaseio","appbaseio-icon","appcelerator","appcenter","appcenter-icon","appcircle","appcircle-icon","appcode","appdynamics","appdynamics-icon","appfog","apphub","appium","apple","apple-app-store","apple-pay","applitools","applitools-icon","appmaker","apportable","appsignal","appsignal-icon","apptentive","appveyor","appwrite","appwrite-icon","arangodb","arangodb-icon","arc","architect","architect-icon","archlinux","arduino","argo","argo-icon","arm","armory","armory-icon","asana","asana-icon","asciidoctor","assembla","assembla-icon","astro","astro-icon","astronomer","async-api","async-api-icon","atlassian","atom","atom-icon","atomic","atomic-icon","atomicojs","atomicojs-icon","aurelia","aurora","aurous","auth0","auth0-icon","authy","autocode","autoit","autoprefixer","ava","awesome","aws","aws-amplify","aws-api-gateway","aws-app-mesh","aws-appflow","aws-appsync","aws-athena","aws-aurora","aws-backup","aws-batch","aws-certificate-manager","aws-cloudformation","aws-cloudfront","aws-cloudsearch","aws-cloudtrail","aws-cloudwatch","aws-codebuild","aws-codecommit","aws-codedeploy","aws-codepipeline","aws-codestar","aws-cognito","aws-config","aws-documentdb","aws-dynamodb","aws-ec2","aws-ecs","aws-eks","aws-elastic-beanstalk","aws-elastic-cache","aws-elasticache","aws-elb","aws-eventbridge","aws-fargate","aws-glacier","aws-glue","aws-iam","aws-keyspaces","aws-kinesis","aws-kms","aws-lake-formation","aws-lambda","aws-lightsail","aws-mobilehub","aws-mq","aws-msk","aws-neptune","aws-open-search","aws-opsworks","aws-quicksight","aws-rds","aws-redshift","aws-route53","aws-s3","aws-secrets-manager","aws-ses","aws-shield","aws-sns","aws-sqs","aws-step-functions","aws-systems-manager","aws-timestream","aws-vpc","aws-waf","aws-xray","axios","azure","azure-icon","babel","backbone","backbone-icon","backerkit","baker-street","balena","bamboo","base","basecamp","basecamp-icon","basekit","baseline","bash","bash-icon","batch","beats","behance","bem","bem-2","bigpanda","bing","biomejs","bitballoon","bitbar","bitbucket","bitcoin","bitnami","bitrise","bitrise-icon","blender","blitzjs","blitzjs-icon","blocs","blogger","blossom","bluemix","blueprint","bluetooth","booqable","booqable-icon","bootstrap","bosun","botanalytics","bourbon","bower","bowtie","box","brackets","brainjs","branch","branch-icon","brandfolder","brandfolder-icon","brave","braze","braze-icon","broadcom","broadcom-icon","broccoli","brotli","browserify","browserify-icon","browserling","browserslist","browserstack","browsersync","brunch","bubble","bubble-icon","buck","buddy","buffer","bugherd","bugherd-icon","bugsee","bugsnag","bugsnag-icon","builder-io","builder-io-icon","buildkite","buildkite-icon","bulma","bun","bunny-net","bunny-net-icon","c","c-plusplus","c-sharp","cachet","caffe2","cakephp","cakephp-icon","calibre","calibre-icon","campaignmonitor","campaignmonitor-icon","campfire","canjs","capacitorjs","capacitorjs-icon","capistrano","carbide","cardano","cardano-icon","cassandra","celluloid","centos","centos-icon","certbot","ceylon","chai","chalk","changetip","chargebee","chargebee-icon","chartblocks","chef","chevereto","chroma","chromatic","chromatic-icon","chrome","chrome-web-store","cinder","circleci","cirrus","cirrus-ci","clickdeploy","clio-lang","clion","cljs","clojure","close","cloud9","cloudacademy","cloudacademy-icon","cloudant","cloudcraft","cloudera","cloudflare","cloudflare-icon","cloudflare-workers","cloudflare-workers-icon","cloudinary","cloudinary-icon","cloudlinux","clusterhq","cobalt","cockpit","cocoapods","coda","coda-icon","codacy","codebase","codebeat","codecademy","codeception","codeclimate","codeclimate-icon","codecov","codecov-icon","codefactor","codefactor-icon","codefund","codefund-icon","codeigniter","codeigniter-icon","codepen","codepen-icon","codepicnic","codepush","codersrank","codersrank-icon","coderwall","codesandbox","codesandbox-icon","codeschool","codesee","codesee-icon","codeship","codio","codium","codium-icon","codrops","coffeescript","commitizen","compass","component","componentkit","compose","compose-multiplatform","composer","conan-io","concourse","concrete5","concretecms","concretecms-icon","conda","confluence","consul","containership","contentful","convox","convox-icon","copyleft","copyleft-pirate","corda","cordova","coreos","coreos-icon","couchbase","couchdb","couchdb-icon","coursera","coveralls","coverity","cpanel","craft","craftcms","crashlytics","crateio","create-react-app","createjs","crittercism","cross-browser-testing","crossbrowsertesting","crossplane","crossplane-icon","crowdprocess","crucible","crystal","css-3","css-3-official","cssnext","cube","cube-icon","cucumber","curl","customerio","customerio-icon","cyclejs","cypress","cypress-icon","d3","dailydev","dailydev-icon","daisyui","danfo","dapulse","dart","dashlane","dashlane-icon","dat","data-station","database-labs","datadog","datadog-icon","datagrip","datasette","datasette-icon","dataspell","datocms","datocms-icon","dbt","dbt-icon","dcos","dcos-icon","debian","delicious","delicious-burger","delighted","delighted-icon","deno","dependabot","dependencyci","deploy","deployhq","deployhq-icon","deppbot","derby","descript","descript-icon","designernews","desk","dev","dev-icon","deviantart","deviantart-icon","dgraph","dgraph-icon","dialogflow","digital-ocean","digital-ocean-icon","dimer","dinersclub","discord","discord-icon","discourse","discourse-icon","discover","disqus","distelli","divshot","django","django-icon","dockbit","docker","docker-icon","doctrine","docusaurus","dojo","dojo-icon","dojo-toolkit","dolt","dotcloud","dotnet","doubleclick","dovetail","dovetail-icon","dreamfactory","dreamhost","dribbble","dribbble-icon","drift","drip","drizzle","drizzle-icon","drone","drone-icon","drools","drools-icon","dropbox","dropmark","dropzone","drupal","drupal-icon","duckduckgo","dynatrace","dynatrace-icon","dyndns","eager","ebanx","eclipse","eclipse-icon","ecma","edgedb","edgio","edgio-icon","editorconfig","effect","effect-icon","effector","egghead","elasticbox","elasticpath","elasticpath-icon","elasticsearch","electron","element","elemental-ui","elementary","eleventy","ello","elm","elm-classic","elo","emacs","emacs-classic","embedly","ember","ember-tomster","emmet","enact","engine-yard","engine-yard-icon","envato","envoy","envoy-icon","envoyer","envoyproxy","enyo","epsagon","epsagon-icon","eraser","eraser-icon","erlang","es6","esbuild","esdoc","eslint","eslint-old","eta","eta-icon","etcd","ethereum","ethereum-color","ethers","ethnio","eventbrite","eventbrite-icon","eventsentry","evergreen","evergreen-icon","expo","expo-icon","exponent","express","fabric","fabric-io","facebook","falcor","famous","fastapi","fastapi-icon","fastify","fastify-icon","fastlane","fastly","fauna","fauna-icon","feathersjs","fedora","fetch","ffmpeg","ffmpeg-icon","figma","firebase","firefox","flannel","flarum","flask","flat-ui","flattr","flattr-icon","fleep","flexible-gs","flickr","flickr-icon","flight","flocker","floodio","flow","flowxo","floydhub","flutter","flux","fluxxor","fly","fly-icon","flyjs","fogbugz","fogbugz-icon","fomo","fomo-icon","font-awesome","forest","forestadmin","forestadmin-icon","forever","formkeep","fortran","foundation","foundationdb","foundationdb-icon","framed","framer","framework7","framework7-icon","freebsd","freedcamp","freedcamp-icon","freedomdefined","fresh","frontapp","fsharp","fuchsia","galliumos","game-analytics","game-analytics-icon","ganache","ganache-icon","gatsby","gaugeio","geekbot","geetest","geetest-icon","get-satisfaction","getyourguide","ghost","giantswarm","gin","git","git-icon","gitboard","github","github-actions","github-copilot","github-icon","github-octocat","gitkraken","gitlab","gitter","gitup","glamorous","glamorous-icon","gleam","glimmerjs","glint","glitch","glitch-icon","gnome","gnome-icon","gnu","gnu-net","gnupg","gnupg-icon","go","gocd","godot","godot-icon","gohorse","goland","gomix","google","google-2014","google-360suite","google-admob","google-ads","google-adsense","google-adwords","google-analytics","google-bard","google-bard-icon","google-calendar","google-cloud","google-cloud-functions","google-cloud-platform","google-cloud-run","google-currents","google-data-studio","google-developers","google-developers-icon","google-domains","google-domains-icon","google-drive","google-fit","google-gemini","google-gmail","google-gsuite","google-home","google-icon","google-inbox","google-keep","google-maps","google-marketing-platform","google-meet","google-one","google-optimize","google-palm","google-pay","google-pay-icon","google-photos","google-play","google-play-console","google-play-console-icon","google-play-icon","google-plus","google-search-console","google-tag-manager","google-wallet","google-workspace","gopher","gordon","gradio","gradio-icon","gradle","grafana","grails","grammarly","grammarly-icon","grape","graphcool","graphene","graphql","gratipay","grav","gravatar","gravatar-icon","graylog","graylog-icon","greensock","greensock-icon","gridsome","gridsome-icon","grommet","groovehq","grove","growth-book","growth-book-icon","grpc","grunt","gulp","gunicorn","gunjs","gusto","gwt","hack","hacker-one","hadoop","haiku","haiku-icon","haml","hanami","handlebars","hapi","hardhat","hardhat-icon","harness","harness-icon","harrow","hashicorp","hashicorp-icon","hashnode","hashnode-icon","haskell","haskell-icon","hasura","hasura-icon","haxe","haxl","hbase","hcaptcha","hcaptcha-icon","headlessui","headlessui-icon","heap","heap-icon","helm","helpscout","helpscout-icon","hermes","heroku","heroku-icon","heroku-redis","heron","hexo","hhvm","hibernate","highcharts","hipchat","hipercard","hoa","homebrew","hono","hoodie","hookstate","hootsuite","hootsuite-icon","horizon","hosted-graphite","hostgator","hostgator-icon","hotjar","hotjar-icon","houndci","html-5","html5-boilerplate","httpie","httpie-icon","hubspot","hugging-face","hugging-face-icon","huggy","hugo","humongous","hyper","hyperapp","ibm","ieee","ietf","ifttt","imagemin","imba","imba-icon","immer","immer-icon","immutable","impala","importio","incident","incident-icon","infer","inferno","influxdb","influxdb-icon","ink","insomnia","instagram","instagram-icon","intel","intellij-idea","intercom","intercom-icon","internetexplorer","invision","invision-icon","io","ionic","ionic-icon","ios","iron","iron-icon","itsalive","itsalive-icon","jade","jamstack","jamstack-icon","jasmine","java","javascript","jcb","jekyll","jelastic","jelastic-icon","jenkins","jest","jetbrains","jetbrains-icon","jetbrains-space","jetbrains-space-icon","jfrog","jhipster","jhipster-icon","jira","joomla","jotai","jquery","jquery-mobile","jruby","jsbin","jscs","jsdelivr","jsdom","jsfiddle","json","json-ld","jspm","jss","juju","julia","jupyter","jwt","jwt-icon","kafka","kafka-icon","kaios","kallithea","karma","katalon","katalon-icon","kde","keen","kemal","keycdn","keycdn-icon","keydb","keydb-icon","keymetrics","keystonejs","khan-academy","khan-academy-icon","kibana","kickstarter","kickstarter-icon","kinto","kinto-icon","kinvey","kirby","kirby-icon","kissmetrics","kissmetrics-monochromatic","kitematic","kloudless","knex","knockout","koa","kong","kong-icon","kontena","kops","kore","koreio","kotlin","kotlin-icon","kraken","krakenjs","ktor","ktor-icon","kubernetes","kustomer","languagetool","laravel","lastfm","lateral","lateral-icon","launchdarkly","launchdarkly-icon","launchkit","launchrock","leaflet","leankit","leankit-icon","lerna","less","lets-cloud","letsencrypt","leveldb","lexical","lexical-icon","librato","liftweb","lighthouse","lightstep","lightstep-icon","lighttpd","linear","linear-icon","linkedin","linkedin-icon","linkerd","linode","linux-mint","linux-tux","lit","lit-icon","litmus","loader","locent","lodash","logentries","loggly","logmatic","logstash","lookback","looker","looker-icon","loom","loom-icon","loopback","loopback-icon","losant","lotus","lua","lucene","lucene-net","lumen","lynda","macos","macosx","madge","maestro","mageia","magento","magneto","mailchimp","mailchimp-freddie","maildeveloper","mailgun","mailgun-icon","mailjet","mailjet-icon","malinajs","mandrill","mandrill-shield","manifoldjs","manjaro","mantine","mantine-icon","mantl","manuscript","mapbox","mapbox-icon","maps-me","mapzen","mapzen-icon","mariadb","mariadb-icon","marionette","markdown","marko","marvel","mastercard","mastodon","mastodon-icon","material-ui","materializecss","matomo","matomo-icon","matplotlib","matplotlib-icon","matter","matter-icon","mattermost","mattermost-icon","mautic","mautic-icon","maven","maxcdn","mdn","mdx","meanio","medium","medium-icon","medusa","medusa-icon","meilisearch","memcached","memgraph","memsql","memsql-icon","mention","mercurial","mern","mesos","mesosphere","messenger","meta","meta-icon","metabase","metamask","metamask-icon","meteor","meteor-icon","micro","micro-icon","micro-python","microcosm","micron","micron-icon","microsoft","microsoft-azure","microsoft-edge","microsoft-icon","microsoft-onedrive","microsoft-power-bi","microsoft-teams","microsoft-windows","microsoft-windows-icon","mida","mida-icon","middleman","midjourney","milligram","million","million-icon","milvus","milvus-icon","mindsdb","mindsdb-icon","mint-lang","mio","mist","mistral-ai","mistral-ai-icon","mithril","mixmax","mixpanel","mlab","mobx","mocha","mockflow","mockflow-icon","modernizr","modulus","modx","modx-icon","moltin","moltin-icon","momentjs","monday","monday-icon","monero","mongodb","mongodb-icon","mongolab","mono","moon","mootools","morpheus","morpheus-icon","mozilla","mparticle","mparticle-icon","mps","mps-icon","msw","msw-icon","multipass","mysql","mysql-icon","myth","naiveui","namecheap","nanonets","nasm","nativescript","nats","nats-icon","neat","neo4j","neon","neon-icon","neonmetrics","neovim","nestjs","net","netbeans","netflix","netflix-icon","netlify","netlify-icon","netuitive","neverinstall","neverinstall-icon","new-relic","new-relic-icon","nextjs","nextjs-icon","nginx","ngrok","nhost","nhost-icon","nightwatch","nim-lang","nocodb","nodal","node-sass","nodebots","nodejitsu","nodejs","nodejs-icon","nodejs-icon-alt","nodemon","nodeos","nodewebkit","nomad","nomad-icon","notion","notion-icon","now","noysi","npm","npm-2","npm-icon","nuclide","numpy","nuodb","nuxt","nuxt-icon","nvidia","nvm","nx","oauth","observablehq","obsidian","obsidian-icon","ocaml","octodns","octopus-deploy","okta","okta-icon","olapic","olark","onesignal","opbeat","open-graph","open-zeppelin","open-zeppelin-icon","openai","openai-icon","openapi","openapi-icon","opencart","opencollective","opencv","openframeworks","opengl","openjs-foundation","openjs-foundation-icon","openlayers","opensearch","opensearch-icon","openshift","opensource","openstack","openstack-icon","opentelemetry","opentelemetry-icon","opera","opsee","opsgenie","opsmatic","optimizely","optimizely-icon","oracle","oreilly","origami","origin","oshw","osquery","otto","overloop","overloop-icon","p5js","packer","pagekit","pagekite","pagerduty","pagerduty-icon","panda","pandacss","pandacss-icon","pandas","pandas-icon","parcel","parcel-icon","parse","parsehub","partytown","partytown-icon","passbolt","passbolt-icon","passport","patreon","payload","paypal","peer5","pepperoni","percona","percy","percy-icon","perf-rocks","periscope","perl","phalcon","phoenix","phonegap","phonegap-bot","php","php-alt","phpstorm","picasa","pinecone","pinecone-icon","pingdom","pingy","pinia","pinterest","pipedream","pipedrive","pipefy","pivotal-tracker","pixate","pixelapse","pixijs","pkg","planetscale","planless","planless-icon","plasmic","plastic-scm","platformio","play","playwright","pluralsight","pluralsight-icon","pm2","pm2-icon","pnpm","pocket-base","podio","poeditor","polymer","positionly","postcss","postgraphile","postgresql","posthog","posthog-icon","postman","postman-icon","pouchdb","preact","precursor","prerender","prerender-icon","prestashop","presto","presto-icon","prettier","prisma","prismic","prismic-icon","processing","processwire","processwire-icon","productboard","productboard-icon","producteev","producthunt","progress","prometheus","promises","proofy","prospect","protoio","protonet","protractor","prott","pug","pulumi","pulumi-icon","pumpkindb","puppet","puppet-icon","puppeteer","puppy-linux","purescript","purescript-icon","pushbullet","pusher","pusher-icon","pwa","pycharm","pypi","pyscript","python","pytorch","pytorch-icon","pyup","q","qdrant","qdrant-icon","qlik","qordoba","qt","qualcomm","quarkus","quarkus-icon","quay","quobyte","quora","qwik","qwik-icon","r-lang","rabbitmq","rabbitmq-icon","rackspace","rackspace-icon","rails","ramda","raml","rancher","rancher-icon","randomcolor","raphael","raspberry-pi","rax","react","react-query","react-query-icon","react-router","react-spring","react-styleguidist","reactivex","realm","reapp","reasonml","reasonml-icon","recaptcha","recoil","recoil-icon","reddit","reddit-icon","redhat","redhat-icon","redis","redsmin","redspread","redux","redux-observable","redux-saga","redwoodjs","refactor","reindex","relay","release","remergr","remix","remix-icon","renovatebot","replay","replay-icon","replit","replit-icon","require","rescript","rescript-icon","rest","rest-li","rethinkdb","retool","retool-icon","riak","rider","riot","risingwave","risingwave-icon","rkt","rocket-chat","rocket-chat-icon","rocksdb","rocky-linux","rocky-linux-icon","rollbar","rollbar-icon","rollupjs","rome","rome-icon","ros","rsa","rsmq","rubocop","ruby","rubygems","rubymine","rum","run-above","runnable","runscope","rush","rush-icon","rust","rxdb","safari","sagui","sails","salesforce","saltstack","sameroom","samsung","sanity","sap","sass","sass-doc","saucelabs","scala","scaledrone","scaphold","scribd","scribd-icon","seaborn","seaborn-icon","section","section-icon","sectionio","segment","segment-icon","selenium","semantic-release","semantic-ui","semantic-web","semaphore","semaphoreci","sencha","sendgrid","sendgrid-icon","seneca","sensu","sensu-icon","sentry","sentry-icon","sequelize","serveless","serverless","sherlock","sherlock-icon","shields","shipit","shippable","shogun","shopify","shortcut","shortcut-icon","sidekick","sidekiq","sidekiq-icon","signal","sigstore","sigstore-icon","sinatra","singlestore","singlestore-icon","siphon","sitepoint","sk-hynix","skaffolder","sketch","sketchapp","skylight","skype","slack","slack-icon","slides","slim","smartling","smashingmagazine","snap-svg","snaplet","snaplet-icon","snowflake","snowflake-icon","snowpack","snupps","snyk","socket-io","solarwinds","solid","solidity","solidjs","solidjs-icon","solr","sonarcloud","sonarcloud-icon","sonarlint","sonarlint-icon","sonarqube","soundcloud","sourcegraph","sourcetrail","sourcetree","spark","sparkcentral","sparkpost","speakerdeck","speedcurve","spidermonkey","spidermonkey-icon","spinnaker","splunk","spotify","spotify-icon","spree","spring","spring-icon","sqldep","sqlite","square","squarespace","sst","sst-icon","stability-ai","stability-ai-icon","stackbit","stackbit-icon","stackblitz","stackblitz-icon","stackoverflow","stackoverflow-icon","stackshare","stacksmith","stash","stately","stately-icon","statuspage","stdlib","stdlib-icon","steam","steemit","stenciljs","stenciljs-icon","stepsize","stepsize-icon","steroids","stetho","stickermule","stigg","stigg-icon","stimulus","stimulus-icon","stitch","stoplight","stormpath","storyblocks","storyblocks-icon","storyblok","storyblok-icon","storybook","storybook-icon","strapi","strapi-icon","streamlit","strider","stripe","strongloop","struts","styleci","stylefmt","stylelint","stylis","stylus","stytch","sublimetext","sublimetext-icon","subversion","sugarss","supabase","supabase-icon","supergiant","supersonic","supertokens","supertokens-icon","supportkit","surge","surrealdb","surrealdb-icon","survicate","survicate-icon","suse","susy","svelte","svelte-icon","svelte-kit","svg","svgator","swagger","swc","swift","swiftype","swimm","swr","symfony","sysdig","sysdig-icon","t3","tableau","tableau-icon","taiga","tailwindcss","tailwindcss-icon","tapcart","tapcart-icon","targetprocess","taskade","taskade-icon","tastejs","tauri","tealium","teamcity","teamgrid","teamwork","teamwork-icon","tectonic","telegram","tensorflow","terminal","terraform","terraform-icon","terser","terser-icon","testcafe","testing-library","testlodge","testmunk","thimble","threejs","thymeleaf","thymeleaf-icon","tidal","tidal-icon","tiktok","tiktok-icon","titon","tnw","todoist","todoist-icon","todomvc","tomcat","toml","tor","tor-browser","torus","traackr","trac","trace","travis-ci","travis-ci-monochrome","treasuredata","treasuredata-icon","treehouse","treehouse-icon","trello","trpc","truffle","truffle-icon","tsmc","tsnode","tsu","tsuru","tumblr","tumblr-icon","tunein","tuple","turbopack","turbopack-icon","turborepo","turborepo-icon","turret","tutsplus","tutum","twilio","twilio-icon","twitch","twitter","typeform","typeform-icon","typeorm","typescript","typescript-icon","typescript-icon-round","typesense","typesense-icon","typo3","typo3-icon","ubuntu","udacity","udacity-icon","udemy","udemy-icon","uikit","umu","unbounce","unbounce-icon","undertow","unionpay","unitjs","unito","unito-icon","unity","unocss","unrealengine","unrealengine-icon","upcase","upstash","upstash-icon","upwork","user-testing","user-testing-icon","uservoice","uservoice-icon","uwsgi","v8","v8-ignition","v8-turbofan","vaadin","vaddy","vagrant","vagrant-icon","vault","vault-icon","vector","vector-timber","vercel","vercel-icon","verdaccio","verdaccio-icon","vernemq","victorops","vim","vimeo","vimeo-icon","vine","visa","visaelectron","visual-studio","visual-studio-code","visual-website-optimizer","vitejs","vitess","vitest","vivaldi","vivaldi-icon","vlang","void","vue","vuetifyjs","vueuse","vulkan","vultr","vultr-icon","vwo","w3c","waffle","waffle-icon","wagtail","wakatime","walkme","watchman","waypoint","waypoint-icon","wayscript","wayscript-icon","wearos","weave","web-dev","web-dev-icon","web-fundamentals","web3js","webassembly","webcomponents","webdriverio","webflow","webgpu","webhint","webhint-icon","webhooks","webix","webix-icon","webkit","webmin","webpack","webplatform","webrtc","websocket","webstorm","webtask","webtorrent","weebly","wercker","whalar","whalar-icon","whatsapp","whatsapp-icon","whatsapp-monochrome-icon","whatwg","wicket","wicket-icon","wifi","wildfly","windi-css","winglang","winglang-icon","wire","wiredtree","wix","wmr","woocommerce","woocommerce-icon","woopra","wordpress","wordpress-icon","wordpress-icon-alt","workboard","workos","workos-icon","workplace","workplace-icon","wpengine","wufoo","x-ray-goggles","xamarin","xampp","xata","xata-icon","xcart","xcode","xero","xplenty","xray-for-jira","xstate","xtend","xwiki","xwiki-icon","yahoo","yaml","yammer","yandex-ru","yarn","ycombinator","yeoman","yii","youtrack","youtube","youtube-icon","yugabyte","yugabyte-icon","zabbix","zapier","zapier-icon","zeit","zeit-icon","zend-framework","zendesk","zendesk-icon","zenhub","zenhub-icon","zeplin","zeroheight","zeroheight-icon","zest","zig","zigbee","zod","zoho","zoom","zoom-icon","zorin-os","zsh","zube","zulip","zulip-icon","zwave"]},{"prefix":"twemoji","info":{"name":"Twitter Emoji","total":3668,"author":{"name":"Twitter","url":"https://github.com/twitter/twemoji"},"license":{"title":"CC BY 4.0","spdx":"CC-BY-4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"samples":["anguished-face","duck","crossed-swords"],"height":36,"displayHeight":18,"category":"Emoji","palette":true},"icons":["1st-place-medal","2nd-place-medal","3rd-place-medal","a-button-blood-type","ab-button-blood-type","abacus","accordion","adhesive-bandage","admission-tickets","adult","adult-dark-skin-tone","adult-light-skin-tone","adult-medium-dark-skin-tone","adult-medium-light-skin-tone","adult-medium-skin-tone","aerial-tramway","airplane","airplane-arrival","airplane-departure","alarm-clock","alembic","alien","alien-monster","ambulance","american-football","amphora","anatomical-heart","anchor","anger-symbol","angry-face","angry-face-with-horns","anguished-face","ant","antenna-bars","anxious-face-with-sweat","aquarius","aries","articulated-lorry","artist","artist-dark-skin-tone","artist-light-skin-tone","artist-medium-dark-skin-tone","artist-medium-light-skin-tone","artist-medium-skin-tone","artist-palette","astonished-face","astronaut","astronaut-dark-skin-tone","astronaut-light-skin-tone","astronaut-medium-dark-skin-tone","astronaut-medium-light-skin-tone","astronaut-medium-skin-tone","atm-sign","atom-symbol","auto-rickshaw","automobile","avocado","axe","b-button-blood-type","baby","baby-angel","baby-angel-dark-skin-tone","baby-angel-light-skin-tone","baby-angel-medium-dark-skin-tone","baby-angel-medium-light-skin-tone","baby-angel-medium-skin-tone","baby-bottle","baby-chick","baby-dark-skin-tone","baby-light-skin-tone","baby-medium-dark-skin-tone","baby-medium-light-skin-tone","baby-medium-skin-tone","baby-symbol","back-arrow","backhand-index-pointing-down","backhand-index-pointing-down-dark-skin-tone","backhand-index-pointing-down-light-skin-tone","backhand-index-pointing-down-medium-dark-skin-tone","backhand-index-pointing-down-medium-light-skin-tone","backhand-index-pointing-down-medium-skin-tone","backhand-index-pointing-left","backhand-index-pointing-left-dark-skin-tone","backhand-index-pointing-left-light-skin-tone","backhand-index-pointing-left-medium-dark-skin-tone","backhand-index-pointing-left-medium-light-skin-tone","backhand-index-pointing-left-medium-skin-tone","backhand-index-pointing-right","backhand-index-pointing-right-dark-skin-tone","backhand-index-pointing-right-light-skin-tone","backhand-index-pointing-right-medium-dark-skin-tone","backhand-index-pointing-right-medium-light-skin-tone","backhand-index-pointing-right-medium-skin-tone","backhand-index-pointing-up","backhand-index-pointing-up-dark-skin-tone","backhand-index-pointing-up-light-skin-tone","backhand-index-pointing-up-medium-dark-skin-tone","backhand-index-pointing-up-medium-light-skin-tone","backhand-index-pointing-up-medium-skin-tone","backpack","bacon","badger","badminton","bagel","baggage-claim","baguette-bread","balance-scale","bald","ballet-shoes","balloon","ballot-box-with-ballot","banana","banjo","bank","bar-chart","barber-pole","baseball","basket","basketball","bat","bathtub","battery","beach-with-umbrella","beaming-face-with-smiling-eyes","beans","bear","bearded-person","bearded-person-dark-skin-tone","bearded-person-light-skin-tone","bearded-person-medium-dark-skin-tone","bearded-person-medium-light-skin-tone","bearded-person-medium-skin-tone","beating-heart","beaver","bed","beer-mug","beetle","bell","bell-pepper","bell-with-slash","bellhop-bell","bento-box","beverage-box","bicycle","bikini","billed-cap","biohazard","bird","birthday-cake","bison","biting-lip","black-cat","black-circle","black-flag","black-heart","black-large-square","black-medium-small-square","black-medium-square","black-nib","black-small-square","black-square-button","blossom","blowfish","blue-book","blue-circle","blue-heart","blue-square","blueberries","boar","bomb","bone","bookmark","bookmark-tabs","books","boomerang","bottle-with-popping-cork","bouquet","bow-and-arrow","bowl-with-spoon","bowling","boxing-glove","boy","boy-dark-skin-tone","boy-light-skin-tone","boy-medium-dark-skin-tone","boy-medium-light-skin-tone","boy-medium-skin-tone","brain","bread","breast-feeding","breast-feeding-dark-skin-tone","breast-feeding-light-skin-tone","breast-feeding-medium-dark-skin-tone","breast-feeding-medium-light-skin-tone","breast-feeding-medium-skin-tone","brick","bridge-at-night","briefcase","briefs","bright-button","broccoli","broken-heart","broom","brown-circle","brown-heart","brown-square","bubble-tea","bubbles","bucket","bug","building-construction","bullet-train","bullseye","burrito","bus","bus-stop","bust-in-silhouette","busts-in-silhouette","butter","butterfly","cactus","calendar","call-me-hand","call-me-hand-dark-skin-tone","call-me-hand-light-skin-tone","call-me-hand-medium-dark-skin-tone","call-me-hand-medium-light-skin-tone","call-me-hand-medium-skin-tone","camel","camera","camera-with-flash","camping","cancer","candle","candy","canned-food","canoe","capricorn","card-file-box","card-index","card-index-dividers","carousel-horse","carp-streamer","carpentry-saw","carrot","castle","cat","cat-face","cat-with-tears-of-joy","cat-with-wry-smile","chains","chair","chart-decreasing","chart-increasing","chart-increasing-with-yen","check-box-with-check","check-mark","check-mark-button","cheese-wedge","chequered-flag","cherries","cherry-blossom","chess-pawn","chestnut","chicken","child","child-dark-skin-tone","child-light-skin-tone","child-medium-dark-skin-tone","child-medium-light-skin-tone","child-medium-skin-tone","children-crossing","chipmunk","chocolate-bar","chopsticks","christmas-tree","church","cigarette","cinema","circled-m","circus-tent","cityscape","cityscape-at-dusk","cl-button","clamp","clapper-board","clapping-hands","clapping-hands-dark-skin-tone","clapping-hands-light-skin-tone","clapping-hands-medium-dark-skin-tone","clapping-hands-medium-light-skin-tone","clapping-hands-medium-skin-tone","classical-building","clinking-beer-mugs","clinking-glasses","clipboard","clockwise-vertical-arrows","closed-book","closed-mailbox-with-lowered-flag","closed-mailbox-with-raised-flag","closed-umbrella","cloud","cloud-with-lightning","cloud-with-lightning-and-rain","cloud-with-rain","cloud-with-snow","clown-face","club-suit","clutch-bag","coat","cockroach","cocktail-glass","coconut","coffin","coin","cold-face","collision","comet","compass","computer-disk","computer-mouse","confetti-ball","confounded-face","confused-face","construction","construction-worker","construction-worker-dark-skin-tone","construction-worker-light-skin-tone","construction-worker-medium-dark-skin-tone","construction-worker-medium-light-skin-tone","construction-worker-medium-skin-tone","control-knobs","convenience-store","cook","cook-dark-skin-tone","cook-light-skin-tone","cook-medium-dark-skin-tone","cook-medium-light-skin-tone","cook-medium-skin-tone","cooked-rice","cookie","cooking","cool-button","copyright","coral","couch-and-lamp","counterclockwise-arrows-button","couple-with-heart","couple-with-heart-dark-skin-tone","couple-with-heart-light-skin-tone","couple-with-heart-man-man","couple-with-heart-man-man-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-light-skin-tone","couple-with-heart-man-man-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-medium-dark-skin-tone","couple-with-heart-medium-light-skin-tone","couple-with-heart-medium-skin-tone","couple-with-heart-person-person-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man","couple-with-heart-woman-man-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman","couple-with-heart-woman-woman-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-light-skin-tone","cow","cow-face","cowboy-hat-face","crab","crayon","credit-card","crescent-moon","cricket","cricket-game","crocodile","croissant","cross-mark","cross-mark-button","crossed-fingers","crossed-fingers-dark-skin-tone","crossed-fingers-light-skin-tone","crossed-fingers-medium-dark-skin-tone","crossed-fingers-medium-light-skin-tone","crossed-fingers-medium-skin-tone","crossed-flags","crossed-swords","crown","crutch","crying-cat","crying-face","crystal-ball","cucumber","cup-with-straw","cupcake","curling-stone","curly-haired","curly-loop","currency-exchange","curry-rice","custard","customs","cut-of-meat","cyclone","dagger","dango","dark-skin-tone","dashing-away","deaf-man","deaf-man-dark-skin-tone","deaf-man-light-skin-tone","deaf-man-medium-dark-skin-tone","deaf-man-medium-light-skin-tone","deaf-man-medium-skin-tone","deaf-person","deaf-person-dark-skin-tone","deaf-person-light-skin-tone","deaf-person-medium-dark-skin-tone","deaf-person-medium-light-skin-tone","deaf-person-medium-skin-tone","deaf-woman","deaf-woman-dark-skin-tone","deaf-woman-light-skin-tone","deaf-woman-medium-dark-skin-tone","deaf-woman-medium-light-skin-tone","deaf-woman-medium-skin-tone","deciduous-tree","deer","delivery-truck","department-store","derelict-house","desert","desert-island","desktop-computer","detective","detective-dark-skin-tone","detective-light-skin-tone","detective-medium-dark-skin-tone","detective-medium-light-skin-tone","detective-medium-skin-tone","diamond-suit","diamond-with-a-dot","dim-button","disappointed-face","disguised-face","divide","diving-mask","diya-lamp","dizzy","dna","dodo","dog","dog-face","dollar-banknote","dolphin","door","dotted-line-face","dotted-six-pointed-star","double-curly-loop","double-exclamation-mark","doughnut","dove","down-arrow","down-left-arrow","down-right-arrow","downcast-face-with-sweat","downwards-button","dragon","dragon-face","dress","drooling-face","drop-of-blood","droplet","drum","duck","dumpling","dvd","e-mail","eagle","ear","ear-dark-skin-tone","ear-light-skin-tone","ear-medium-dark-skin-tone","ear-medium-light-skin-tone","ear-medium-skin-tone","ear-of-corn","ear-with-hearing-aid","ear-with-hearing-aid-dark-skin-tone","ear-with-hearing-aid-light-skin-tone","ear-with-hearing-aid-medium-dark-skin-tone","ear-with-hearing-aid-medium-light-skin-tone","ear-with-hearing-aid-medium-skin-tone","egg","eggplant","eight-oclock","eight-pointed-star","eight-spoked-asterisk","eight-thirty","eject-button","electric-plug","elephant","elevator","eleven-oclock","eleven-thirty","elf","elf-dark-skin-tone","elf-light-skin-tone","elf-medium-dark-skin-tone","elf-medium-light-skin-tone","elf-medium-skin-tone","empty-nest","end-arrow","enraged-face","envelope","envelope-with-arrow","euro-banknote","evergreen-tree","ewe","exclamation-question-mark","exploding-head","expressionless-face","eye","eye-in-speech-bubble","eyes","face-blowing-a-kiss","face-exhaling","face-holding-back-tears","face-in-clouds","face-savoring-food","face-screaming-in-fear","face-vomiting","face-with-crossed-out-eyes","face-with-diagonal-mouth","face-with-hand-over-mouth","face-with-head-bandage","face-with-medical-mask","face-with-monocle","face-with-open-eyes-and-hand-over-mouth","face-with-open-mouth","face-with-peeking-eye","face-with-raised-eyebrow","face-with-rolling-eyes","face-with-spiral-eyes","face-with-steam-from-nose","face-with-symbols-on-mouth","face-with-tears-of-joy","face-with-thermometer","face-with-tongue","face-without-mouth","factory","factory-worker","factory-worker-dark-skin-tone","factory-worker-light-skin-tone","factory-worker-medium-dark-skin-tone","factory-worker-medium-light-skin-tone","factory-worker-medium-skin-tone","fairy","fairy-dark-skin-tone","fairy-light-skin-tone","fairy-medium-dark-skin-tone","fairy-medium-light-skin-tone","fairy-medium-skin-tone","falafel","fallen-leaf","family","family-man-boy","family-man-boy-boy","family-man-girl","family-man-girl-boy","family-man-girl-girl","family-man-man-boy","family-man-man-boy-boy","family-man-man-girl","family-man-man-girl-boy","family-man-man-girl-girl","family-man-woman-boy","family-man-woman-boy-boy","family-man-woman-girl","family-man-woman-girl-boy","family-man-woman-girl-girl","family-woman-boy","family-woman-boy-boy","family-woman-girl","family-woman-girl-boy","family-woman-girl-girl","family-woman-woman-boy","family-woman-woman-boy-boy","family-woman-woman-girl","family-woman-woman-girl-boy","family-woman-woman-girl-girl","farmer","farmer-dark-skin-tone","farmer-light-skin-tone","farmer-medium-dark-skin-tone","farmer-medium-light-skin-tone","farmer-medium-skin-tone","fast-down-button","fast-forward-button","fast-reverse-button","fast-up-button","fax-machine","fearful-face","feather","female-sign","ferris-wheel","ferry","field-hockey","file-cabinet","file-folder","film-frames","film-projector","fire","fire-engine","fire-extinguisher","firecracker","firefighter","firefighter-dark-skin-tone","firefighter-light-skin-tone","firefighter-medium-dark-skin-tone","firefighter-medium-light-skin-tone","firefighter-medium-skin-tone","fireworks","first-quarter-moon","first-quarter-moon-face","fish","fish-cake-with-swirl","fishing-pole","five-oclock","five-thirty","flag-afghanistan","flag-aland-islands","flag-albania","flag-algeria","flag-american-samoa","flag-andorra","flag-angola","flag-anguilla","flag-antarctica","flag-antigua-and-barbuda","flag-argentina","flag-armenia","flag-aruba","flag-ascension-island","flag-australia","flag-austria","flag-azerbaijan","flag-bahamas","flag-bahrain","flag-bangladesh","flag-barbados","flag-belarus","flag-belgium","flag-belize","flag-benin","flag-bermuda","flag-bhutan","flag-bolivia","flag-bosnia-and-herzegovina","flag-botswana","flag-bouvet-island","flag-brazil","flag-british-indian-ocean-territory","flag-british-virgin-islands","flag-brunei","flag-bulgaria","flag-burkina-faso","flag-burundi","flag-cambodia","flag-cameroon","flag-canada","flag-canary-islands","flag-cape-verde","flag-caribbean-netherlands","flag-cayman-islands","flag-central-african-republic","flag-ceuta-and-melilla","flag-chad","flag-chile","flag-china","flag-christmas-island","flag-clipperton-island","flag-cocos-keeling-islands","flag-colombia","flag-comoros","flag-congo-brazzaville","flag-congo-kinshasa","flag-cook-islands","flag-costa-rica","flag-cote-divoire","flag-croatia","flag-cuba","flag-curacao","flag-cyprus","flag-czechia","flag-denmark","flag-diego-garcia","flag-djibouti","flag-dominica","flag-dominican-republic","flag-ecuador","flag-egypt","flag-el-salvador","flag-england","flag-equatorial-guinea","flag-eritrea","flag-estonia","flag-eswatini","flag-ethiopia","flag-european-union","flag-falkland-islands","flag-faroe-islands","flag-fiji","flag-finland","flag-for-flag-afghanistan","flag-for-flag-albania","flag-for-flag-algeria","flag-for-flag-american-samoa","flag-for-flag-andorra","flag-for-flag-angola","flag-for-flag-antigua-and-barbuda","flag-for-flag-argentina","flag-for-flag-aruba","flag-for-flag-ascension-island","flag-for-flag-australia","flag-for-flag-azerbaijan","flag-for-flag-bahamas","flag-for-flag-bangladesh","flag-for-flag-barbados","flag-for-flag-belarus","flag-for-flag-belize","flag-for-flag-bermuda","flag-for-flag-bolivia","flag-for-flag-bosnia-and-herzegovina","flag-for-flag-brazil","flag-for-flag-british-indian-ocean-territory","flag-for-flag-burkina-faso","flag-for-flag-burundi","flag-for-flag-canary-islands","flag-for-flag-cape-verde","flag-for-flag-caribbean-netherlands","flag-for-flag-cayman-islands","flag-for-flag-central-african-republic","flag-for-flag-ceuta-and-melilla","flag-for-flag-china","flag-for-flag-christmas-island","flag-for-flag-cocos-keeling-islands","flag-for-flag-comoros","flag-for-flag-cook-islands","flag-for-flag-costa-rica","flag-for-flag-croatia","flag-for-flag-cuba","flag-for-flag-cyprus","flag-for-flag-djibouti","flag-for-flag-dominica","flag-for-flag-dominican-republic","flag-for-flag-ecuador","flag-for-flag-egypt","flag-for-flag-el-salvador","flag-for-flag-equatorial-guinea","flag-for-flag-eswatini","flag-for-flag-ethiopia","flag-for-flag-european-union","flag-for-flag-falkland-islands","flag-for-flag-fiji","flag-for-flag-french-guiana","flag-for-flag-french-polynesia","flag-for-flag-french-southern-territories","flag-for-flag-ghana","flag-for-flag-gibraltar","flag-for-flag-greenland","flag-for-flag-grenada","flag-for-flag-guam","flag-for-flag-guatemala","flag-for-flag-guinea-bissau","flag-for-flag-guyana","flag-for-flag-haiti","flag-for-flag-honduras","flag-for-flag-hong-kong-sar-china","flag-for-flag-india","flag-for-flag-isle-of-man","flag-for-flag-israel","flag-for-flag-japan","flag-for-flag-jersey","flag-for-flag-jordan","flag-for-flag-kazakhstan","flag-for-flag-kenya","flag-for-flag-kiribati","flag-for-flag-kosovo","flag-for-flag-laos","flag-for-flag-lebanon","flag-for-flag-liberia","flag-for-flag-liechtenstein","flag-for-flag-malawi","flag-for-flag-malaysia","flag-for-flag-malta","flag-for-flag-marshall-islands","flag-for-flag-mauritania","flag-for-flag-mayotte","flag-for-flag-mexico","flag-for-flag-micronesia","flag-for-flag-moldova","flag-for-flag-montserrat","flag-for-flag-morocco","flag-for-flag-mozambique","flag-for-flag-namibia","flag-for-flag-nauru","flag-for-flag-nepal","flag-for-flag-new-caledonia","flag-for-flag-new-zealand","flag-for-flag-nicaragua","flag-for-flag-niger","flag-for-flag-niue","flag-for-flag-northern-mariana-islands","flag-for-flag-pakistan","flag-for-flag-palau","flag-for-flag-panama","flag-for-flag-papua-new-guinea","flag-for-flag-paraguay","flag-for-flag-philippines","flag-for-flag-pitcairn-islands","flag-for-flag-puerto-rico","flag-for-flag-qatar","flag-for-flag-reunion","flag-for-flag-rwanda","flag-for-flag-samoa","flag-for-flag-sao-tome-and-principe","flag-for-flag-saudi-arabia","flag-for-flag-seychelles","flag-for-flag-singapore","flag-for-flag-sint-maarten","flag-for-flag-slovenia","flag-for-flag-solomon-islands","flag-for-flag-south-georgia-and-south-sandwich-islands","flag-for-flag-south-korea","flag-for-flag-south-sudan","flag-for-flag-sri-lanka","flag-for-flag-st-barthelemy","flag-for-flag-st-helena","flag-for-flag-st-kitts-and-nevis","flag-for-flag-st-lucia","flag-for-flag-st-pierre-and-miquelon","flag-for-flag-st-vincent-and-grenadines","flag-for-flag-syria","flag-for-flag-taiwan","flag-for-flag-timor-leste","flag-for-flag-tokelau","flag-for-flag-tristan-da-cunha","flag-for-flag-tunisia","flag-for-flag-turkmenistan","flag-for-flag-tuvalu","flag-for-flag-uganda","flag-for-flag-united-kingdom","flag-for-flag-united-nations","flag-for-flag-united-states","flag-for-flag-uruguay","flag-for-flag-us-virgin-islands","flag-for-flag-vanuatu","flag-for-flag-vatican-city","flag-for-flag-venezuela","flag-for-flag-wallis-and-futuna","flag-for-flag-western-sahara","flag-for-flag-zimbabwe","flag-france","flag-french-guiana","flag-french-polynesia","flag-french-southern-territories","flag-gabon","flag-gambia","flag-georgia","flag-germany","flag-ghana","flag-gibraltar","flag-greece","flag-greenland","flag-grenada","flag-guadeloupe","flag-guam","flag-guatemala","flag-guernsey","flag-guinea","flag-guinea-bissau","flag-guyana","flag-haiti","flag-heard-and-mcdonald-islands","flag-honduras","flag-hong-kong-sar-china","flag-hungary","flag-iceland","flag-in-hole","flag-india","flag-indonesia","flag-iran","flag-iraq","flag-ireland","flag-isle-of-man","flag-israel","flag-italy","flag-jamaica","flag-japan","flag-jersey","flag-jordan","flag-kazakhstan","flag-kenya","flag-kiribati","flag-kosovo","flag-kuwait","flag-kyrgyzstan","flag-laos","flag-latvia","flag-lebanon","flag-lesotho","flag-liberia","flag-libya","flag-liechtenstein","flag-lithuania","flag-luxembourg","flag-macao-sar-china","flag-madagascar","flag-malawi","flag-malaysia","flag-maldives","flag-mali","flag-malta","flag-marshall-islands","flag-martinique","flag-mauritania","flag-mauritius","flag-mayotte","flag-mexico","flag-micronesia","flag-moldova","flag-monaco","flag-mongolia","flag-montenegro","flag-montserrat","flag-morocco","flag-mozambique","flag-myanmar-burma","flag-namibia","flag-nauru","flag-nepal","flag-netherlands","flag-new-caledonia","flag-new-zealand","flag-nicaragua","flag-niger","flag-nigeria","flag-niue","flag-norfolk-island","flag-north-korea","flag-north-macedonia","flag-northern-mariana-islands","flag-norway","flag-oman","flag-pakistan","flag-palau","flag-palestinian-territories","flag-panama","flag-papua-new-guinea","flag-paraguay","flag-peru","flag-philippines","flag-pitcairn-islands","flag-poland","flag-portugal","flag-puerto-rico","flag-qatar","flag-reunion","flag-romania","flag-russia","flag-rwanda","flag-samoa","flag-san-marino","flag-sao-tome-and-principe","flag-saudi-arabia","flag-scotland","flag-senegal","flag-serbia","flag-seychelles","flag-sierra-leone","flag-singapore","flag-sint-maarten","flag-slovakia","flag-slovenia","flag-solomon-islands","flag-somalia","flag-south-africa","flag-south-georgia-and-south-sandwich-islands","flag-south-korea","flag-south-sudan","flag-spain","flag-sri-lanka","flag-st-barthelemy","flag-st-helena","flag-st-kitts-and-nevis","flag-st-lucia","flag-st-martin","flag-st-pierre-and-miquelon","flag-st-vincent-and-grenadines","flag-sudan","flag-suriname","flag-svalbard-and-jan-mayen","flag-sweden","flag-switzerland","flag-syria","flag-taiwan","flag-tajikistan","flag-tanzania","flag-thailand","flag-timor-leste","flag-togo","flag-tokelau","flag-tonga","flag-trinidad-and-tobago","flag-tristan-da-cunha","flag-tunisia","flag-turkiye","flag-turkmenistan","flag-turks-and-caicos-islands","flag-tuvalu","flag-uganda","flag-ukraine","flag-united-arab-emirates","flag-united-kingdom","flag-united-nations","flag-united-states","flag-uruguay","flag-us-outlying-islands","flag-us-virgin-islands","flag-uzbekistan","flag-vanuatu","flag-vatican-city","flag-venezuela","flag-vietnam","flag-wales","flag-wallis-and-futuna","flag-western-sahara","flag-yemen","flag-zambia","flag-zimbabwe","flamingo","flashlight","flat-shoe","flatbread","fleur-de-lis","flexed-biceps","flexed-biceps-dark-skin-tone","flexed-biceps-light-skin-tone","flexed-biceps-medium-dark-skin-tone","flexed-biceps-medium-light-skin-tone","flexed-biceps-medium-skin-tone","floppy-disk","flower-playing-cards","flushed-face","fly","flying-disc","flying-saucer","fog","foggy","folded-hands","folded-hands-dark-skin-tone","folded-hands-light-skin-tone","folded-hands-medium-dark-skin-tone","folded-hands-medium-light-skin-tone","folded-hands-medium-skin-tone","fondue","foot","foot-dark-skin-tone","foot-light-skin-tone","foot-medium-dark-skin-tone","foot-medium-light-skin-tone","foot-medium-skin-tone","footprints","fork-and-knife","fork-and-knife-with-plate","fortune-cookie","fountain","fountain-pen","four-leaf-clover","four-oclock","four-thirty","fox","framed-picture","free-button","french-fries","fried-shrimp","frog","front-facing-baby-chick","frowning-face","frowning-face-with-open-mouth","fuel-pump","full-moon","full-moon-face","funeral-urn","game-die","garlic","gear","gem-stone","gemini","genie","ghost","giraffe","girl","girl-dark-skin-tone","girl-light-skin-tone","girl-medium-dark-skin-tone","girl-medium-light-skin-tone","girl-medium-skin-tone","glass-of-milk","glasses","globe-showing-americas","globe-showing-asia-australia","globe-showing-europe-africa","globe-with-meridians","gloves","glowing-star","goal-net","goat","goblin","goggles","gorilla","graduation-cap","grapes","green-apple","green-book","green-circle","green-heart","green-salad","green-square","grimacing-face","grinning-cat","grinning-cat-with-smiling-eyes","grinning-face","grinning-face-with-big-eyes","grinning-face-with-smiling-eyes","grinning-face-with-sweat","grinning-squinting-face","growing-heart","guard","guard-dark-skin-tone","guard-light-skin-tone","guard-medium-dark-skin-tone","guard-medium-light-skin-tone","guard-medium-skin-tone","guide-dog","guitar","hamburger","hammer","hammer-and-pick","hammer-and-wrench","hamsa","hamster","hand-with-fingers-splayed","hand-with-fingers-splayed-dark-skin-tone","hand-with-fingers-splayed-light-skin-tone","hand-with-fingers-splayed-medium-dark-skin-tone","hand-with-fingers-splayed-medium-light-skin-tone","hand-with-fingers-splayed-medium-skin-tone","hand-with-index-finger-and-thumb-crossed","hand-with-index-finger-and-thumb-crossed-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-skin-tone","handbag","handshake","handshake-dark-skin-tone","handshake-dark-skin-tone-light-skin-tone","handshake-dark-skin-tone-medium-dark-skin-tone","handshake-dark-skin-tone-medium-light-skin-tone","handshake-dark-skin-tone-medium-skin-tone","handshake-light-skin-tone","handshake-light-skin-tone-dark-skin-tone","handshake-light-skin-tone-medium-dark-skin-tone","handshake-light-skin-tone-medium-light-skin-tone","handshake-light-skin-tone-medium-skin-tone","handshake-medium-dark-skin-tone","handshake-medium-dark-skin-tone-dark-skin-tone","handshake-medium-dark-skin-tone-light-skin-tone","handshake-medium-dark-skin-tone-medium-light-skin-tone","handshake-medium-dark-skin-tone-medium-skin-tone","handshake-medium-light-skin-tone","handshake-medium-light-skin-tone-dark-skin-tone","handshake-medium-light-skin-tone-light-skin-tone","handshake-medium-light-skin-tone-medium-dark-skin-tone","handshake-medium-light-skin-tone-medium-skin-tone","handshake-medium-skin-tone","handshake-medium-skin-tone-dark-skin-tone","handshake-medium-skin-tone-light-skin-tone","handshake-medium-skin-tone-medium-dark-skin-tone","handshake-medium-skin-tone-medium-light-skin-tone","hatching-chick","headphone","headstone","health-worker","health-worker-dark-skin-tone","health-worker-light-skin-tone","health-worker-medium-dark-skin-tone","health-worker-medium-light-skin-tone","health-worker-medium-skin-tone","hear-no-evil-monkey","heart-decoration","heart-exclamation","heart-hands","heart-hands-dark-skin-tone","heart-hands-light-skin-tone","heart-hands-medium-dark-skin-tone","heart-hands-medium-light-skin-tone","heart-hands-medium-skin-tone","heart-on-fire","heart-suit","heart-with-arrow","heart-with-ribbon","heavy-dollar-sign","heavy-equals-sign","hedgehog","helicopter","herb","hibiscus","high-heeled-shoe","high-speed-train","high-voltage","hiking-boot","hindu-temple","hippopotamus","hole","hollow-red-circle","honey-pot","honeybee","hook","horizontal-traffic-light","horse","horse-face","horse-racing","horse-racing-dark-skin-tone","horse-racing-light-skin-tone","horse-racing-medium-dark-skin-tone","horse-racing-medium-light-skin-tone","horse-racing-medium-skin-tone","hospital","hot-beverage","hot-dog","hot-face","hot-pepper","hot-springs","hotel","hourglass-done","hourglass-not-done","house","house-with-garden","houses","hugging-face","hundred-points","hushed-face","hut","ice","ice-cream","ice-hockey","ice-skate","id-button","identification-card","inbox-tray","incoming-envelope","index-pointing-at-the-viewer","index-pointing-at-the-viewer-dark-skin-tone","index-pointing-at-the-viewer-light-skin-tone","index-pointing-at-the-viewer-medium-dark-skin-tone","index-pointing-at-the-viewer-medium-light-skin-tone","index-pointing-at-the-viewer-medium-skin-tone","index-pointing-up","index-pointing-up-dark-skin-tone","index-pointing-up-light-skin-tone","index-pointing-up-medium-dark-skin-tone","index-pointing-up-medium-light-skin-tone","index-pointing-up-medium-skin-tone","infinity","information","input-latin-letters","input-latin-lowercase","input-latin-uppercase","input-numbers","input-symbols","jack-o-lantern","japanese-acceptable-button","japanese-application-button","japanese-bargain-button","japanese-castle","japanese-congratulations-button","japanese-discount-button","japanese-dolls","japanese-free-of-charge-button","japanese-here-button","japanese-monthly-amount-button","japanese-no-vacancy-button","japanese-not-free-of-charge-button","japanese-open-for-business-button","japanese-passing-grade-button","japanese-post-office","japanese-prohibited-button","japanese-reserved-button","japanese-secret-button","japanese-service-charge-button","japanese-symbol-for-beginner","japanese-vacancy-button","jar","jeans","joker","joystick","judge","judge-dark-skin-tone","judge-light-skin-tone","judge-medium-dark-skin-tone","judge-medium-light-skin-tone","judge-medium-skin-tone","kaaba","kangaroo","key","keyboard","keycap-0","keycap-1","keycap-10","keycap-2","keycap-3","keycap-4","keycap-5","keycap-6","keycap-7","keycap-8","keycap-9","keycap-asterisk","keycap-pound","kick-scooter","kimono","kiss","kiss-dark-skin-tone","kiss-light-skin-tone","kiss-man-man","kiss-man-man-dark-skin-tone","kiss-man-man-dark-skin-tone-light-skin-tone","kiss-man-man-dark-skin-tone-medium-dark-skin-tone","kiss-man-man-dark-skin-tone-medium-light-skin-tone","kiss-man-man-dark-skin-tone-medium-skin-tone","kiss-man-man-light-skin-tone","kiss-man-man-light-skin-tone-dark-skin-tone","kiss-man-man-light-skin-tone-medium-dark-skin-tone","kiss-man-man-light-skin-tone-medium-light-skin-tone","kiss-man-man-light-skin-tone-medium-skin-tone","kiss-man-man-medium-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-skin-tone","kiss-man-man-medium-light-skin-tone","kiss-man-man-medium-light-skin-tone-dark-skin-tone","kiss-man-man-medium-light-skin-tone-light-skin-tone","kiss-man-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-light-skin-tone-medium-skin-tone","kiss-man-man-medium-skin-tone","kiss-man-man-medium-skin-tone-dark-skin-tone","kiss-man-man-medium-skin-tone-light-skin-tone","kiss-man-man-medium-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-skin-tone-medium-light-skin-tone","kiss-mark","kiss-medium-dark-skin-tone","kiss-medium-light-skin-tone","kiss-medium-skin-tone","kiss-person-person-dark-skin-tone-light-skin-tone","kiss-person-person-dark-skin-tone-medium-dark-skin-tone","kiss-person-person-dark-skin-tone-medium-light-skin-tone","kiss-person-person-dark-skin-tone-medium-skin-tone","kiss-person-person-light-skin-tone-dark-skin-tone","kiss-person-person-light-skin-tone-medium-dark-skin-tone","kiss-person-person-light-skin-tone-medium-light-skin-tone","kiss-person-person-light-skin-tone-medium-skin-tone","kiss-person-person-medium-dark-skin-tone-dark-skin-tone","kiss-person-person-medium-dark-skin-tone-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-skin-tone","kiss-person-person-medium-light-skin-tone-dark-skin-tone","kiss-person-person-medium-light-skin-tone-light-skin-tone","kiss-person-person-medium-light-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-light-skin-tone-medium-skin-tone","kiss-person-person-medium-skin-tone-dark-skin-tone","kiss-person-person-medium-skin-tone-light-skin-tone","kiss-person-person-medium-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-skin-tone-medium-light-skin-tone","kiss-woman-man","kiss-woman-man-dark-skin-tone","kiss-woman-man-dark-skin-tone-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-dark-skin-tone","kiss-woman-man-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-skin-tone","kiss-woman-man-light-skin-tone","kiss-woman-man-light-skin-tone-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-light-skin-tone","kiss-woman-man-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-skin-tone","kiss-woman-man-medium-light-skin-tone","kiss-woman-man-medium-light-skin-tone-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-light-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-skin-tone","kiss-woman-man-medium-skin-tone-dark-skin-tone","kiss-woman-man-medium-skin-tone-light-skin-tone","kiss-woman-man-medium-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-skin-tone-medium-light-skin-tone","kiss-woman-woman","kiss-woman-woman-dark-skin-tone","kiss-woman-woman-dark-skin-tone-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-dark-skin-tone","kiss-woman-woman-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-skin-tone","kiss-woman-woman-light-skin-tone","kiss-woman-woman-light-skin-tone-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-light-skin-tone","kiss-woman-woman-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-skin-tone","kiss-woman-woman-medium-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-skin-tone","kiss-woman-woman-medium-skin-tone-dark-skin-tone","kiss-woman-woman-medium-skin-tone-light-skin-tone","kiss-woman-woman-medium-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-skin-tone-medium-light-skin-tone","kissing-cat","kissing-face","kissing-face-with-closed-eyes","kissing-face-with-smiling-eyes","kitchen-knife","kite","kiwi-fruit","knocked-out-face","knot","koala","lab-coat","label","lacrosse","ladder","lady-beetle","laptop","large-blue-diamond","large-orange-diamond","last-quarter-moon","last-quarter-moon-face","last-track-button","latin-cross","leaf-fluttering-in-wind","leafy-green","ledger","left-arrow","left-arrow-curving-right","left-facing-fist","left-facing-fist-dark-skin-tone","left-facing-fist-light-skin-tone","left-facing-fist-medium-dark-skin-tone","left-facing-fist-medium-light-skin-tone","left-facing-fist-medium-skin-tone","left-luggage","left-right-arrow","left-speech-bubble","leftwards-hand","leftwards-hand-dark-skin-tone","leftwards-hand-light-skin-tone","leftwards-hand-medium-dark-skin-tone","leftwards-hand-medium-light-skin-tone","leftwards-hand-medium-skin-tone","leg","leg-dark-skin-tone","leg-light-skin-tone","leg-medium-dark-skin-tone","leg-medium-light-skin-tone","leg-medium-skin-tone","lemon","leo","leopard","letter-a","letter-b","letter-c","letter-d","letter-e","letter-f","letter-g","letter-h","letter-i","letter-j","letter-k","letter-l","letter-m","letter-n","letter-o","letter-p","letter-q","letter-r","letter-s","letter-t","letter-u","letter-v","letter-w","letter-x","letter-y","letter-z","level-slider","libra","light-bulb","light-rail","light-skin-tone","link","linked-paperclips","lion","lipstick","litter-in-bin-sign","lizard","llama","lobster","locked","locked-with-key","locked-with-pen","locomotive","lollipop","long-drum","lotion-bottle","lotus","loudly-crying-face","loudspeaker","love-hotel","love-letter","love-you-gesture","love-you-gesture-dark-skin-tone","love-you-gesture-light-skin-tone","love-you-gesture-medium-dark-skin-tone","love-you-gesture-medium-light-skin-tone","love-you-gesture-medium-skin-tone","low-battery","luggage","lungs","lying-face","mage","mage-dark-skin-tone","mage-light-skin-tone","mage-medium-dark-skin-tone","mage-medium-light-skin-tone","mage-medium-skin-tone","magic-wand","magnet","magnifying-glass-tilted-left","magnifying-glass-tilted-right","mahjong-red-dragon","male-sign","mammoth","man","man-and-woman-holding-hands","man-artist","man-artist-dark-skin-tone","man-artist-light-skin-tone","man-artist-medium-dark-skin-tone","man-artist-medium-light-skin-tone","man-artist-medium-skin-tone","man-astronaut","man-astronaut-dark-skin-tone","man-astronaut-light-skin-tone","man-astronaut-medium-dark-skin-tone","man-astronaut-medium-light-skin-tone","man-astronaut-medium-skin-tone","man-bald","man-beard","man-biking","man-biking-dark-skin-tone","man-biking-light-skin-tone","man-biking-medium-dark-skin-tone","man-biking-medium-light-skin-tone","man-biking-medium-skin-tone","man-blond-hair","man-bouncing-ball","man-bouncing-ball-dark-skin-tone","man-bouncing-ball-light-skin-tone","man-bouncing-ball-medium-dark-skin-tone","man-bouncing-ball-medium-light-skin-tone","man-bouncing-ball-medium-skin-tone","man-bowing","man-bowing-dark-skin-tone","man-bowing-light-skin-tone","man-bowing-medium-dark-skin-tone","man-bowing-medium-light-skin-tone","man-bowing-medium-skin-tone","man-cartwheeling","man-cartwheeling-dark-skin-tone","man-cartwheeling-light-skin-tone","man-cartwheeling-medium-dark-skin-tone","man-cartwheeling-medium-light-skin-tone","man-cartwheeling-medium-skin-tone","man-climbing","man-climbing-dark-skin-tone","man-climbing-light-skin-tone","man-climbing-medium-dark-skin-tone","man-climbing-medium-light-skin-tone","man-climbing-medium-skin-tone","man-construction-worker","man-construction-worker-dark-skin-tone","man-construction-worker-light-skin-tone","man-construction-worker-medium-dark-skin-tone","man-construction-worker-medium-light-skin-tone","man-construction-worker-medium-skin-tone","man-cook","man-cook-dark-skin-tone","man-cook-light-skin-tone","man-cook-medium-dark-skin-tone","man-cook-medium-light-skin-tone","man-cook-medium-skin-tone","man-curly-hair","man-dancing","man-dancing-dark-skin-tone","man-dancing-light-skin-tone","man-dancing-medium-dark-skin-tone","man-dancing-medium-light-skin-tone","man-dancing-medium-skin-tone","man-dark-skin-tone","man-dark-skin-tone-bald","man-dark-skin-tone-beard","man-dark-skin-tone-blond-hair","man-dark-skin-tone-curly-hair","man-dark-skin-tone-red-hair","man-dark-skin-tone-white-hair","man-detective","man-detective-dark-skin-tone","man-detective-light-skin-tone","man-detective-medium-dark-skin-tone","man-detective-medium-light-skin-tone","man-detective-medium-skin-tone","man-elf","man-elf-dark-skin-tone","man-elf-light-skin-tone","man-elf-medium-dark-skin-tone","man-elf-medium-light-skin-tone","man-elf-medium-skin-tone","man-facepalming","man-facepalming-dark-skin-tone","man-facepalming-light-skin-tone","man-facepalming-medium-dark-skin-tone","man-facepalming-medium-light-skin-tone","man-facepalming-medium-skin-tone","man-factory-worker","man-factory-worker-dark-skin-tone","man-factory-worker-light-skin-tone","man-factory-worker-medium-dark-skin-tone","man-factory-worker-medium-light-skin-tone","man-factory-worker-medium-skin-tone","man-fairy","man-fairy-dark-skin-tone","man-fairy-light-skin-tone","man-fairy-medium-dark-skin-tone","man-fairy-medium-light-skin-tone","man-fairy-medium-skin-tone","man-farmer","man-farmer-dark-skin-tone","man-farmer-light-skin-tone","man-farmer-medium-dark-skin-tone","man-farmer-medium-light-skin-tone","man-farmer-medium-skin-tone","man-feeding-baby","man-feeding-baby-dark-skin-tone","man-feeding-baby-light-skin-tone","man-feeding-baby-medium-dark-skin-tone","man-feeding-baby-medium-light-skin-tone","man-feeding-baby-medium-skin-tone","man-firefighter","man-firefighter-dark-skin-tone","man-firefighter-light-skin-tone","man-firefighter-medium-dark-skin-tone","man-firefighter-medium-light-skin-tone","man-firefighter-medium-skin-tone","man-frowning","man-frowning-dark-skin-tone","man-frowning-light-skin-tone","man-frowning-medium-dark-skin-tone","man-frowning-medium-light-skin-tone","man-frowning-medium-skin-tone","man-genie","man-gesturing-no","man-gesturing-no-dark-skin-tone","man-gesturing-no-light-skin-tone","man-gesturing-no-medium-dark-skin-tone","man-gesturing-no-medium-light-skin-tone","man-gesturing-no-medium-skin-tone","man-gesturing-ok","man-gesturing-ok-dark-skin-tone","man-gesturing-ok-light-skin-tone","man-gesturing-ok-medium-dark-skin-tone","man-gesturing-ok-medium-light-skin-tone","man-gesturing-ok-medium-skin-tone","man-getting-haircut","man-getting-haircut-dark-skin-tone","man-getting-haircut-light-skin-tone","man-getting-haircut-medium-dark-skin-tone","man-getting-haircut-medium-light-skin-tone","man-getting-haircut-medium-skin-tone","man-getting-massage","man-getting-massage-dark-skin-tone","man-getting-massage-light-skin-tone","man-getting-massage-medium-dark-skin-tone","man-getting-massage-medium-light-skin-tone","man-getting-massage-medium-skin-tone","man-golfing","man-golfing-dark-skin-tone","man-golfing-light-skin-tone","man-golfing-medium-dark-skin-tone","man-golfing-medium-light-skin-tone","man-golfing-medium-skin-tone","man-guard","man-guard-dark-skin-tone","man-guard-light-skin-tone","man-guard-medium-dark-skin-tone","man-guard-medium-light-skin-tone","man-guard-medium-skin-tone","man-health-worker","man-health-worker-dark-skin-tone","man-health-worker-light-skin-tone","man-health-worker-medium-dark-skin-tone","man-health-worker-medium-light-skin-tone","man-health-worker-medium-skin-tone","man-in-lotus-position","man-in-lotus-position-dark-skin-tone","man-in-lotus-position-light-skin-tone","man-in-lotus-position-medium-dark-skin-tone","man-in-lotus-position-medium-light-skin-tone","man-in-lotus-position-medium-skin-tone","man-in-manual-wheelchair","man-in-manual-wheelchair-dark-skin-tone","man-in-manual-wheelchair-light-skin-tone","man-in-manual-wheelchair-medium-dark-skin-tone","man-in-manual-wheelchair-medium-light-skin-tone","man-in-manual-wheelchair-medium-skin-tone","man-in-motorized-wheelchair","man-in-motorized-wheelchair-dark-skin-tone","man-in-motorized-wheelchair-light-skin-tone","man-in-motorized-wheelchair-medium-dark-skin-tone","man-in-motorized-wheelchair-medium-light-skin-tone","man-in-motorized-wheelchair-medium-skin-tone","man-in-steamy-room","man-in-steamy-room-dark-skin-tone","man-in-steamy-room-light-skin-tone","man-in-steamy-room-medium-dark-skin-tone","man-in-steamy-room-medium-light-skin-tone","man-in-steamy-room-medium-skin-tone","man-in-suit-levitating","man-in-suit-levitating-dark-skin-tone","man-in-suit-levitating-light-skin-tone","man-in-suit-levitating-medium-dark-skin-tone","man-in-suit-levitating-medium-light-skin-tone","man-in-suit-levitating-medium-skin-tone","man-in-tuxedo","man-in-tuxedo-dark-skin-tone","man-in-tuxedo-light-skin-tone","man-in-tuxedo-medium-dark-skin-tone","man-in-tuxedo-medium-light-skin-tone","man-in-tuxedo-medium-skin-tone","man-judge","man-judge-dark-skin-tone","man-judge-light-skin-tone","man-judge-medium-dark-skin-tone","man-judge-medium-light-skin-tone","man-judge-medium-skin-tone","man-juggling","man-juggling-dark-skin-tone","man-juggling-light-skin-tone","man-juggling-medium-dark-skin-tone","man-juggling-medium-light-skin-tone","man-juggling-medium-skin-tone","man-kneeling","man-kneeling-dark-skin-tone","man-kneeling-light-skin-tone","man-kneeling-medium-dark-skin-tone","man-kneeling-medium-light-skin-tone","man-kneeling-medium-skin-tone","man-lifting-weights","man-lifting-weights-dark-skin-tone","man-lifting-weights-light-skin-tone","man-lifting-weights-medium-dark-skin-tone","man-lifting-weights-medium-light-skin-tone","man-lifting-weights-medium-skin-tone","man-light-skin-tone","man-light-skin-tone-bald","man-light-skin-tone-beard","man-light-skin-tone-blond-hair","man-light-skin-tone-curly-hair","man-light-skin-tone-red-hair","man-light-skin-tone-white-hair","man-mage","man-mage-dark-skin-tone","man-mage-light-skin-tone","man-mage-medium-dark-skin-tone","man-mage-medium-light-skin-tone","man-mage-medium-skin-tone","man-mechanic","man-mechanic-dark-skin-tone","man-mechanic-light-skin-tone","man-mechanic-medium-dark-skin-tone","man-mechanic-medium-light-skin-tone","man-mechanic-medium-skin-tone","man-medium-dark-skin-tone","man-medium-dark-skin-tone-bald","man-medium-dark-skin-tone-beard","man-medium-dark-skin-tone-blond-hair","man-medium-dark-skin-tone-curly-hair","man-medium-dark-skin-tone-red-hair","man-medium-dark-skin-tone-white-hair","man-medium-light-skin-tone","man-medium-light-skin-tone-bald","man-medium-light-skin-tone-beard","man-medium-light-skin-tone-blond-hair","man-medium-light-skin-tone-curly-hair","man-medium-light-skin-tone-red-hair","man-medium-light-skin-tone-white-hair","man-medium-skin-tone","man-medium-skin-tone-bald","man-medium-skin-tone-beard","man-medium-skin-tone-blond-hair","man-medium-skin-tone-curly-hair","man-medium-skin-tone-red-hair","man-medium-skin-tone-white-hair","man-mountain-biking","man-mountain-biking-dark-skin-tone","man-mountain-biking-light-skin-tone","man-mountain-biking-medium-dark-skin-tone","man-mountain-biking-medium-light-skin-tone","man-mountain-biking-medium-skin-tone","man-office-worker","man-office-worker-dark-skin-tone","man-office-worker-light-skin-tone","man-office-worker-medium-dark-skin-tone","man-office-worker-medium-light-skin-tone","man-office-worker-medium-skin-tone","man-pilot","man-pilot-dark-skin-tone","man-pilot-light-skin-tone","man-pilot-medium-dark-skin-tone","man-pilot-medium-light-skin-tone","man-pilot-medium-skin-tone","man-playing-handball","man-playing-handball-dark-skin-tone","man-playing-handball-light-skin-tone","man-playing-handball-medium-dark-skin-tone","man-playing-handball-medium-light-skin-tone","man-playing-handball-medium-skin-tone","man-playing-water-polo","man-playing-water-polo-dark-skin-tone","man-playing-water-polo-light-skin-tone","man-playing-water-polo-medium-dark-skin-tone","man-playing-water-polo-medium-light-skin-tone","man-playing-water-polo-medium-skin-tone","man-police-officer","man-police-officer-dark-skin-tone","man-police-officer-light-skin-tone","man-police-officer-medium-dark-skin-tone","man-police-officer-medium-light-skin-tone","man-police-officer-medium-skin-tone","man-pouting","man-pouting-dark-skin-tone","man-pouting-light-skin-tone","man-pouting-medium-dark-skin-tone","man-pouting-medium-light-skin-tone","man-pouting-medium-skin-tone","man-raising-hand","man-raising-hand-dark-skin-tone","man-raising-hand-light-skin-tone","man-raising-hand-medium-dark-skin-tone","man-raising-hand-medium-light-skin-tone","man-raising-hand-medium-skin-tone","man-red-hair","man-rowing-boat","man-rowing-boat-dark-skin-tone","man-rowing-boat-light-skin-tone","man-rowing-boat-medium-dark-skin-tone","man-rowing-boat-medium-light-skin-tone","man-rowing-boat-medium-skin-tone","man-running","man-running-dark-skin-tone","man-running-light-skin-tone","man-running-medium-dark-skin-tone","man-running-medium-light-skin-tone","man-running-medium-skin-tone","man-scientist","man-scientist-dark-skin-tone","man-scientist-light-skin-tone","man-scientist-medium-dark-skin-tone","man-scientist-medium-light-skin-tone","man-scientist-medium-skin-tone","man-shrugging","man-shrugging-dark-skin-tone","man-shrugging-light-skin-tone","man-shrugging-medium-dark-skin-tone","man-shrugging-medium-light-skin-tone","man-shrugging-medium-skin-tone","man-singer","man-singer-dark-skin-tone","man-singer-light-skin-tone","man-singer-medium-dark-skin-tone","man-singer-medium-light-skin-tone","man-singer-medium-skin-tone","man-standing","man-standing-dark-skin-tone","man-standing-light-skin-tone","man-standing-medium-dark-skin-tone","man-standing-medium-light-skin-tone","man-standing-medium-skin-tone","man-student","man-student-dark-skin-tone","man-student-light-skin-tone","man-student-medium-dark-skin-tone","man-student-medium-light-skin-tone","man-student-medium-skin-tone","man-superhero","man-superhero-dark-skin-tone","man-superhero-light-skin-tone","man-superhero-medium-dark-skin-tone","man-superhero-medium-light-skin-tone","man-superhero-medium-skin-tone","man-supervillain","man-supervillain-dark-skin-tone","man-supervillain-light-skin-tone","man-supervillain-medium-dark-skin-tone","man-supervillain-medium-light-skin-tone","man-supervillain-medium-skin-tone","man-surfing","man-surfing-dark-skin-tone","man-surfing-light-skin-tone","man-surfing-medium-dark-skin-tone","man-surfing-medium-light-skin-tone","man-surfing-medium-skin-tone","man-swimming","man-swimming-dark-skin-tone","man-swimming-light-skin-tone","man-swimming-medium-dark-skin-tone","man-swimming-medium-light-skin-tone","man-swimming-medium-skin-tone","man-teacher","man-teacher-dark-skin-tone","man-teacher-light-skin-tone","man-teacher-medium-dark-skin-tone","man-teacher-medium-light-skin-tone","man-teacher-medium-skin-tone","man-technologist","man-technologist-dark-skin-tone","man-technologist-light-skin-tone","man-technologist-medium-dark-skin-tone","man-technologist-medium-light-skin-tone","man-technologist-medium-skin-tone","man-tipping-hand","man-tipping-hand-dark-skin-tone","man-tipping-hand-light-skin-tone","man-tipping-hand-medium-dark-skin-tone","man-tipping-hand-medium-light-skin-tone","man-tipping-hand-medium-skin-tone","man-vampire","man-vampire-dark-skin-tone","man-vampire-light-skin-tone","man-vampire-medium-dark-skin-tone","man-vampire-medium-light-skin-tone","man-vampire-medium-skin-tone","man-walking","man-walking-dark-skin-tone","man-walking-light-skin-tone","man-walking-medium-dark-skin-tone","man-walking-medium-light-skin-tone","man-walking-medium-skin-tone","man-wearing-turban","man-wearing-turban-dark-skin-tone","man-wearing-turban-light-skin-tone","man-wearing-turban-medium-dark-skin-tone","man-wearing-turban-medium-light-skin-tone","man-wearing-turban-medium-skin-tone","man-white-hair","man-with-veil","man-with-veil-dark-skin-tone","man-with-veil-light-skin-tone","man-with-veil-medium-dark-skin-tone","man-with-veil-medium-light-skin-tone","man-with-veil-medium-skin-tone","man-with-white-cane","man-with-white-cane-dark-skin-tone","man-with-white-cane-light-skin-tone","man-with-white-cane-medium-dark-skin-tone","man-with-white-cane-medium-light-skin-tone","man-with-white-cane-medium-skin-tone","man-zombie","mango","mans-shoe","mantelpiece-clock","manual-wheelchair","map-of-japan","maple-leaf","martial-arts-uniform","mate","meat-on-bone","mechanic","mechanic-dark-skin-tone","mechanic-light-skin-tone","mechanic-medium-dark-skin-tone","mechanic-medium-light-skin-tone","mechanic-medium-skin-tone","mechanical-arm","mechanical-leg","medical-symbol","medium-dark-skin-tone","medium-light-skin-tone","medium-skin-tone","megaphone","melon","melting-face","memo","men-holding-hands","men-holding-hands-dark-skin-tone","men-holding-hands-dark-skin-tone-light-skin-tone","men-holding-hands-dark-skin-tone-medium-dark-skin-tone","men-holding-hands-dark-skin-tone-medium-light-skin-tone","men-holding-hands-dark-skin-tone-medium-skin-tone","men-holding-hands-light-skin-tone","men-holding-hands-light-skin-tone-dark-skin-tone","men-holding-hands-light-skin-tone-medium-dark-skin-tone","men-holding-hands-light-skin-tone-medium-light-skin-tone","men-holding-hands-light-skin-tone-medium-skin-tone","men-holding-hands-medium-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-skin-tone","men-holding-hands-medium-light-skin-tone","men-holding-hands-medium-light-skin-tone-dark-skin-tone","men-holding-hands-medium-light-skin-tone-light-skin-tone","men-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-light-skin-tone-medium-skin-tone","men-holding-hands-medium-skin-tone","men-holding-hands-medium-skin-tone-dark-skin-tone","men-holding-hands-medium-skin-tone-light-skin-tone","men-holding-hands-medium-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-skin-tone-medium-light-skin-tone","men-with-bunny-ears","men-wrestling","mending-heart","menorah","mens-room","mermaid","mermaid-dark-skin-tone","mermaid-light-skin-tone","mermaid-medium-dark-skin-tone","mermaid-medium-light-skin-tone","mermaid-medium-skin-tone","merman","merman-dark-skin-tone","merman-light-skin-tone","merman-medium-dark-skin-tone","merman-medium-light-skin-tone","merman-medium-skin-tone","merperson","merperson-dark-skin-tone","merperson-light-skin-tone","merperson-medium-dark-skin-tone","merperson-medium-light-skin-tone","merperson-medium-skin-tone","metro","microbe","microphone","microscope","middle-finger","middle-finger-dark-skin-tone","middle-finger-light-skin-tone","middle-finger-medium-dark-skin-tone","middle-finger-medium-light-skin-tone","middle-finger-medium-skin-tone","military-helmet","military-medal","milky-way","minibus","minus","mirror","mirror-ball","moai","mobile-phone","mobile-phone-off","mobile-phone-with-arrow","money-bag","money-mouth-face","money-with-wings","monkey","monkey-face","monorail","moon-cake","moon-viewing-ceremony","mosque","mosquito","motor-boat","motor-scooter","motorcycle","motorized-wheelchair","motorway","mount-fuji","mountain","mountain-cableway","mountain-railway","mouse","mouse-face","mouse-trap","mouth","movie-camera","mrs-claus","mrs-claus-dark-skin-tone","mrs-claus-light-skin-tone","mrs-claus-medium-dark-skin-tone","mrs-claus-medium-light-skin-tone","mrs-claus-medium-skin-tone","multiply","mushroom","musical-keyboard","musical-note","musical-notes","musical-score","muted-speaker","mx-claus","mx-claus-dark-skin-tone","mx-claus-light-skin-tone","mx-claus-medium-dark-skin-tone","mx-claus-medium-light-skin-tone","mx-claus-medium-skin-tone","nail-polish","nail-polish-dark-skin-tone","nail-polish-light-skin-tone","nail-polish-medium-dark-skin-tone","nail-polish-medium-light-skin-tone","nail-polish-medium-skin-tone","name-badge","national-park","nauseated-face","nazar-amulet","necktie","nerd-face","nest-with-eggs","nesting-dolls","neutral-face","new-button","new-moon","new-moon-face","newspaper","next-track-button","ng-button","night-with-stars","nine-oclock","nine-thirty","ninja","ninja-dark-skin-tone","ninja-light-skin-tone","ninja-medium-dark-skin-tone","ninja-medium-light-skin-tone","ninja-medium-skin-tone","no-bicycles","no-entry","no-littering","no-mobile-phones","no-one-under-eighteen","no-pedestrians","no-smoking","non-potable-water","nose","nose-dark-skin-tone","nose-light-skin-tone","nose-medium-dark-skin-tone","nose-medium-light-skin-tone","nose-medium-skin-tone","notebook","notebook-with-decorative-cover","nut-and-bolt","o-button-blood-type","octopus","oden","office-building","office-worker","office-worker-dark-skin-tone","office-worker-light-skin-tone","office-worker-medium-dark-skin-tone","office-worker-medium-light-skin-tone","office-worker-medium-skin-tone","ogre","oil-drum","ok-button","ok-hand","ok-hand-dark-skin-tone","ok-hand-light-skin-tone","ok-hand-medium-dark-skin-tone","ok-hand-medium-light-skin-tone","ok-hand-medium-skin-tone","old-key","old-man","old-man-dark-skin-tone","old-man-light-skin-tone","old-man-medium-dark-skin-tone","old-man-medium-light-skin-tone","old-man-medium-skin-tone","old-woman","old-woman-dark-skin-tone","old-woman-light-skin-tone","old-woman-medium-dark-skin-tone","old-woman-medium-light-skin-tone","old-woman-medium-skin-tone","older-adult","older-adult-dark-skin-tone","older-adult-light-skin-tone","older-adult-medium-dark-skin-tone","older-adult-medium-light-skin-tone","older-adult-medium-skin-tone","older-person","older-person-dark-skin-tone","older-person-light-skin-tone","older-person-medium-dark-skin-tone","older-person-medium-light-skin-tone","older-person-medium-skin-tone","olive","om","on-exclamation-arrow","oncoming-automobile","oncoming-bus","oncoming-fist","oncoming-fist-dark-skin-tone","oncoming-fist-light-skin-tone","oncoming-fist-medium-dark-skin-tone","oncoming-fist-medium-light-skin-tone","oncoming-fist-medium-skin-tone","oncoming-police-car","oncoming-taxi","one-oclock","one-piece-swimsuit","one-thirty","onion","open-book","open-file-folder","open-hands","open-hands-dark-skin-tone","open-hands-light-skin-tone","open-hands-medium-dark-skin-tone","open-hands-medium-light-skin-tone","open-hands-medium-skin-tone","open-mailbox-with-lowered-flag","open-mailbox-with-raised-flag","ophiuchus","optical-disk","orange-book","orange-circle","orange-heart","orange-square","orangutan","orthodox-cross","otter","outbox-tray","owl","ox","oyster","p-button","package","page-facing-up","page-with-curl","pager","paintbrush","palm-down-hand","palm-down-hand-dark-skin-tone","palm-down-hand-light-skin-tone","palm-down-hand-medium-dark-skin-tone","palm-down-hand-medium-light-skin-tone","palm-down-hand-medium-skin-tone","palm-tree","palm-up-hand","palm-up-hand-dark-skin-tone","palm-up-hand-light-skin-tone","palm-up-hand-medium-dark-skin-tone","palm-up-hand-medium-light-skin-tone","palm-up-hand-medium-skin-tone","palms-up-together","palms-up-together-dark-skin-tone","palms-up-together-light-skin-tone","palms-up-together-medium-dark-skin-tone","palms-up-together-medium-light-skin-tone","palms-up-together-medium-skin-tone","pancakes","panda","paperclip","parachute","parrot","part-alternation-mark","party-popper","partying-face","passenger-ship","passport-control","pause-button","paw-prints","peace-symbol","peach","peacock","peanuts","pear","pen","pencil","penguin","pensive-face","people-holding-hands","people-holding-hands-dark-skin-tone","people-holding-hands-dark-skin-tone-light-skin-tone","people-holding-hands-dark-skin-tone-medium-dark-skin-tone","people-holding-hands-dark-skin-tone-medium-light-skin-tone","people-holding-hands-dark-skin-tone-medium-skin-tone","people-holding-hands-light-skin-tone","people-holding-hands-light-skin-tone-dark-skin-tone","people-holding-hands-light-skin-tone-medium-dark-skin-tone","people-holding-hands-light-skin-tone-medium-light-skin-tone","people-holding-hands-light-skin-tone-medium-skin-tone","people-holding-hands-medium-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-skin-tone","people-holding-hands-medium-light-skin-tone","people-holding-hands-medium-light-skin-tone-dark-skin-tone","people-holding-hands-medium-light-skin-tone-light-skin-tone","people-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-light-skin-tone-medium-skin-tone","people-holding-hands-medium-skin-tone","people-holding-hands-medium-skin-tone-dark-skin-tone","people-holding-hands-medium-skin-tone-light-skin-tone","people-holding-hands-medium-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-skin-tone-medium-light-skin-tone","people-hugging","people-with-bunny-ears","people-wrestling","performing-arts","persevering-face","person","person-bald","person-beard","person-biking","person-biking-dark-skin-tone","person-biking-light-skin-tone","person-biking-medium-dark-skin-tone","person-biking-medium-light-skin-tone","person-biking-medium-skin-tone","person-blond-hair","person-bouncing-ball","person-bouncing-ball-dark-skin-tone","person-bouncing-ball-light-skin-tone","person-bouncing-ball-medium-dark-skin-tone","person-bouncing-ball-medium-light-skin-tone","person-bouncing-ball-medium-skin-tone","person-bowing","person-bowing-dark-skin-tone","person-bowing-light-skin-tone","person-bowing-medium-dark-skin-tone","person-bowing-medium-light-skin-tone","person-bowing-medium-skin-tone","person-cartwheeling","person-cartwheeling-dark-skin-tone","person-cartwheeling-light-skin-tone","person-cartwheeling-medium-dark-skin-tone","person-cartwheeling-medium-light-skin-tone","person-cartwheeling-medium-skin-tone","person-climbing","person-climbing-dark-skin-tone","person-climbing-light-skin-tone","person-climbing-medium-dark-skin-tone","person-climbing-medium-light-skin-tone","person-climbing-medium-skin-tone","person-curly-hair","person-dark-skin-tone","person-dark-skin-tone-bald","person-dark-skin-tone-beard","person-dark-skin-tone-blond-hair","person-dark-skin-tone-curly-hair","person-dark-skin-tone-red-hair","person-dark-skin-tone-white-hair","person-facepalming","person-facepalming-dark-skin-tone","person-facepalming-light-skin-tone","person-facepalming-medium-dark-skin-tone","person-facepalming-medium-light-skin-tone","person-facepalming-medium-skin-tone","person-feeding-baby","person-feeding-baby-dark-skin-tone","person-feeding-baby-light-skin-tone","person-feeding-baby-medium-dark-skin-tone","person-feeding-baby-medium-light-skin-tone","person-feeding-baby-medium-skin-tone","person-fencing","person-frowning","person-frowning-dark-skin-tone","person-frowning-light-skin-tone","person-frowning-medium-dark-skin-tone","person-frowning-medium-light-skin-tone","person-frowning-medium-skin-tone","person-gesturing-no","person-gesturing-no-dark-skin-tone","person-gesturing-no-light-skin-tone","person-gesturing-no-medium-dark-skin-tone","person-gesturing-no-medium-light-skin-tone","person-gesturing-no-medium-skin-tone","person-gesturing-ok","person-gesturing-ok-dark-skin-tone","person-gesturing-ok-light-skin-tone","person-gesturing-ok-medium-dark-skin-tone","person-gesturing-ok-medium-light-skin-tone","person-gesturing-ok-medium-skin-tone","person-getting-haircut","person-getting-haircut-dark-skin-tone","person-getting-haircut-light-skin-tone","person-getting-haircut-medium-dark-skin-tone","person-getting-haircut-medium-light-skin-tone","person-getting-haircut-medium-skin-tone","person-getting-massage","person-getting-massage-dark-skin-tone","person-getting-massage-light-skin-tone","person-getting-massage-medium-dark-skin-tone","person-getting-massage-medium-light-skin-tone","person-getting-massage-medium-skin-tone","person-golfing","person-golfing-dark-skin-tone","person-golfing-light-skin-tone","person-golfing-medium-dark-skin-tone","person-golfing-medium-light-skin-tone","person-golfing-medium-skin-tone","person-in-bed","person-in-bed-dark-skin-tone","person-in-bed-light-skin-tone","person-in-bed-medium-dark-skin-tone","person-in-bed-medium-light-skin-tone","person-in-bed-medium-skin-tone","person-in-lotus-position","person-in-lotus-position-dark-skin-tone","person-in-lotus-position-light-skin-tone","person-in-lotus-position-medium-dark-skin-tone","person-in-lotus-position-medium-light-skin-tone","person-in-lotus-position-medium-skin-tone","person-in-manual-wheelchair","person-in-manual-wheelchair-dark-skin-tone","person-in-manual-wheelchair-light-skin-tone","person-in-manual-wheelchair-medium-dark-skin-tone","person-in-manual-wheelchair-medium-light-skin-tone","person-in-manual-wheelchair-medium-skin-tone","person-in-motorized-wheelchair","person-in-motorized-wheelchair-dark-skin-tone","person-in-motorized-wheelchair-light-skin-tone","person-in-motorized-wheelchair-medium-dark-skin-tone","person-in-motorized-wheelchair-medium-light-skin-tone","person-in-motorized-wheelchair-medium-skin-tone","person-in-steamy-room","person-in-steamy-room-dark-skin-tone","person-in-steamy-room-light-skin-tone","person-in-steamy-room-medium-dark-skin-tone","person-in-steamy-room-medium-light-skin-tone","person-in-steamy-room-medium-skin-tone","person-in-suit-levitating","person-in-suit-levitating-dark-skin-tone","person-in-suit-levitating-light-skin-tone","person-in-suit-levitating-medium-dark-skin-tone","person-in-suit-levitating-medium-light-skin-tone","person-in-suit-levitating-medium-skin-tone","person-in-tuxedo","person-in-tuxedo-dark-skin-tone","person-in-tuxedo-light-skin-tone","person-in-tuxedo-medium-dark-skin-tone","person-in-tuxedo-medium-light-skin-tone","person-in-tuxedo-medium-skin-tone","person-juggling","person-juggling-dark-skin-tone","person-juggling-light-skin-tone","person-juggling-medium-dark-skin-tone","person-juggling-medium-light-skin-tone","person-juggling-medium-skin-tone","person-kneeling","person-kneeling-dark-skin-tone","person-kneeling-light-skin-tone","person-kneeling-medium-dark-skin-tone","person-kneeling-medium-light-skin-tone","person-kneeling-medium-skin-tone","person-lifting-weights","person-lifting-weights-dark-skin-tone","person-lifting-weights-light-skin-tone","person-lifting-weights-medium-dark-skin-tone","person-lifting-weights-medium-light-skin-tone","person-lifting-weights-medium-skin-tone","person-light-skin-tone","person-light-skin-tone-bald","person-light-skin-tone-beard","person-light-skin-tone-blond-hair","person-light-skin-tone-curly-hair","person-light-skin-tone-red-hair","person-light-skin-tone-white-hair","person-medium-dark-skin-tone","person-medium-dark-skin-tone-bald","person-medium-dark-skin-tone-beard","person-medium-dark-skin-tone-blond-hair","person-medium-dark-skin-tone-curly-hair","person-medium-dark-skin-tone-red-hair","person-medium-dark-skin-tone-white-hair","person-medium-light-skin-tone","person-medium-light-skin-tone-bald","person-medium-light-skin-tone-beard","person-medium-light-skin-tone-blond-hair","person-medium-light-skin-tone-curly-hair","person-medium-light-skin-tone-red-hair","person-medium-light-skin-tone-white-hair","person-medium-skin-tone","person-medium-skin-tone-bald","person-medium-skin-tone-beard","person-medium-skin-tone-blond-hair","person-medium-skin-tone-curly-hair","person-medium-skin-tone-red-hair","person-medium-skin-tone-white-hair","person-mountain-biking","person-mountain-biking-dark-skin-tone","person-mountain-biking-light-skin-tone","person-mountain-biking-medium-dark-skin-tone","person-mountain-biking-medium-light-skin-tone","person-mountain-biking-medium-skin-tone","person-playing-handball","person-playing-handball-dark-skin-tone","person-playing-handball-light-skin-tone","person-playing-handball-medium-dark-skin-tone","person-playing-handball-medium-light-skin-tone","person-playing-handball-medium-skin-tone","person-playing-water-polo","person-playing-water-polo-dark-skin-tone","person-playing-water-polo-light-skin-tone","person-playing-water-polo-medium-dark-skin-tone","person-playing-water-polo-medium-light-skin-tone","person-playing-water-polo-medium-skin-tone","person-pouting","person-pouting-dark-skin-tone","person-pouting-light-skin-tone","person-pouting-medium-dark-skin-tone","person-pouting-medium-light-skin-tone","person-pouting-medium-skin-tone","person-raising-hand","person-raising-hand-dark-skin-tone","person-raising-hand-light-skin-tone","person-raising-hand-medium-dark-skin-tone","person-raising-hand-medium-light-skin-tone","person-raising-hand-medium-skin-tone","person-red-hair","person-rowing-boat","person-rowing-boat-dark-skin-tone","person-rowing-boat-light-skin-tone","person-rowing-boat-medium-dark-skin-tone","person-rowing-boat-medium-light-skin-tone","person-rowing-boat-medium-skin-tone","person-running","person-running-dark-skin-tone","person-running-light-skin-tone","person-running-medium-dark-skin-tone","person-running-medium-light-skin-tone","person-running-medium-skin-tone","person-shrugging","person-shrugging-dark-skin-tone","person-shrugging-light-skin-tone","person-shrugging-medium-dark-skin-tone","person-shrugging-medium-light-skin-tone","person-shrugging-medium-skin-tone","person-standing","person-standing-dark-skin-tone","person-standing-light-skin-tone","person-standing-medium-dark-skin-tone","person-standing-medium-light-skin-tone","person-standing-medium-skin-tone","person-surfing","person-surfing-dark-skin-tone","person-surfing-light-skin-tone","person-surfing-medium-dark-skin-tone","person-surfing-medium-light-skin-tone","person-surfing-medium-skin-tone","person-swimming","person-swimming-dark-skin-tone","person-swimming-light-skin-tone","person-swimming-medium-dark-skin-tone","person-swimming-medium-light-skin-tone","person-swimming-medium-skin-tone","person-taking-bath","person-taking-bath-dark-skin-tone","person-taking-bath-light-skin-tone","person-taking-bath-medium-dark-skin-tone","person-taking-bath-medium-light-skin-tone","person-taking-bath-medium-skin-tone","person-tipping-hand","person-tipping-hand-dark-skin-tone","person-tipping-hand-light-skin-tone","person-tipping-hand-medium-dark-skin-tone","person-tipping-hand-medium-light-skin-tone","person-tipping-hand-medium-skin-tone","person-walking","person-walking-dark-skin-tone","person-walking-light-skin-tone","person-walking-medium-dark-skin-tone","person-walking-medium-light-skin-tone","person-walking-medium-skin-tone","person-wearing-turban","person-wearing-turban-dark-skin-tone","person-wearing-turban-light-skin-tone","person-wearing-turban-medium-dark-skin-tone","person-wearing-turban-medium-light-skin-tone","person-wearing-turban-medium-skin-tone","person-white-hair","person-with-crown","person-with-crown-dark-skin-tone","person-with-crown-light-skin-tone","person-with-crown-medium-dark-skin-tone","person-with-crown-medium-light-skin-tone","person-with-crown-medium-skin-tone","person-with-skullcap","person-with-skullcap-dark-skin-tone","person-with-skullcap-light-skin-tone","person-with-skullcap-medium-dark-skin-tone","person-with-skullcap-medium-light-skin-tone","person-with-skullcap-medium-skin-tone","person-with-veil","person-with-veil-dark-skin-tone","person-with-veil-light-skin-tone","person-with-veil-medium-dark-skin-tone","person-with-veil-medium-light-skin-tone","person-with-veil-medium-skin-tone","person-with-white-cane","person-with-white-cane-dark-skin-tone","person-with-white-cane-light-skin-tone","person-with-white-cane-medium-dark-skin-tone","person-with-white-cane-medium-light-skin-tone","person-with-white-cane-medium-skin-tone","petri-dish","pick","pickup-truck","pie","pig","pig-face","pig-nose","pile-of-poo","pill","pilot","pilot-dark-skin-tone","pilot-light-skin-tone","pilot-medium-dark-skin-tone","pilot-medium-light-skin-tone","pilot-medium-skin-tone","pinata","pinched-fingers","pinched-fingers-dark-skin-tone","pinched-fingers-light-skin-tone","pinched-fingers-medium-dark-skin-tone","pinched-fingers-medium-light-skin-tone","pinched-fingers-medium-skin-tone","pinching-hand","pinching-hand-dark-skin-tone","pinching-hand-light-skin-tone","pinching-hand-medium-dark-skin-tone","pinching-hand-medium-light-skin-tone","pinching-hand-medium-skin-tone","pine-decoration","pineapple","ping-pong","pirate-flag","pisces","pizza","placard","place-of-worship","play-button","play-or-pause-button","playground-slide","pleading-face","plunger","plus","polar-bear","police-car","police-car-light","police-officer","police-officer-dark-skin-tone","police-officer-light-skin-tone","police-officer-medium-dark-skin-tone","police-officer-medium-light-skin-tone","police-officer-medium-skin-tone","poodle","pool-8-ball","popcorn","post-office","postal-horn","postbox","pot-of-food","potable-water","potato","potted-plant","poultry-leg","pound-banknote","pouring-liquid","pouting-cat","prayer-beads","pregnant-man","pregnant-man-dark-skin-tone","pregnant-man-light-skin-tone","pregnant-man-medium-dark-skin-tone","pregnant-man-medium-light-skin-tone","pregnant-man-medium-skin-tone","pregnant-person","pregnant-person-dark-skin-tone","pregnant-person-light-skin-tone","pregnant-person-medium-dark-skin-tone","pregnant-person-medium-light-skin-tone","pregnant-person-medium-skin-tone","pregnant-woman","pregnant-woman-dark-skin-tone","pregnant-woman-light-skin-tone","pregnant-woman-medium-dark-skin-tone","pregnant-woman-medium-light-skin-tone","pregnant-woman-medium-skin-tone","pretzel","prince","prince-dark-skin-tone","prince-light-skin-tone","prince-medium-dark-skin-tone","prince-medium-light-skin-tone","prince-medium-skin-tone","princess","princess-dark-skin-tone","princess-light-skin-tone","princess-medium-dark-skin-tone","princess-medium-light-skin-tone","princess-medium-skin-tone","printer","prohibited","purple-circle","purple-heart","purple-square","purse","pushpin","puzzle-piece","rabbit","rabbit-face","raccoon","racing-car","radio","radio-button","radioactive","railway-car","railway-track","rainbow","rainbow-flag","raised-back-of-hand","raised-back-of-hand-dark-skin-tone","raised-back-of-hand-light-skin-tone","raised-back-of-hand-medium-dark-skin-tone","raised-back-of-hand-medium-light-skin-tone","raised-back-of-hand-medium-skin-tone","raised-fist","raised-fist-dark-skin-tone","raised-fist-light-skin-tone","raised-fist-medium-dark-skin-tone","raised-fist-medium-light-skin-tone","raised-fist-medium-skin-tone","raised-hand","raised-hand-dark-skin-tone","raised-hand-light-skin-tone","raised-hand-medium-dark-skin-tone","raised-hand-medium-light-skin-tone","raised-hand-medium-skin-tone","raising-hands","raising-hands-dark-skin-tone","raising-hands-light-skin-tone","raising-hands-medium-dark-skin-tone","raising-hands-medium-light-skin-tone","raising-hands-medium-skin-tone","ram","rat","razor","receipt","record-button","recycling-symbol","red-apple","red-circle","red-envelope","red-exclamation-mark","red-haired","red-heart","red-paper-lantern","red-question-mark","red-square","red-triangle-pointed-down","red-triangle-pointed-up","registered","relieved-face","reminder-ribbon","repeat-button","repeat-single-button","rescue-workers-helmet","restroom","reverse-button","revolving-hearts","rhinoceros","ribbon","rice-ball","rice-cracker","right-anger-bubble","right-arrow","right-arrow-curving-down","right-arrow-curving-left","right-arrow-curving-up","right-facing-fist","right-facing-fist-dark-skin-tone","right-facing-fist-light-skin-tone","right-facing-fist-medium-dark-skin-tone","right-facing-fist-medium-light-skin-tone","right-facing-fist-medium-skin-tone","rightwards-hand","rightwards-hand-dark-skin-tone","rightwards-hand-light-skin-tone","rightwards-hand-medium-dark-skin-tone","rightwards-hand-medium-light-skin-tone","rightwards-hand-medium-skin-tone","ring","ring-buoy","ringed-planet","roasted-sweet-potato","robot","rock","rocket","roll-of-paper","rolled-up-newspaper","roller-coaster","roller-skate","rolling-on-the-floor-laughing","rooster","rose","rosette","round-pushpin","rugby-football","running-shirt","running-shoe","sad-but-relieved-face","safety-pin","safety-vest","sagittarius","sailboat","sake","salt","saluting-face","sandwich","santa-claus","santa-claus-dark-skin-tone","santa-claus-light-skin-tone","santa-claus-medium-dark-skin-tone","santa-claus-medium-light-skin-tone","santa-claus-medium-skin-tone","sari","satellite","satellite-antenna","sauropod","saxophone","scarf","school","scientist","scientist-dark-skin-tone","scientist-light-skin-tone","scientist-medium-dark-skin-tone","scientist-medium-light-skin-tone","scientist-medium-skin-tone","scissors","scorpio","scorpion","screwdriver","scroll","seal","seat","see-no-evil-monkey","seedling","selfie","selfie-dark-skin-tone","selfie-light-skin-tone","selfie-medium-dark-skin-tone","selfie-medium-light-skin-tone","selfie-medium-skin-tone","service-dog","seven-oclock","seven-thirty","sewing-needle","shallow-pan-of-food","shamrock","shark","shaved-ice","sheaf-of-rice","shibuya-109-department-store","shield","shinto-shrine","ship","shooting-star","shopping-bags","shopping-cart","shortcake","shorts","shower","shrimp","shuffle-tracks-button","shushing-face","sign-of-the-horns","sign-of-the-horns-dark-skin-tone","sign-of-the-horns-light-skin-tone","sign-of-the-horns-medium-dark-skin-tone","sign-of-the-horns-medium-light-skin-tone","sign-of-the-horns-medium-skin-tone","singer","singer-dark-skin-tone","singer-light-skin-tone","singer-medium-dark-skin-tone","singer-medium-light-skin-tone","singer-medium-skin-tone","six-oclock","six-thirty","skateboard","skier","skier-dark-skin-tone","skier-light-skin-tone","skier-medium-dark-skin-tone","skier-medium-light-skin-tone","skier-medium-skin-tone","skis","skull","skull-and-crossbones","skunk","sled","sleeping-face","sleepy-face","slightly-frowning-face","slightly-smiling-face","slot-machine","sloth","small-airplane","small-blue-diamond","small-orange-diamond","smiling-cat-with-heart-eyes","smiling-face","smiling-face-with-halo","smiling-face-with-heart-eyes","smiling-face-with-hearts","smiling-face-with-horns","smiling-face-with-open-hands","smiling-face-with-smiling-eyes","smiling-face-with-sunglasses","smiling-face-with-tear","smirking-face","snail","snake","sneezing-face","snow-capped-mountain","snowboarder","snowboarder-dark-skin-tone","snowboarder-light-skin-tone","snowboarder-medium-dark-skin-tone","snowboarder-medium-light-skin-tone","snowboarder-medium-skin-tone","snowflake","snowman","snowman-without-snow","soap","soccer-ball","socks","soft-ice-cream","softball","soon-arrow","sos-button","spade-suit","spaghetti","sparkle","sparkler","sparkles","sparkling-heart","speak-no-evil-monkey","speaker-high-volume","speaker-low-volume","speaker-medium-volume","speaking-head","speech-balloon","speedboat","spider","spider-web","spiral-calendar","spiral-notepad","spiral-shell","sponge","spoon","sport-utility-vehicle","sports-medal","spouting-whale","squid","squinting-face-with-tongue","stadium","star","star-and-crescent","star-of-david","star-struck","station","statue-of-liberty","steaming-bowl","stethoscope","stop-button","stop-sign","stopwatch","straight-ruler","strawberry","student","student-dark-skin-tone","student-light-skin-tone","student-medium-dark-skin-tone","student-medium-light-skin-tone","student-medium-skin-tone","studio-microphone","stuffed-flatbread","sun","sun-behind-cloud","sun-behind-large-cloud","sun-behind-rain-cloud","sun-behind-small-cloud","sun-with-face","sunflower","sunglasses","sunrise","sunrise-over-mountains","sunset","superhero","superhero-dark-skin-tone","superhero-light-skin-tone","superhero-medium-dark-skin-tone","superhero-medium-light-skin-tone","superhero-medium-skin-tone","supervillain","supervillain-dark-skin-tone","supervillain-light-skin-tone","supervillain-medium-dark-skin-tone","supervillain-medium-light-skin-tone","supervillain-medium-skin-tone","sushi","suspension-railway","swan","sweat-droplets","synagogue","syringe","t-rex","t-shirt","taco","takeout-box","tamale","tanabata-tree","tangerine","taurus","taxi","teacher","teacher-dark-skin-tone","teacher-light-skin-tone","teacher-medium-dark-skin-tone","teacher-medium-light-skin-tone","teacher-medium-skin-tone","teacup-without-handle","teapot","tear-off-calendar","technologist","technologist-dark-skin-tone","technologist-light-skin-tone","technologist-medium-dark-skin-tone","technologist-medium-light-skin-tone","technologist-medium-skin-tone","teddy-bear","telephone","telephone-receiver","telescope","television","ten-oclock","ten-thirty","tennis","tent","test-tube","thermometer","thinking-face","thong-sandal","thought-balloon","thread","three-oclock","three-thirty","thumbs-down","thumbs-down-dark-skin-tone","thumbs-down-light-skin-tone","thumbs-down-medium-dark-skin-tone","thumbs-down-medium-light-skin-tone","thumbs-down-medium-skin-tone","thumbs-up","thumbs-up-dark-skin-tone","thumbs-up-light-skin-tone","thumbs-up-medium-dark-skin-tone","thumbs-up-medium-light-skin-tone","thumbs-up-medium-skin-tone","ticket","tiger","tiger-face","timer-clock","tired-face","toilet","tokyo-tower","tomato","tongue","toolbox","tooth","toothbrush","top-arrow","top-hat","tornado","trackball","tractor","trade-mark","train","tram","tram-car","transgender-flag","transgender-symbol","triangular-flag","triangular-ruler","trident-emblem","troll","trolleybus","trophy","tropical-drink","tropical-fish","trumpet","tulip","tumbler-glass","turkey","turtle","twelve-oclock","twelve-thirty","two-hearts","two-hump-camel","two-men-holding-hands","two-oclock","two-thirty","two-women-holding-hands","umbrella","umbrella-on-ground","umbrella-with-rain-drops","unamused-face","unicorn","unlocked","up-arrow","up-down-arrow","up-exclamation-button","up-left-arrow","up-right-arrow","upside-down-face","upwards-button","vampire","vampire-dark-skin-tone","vampire-light-skin-tone","vampire-medium-dark-skin-tone","vampire-medium-light-skin-tone","vampire-medium-skin-tone","vertical-traffic-light","vibration-mode","victory-hand","victory-hand-dark-skin-tone","victory-hand-light-skin-tone","victory-hand-medium-dark-skin-tone","victory-hand-medium-light-skin-tone","victory-hand-medium-skin-tone","video-camera","video-game","videocassette","violin","virgo","volcano","volleyball","vs-button","vulcan-salute","vulcan-salute-dark-skin-tone","vulcan-salute-light-skin-tone","vulcan-salute-medium-dark-skin-tone","vulcan-salute-medium-light-skin-tone","vulcan-salute-medium-skin-tone","waffle","waning-crescent-moon","waning-gibbous-moon","warning","wastebasket","watch","water-buffalo","water-closet","water-pistol","water-wave","watermelon","waving-hand","waving-hand-dark-skin-tone","waving-hand-light-skin-tone","waving-hand-medium-dark-skin-tone","waving-hand-medium-light-skin-tone","waving-hand-medium-skin-tone","wavy-dash","waxing-crescent-moon","waxing-gibbous-moon","weary-cat","weary-face","wedding","whale","wheel","wheel-of-dharma","wheelchair-symbol","white-cane","white-circle","white-exclamation-mark","white-flag","white-flower","white-haired","white-heart","white-large-square","white-medium-small-square","white-medium-square","white-question-mark","white-small-square","white-square-button","wilted-flower","wind-chime","wind-face","window","wine-glass","winking-face","winking-face-with-tongue","wolf","woman","woman-and-man-holding-hands","woman-and-man-holding-hands-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-light-skin-tone","woman-artist","woman-artist-dark-skin-tone","woman-artist-light-skin-tone","woman-artist-medium-dark-skin-tone","woman-artist-medium-light-skin-tone","woman-artist-medium-skin-tone","woman-astronaut","woman-astronaut-dark-skin-tone","woman-astronaut-light-skin-tone","woman-astronaut-medium-dark-skin-tone","woman-astronaut-medium-light-skin-tone","woman-astronaut-medium-skin-tone","woman-bald","woman-beard","woman-biking","woman-biking-dark-skin-tone","woman-biking-light-skin-tone","woman-biking-medium-dark-skin-tone","woman-biking-medium-light-skin-tone","woman-biking-medium-skin-tone","woman-blond-hair","woman-bouncing-ball","woman-bouncing-ball-dark-skin-tone","woman-bouncing-ball-light-skin-tone","woman-bouncing-ball-medium-dark-skin-tone","woman-bouncing-ball-medium-light-skin-tone","woman-bouncing-ball-medium-skin-tone","woman-bowing","woman-bowing-dark-skin-tone","woman-bowing-light-skin-tone","woman-bowing-medium-dark-skin-tone","woman-bowing-medium-light-skin-tone","woman-bowing-medium-skin-tone","woman-cartwheeling","woman-cartwheeling-dark-skin-tone","woman-cartwheeling-light-skin-tone","woman-cartwheeling-medium-dark-skin-tone","woman-cartwheeling-medium-light-skin-tone","woman-cartwheeling-medium-skin-tone","woman-climbing","woman-climbing-dark-skin-tone","woman-climbing-light-skin-tone","woman-climbing-medium-dark-skin-tone","woman-climbing-medium-light-skin-tone","woman-climbing-medium-skin-tone","woman-construction-worker","woman-construction-worker-dark-skin-tone","woman-construction-worker-light-skin-tone","woman-construction-worker-medium-dark-skin-tone","woman-construction-worker-medium-light-skin-tone","woman-construction-worker-medium-skin-tone","woman-cook","woman-cook-dark-skin-tone","woman-cook-light-skin-tone","woman-cook-medium-dark-skin-tone","woman-cook-medium-light-skin-tone","woman-cook-medium-skin-tone","woman-curly-hair","woman-dancing","woman-dancing-dark-skin-tone","woman-dancing-light-skin-tone","woman-dancing-medium-dark-skin-tone","woman-dancing-medium-light-skin-tone","woman-dancing-medium-skin-tone","woman-dark-skin-tone","woman-dark-skin-tone-bald","woman-dark-skin-tone-beard","woman-dark-skin-tone-blond-hair","woman-dark-skin-tone-curly-hair","woman-dark-skin-tone-red-hair","woman-dark-skin-tone-white-hair","woman-detective","woman-detective-dark-skin-tone","woman-detective-light-skin-tone","woman-detective-medium-dark-skin-tone","woman-detective-medium-light-skin-tone","woman-detective-medium-skin-tone","woman-elf","woman-elf-dark-skin-tone","woman-elf-light-skin-tone","woman-elf-medium-dark-skin-tone","woman-elf-medium-light-skin-tone","woman-elf-medium-skin-tone","woman-facepalming","woman-facepalming-dark-skin-tone","woman-facepalming-light-skin-tone","woman-facepalming-medium-dark-skin-tone","woman-facepalming-medium-light-skin-tone","woman-facepalming-medium-skin-tone","woman-factory-worker","woman-factory-worker-dark-skin-tone","woman-factory-worker-light-skin-tone","woman-factory-worker-medium-dark-skin-tone","woman-factory-worker-medium-light-skin-tone","woman-factory-worker-medium-skin-tone","woman-fairy","woman-fairy-dark-skin-tone","woman-fairy-light-skin-tone","woman-fairy-medium-dark-skin-tone","woman-fairy-medium-light-skin-tone","woman-fairy-medium-skin-tone","woman-farmer","woman-farmer-dark-skin-tone","woman-farmer-light-skin-tone","woman-farmer-medium-dark-skin-tone","woman-farmer-medium-light-skin-tone","woman-farmer-medium-skin-tone","woman-feeding-baby","woman-feeding-baby-dark-skin-tone","woman-feeding-baby-light-skin-tone","woman-feeding-baby-medium-dark-skin-tone","woman-feeding-baby-medium-light-skin-tone","woman-feeding-baby-medium-skin-tone","woman-firefighter","woman-firefighter-dark-skin-tone","woman-firefighter-light-skin-tone","woman-firefighter-medium-dark-skin-tone","woman-firefighter-medium-light-skin-tone","woman-firefighter-medium-skin-tone","woman-frowning","woman-frowning-dark-skin-tone","woman-frowning-light-skin-tone","woman-frowning-medium-dark-skin-tone","woman-frowning-medium-light-skin-tone","woman-frowning-medium-skin-tone","woman-genie","woman-gesturing-no","woman-gesturing-no-dark-skin-tone","woman-gesturing-no-light-skin-tone","woman-gesturing-no-medium-dark-skin-tone","woman-gesturing-no-medium-light-skin-tone","woman-gesturing-no-medium-skin-tone","woman-gesturing-ok","woman-gesturing-ok-dark-skin-tone","woman-gesturing-ok-light-skin-tone","woman-gesturing-ok-medium-dark-skin-tone","woman-gesturing-ok-medium-light-skin-tone","woman-gesturing-ok-medium-skin-tone","woman-getting-haircut","woman-getting-haircut-dark-skin-tone","woman-getting-haircut-light-skin-tone","woman-getting-haircut-medium-dark-skin-tone","woman-getting-haircut-medium-light-skin-tone","woman-getting-haircut-medium-skin-tone","woman-getting-massage","woman-getting-massage-dark-skin-tone","woman-getting-massage-light-skin-tone","woman-getting-massage-medium-dark-skin-tone","woman-getting-massage-medium-light-skin-tone","woman-getting-massage-medium-skin-tone","woman-golfing","woman-golfing-dark-skin-tone","woman-golfing-light-skin-tone","woman-golfing-medium-dark-skin-tone","woman-golfing-medium-light-skin-tone","woman-golfing-medium-skin-tone","woman-guard","woman-guard-dark-skin-tone","woman-guard-light-skin-tone","woman-guard-medium-dark-skin-tone","woman-guard-medium-light-skin-tone","woman-guard-medium-skin-tone","woman-health-worker","woman-health-worker-dark-skin-tone","woman-health-worker-light-skin-tone","woman-health-worker-medium-dark-skin-tone","woman-health-worker-medium-light-skin-tone","woman-health-worker-medium-skin-tone","woman-in-lotus-position","woman-in-lotus-position-dark-skin-tone","woman-in-lotus-position-light-skin-tone","woman-in-lotus-position-medium-dark-skin-tone","woman-in-lotus-position-medium-light-skin-tone","woman-in-lotus-position-medium-skin-tone","woman-in-manual-wheelchair","woman-in-manual-wheelchair-dark-skin-tone","woman-in-manual-wheelchair-light-skin-tone","woman-in-manual-wheelchair-medium-dark-skin-tone","woman-in-manual-wheelchair-medium-light-skin-tone","woman-in-manual-wheelchair-medium-skin-tone","woman-in-motorized-wheelchair","woman-in-motorized-wheelchair-dark-skin-tone","woman-in-motorized-wheelchair-light-skin-tone","woman-in-motorized-wheelchair-medium-dark-skin-tone","woman-in-motorized-wheelchair-medium-light-skin-tone","woman-in-motorized-wheelchair-medium-skin-tone","woman-in-steamy-room","woman-in-steamy-room-dark-skin-tone","woman-in-steamy-room-light-skin-tone","woman-in-steamy-room-medium-dark-skin-tone","woman-in-steamy-room-medium-light-skin-tone","woman-in-steamy-room-medium-skin-tone","woman-in-suit-levitating","woman-in-suit-levitating-dark-skin-tone","woman-in-suit-levitating-light-skin-tone","woman-in-suit-levitating-medium-dark-skin-tone","woman-in-suit-levitating-medium-light-skin-tone","woman-in-suit-levitating-medium-skin-tone","woman-in-tuxedo","woman-in-tuxedo-dark-skin-tone","woman-in-tuxedo-light-skin-tone","woman-in-tuxedo-medium-dark-skin-tone","woman-in-tuxedo-medium-light-skin-tone","woman-in-tuxedo-medium-skin-tone","woman-judge","woman-judge-dark-skin-tone","woman-judge-light-skin-tone","woman-judge-medium-dark-skin-tone","woman-judge-medium-light-skin-tone","woman-judge-medium-skin-tone","woman-juggling","woman-juggling-dark-skin-tone","woman-juggling-light-skin-tone","woman-juggling-medium-dark-skin-tone","woman-juggling-medium-light-skin-tone","woman-juggling-medium-skin-tone","woman-kneeling","woman-kneeling-dark-skin-tone","woman-kneeling-light-skin-tone","woman-kneeling-medium-dark-skin-tone","woman-kneeling-medium-light-skin-tone","woman-kneeling-medium-skin-tone","woman-lifting-weights","woman-lifting-weights-dark-skin-tone","woman-lifting-weights-light-skin-tone","woman-lifting-weights-medium-dark-skin-tone","woman-lifting-weights-medium-light-skin-tone","woman-lifting-weights-medium-skin-tone","woman-light-skin-tone","woman-light-skin-tone-bald","woman-light-skin-tone-beard","woman-light-skin-tone-blond-hair","woman-light-skin-tone-curly-hair","woman-light-skin-tone-red-hair","woman-light-skin-tone-white-hair","woman-mage","woman-mage-dark-skin-tone","woman-mage-light-skin-tone","woman-mage-medium-dark-skin-tone","woman-mage-medium-light-skin-tone","woman-mage-medium-skin-tone","woman-mechanic","woman-mechanic-dark-skin-tone","woman-mechanic-light-skin-tone","woman-mechanic-medium-dark-skin-tone","woman-mechanic-medium-light-skin-tone","woman-mechanic-medium-skin-tone","woman-medium-dark-skin-tone","woman-medium-dark-skin-tone-bald","woman-medium-dark-skin-tone-beard","woman-medium-dark-skin-tone-blond-hair","woman-medium-dark-skin-tone-curly-hair","woman-medium-dark-skin-tone-red-hair","woman-medium-dark-skin-tone-white-hair","woman-medium-light-skin-tone","woman-medium-light-skin-tone-bald","woman-medium-light-skin-tone-beard","woman-medium-light-skin-tone-blond-hair","woman-medium-light-skin-tone-curly-hair","woman-medium-light-skin-tone-red-hair","woman-medium-light-skin-tone-white-hair","woman-medium-skin-tone","woman-medium-skin-tone-bald","woman-medium-skin-tone-beard","woman-medium-skin-tone-blond-hair","woman-medium-skin-tone-curly-hair","woman-medium-skin-tone-red-hair","woman-medium-skin-tone-white-hair","woman-mountain-biking","woman-mountain-biking-dark-skin-tone","woman-mountain-biking-light-skin-tone","woman-mountain-biking-medium-dark-skin-tone","woman-mountain-biking-medium-light-skin-tone","woman-mountain-biking-medium-skin-tone","woman-office-worker","woman-office-worker-dark-skin-tone","woman-office-worker-light-skin-tone","woman-office-worker-medium-dark-skin-tone","woman-office-worker-medium-light-skin-tone","woman-office-worker-medium-skin-tone","woman-pilot","woman-pilot-dark-skin-tone","woman-pilot-light-skin-tone","woman-pilot-medium-dark-skin-tone","woman-pilot-medium-light-skin-tone","woman-pilot-medium-skin-tone","woman-playing-handball","woman-playing-handball-dark-skin-tone","woman-playing-handball-light-skin-tone","woman-playing-handball-medium-dark-skin-tone","woman-playing-handball-medium-light-skin-tone","woman-playing-handball-medium-skin-tone","woman-playing-water-polo","woman-playing-water-polo-dark-skin-tone","woman-playing-water-polo-light-skin-tone","woman-playing-water-polo-medium-dark-skin-tone","woman-playing-water-polo-medium-light-skin-tone","woman-playing-water-polo-medium-skin-tone","woman-police-officer","woman-police-officer-dark-skin-tone","woman-police-officer-light-skin-tone","woman-police-officer-medium-dark-skin-tone","woman-police-officer-medium-light-skin-tone","woman-police-officer-medium-skin-tone","woman-pouting","woman-pouting-dark-skin-tone","woman-pouting-light-skin-tone","woman-pouting-medium-dark-skin-tone","woman-pouting-medium-light-skin-tone","woman-pouting-medium-skin-tone","woman-raising-hand","woman-raising-hand-dark-skin-tone","woman-raising-hand-light-skin-tone","woman-raising-hand-medium-dark-skin-tone","woman-raising-hand-medium-light-skin-tone","woman-raising-hand-medium-skin-tone","woman-red-hair","woman-rowing-boat","woman-rowing-boat-dark-skin-tone","woman-rowing-boat-light-skin-tone","woman-rowing-boat-medium-dark-skin-tone","woman-rowing-boat-medium-light-skin-tone","woman-rowing-boat-medium-skin-tone","woman-running","woman-running-dark-skin-tone","woman-running-light-skin-tone","woman-running-medium-dark-skin-tone","woman-running-medium-light-skin-tone","woman-running-medium-skin-tone","woman-scientist","woman-scientist-dark-skin-tone","woman-scientist-light-skin-tone","woman-scientist-medium-dark-skin-tone","woman-scientist-medium-light-skin-tone","woman-scientist-medium-skin-tone","woman-shrugging","woman-shrugging-dark-skin-tone","woman-shrugging-light-skin-tone","woman-shrugging-medium-dark-skin-tone","woman-shrugging-medium-light-skin-tone","woman-shrugging-medium-skin-tone","woman-singer","woman-singer-dark-skin-tone","woman-singer-light-skin-tone","woman-singer-medium-dark-skin-tone","woman-singer-medium-light-skin-tone","woman-singer-medium-skin-tone","woman-standing","woman-standing-dark-skin-tone","woman-standing-light-skin-tone","woman-standing-medium-dark-skin-tone","woman-standing-medium-light-skin-tone","woman-standing-medium-skin-tone","woman-student","woman-student-dark-skin-tone","woman-student-light-skin-tone","woman-student-medium-dark-skin-tone","woman-student-medium-light-skin-tone","woman-student-medium-skin-tone","woman-superhero","woman-superhero-dark-skin-tone","woman-superhero-light-skin-tone","woman-superhero-medium-dark-skin-tone","woman-superhero-medium-light-skin-tone","woman-superhero-medium-skin-tone","woman-supervillain","woman-supervillain-dark-skin-tone","woman-supervillain-light-skin-tone","woman-supervillain-medium-dark-skin-tone","woman-supervillain-medium-light-skin-tone","woman-supervillain-medium-skin-tone","woman-surfing","woman-surfing-dark-skin-tone","woman-surfing-light-skin-tone","woman-surfing-medium-dark-skin-tone","woman-surfing-medium-light-skin-tone","woman-surfing-medium-skin-tone","woman-swimming","woman-swimming-dark-skin-tone","woman-swimming-light-skin-tone","woman-swimming-medium-dark-skin-tone","woman-swimming-medium-light-skin-tone","woman-swimming-medium-skin-tone","woman-teacher","woman-teacher-dark-skin-tone","woman-teacher-light-skin-tone","woman-teacher-medium-dark-skin-tone","woman-teacher-medium-light-skin-tone","woman-teacher-medium-skin-tone","woman-technologist","woman-technologist-dark-skin-tone","woman-technologist-light-skin-tone","woman-technologist-medium-dark-skin-tone","woman-technologist-medium-light-skin-tone","woman-technologist-medium-skin-tone","woman-tipping-hand","woman-tipping-hand-dark-skin-tone","woman-tipping-hand-light-skin-tone","woman-tipping-hand-medium-dark-skin-tone","woman-tipping-hand-medium-light-skin-tone","woman-tipping-hand-medium-skin-tone","woman-vampire","woman-vampire-dark-skin-tone","woman-vampire-light-skin-tone","woman-vampire-medium-dark-skin-tone","woman-vampire-medium-light-skin-tone","woman-vampire-medium-skin-tone","woman-walking","woman-walking-dark-skin-tone","woman-walking-light-skin-tone","woman-walking-medium-dark-skin-tone","woman-walking-medium-light-skin-tone","woman-walking-medium-skin-tone","woman-wearing-turban","woman-wearing-turban-dark-skin-tone","woman-wearing-turban-light-skin-tone","woman-wearing-turban-medium-dark-skin-tone","woman-wearing-turban-medium-light-skin-tone","woman-wearing-turban-medium-skin-tone","woman-white-hair","woman-with-headscarf","woman-with-headscarf-dark-skin-tone","woman-with-headscarf-light-skin-tone","woman-with-headscarf-medium-dark-skin-tone","woman-with-headscarf-medium-light-skin-tone","woman-with-headscarf-medium-skin-tone","woman-with-veil","woman-with-veil-dark-skin-tone","woman-with-veil-light-skin-tone","woman-with-veil-medium-dark-skin-tone","woman-with-veil-medium-light-skin-tone","woman-with-veil-medium-skin-tone","woman-with-white-cane","woman-with-white-cane-dark-skin-tone","woman-with-white-cane-light-skin-tone","woman-with-white-cane-medium-dark-skin-tone","woman-with-white-cane-medium-light-skin-tone","woman-with-white-cane-medium-skin-tone","woman-zombie","womans-boot","womans-clothes","womans-hat","womans-sandal","women-holding-hands","women-holding-hands-dark-skin-tone","women-holding-hands-dark-skin-tone-light-skin-tone","women-holding-hands-dark-skin-tone-medium-dark-skin-tone","women-holding-hands-dark-skin-tone-medium-light-skin-tone","women-holding-hands-dark-skin-tone-medium-skin-tone","women-holding-hands-light-skin-tone","women-holding-hands-light-skin-tone-dark-skin-tone","women-holding-hands-light-skin-tone-medium-dark-skin-tone","women-holding-hands-light-skin-tone-medium-light-skin-tone","women-holding-hands-light-skin-tone-medium-skin-tone","women-holding-hands-medium-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-skin-tone","women-holding-hands-medium-light-skin-tone","women-holding-hands-medium-light-skin-tone-dark-skin-tone","women-holding-hands-medium-light-skin-tone-light-skin-tone","women-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-light-skin-tone-medium-skin-tone","women-holding-hands-medium-skin-tone","women-holding-hands-medium-skin-tone-dark-skin-tone","women-holding-hands-medium-skin-tone-light-skin-tone","women-holding-hands-medium-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-skin-tone-medium-light-skin-tone","women-with-bunny-ears","women-wrestling","womens-room","wood","woozy-face","world-map","worm","worried-face","wrapped-gift","wrench","writing-hand","writing-hand-dark-skin-tone","writing-hand-light-skin-tone","writing-hand-medium-dark-skin-tone","writing-hand-medium-light-skin-tone","writing-hand-medium-skin-tone","x-ray","yarn","yawning-face","yellow-circle","yellow-heart","yellow-square","yen-banknote","yin-yang","yo-yo","zany-face","zebra","zipper-mouth-face","zombie","zzz"]},{"prefix":"vscode-icons","info":{"name":"VSCode Icons","total":1240,"version":"12.6.0","author":{"name":"Roberto Huertas","url":"https://github.com/vscode-icons/vscode-icons"},"license":{"title":"MIT","spdx":"MIT","url":"https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE"},"samples":["file-type-actionscript2","file-type-json","file-type-manifest"],"height":32,"displayHeight":16,"category":"General","palette":true},"icons":["default-file","default-folder","default-folder-opened","default-root-folder","default-root-folder-opened","file-type-access","file-type-access2","file-type-actionscript","file-type-actionscript2","file-type-ada","file-type-advpl","file-type-affinitydesigner","file-type-affinityphoto","file-type-affinitypublisher","file-type-ai","file-type-ai2","file-type-al","file-type-al-dal","file-type-allcontributors","file-type-angular","file-type-ansible","file-type-antlr","file-type-anyscript","file-type-apache","file-type-apex","file-type-api-extractor","file-type-apib","file-type-apib2","file-type-apl","file-type-applescript","file-type-appscript","file-type-appsemble","file-type-appveyor","file-type-arduino","file-type-asciidoc","file-type-asp","file-type-aspx","file-type-assembly","file-type-astro","file-type-astroconfig","file-type-ats","file-type-audio","file-type-aurelia","file-type-autohotkey","file-type-autoit","file-type-avif","file-type-avro","file-type-awk","file-type-aws","file-type-azure","file-type-azurepipelines","file-type-babel","file-type-babel2","file-type-ballerina","file-type-bat","file-type-bats","file-type-bazaar","file-type-bazel","file-type-bazel-ignore","file-type-bazel-version","file-type-befunge","file-type-bicep","file-type-biml","file-type-binary","file-type-biome","file-type-bitbucketpipeline","file-type-bithound","file-type-blade","file-type-blitzbasic","file-type-bolt","file-type-bosque","file-type-bower","file-type-bower2","file-type-browserslist","file-type-buckbuild","file-type-buf","file-type-bun","file-type-bundler","file-type-bunfig","file-type-c","file-type-c-al","file-type-c2","file-type-c3","file-type-cabal","file-type-caddy","file-type-cake","file-type-cakephp","file-type-capacitor","file-type-cargo","file-type-casc","file-type-cddl","file-type-cert","file-type-ceylon","file-type-cf","file-type-cf2","file-type-cfc","file-type-cfc2","file-type-cfm","file-type-cfm2","file-type-cheader","file-type-chef","file-type-chef-cookbook","file-type-circleci","file-type-class","file-type-clojure","file-type-clojurescript","file-type-cloudfoundry","file-type-cmake","file-type-cobol","file-type-codacy","file-type-codeclimate","file-type-codecov","file-type-codekit","file-type-codeowners","file-type-codeql","file-type-coffeelint","file-type-coffeescript","file-type-commitizen","file-type-commitlint","file-type-compass","file-type-composer","file-type-conan","file-type-conda","file-type-config","file-type-confluence","file-type-coveralls","file-type-cpp","file-type-cpp2","file-type-cpp3","file-type-cppheader","file-type-crowdin","file-type-crystal","file-type-csharp","file-type-csharp2","file-type-cspell","file-type-csproj","file-type-css","file-type-csscomb","file-type-csslint","file-type-cssmap","file-type-cucumber","file-type-cuda","file-type-cvs","file-type-cypress","file-type-cypress-spec","file-type-cython","file-type-dal","file-type-darcs","file-type-dartlang","file-type-dartlang-generated","file-type-dartlang-ignore","file-type-datadog","file-type-db","file-type-delphi","file-type-deno","file-type-denoify","file-type-dependabot","file-type-dependencies","file-type-devcontainer","file-type-dhall","file-type-diff","file-type-django","file-type-dlang","file-type-docker","file-type-docker2","file-type-dockertest","file-type-dockertest2","file-type-docpad","file-type-docz","file-type-dojo","file-type-doppler","file-type-dotenv","file-type-dotjs","file-type-doxygen","file-type-drawio","file-type-drone","file-type-drools","file-type-dustjs","file-type-dvc","file-type-dylan","file-type-earthly","file-type-eas-metadata","file-type-edge","file-type-edge2","file-type-editorconfig","file-type-eex","file-type-ejs","file-type-elastic","file-type-elasticbeanstalk","file-type-eleventy","file-type-eleventy2","file-type-elixir","file-type-elm","file-type-elm2","file-type-emacs","file-type-ember","file-type-ensime","file-type-eps","file-type-erb","file-type-erlang","file-type-erlang2","file-type-esbuild","file-type-eslint","file-type-eslint2","file-type-esphome","file-type-excel","file-type-excel2","file-type-expo","file-type-falcon","file-type-fantasticon","file-type-fauna","file-type-favicon","file-type-fbx","file-type-firebase","file-type-firebasehosting","file-type-firestore","file-type-fitbit","file-type-fla","file-type-flareact","file-type-flash","file-type-floobits","file-type-flow","file-type-flutter","file-type-flutter-package","file-type-font","file-type-formkit","file-type-fortran","file-type-fossa","file-type-fossil","file-type-freemarker","file-type-fsharp","file-type-fsharp2","file-type-fsproj","file-type-fthtml","file-type-funding","file-type-fusebox","file-type-galen","file-type-galen2","file-type-gamemaker","file-type-gamemaker2","file-type-gamemaker81","file-type-gatsby","file-type-gcloud","file-type-gcode","file-type-gdscript","file-type-genstat","file-type-git","file-type-git2","file-type-gitlab","file-type-gitpod","file-type-glide","file-type-glitter","file-type-glsl","file-type-glyphs","file-type-gnu","file-type-gnuplot","file-type-go","file-type-go-aqua","file-type-go-black","file-type-go-fuchsia","file-type-go-gopher","file-type-go-lightblue","file-type-go-package","file-type-go-white","file-type-go-work","file-type-go-yellow","file-type-goctl","file-type-godot","file-type-gradle","file-type-gradle2","file-type-grain","file-type-graphql","file-type-graphql-config","file-type-graphviz","file-type-greenkeeper","file-type-gridsome","file-type-groovy","file-type-groovy2","file-type-grunt","file-type-gulp","file-type-haml","file-type-handlebars","file-type-handlebars2","file-type-harbour","file-type-hardhat","file-type-hashicorp","file-type-haskell","file-type-haskell2","file-type-haxe","file-type-haxecheckstyle","file-type-haxedevelop","file-type-helix","file-type-helm","file-type-hjson","file-type-hlsl","file-type-homeassistant","file-type-horusec","file-type-host","file-type-html","file-type-htmlhint","file-type-http","file-type-hunspell","file-type-husky","file-type-hy","file-type-hygen","file-type-hypr","file-type-icl","file-type-idris","file-type-idrisbin","file-type-idrispkg","file-type-image","file-type-imba","file-type-inc","file-type-infopath","file-type-informix","file-type-ini","file-type-ink","file-type-innosetup","file-type-io","file-type-iodine","file-type-ionic","file-type-jake","file-type-janet","file-type-jar","file-type-jasmine","file-type-java","file-type-jbuilder","file-type-jekyll","file-type-jenkins","file-type-jest","file-type-jest-snapshot","file-type-jinja","file-type-jpm","file-type-js","file-type-js-official","file-type-jsbeautify","file-type-jsconfig","file-type-jscpd","file-type-jshint","file-type-jsmap","file-type-json","file-type-json-official","file-type-json-schema","file-type-json2","file-type-json5","file-type-jsonld","file-type-jsonnet","file-type-jsp","file-type-jss","file-type-julia","file-type-julia2","file-type-jupyter","file-type-k","file-type-karma","file-type-key","file-type-kitchenci","file-type-kite","file-type-kivy","file-type-kos","file-type-kotlin","file-type-kusto","file-type-latino","file-type-layout","file-type-lerna","file-type-less","file-type-lex","file-type-license","file-type-licensebat","file-type-light-actionscript2","file-type-light-ada","file-type-light-apl","file-type-light-babel","file-type-light-babel2","file-type-light-cabal","file-type-light-circleci","file-type-light-cloudfoundry","file-type-light-codacy","file-type-light-codeclimate","file-type-light-codeowners","file-type-light-config","file-type-light-crystal","file-type-light-cypress","file-type-light-cypress-spec","file-type-light-db","file-type-light-deno","file-type-light-dhall","file-type-light-docpad","file-type-light-drone","file-type-light-eas-metadata","file-type-light-eleventy","file-type-light-eleventy2","file-type-light-esphome","file-type-light-expo","file-type-light-firebasehosting","file-type-light-fla","file-type-light-font","file-type-light-gamemaker2","file-type-light-gradle","file-type-light-hashicorp","file-type-light-hjson","file-type-light-ini","file-type-light-io","file-type-light-js","file-type-light-jsconfig","file-type-light-jsmap","file-type-light-json","file-type-light-json-schema","file-type-light-json5","file-type-light-jsonld","file-type-light-kite","file-type-light-lerna","file-type-light-mailing","file-type-light-mdx","file-type-light-mlang","file-type-light-mustache","file-type-light-netlify","file-type-light-next","file-type-light-nim","file-type-light-nx","file-type-light-objidconfig","file-type-light-openhab","file-type-light-pcl","file-type-light-pnpm","file-type-light-prettier","file-type-light-prisma","file-type-light-purescript","file-type-light-quasar","file-type-light-razzle","file-type-light-rehype","file-type-light-remark","file-type-light-replit","file-type-light-retext","file-type-light-rome","file-type-light-rubocop","file-type-light-rust","file-type-light-rust-toolchain","file-type-light-shaderlab","file-type-light-solidity","file-type-light-spin","file-type-light-stylelint","file-type-light-stylus","file-type-light-symfony","file-type-light-systemd","file-type-light-systemverilog","file-type-light-testcafe","file-type-light-testjs","file-type-light-tex","file-type-light-todo","file-type-light-toit","file-type-light-toml","file-type-light-tree","file-type-light-turbo","file-type-light-unibeautify","file-type-light-vash","file-type-light-vercel","file-type-light-vsix","file-type-light-vsixmanifest","file-type-light-xfl","file-type-light-yaml","file-type-light-zeit","file-type-lighthouse","file-type-lilypond","file-type-lime","file-type-lintstagedrc","file-type-liquid","file-type-lisp","file-type-livescript","file-type-lnk","file-type-locale","file-type-log","file-type-lolcode","file-type-lsl","file-type-lua","file-type-luau","file-type-lync","file-type-mailing","file-type-manifest","file-type-manifest-bak","file-type-manifest-skip","file-type-map","file-type-mariadb","file-type-markdown","file-type-markdownlint","file-type-markdownlint-ignore","file-type-marko","file-type-markojs","file-type-master-co","file-type-matlab","file-type-maven","file-type-maxscript","file-type-maya","file-type-mdx","file-type-mediawiki","file-type-mercurial","file-type-mermaid","file-type-meson","file-type-meteor","file-type-mjml","file-type-mlang","file-type-mocha","file-type-modernizr","file-type-mojo","file-type-mojolicious","file-type-moleculer","file-type-mondoo","file-type-mongo","file-type-monotone","file-type-motif","file-type-mson","file-type-mustache","file-type-mysql","file-type-ndst","file-type-nearly","file-type-nest-adapter-js","file-type-nest-adapter-ts","file-type-nest-controller-js","file-type-nest-controller-ts","file-type-nest-decorator-js","file-type-nest-decorator-ts","file-type-nest-filter-js","file-type-nest-filter-ts","file-type-nest-gateway-js","file-type-nest-gateway-ts","file-type-nest-guard-js","file-type-nest-guard-ts","file-type-nest-interceptor-js","file-type-nest-interceptor-ts","file-type-nest-middleware-js","file-type-nest-middleware-ts","file-type-nest-module-js","file-type-nest-module-ts","file-type-nest-pipe-js","file-type-nest-pipe-ts","file-type-nest-service-js","file-type-nest-service-ts","file-type-nestjs","file-type-netlify","file-type-next","file-type-ng-component-css","file-type-ng-component-dart","file-type-ng-component-html","file-type-ng-component-js","file-type-ng-component-js2","file-type-ng-component-less","file-type-ng-component-sass","file-type-ng-component-scss","file-type-ng-component-ts","file-type-ng-component-ts2","file-type-ng-controller-js","file-type-ng-controller-ts","file-type-ng-directive-dart","file-type-ng-directive-js","file-type-ng-directive-js2","file-type-ng-directive-ts","file-type-ng-directive-ts2","file-type-ng-guard-dart","file-type-ng-guard-js","file-type-ng-guard-ts","file-type-ng-interceptor-dart","file-type-ng-interceptor-js","file-type-ng-interceptor-ts","file-type-ng-module-dart","file-type-ng-module-js","file-type-ng-module-js2","file-type-ng-module-ts","file-type-ng-module-ts2","file-type-ng-pipe-dart","file-type-ng-pipe-js","file-type-ng-pipe-js2","file-type-ng-pipe-ts","file-type-ng-pipe-ts2","file-type-ng-routing-dart","file-type-ng-routing-js","file-type-ng-routing-js2","file-type-ng-routing-ts","file-type-ng-routing-ts2","file-type-ng-service-dart","file-type-ng-service-js","file-type-ng-service-js2","file-type-ng-service-ts","file-type-ng-service-ts2","file-type-ng-smart-component-dart","file-type-ng-smart-component-js","file-type-ng-smart-component-js2","file-type-ng-smart-component-ts","file-type-ng-smart-component-ts2","file-type-ng-tailwind","file-type-nginx","file-type-nim","file-type-nimble","file-type-ninja","file-type-nix","file-type-njsproj","file-type-noc","file-type-node","file-type-node2","file-type-nodemon","file-type-npm","file-type-nsi","file-type-nsri","file-type-nsri-integrity","file-type-nuget","file-type-numpy","file-type-nunjucks","file-type-nuxt","file-type-nx","file-type-nyc","file-type-objectivec","file-type-objectivecpp","file-type-objidconfig","file-type-ocaml","file-type-ocaml-intf","file-type-ogone","file-type-onenote","file-type-opencl","file-type-openhab","file-type-openscad","file-type-org","file-type-outlook","file-type-ovpn","file-type-package","file-type-paket","file-type-patch","file-type-pcl","file-type-pddl","file-type-pddl-happenings","file-type-pddl-plan","file-type-pdf2","file-type-peeky","file-type-perl","file-type-perl2","file-type-perl6","file-type-pgsql","file-type-photoshop","file-type-photoshop2","file-type-php","file-type-php2","file-type-php3","file-type-phpcsfixer","file-type-phpstan","file-type-phpunit","file-type-phraseapp","file-type-pine","file-type-pip","file-type-pipeline","file-type-plantuml","file-type-platformio","file-type-playwright","file-type-plsql","file-type-plsql-package","file-type-plsql-package-body","file-type-plsql-package-header","file-type-plsql-package-spec","file-type-pm2","file-type-pnpm","file-type-poedit","file-type-poetry","file-type-polymer","file-type-pony","file-type-postcss","file-type-postcssconfig","file-type-postman","file-type-powerpoint","file-type-powerpoint2","file-type-powershell","file-type-powershell-format","file-type-powershell-psd","file-type-powershell-psd2","file-type-powershell-psm","file-type-powershell-psm2","file-type-powershell-types","file-type-powershell2","file-type-preact","file-type-precommit","file-type-prettier","file-type-prisma","file-type-processinglang","file-type-procfile","file-type-progress","file-type-prolog","file-type-prometheus","file-type-protobuf","file-type-protractor","file-type-publiccode","file-type-publisher","file-type-pug","file-type-pulumi","file-type-puppet","file-type-purescript","file-type-pyret","file-type-python","file-type-pythowo","file-type-pytyped","file-type-pyup","file-type-q","file-type-qbs","file-type-qlikview","file-type-qml","file-type-qmldir","file-type-qsharp","file-type-quasar","file-type-r","file-type-racket","file-type-rails","file-type-rake","file-type-raml","file-type-razor","file-type-razzle","file-type-reactjs","file-type-reacttemplate","file-type-reactts","file-type-reason","file-type-red","file-type-registry","file-type-rego","file-type-rehype","file-type-remark","file-type-renovate","file-type-replit","file-type-rescript","file-type-rest","file-type-retext","file-type-rexx","file-type-riot","file-type-rmd","file-type-robotframework","file-type-robots","file-type-rollup","file-type-rome","file-type-ron","file-type-rproj","file-type-rspec","file-type-rubocop","file-type-ruby","file-type-rust","file-type-rust-toolchain","file-type-sails","file-type-saltstack","file-type-san","file-type-sapphire-framework-cli","file-type-sas","file-type-sass","file-type-sbt","file-type-scala","file-type-scilab","file-type-script","file-type-scss","file-type-scss2","file-type-sdlang","file-type-sentry","file-type-sequelize","file-type-serverless","file-type-shaderlab","file-type-shell","file-type-shuttle","file-type-silverstripe","file-type-sino","file-type-siyuan","file-type-sketch","file-type-skipper","file-type-slang","file-type-slashup","file-type-slice","file-type-slim","file-type-sln","file-type-sln2","file-type-smarty","file-type-snapcraft","file-type-snaplet","file-type-snort","file-type-snyk","file-type-solidarity","file-type-solidity","file-type-source","file-type-spacengine","file-type-sparql","file-type-spin","file-type-sqf","file-type-sql","file-type-sqlite","file-type-squirrel","file-type-sss","file-type-stan","file-type-stata","file-type-stencil","file-type-storyboard","file-type-storybook","file-type-stryker","file-type-stylable","file-type-style","file-type-styled","file-type-stylelint","file-type-stylish-haskell","file-type-stylus","file-type-sublime","file-type-subversion","file-type-svelte","file-type-svelteconfig","file-type-svg","file-type-swagger","file-type-swc","file-type-swift","file-type-swig","file-type-symfony","file-type-systemd","file-type-systemverilog","file-type-t4tt","file-type-tailwind","file-type-tamagui","file-type-taskfile","file-type-tauri","file-type-tcl","file-type-teal","file-type-tera","file-type-terraform","file-type-test","file-type-testcafe","file-type-testjs","file-type-testts","file-type-tex","file-type-text","file-type-textile","file-type-tfs","file-type-tiltfile","file-type-todo","file-type-toit","file-type-toml","file-type-tox","file-type-travis","file-type-tree","file-type-tres","file-type-truffle","file-type-trunk","file-type-tsbuildinfo","file-type-tscn","file-type-tsconfig","file-type-tsconfig-official","file-type-tslint","file-type-tt","file-type-ttcn","file-type-tuc","file-type-turbo","file-type-twig","file-type-typedoc","file-type-typescript","file-type-typescript-official","file-type-typescriptdef","file-type-typescriptdef-official","file-type-typo3","file-type-uiua","file-type-unibeautify","file-type-unison","file-type-unlicense","file-type-unocss","file-type-vagrant","file-type-vala","file-type-vanilla-extract","file-type-vapi","file-type-vapor","file-type-vash","file-type-vb","file-type-vba","file-type-vbhtml","file-type-vbproj","file-type-vcxproj","file-type-velocity","file-type-vercel","file-type-verilog","file-type-vhdl","file-type-video","file-type-view","file-type-vim","file-type-vite","file-type-vitest","file-type-vlang","file-type-volt","file-type-vscode","file-type-vscode-insiders","file-type-vscode-test","file-type-vscode2","file-type-vscode3","file-type-vsix","file-type-vsixmanifest","file-type-vue","file-type-vueconfig","file-type-wallaby","file-type-wally","file-type-wasm","file-type-watchmanconfig","file-type-wdio","file-type-webp","file-type-webpack","file-type-wenyan","file-type-wercker","file-type-wgsl","file-type-wikitext","file-type-windi","file-type-wolfram","file-type-word","file-type-word2","file-type-wpml","file-type-wurst","file-type-wxml","file-type-wxss","file-type-xcode","file-type-xfl","file-type-xib","file-type-xliff","file-type-xmake","file-type-xml","file-type-xquery","file-type-xsl","file-type-yacc","file-type-yaml","file-type-yamllint","file-type-yandex","file-type-yang","file-type-yarn","file-type-yeoman","file-type-zeit","file-type-zig","file-type-zip","file-type-zip2","folder-type-android","folder-type-android-opened","folder-type-api","folder-type-api-opened","folder-type-app","folder-type-app-opened","folder-type-arangodb","folder-type-arangodb-opened","folder-type-asset","folder-type-asset-opened","folder-type-audio","folder-type-audio-opened","folder-type-aurelia","folder-type-aurelia-opened","folder-type-aws","folder-type-aws-opened","folder-type-azure","folder-type-azure-opened","folder-type-azurepipelines","folder-type-azurepipelines-opened","folder-type-binary","folder-type-binary-opened","folder-type-bloc","folder-type-bloc-opened","folder-type-blueprint","folder-type-blueprint-opened","folder-type-bot","folder-type-bot-opened","folder-type-bower","folder-type-bower-opened","folder-type-buildkite","folder-type-buildkite-opened","folder-type-cake","folder-type-cake-opened","folder-type-certificate","folder-type-certificate-opened","folder-type-changesets","folder-type-changesets-opened","folder-type-chef","folder-type-chef-opened","folder-type-circleci","folder-type-circleci-opened","folder-type-cli","folder-type-cli-opened","folder-type-client","folder-type-client-opened","folder-type-cmake","folder-type-cmake-opened","folder-type-common","folder-type-common-opened","folder-type-component","folder-type-component-opened","folder-type-composer","folder-type-composer-opened","folder-type-config","folder-type-config-opened","folder-type-controller","folder-type-controller-opened","folder-type-coverage","folder-type-coverage-opened","folder-type-css","folder-type-css-opened","folder-type-cubit","folder-type-cubit-opened","folder-type-cypress","folder-type-cypress-opened","folder-type-dapr","folder-type-dapr-opened","folder-type-datadog","folder-type-datadog-opened","folder-type-db","folder-type-db-opened","folder-type-debian","folder-type-debian-opened","folder-type-dependabot","folder-type-dependabot-opened","folder-type-devcontainer","folder-type-devcontainer-opened","folder-type-dist","folder-type-dist-opened","folder-type-docker","folder-type-docker-opened","folder-type-docs","folder-type-docs-opened","folder-type-e2e","folder-type-e2e-opened","folder-type-elasticbeanstalk","folder-type-elasticbeanstalk-opened","folder-type-electron","folder-type-electron-opened","folder-type-expo","folder-type-expo-opened","folder-type-favicon","folder-type-favicon-opened","folder-type-flow","folder-type-flow-opened","folder-type-fonts","folder-type-fonts-opened","folder-type-gcp","folder-type-gcp-opened","folder-type-git","folder-type-git-opened","folder-type-github","folder-type-github-opened","folder-type-gitlab","folder-type-gitlab-opened","folder-type-gradle","folder-type-gradle-opened","folder-type-graphql","folder-type-graphql-opened","folder-type-grunt","folder-type-grunt-opened","folder-type-gulp","folder-type-gulp-opened","folder-type-haxelib","folder-type-haxelib-opened","folder-type-helper","folder-type-helper-opened","folder-type-hook","folder-type-hook-opened","folder-type-husky","folder-type-husky-opened","folder-type-idea","folder-type-idea-opened","folder-type-images","folder-type-images-opened","folder-type-include","folder-type-include-opened","folder-type-interfaces","folder-type-interfaces-opened","folder-type-ios","folder-type-ios-opened","folder-type-js","folder-type-js-opened","folder-type-json","folder-type-json-official","folder-type-json-official-opened","folder-type-json-opened","folder-type-kubernetes","folder-type-kubernetes-opened","folder-type-less","folder-type-less-opened","folder-type-library","folder-type-library-opened","folder-type-light-cypress","folder-type-light-cypress-opened","folder-type-light-electron","folder-type-light-electron-opened","folder-type-light-expo","folder-type-light-expo-opened","folder-type-light-fonts","folder-type-light-fonts-opened","folder-type-light-gradle","folder-type-light-gradle-opened","folder-type-light-meteor","folder-type-light-meteor-opened","folder-type-light-mysql","folder-type-light-mysql-opened","folder-type-light-node","folder-type-light-node-opened","folder-type-light-redux","folder-type-light-redux-opened","folder-type-light-sass","folder-type-light-sass-opened","folder-type-linux","folder-type-linux-opened","folder-type-locale","folder-type-locale-opened","folder-type-log","folder-type-log-opened","folder-type-macos","folder-type-macos-opened","folder-type-mariadb","folder-type-mariadb-opened","folder-type-maven","folder-type-maven-opened","folder-type-memcached","folder-type-memcached-opened","folder-type-meteor","folder-type-meteor-opened","folder-type-middleware","folder-type-middleware-opened","folder-type-minikube","folder-type-minikube-opened","folder-type-mjml","folder-type-mjml-opened","folder-type-mock","folder-type-mock-opened","folder-type-model","folder-type-model-opened","folder-type-module","folder-type-module-opened","folder-type-mojo","folder-type-mojo-opened","folder-type-mongodb","folder-type-mongodb-opened","folder-type-mysql","folder-type-mysql-opened","folder-type-next","folder-type-next-opened","folder-type-nginx","folder-type-nginx-opened","folder-type-nix","folder-type-nix-opened","folder-type-node","folder-type-node-opened","folder-type-notebooks","folder-type-notebooks-opened","folder-type-notification","folder-type-notification-opened","folder-type-nuget","folder-type-nuget-opened","folder-type-nuxt","folder-type-nuxt-opened","folder-type-package","folder-type-package-opened","folder-type-paket","folder-type-paket-opened","folder-type-php","folder-type-php-opened","folder-type-platformio","folder-type-platformio-opened","folder-type-plugin","folder-type-plugin-opened","folder-type-prisma","folder-type-prisma-opened","folder-type-private","folder-type-private-opened","folder-type-public","folder-type-public-opened","folder-type-python","folder-type-python-opened","folder-type-ravendb","folder-type-ravendb-opened","folder-type-redis","folder-type-redis-opened","folder-type-redux","folder-type-redux-opened","folder-type-route","folder-type-route-opened","folder-type-sass","folder-type-sass-opened","folder-type-script","folder-type-script-opened","folder-type-server","folder-type-server-opened","folder-type-services","folder-type-services-opened","folder-type-shared","folder-type-shared-opened","folder-type-snaplet","folder-type-snaplet-opened","folder-type-spin","folder-type-spin-opened","folder-type-src","folder-type-src-opened","folder-type-sso","folder-type-sso-opened","folder-type-story","folder-type-story-opened","folder-type-style","folder-type-style-opened","folder-type-svelte","folder-type-svelte-opened","folder-type-tauri","folder-type-tauri-opened","folder-type-temp","folder-type-temp-opened","folder-type-template","folder-type-template-opened","folder-type-test","folder-type-test-opened","folder-type-theme","folder-type-theme-opened","folder-type-tools","folder-type-tools-opened","folder-type-travis","folder-type-travis-opened","folder-type-trunk","folder-type-trunk-opened","folder-type-turbo","folder-type-turbo-opened","folder-type-typescript","folder-type-typescript-opened","folder-type-typings","folder-type-typings-opened","folder-type-typings2","folder-type-typings2-opened","folder-type-vagrant","folder-type-vagrant-opened","folder-type-vercel","folder-type-vercel-opened","folder-type-video","folder-type-video-opened","folder-type-view","folder-type-view-opened","folder-type-vs","folder-type-vs-opened","folder-type-vs2","folder-type-vs2-opened","folder-type-vscode","folder-type-vscode-opened","folder-type-vscode-test","folder-type-vscode-test-opened","folder-type-vscode-test2","folder-type-vscode-test2-opened","folder-type-vscode-test3","folder-type-vscode-test3-opened","folder-type-vscode2","folder-type-vscode2-opened","folder-type-vscode3","folder-type-vscode3-opened","folder-type-webpack","folder-type-webpack-opened","folder-type-windows","folder-type-windows-opened","folder-type-www","folder-type-www-opened","folder-type-yarn","folder-type-yarn-opened"]}]');data.sort(((e,t)=>e.info.name.localeCompare(t.info.name)));const app=createApp(_sfc_main);app.use(Gt$1,{distance:12}),app.use(pinia),app.use(router),app.use(ui),directive(app),app.mount("#app");export{reactive as $,isOn as A,isReservedProp as B,isHTMLTag as C,isSVGTag as D,EMPTY_OBJ$1 as E,isMathMLTag as F,isVoidTag as G,parseStringStyle as H,makeMap as I,generateCodeFrame as J,getAugmentedNamespace as K,runtimeDom_esmBundler as L,shared_esmBundler as M,NOOP as N,getDefaultExportFromCjs as O,computed as P,resolveComponent as Q,mergeProps as R,rank_default as S,createCommentVNode as T,delete_default as U,Fragment as V,renderList as W,plus_default as X,ElMessage as Y,_export_sfc$1 as Z,_sfc_main$2F as _,useSettingsStore as a,toArray$1 as a$,watch as a0,resolveDirective as a1,createBlock as a2,withKeys as a3,withModifiers as a4,withDirectives as a5,normalizeClass as a6,refresh_default as a7,vShow as a8,nextTick as a9,hotkeys as aA,Transition as aB,KeepAlive as aC,resolveDynamicComponent as aD,TransitionGroup as aE,onBeforeUpdate as aF,eventBus as aG,cloneDeep as aH,resolveRoutePath as aI,Ye$1 as aJ,he as aK,Ge$1 as aL,vModelText as aM,Je$1 as aN,P$2 as aO,Se$1 as aP,normalizeProps as aQ,guardReactiveProps as aR,mergeModels as aS,useModel as aT,Ve as aU,tryOnScopeDispose$1 as aV,tryOnMounted$1 as aW,noop$3 as aX,toValue as aY,useTimeoutFn$1 as aZ,isClient$1 as a_,axios as aa,isRef as ab,api as ac,marked as ad,ApiUser as ae,useRoute as af,useUserStore as ag,question_filled_default as ah,onUnmounted as ai,renderSlot as aj,ElInput as ak,useSlots as al,normalizeStyle$1 as am,onBeforeUnmount as an,cloneVNode as ao,inject as ap,provide as aq,useId$1 as ar,toRef$1 as as,shallowRef as at,h$5 as au,Teleport$1 as av,__vitePreload as aw,isVNode as ax,useKeepAliveStore as ay,useMenuStore as az,onMounted as b,watchImmediate as b0,createSingletonPromise as b1,getCurrentInstance as b2,isObject$5 as b3,toRaw as b4,toRefs as b5,createSlots as b6,render$2 as b7,onBeforeMount as b8,defineStore as b9,toHandlers as ba,u$5 as bb,f$3 as bc,A$4 as bd,i$7 as be,o$3 as bf,watchEffect as bg,T$3 as bh,O$2 as bi,u$7 as bj,o$2 as bk,T$4 as bl,t$6 as bm,i$5 as bn,P$4 as bo,N$7 as bp,_sfc_main$2E as bq,globalSettingsDefault as br,E$5 as bs,createElementBlock as c,defineComponent as d,openBlock as e,createVNode$1 as f,createBaseVNode as g,createTextVNode as h,unref as i,_sfc_main$2C as j,block0 as k,extend$2 as l,isString$4 as m,NO as n,onBeforeRouteLeave as o,isSymbol$1 as p,isBuiltInDirective as q,ref as r,capitalize$1 as s,toDisplayString as t,useRouter as u,camelize as v,withCtx as w,isObject$8 as x,toHandlerKey as y,isArray$6 as z};
|