diff --git a/assets/_...all_-89567759.css b/assets/_...all_-89567759.css new file mode 100644 index 0000000..6752881 --- /dev/null +++ b/assets/_...all_-89567759.css @@ -0,0 +1 @@ +.notfound[data-v-6401f525]{display:flex;align-items:center;justify-content:space-between;width:700px;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.notfound .icon[data-v-6401f525]{width:400px;height:400px}.notfound .content h1[data-v-6401f525]{margin:0;font-size:72px;color:var(--el-text-color-primary)}.notfound .content .desc[data-v-6401f525]{margin:20px 0 30px;font-size:20px;color:var(--el-text-color-secondary)} diff --git a/assets/_...all_-dfa85049.js b/assets/_...all_-dfa85049.js new file mode 100644 index 0000000..7ca1d40 --- /dev/null +++ b/assets/_...all_-dfa85049.js @@ -0,0 +1 @@ +import{d as f,u as v,a as m,y as w,z as h,r as b,A as S,B as g,e as x,o as y,f as I,g as s,h as o,w as B,l as k,t as N,i as C,_ as R,p as V,n as M,q as T,x as c}from"./index-17000ae8.js";const _=t=>(V("data-v-6401f525"),t=t(),M(),t),q={class:"notfound"},z={class:"content"},A=_(()=>o("h1",null,"404",-1)),D=_(()=>o("div",{class:"desc"}," 抱歉,你访问的页面不存在 ",-1)),r=f({__name:"[...all]",setup(t){const a=v(),l=m(),u=w(),i=h(),e=b({inter:NaN,countdown:5});S(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),g(()=>{u.settings.tabbar.enable&&i.remove(a.meta.activeMenu||a.fullPath),e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){l.push("/")}return(E,L)=>{const d=R,p=x("el-button");return y(),I("div",q,[s(d,{name:"404",class:"icon"}),o("div",z,[A,D,s(p,{type:"primary",onClick:n},{default:B(()=>[k(N(C(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])}}});typeof c=="function"&&c(r);const $=T(r,[["__scopeId","data-v-6401f525"]]);export{$ as default}; diff --git a/assets/_...all_-dfa85049.js.br b/assets/_...all_-dfa85049.js.br new file mode 100644 index 0000000..8bea70e Binary files /dev/null and b/assets/_...all_-dfa85049.js.br differ diff --git a/assets/_...all_-dfa85049.js.gz b/assets/_...all_-dfa85049.js.gz new file mode 100644 index 0000000..7ac8312 Binary files /dev/null and b/assets/_...all_-dfa85049.js.gz differ diff --git a/assets/actionbar.demo-eaf0fbac.js b/assets/actionbar.demo-eaf0fbac.js new file mode 100644 index 0000000..ae9f391 --- /dev/null +++ b/assets/actionbar.demo-eaf0fbac.js @@ -0,0 +1 @@ +import{_ as z}from"./index-6aa92ec0.js";import{d as w,r as A,e as u,o as E,f as F,g as e,w as d,i as a,l as i,h as k,S as R,R as S,x as v}from"./index-17000ae8.js";const T=k("p",null,"FixedActionBar",-1),$=k("p",{style:{"margin-bottom":"0"}}," 避免因页面过长导致操作按钮需要滚动到页面底部才能操作,例如表单页 ",-1),q=w({name:"ComponentExampleActionbar"}),D=w({...q,setup(G){const l=A({name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""});return(H,o)=>{const c=R,s=u("el-input"),n=u("el-form-item"),r=u("el-option"),V=u("el-select"),f=u("el-date-picker"),p=u("el-col"),b=u("el-time-picker"),y=u("el-switch"),m=u("el-checkbox"),g=u("el-checkbox-group"),_=u("el-radio"),U=u("el-radio-group"),B=u("el-form"),C=u("el-row"),j=S,x=u("el-button"),N=z;return E(),F("div",null,[e(c,{title:"固定底部操作栏",content:"避免因页面过长导致操作按钮需要滚动到页面底部才能操作,例如表单页"},{content:d(()=>[T,$]),_:1}),e(j,null,{default:d(()=>[e(C,null,{default:d(()=>[e(p,{md:24,lg:12},{default:d(()=>[e(B,{ref_key:"form",ref:l,model:a(l),"label-width":"120px"},{default:d(()=>[e(n,{label:"活动名称"},{default:d(()=>[e(s,{modelValue:a(l).name,"onUpdate:modelValue":o[0]||(o[0]=t=>a(l).name=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动区域"},{default:d(()=>[e(V,{modelValue:a(l).region,"onUpdate:modelValue":o[1]||(o[1]=t=>a(l).region=t),placeholder:"请选择活动区域"},{default:d(()=>[e(r,{label:"区域一",value:"shanghai"}),e(r,{label:"区域二",value:"beijing"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动时间"},{default:d(()=>[e(p,{span:11},{default:d(()=>[e(f,{modelValue:a(l).date1,"onUpdate:modelValue":o[2]||(o[2]=t=>a(l).date1=t),type:"date",placeholder:"选择日期",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(p,{class:"line",span:2},{default:d(()=>[i(" - ")]),_:1}),e(p,{span:11},{default:d(()=>[e(b,{modelValue:a(l).date2,"onUpdate:modelValue":o[3]||(o[3]=t=>a(l).date2=t),placeholder:"选择时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{label:"即时配送"},{default:d(()=>[e(y,{modelValue:a(l).delivery,"onUpdate:modelValue":o[4]||(o[4]=t=>a(l).delivery=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动性质"},{default:d(()=>[e(g,{modelValue:a(l).type,"onUpdate:modelValue":o[5]||(o[5]=t=>a(l).type=t)},{default:d(()=>[e(m,{label:"美食/餐厅线上活动",name:"type"}),e(m,{label:"地推活动",name:"type"}),e(m,{label:"线下主题活动",name:"type"}),e(m,{label:"单纯品牌曝光",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"特殊资源"},{default:d(()=>[e(U,{modelValue:a(l).resource,"onUpdate:modelValue":o[6]||(o[6]=t=>a(l).resource=t)},{default:d(()=>[e(_,{label:"线上品牌商赞助"}),e(_,{label:"线下场地免费"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动形式"},{default:d(()=>[e(s,{modelValue:a(l).desc,"onUpdate:modelValue":o[7]||(o[7]=t=>a(l).desc=t),type:"textarea"},null,8,["modelValue"])]),_:1}),e(n,{label:"活动名称"},{default:d(()=>[e(s,{modelValue:a(l).name,"onUpdate:modelValue":o[8]||(o[8]=t=>a(l).name=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动区域"},{default:d(()=>[e(V,{modelValue:a(l).region,"onUpdate:modelValue":o[9]||(o[9]=t=>a(l).region=t),placeholder:"请选择活动区域"},{default:d(()=>[e(r,{label:"区域一",value:"shanghai"}),e(r,{label:"区域二",value:"beijing"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动时间"},{default:d(()=>[e(p,{span:11},{default:d(()=>[e(f,{modelValue:a(l).date1,"onUpdate:modelValue":o[10]||(o[10]=t=>a(l).date1=t),type:"date",placeholder:"选择日期",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(p,{class:"line",span:2},{default:d(()=>[i(" - ")]),_:1}),e(p,{span:11},{default:d(()=>[e(b,{modelValue:a(l).date2,"onUpdate:modelValue":o[11]||(o[11]=t=>a(l).date2=t),placeholder:"选择时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{label:"即时配送"},{default:d(()=>[e(y,{modelValue:a(l).delivery,"onUpdate:modelValue":o[12]||(o[12]=t=>a(l).delivery=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动性质"},{default:d(()=>[e(g,{modelValue:a(l).type,"onUpdate:modelValue":o[13]||(o[13]=t=>a(l).type=t)},{default:d(()=>[e(m,{label:"美食/餐厅线上活动",name:"type"}),e(m,{label:"地推活动",name:"type"}),e(m,{label:"线下主题活动",name:"type"}),e(m,{label:"单纯品牌曝光",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"特殊资源"},{default:d(()=>[e(U,{modelValue:a(l).resource,"onUpdate:modelValue":o[14]||(o[14]=t=>a(l).resource=t)},{default:d(()=>[e(_,{label:"线上品牌商赞助"}),e(_,{label:"线下场地免费"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动形式"},{default:d(()=>[e(s,{modelValue:a(l).desc,"onUpdate:modelValue":o[15]||(o[15]=t=>a(l).desc=t),type:"textarea"},null,8,["modelValue"])]),_:1}),e(n,{label:"活动名称"},{default:d(()=>[e(s,{modelValue:a(l).name,"onUpdate:modelValue":o[16]||(o[16]=t=>a(l).name=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动区域"},{default:d(()=>[e(V,{modelValue:a(l).region,"onUpdate:modelValue":o[17]||(o[17]=t=>a(l).region=t),placeholder:"请选择活动区域"},{default:d(()=>[e(r,{label:"区域一",value:"shanghai"}),e(r,{label:"区域二",value:"beijing"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动时间"},{default:d(()=>[e(p,{span:11},{default:d(()=>[e(f,{modelValue:a(l).date1,"onUpdate:modelValue":o[18]||(o[18]=t=>a(l).date1=t),type:"date",placeholder:"选择日期",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(p,{class:"line",span:2},{default:d(()=>[i(" - ")]),_:1}),e(p,{span:11},{default:d(()=>[e(b,{modelValue:a(l).date2,"onUpdate:modelValue":o[19]||(o[19]=t=>a(l).date2=t),placeholder:"选择时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{label:"即时配送"},{default:d(()=>[e(y,{modelValue:a(l).delivery,"onUpdate:modelValue":o[20]||(o[20]=t=>a(l).delivery=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动性质"},{default:d(()=>[e(g,{modelValue:a(l).type,"onUpdate:modelValue":o[21]||(o[21]=t=>a(l).type=t)},{default:d(()=>[e(m,{label:"美食/餐厅线上活动",name:"type"}),e(m,{label:"地推活动",name:"type"}),e(m,{label:"线下主题活动",name:"type"}),e(m,{label:"单纯品牌曝光",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"特殊资源"},{default:d(()=>[e(U,{modelValue:a(l).resource,"onUpdate:modelValue":o[22]||(o[22]=t=>a(l).resource=t)},{default:d(()=>[e(_,{label:"线上品牌商赞助"}),e(_,{label:"线下场地免费"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动形式"},{default:d(()=>[e(s,{modelValue:a(l).desc,"onUpdate:modelValue":o[23]||(o[23]=t=>a(l).desc=t),type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1})]),_:1})]),_:1}),e(N,null,{default:d(()=>[e(x,{type:"primary",size:"large"},{default:d(()=>[i(" 立即创建 ")]),_:1}),e(x,{size:"large"},{default:d(()=>[i(" 取消 ")]),_:1})]),_:1})])}}});typeof v=="function"&&v(D);export{D as default}; diff --git a/assets/actionbar.demo-eaf0fbac.js.br b/assets/actionbar.demo-eaf0fbac.js.br new file mode 100644 index 0000000..01c53ca Binary files /dev/null and b/assets/actionbar.demo-eaf0fbac.js.br differ diff --git a/assets/actionbar.demo-eaf0fbac.js.gz b/assets/actionbar.demo-eaf0fbac.js.gz new file mode 100644 index 0000000..1c7c1e5 Binary files /dev/null and b/assets/actionbar.demo-eaf0fbac.js.gz differ diff --git a/assets/advanced-0ffe8b3b.js b/assets/advanced-0ffe8b3b.js new file mode 100644 index 0000000..ac6187b --- /dev/null +++ b/assets/advanced-0ffe8b3b.js @@ -0,0 +1 @@ +import{_ as D}from"./index-6aa92ec0.js";import{d as G,r as I,G as L,e as n,o as i,f as c,g as e,w as l,i as t,l as _,L as y,t as V,Q,S as R,R as T,_ as j,q as H,x as g}from"./index-17000ae8.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_name_PcasCascader_lang-bb8b02e4.js";const K={key:1},O={key:1},P={key:1},v=G({__name:"advanced",setup(W){const o=I({name:"",sex:1,birthday:"",idcard:"",area:[],address:"",familyMember:[{isEdit:!1,name:"张三",mobile:"13111111111",relationship:"父亲"},{isEdit:!1,name:"李四",mobile:"13122222222",relationship:"母亲"}]}),x=L(()=>o.value.familyMember.every(f=>!f.isEdit));function h(){o.value.familyMember.push({isEdit:!0,name:"",mobile:"",relationship:""})}function U(f){o.value.familyMember.splice(f,1)}return(f,d)=>{const E=R,r=n("el-input"),u=n("el-form-item"),s=n("el-col"),C=n("el-date-picker"),w=n("el-radio-button"),M=n("el-radio-group"),z=J,$=n("el-row"),k=T,b=n("el-table-column"),p=n("el-button"),F=n("el-popconfirm"),B=n("el-table"),N=j,S=n("el-icon"),q=n("el-form"),A=D;return i(),c("div",null,[e(E,{title:"高级表单",content:"当一次性提交大量数据时,可使用高级表单。"}),e(q,{"label-position":"top","label-width":"80px"},{default:l(()=>[e(k,{title:"员工信息"},{default:l(()=>[e($,{gutter:20},{default:l(()=>[e(s,{md:8},{default:l(()=>[e(u,{label:"姓名"},{default:l(()=>[e(r,{modelValue:t(o).name,"onUpdate:modelValue":d[0]||(d[0]=a=>t(o).name=a),placeholder:"请输入真实姓名"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{md:8},{default:l(()=>[e(u,{label:"生日"},{default:l(()=>[e(C,{modelValue:t(o).birthday,"onUpdate:modelValue":d[1]||(d[1]=a=>t(o).birthday=a),type:"date",placeholder:"请选择你的出生日期"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{md:8},{default:l(()=>[e(u,{label:"性别"},{default:l(()=>[e(M,{modelValue:t(o).sex,"onUpdate:modelValue":d[2]||(d[2]=a=>t(o).sex=a)},{default:l(()=>[e(w,{label:"1"},{default:l(()=>[_(" 男 ")]),_:1}),e(w,{label:"0"},{default:l(()=>[_(" 女 ")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{md:8},{default:l(()=>[e(u,{label:"身份证号"},{default:l(()=>[e(r,{modelValue:t(o).idcard,"onUpdate:modelValue":d[3]||(d[3]=a=>t(o).idcard=a),placeholder:"请输入18位身份证号"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{md:8},{default:l(()=>[e(u,{label:"籍贯"},{default:l(()=>[e(z,{modelValue:t(o).area,"onUpdate:modelValue":d[4]||(d[4]=a=>t(o).area=a)},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{md:8},{default:l(()=>[e(u,{label:"家庭住址"},{default:l(()=>[e(r,{modelValue:t(o).address,"onUpdate:modelValue":d[5]||(d[5]=a=>t(o).address=a),placeholder:"请输入家庭住址"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(k,{title:"家庭成员"},{default:l(()=>[e(B,{data:t(o).familyMember,style:{width:"100%"}},{default:l(()=>[e(b,{label:"姓名"},{default:l(a=>[a.row.isEdit?(i(),y(r,{key:0,modelValue:a.row.name,"onUpdate:modelValue":m=>a.row.name=m,size:"small"},null,8,["modelValue","onUpdate:modelValue"])):(i(),c("span",K,V(a.row.name),1))]),_:1}),e(b,{label:"手机号"},{default:l(a=>[a.row.isEdit?(i(),y(r,{key:0,modelValue:a.row.mobile,"onUpdate:modelValue":m=>a.row.mobile=m,size:"small"},null,8,["modelValue","onUpdate:modelValue"])):(i(),c("span",O,V(a.row.mobile),1))]),_:1}),e(b,{label:"关系"},{default:l(a=>[a.row.isEdit?(i(),y(r,{key:0,modelValue:a.row.relationship,"onUpdate:modelValue":m=>a.row.relationship=m,size:"small"},null,8,["modelValue","onUpdate:modelValue"])):(i(),c("span",P,V(a.row.relationship),1))]),_:1}),e(b,{label:"操作",width:"200",align:"center"},{default:l(a=>[a.row.isEdit?(i(),y(p,{key:0,type:"primary",plain:"",size:"small",onClick:m=>a.row.isEdit=!1},{default:l(()=>[_(" 保存 ")]),_:2},1032,["onClick"])):(i(),c(Q,{key:1},[e(p,{type:"primary",plain:"",size:"small",onClick:m=>a.row.isEdit=!0},{default:l(()=>[_(" 编辑 ")]),_:2},1032,["onClick"]),e(F,{title:"是否要删除此行?",style:{"margin-left":"10px"},onConfirm:m=>U(a.$index)},{reference:l(()=>[e(p,{type:"danger",plain:"",size:"small"},{default:l(()=>[_(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])],64))]),_:1})]),_:1},8,["data"]),e(p,{disabled:!t(x),style:{"margin-top":"20px",width:"100%"},onClick:h},{icon:l(()=>[e(S,null,{default:l(()=>[e(N,{name:"i-ep:plus"})]),_:1})]),default:l(()=>[_(" 新增成员 ")]),_:1},8,["disabled"])]),_:1})]),_:1}),e(A,null,{default:l(()=>[e(p,{type:"primary",size:"large"},{default:l(()=>[_(" 提交 ")]),_:1})]),_:1})])}}});typeof g=="function"&&g(v);const ee=H(v,[["__scopeId","data-v-81baa813"]]);export{ee as default}; diff --git a/assets/advanced-0ffe8b3b.js.br b/assets/advanced-0ffe8b3b.js.br new file mode 100644 index 0000000..2c8130b Binary files /dev/null and b/assets/advanced-0ffe8b3b.js.br differ diff --git a/assets/advanced-0ffe8b3b.js.gz b/assets/advanced-0ffe8b3b.js.gz new file mode 100644 index 0000000..4b18eaa Binary files /dev/null and b/assets/advanced-0ffe8b3b.js.gz differ diff --git a/assets/advanced-ebaf7d45.css b/assets/advanced-ebaf7d45.css new file mode 100644 index 0000000..7e25c45 --- /dev/null +++ b/assets/advanced-ebaf7d45.css @@ -0,0 +1 @@ +[data-v-81baa813] .el-date-editor{width:100%} diff --git a/assets/alert-0845f870.css b/assets/alert-0845f870.css new file mode 100644 index 0000000..ca37bf9 --- /dev/null +++ b/assets/alert-0845f870.css @@ -0,0 +1 @@ +.alert[data-v-dd84dbf7]{padding:20px 20px 0;background-color:var(--g-app-bg);transition:background-color .3s} diff --git a/assets/alert-8aa56ecd.js b/assets/alert-8aa56ecd.js new file mode 100644 index 0000000..0228697 --- /dev/null +++ b/assets/alert-8aa56ecd.js @@ -0,0 +1 @@ +import{q as t,e as o,o as s,f as _,g as c}from"./index-17000ae8.js";const a={},n={class:"alert"};function l(r,d){const e=o("el-alert");return s(),_("div",n,[c(e,{"show-icon":"",type:"info",title:"「插件」栏目下均为第三方插件的演示页面,框架默认并不包含这些插件。如需使用,请先安装对应插件。",closable:!1})])}const p=t(a,[["render",l],["__scopeId","data-v-dd84dbf7"]]);export{p as default}; diff --git a/assets/animation-e19a1b1c.css b/assets/animation-e19a1b1c.css new file mode 100644 index 0000000..7ec6e05 --- /dev/null +++ b/assets/animation-e19a1b1c.css @@ -0,0 +1,7 @@ +@charset "UTF-8";/*! +* animate.css - https://animate.style/ +* Version - 4.1.1 +* Licensed under the MIT license - http://opensource.org/licenses/MIT +* +* Copyright (c) 2020 Animate.css +*/:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.box[data-v-35b0b0cb]{width:100px;height:100px;background-color:#00bfff} diff --git a/assets/animation-e19a1b1c.css.br b/assets/animation-e19a1b1c.css.br new file mode 100644 index 0000000..604068f Binary files /dev/null and b/assets/animation-e19a1b1c.css.br differ diff --git a/assets/animation-e19a1b1c.css.gz b/assets/animation-e19a1b1c.css.gz new file mode 100644 index 0000000..47ea0c0 Binary files /dev/null and b/assets/animation-e19a1b1c.css.gz differ diff --git a/assets/animation-f2eedd0f.js b/assets/animation-f2eedd0f.js new file mode 100644 index 0000000..bbd5aa8 --- /dev/null +++ b/assets/animation-f2eedd0f.js @@ -0,0 +1 @@ +import{d as y,r as f,e as i,o as t,f as u,g as a,w as e,h as C,l as d,i as n,V as k,Q as p,U as v,L as c,t as X,T as Y,O as $,_ as j,S as F,R as N,q as A,x as w}from"./index-17000ae8.js";import Z from"./alert-8aa56ecd.js";const q={style:{"margin-bottom":"0"}},E={key:0,class:"box"},B=y({__name:"animation",setup(Q){const r=f([{label:"Attention seekers",options:[{label:"bounce",value:"animate__bounce"},{label:"flash",value:"animate__flash"},{label:"pulse",value:"animate__pulse"},{label:"rubberBand",value:"animate__rubberBand"},{label:"shakeX",value:"animate__shakeX"},{label:"shakeY",value:"animate__shakeY"},{label:"headShake",value:"animate__headShake"},{label:"swing",value:"animate__swing"},{label:"tada",value:"animate__tada"},{label:"wobble",value:"animate__wobble"},{label:"jello",value:"animate__jello"},{label:"heartBeat",value:"animate__heartBeat"}]},{label:"Back entrances",options:[{label:"backInDown",value:"animate__backInDown"},{label:"backInLeft",value:"animate__backInLeft"},{label:"backInRight",value:"animate__backInRight"},{label:"backInUp",value:"animate__backInUp"}]},{label:"Back exits",options:[{label:"backOutDown",value:"animate__backOutDown"},{label:"backOutLeft",value:"animate__backOutLeft"},{label:"backOutRight",value:"animate__backOutRight"},{label:"backOutUp",value:"animate__backOutUp"}]},{label:"Bouncing entrances",options:[{label:"bounceIn",value:"animate__bounceIn"},{label:"bounceInDown",value:"animate__bounceInDown"},{label:"bounceInLeft",value:"animate__bounceInLeft"},{label:"bounceInRight",value:"animate__bounceInRight"},{label:"bounceInUp",value:"animate__bounceInUp"}]},{label:"Bouncing exits",options:[{label:"bounceOut",value:"animate__bounceOut"},{label:"bounceOutDown",value:"animate__bounceOutDown"},{label:"bounceOutLeft",value:"animate__bounceOutLeft"},{label:"bounceOutRight",value:"animate__bounceOutRight"},{label:"bounceOutUp",value:"animate__bounceOutUp"}]},{label:"Fading entrances",options:[{label:"fadeIn",value:"animate__fadeIn"},{label:"fadeInDown",value:"animate__fadeInDown"},{label:"fadeInDownBig",value:"animate__fadeInDownBig"},{label:"fadeInLeft",value:"animate__fadeInLeft"},{label:"fadeInLeftBig",value:"animate__fadeInLeftBig"},{label:"fadeInRight",value:"animate__fadeInRight"},{label:"fadeInRightBig",value:"animate__fadeInRightBig"},{label:"fadeInUp",value:"animate__fadeInUp"},{label:"fadeInUpBig",value:"animate__fadeInUpBig"},{label:"fadeInTopLeft",value:"animate__fadeInTopLeft"},{label:"fadeInTopRight",value:"animate__fadeInTopRight"},{label:"fadeInBottomLeft",value:"animate__fadeInBottomLeft"},{label:"fadeInBottomRight",value:"animate__fadeInBottomRight"}]},{label:"Fading exits",options:[{label:"fadeOut",value:"animate__fadeOut"},{label:"fadeOutDown",value:"animate__fadeOutDown"},{label:"fadeOutDownBig",value:"animate__fadeOutDownBig"},{label:"fadeOutLeft",value:"animate__fadeOutLeft"},{label:"fadeOutLeftBig",value:"animate__fadeOutLeftBig"},{label:"fadeOutRight",value:"animate__fadeOutRight"},{label:"fadeOutRightBig",value:"animate__fadeOutRightBig"},{label:"fadeOutUp",value:"animate__fadeOutUp"},{label:"fadeOutUpBig",value:"animate__fadeOutUpBig"},{label:"fadeOutTopLeft",value:"animate__fadeOutTopLeft"},{label:"fadeOutTopRight",value:"animate__fadeOutTopRight"},{label:"fadeOutBottomLeft",value:"animate__fadeOutBottomLeft"},{label:"fadeOutBottomRight",value:"animate__fadeOutBottomRight"}]},{label:"Flippers",options:[{label:"flip",value:"animate__flip"},{label:"flipInX",value:"animate__flipInX"},{label:"flipInY",value:"animate__flipInY"},{label:"flipOutX",value:"animate__flipOutX"},{label:"flipOutY",value:"animate__flipOutY"}]},{label:"Lightspeed",options:[{label:"lightSpeedInRight",value:"animate__lightSpeedInRight"},{label:"lightSpeedInLeft",value:"animate__lightSpeedInLeft"},{label:"lightSpeedOutRight",value:"animate__lightSpeedOutRight"},{label:"lightSpeedOutLeft",value:"animate__lightSpeedOutLeft"}]},{label:"Rotating entrances",options:[{label:"rotateIn",value:"animate__rotateIn"},{label:"rotateInDownLeft",value:"animate__rotateInDownLeft"},{label:"rotateInDownRight",value:"animate__rotateInDownRight"},{label:"rotateInUpLeft",value:"animate__rotateInUpLeft"},{label:"rotateInUpRight",value:"animate__rotateInUpRight"}]},{label:"Rotating exits",options:[{label:"rotateOut",value:"animate__rotateOut"},{label:"rotateOutDownLeft",value:"animate__rotateOutDownLeft"},{label:"rotateOutDownRight",value:"animate__rotateOutDownRight"},{label:"rotateOutUpLeft",value:"animate__rotateOutUpLeft"},{label:"rotateOutUpRight",value:"animate__rotateOutUpRight"}]},{label:"Specials",options:[{label:"hinge",value:"animate__hinge"},{label:"jackInTheBox",value:"animate__jackInTheBox"},{label:"rollIn",value:"animate__rollIn"},{label:"rollOut",value:"animate__rollOut"}]},{label:"Zooming entrances",options:[{label:"zoomIn",value:"animate__zoomIn"},{label:"zoomInDown",value:"animate__zoomInDown"},{label:"zoomInLeft",value:"animate__zoomInLeft"},{label:"zoomInRight",value:"animate__zoomInRight"},{label:"zoomInUp",value:"animate__zoomInUp"}]},{label:"Zooming exits",options:[{label:"zoomOut",value:"animate__zoomOut"},{label:"zoomOutDown",value:"animate__zoomOutDown"},{label:"zoomOutLeft",value:"animate__zoomOutLeft"},{label:"zoomOutRight",value:"animate__zoomOutRight"},{label:"zoomOutUp",value:"animate__zoomOutUp"}]},{label:"Sliding entrances",options:[{label:"slideInDown",value:"animate__slideInDown"},{label:"slideInLeft",value:"animate__slideInLeft"},{label:"slideInRight",value:"animate__slideInRight"},{label:"slideInUp",value:"animate__slideInUp"}]},{label:"Sliding exits",options:[{label:"slideOutDown",value:"animate__slideOutDown"},{label:"slideOutLeft",value:"animate__slideOutLeft"},{label:"slideOutRight",value:"animate__slideOutRight"},{label:"slideOutUp",value:"animate__slideOutUp"}]}]),b=f("animate__bounce"),m=f("animate__bounce"),s=f(!0);function U(I){window.open(I,"_blank")}return(I,o)=>{const D=i("el-tag"),z=j,x=i("el-icon"),O=i("el-button"),S=F,h=i("el-option"),L=i("el-option-group"),R=i("el-select"),g=i("el-form-item"),T=i("el-form"),V=N;return t(),u("div",null,[a(Z),a(S,{title:"过渡动画",content:"结合 组件使用"},{content:e(()=>[C("p",q,[d(" 安装命令:"),a(D,null,{default:e(()=>[d("pnpm add animate.css")]),_:1})])]),default:e(()=>[a(O,{onClick:o[0]||(o[0]=l=>U("https://github.com/animate-css/animate.css"))},{icon:e(()=>[a(x,null,{default:e(()=>[a(z,{name:"i-ep:link"})]),_:1})]),default:e(()=>[d(" 访问 animate.css ")]),_:1})]),_:1}),a(V,null,{default:e(()=>[a(T,null,{default:e(()=>[a(g,{label:"进入动画(显示)"},{default:e(()=>[a(R,{modelValue:n(b),"onUpdate:modelValue":o[1]||(o[1]=l=>k(b)?b.value=l:null),filterable:""},{default:e(()=>[(t(!0),u(p,null,v(n(r),l=>(t(),c(L,{key:l.label,label:l.label},{default:e(()=>[(t(!0),u(p,null,v(l.options,_=>(t(),c(h,{key:_.label,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(g,{label:"离开动画(隐藏)"},{default:e(()=>[a(R,{modelValue:n(m),"onUpdate:modelValue":o[2]||(o[2]=l=>k(m)?m.value=l:null),filterable:""},{default:e(()=>[(t(!0),u(p,null,v(n(r),l=>(t(),c(L,{key:l.label,label:l.label},{default:e(()=>[(t(!0),u(p,null,v(l.options,_=>(t(),c(h,{key:_.label,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(g,null,{default:e(()=>[a(O,{onClick:o[3]||(o[3]=l=>s.value=!n(s))},{default:e(()=>[d(X(n(s)?"隐藏":"显示"),1)]),_:1})]),_:1})]),_:1}),a(Y,{"enter-active-class":`animate__animated ${n(b)}`,"leave-active-class":`animate__animated ${n(m)}`},{default:e(()=>[n(s)?(t(),u("div",E)):$("",!0)]),_:1},8,["enter-active-class","leave-active-class"])]),_:1})])}}});typeof w=="function"&&w(B);const J=A(B,[["__scopeId","data-v-35b0b0cb"]]);export{J as default}; diff --git a/assets/animation-f2eedd0f.js.br b/assets/animation-f2eedd0f.js.br new file mode 100644 index 0000000..ff2b1db Binary files /dev/null and b/assets/animation-f2eedd0f.js.br differ diff --git a/assets/animation-f2eedd0f.js.gz b/assets/animation-f2eedd0f.js.gz new file mode 100644 index 0000000..b9ca5fe Binary files /dev/null and b/assets/animation-f2eedd0f.js.gz differ diff --git a/assets/basic-09901374.css b/assets/basic-09901374.css new file mode 100644 index 0000000..9615e84 --- /dev/null +++ b/assets/basic-09901374.css @@ -0,0 +1 @@ +.el-pagination[data-v-62b9df40]{margin-top:20px} diff --git a/assets/basic-3be2efce.js b/assets/basic-3be2efce.js new file mode 100644 index 0000000..3a4a1a5 --- /dev/null +++ b/assets/basic-3be2efce.js @@ -0,0 +1 @@ +import{d as j,r as B,e as d,o as N,f as h,g as e,w as l,i as t,l as p,S as E,R,x as f}from"./index-17000ae8.js";const S=j({__name:"basic",setup(T){const o=B({name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""});return(q,n)=>{const V=E,s=d("el-input"),u=d("el-form-item"),r=d("el-option"),b=d("el-select"),y=d("el-date-picker"),_=d("el-col"),g=d("el-time-picker"),x=d("el-switch"),m=d("el-checkbox"),k=d("el-checkbox-group"),c=d("el-radio"),w=d("el-radio-group"),i=d("el-button"),U=d("el-form"),v=d("el-row"),C=R;return N(),h("div",null,[e(V,{title:"基础表单",content:"表单页用于向用户收集或验证信息,基础表单常见于数据项较少的表单场景。表单域标签也可支持响应式。"}),e(C,null,{default:l(()=>[e(v,{type:"flex",justify:"center"},{default:l(()=>[e(_,{md:12,sm:18},{default:l(()=>[e(U,{model:t(o),"label-width":"80px"},{default:l(()=>[e(u,{label:"活动名称"},{default:l(()=>[e(s,{modelValue:t(o).name,"onUpdate:modelValue":n[0]||(n[0]=a=>t(o).name=a)},null,8,["modelValue"])]),_:1}),e(u,{label:"活动区域"},{default:l(()=>[e(b,{modelValue:t(o).region,"onUpdate:modelValue":n[1]||(n[1]=a=>t(o).region=a),placeholder:"请选择活动区域"},{default:l(()=>[e(r,{label:"区域一",value:"shanghai"}),e(r,{label:"区域二",value:"beijing"})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"活动时间"},{default:l(()=>[e(_,{span:11},{default:l(()=>[e(y,{modelValue:t(o).date1,"onUpdate:modelValue":n[2]||(n[2]=a=>t(o).date1=a),type:"date",placeholder:"选择日期",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(_,{class:"line",span:2},{default:l(()=>[p(" - ")]),_:1}),e(_,{span:11},{default:l(()=>[e(g,{modelValue:t(o).date2,"onUpdate:modelValue":n[3]||(n[3]=a=>t(o).date2=a),placeholder:"选择时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{label:"即时配送"},{default:l(()=>[e(x,{modelValue:t(o).delivery,"onUpdate:modelValue":n[4]||(n[4]=a=>t(o).delivery=a)},null,8,["modelValue"])]),_:1}),e(u,{label:"活动性质"},{default:l(()=>[e(k,{modelValue:t(o).type,"onUpdate:modelValue":n[5]||(n[5]=a=>t(o).type=a)},{default:l(()=>[e(m,{label:"美食/餐厅线上活动",name:"type"}),e(m,{label:"地推活动",name:"type"}),e(m,{label:"线下主题活动",name:"type"}),e(m,{label:"单纯品牌曝光",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"特殊资源"},{default:l(()=>[e(w,{modelValue:t(o).resource,"onUpdate:modelValue":n[6]||(n[6]=a=>t(o).resource=a)},{default:l(()=>[e(c,{label:"线上品牌商赞助"}),e(c,{label:"线下场地免费"})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"活动形式"},{default:l(()=>[e(s,{modelValue:t(o).desc,"onUpdate:modelValue":n[7]||(n[7]=a=>t(o).desc=a),type:"textarea"},null,8,["modelValue"])]),_:1}),e(u,null,{default:l(()=>[e(i,{type:"primary"},{default:l(()=>[p(" 立即创建 ")]),_:1}),e(i,null,{default:l(()=>[p("取消")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1})]),_:1})])}}});typeof f=="function"&&f(S);export{S as default}; diff --git a/assets/basic-3be2efce.js.br b/assets/basic-3be2efce.js.br new file mode 100644 index 0000000..d2b0425 Binary files /dev/null and b/assets/basic-3be2efce.js.br differ diff --git a/assets/basic-3be2efce.js.gz b/assets/basic-3be2efce.js.gz new file mode 100644 index 0000000..db0a6de Binary files /dev/null and b/assets/basic-3be2efce.js.gz differ diff --git a/assets/basic-6bbd65ba.js b/assets/basic-6bbd65ba.js new file mode 100644 index 0000000..841ebf3 --- /dev/null +++ b/assets/basic-6bbd65ba.js @@ -0,0 +1 @@ +import{d as M,r as g,e as n,o as N,f as j,g as e,w as t,l as s,i as _,k as q,E as c,b_ as I,S as R,_ as S,R as T,q as U,x as b}from"./index-17000ae8.js";import{_ as A}from"./index-bc97356d.js";const y=M({__name:"basic",setup(F){const i=g({title:""}),h=g([{id:1,title:"标题1"},{id:2,title:"标题2"},{id:3,title:"标题3"},{id:4,title:"标题4"},{id:5,title:"标题5"},{id:6,title:"标题6"},{id:7,title:"标题7"},{id:8,title:"标题8"},{id:9,title:"标题9"},{id:10,title:"标题10"}]);function r(){c.success({message:"你点击了筛选",center:!0})}function w(){c.success({message:"你点击了新增",center:!0})}function k(l){c.success({message:`你点击了编辑 ${l.title}}`,center:!0})}function x(l){I.confirm(`确认删除「${l.title}」吗?`,"确认信息").then(()=>{c.success({message:"你点击了删除",center:!0})}).catch(()=>{})}return(l,u)=>{const C=R,p=S,d=n("el-icon"),o=n("el-button"),v=n("el-input"),m=n("el-form-item"),$=n("el-col"),z=n("el-row"),E=n("el-form"),V=A,f=n("el-table-column"),B=n("el-table"),K=n("el-pagination"),D=T;return N(),j("div",null,[e(C,{title:"基础列表",content:"最常见的列表展示形式,包含增删改查等基础操作。"}),e(D,null,{default:t(()=>[e(o,{type:"primary",size:"large",onClick:w},{icon:t(()=>[e(d,null,{default:t(()=>[e(p,{name:"i-ep:plus"})]),_:1})]),default:t(()=>[s(" 新增 ")]),_:1}),e(V,null,{default:t(()=>[e(E,{model:_(i),size:"default","label-width":"100px","label-suffix":":"},{default:t(()=>[e(z,null,{default:t(()=>[e($,{span:12},{default:t(()=>[e(m,{label:"名称"},{default:t(()=>[e(v,{modelValue:_(i).title,"onUpdate:modelValue":u[0]||(u[0]=a=>_(i).title=a),placeholder:"请输入名称,支持模糊查询",clearable:"",onKeydown:q(r,["enter"]),onClear:r},null,8,["modelValue","onKeydown"])]),_:1})]),_:1})]),_:1}),e(m,null,{default:t(()=>[e(o,{type:"primary",onClick:r},{icon:t(()=>[e(d,null,{default:t(()=>[e(p,{name:"i-ep:search"})]),_:1})]),default:t(()=>[s(" 筛选 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(B,{class:"list-table",data:_(h),border:"",stripe:"","highlight-current-row":""},{default:t(()=>[e(f,{prop:"title",label:"名称"}),e(f,{label:"操作",width:"200",align:"center"},{default:t(a=>[e(o,{type:"primary",size:"small",plain:"",onClick:L=>k(a.row)},{default:t(()=>[s(" 编辑 ")]),_:2},1032,["onClick"]),e(o,{type:"danger",size:"small",plain:"",onClick:L=>x(a.row)},{default:t(()=>[s(" 删除 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),e(K,{total:100,layout:"total, sizes, ->, prev, pager, next, jumper",background:""})]),_:1})])}}});typeof b=="function"&&b(y);const J=U(y,[["__scopeId","data-v-62b9df40"]]);export{J as default}; diff --git a/assets/basic-6bbd65ba.js.br b/assets/basic-6bbd65ba.js.br new file mode 100644 index 0000000..a38b401 Binary files /dev/null and b/assets/basic-6bbd65ba.js.br differ diff --git a/assets/basic-6bbd65ba.js.gz b/assets/basic-6bbd65ba.js.gz new file mode 100644 index 0000000..0b218aa Binary files /dev/null and b/assets/basic-6bbd65ba.js.gz differ diff --git a/assets/batchactionbar.demo-8e397372.js b/assets/batchactionbar.demo-8e397372.js new file mode 100644 index 0000000..6fd356f --- /dev/null +++ b/assets/batchactionbar.demo-8e397372.js @@ -0,0 +1 @@ +import{d as b,r,e as u,o as v,f as w,g as e,w as t,i as a,l,h as g,S as x,R as z,x as m}from"./index-17000ae8.js";import{_ as B}from"./index-fcedd18d.js";const S=g("p",null,"BatchActionBar",-1),A=g("p",{style:{"margin-bottom":"0"}}," 该组件需要和 ElTable 搭配使用 ",-1),N=b({name:"ComponentExampleBatchactionbar"}),$=b({...N,setup(y){const s=r(),i=r([{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1517 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1516 弄"}]),c=r([]);return(E,n)=>{const h=x,o=u("el-button"),p=u("el-button-group"),f=B,_=u("el-table-column"),C=u("el-table"),k=z;return v(),w("div",null,[e(h,{title:"批量操作栏"},{content:t(()=>[S,A]),_:1}),e(k,null,{default:t(()=>[e(f,{data:a(i),"selection-data":a(c),onCheckAll:n[0]||(n[0]=d=>a(s).toggleAllSelection()),onCheckNull:n[1]||(n[1]=d=>a(s).clearSelection())},{default:t(()=>[e(o,{size:"default"},{default:t(()=>[l(" 单个批量操作按钮 ")]),_:1}),e(p,null,{default:t(()=>[e(o,{size:"default"},{default:t(()=>[l(" 批量操作按钮组1 ")]),_:1}),e(o,{size:"default"},{default:t(()=>[l(" 批量操作按钮组2 ")]),_:1})]),_:1})]),_:1},8,["data","selection-data"]),e(C,{ref_key:"tableRef",ref:s,data:a(i),border:"",stripe:"","highlight-current-row":"",onSelectionChange:n[2]||(n[2]=d=>c.value=d)},{default:t(()=>[e(_,{type:"selection",width:"40"}),e(_,{prop:"date",label:"日期",width:"180"}),e(_,{prop:"name",label:"姓名",width:"180"}),e(_,{prop:"address",label:"地址"})]),_:1},8,["data"]),e(f,{data:a(i),"selection-data":a(c),onCheckAll:n[3]||(n[3]=d=>a(s).toggleAllSelection()),onCheckNull:n[4]||(n[4]=d=>a(s).clearSelection())},{default:t(()=>[e(o,{size:"default"},{default:t(()=>[l(" 单个批量操作按钮 ")]),_:1}),e(p,null,{default:t(()=>[e(o,{size:"default"},{default:t(()=>[l(" 批量操作按钮组1 ")]),_:1}),e(o,{size:"default"},{default:t(()=>[l(" 批量操作按钮组2 ")]),_:1})]),_:1})]),_:1},8,["data","selection-data"])]),_:1})])}}});typeof m=="function"&&m($);export{$ as default}; diff --git a/assets/batchactionbar.demo-8e397372.js.br b/assets/batchactionbar.demo-8e397372.js.br new file mode 100644 index 0000000..9165faf Binary files /dev/null and b/assets/batchactionbar.demo-8e397372.js.br differ diff --git a/assets/batchactionbar.demo-8e397372.js.gz b/assets/batchactionbar.demo-8e397372.js.gz new file mode 100644 index 0000000..4da0838 Binary files /dev/null and b/assets/batchactionbar.demo-8e397372.js.gz differ diff --git a/assets/bug-17a9a9e9.js b/assets/bug-17a9a9e9.js new file mode 100644 index 0000000..47fe670 --- /dev/null +++ b/assets/bug-17a9a9e9.js @@ -0,0 +1 @@ +import{d as $,y as B,r as T,G as j,e as l,o as r,f as s,g as e,w as t,l as _,i as g,h as m,t as d,a1 as E,_ as H,S as I,R as D,x as b}from"./index-17000ae8.js";const G={key:0},J={key:0},M={key:1},O={style:{"white-space":"pre-wrap"}},R={key:1},q=$({__name:"bug",setup(z){const k=B(),v="example",u=T(""),w=j(()=>u.value?[JSON.parse(u.value)]:[]);function f(i){switch(E(()=>{u.value=sessionStorage.getItem("errorLog")||""}),i){case 1:a=abc;break;case 2:testMethod();break}}function h(i){window.open(i,"_blank")}return(i,o)=>{const y=H,x=l("el-icon"),p=l("el-button"),S=I,C=l("el-tag"),c=l("el-table-column"),V=l("el-link"),L=l("el-table"),N=D;return r(),s("div",null,[e(S,{title:"错误日志",content:"错误日志通过 Vue 提供的全局错误钩子 errorHandler 进行拦截,如果需要上报给后端,需自行实现"},{default:t(()=>[e(p,{onClick:o[0]||(o[0]=n=>h("https://v3.cn.vuejs.org/api/application-config.html#errorhandler"))},{icon:t(()=>[e(x,null,{default:t(()=>[e(y,{name:"i-ep:link"})]),_:1})]),default:t(()=>[_(" Vue errorHandler 说明 ")]),_:1})]),_:1}),e(N,null,{default:t(()=>[g(v)!=="development"?(r(),s("div",G,[g(k).settings.app.enableErrorLog?(r(),s("div",M,[e(p,{type:"danger",onClick:o[1]||(o[1]=n=>f(1))},{default:t(()=>[_(" 模拟触发错误1 ")]),_:1}),e(p,{type:"danger",onClick:o[2]||(o[2]=n=>f(2))},{default:t(()=>[_(" 模拟触发错误2 ")]),_:1}),e(L,{data:g(w),border:""},{default:t(()=>[e(c,{label:"错误信息",width:"200",align:"center"},{default:t(n=>[m("div",null,d(n.row.err.message),1),e(C,{type:"danger"},{default:t(()=>[_(d(n.row.info),1)]),_:2},1024)]),_:1}),e(c,{label:"错误详情"},{default:t(n=>[m("div",O,d(n.row.err.stack),1)]),_:1}),e(c,{label:"错误链接",width:"200",align:"center"},{default:t(n=>[e(V,{href:n.row.url,target:"_blank"},{default:t(()=>[_(d(n.row.url),1)]),_:2},1032,["href"])]),_:1}),e(c,{prop:"datetime",label:"时间",width:"200",align:"center"})]),_:1},8,["data"])])):(r(),s("div",J," 请到 seeting.js 里打开错误日志功能,再进入该页面查看演示 "))])):(r(),s("div",R," 当前为开发环境,该功能关闭演示 "))]),_:1})])}}});typeof b=="function"&&b(q);export{q as default}; diff --git a/assets/bug-17a9a9e9.js.br b/assets/bug-17a9a9e9.js.br new file mode 100644 index 0000000..22c3793 Binary files /dev/null and b/assets/bug-17a9a9e9.js.br differ diff --git a/assets/bug-17a9a9e9.js.gz b/assets/bug-17a9a9e9.js.gz new file mode 100644 index 0000000..657fb04 Binary files /dev/null and b/assets/bug-17a9a9e9.js.gz differ diff --git a/assets/button-04cf749f.css b/assets/button-04cf749f.css new file mode 100644 index 0000000..9399524 --- /dev/null +++ b/assets/button-04cf749f.css @@ -0,0 +1 @@ +.el-row[data-v-86b40c97]{margin-bottom:20px} diff --git a/assets/button-91f11ee0.js b/assets/button-91f11ee0.js new file mode 100644 index 0000000..11fcde6 --- /dev/null +++ b/assets/button-91f11ee0.js @@ -0,0 +1 @@ +import{q as f,e as _,o as r,f as s,g as e,w as t,l as a,h as o,_ as c}from"./index-17000ae8.js";const y={},m={style:{"margin-bottom":"10px"}};function g(b,x){const i=_("el-divider"),l=_("el-button"),u=_("el-row"),n=c,d=_("el-icon"),p=_("el-button-group");return r(),s("div",null,[e(i,{"content-position":"left"},{default:t(()=>[a(" 基础用法 ")]),_:1}),e(u,null,{default:t(()=>[e(l,null,{default:t(()=>[a("默认按钮")]),_:1}),e(l,{type:"primary"},{default:t(()=>[a(" 主要按钮 ")]),_:1}),e(l,{type:"success"},{default:t(()=>[a(" 成功按钮 ")]),_:1}),e(l,{type:"info"},{default:t(()=>[a(" 信息按钮 ")]),_:1}),e(l,{type:"warning"},{default:t(()=>[a(" 警告按钮 ")]),_:1}),e(l,{type:"danger"},{default:t(()=>[a(" 危险按钮 ")]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(l,{plain:""},{default:t(()=>[a(" 朴素按钮 ")]),_:1}),e(l,{type:"primary",plain:""},{default:t(()=>[a(" 主要按钮 ")]),_:1}),e(l,{type:"success",plain:""},{default:t(()=>[a(" 成功按钮 ")]),_:1}),e(l,{type:"info",plain:""},{default:t(()=>[a(" 信息按钮 ")]),_:1}),e(l,{type:"warning",plain:""},{default:t(()=>[a(" 警告按钮 ")]),_:1}),e(l,{type:"danger",plain:""},{default:t(()=>[a(" 危险按钮 ")]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(l,{round:""},{default:t(()=>[a(" 圆角按钮 ")]),_:1}),e(l,{type:"primary",round:""},{default:t(()=>[a(" 主要按钮 ")]),_:1}),e(l,{type:"success",round:""},{default:t(()=>[a(" 成功按钮 ")]),_:1}),e(l,{type:"info",round:""},{default:t(()=>[a(" 信息按钮 ")]),_:1}),e(l,{type:"warning",round:""},{default:t(()=>[a(" 警告按钮 ")]),_:1}),e(l,{type:"danger",round:""},{default:t(()=>[a(" 危险按钮 ")]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(l,{circle:""},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:search"})]),_:1})]),_:1}),e(l,{type:"primary",circle:""},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:edit"})]),_:1})]),_:1}),e(l,{type:"success",circle:""},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:check"})]),_:1})]),_:1}),e(l,{type:"info",circle:""},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:message"})]),_:1})]),_:1}),e(l,{type:"warning",circle:""},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:star"})]),_:1})]),_:1}),e(l,{type:"danger",circle:""},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:delete"})]),_:1})]),_:1})]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[a(" 禁用状态 ")]),_:1}),e(u,null,{default:t(()=>[e(l,{disabled:""},{default:t(()=>[a(" 默认按钮 ")]),_:1}),e(l,{type:"primary",disabled:""},{default:t(()=>[a(" 主要按钮 ")]),_:1}),e(l,{type:"success",disabled:""},{default:t(()=>[a(" 成功按钮 ")]),_:1}),e(l,{type:"info",disabled:""},{default:t(()=>[a(" 信息按钮 ")]),_:1}),e(l,{type:"warning",disabled:""},{default:t(()=>[a(" 警告按钮 ")]),_:1}),e(l,{type:"danger",disabled:""},{default:t(()=>[a(" 危险按钮 ")]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(l,{plain:"",disabled:""},{default:t(()=>[a(" 朴素按钮 ")]),_:1}),e(l,{type:"primary",plain:"",disabled:""},{default:t(()=>[a(" 主要按钮 ")]),_:1}),e(l,{type:"success",plain:"",disabled:""},{default:t(()=>[a(" 成功按钮 ")]),_:1}),e(l,{type:"info",plain:"",disabled:""},{default:t(()=>[a(" 信息按钮 ")]),_:1}),e(l,{type:"warning",plain:"",disabled:""},{default:t(()=>[a(" 警告按钮 ")]),_:1}),e(l,{type:"danger",plain:"",disabled:""},{default:t(()=>[a(" 危险按钮 ")]),_:1})]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[a(" 文字按钮 ")]),_:1}),e(l,{text:""},{default:t(()=>[a(" 文字按钮 ")]),_:1}),e(l,{type:"primary",text:""},{default:t(()=>[a(" 文字按钮 ")]),_:1}),e(l,{type:"success",text:""},{default:t(()=>[a(" 文字按钮 ")]),_:1}),e(l,{type:"info",text:""},{default:t(()=>[a(" 文字按钮 ")]),_:1}),e(l,{type:"warning",text:""},{default:t(()=>[a(" 文字按钮 ")]),_:1}),e(l,{type:"danger",text:""},{default:t(()=>[a(" 文字按钮 ")]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[a(" 图标按钮 ")]),_:1}),e(l,{type:"primary"},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:edit"})]),_:1})]),_:1}),e(l,{type:"primary"},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:share"})]),_:1})]),_:1}),e(l,{type:"primary"},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:delete"})]),_:1})]),_:1}),e(l,{type:"primary"},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:search"})]),_:1})]),default:t(()=>[a(" 搜索 ")]),_:1}),e(l,{type:"primary"},{default:t(()=>[a(" 上传 "),e(d,{class:"el-icon--right"},{default:t(()=>[e(n,{name:"i-ep:upload"})]),_:1})]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[a(" 按钮组 ")]),_:1}),e(p,{style:{"margin-right":"10px"}},{default:t(()=>[e(l,{type:"primary"},{default:t(()=>[e(d,{class:"el-icon--left"},{default:t(()=>[e(n,{name:"i-ep:arrow-left"})]),_:1}),a(" 上一页 ")]),_:1}),e(l,{type:"primary"},{default:t(()=>[a(" 下一页 "),e(d,{class:"el-icon--right"},{default:t(()=>[e(n,{name:"i-ep:arrow-right"})]),_:1})]),_:1})]),_:1}),e(p,null,{default:t(()=>[e(l,{type:"primary"},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:edit"})]),_:1})]),_:1}),e(l,{type:"primary"},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:share"})]),_:1})]),_:1}),e(l,{type:"primary"},{icon:t(()=>[e(d,null,{default:t(()=>[e(n,{name:"i-ep:delete"})]),_:1})]),_:1})]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[a(" 加载中 ")]),_:1}),e(l,{type:"primary",loading:!0},{default:t(()=>[a(" 加载中 ")]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[a(" 不同尺寸 ")]),_:1}),o("div",m,[e(l,{size:"large"},{default:t(()=>[a(" 大号按钮 ")]),_:1}),e(l,{size:"default"},{default:t(()=>[a(" 默认按钮 ")]),_:1}),e(l,{size:"small"},{default:t(()=>[a(" 小号按钮 ")]),_:1})]),o("div",null,[e(l,{size:"large",round:""},{default:t(()=>[a(" 大号按钮 ")]),_:1}),e(l,{size:"default",round:""},{default:t(()=>[a(" 默认按钮 ")]),_:1}),e(l,{size:"small",round:""},{default:t(()=>[a(" 小号按钮 ")]),_:1})])])}const w=f(y,[["render",g],["__scopeId","data-v-86b40c97"]]);export{w as default}; diff --git a/assets/button-91f11ee0.js.br b/assets/button-91f11ee0.js.br new file mode 100644 index 0000000..63beec9 Binary files /dev/null and b/assets/button-91f11ee0.js.br differ diff --git a/assets/button-91f11ee0.js.gz b/assets/button-91f11ee0.js.gz new file mode 100644 index 0000000..ee5adb9 Binary files /dev/null and b/assets/button-91f11ee0.js.gz differ diff --git a/assets/card-55e2f3e0.css b/assets/card-55e2f3e0.css new file mode 100644 index 0000000..5a30950 --- /dev/null +++ b/assets/card-55e2f3e0.css @@ -0,0 +1 @@ +.action-card[data-v-d8895f9c]{margin-bottom:20px}.action-card .content[data-v-d8895f9c]{display:flex}.action-card .content .item[data-v-d8895f9c]{margin-right:15px}.action-card .content .item .name[data-v-d8895f9c]{margin-bottom:12px;color:var(--el-text-color-primary);transition:var(--el-transition-color);font-size:16px;line-height:24px}.action-card .content .item .intro[data-v-d8895f9c]{color:var(--el-text-color-secondary);transition:var(--el-transition-color);font-size:14px;height:66px;line-height:22px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.action-card .action-bar[data-v-d8895f9c]{display:flex;justify-content:space-around;margin:20px -20px -20px;border-top:1px solid var(--el-border-color-light);background-color:var(--el-fill-color-lighter);transition:background-color .3s,var(--el-transition-border)}.action-card .action-bar .el-button[data-v-d8895f9c]{position:relative;width:100%;color:var(--el-text-color-placeholder);transition:var(--el-transition-color)}.action-card .action-bar .el-button[data-v-d8895f9c]:hover{color:var(--el-color-primary)}.action-card .action-bar .el-button+.el-button[data-v-d8895f9c]{margin-left:0}.action-card .action-bar .el-button+.el-button[data-v-d8895f9c]:before{content:"";position:absolute;top:50%;left:0;width:1px;height:14px;margin-top:-7px;background-color:var(--el-border-color-darker);transition:background-color .3s} diff --git a/assets/card-55e2f3e0.css.br b/assets/card-55e2f3e0.css.br new file mode 100644 index 0000000..20323a2 Binary files /dev/null and b/assets/card-55e2f3e0.css.br differ diff --git a/assets/card-55e2f3e0.css.gz b/assets/card-55e2f3e0.css.gz new file mode 100644 index 0000000..b287ec1 Binary files /dev/null and b/assets/card-55e2f3e0.css.gz differ diff --git a/assets/card-bfa2d5a2.js b/assets/card-bfa2d5a2.js new file mode 100644 index 0000000..388947a --- /dev/null +++ b/assets/card-bfa2d5a2.js @@ -0,0 +1 @@ +import{q as g,e as o,o as a,f as _,g as e,w as t,Q as b,U as w,h as n,l,x as d,S as y,_ as k,p as I,n as S}from"./index-17000ae8.js";const r={},B=c=>(I("data-v-d8895f9c"),c=c(),S(),c),H={class:"content"},N={class:"item"},V=B(()=>n("div",{class:"item"},[n("div",{class:"name"}," Hooray "),n("div",{class:"intro"}," 前端开发工程师,10年+开发经验,可开发 Web / H5 / 小程序 等应用。前端开发工程师,10年+开发经验,可开发 Web / H5 / 小程序 等应用 ")],-1)),C={class:"action-bar"};function W(c,q){const i=y,p=k,u=o("el-icon"),m=o("el-avatar"),s=o("el-button"),f=o("el-card"),v=o("el-col"),h=o("el-row");return a(),_("div",null,[e(i,{title:"卡片列表",content:"卡片类型的列表,配合栅格实现响应式布局。"}),e(h,{gutter:20,style:{margin:"0 10px"}},{default:t(()=>[(a(),_(b,null,w(12,(z,x)=>e(v,{key:x,lg:6,md:8,sm:12},{default:t(()=>[e(f,{shadow:"hover",class:"action-card"},{default:t(()=>[n("div",H,[n("div",N,[e(m,{size:"default"},{default:t(()=>[e(u,null,{default:t(()=>[e(p,{name:"i-ep:user-filled"})]),_:1})]),_:1})]),V]),n("div",C,[e(s,{text:""},{default:t(()=>[l(" 操作一 ")]),_:1}),e(s,{text:""},{default:t(()=>[l(" 操作二 ")]),_:1})])]),_:1})]),_:2},1024)),64))]),_:1})])}typeof d=="function"&&d(r);const F=g(r,[["render",W],["__scopeId","data-v-d8895f9c"]]);export{F as default}; diff --git a/assets/card-bfa2d5a2.js.br b/assets/card-bfa2d5a2.js.br new file mode 100644 index 0000000..9ef2ead Binary files /dev/null and b/assets/card-bfa2d5a2.js.br differ diff --git a/assets/card-bfa2d5a2.js.gz b/assets/card-bfa2d5a2.js.gz new file mode 100644 index 0000000..c5cde32 Binary files /dev/null and b/assets/card-bfa2d5a2.js.gz differ diff --git a/assets/checkbox-1d908d47.js b/assets/checkbox-1d908d47.js new file mode 100644 index 0000000..3e0cda5 --- /dev/null +++ b/assets/checkbox-1d908d47.js @@ -0,0 +1 @@ +import{_ as m}from"./checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js";import"./index-17000ae8.js";export{m as default}; diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js b/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js new file mode 100644 index 0000000..e77cc29 --- /dev/null +++ b/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js @@ -0,0 +1 @@ +import{d as N,r as d,e as i,o as r,f as U,g as l,w as t,l as a,i as u,V as s,Q as C,U as B,L,t as w}from"./index-17000ae8.js";const F=N({__name:"checkbox",setup(h){const c=d(!0),p=d(!1),f=d(!0),b=d(["选中且禁用","复选框 A"]),V=d(["上海","北京"]),g=d(["上海","北京","广州","深圳"]),_=d(["上海"]),k=d(!0),x=d(!1);return(D,o)=>{const m=i("el-divider"),n=i("el-checkbox"),v=i("el-checkbox-group"),A=i("el-checkbox-button");return r(),U("div",null,[l(m,{"content-position":"left"},{default:t(()=>[a(" 基础用法 ")]),_:1}),l(n,{modelValue:u(c),"onUpdate:modelValue":o[0]||(o[0]=e=>s(c)?c.value=e:null)},{default:t(()=>[a(" 备选项 ")]),_:1},8,["modelValue"]),l(m,{"content-position":"left"},{default:t(()=>[a(" 禁用状态 ")]),_:1}),l(n,{modelValue:u(p),"onUpdate:modelValue":o[1]||(o[1]=e=>s(p)?p.value=e:null),disabled:""},{default:t(()=>[a(" 备选项1 ")]),_:1},8,["modelValue"]),l(n,{modelValue:u(f),"onUpdate:modelValue":o[2]||(o[2]=e=>s(f)?f.value=e:null),disabled:""},{default:t(()=>[a(" 备选项 ")]),_:1},8,["modelValue"]),l(m,{"content-position":"left"},{default:t(()=>[a(" 多选框组 ")]),_:1}),l(v,{modelValue:u(b),"onUpdate:modelValue":o[3]||(o[3]=e=>s(b)?b.value=e:null)},{default:t(()=>[l(n,{label:"复选框 A"}),l(n,{label:"复选框 B"}),l(n,{label:"复选框 C"}),l(n,{label:"禁用",disabled:""}),l(n,{label:"选中且禁用",disabled:""})]),_:1},8,["modelValue"]),l(m,{"content-position":"left"},{default:t(()=>[a(" 可选项目数量的限制 ")]),_:1}),l(v,{modelValue:u(V),"onUpdate:modelValue":o[4]||(o[4]=e=>s(V)?V.value=e:null),min:1,max:2},{default:t(()=>[(r(!0),U(C,null,B(u(g),e=>(r(),L(n,{key:e,label:e},{default:t(()=>[a(w(e),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"]),l(m,{"content-position":"left"},{default:t(()=>[a(" 按钮样式 ")]),_:1}),l(v,{modelValue:u(_),"onUpdate:modelValue":o[5]||(o[5]=e=>s(_)?_.value=e:null)},{default:t(()=>[(r(!0),U(C,null,B(u(g),e=>(r(),L(A,{key:e,label:e},{default:t(()=>[a(w(e),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"]),l(m,{"content-position":"left"},{default:t(()=>[a(" 带有边框 ")]),_:1}),l(n,{modelValue:u(k),"onUpdate:modelValue":o[6]||(o[6]=e=>s(k)?k.value=e:null),label:"备选项1",border:""},null,8,["modelValue"]),l(n,{modelValue:u(x),"onUpdate:modelValue":o[7]||(o[7]=e=>s(x)?x.value=e:null),label:"备选项2",border:""},null,8,["modelValue"])])}}});export{F as _}; diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js.br b/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js.br new file mode 100644 index 0000000..470a490 Binary files /dev/null and b/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js.br differ diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js.gz b/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js.gz new file mode 100644 index 0000000..2db8554 Binary files /dev/null and b/assets/checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js.gz differ diff --git a/assets/child-4850cfd0.js b/assets/child-4850cfd0.js new file mode 100644 index 0000000..68b7ddf --- /dev/null +++ b/assets/child-4850cfd0.js @@ -0,0 +1 @@ +import{q as o,o as t,L as _,x as c,S as a}from"./index-17000ae8.js";const e={};function s(r,i){const n=a;return t(),_(n,{title:"注意看子级导航的图标切换",content:"通过设置子级导航路由 meta 对象里的 icon 和 activeIcon 实现图标切换效果"})}typeof c=="function"&&c(e);const p=o(e,[["render",s]]);export{p as default}; diff --git a/assets/chip.demo-052a27ce.js b/assets/chip.demo-052a27ce.js new file mode 100644 index 0000000..04dfe61 --- /dev/null +++ b/assets/chip.demo-052a27ce.js @@ -0,0 +1 @@ +import{d as c,e as i,o as _,f as r,h as b,X as B,g as e,w as n,O as C,J as S,_ as x,q as w,r as g,l as t,i as v,L as N,S as V,R as E,x as h}from"./index-17000ae8.js";import{i as I}from"./logo-5973ee4a.js";const q={class:"content"},z=c({name:"Chip"}),D=c({...z,props:{type:{type:String,default:""},closable:{type:Boolean,default:!1}},emits:["close"],setup(o,{emit:l}){return(u,s)=>{const d=x,f=i("el-icon");return _(),r("div",{class:S(["chip",[o.type?`chip--${o.type}`:""]])},[b("div",q,[B(u.$slots,"default",{},void 0,!0),o.closable?(_(),r("span",{key:0,class:"closable",onClick:s[0]||(s[0]=m=>l("close"))},[e(f,null,{default:n(()=>[e(d,{name:"i-ep:close-bold"})]),_:1})])):C("",!0)])],2)}}});const F=w(D,[["__scopeId","data-v-4a62efe2"]]),J=c({name:"ComponentExampleChip"}),L=c({...J,setup(o){const l=g(!0),u=g(I);function s(){l.value=!1}return(d,f)=>{const m=V,a=F,p=i("el-avatar"),k=x,$=i("el-icon"),y=E;return _(),r("div",null,[e(m,{title:"纸片",content:"Chip"}),e(y,null,{default:n(()=>[e(a,null,{default:n(()=>[t(" 基础纸片 ")]),_:1}),e(a,null,{default:n(()=>[e(p,null,{default:n(()=>[t("Fa")]),_:1}),t(" 头像文字 ")]),_:1}),e(a,null,{default:n(()=>[e(p,null,{default:n(()=>[e($,null,{default:n(()=>[e(k,{name:"i-ep:user-filled"})]),_:1})]),_:1}),t(" 头像图标 ")]),_:1}),e(a,null,{default:n(()=>[e(p,{src:v(u)},null,8,["src"]),t(" 头像图片 ")]),_:1}),v(l)?(_(),N(a,{key:0,closable:"",onClose:s},{default:n(()=>[t(" 关闭按钮 ")]),_:1})):C("",!0)]),_:1}),e(y,null,{default:n(()=>[e(a,{type:"primary"},{default:n(()=>[t(" Primary ")]),_:1}),e(a,{type:"success"},{default:n(()=>[t(" Success ")]),_:1}),e(a,{type:"info"},{default:n(()=>[t(" Info ")]),_:1}),e(a,{type:"warning"},{default:n(()=>[t(" Waning ")]),_:1}),e(a,{type:"danger"},{default:n(()=>[t(" Danger ")]),_:1})]),_:1})])}}});typeof h=="function"&&h(L);export{L as default}; diff --git a/assets/chip.demo-052a27ce.js.br b/assets/chip.demo-052a27ce.js.br new file mode 100644 index 0000000..a0f43dc Binary files /dev/null and b/assets/chip.demo-052a27ce.js.br differ diff --git a/assets/chip.demo-052a27ce.js.gz b/assets/chip.demo-052a27ce.js.gz new file mode 100644 index 0000000..690330b Binary files /dev/null and b/assets/chip.demo-052a27ce.js.gz differ diff --git a/assets/chip.demo-540f6f01.css b/assets/chip.demo-540f6f01.css new file mode 100644 index 0000000..d97e526 --- /dev/null +++ b/assets/chip.demo-540f6f01.css @@ -0,0 +1 @@ +.chip[data-v-4a62efe2]{display:inline-block;vertical-align:middle;padding:0 10px;margin-right:2px;border-radius:20px;background-color:var(--el-fill-color-light);color:var(--el-text-color-primary);transition:background-color .3s,var(--el-transition-color)}.chip .content[data-v-4a62efe2]{display:flex;align-items:center;min-height:28px;font-size:12px}.chip .content[data-v-4a62efe2] .el-avatar{width:24px;height:24px;line-height:24px;margin-left:-8px;margin-right:5px}.chip .content .closable[data-v-4a62efe2]{display:flex;align-items:center;justify-content:center;cursor:pointer;width:20px;height:20px;border-radius:50%;margin-left:5px;margin-right:-4px;font-size:14px;background-color:var(--el-fill-color-darker);color:var(--el-text-color-primary);transition:background-color .3s,var(--el-transition-color)}.chip .content .closable[data-v-4a62efe2]:hover{opacity:.7}.chip--primary[data-v-4a62efe2]{background-color:var(--el-color-primary);color:#fff}.chip--primary .content .closable[data-v-4a62efe2]{background-color:var(--el-color-primary-dark-2)}.chip--success[data-v-4a62efe2]{background-color:var(--el-color-success);color:#fff}.chip--success .content .closable[data-v-4a62efe2]{background-color:var(--el-color-success-dark-2)}.chip--info[data-v-4a62efe2]{background-color:var(--el-color-info);color:#fff}.chip--info .content .closable[data-v-4a62efe2]{background-color:var(--el-color-info-dark-2)}.chip--warning[data-v-4a62efe2]{background-color:var(--el-color-warning);color:#fff}.chip--warning .content .closable[data-v-4a62efe2]{background-color:var(--el-color-warning-dark-2)}.chip--danger[data-v-4a62efe2]{background-color:var(--el-color-danger);color:#fff}.chip--danger .content .closable[data-v-4a62efe2]{background-color:var(--el-color-danger-dark-2)} diff --git a/assets/chip.demo-540f6f01.css.br b/assets/chip.demo-540f6f01.css.br new file mode 100644 index 0000000..b9de2c9 Binary files /dev/null and b/assets/chip.demo-540f6f01.css.br differ diff --git a/assets/chip.demo-540f6f01.css.gz b/assets/chip.demo-540f6f01.css.gz new file mode 100644 index 0000000..6063550 Binary files /dev/null and b/assets/chip.demo-540f6f01.css.gz differ diff --git a/assets/clipboard-ebc02b8b.js b/assets/clipboard-ebc02b8b.js new file mode 100644 index 0000000..dce70bf --- /dev/null +++ b/assets/clipboard-ebc02b8b.js @@ -0,0 +1 @@ +import{d as E,r as c,a3 as N,C as U,E as B,e as p,o as m,f as r,g as e,w as o,l as f,i as l,V,O as R,_ as S,S as M,R as O,x as v}from"./index-17000ae8.js";const T={key:0},j=E({__name:"clipboard",setup(q){const s=c(""),u=c(""),{text:C,copy:b,copied:g,isSupported:k}=N();U(g,a=>{a&&B.success(`复制成功:${C.value}`)});function x(a){window.open(a,"_blank")}return(a,n)=>{const w=S,$=p("el-icon"),_=p("el-button"),y=M,i=p("el-input"),d=O;return m(),r("div",null,[e(y,{title:"剪贴板"},{default:o(()=>[e(_,{onClick:n[0]||(n[0]=t=>x("https://vueuse.org/core/useClipboard/"))},{icon:o(()=>[e($,null,{default:o(()=>[e(w,{name:"i-ep:link"})]),_:1})]),default:o(()=>[f(" VueUse 官网 useClipboard ")]),_:1})]),_:1}),l(k)?(m(),r("div",T,[e(d,{title:"输入内容,并点击复制按钮"},{default:o(()=>[e(i,{modelValue:l(s),"onUpdate:modelValue":n[2]||(n[2]=t=>V(s)?s.value=t:null)},{append:o(()=>[e(_,{onClick:n[1]||(n[1]=t=>l(b)(l(s)))},{default:o(()=>[f(" 复制 ")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(d,{title:"复制成功后可在这粘贴测试"},{default:o(()=>[e(i,{modelValue:l(u),"onUpdate:modelValue":n[3]||(n[3]=t=>V(u)?u.value=t:null)},null,8,["modelValue"])]),_:1})])):R("",!0)])}}});typeof v=="function"&&v(j);export{j as default}; diff --git a/assets/clipboard-ebc02b8b.js.br b/assets/clipboard-ebc02b8b.js.br new file mode 100644 index 0000000..ed05959 Binary files /dev/null and b/assets/clipboard-ebc02b8b.js.br differ diff --git a/assets/clipboard-ebc02b8b.js.gz b/assets/clipboard-ebc02b8b.js.gz new file mode 100644 index 0000000..7648001 Binary files /dev/null and b/assets/clipboard-ebc02b8b.js.gz differ diff --git a/assets/colorful.card.demo-98e7f3d6.css b/assets/colorful.card.demo-98e7f3d6.css new file mode 100644 index 0000000..73c0936 --- /dev/null +++ b/assets/colorful.card.demo-98e7f3d6.css @@ -0,0 +1 @@ +.mini-card[data-v-8b2d9019]{position:relative;color:#fff;text-shadow:0 0 2px #000;cursor:pointer}.mini-card :hover .el-icon[data-v-8b2d9019]{right:0;top:0}.mini-card[data-v-8b2d9019] .el-card__header{position:relative;z-index:1;border-bottom:0;font-size:18px}.mini-card[data-v-8b2d9019] .el-card__body{padding-top:0}.mini-card .num[data-v-8b2d9019]{position:relative;z-index:1;font-size:36px}.mini-card .tip[data-v-8b2d9019]{margin-top:10px;font-size:14px;color:#eee}.mini-card .el-icon[data-v-8b2d9019]{transition:.3s;font-size:120px;position:absolute;right:-30px;top:-10px} diff --git a/assets/colorful.card.demo-c79b008d.js b/assets/colorful.card.demo-c79b008d.js new file mode 100644 index 0000000..9292af2 --- /dev/null +++ b/assets/colorful.card.demo-c79b008d.js @@ -0,0 +1 @@ +import{d as f,e as a,o as _,L as s,w as o,l as y,t as r,h as i,g as e,O as C,K as v,_ as x,q as m,f as b,x as u,S,R as k}from"./index-17000ae8.js";const w={class:"num"},N={class:"tip"},$=f({name:"ColorfulCard"}),B=f({...$,props:{colorFrom:{type:String,default:"#843cf6"},colorTo:{type:String,default:"#759bff"},header:{type:String,default:""},num:{type:Number,default:0},tip:{type:String,default:""},icon:{type:String,default:""}},setup(t){return(g,d)=>{const n=x,c=a("el-icon"),l=a("el-card");return _(),s(l,{shadow:"hover",class:"mini-card",style:v({background:`linear-gradient(50deg, ${t.colorFrom}, ${t.colorTo})`})},{header:o(()=>[y(r(t.header),1)]),default:o(()=>[i("div",w,r(t.num),1),i("div",N,r(t.tip),1),t.icon?(_(),s(c,{key:0},{default:o(()=>[e(n,{name:t.icon,rotate:20},null,8,["name"])]),_:1})):C("",!0)]),_:1},8,["style"])}}});const V=m(B,[["__scopeId","data-v-8b2d9019"]]),p={};function T(t,g){const d=S,n=V,c=a("el-col"),l=a("el-row"),h=k;return _(),b("div",null,[e(d,{title:"多彩渐变卡片",content:"ColorfulCard"}),e(h,null,{default:o(()=>[e(l,{gutter:20},{default:o(()=>[e(c,{md:6},{default:o(()=>[e(n,{header:"开发文档",num:123,tip:"较上周上升50%"})]),_:1}),e(c,{md:6},{default:o(()=>[e(n,{"color-from":"#fbaaa2","color-to":"#fc5286",header:"基础组件",num:12323,tip:"较上周上升50%",icon:"ep:element-plus"})]),_:1}),e(c,{md:6},{default:o(()=>[e(n,{"color-from":"#ff763b","color-to":"#ffc480",header:"扩展组件",num:123,tip:"较上周上升50%",icon:"ri:pages-line"})]),_:1}),e(c,{md:6},{default:o(()=>[e(n,{"color-from":"#6a8eff","color-to":"#0e4cfd",header:"业务应用页面",num:123,tip:"较上周上升50%",icon:"ep:link"})]),_:1})]),_:1})]),_:1})])}typeof u=="function"&&u(p);const q=m(p,[["render",T]]);export{q as default}; diff --git a/assets/colorful.card.demo-c79b008d.js.br b/assets/colorful.card.demo-c79b008d.js.br new file mode 100644 index 0000000..0d7f594 Binary files /dev/null and b/assets/colorful.card.demo-c79b008d.js.br differ diff --git a/assets/colorful.card.demo-c79b008d.js.gz b/assets/colorful.card.demo-c79b008d.js.gz new file mode 100644 index 0000000..63ab81a Binary files /dev/null and b/assets/colorful.card.demo-c79b008d.js.gz differ diff --git a/assets/coming.soon-edccbec1.js b/assets/coming.soon-edccbec1.js new file mode 100644 index 0000000..54b01ae --- /dev/null +++ b/assets/coming.soon-edccbec1.js @@ -0,0 +1 @@ +import{q as c,o as t,f as _,g as s,x as e,S as a}from"./index-17000ae8.js";const o={};function r(f,i){const n=a;return t(),_("div",null,[s(n,{title:"即将推出 Vue3 版本视频教程,尽请期待"})])}typeof e=="function"&&e(o);const p=c(o,[["render",r]]);export{p as default}; diff --git a/assets/count.to-b8ff8ad2.js b/assets/count.to-b8ff8ad2.js new file mode 100644 index 0000000..17a9093 --- /dev/null +++ b/assets/count.to-b8ff8ad2.js @@ -0,0 +1 @@ +import{q as F,o as O,f as T,t as R,d as j,r as g,e as m,g as l,w as s,h as U,l as c,i as n,_ as B,S as E,R as z,x}from"./index-17000ae8.js";import M from"./alert-8aa56ecd.js";let v=0;const S="webkit moz ms o".split(" ");let d,p;const I=typeof window>"u";if(I)d=function(){},p=function(){};else{d=window.requestAnimationFrame,p=window.cancelAnimationFrame;let a;for(let e=0;e{e(t+i)},i);return v=t+i,u},p=function(e){window.clearTimeout(e)})}const K={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator(a){return a>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default(a,e,t,i){return t*(-Math.pow(2,-10*a/i)+1)*1024/1023+e}}},data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=d(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){p(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,d(this.count)},reset(){this.startTime=null,p(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(a){this.startTime||(this.startTime=a),this.timestamp=a;const e=a-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e1?this.decimal+e[1]:"",u=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;u.test(t);)t=t.replace(u,"$1"+this.separator+"$2");return this.prefix+t+i+this.suffix}},destroyed(){p(this.rAF)}};function G(a,e,t,i,u,y){return O(),T("span",null,R(u.displayValue),1)}const V=F(K,[["render",G]]);function H(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function D(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(a);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable})),t.push.apply(t,i)}return t}V.unmounted=V.destroyed,Reflect.deleteProperty(V,"destroyed");var J=function(a){for(var e=1;e{const N=m("el-tag"),A=B,C=m("el-icon"),_=m("el-button"),k=E,h=m("el-input-number"),f=m("el-form-item"),b=m("el-input"),P=m("el-form"),$=z;return O(),T("div",null,[l(M),l(k,{title:"计数器"},{content:s(()=>[U("p",L,[c(" 安装命令:"),l(N,null,{default:s(()=>[c("pnpm add vue3-count-to")]),_:1})])]),default:s(()=>[l(_,{onClick:o[0]||(o[0]=r=>y("https://github.com/xiaofan9/vue-count-to"))},{icon:s(()=>[l(C,null,{default:s(()=>[l(A,{name:"i-ep:link"})]),_:1})]),default:s(()=>[c(" 访问 vue-count-to ")]),_:1})]),_:1}),l($,null,{default:s(()=>[l(n(J),{ref_key:"countToRef",ref:e,class:"count-to","start-val":n(t).startVal,"end-val":n(t).endVal,duration:n(t).duration,decimals:n(t).decimals,separator:n(t).separator,prefix:n(t).prefix,suffix:n(t).suffix,autoplay:!1},null,8,["start-val","end-val","duration","decimals","separator","prefix","suffix"]),l(P,{model:n(t),size:"default","label-width":"80px",style:{width:"300px"}},{default:s(()=>[l(f,{label:"startVal"},{default:s(()=>[l(h,{modelValue:n(t).startVal,"onUpdate:modelValue":o[1]||(o[1]=r=>n(t).startVal=r)},null,8,["modelValue"])]),_:1}),l(f,{label:"endVal"},{default:s(()=>[l(h,{modelValue:n(t).endVal,"onUpdate:modelValue":o[2]||(o[2]=r=>n(t).endVal=r)},null,8,["modelValue"])]),_:1}),l(f,{label:"duration"},{default:s(()=>[l(h,{modelValue:n(t).duration,"onUpdate:modelValue":o[3]||(o[3]=r=>n(t).duration=r)},null,8,["modelValue"])]),_:1}),l(f,{label:"decimals"},{default:s(()=>[l(h,{modelValue:n(t).decimals,"onUpdate:modelValue":o[4]||(o[4]=r=>n(t).decimals=r)},null,8,["modelValue"])]),_:1}),l(f,{label:"separator"},{default:s(()=>[l(b,{modelValue:n(t).separator,"onUpdate:modelValue":o[5]||(o[5]=r=>n(t).separator=r)},null,8,["modelValue"])]),_:1}),l(f,{label:"prefix"},{default:s(()=>[l(b,{modelValue:n(t).prefix,"onUpdate:modelValue":o[6]||(o[6]=r=>n(t).prefix=r)},null,8,["modelValue"])]),_:1}),l(f,{label:"suffix"},{default:s(()=>[l(b,{modelValue:n(t).suffix,"onUpdate:modelValue":o[7]||(o[7]=r=>n(t).suffix=r)},null,8,["modelValue"])]),_:1}),l(f,null,{default:s(()=>[l(_,{type:"primary",onClick:i},{default:s(()=>[c(" 开始 ")]),_:1}),l(_,{onClick:u},{default:s(()=>[c(" 暂停 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof x=="function"&&x(q);const X=F(q,[["__scopeId","data-v-ebc14bfa"]]);export{X as default}; diff --git a/assets/count.to-b8ff8ad2.js.br b/assets/count.to-b8ff8ad2.js.br new file mode 100644 index 0000000..07171bf Binary files /dev/null and b/assets/count.to-b8ff8ad2.js.br differ diff --git a/assets/count.to-b8ff8ad2.js.gz b/assets/count.to-b8ff8ad2.js.gz new file mode 100644 index 0000000..75d75e7 Binary files /dev/null and b/assets/count.to-b8ff8ad2.js.gz differ diff --git a/assets/count.to-d2e07e8f.css b/assets/count.to-d2e07e8f.css new file mode 100644 index 0000000..a4f7787 --- /dev/null +++ b/assets/count.to-d2e07e8f.css @@ -0,0 +1 @@ +.count-to[data-v-ebc14bfa]{display:inline-block;margin-bottom:20px;font-size:60px;color:#f6416c} diff --git a/assets/debounce-327d69cd.js b/assets/debounce-327d69cd.js new file mode 100644 index 0000000..f9f58d3 --- /dev/null +++ b/assets/debounce-327d69cd.js @@ -0,0 +1 @@ +import{d as r,e as d,o as m,f,g as e,w as n,i as c,l as a,h as l,c3 as h,c4 as g,S as b,R as k,E as C,x as _}from"./index-17000ae8.js";const x=l("p",null,"所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。",-1),B=l("p",null,"所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。",-1),E=r({__name:"debounce",setup(N){function t(){C.success({message:"恭喜你,这是一条成功消息"})}const u=h(()=>{t()},1e3),i=g(()=>{t()},1e3);return(V,v)=>{const p=b,o=d("el-button"),s=k;return m(),f("div",null,[e(p,{title:"防抖节流"}),e(s,{title:"防抖:debounce"},{default:n(()=>[x,e(o,{onClick:c(u)},{default:n(()=>[a(" 连续点击我,只会执行最后一次点击事件 ")]),_:1},8,["onClick"])]),_:1}),e(s,{title:"节流:throttle"},{default:n(()=>[B,e(o,{onClick:c(i)},{default:n(()=>[a(" 连续点击我,每一秒只会执行一次点击事件 ")]),_:1},8,["onClick"])]),_:1})])}}});typeof _=="function"&&_(E);export{E as default}; diff --git a/assets/debounce-327d69cd.js.br b/assets/debounce-327d69cd.js.br new file mode 100644 index 0000000..20ddae5 Binary files /dev/null and b/assets/debounce-327d69cd.js.br differ diff --git a/assets/debounce-327d69cd.js.gz b/assets/debounce-327d69cd.js.gz new file mode 100644 index 0000000..d72bb2a Binary files /dev/null and b/assets/debounce-327d69cd.js.gz differ diff --git a/assets/detail-11d706a5.js b/assets/detail-11d706a5.js new file mode 100644 index 0000000..8fa4f43 --- /dev/null +++ b/assets/detail-11d706a5.js @@ -0,0 +1 @@ +import{_ as $e}from"./index-6aa92ec0.js";import{_ as Me}from"./index-9a100d82.js";import{_ as Le}from"./index-a0a5d690.js";import{d as me,u as Ne,a as Oe,bZ as qe,y as ze,r as f,B as pe,aa as Q,a1 as U,e as _,a2 as De,o as d,f as S,g as t,w as e,l as u,i as a,j as R,L as s,h as m,t as O,O as b,m as Z,ab as Ke,Q as H,U as J,V as W,k as X,v as q,E as B,_ as Te,S as je,p as Ge,n as Fe,q as Pe,x as re}from"./index-17000ae8.js";import{S as Qe}from"./sortable.esm-be94e56d.js";const h=A=>(Ge("data-v-4b146ae4"),A=A(),Fe(),A),Ze={class:"absolute-container"},He={class:"page-main"},Je=h(()=>m("span",{class:"label-tip"},"即 name ,系统唯一",-1)),We={class:"label-tip"},Xe={style:{display:"flex"}},Ye=h(()=>m("span",{class:"label-tip"},"请勿在带有参数的路由地址上开启该设置",-1)),el={class:"label-tip"},ll={class:"label-tip"},tl=h(()=>m("span",{class:"label-tip"},"当缓存规则为“始终缓存”时生效",-1)),al=h(()=>m("span",{class:"label-tip"},"如果子路由不在导航显示,则需要设置高亮的上级路由地址",-1)),nl=h(()=>m("span",{class:"label-tip"},"不宜设置太长,建议控制在4个字符内",-1)),ol=h(()=>m("span",{class:"label-tip"},"请设置 http/https 开头的完整外链地址",-1)),ul=h(()=>m("span",{class:"label-tip"},"请勿与外链同时设置,同时设置时,本设置会失效",-1)),dl=h(()=>m("span",{class:"label-tip"},"请设置有效的长度单位,例如:px/em/rem等",-1)),sl=h(()=>m("p",null,"设置导航所具备的所有权限,权限池内的权限会用于角色管理",-1)),il=h(()=>m("p",{style:{"margin-bottom":"0"}}," 通常只在最子级导航上进行设置 ",-1)),pl={class:"index"},rl=me({name:"PagesExampleMenuDetail"}),ce=me({...rl,setup(A){const z=Ne(),fe=Oe(),_e=qe(),Y=ze(),D=f(!1),I=f(),l=f({id:z.params.id??"",parentId:z.query.parentId??"",path:"",redirect:"",name:"",component:"",meta:{title:"",icon:"",activeIcon:"",defaultOpened:!1,permanent:!1,auth:[],sidebar:!0,breadcrumb:!0,activeMenu:"",cache:[],noCache:[],badge:"",link:"",iframe:"",copyright:!1,paddingBottom:"0px"},auths:[]}),be=f({path:[{required:!0,message:"请输入路由地址",trigger:"blur"}],"meta.title":[{required:!0,message:"请输入显示名称",trigger:"blur"}]});pe(()=>{l.value.id!==""&&ve()});function ve(){D.value=!0,Q.get("pages_example/menu/detail",{baseURL:"/mock/",params:{id:l.value.id}}).then(i=>{D.value=!1,l.value.id=i.data.id,l.value.parentId=i.data.parentId,l.value.path=i.data.path,l.value.redirect=i.data.redirect,l.value.name=i.data.name,l.value.component=i.data.component,Object.assign(l.value.meta,i.data.meta),l.value.auths=i.data.auths})}const V=f(""),K=f(!1),ee=f();function he(i){l.value.meta.auth.splice(l.value.meta.auth.indexOf(i),1)}function ge(){K.value=!0,U(()=>{ee.value.input.focus()})}function le(){V.value&&(l.value.meta.auth.includes(V.value)?B.warning("标识已存在"):l.value.meta.auth.push(V.value)),K.value=!1,V.value=""}const x=f(""),T=f(!1),te=f();function ye(i){typeof l.value.meta.cache=="object"&&l.value.meta.cache.splice(l.value.meta.cache.indexOf(i),1)}function Ve(){T.value=!0,U(()=>{te.value.input.focus()})}function ae(){x.value&&typeof l.value.meta.cache=="object"&&(l.value.meta.cache.includes(x.value)?B.warning("规则已存在"):l.value.meta.cache.push(x.value)),T.value=!1,x.value=""}const k=f(""),j=f(!1),ne=f();function xe(i){l.value.meta.noCache.splice(l.value.meta.noCache.indexOf(i),1)}function ke(){j.value=!0,U(()=>{ne.value.input.focus()})}function oe(){k.value&&(l.value.meta.noCache.includes(k.value)?B.warning("规则已存在"):l.value.meta.noCache.push(k.value)),j.value=!1,k.value=""}const G=f(),ue=f(0);pe(()=>{de()});function Ce(){l.value.auths.push({name:"",value:""}),U(()=>{G.value.setScrollTop(l.value.auths.length*50)})}function Ie(i){l.value.auths.splice(i,1)}function de(){const i=G.value.$el.querySelector(".el-table__body-wrapper tbody");Qe.create(i,{handle:".sortable",animation:300,ghostClass:"ghost",onEnd:({newIndex:o,oldIndex:v})=>{if(o===void 0||v===void 0)return;const g=l.value.auths.splice(v,1)[0];l.value.auths.splice(o,0,g),ue.value+=1,U(()=>de())}})}function we(){l.value.id===""?I.value&&I.value.validate(i=>{i&&Q.post("pages_example/menu/create",l.value,{baseURL:"/mock/"}).then(()=>{B.success({message:"模拟新增成功",center:!0}),E()})}):I.value&&I.value.validate(i=>{i&&Q.post("pages_example/menu/edit",l.value,{baseURL:"/mock/"}).then(()=>{B.success({message:"模拟编辑成功",center:!0}),E()})})}function Ue(){E()}function E(){Y.settings.tabbar.enable&&Y.settings.tabbar.mergeTabsBy!=="activeMenu"?_e.close({name:"pagesExampleGeneralMenuList"}):fe.push({name:"pagesExampleGeneralMenuList"})}return(i,o)=>{const v=Te,g=_("el-icon"),y=_("el-button"),$=je,c=_("el-input"),p=_("el-form-item"),r=_("el-col"),M=_("el-link"),se=_("el-row"),F=_("el-tooltip"),L=_("el-tag"),P=_("el-space"),ie=Le,w=_("el-switch"),N=_("el-table-column"),Se=_("el-table"),Re=Me,Be=_("el-form"),Ae=$e,Ee=De("loading");return d(),S("div",Ze,[t($,{title:a(z).name==="pagesExampleGeneralMenuCreate"?"新增导航":"编辑导航"},{default:e(()=>[t(y,{size:"default",round:"",onClick:E},{icon:e(()=>[t(g,null,{default:e(()=>[t(v,{name:"i-ep:arrow-left"})]),_:1})]),default:e(()=>[u(" 返回 ")]),_:1})]),_:1},8,["title"]),R((d(),S("div",He,[t(Be,{ref_key:"formRef",ref:I,model:a(l),rules:a(be),"label-position":"top"},{default:e(()=>[t(Re,{"right-side-width":"500px","hide-right-side-toggle":""},{rightSide:e(()=>[t($,{title:"权限池"},{content:e(()=>[sl,il]),_:1}),(d(),s(Se,{ref_key:"authsTableRef",ref:G,key:a(ue),data:a(l).auths,border:"",stripe:"","highlight-current-row":""},{default:e(()=>[t(N,{width:"60",align:"center",fixed:""},{header:e(()=>[t(y,{type:"primary",size:"small",plain:"",circle:"",onClick:Ce},{icon:e(()=>[t(g,null,{default:e(()=>[t(v,{name:"i-ep:plus"})]),_:1})]),_:1})]),default:e(n=>[m("span",pl,O(n.$index+1),1),t(y,{type:"danger",size:"small",plain:"",circle:"",class:"delete",onClick:C=>Ie(n.$index)},{icon:e(()=>[t(g,null,{default:e(()=>[t(v,{name:"i-ep:delete"})]),_:1})]),_:2},1032,["onClick"])]),_:1}),t(N,{width:"80",align:"center",fixed:""},{header:e(()=>[u(" 排序 ")]),default:e(()=>[t(L,{type:"info",class:"sortable"},{default:e(()=>[t(g,null,{default:e(()=>[t(v,{name:"i-ep:d-caret"})]),_:1})]),_:1})]),_:1}),t(N,{label:"名称"},{default:e(n=>[t(c,{modelValue:n.row.name,"onUpdate:modelValue":C=>n.row.name=C},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),t(N,{label:"标识"},{default:e(n=>[t(c,{modelValue:n.row.value,"onUpdate:modelValue":C=>n.row.value=C},null,8,["modelValue","onUpdate:modelValue"])]),_:1})]),_:1},8,["data"]))]),default:e(()=>[a(l).parentId?(d(),s($,{key:0,title:"基础配置",content:"标准路由配置,包含 path/redirect/name/component"})):b("",!0),a(l).parentId?(d(),s(se,{key:1,gutter:30,style:{padding:"20px"}},{default:e(()=>[t(r,{xl:12,lg:24},{default:e(()=>[t(p,{label:"路由地址",prop:"path"},{default:e(()=>[t(c,{modelValue:a(l).path,"onUpdate:modelValue":o[0]||(o[0]=n=>a(l).path=n),clearable:"",placeholder:"请输入路由地址"},null,8,["modelValue"])]),_:1})]),_:1}),t(r,{xl:12,lg:24},{default:e(()=>[t(p,{label:"重定向",prop:"redirect"},{default:e(()=>[t(c,{modelValue:a(l).redirect,"onUpdate:modelValue":o[1]||(o[1]=n=>a(l).redirect=n),clearable:"",placeholder:"请输入重定向地址"},null,8,["modelValue"])]),_:1})]),_:1}),t(r,{xl:12,lg:24},{default:e(()=>[t(p,{prop:"name"},{label:e(()=>[u(" 路由命名 "),Je]),default:e(()=>[t(c,{modelValue:a(l).name,"onUpdate:modelValue":o[2]||(o[2]=n=>a(l).name=n),clearable:"",placeholder:"请输入路由命名"},null,8,["modelValue"])]),_:1})]),_:1}),t(r,{xl:12,lg:24},{default:e(()=>[t(p,{prop:"component"},{label:e(()=>[u(" 组件路径 "),m("span",We,[u(" 顶级路由请设置“"),t(M,{type:"primary",underline:!1,onClick:o[3]||(o[3]=Z(n=>a(l).component="Layout",["prevent"]))},{default:e(()=>[u("Layout")]),_:1}),u("”,中间层级路由无需设置 ")])]),default:e(()=>[t(c,{modelValue:a(l).component,"onUpdate:modelValue":o[4]||(o[4]=n=>a(l).component=n),clearable:"",placeholder:"请输入完整组件路径"},Ke({_:2},[a(l).component!=="Layout"?{name:"prepend",fn:e(()=>[u(" /src/views/ ")]),key:"0"}:void 0]),1032,["modelValue"])]),_:1})]),_:1})]),_:1})):b("",!0),t($,{title:"扩展配置"},{content:e(()=>[m("div",Xe,[u(" 框架扩展配置,详细配置介绍请查看"),t(M,{type:"primary",href:"https://hooray.gitee.io/fantastic-admin/guide/router.html#%E5%AF%BC%E8%88%AA%E9%85%8D%E7%BD%AE",target:"_blank"},{default:e(()=>[u(" 框架文档 ")]),_:1})])]),_:1}),t(se,{gutter:30,style:{padding:"20px"}},{default:e(()=>[t(r,{xl:12,lg:24},{default:e(()=>[t(p,{label:"显示名称",prop:"meta.title"},{default:e(()=>[t(c,{modelValue:a(l).meta.title,"onUpdate:modelValue":o[5]||(o[5]=n=>a(l).meta.title=n),clearable:"",placeholder:"请输入显示名称"},null,8,["modelValue"])]),_:1})]),_:1}),t(r,{xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.auth"},{label:e(()=>[u(" 鉴权标识 "),t(F,{content:"当设置多个标识时,只要命中其中一个则鉴权通过",placement:"top"},{default:e(()=>[t(g,null,{default:e(()=>[t(v,{name:"i-ri:question-line"})]),_:1})]),_:1})]),default:e(()=>[t(P,null,{default:e(()=>[(d(!0),S(H,null,J(a(l).meta.auth,n=>(d(),s(L,{key:n,size:"large",closable:"","disable-transitions":!1,onClose:C=>he(n)},{default:e(()=>[u(O(n),1)]),_:2},1032,["onClose"]))),128)),a(K)?(d(),s(c,{key:0,ref_key:"InputAuthRef",ref:ee,modelValue:a(V),"onUpdate:modelValue":o[6]||(o[6]=n=>W(V)?V.value=n:null),style:{width:"200px"},onKeyup:X(le,["enter"]),onBlur:le},null,8,["modelValue","onKeyup"])):(d(),s(y,{key:1,onClick:ge},{default:e(()=>[u(" 新增 ")]),_:1}))]),_:1})]),_:1})]),_:1}),t(r,{xl:12,lg:24},{default:e(()=>[t(p,{label:"默认图标",prop:"meta.icon"},{default:e(()=>[t(ie,{modelValue:a(l).meta.icon,"onUpdate:modelValue":o[7]||(o[7]=n=>a(l).meta.icon=n)},null,8,["modelValue"])]),_:1})]),_:1}),t(r,{xl:12,lg:24},{default:e(()=>[t(p,{label:"激活图标",prop:"meta.activeIcon"},{default:e(()=>[t(ie,{modelValue:a(l).meta.activeIcon,"onUpdate:modelValue":o[8]||(o[8]=n=>a(l).meta.activeIcon=n)},null,8,["modelValue"])]),_:1})]),_:1}),a(l).parentId?(d(),s(r,{key:0,xl:12,lg:24},{default:e(()=>[t(p,{label:"默认展开",prop:"meta.defaultOpened"},{default:e(()=>[t(w,{modelValue:a(l).meta.defaultOpened,"onUpdate:modelValue":o[9]||(o[9]=n=>a(l).meta.defaultOpened=n),"inline-prompt":"","active-text":"是","inactive-text":"否"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:1,xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.permanent"},{label:e(()=>[u(" 常驻标签页 "),Ye]),default:e(()=>[t(w,{modelValue:a(l).meta.permanent,"onUpdate:modelValue":o[10]||(o[10]=n=>a(l).meta.permanent=n),"inline-prompt":"","active-text":"是","inactive-text":"否"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:2,xl:12,lg:24},{default:e(()=>[t(p,{label:"在导航显示",prop:"meta.sidebar"},{default:e(()=>[t(w,{modelValue:a(l).meta.sidebar,"onUpdate:modelValue":o[11]||(o[11]=n=>a(l).meta.sidebar=n),"inline-prompt":"","active-text":"显示","inactive-text":"隐藏"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:3,xl:12,lg:24},{default:e(()=>[t(p,{label:"在面包屑显示",prop:"meta.breadcrumb"},{default:e(()=>[t(w,{modelValue:a(l).meta.breadcrumb,"onUpdate:modelValue":o[12]||(o[12]=n=>a(l).meta.breadcrumb=n),"inline-prompt":"","active-text":"显示","inactive-text":"隐藏"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:4,xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.cache"},{label:e(()=>[u(" 缓存规则 "),t(F,{content:"当跳转到设置的路由时,则会对当前路由进行缓存",placement:"top"},{default:e(()=>[t(g,null,{default:e(()=>[t(v,{name:"i-ri:question-line"})]),_:1})]),_:1}),R(m("span",el,[u("切换为"),t(M,{type:"primary",underline:!1,onClick:o[13]||(o[13]=Z(n=>a(l).meta.cache=!0,["prevent"]))},{default:e(()=>[u("始终缓存")]),_:1})],512),[[q,typeof a(l).meta.cache=="object"]]),R(m("span",ll,[u("切换为"),t(M,{type:"primary",underline:!1,onClick:o[14]||(o[14]=Z(n=>a(l).meta.cache=[],["prevent"]))},{default:e(()=>[u("规则模式")]),_:1})],512),[[q,typeof a(l).meta.cache=="boolean"]])]),default:e(()=>[R(t(P,null,{default:e(()=>[(d(!0),S(H,null,J(a(l).meta.cache,n=>(d(),s(L,{key:n,size:"large",closable:"","disable-transitions":!1,onClose:C=>ye(n)},{default:e(()=>[u(O(n),1)]),_:2},1032,["onClose"]))),128)),a(T)?(d(),s(c,{key:0,ref_key:"InputCacheRef",ref:te,modelValue:a(x),"onUpdate:modelValue":o[15]||(o[15]=n=>W(x)?x.value=n:null),style:{width:"200px"},onKeyup:X(ae,["enter"]),onBlur:ae},null,8,["modelValue","onKeyup"])):(d(),s(y,{key:1,onClick:Ve},{default:e(()=>[u(" 新增 ")]),_:1}))]),_:1},512),[[q,typeof a(l).meta.cache=="object"]]),R(m("div",null," 始终缓存 ",512),[[q,typeof a(l).meta.cache=="boolean"]])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:5,xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.noCache"},{label:e(()=>[u(" 不缓存规则 "),t(F,{content:"当跳转到设置的路由时,则会对当前路由取消缓存",placement:"top"},{default:e(()=>[t(g,null,{default:e(()=>[t(v,{name:"i-ri:question-line"})]),_:1})]),_:1}),tl]),default:e(()=>[t(P,null,{default:e(()=>[(d(!0),S(H,null,J(a(l).meta.noCache,n=>(d(),s(L,{key:n,size:"large",closable:"","disable-transitions":!1,onClose:C=>xe(n)},{default:e(()=>[u(O(n),1)]),_:2},1032,["onClose"]))),128)),a(j)?(d(),s(c,{key:0,ref_key:"InputNoCacheRef",ref:ne,modelValue:a(k),"onUpdate:modelValue":o[16]||(o[16]=n=>W(k)?k.value=n:null),style:{width:"200px"},onKeyup:X(oe,["enter"]),onBlur:oe},null,8,["modelValue","onKeyup"])):(d(),s(y,{key:1,onClick:ke},{default:e(()=>[u(" 新增 ")]),_:1}))]),_:1})]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:6,xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.activeMenu"},{label:e(()=>[u(" 高亮导航 "),al]),default:e(()=>[t(c,{modelValue:a(l).meta.activeMenu,"onUpdate:modelValue":o[17]||(o[17]=n=>a(l).meta.activeMenu=n),clearable:"",placeholder:"请输入高亮导航的完整路由地址"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:7,xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.badge"},{label:e(()=>[u(" 徽标 "),nl]),default:e(()=>[t(c,{modelValue:a(l).meta.badge,"onUpdate:modelValue":o[18]||(o[18]=n=>a(l).meta.badge=n),clearable:"",placeholder:"请输入徽标显示内容"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:8,xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.link"},{label:e(()=>[u(" 访问外链 "),ol]),default:e(()=>[t(c,{modelValue:a(l).meta.link,"onUpdate:modelValue":o[19]||(o[19]=n=>a(l).meta.link=n),clearable:"",placeholder:"请输入网址"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:9,xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.iframe"},{label:e(()=>[u(" 内嵌网页 "),ul]),default:e(()=>[t(c,{modelValue:a(l).meta.iframe,"onUpdate:modelValue":o[20]||(o[20]=n=>a(l).meta.iframe=n),clearable:"",placeholder:"请输入网址"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:10,xl:12,lg:24},{default:e(()=>[t(p,{label:"底部版权",prop:"meta.copyright"},{default:e(()=>[t(w,{modelValue:a(l).meta.copyright,"onUpdate:modelValue":o[21]||(o[21]=n=>a(l).meta.copyright=n),"inline-prompt":"","active-text":"显示","inactive-text":"隐藏"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0),a(l).parentId?(d(),s(r,{key:11,xl:12,lg:24},{default:e(()=>[t(p,{prop:"meta.paddingBottom"},{label:e(()=>[u(" 底部填充高度 "),dl]),default:e(()=>[t(c,{modelValue:a(l).meta.paddingBottom,"onUpdate:modelValue":o[22]||(o[22]=n=>a(l).meta.paddingBottom=n),clearable:"",placeholder:"请输入显示名称"},null,8,["modelValue"])]),_:1})]),_:1})):b("",!0)]),_:1})]),_:1})]),_:1},8,["model","rules"])])),[[Ee,a(D)]]),t(Ae,null,{default:e(()=>[t(y,{type:"primary",size:"large",onClick:we},{default:e(()=>[u(" 提交 ")]),_:1}),t(y,{size:"large",onClick:Ue},{default:e(()=>[u(" 取消 ")]),_:1})]),_:1})])}}});typeof re=="function"&&re(ce);const vl=Pe(ce,[["__scopeId","data-v-4b146ae4"]]);export{vl as default}; diff --git a/assets/detail-11d706a5.js.br b/assets/detail-11d706a5.js.br new file mode 100644 index 0000000..78fcbb8 Binary files /dev/null and b/assets/detail-11d706a5.js.br differ diff --git a/assets/detail-11d706a5.js.gz b/assets/detail-11d706a5.js.gz new file mode 100644 index 0000000..0244b30 Binary files /dev/null and b/assets/detail-11d706a5.js.gz differ diff --git a/assets/detail-2f06237b.js b/assets/detail-2f06237b.js new file mode 100644 index 0000000..6d96f79 --- /dev/null +++ b/assets/detail-2f06237b.js @@ -0,0 +1 @@ +import{_ as w}from"./index-6aa92ec0.js";import{d as u,u as B,a as R,bZ as S,y as h,r as D,e as n,o as E,f as z,g as e,w as t,l as s,i as r,P as N,_ as T,S as $,R as G,x as i}from"./index-17000ae8.js";import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-9166909b.js";const P=u({name:"PagesExampleDepartmentDetail"}),V=u({...P,setup(M){const l=B(),m=R(),p=S(),_=h(),c=D();function f(){c.value.submit(()=>{N.emit("get-data-list"),o()})}function d(){o()}function o(){_.settings.tabbar.enable&&_.settings.tabbar.mergeTabsBy!=="activeMenu"?p.close({name:"pagesExampleGeneralDepartmentList"}):m.push({name:"pagesExampleGeneralDepartmentList"})}return(Z,j)=>{const g=T,b=n("el-icon"),a=n("el-button"),x=$,k=n("el-col"),C=n("el-row"),v=G,y=w;return E(),z("div",null,[e(x,{title:r(l).name==="routerName"?"新增部门":"编辑部门"},{default:t(()=>[e(a,{size:"default",round:"",onClick:o},{icon:t(()=>[e(b,null,{default:t(()=>[e(g,{name:"i-ep:arrow-left"})]),_:1})]),default:t(()=>[s(" 返回 ")]),_:1})]),_:1},8,["title"]),e(v,null,{default:t(()=>[e(C,null,{default:t(()=>[e(k,{md:24,lg:16},{default:t(()=>[e(L,{id:r(l).params.id,ref_key:"formRef",ref:c},null,8,["id"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(a,{type:"primary",size:"large",onClick:f},{default:t(()=>[s(" 提交 ")]),_:1}),e(a,{size:"large",onClick:d},{default:t(()=>[s(" 取消 ")]),_:1})]),_:1})])}}});typeof i=="function"&&i(V);export{V as default}; diff --git a/assets/detail-2f06237b.js.br b/assets/detail-2f06237b.js.br new file mode 100644 index 0000000..5fe60d4 Binary files /dev/null and b/assets/detail-2f06237b.js.br differ diff --git a/assets/detail-2f06237b.js.gz b/assets/detail-2f06237b.js.gz new file mode 100644 index 0000000..73dc89d Binary files /dev/null and b/assets/detail-2f06237b.js.gz differ diff --git a/assets/detail-465b1f7f.js b/assets/detail-465b1f7f.js new file mode 100644 index 0000000..cd9074f --- /dev/null +++ b/assets/detail-465b1f7f.js @@ -0,0 +1 @@ +import{_ as h}from"./index-6aa92ec0.js";import{d as u,u as k,a as C,bZ as S,y as D,r as B,e as _,o as E,f as R,g as e,w as t,l as a,i as r,P as w,_ as z,S as T,R as L,x as c}from"./index-17000ae8.js";import N from"./index-99f5a731.js";import"./index.vue_vue_type_script_setup_true_name_PcasCascader_lang-bb8b02e4.js";import"./index-30de37a4.js";const P=u({name:"PagesExampleDeliveryDetail"}),V=u({...P,setup($){const s=k(),p=C(),m=S(),i=D(),l=B();function f(){l.value.submit().then(()=>{w.emit("get-data-list"),n()})}function d(){n()}function n(){i.settings.tabbar.enable&&i.settings.tabbar.mergeTabsBy!=="activeMenu"?m.close({name:"pagesExampleShopDeliveryList"}):p.push({name:"pagesExampleShopDeliveryList"})}return(F,M)=>{const g=z,b=_("el-icon"),o=_("el-button"),v=T,x=L,y=h;return E(),R("div",null,[e(v,{title:r(s).name==="pagesExampleShopDeliveryCreate"?"新增运费模版":"编辑运费模版"},{default:t(()=>[e(o,{size:"default",round:"",onClick:n},{icon:t(()=>[e(b,null,{default:t(()=>[e(g,{name:"i-ep:arrow-left"})]),_:1})]),default:t(()=>[a(" 返回 ")]),_:1})]),_:1},8,["title"]),e(x,null,{default:t(()=>[e(N,{id:r(s).params.id,ref_key:"formRef",ref:l},null,8,["id"])]),_:1}),e(y,null,{default:t(()=>[e(o,{type:"primary",size:"large",onClick:f},{default:t(()=>[a(" 提交 ")]),_:1}),e(o,{size:"large",onClick:d},{default:t(()=>[a(" 取消 ")]),_:1})]),_:1})])}}});typeof c=="function"&&c(V);export{V as default}; diff --git a/assets/detail-465b1f7f.js.br b/assets/detail-465b1f7f.js.br new file mode 100644 index 0000000..c3b931c Binary files /dev/null and b/assets/detail-465b1f7f.js.br differ diff --git a/assets/detail-465b1f7f.js.gz b/assets/detail-465b1f7f.js.gz new file mode 100644 index 0000000..69b080f Binary files /dev/null and b/assets/detail-465b1f7f.js.gz differ diff --git a/assets/detail-5ad26c7a.js b/assets/detail-5ad26c7a.js new file mode 100644 index 0000000..fd4cbf7 --- /dev/null +++ b/assets/detail-5ad26c7a.js @@ -0,0 +1 @@ +import{_ as h}from"./index-6aa92ec0.js";import{d as u,u as w,a as B,bZ as R,y as S,r as E,e as t,o as M,f as z,g as e,w as n,l as s,i as r,P as N,_ as T,S as $,R as G,x as i}from"./index-17000ae8.js";import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-9b090cd3.js";const P=u({name:"PagesExampleManagerDetail"}),V=u({...P,setup(D){const l=w(),m=B(),f=R(),_=S(),c=E();function p(){c.value.submit().then(()=>{N.emit("get-data-list"),o()})}function d(){o()}function o(){_.settings.tabbar.enable&&_.settings.tabbar.mergeTabsBy!=="activeMenu"?f.close({name:"pagesExampleGeneralManagerList"}):m.push({name:"pagesExampleGeneralManagerList"})}return(Z,j)=>{const g=T,b=t("el-icon"),a=t("el-button"),x=$,k=t("el-col"),C=t("el-row"),v=G,y=h;return M(),z("div",null,[e(x,{title:r(l).name==="routerName"?"新增管理员":"编辑管理员"},{default:n(()=>[e(a,{size:"default",round:"",onClick:o},{icon:n(()=>[e(b,null,{default:n(()=>[e(g,{name:"i-ep:arrow-left"})]),_:1})]),default:n(()=>[s(" 返回 ")]),_:1})]),_:1},8,["title"]),e(v,null,{default:n(()=>[e(C,null,{default:n(()=>[e(k,{md:24,lg:16},{default:n(()=>[e(L,{id:r(l).params.id,ref_key:"formRef",ref:c},null,8,["id"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:n(()=>[e(a,{type:"primary",size:"large",onClick:p},{default:n(()=>[s(" 提交 ")]),_:1}),e(a,{size:"large",onClick:d},{default:n(()=>[s(" 取消 ")]),_:1})]),_:1})])}}});typeof i=="function"&&i(V);export{V as default}; diff --git a/assets/detail-5ad26c7a.js.br b/assets/detail-5ad26c7a.js.br new file mode 100644 index 0000000..2ae948a Binary files /dev/null and b/assets/detail-5ad26c7a.js.br differ diff --git a/assets/detail-5ad26c7a.js.gz b/assets/detail-5ad26c7a.js.gz new file mode 100644 index 0000000..b7ca40e Binary files /dev/null and b/assets/detail-5ad26c7a.js.gz differ diff --git a/assets/detail-5c141852.js b/assets/detail-5c141852.js new file mode 100644 index 0000000..68cf129 --- /dev/null +++ b/assets/detail-5c141852.js @@ -0,0 +1 @@ +import{_ as h}from"./index-6aa92ec0.js";import{d as u,u as w,a as B,bZ as E,y as S,r as z,e as n,o as G,f as T,g as e,w as t,l as s,i,P as D,_ as L,S as N,R as P,q as V,x as r}from"./index-17000ae8.js";import $ from"./index-47ac6bfb.js";const q=u({name:"PagesExampleRoleDetail"}),p=u({...q,setup(F){const l=w(),m=B(),f=E(),_=S(),c=z();function d(){c.value.submit().then(()=>{D.emit("get-data-list"),o()})}function g(){o()}function o(){_.settings.tabbar.enable&&_.settings.tabbar.mergeTabsBy!=="activeMenu"?f.close({name:"pagesExampleGeneralRoleList"}):m.push({name:"pagesExampleGeneralRoleList"})}return(I,M)=>{const b=L,x=n("el-icon"),a=n("el-button"),v=N,R=n("el-col"),k=n("el-row"),y=P,C=h;return G(),T("div",null,[e(v,{title:i(l).name==="pagesExampleGeneralRoleCreate"?"新增角色":"编辑角色"},{default:t(()=>[e(a,{size:"default",round:"",onClick:o},{icon:t(()=>[e(x,null,{default:t(()=>[e(b,{name:"i-ep:arrow-left"})]),_:1})]),default:t(()=>[s(" 返回 ")]),_:1})]),_:1},8,["title"]),e(y,null,{default:t(()=>[e(k,null,{default:t(()=>[e(R,{md:24,lg:16},{default:t(()=>[e($,{id:i(l).params.id,ref_key:"formRef",ref:c},null,8,["id"])]),_:1})]),_:1})]),_:1}),e(C,null,{default:t(()=>[e(a,{type:"primary",size:"large",onClick:d},{default:t(()=>[s(" 提交 ")]),_:1}),e(a,{size:"large",onClick:g},{default:t(()=>[s(" 取消 ")]),_:1})]),_:1})])}}});typeof r=="function"&&r(p);const H=V(p,[["__scopeId","data-v-cf49a058"]]);export{H as default}; diff --git a/assets/detail-5c141852.js.br b/assets/detail-5c141852.js.br new file mode 100644 index 0000000..ae79513 Binary files /dev/null and b/assets/detail-5c141852.js.br differ diff --git a/assets/detail-5c141852.js.gz b/assets/detail-5c141852.js.gz new file mode 100644 index 0000000..2f55229 Binary files /dev/null and b/assets/detail-5c141852.js.gz differ diff --git a/assets/detail-966513ea.js b/assets/detail-966513ea.js new file mode 100644 index 0000000..4a17630 --- /dev/null +++ b/assets/detail-966513ea.js @@ -0,0 +1 @@ +import{_ as h}from"./index-6aa92ec0.js";import{d as u,u as w,a as B,bZ as R,y as S,r as D,e as n,o as E,f as z,g as e,w as t,l as _,i as l,P as N,_ as T,S as $,R as G,x as i}from"./index-17000ae8.js";import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-b49e6789.js";const P=u({name:"PagesExampleDepartmentJobDetail"}),V=u({...P,setup(J){const a=w(),m=B(),p=R(),r=S(),c=D();function f(){c.value.submit().then(()=>{N.emit("get-data-list"),o()})}function d(){o()}function o(){r.settings.tabbar.enable&&r.settings.tabbar.mergeTabsBy!=="activeMenu"?p.close({name:"pagesExampleGeneralDepartmentList"}):m.push({name:"pagesExampleGeneralDepartmentList"})}return(M,Z)=>{const g=T,b=n("el-icon"),s=n("el-button"),x=$,k=n("el-col"),C=n("el-row"),v=G,y=h;return E(),z("div",null,[e(x,{title:l(a).name==="routerName"?"新增职位":"编辑职位"},{default:t(()=>[e(s,{size:"default",round:"",onClick:o},{icon:t(()=>[e(b,null,{default:t(()=>[e(g,{name:"i-ep:arrow-left"})]),_:1})]),default:t(()=>[_(" 返回 ")]),_:1})]),_:1},8,["title"]),e(v,null,{default:t(()=>[e(C,null,{default:t(()=>[e(k,{md:24,lg:16},{default:t(()=>[e(L,{id:l(a).params.id,ref_key:"formRef",ref:c,"department-id":l(a).params.department_id},null,8,["id","department-id"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(s,{type:"primary",size:"large",onClick:f},{default:t(()=>[_(" 提交 ")]),_:1}),e(s,{size:"large",onClick:d},{default:t(()=>[_(" 取消 ")]),_:1})]),_:1})])}}});typeof i=="function"&&i(V);export{V as default}; diff --git a/assets/detail-966513ea.js.br b/assets/detail-966513ea.js.br new file mode 100644 index 0000000..09684e6 Binary files /dev/null and b/assets/detail-966513ea.js.br differ diff --git a/assets/detail-966513ea.js.gz b/assets/detail-966513ea.js.gz new file mode 100644 index 0000000..cf5cf36 Binary files /dev/null and b/assets/detail-966513ea.js.gz differ diff --git a/assets/detail-96666d11.js b/assets/detail-96666d11.js new file mode 100644 index 0000000..445bf01 --- /dev/null +++ b/assets/detail-96666d11.js @@ -0,0 +1 @@ +import{d as _,a as r,e as u,o as c,L as l,w as o,g as p,i,l as f,R as m,x as t}from"./index-17000ae8.js";const d=_({__name:"detail",setup(x){const n=r();return(g,e)=>{const a=u("el-button"),s=m;return c(),l(s,null,{default:o(()=>[p(a,{onClick:e[0]||(e[0]=k=>i(n).go(-1))},{default:o(()=>[f(" 返回 ")]),_:1})]),_:1})}}});typeof t=="function"&&t(d);export{d as default}; diff --git a/assets/detail-c0a14d51.js b/assets/detail-c0a14d51.js new file mode 100644 index 0000000..4abe8fb --- /dev/null +++ b/assets/detail-c0a14d51.js @@ -0,0 +1 @@ +import{_ as h}from"./index-6aa92ec0.js";import{d as r,u as w,a as B,bZ as E,y as M,r as R,e as n,o as S,f as z,g as e,w as t,l as s,i as u,P as T,_ as $,S as L,R as N,x as i}from"./index-17000ae8.js";import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-34ec7a7c.js";const V=r({name:"PagesExampleFormModeDetail"}),D=r({...V,setup(F){const l=w(),m=B(),f=E(),_=M(),c=R();function p(){c.value.submit().then(()=>{T.emit("get-data-list"),o()})}function d(){o()}function o(){_.settings.tabbar.enable&&_.settings.tabbar.mergeTabsBy!=="activeMenu"?f.close({name:"standardModuleExampleList"}):m.push({name:"standardModuleExampleList"})}return(Z,j)=>{const g=$,b=n("el-icon"),a=n("el-button"),x=L,k=n("el-col"),C=n("el-row"),v=N,y=h;return S(),z("div",null,[e(x,{title:u(l).name==="standardModuleExampleCreate"?"新增":"编辑"},{default:t(()=>[e(a,{size:"default",round:"",onClick:o},{icon:t(()=>[e(b,null,{default:t(()=>[e(g,{name:"i-ep:arrow-left"})]),_:1})]),default:t(()=>[s(" 返回 ")]),_:1})]),_:1},8,["title"]),e(v,null,{default:t(()=>[e(C,null,{default:t(()=>[e(k,{md:24,lg:16},{default:t(()=>[e(P,{id:u(l).params.id,ref_key:"formRef",ref:c},null,8,["id"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(a,{type:"primary",size:"large",onClick:p},{default:t(()=>[s(" 提交 ")]),_:1}),e(a,{size:"large",onClick:d},{default:t(()=>[s(" 取消 ")]),_:1})]),_:1})])}}});typeof i=="function"&&i(D);export{D as default}; diff --git a/assets/detail-c0a14d51.js.br b/assets/detail-c0a14d51.js.br new file mode 100644 index 0000000..88dfb97 Binary files /dev/null and b/assets/detail-c0a14d51.js.br differ diff --git a/assets/detail-c0a14d51.js.gz b/assets/detail-c0a14d51.js.gz new file mode 100644 index 0000000..a12426b Binary files /dev/null and b/assets/detail-c0a14d51.js.gz differ diff --git a/assets/detail-dbb0e60d.css b/assets/detail-dbb0e60d.css new file mode 100644 index 0000000..475f466 --- /dev/null +++ b/assets/detail-dbb0e60d.css @@ -0,0 +1 @@ +.absolute-container[data-v-4b146ae4]{position:absolute;width:100%;height:100%;display:flex;flex-direction:column}.absolute-container .page-header[data-v-4b146ae4]{margin-bottom:0}.absolute-container .page-main[data-v-4b146ae4],.absolute-container .el-form[data-v-4b146ae4]{flex:1;overflow:auto;display:flex;flex-direction:column}.absolute-container .page-main .flex-container[data-v-4b146ae4]{position:static}.absolute-container .page-main .flex-container .page-header[data-v-4b146ae4]{background-color:var(--el-disabled-bg-color);margin-inline:-15px;margin-top:-15px}.absolute-container .page-main .flex-container[data-v-4b146ae4] .main .label-tip{display:inline-flex;margin-left:10px;color:var(--el-text-color-disabled)}.absolute-container .page-main .flex-container[data-v-4b146ae4] .right-side{display:flex;flex-direction:column}.absolute-container .page-main .flex-container[data-v-4b146ae4] .right-side .el-table{height:100%;margin-top:15px}.absolute-container .page-main .flex-container[data-v-4b146ae4] .right-side .el-table .el-table__row .index{display:inline-block}.absolute-container .page-main .flex-container[data-v-4b146ae4] .right-side .el-table .el-table__row .delete,.absolute-container .page-main .flex-container[data-v-4b146ae4] .right-side .el-table .el-table__row:hover .index{display:none}.absolute-container .page-main .flex-container[data-v-4b146ae4] .right-side .el-table .el-table__row:hover .delete{display:inline-block}.absolute-container .page-main .flex-container[data-v-4b146ae4] .right-side .el-table .el-table__row .el-tag.sortable,.absolute-container .page-main .flex-container[data-v-4b146ae4] .right-side .el-table .el-table__row .el-tag.sortable .el-icon{cursor:s-resize} diff --git a/assets/detail-dbb0e60d.css.br b/assets/detail-dbb0e60d.css.br new file mode 100644 index 0000000..6db5391 Binary files /dev/null and b/assets/detail-dbb0e60d.css.br differ diff --git a/assets/detail-dbb0e60d.css.gz b/assets/detail-dbb0e60d.css.gz new file mode 100644 index 0000000..cc63cd3 Binary files /dev/null and b/assets/detail-dbb0e60d.css.gz differ diff --git a/assets/detail1-56626639.js b/assets/detail1-56626639.js new file mode 100644 index 0000000..35aa25e --- /dev/null +++ b/assets/detail1-56626639.js @@ -0,0 +1 @@ +import{q as o,o as a,f as c,g as s,w as _,l,x as e,R as r}from"./index-17000ae8.js";const t={};function f(i,p){const n=r;return a(),c("div",null,[s(n,null,{default:_(()=>[l(" 注意看面包屑导航的变化 ")]),_:1})])}typeof e=="function"&&e(t);const d=o(t,[["render",f]]);export{d as default}; diff --git a/assets/detail2-56626639.js b/assets/detail2-56626639.js new file mode 100644 index 0000000..35aa25e --- /dev/null +++ b/assets/detail2-56626639.js @@ -0,0 +1 @@ +import{q as o,o as a,f as c,g as s,w as _,l,x as e,R as r}from"./index-17000ae8.js";const t={};function f(i,p){const n=r;return a(),c("div",null,[s(n,null,{default:_(()=>[l(" 注意看面包屑导航的变化 ")]),_:1})])}typeof e=="function"&&e(t);const d=o(t,[["render",f]]);export{d as default}; diff --git a/assets/digital-7-webfont-2db5c5bd.woff b/assets/digital-7-webfont-2db5c5bd.woff new file mode 100644 index 0000000..c622d75 Binary files /dev/null and b/assets/digital-7-webfont-2db5c5bd.woff differ diff --git a/assets/digital-7-webfont-7129774e.svg b/assets/digital-7-webfont-7129774e.svg new file mode 100644 index 0000000..d02c78f --- /dev/null +++ b/assets/digital-7-webfont-7129774e.svg @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/digital-7-webfont-7774f87e.woff2 b/assets/digital-7-webfont-7774f87e.woff2 new file mode 100644 index 0000000..012a409 Binary files /dev/null and b/assets/digital-7-webfont-7774f87e.woff2 differ diff --git a/assets/digital-7-webfont-e40ea8a2.eot b/assets/digital-7-webfont-e40ea8a2.eot new file mode 100644 index 0000000..ce1a756 Binary files /dev/null and b/assets/digital-7-webfont-e40ea8a2.eot differ diff --git a/assets/digital-7_mono-webfont-0688fd21.woff2 b/assets/digital-7_mono-webfont-0688fd21.woff2 new file mode 100644 index 0000000..516bc56 Binary files /dev/null and b/assets/digital-7_mono-webfont-0688fd21.woff2 differ diff --git a/assets/digital-7_mono-webfont-9bb410c6.eot b/assets/digital-7_mono-webfont-9bb410c6.eot new file mode 100644 index 0000000..7af0eb4 Binary files /dev/null and b/assets/digital-7_mono-webfont-9bb410c6.eot differ diff --git a/assets/digital-7_mono-webfont-d51fd22b.svg b/assets/digital-7_mono-webfont-d51fd22b.svg new file mode 100644 index 0000000..5ef075d --- /dev/null +++ b/assets/digital-7_mono-webfont-d51fd22b.svg @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/digital-7_mono-webfont-fde56695.woff b/assets/digital-7_mono-webfont-fde56695.woff new file mode 100644 index 0000000..d7545f5 Binary files /dev/null and b/assets/digital-7_mono-webfont-fde56695.woff differ diff --git a/assets/dot-7616b8fe.js b/assets/dot-7616b8fe.js new file mode 100644 index 0000000..ccdf15d --- /dev/null +++ b/assets/dot-7616b8fe.js @@ -0,0 +1 @@ +import{d as u,c9 as i,e as p,o as r,f as d,g as e,w as o,h as m,t as f,i as a,l as g,S as x,R as B,x as s}from"./index-17000ae8.js";const b=u({__name:"dot",setup(k){const t=i();return(v,n)=>{const _=x,c=p("el-button"),l=B;return r(),d("div",null,[e(_,{title:"点标记",content:"搭配 Pinia 可实现动态设置"}),e(l,null,{default:o(()=>[m("div",null,"当前 badge 值:"+f(a(t).dot),1),e(c,{onClick:n[0]||(n[0]=C=>a(t).switchDot())},{default:o(()=>[g(" 切换 ")]),_:1})]),_:1})])}}});typeof s=="function"&&s(b);export{b as default}; diff --git a/assets/echarts-c683c193.js b/assets/echarts-c683c193.js new file mode 100644 index 0000000..1c15a1a --- /dev/null +++ b/assets/echarts-c683c193.js @@ -0,0 +1,60 @@ +import{d as vI,r as Ml,B as cI,e as Co,o as pI,f as dI,g as ce,w as pe,h as Bi,l as Bh,_ as gI,S as yI,R as mI,x as am}from"./index-17000ae8.js";import _I from"./alert-8aa56ecd.js";/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var sp=function(r,e){return sp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])},sp(r,e)};function k(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");sp(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var SI=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),xI=function(){function r(){this.browser=new SI,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=typeof window<"u"}return r}(),Mn=new xI;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Mn.wxa=!0,Mn.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Mn.worker=!0:typeof navigator>"u"?(Mn.node=!0,Mn.svgSupported=!0):wI(navigator.userAgent,Mn);function wI(r,e){var t=e.browser,a=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),i=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(t.firefox=!0,t.version=a[1]),n&&(t.ie=!0,t.version=n[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),o&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11),e.domSupported=typeof document<"u";var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}const bt=Mn;var Zd=12,nb="sans-serif",Wa=Zd+"px "+nb,bI=20,TI=100,CI="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function AI(r){var e={};if(typeof JSON>"u")return e;for(var t=0;t=0)s=o*t.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",n[u]+":0",a[1-l]+":auto",n[1-u]+":auto",""].join("!important;"),r.appendChild(o),t.push(o)}return t}function qI(r,e,t){for(var a=t?"invTrans":"trans",n=e[a],i=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var f=r[u].getBoundingClientRect(),h=2*u,v=f.left,c=f.top;o.push(v,c),l=l&&i&&v===i[h]&&c===i[h+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&n?n:(e.srcCoords=o,e[a]=t?sm(s,o):sm(o,s))}function hb(r){return r.nodeName.toUpperCase()==="CANVAS"}var KI=/([&<>"'])/g,QI={"&":"&","<":"<",">":">",'"':""","'":"'"};function Le(r){return r==null?"":(r+"").replace(KI,function(e,t){return QI[t]})}var JI=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,zh=[],jI=bt.browser.firefox&&+bt.browser.version.split(".")[0]<39;function pp(r,e,t,a){return t=t||{},a?um(r,e,t):jI&&e.layerX!=null&&e.layerX!==e.offsetX?(t.zrX=e.layerX,t.zrY=e.layerY):e.offsetX!=null?(t.zrX=e.offsetX,t.zrY=e.offsetY):um(r,e,t),t}function um(r,e,t){if(bt.domSupported&&r.getBoundingClientRect){var a=e.clientX,n=e.clientY;if(hb(r)){var i=r.getBoundingClientRect();t.zrX=a-i.left,t.zrY=n-i.top;return}else if(cp(zh,r,a,n)){t.zrX=zh[0],t.zrY=zh[1];return}}t.zrX=t.zrY=0}function tg(r){return r||window.event}function Xe(r,e,t){if(e=tg(e),e.zrX!=null)return e;var a=e.type,n=a&&a.indexOf("touch")>=0;if(n){var o=a!=="touchend"?e.targetTouches[0]:e.changedTouches[0];o&&pp(r,o,e,t)}else{pp(r,e,e,t);var i=tL(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&JI.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function tL(r){var e=r.wheelDelta;if(e)return e;var t=r.deltaX,a=r.deltaY;if(t==null||a==null)return e;var n=Math.abs(a!==0?a:t),i=a>0?-1:a<0?1:t>0?-1:1;return 3*n*i}function dp(r,e,t,a){r.addEventListener(e,t,a)}function eL(r,e,t,a){r.removeEventListener(e,t,a)}var sa=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function fm(r){return r.which===2||r.which===3}var rL=function(){function r(){this._track=[]}return r.prototype.recognize=function(e,t,a){return this._doTrack(e,t,a),this._recognize(e)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(e,t,a){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},o=0,s=n.length;o1&&a&&a.length>1){var i=hm(a)/hm(n);!isFinite(i)&&(i=1),e.pinchScale=i;var o=aL(a);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:r[0].target,event:e}}}}};function nr(){return[1,0,0,1,0,0]}function jf(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function eg(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r}function aa(r,e,t){var a=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],o=e[1]*t[2]+e[3]*t[3],s=e[0]*t[4]+e[2]*t[5]+e[4],l=e[1]*t[4]+e[3]*t[5]+e[5];return r[0]=a,r[1]=n,r[2]=i,r[3]=o,r[4]=s,r[5]=l,r}function zr(r,e,t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4]+t[0],r[5]=e[5]+t[1],r}function fi(r,e,t){var a=e[0],n=e[2],i=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(t),f=Math.cos(t);return r[0]=a*f+o*u,r[1]=-a*u+o*f,r[2]=n*f+s*u,r[3]=-n*u+f*s,r[4]=f*i+u*l,r[5]=f*l-u*i,r}function rg(r,e,t){var a=t[0],n=t[1];return r[0]=e[0]*a,r[1]=e[1]*n,r[2]=e[2]*a,r[3]=e[3]*n,r[4]=e[4]*a,r[5]=e[5]*n,r}function uo(r,e){var t=e[0],a=e[2],n=e[4],i=e[1],o=e[3],s=e[5],l=t*o-i*a;return l?(l=1/l,r[0]=o*l,r[1]=-i*l,r[2]=-a*l,r[3]=t*l,r[4]=(a*s-o*n)*l,r[5]=(i*n-t*s)*l,r):null}function nL(r){var e=nr();return eg(e,r),e}var iL=function(){function r(e,t){this.x=e||0,this.y=t||0}return r.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(e,t){return this.x=e,this.y=t,this},r.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},r.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},r.prototype.scale=function(e){this.x*=e,this.y*=e},r.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},r.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},r.prototype.dot=function(e){return this.x*e.x+this.y*e.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},r.prototype.distance=function(e){var t=this.x-e.x,a=this.y-e.y;return Math.sqrt(t*t+a*a)},r.prototype.distanceSquare=function(e){var t=this.x-e.x,a=this.y-e.y;return t*t+a*a},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(e){if(e){var t=this.x,a=this.y;return this.x=e[0]*t+e[2]*a+e[4],this.y=e[1]*t+e[3]*a+e[5],this}},r.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},r.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},r.set=function(e,t,a){e.x=t,e.y=a},r.copy=function(e,t){e.x=t.x,e.y=t.y},r.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},r.lenSquare=function(e){return e.x*e.x+e.y*e.y},r.dot=function(e,t){return e.x*t.x+e.y*t.y},r.add=function(e,t,a){e.x=t.x+a.x,e.y=t.y+a.y},r.sub=function(e,t,a){e.x=t.x-a.x,e.y=t.y-a.y},r.scale=function(e,t,a){e.x=t.x*a,e.y=t.y*a},r.scaleAndAdd=function(e,t,a,n){e.x=t.x+a.x*n,e.y=t.y+a.y*n},r.lerp=function(e,t,a,n){var i=1-n;e.x=i*t.x+n*a.x,e.y=i*t.y+n*a.y},r}();const st=iL;var Il=Math.min,Ll=Math.max,en=new st,rn=new st,an=new st,nn=new st,Ao=new st,Mo=new st,oL=function(){function r(e,t,a,n){a<0&&(e=e+a,a=-a),n<0&&(t=t+n,n=-n),this.x=e,this.y=t,this.width=a,this.height=n}return r.prototype.union=function(e){var t=Il(e.x,this.x),a=Il(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ll(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ll(e.y+e.height,this.y+this.height)-a:this.height=e.height,this.x=t,this.y=a},r.prototype.applyTransform=function(e){r.applyTransform(this,this,e)},r.prototype.calculateTransform=function(e){var t=this,a=e.width/t.width,n=e.height/t.height,i=nr();return zr(i,i,[-t.x,-t.y]),rg(i,i,[a,n]),zr(i,i,[e.x,e.y]),i},r.prototype.intersect=function(e,t){if(!e)return!1;e instanceof r||(e=r.create(e));var a=this,n=a.x,i=a.x+a.width,o=a.y,s=a.y+a.height,l=e.x,u=e.x+e.width,f=e.y,h=e.y+e.height,v=!(ip&&(p=_,dp&&(p=S,y=a.x&&e<=a.x+a.width&&t>=a.y&&t<=a.y+a.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(e){r.copy(this,e)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(e){return new r(e.x,e.y,e.width,e.height)},r.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},r.applyTransform=function(e,t,a){if(!a){e!==t&&r.copy(e,t);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var n=a[0],i=a[3],o=a[4],s=a[5];e.x=t.x*n+o,e.y=t.y*i+s,e.width=t.width*n,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}en.x=an.x=t.x,en.y=nn.y=t.y,rn.x=nn.x=t.x+t.width,rn.y=an.y=t.y+t.height,en.transform(a),nn.transform(a),rn.transform(a),an.transform(a),e.x=Il(en.x,rn.x,an.x,nn.x),e.y=Il(en.y,rn.y,an.y,nn.y);var l=Ll(en.x,rn.x,an.x,nn.x),u=Ll(en.y,rn.y,an.y,nn.y);e.width=l-e.x,e.height=u-e.y},r}();const ft=oL;var vb="silent";function sL(r,e,t){return{type:r,event:t,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:lL}}function lL(){sa(this.event)}var uL=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.handler=null,t}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(or),Do=function(){function r(e,t){this.x=e,this.y=t}return r}(),fL=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Fh=new ft(0,0,0,0),cb=function(r){k(e,r);function e(t,a,n,i,o){var s=r.call(this)||this;return s._hovered=new Do(0,0),s.storage=t,s.painter=a,s.painterRoot=i,s._pointerSize=o,n=n||new uL,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new $I(s),s}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(A(fL,function(a){t.on&&t.on(a,this[a],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var a=t.zrX,n=t.zrY,i=pb(this,a,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=i?new Do(a,n):this.findHover(a,n),u=l.target,f=this.proxy;f.setCursor&&f.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(l,"mousemove",t),u&&u!==s&&this.dispatchToElement(l,"mouseover",t)},e.prototype.mouseout=function(t){var a=t.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Do(0,0)},e.prototype.dispatch=function(t,a){var n=this[t];n&&n.call(this,a)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var a=this.proxy;a.setCursor&&a.setCursor(t)},e.prototype.dispatchToElement=function(t,a,n){t=t||{};var i=t.target;if(!(i&&i.silent)){for(var o="on"+a,s=sL(a,t,n);i&&(i[o]&&(s.cancelBubble=!!i[o].call(i,s)),i.trigger(a,s),i=i.__hostTarget?i.__hostTarget:i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(a,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(a,s)}))}},e.prototype.findHover=function(t,a,n){var i=this.storage.getDisplayList(),o=new Do(t,a);if(vm(i,o,t,a,n),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,f=new ft(t-u,a-u,l,l),h=i.length-1;h>=0;h--){var v=i[h];v!==n&&!v.ignore&&!v.ignoreCoarsePointer&&(!v.parent||!v.parent.ignoreCoarsePointer)&&(Fh.copy(v.getBoundingRect()),v.transform&&Fh.applyTransform(v.transform),Fh.intersect(f)&&s.push(v))}if(s.length)for(var c=4,p=Math.PI/12,d=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(i,r,e)}});function hL(r,e,t){if(r[r.rectHover?"rectContain":"contain"](e,t)){for(var a=r,n=void 0,i=!1;a;){if(a.ignoreClip&&(i=!0),!i){var o=a.getClipPath();if(o&&!o.contain(e,t))return!1;a.silent&&(n=!0)}var s=a.__hostTarget;a=s||a.parent}return n?vb:!0}return!1}function vm(r,e,t,a,n){for(var i=r.length-1;i>=0;i--){var o=r[i],s=void 0;if(o!==n&&!o.ignore&&(s=hL(o,t,a))&&(!e.topTarget&&(e.topTarget=o),s!==vb)){e.target=o;break}}}function pb(r,e,t){var a=r.painter;return e<0||e>a.getWidth()||t<0||t>a.getHeight()}const vL=cb;var db=32,Io=7;function cL(r){for(var e=0;r>=db;)e|=r&1,r>>=1;return r+e}function cm(r,e,t,a){var n=e+1;if(n===t)return 1;if(a(r[n++],r[e])<0){for(;n=0;)n++;return n-e}function pL(r,e,t){for(t--;e>>1,n(i,r[l])<0?s=l:o=l+1;var u=a-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=i}}function Hh(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])>0){for(s=a-n;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{for(s=n+1;ls&&(l=s);var u=o;o=n-l,l=n-u}for(o++;o>>1);i(r,e[t+f])>0?o=f+1:l=f}return l}function Wh(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])<0){for(s=n+1;ls&&(l=s);var u=o;o=n-l,l=n-u}else{for(s=a-n;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}for(o++;o>>1);i(r,e[t+f])<0?l=f:o=f+1}return l}function dL(r,e){var t=Io,a,n,i=0;r.length;var o=[];a=[],n=[];function s(c,p){a[i]=c,n[i]=p,i+=1}function l(){for(;i>1;){var c=i-2;if(c>=1&&n[c-1]<=n[c]+n[c+1]||c>=2&&n[c-2]<=n[c]+n[c-1])n[c-1]n[c+1])break;f(c)}}function u(){for(;i>1;){var c=i-2;c>0&&n[c-1]=Io||b>=Io);if(T)break;w<0&&(w=0),w+=2}if(t=w,t<1&&(t=1),p===1){for(y=0;y=0;y--)r[x+y]=r[w+y];r[S]=o[_];return}for(var b=t;;){var T=0,C=0,M=!1;do if(e(o[_],r[m])<0){if(r[S--]=r[m--],T++,C=0,--p===0){M=!0;break}}else if(r[S--]=o[_--],C++,T=0,--g===1){M=!0;break}while((T|C)=0;y--)r[x+y]=r[w+y];if(p===0){M=!0;break}}if(r[S--]=o[_--],--g===1){M=!0;break}if(C=g-Hh(r[m],o,0,g,g-1,e),C!==0){for(S-=C,_-=C,g-=C,x=S+1,w=_+1,y=0;y=Io||C>=Io);if(M)break;b<0&&(b=0),b+=2}if(t=b,t<1&&(t=1),g===1){for(S-=p,m-=p,x=S+1,w=m+1,y=p-1;y>=0;y--)r[x+y]=r[w+y];r[S]=o[_]}else{if(g===0)throw new Error;for(w=S-(g-1),y=0;ys&&(l=s),pm(r,t,t+l,t+i,e),i=l}o.pushRun(t,i),o.mergeRuns(),n-=i,t+=i}while(n!==0);o.forceMergeRuns()}}var ze=1,es=2,Vi=4,dm=!1;function $h(){dm||(dm=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function gm(r,e){return r.zlevel===e.zlevel?r.z===e.z?r.z2-e.z2:r.z-e.z:r.zlevel-e.zlevel}var gL=function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=gm}return r.prototype.traverse=function(e,t){for(var a=0;a0&&(f.__clipPaths=[]),isNaN(f.z)&&($h(),f.z=0),isNaN(f.z2)&&($h(),f.z2=0),isNaN(f.zlevel)&&($h(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var h=e.getDecalElement&&e.getDecalElement();h&&this._updateAndAddDisplayable(h,t,a);var v=e.getTextGuideLine();v&&this._updateAndAddDisplayable(v,t,a);var c=e.getTextContent();c&&this._updateAndAddDisplayable(c,t,a)}},r.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},r.prototype.delRoot=function(e){if(e instanceof Array){for(var t=0,a=e.length;t=0&&this._roots.splice(n,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r}();const yL=gL;var gb;gb=bt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};const gp=gb;var Nu={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),-(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)))},elasticOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*r)*Math.sin((r-e)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),(r*=2)<1?-.5*(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)):t*Math.pow(2,-10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var e=1.70158;return r*r*((e+1)*r-e)},backOut:function(r){var e=1.70158;return--r*r*((e+1)*r+e)+1},backInOut:function(r){var e=2.5949095;return(r*=2)<1?.5*(r*r*((e+1)*r-e)):.5*((r-=2)*r*((e+1)*r+e)+2)},bounceIn:function(r){return 1-Nu.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?Nu.bounceIn(r*2)*.5:Nu.bounceOut(r*2-1)*.5+.5}};const yb=Nu;var Pl=Math.pow,za=Math.sqrt,ef=1e-8,mb=1e-4,ym=za(3),Rl=1/3,Pr=ui(),Je=ui(),Zi=ui();function Ea(r){return r>-ef&&ref||r<-ef}function jt(r,e,t,a,n){var i=1-n;return i*i*(i*r+3*n*e)+n*n*(n*a+3*i*t)}function mm(r,e,t,a,n){var i=1-n;return 3*(((e-r)*i+2*(t-e)*n)*i+(a-t)*n*n)}function rf(r,e,t,a,n,i){var o=a+3*(e-t)-r,s=3*(t-e*2+r),l=3*(e-r),u=r-n,f=s*s-3*o*l,h=s*l-9*o*u,v=l*l-3*s*u,c=0;if(Ea(f)&&Ea(h))if(Ea(s))i[0]=0;else{var p=-l/s;p>=0&&p<=1&&(i[c++]=p)}else{var d=h*h-4*f*v;if(Ea(d)){var g=h/f,p=-s/o+g,y=-g/2;p>=0&&p<=1&&(i[c++]=p),y>=0&&y<=1&&(i[c++]=y)}else if(d>0){var m=za(d),_=f*s+1.5*o*(-h+m),S=f*s+1.5*o*(-h-m);_<0?_=-Pl(-_,Rl):_=Pl(_,Rl),S<0?S=-Pl(-S,Rl):S=Pl(S,Rl);var p=(-s-(_+S))/(3*o);p>=0&&p<=1&&(i[c++]=p)}else{var w=(2*f*s-3*o*h)/(2*za(f*f*f)),x=Math.acos(w)/3,b=za(f),T=Math.cos(x),p=(-s-2*b*T)/(3*o),y=(-s+b*(T+ym*Math.sin(x)))/(3*o),C=(-s+b*(T-ym*Math.sin(x)))/(3*o);p>=0&&p<=1&&(i[c++]=p),y>=0&&y<=1&&(i[c++]=y),C>=0&&C<=1&&(i[c++]=C)}}return c}function Sb(r,e,t,a,n){var i=6*t-12*e+6*r,o=9*e+3*a-3*r-9*t,s=3*e-3*r,l=0;if(Ea(o)){if(_b(i)){var u=-s/i;u>=0&&u<=1&&(n[l++]=u)}}else{var f=i*i-4*o*s;if(Ea(f))n[0]=-i/(2*o);else if(f>0){var h=za(f),u=(-i+h)/(2*o),v=(-i-h)/(2*o);u>=0&&u<=1&&(n[l++]=u),v>=0&&v<=1&&(n[l++]=v)}}return l}function Ua(r,e,t,a,n,i){var o=(e-r)*n+r,s=(t-e)*n+e,l=(a-t)*n+t,u=(s-o)*n+o,f=(l-s)*n+s,h=(f-u)*n+u;i[0]=r,i[1]=o,i[2]=u,i[3]=h,i[4]=h,i[5]=f,i[6]=l,i[7]=a}function xb(r,e,t,a,n,i,o,s,l,u,f){var h,v=.005,c=1/0,p,d,g,y;Pr[0]=l,Pr[1]=u;for(var m=0;m<1;m+=.05)Je[0]=jt(r,t,n,o,m),Je[1]=jt(e,a,i,s,m),g=Yn(Pr,Je),g=0&&g=0&&u<=1&&(n[l++]=u)}}else{var f=o*o-4*i*s;if(Ea(f)){var u=-o/(2*i);u>=0&&u<=1&&(n[l++]=u)}else if(f>0){var h=za(f),u=(-o+h)/(2*i),v=(-o-h)/(2*i);u>=0&&u<=1&&(n[l++]=u),v>=0&&v<=1&&(n[l++]=v)}}return l}function wb(r,e,t){var a=r+t-2*e;return a===0?.5:(r-e)/a}function Ps(r,e,t,a,n){var i=(e-r)*a+r,o=(t-e)*a+e,s=(o-i)*a+i;n[0]=r,n[1]=i,n[2]=s,n[3]=s,n[4]=o,n[5]=t}function bb(r,e,t,a,n,i,o,s,l){var u,f=.005,h=1/0;Pr[0]=o,Pr[1]=s;for(var v=0;v<1;v+=.05){Je[0]=ae(r,t,n,v),Je[1]=ae(e,a,i,v);var c=Yn(Pr,Je);c=0&&c=1?1:rf(0,a,i,1,l,s)&&jt(0,n,o,1,s[0])}}}var wL=function(){function r(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||Yt,this.ondestroy=e.ondestroy||Yt,this.onrestart=e.onrestart||Yt,e.easing&&this.setEasing(e.easing)}return r.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var a=this._life,n=e-this._startTime-this._pausedTime,i=n/a;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,s=o?o(i):i;if(this.onframe(s),i===1)if(this.loop){var l=n%a;this._startTime=e-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(e){this.easing=e,this.easingFunc=K(e)?e:yb[e]||ag(e)},r}();const bL=wL;var Tb=function(){function r(e){this.value=e}return r}(),TL=function(){function r(){this._len=0}return r.prototype.insert=function(e){var t=new Tb(e);return this.insertEntry(t),t},r.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++},r.prototype.remove=function(e){var t=e.prev,a=e.next;t?t.next=a:this.head=a,a?a.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r}(),CL=function(){function r(e){this._list=new TL,this._maxSize=10,this._map={},this._maxSize=e}return r.prototype.put=function(e,t){var a=this._list,n=this._map,i=null;if(n[e]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete n[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new Tb(t),s.key=e,a.insertEntry(s),n[e]=s}return i},r.prototype.get=function(e){var t=this._map[e],a=this._list;if(t!=null)return t!==a.tail&&(a.remove(t),a.insertEntry(t)),t.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r}();const nl=CL;var _m={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 yr(r){return r=Math.round(r),r<0?0:r>255?255:r}function AL(r){return r=Math.round(r),r<0?0:r>360?360:r}function Rs(r){return r<0?0:r>1?1:r}function Uh(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?yr(parseFloat(e)/100*255):yr(parseInt(e,10))}function Zn(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?Rs(parseFloat(e)/100):Rs(parseFloat(e))}function Yh(r,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?r+(e-r)*t*6:t*2<1?e:t*3<2?r+(e-r)*(2/3-t)*6:r}function ka(r,e,t){return r+(e-r)*t}function Ze(r,e,t,a,n){return r[0]=e,r[1]=t,r[2]=a,r[3]=n,r}function mp(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r}var Cb=new nl(20),El=null;function yi(r,e){El&&mp(El,e),El=Cb.put(r,El||e.slice())}function Ge(r,e){if(r){e=e||[];var t=Cb.get(r);if(t)return mp(e,t);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in _m)return mp(e,_m[a]),yi(r,e),e;var n=a.length;if(a.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(a.slice(1,4),16);if(!(i>=0&&i<=4095)){Ze(e,0,0,0,1);return}return Ze(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(a.slice(4),16)/15:1),yi(r,e),e}else if(n===7||n===9){var i=parseInt(a.slice(1,7),16);if(!(i>=0&&i<=16777215)){Ze(e,0,0,0,1);return}return Ze(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(a.slice(7),16)/255:1),yi(r,e),e}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===n){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),f=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Ze(e,+u[0],+u[1],+u[2],1):Ze(e,0,0,0,1);f=Zn(u.pop());case"rgb":if(u.length>=3)return Ze(e,Uh(u[0]),Uh(u[1]),Uh(u[2]),u.length===3?f:Zn(u[3])),yi(r,e),e;Ze(e,0,0,0,1);return;case"hsla":if(u.length!==4){Ze(e,0,0,0,1);return}return u[3]=Zn(u[3]),_p(u,e),yi(r,e),e;case"hsl":if(u.length!==3){Ze(e,0,0,0,1);return}return _p(u,e),yi(r,e),e;default:return}}Ze(e,0,0,0,1)}}function _p(r,e){var t=(parseFloat(r[0])%360+360)%360/360,a=Zn(r[1]),n=Zn(r[2]),i=n<=.5?n*(a+1):n+a-n*a,o=n*2-i;return e=e||[],Ze(e,yr(Yh(o,i,t+1/3)*255),yr(Yh(o,i,t)*255),yr(Yh(o,i,t-1/3)*255),1),r.length===4&&(e[3]=r[3]),e}function ML(r){if(r){var e=r[0]/255,t=r[1]/255,a=r[2]/255,n=Math.min(e,t,a),i=Math.max(e,t,a),o=i-n,s=(i+n)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(i+n):u=o/(2-i-n);var f=((i-e)/6+o/2)/o,h=((i-t)/6+o/2)/o,v=((i-a)/6+o/2)/o;e===i?l=v-h:t===i?l=1/3+f-v:a===i&&(l=2/3+h-f),l<0&&(l+=1),l>1&&(l-=1)}var c=[l*360,u,s];return r[3]!=null&&c.push(r[3]),c}}function Sp(r,e){var t=Ge(r);if(t){for(var a=0;a<3;a++)e<0?t[a]=t[a]*(1-e)|0:t[a]=(255-t[a])*e+t[a]|0,t[a]>255?t[a]=255:t[a]<0&&(t[a]=0);return na(t,t.length===4?"rgba":"rgb")}}function Zh(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){t=t||[];var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=e[n],s=e[i],l=a-n;return t[0]=yr(ka(o[0],s[0],l)),t[1]=yr(ka(o[1],s[1],l)),t[2]=yr(ka(o[2],s[2],l)),t[3]=Rs(ka(o[3],s[3],l)),t}}function DL(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=Ge(e[n]),s=Ge(e[i]),l=a-n,u=na([yr(ka(o[0],s[0],l)),yr(ka(o[1],s[1],l)),yr(ka(o[2],s[2],l)),Rs(ka(o[3],s[3],l))],"rgba");return t?{color:u,leftIndex:n,rightIndex:i,value:a}:u}}function ps(r,e,t,a){var n=Ge(r);if(r)return n=ML(n),e!=null&&(n[0]=AL(e)),t!=null&&(n[1]=Zn(t)),a!=null&&(n[2]=Zn(a)),na(_p(n),"rgba")}function af(r,e){var t=Ge(r);if(t&&e!=null)return t[3]=Rs(e),na(t,"rgba")}function na(r,e){if(!(!r||!r.length)){var t=r[0]+","+r[1]+","+r[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+r[3]),e+"("+t+")"}}function nf(r,e){var t=Ge(r);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}var of=Math.round;function Es(r){var e;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var t=Ge(r);t&&(r="rgb("+t[0]+","+t[1]+","+t[2]+")",e=t[3])}return{color:r,opacity:e??1}}var Sm=1e-4;function Oa(r){return r-Sm}function kl(r){return of(r*1e3)/1e3}function xp(r){return of(r*1e4)/1e4}function IL(r){return"matrix("+kl(r[0])+","+kl(r[1])+","+kl(r[2])+","+kl(r[3])+","+xp(r[4])+","+xp(r[5])+")"}var LL={left:"start",right:"end",center:"middle",middle:"middle"};function PL(r,e,t){return t==="top"?r+=e/2:t==="bottom"&&(r-=e/2),r}function RL(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function EL(r){var e=r.style,t=r.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),t[0],t[1]].join(",")}function Ab(r){return r&&!!r.image}function kL(r){return r&&!!r.svgElement}function ng(r){return Ab(r)||kL(r)}function Mb(r){return r.type==="linear"}function Db(r){return r.type==="radial"}function Ib(r){return r&&(r.type==="linear"||r.type==="radial")}function th(r){return"url(#"+r+")"}function Lb(r){var e=r.getGlobalScale(),t=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(t)/Math.log(10)),1)}function Pb(r){var e=r.x||0,t=r.y||0,a=(r.rotation||0)*Ru,n=lt(r.scaleX,1),i=lt(r.scaleY,1),o=r.skewX||0,s=r.skewY||0,l=[];return(e||t)&&l.push("translate("+e+"px,"+t+"px)"),a&&l.push("rotate("+a+")"),(n!==1||i!==1)&&l.push("scale("+n+","+i+")"),(o||s)&&l.push("skew("+of(o*Ru)+"deg, "+of(s*Ru)+"deg)"),l.join(" ")}var OL=function(){return bt.hasGlobalWindow&&K(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}}(),wp=Array.prototype.slice;function Kr(r,e,t){return(e-r)*t+r}function Xh(r,e,t,a){for(var n=e.length,i=0;ia?e:r,i=Math.min(t,a),o=n[i-1]||{color:[0,0,0,0],offset:0},s=i;so;if(s)a.length=o;else for(var l=i;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(e,t,a){this._needsSort=!0;var n=this.keyframes,i=n.length,o=!1,s=wm,l=t;if(me(t)){var u=zL(t);s=u,(u===1&&!Ct(t[0])||u===2&&!Ct(t[0][0]))&&(o=!0)}else if(Ct(t)&&!Ls(t))s=Nl;else if($(t))if(!isNaN(+t))s=Nl;else{var f=Ge(t);f&&(l=f,s=rs)}else if(Qf(t)){var h=B({},l);h.colorStops=G(t.colorStops,function(c){return{offset:c.offset,color:Ge(c.color)}}),Mb(t)?s=bp:Db(t)&&(s=Tp),l=h}i===0?this.valType=s:(s!==this.valType||s===wm)&&(o=!0),this.discrete=this.discrete||o;var v={time:e,value:l,rawValue:t,percent:0};return a&&(v.easing=a,v.easingFunc=K(a)?a:yb[a]||ag(a)),n.push(v),v},r.prototype.prepare=function(e,t){var a=this.keyframes;this._needsSort&&a.sort(function(d,g){return d.time-g.time});for(var n=this.valType,i=a.length,o=a[i-1],s=this.discrete,l=Bl(n),u=bm(n),f=0;f=0&&!(o[f].percent<=t);f--);f=v(f,s-2)}else{for(f=h;ft);f++);f=v(f-1,s-2)}p=o[f+1],c=o[f]}if(c&&p){this._lastFr=f,this._lastFrP=t;var g=p.percent-c.percent,y=g===0?1:v((t-c.percent)/g,1);p.easingFunc&&(y=p.easingFunc(y));var m=a?this._additiveValue:u?Lo:e[l];if((Bl(i)||u)&&!m&&(m=this._additiveValue=[]),this.discrete)e[l]=y<1?c.rawValue:p.rawValue;else if(Bl(i))i===Vu?Xh(m,c[n],p[n],y):NL(m,c[n],p[n],y);else if(bm(i)){var _=c[n],S=p[n],w=i===bp;e[l]={type:w?"linear":"radial",x:Kr(_.x,S.x,y),y:Kr(_.y,S.y,y),colorStops:G(_.colorStops,function(b,T){var C=S.colorStops[T];return{offset:Kr(b.offset,C.offset,y),color:Bu(Xh([],b.color,C.color,y))}}),global:S.global},w?(e[l].x2=Kr(_.x2,S.x2,y),e[l].y2=Kr(_.y2,S.y2,y)):e[l].r=Kr(_.r,S.r,y)}else if(u)Xh(m,c[n],p[n],y),a||(e[l]=Bu(m));else{var x=Kr(c[n],p[n],y);a?this._additiveValue=x:e[l]=x}a&&this._addToTarget(e)}}},r.prototype._addToTarget=function(e){var t=this.valType,a=this.propName,n=this._additiveValue;t===Nl?e[a]=e[a]+n:t===rs?(Ge(e[a],Lo),Ol(Lo,Lo,n,1),e[a]=Bu(Lo)):t===Vu?Ol(e[a],e[a],n,1):t===Rb&&xm(e[a],e[a],n,1)},r}(),FL=function(){function r(e,t,a,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){Kd("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(e){this._target=e},r.prototype.when=function(e,t,a){return this.whenWithKeys(e,t,mt(t),a)},r.prototype.whenWithKeys=function(e,t,a,n){for(var i=this._tracks,o=0;o0&&l.addKeyframe(0,ds(u),n),this._trackKeys.push(s)}l.addKeyframe(e,ds(t[s]),n)}return this._maxTime=Math.max(this._maxTime,e),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,a=0;a0)){this._started=1;for(var t=this,a=[],n=this._maxTime||0,i=0;i1){var s=o.pop();i.addKeyframe(s.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},r}();const ig=FL;function Wi(){return new Date().getTime()}var HL=function(r){k(e,r);function e(t){var a=r.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,t=t||{},a.stage=t.stage||{},a}return e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var a=t.getClip();a&&this.addClip(a)},e.prototype.removeClip=function(t){if(t.animation){var a=t.prev,n=t.next;a?a.next=n:this._head=n,n?n.prev=a:this._tail=a,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var a=t.getClip();a&&this.removeClip(a),t.animation=null},e.prototype.update=function(t){for(var a=Wi()-this._pausedTime,n=a-this._time,i=this._head;i;){var o=i.next,s=i.step(a,n);s&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=a,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0;function a(){t._running&&(gp(a),!t._paused&&t.update())}gp(a)},e.prototype.start=function(){this._running||(this._time=Wi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Wi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Wi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var a=t.next;t.prev=t.next=t.animation=null,t=a}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(t,a){a=a||{},this.start();var n=new ig(t,a.loop);return this.addAnimator(n),n},e}(or);const WL=HL;var $L=300,qh=bt.domSupported,Kh=function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=G(r,function(n){var i=n.replace("mouse","pointer");return t.hasOwnProperty(i)?i:n});return{mouse:r,touch:e,pointer:a}}(),Tm={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Cm=!1;function Cp(r){var e=r.pointerType;return e==="pen"||e==="touch"}function UL(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Qh(r){r&&(r.zrByTouch=!0)}function YL(r,e){return Xe(r.dom,new ZL(r,e),!0)}function Eb(r,e){for(var t=e,a=!1;t&&t.nodeType!==9&&!(a=t.domBelongToZr||t!==e&&t===r.painterRoot);)t=t.parentNode;return a}var ZL=function(){function r(e,t){this.stopPropagation=Yt,this.stopImmediatePropagation=Yt,this.preventDefault=Yt,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return r}(),vr={mousedown:function(r){r=Xe(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Xe(this.dom,r);var e=this.__mayPointerCapture;e&&(r.zrX!==e[0]||r.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Xe(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=Xe(this.dom,r);var e=r.toElement||r.relatedTarget;Eb(this,e)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){Cm=!0,r=Xe(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){Cm||(r=Xe(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=Xe(this.dom,r),Qh(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),vr.mousemove.call(this,r),vr.mousedown.call(this,r)},touchmove:function(r){r=Xe(this.dom,r),Qh(r),this.handler.processGesture(r,"change"),vr.mousemove.call(this,r)},touchend:function(r){r=Xe(this.dom,r),Qh(r),this.handler.processGesture(r,"end"),vr.mouseup.call(this,r),+new Date-+this.__lastTouchMoment<$L&&vr.click.call(this,r)},pointerdown:function(r){vr.mousedown.call(this,r)},pointermove:function(r){Cp(r)||vr.mousemove.call(this,r)},pointerup:function(r){vr.mouseup.call(this,r)},pointerout:function(r){Cp(r)||vr.mouseout.call(this,r)}};A(["click","dblclick","contextmenu"],function(r){vr[r]=function(e){e=Xe(this.dom,e),this.trigger(r,e)}});var Ap={pointermove:function(r){Cp(r)||Ap.mousemove.call(this,r)},pointerup:function(r){Ap.mouseup.call(this,r)},mousemove:function(r){this.trigger("mousemove",r)},mouseup:function(r){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",r),e&&(r.zrEventControl="only_globalout",this.trigger("mouseout",r))}};function XL(r,e){var t=e.domHandlers;bt.pointerEventsSupported?A(Kh.pointer,function(a){zu(e,a,function(n){t[a].call(r,n)})}):(bt.touchEventsSupported&&A(Kh.touch,function(a){zu(e,a,function(n){t[a].call(r,n),UL(e)})}),A(Kh.mouse,function(a){zu(e,a,function(n){n=tg(n),e.touching||t[a].call(r,n)})}))}function qL(r,e){bt.pointerEventsSupported?A(Tm.pointer,t):bt.touchEventsSupported||A(Tm.mouse,t);function t(a){function n(i){i=tg(i),Eb(r,i.target)||(i=YL(r,i),e.domHandlers[a].call(r,i))}zu(e,a,n,{capture:!0})}}function zu(r,e,t,a){r.mounted[e]=t,r.listenerOpts[e]=a,dp(r.domTarget,e,t,a)}function Jh(r){var e=r.mounted;for(var t in e)e.hasOwnProperty(t)&&eL(r.domTarget,t,e[t],r.listenerOpts[t]);r.mounted={}}var Am=function(){function r(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return r}(),KL=function(r){k(e,r);function e(t,a){var n=r.call(this)||this;return n.__pointerCapturing=!1,n.dom=t,n.painterRoot=a,n._localHandlerScope=new Am(t,vr),qh&&(n._globalHandlerScope=new Am(document,Ap)),XL(n,n._localHandlerScope),n}return e.prototype.dispose=function(){Jh(this._localHandlerScope),qh&&Jh(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,qh&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var a=this._globalHandlerScope;t?qL(this,a):Jh(a)}},e}(or);const QL=KL;var kb=1;bt.hasGlobalWindow&&(kb=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var sf=kb,Mp=.4,Dp="#333",Ip="#ccc",JL="#eee",Mm=jf,Dm=5e-5;function on(r){return r>Dm||r<-Dm}var sn=[],mi=[],jh=nr(),tv=Math.abs,jL=function(){function r(){}return r.prototype.getLocalTransform=function(e){return r.getLocalTransform(this,e)},r.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},r.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},r.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},r.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},r.prototype.needLocalTransform=function(){return on(this.rotation)||on(this.x)||on(this.y)||on(this.scaleX-1)||on(this.scaleY-1)||on(this.skewX)||on(this.skewY)},r.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),a=this.transform;if(!(t||e)){a&&Mm(a);return}a=a||nr(),t?this.getLocalTransform(a):Mm(a),e&&(t?aa(a,e,a):eg(a,e)),this.transform=a,this._resolveGlobalScaleRatio(a)},r.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(sn);var a=sn[0]<0?-1:1,n=sn[1]<0?-1:1,i=((sn[0]-a)*t+a)/sn[0]||0,o=((sn[1]-n)*t+n)/sn[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||nr(),uo(this.invTransform,e)},r.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},r.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);a=Math.sqrt(a)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=a,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(aa(mi,e.invTransform,t),t=mi);var a=this.originX,n=this.originY;(a||n)&&(jh[4]=a,jh[5]=n,aa(mi,t,jh),mi[4]-=a,mi[5]-=n,t=mi),this.setLocalTransform(t)}},r.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)},r.prototype.transformCoordToLocal=function(e,t){var a=[e,t],n=this.invTransform;return n&&se(a,a,n),a},r.prototype.transformCoordToGlobal=function(e,t){var a=[e,t],n=this.transform;return n&&se(a,a,n),a},r.prototype.getLineScale=function(){var e=this.transform;return e&&tv(e[0]-1)>1e-10&&tv(e[3]-1)>1e-10?Math.sqrt(tv(e[0]*e[3]-e[2]*e[1])):1},r.prototype.copyTransform=function(e){Ob(this,e)},r.getLocalTransform=function(e,t){t=t||[];var a=e.originX||0,n=e.originY||0,i=e.scaleX,o=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,f=e.x,h=e.y,v=e.skewX?Math.tan(e.skewX):0,c=e.skewY?Math.tan(-e.skewY):0;if(a||n||s||l){var p=a+s,d=n+l;t[4]=-p*i-v*d*o,t[5]=-d*o-c*p*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=c*i,t[2]=v*o,u&&fi(t,t,u),t[4]+=a+f,t[5]+=n+h,t},r.initDefaultProps=function(){var e=r.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),r}(),Gr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Ob(r,e){for(var t=0;t=0?parseFloat(r)/100*e:parseFloat(r):r}function lf(r,e,t){var a=e.position||"inside",n=e.distance!=null?e.distance:5,i=t.height,o=t.width,s=i/2,l=t.x,u=t.y,f="left",h="top";if(a instanceof Array)l+=_r(a[0],t.width),u+=_r(a[1],t.height),f=null,h=null;else switch(a){case"left":l-=n,u+=s,f="right",h="middle";break;case"right":l+=n+o,u+=s,h="middle";break;case"top":l+=o/2,u-=n,f="center",h="bottom";break;case"bottom":l+=o/2,u+=i+n,f="center";break;case"inside":l+=o/2,u+=s,f="center",h="middle";break;case"insideLeft":l+=n,u+=s,h="middle";break;case"insideRight":l+=o-n,u+=s,f="right",h="middle";break;case"insideTop":l+=o/2,u+=n,f="center";break;case"insideBottom":l+=o/2,u+=i-n,f="center",h="bottom";break;case"insideTopLeft":l+=n,u+=n;break;case"insideTopRight":l+=o-n,u+=n,f="right";break;case"insideBottomLeft":l+=n,u+=i-n,h="bottom";break;case"insideBottomRight":l+=o-n,u+=i-n,f="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=f,r.verticalAlign=h,r}var ev="__zr_normal__",rv=Gr.concat(["ignore"]),tP=Vr(Gr,function(r,e){return r[e]=!0,r},{ignore:!1}),_i={},eP=new ft(0,0,0,0),og=function(){function r(e){this.id=sb(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return r.prototype._init=function(e){this.attr(e)},r.prototype.drift=function(e,t,a){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var a=this.textConfig,n=a.local,i=t.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=n?this:null;var u=!1;if(i.copyTransform(t),a.position!=null){var f=eP;a.layoutRect?f.copy(a.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(_i,a,f):lf(_i,a,f),i.x=_i.x,i.y=_i.y,o=_i.align,s=_i.verticalAlign;var h=a.origin;if(h&&a.rotation!=null){var v=void 0,c=void 0;h==="center"?(v=f.width*.5,c=f.height*.5):(v=_r(h[0],f.width),c=_r(h[1],f.height)),u=!0,i.originX=-i.x+v+(n?0:f.x),i.originY=-i.y+c+(n?0:f.y)}}a.rotation!=null&&(i.rotation=a.rotation);var p=a.offset;p&&(i.x+=p[0],i.y+=p[1],u||(i.originX=-p[0],i.originY=-p[1]));var d=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,_=void 0;d&&this.canBeInsideText()?(y=a.insideFill,m=a.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(y),_=!0)):(y=a.outsideFill,m=a.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(y),_=!0)),y=y||"#000",(y!==g.fill||m!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=y,g.stroke=m,g.autoStroke=_,g.align=o,g.verticalAlign=s,t.setDefaultTextStyle(g)),t.__dirty|=ze,l&&t.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(e){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ip:Dp},r.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),a=typeof t=="string"&&Ge(t);a||(a=[255,255,255,1]);for(var n=a[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)a[o]=a[o]*n+(i?0:255)*(1-n);return a[3]=1,na(a,"rgba")},r.prototype.traverse=function(e,t){},r.prototype.attrKV=function(e,t){e==="textConfig"?this.setTextConfig(t):e==="textContent"?this.setTextContent(t):e==="clipPath"?this.setClipPath(t):e==="extra"?(this.extra=this.extra||{},B(this.extra,t)):this[e]=t},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(e,t){if(typeof e=="string")this.attrKV(e,t);else if(tt(e))for(var a=e,n=mt(a),i=0;i0},r.prototype.getState=function(e){return this.states[e]},r.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},r.prototype.clearStates=function(e){this.useState(ev,!1,e)},r.prototype.useState=function(e,t,a,n){var i=e===ev,o=this.hasState();if(!(!o&&i)){var s=this.currentStates,l=this.stateTransition;if(!(vt(s,e)>=0&&(t||s.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),!u&&!i){Kd("State "+e+" not exists.");return}i||this.saveCurrentToNormalState(u);var f=!!(u&&u.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,t,!a&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,v=this._textGuide;return h&&h.useState(e,t,a,f),v&&v.useState(e,t,a,f),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ze),u}}},r.prototype.useStates=function(e,t,a){if(!e.length)this.clearStates();else{var n=[],i=this.currentStates,o=e.length,s=o===i.length;if(s){for(var l=0;l0,p);var d=this._textContent,g=this._textGuide;d&&d.useStates(e,t,v),g&&g.useStates(e,t,v),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!v&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ze)}},r.prototype._updateAnimationTargets=function(){for(var e=0;e=0){var a=this.currentStates.slice();a.splice(t,1),this.useStates(a)}},r.prototype.replaceState=function(e,t,a){var n=this.currentStates.slice(),i=vt(n,e),o=vt(n,t)>=0;i>=0?o?n.splice(i,1):n[i]=t:a&&!o&&n.push(t),this.useStates(n)},r.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},r.prototype._mergeStates=function(e){for(var t={},a,n=0;n=0&&i.splice(o,1)}),this.animators.push(e),a&&a.animation.addAnimator(e),a&&a.wakeUp()},r.prototype.updateDuringAnimation=function(e){this.markRedraw()},r.prototype.stopAnimation=function(e,t){for(var a=this.animators,n=a.length,i=[],o=0;o0&&t.during&&i[0].during(function(p,d){t.during(d)});for(var v=0;v0||n.force&&!o.length){var T=void 0,C=void 0,M=void 0;if(s){C={},v&&(T={});for(var S=0;S<_;S++){var y=d[S];C[y]=t[y],v?T[y]=a[y]:t[y]=a[y]}}else if(v){M={};for(var S=0;S<_;S++){var y=d[S];M[y]=ds(t[y]),aP(t,a,y)}}var w=new ig(t,!1,!1,h?Lt(p,function(I){return I.targetName===e}):null);w.targetName=e,n.scope&&(w.scope=n.scope),v&&T&&w.whenWithKeys(0,T,d),M&&w.whenWithKeys(0,M,d),w.whenWithKeys(u??500,s?C:a,d).delay(f||0),r.addAnimator(w,e),o.push(w)}}const Bb=og;var Vb=function(r){k(e,r);function e(t){var a=r.call(this)||this;return a.isGroup=!0,a._children=[],a.attr(t),a}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var a=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,a){var n=vt(this._children,t);return n>=0&&this.replaceAt(a,n),this},e.prototype.replaceAt=function(t,a){var n=this._children,i=n[a];if(t&&t!==this&&t.parent!==this&&t!==i){n[a]=t,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var a=this.__zr;a&&a!==t.__zr&&t.addSelfToZr(a),a&&a.refresh()},e.prototype.remove=function(t){var a=this.__zr,n=this._children,i=vt(n,t);return i<0?this:(n.splice(i,1),t.parent=null,a&&t.removeSelfFromZr(a),a&&a.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,a=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},r.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},r.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},r.prototype.clearAnimation=function(){this.animation.clear()},r.prototype.getWidth=function(){return this.painter.getWidth()},r.prototype.getHeight=function(){return this.painter.getHeight()},r.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},r.prototype.findHover=function(e,t){return this.handler.findHover(e,t)},r.prototype.on=function(e,t,a){return this.handler.on(e,t,a),this},r.prototype.off=function(e,t){this.handler.off(e,t)},r.prototype.trigger=function(e,t){this.handler.trigger(e,t)},r.prototype.clear=function(){for(var e=this.storage.getRoots(),t=0;t0){if(r<=n)return o;if(r>=i)return s}else{if(r>=n)return o;if(r<=i)return s}else{if(r===n)return o;if(r===i)return s}return(r-n)/l*u+o}function H(r,e){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return $(r)?fP(r).match(/%$/)?parseFloat(r)/100*e:parseFloat(r):r==null?NaN:+r}function $t(r,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),Gb),r=(+r).toFixed(e),t?r:+r}function rr(r){return r.sort(function(e,t){return e-t}),r}function Er(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(r*e)/e===r)return t}return hP(r)}function hP(r){var e=r.toString().toLowerCase(),t=e.indexOf("e"),a=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),o=i<0?0:n-1-i;return Math.max(0,o-a)}function Fb(r,e){var t=Math.log,a=Math.LN10,n=Math.floor(t(r[1]-r[0])/a),i=Math.round(t(Math.abs(e[1]-e[0]))/a),o=Math.min(Math.max(-n+i,0),20);return isFinite(o)?o:20}function vP(r,e){var t=Vr(r,function(c,p){return c+(isNaN(p)?0:p)},0);if(t===0)return[];for(var a=Math.pow(10,e),n=G(r,function(c){return(isNaN(c)?0:c)/t*a*100}),i=a*100,o=G(n,function(c){return Math.floor(c)}),s=Vr(o,function(c,p){return c+p},0),l=G(n,function(c,p){return c-o[p]});su&&(u=l[h],f=h);++o[f],l[f]=0,++s}return G(o,function(c){return c/a})}function cP(r,e){var t=Math.max(Er(r),Er(e)),a=r+e;return t>Gb?a:$t(a,t)}var Em=9007199254740991;function Hb(r){var e=Math.PI*2;return(r%e+e)%e}function uf(r){return r>-Rm&&r=10&&e++,e}function Wb(r,e){var t=sg(r),a=Math.pow(10,t),n=r/a,i;return e?n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10:n<1?i=1:n<2?i=2:n<3?i=3:n<5?i=5:i=10,r=i*a,t>=-20?+r.toFixed(t<0?-t:0):r}function iv(r,e){var t=(r.length-1)*e+1,a=Math.floor(t),n=+r[a-1],i=t-a;return i?n+i*(r[a]-n):n}function km(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var e=-1/0,t=1,a=0;a=0||i&&vt(i,l)<0)){var u=a.getShallow(l,e);u!=null&&(o[r[s][0]]=u)}}return o}}var zP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],GP=ni(zP),FP=function(){function r(){}return r.prototype.getAreaStyle=function(e,t){return GP(this,e,t)},r}(),Pp=new nl(50);function HP(r){if(typeof r=="string"){var e=Pp.get(r);return e&&e.image}else return r}function hg(r,e,t,a,n){if(r)if(typeof r=="string"){if(e&&e.__zrImageSrc===r||!t)return e;var i=Pp.get(r),o={hostEl:t,cb:a,cbPayload:n};return i?(e=i.image,!ah(e)&&i.pending.push(o)):(e=$a.loadImage(r,Vm,Vm),e.__zrImageSrc=r,Pp.put(r,e.__cachedImgObj={image:e,pending:[o]})),e}else return r;else return e}function Vm(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=o;l++)s-=o;var u=Fe(t,e);return u>s&&(t="",u=0),s=r-u,n.ellipsis=t,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=r,n}function rT(r,e){var t=e.containerWidth,a=e.font,n=e.contentWidth;if(!t)return"";var i=Fe(r,a);if(i<=t)return r;for(var o=0;;o++){if(i<=n||o>=e.maxIterations){r+=e.ellipsis;break}var s=o===0?$P(r,n,e.ascCharWidth,e.cnCharWidth):i>0?Math.floor(r.length*n/i):0;r=r.substr(0,s),i=Fe(r,a)}return r===""&&(r=e.placeholder),r}function $P(r,e,t,a){for(var n=0,i=0,o=r.length;ic&&u){var p=Math.floor(c/s);h=h.slice(0,p)}if(r&&i&&f!=null)for(var d=eT(f,n,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),g=0;gs&&sv(t,r.substring(s,u),e,o),sv(t,l[2],e,o,l[1]),s=ov.lastIndex}sn){w>0?(m.tokens=m.tokens.slice(0,w),g(m,S,_),t.lines=t.lines.slice(0,y+1)):t.lines=t.lines.slice(0,y);break t}var I=b.width,L=I==null||I==="auto";if(typeof I=="string"&&I.charAt(I.length-1)==="%")x.percentWidth=I,f.push(x),x.contentWidth=Fe(x.text,M);else{if(L){var P=b.backgroundColor,R=P&&P.image;R&&(R=HP(R),ah(R)&&(x.width=Math.max(x.width,R.width*D/R.height)))}var E=p&&a!=null?a-S:null;E!=null&&E0&&p+a.accumWidth>a.width&&(f=e.split(` +`),u=!0),a.accumWidth=p}else{var d=aT(e,l,a.width,a.breakAll,a.accumWidth);a.accumWidth=d.accumWidth+c,h=d.linesWidths,f=d.lines}}else f=e.split(` +`);for(var g=0;g=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var KP=Vr(",&?/;] ".split(""),function(r,e){return r[e]=!0,r},{});function QP(r){return qP(r)?!!KP[r]:!0}function aT(r,e,t,a,n){for(var i=[],o=[],s="",l="",u=0,f=0,h=0;ht:n+f+c>t){f?(s||l)&&(p?(s||(s=l,l="",u=0,f=u),i.push(s),o.push(f-u),l+=v,u+=c,s="",f=u):(l&&(s+=l,l="",u=0),i.push(s),o.push(f),s=v,f=c)):p?(i.push(l),o.push(u),l=v,u=c):(i.push(v),o.push(c));continue}f+=c,p?(l+=v,u+=c):(l&&(s+=l,l="",u=0),s+=v)}return!i.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(i.push(s),o.push(f)),i.length===1&&(f+=n),{accumWidth:f,lines:i,linesWidths:o}}var Rp="__zr_style_"+Math.round(Math.random()*10),Xn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},nh={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Xn[Rp]=!0;var Gm=["z","z2","invisible"],JP=["invisible"],jP=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype._init=function(t){for(var a=mt(t),n=0;n1e-4){s[0]=r-t,s[1]=e-a,l[0]=r+t,l[1]=e+a;return}if(Vl[0]=hv(n)*t+r,Vl[1]=fv(n)*a+e,zl[0]=hv(i)*t+r,zl[1]=fv(i)*a+e,u(s,Vl,zl),f(l,Vl,zl),n=n%un,n<0&&(n=n+un),i=i%un,i<0&&(i=i+un),n>i&&!o?i+=un:nn&&(Gl[0]=hv(c)*t+r,Gl[1]=fv(c)*a+e,u(s,Gl,s),f(l,Gl,l))}var Rt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},fn=[],hn=[],br=[],ma=[],Tr=[],Cr=[],vv=Math.min,cv=Math.max,vn=Math.cos,cn=Math.sin,Zr=Math.abs,Ep=Math.PI,Aa=Ep*2,pv=typeof Float32Array<"u",Po=[];function dv(r){var e=Math.round(r/Ep*1e8)/1e8;return e%2*Ep}function nT(r,e){var t=dv(r[0]);t<0&&(t+=Aa);var a=t-r[0],n=r[1];n+=a,!e&&n-t>=Aa?n=t+Aa:e&&t-n>=Aa?n=t-Aa:!e&&t>n?n=t+(Aa-dv(t-n)):e&&t0&&(this._ux=Zr(a/sf/e)||0,this._uy=Zr(a/sf/t)||0)},r.prototype.setDPR=function(e){this.dpr=e},r.prototype.setContext=function(e){this._ctx=e},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(Rt.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},r.prototype.lineTo=function(e,t){var a=Zr(e-this._xi),n=Zr(t-this._yi),i=a>this._ux||n>this._uy;if(this.addData(Rt.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=a*a+n*n;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},r.prototype.bezierCurveTo=function(e,t,a,n,i,o){return this._drawPendingPt(),this.addData(Rt.C,e,t,a,n,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,a,n,i,o),this._xi=i,this._yi=o,this},r.prototype.quadraticCurveTo=function(e,t,a,n){return this._drawPendingPt(),this.addData(Rt.Q,e,t,a,n),this._ctx&&this._ctx.quadraticCurveTo(e,t,a,n),this._xi=a,this._yi=n,this},r.prototype.arc=function(e,t,a,n,i,o){this._drawPendingPt(),Po[0]=n,Po[1]=i,nT(Po,o),n=Po[0],i=Po[1];var s=i-n;return this.addData(Rt.A,e,t,a,a,n,s,0,o?0:1),this._ctx&&this._ctx.arc(e,t,a,n,i,o),this._xi=vn(i)*a+e,this._yi=cn(i)*a+t,this},r.prototype.arcTo=function(e,t,a,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,a,n,i),this},r.prototype.rect=function(e,t,a,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,a,n),this.addData(Rt.R,e,t,a,n),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(Rt.Z);var e=this._ctx,t=this._x0,a=this._y0;return e&&e.closePath(),this._xi=t,this._yi=a,this},r.prototype.fill=function(e){e&&e.fill(),this.toStatic()},r.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(e){var t=e.length;!(this.data&&this.data.length===t)&&pv&&(this.data=new Float32Array(t));for(var a=0;af.length&&(this._expandData(),f=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t11&&(this.data=new Float32Array(e)))}},r.prototype.getBoundingRect=function(){br[0]=br[1]=Tr[0]=Tr[1]=Number.MAX_VALUE,ma[0]=ma[1]=Cr[0]=Cr[1]=-Number.MAX_VALUE;var e=this.data,t=0,a=0,n=0,i=0,o;for(o=0;oa||Zr(_)>n||v===t-1)&&(d=Math.sqrt(m*m+_*_),i=g,o=y);break}case Rt.C:{var S=e[v++],w=e[v++],g=e[v++],y=e[v++],x=e[v++],b=e[v++];d=mL(i,o,S,w,g,y,x,b,10),i=x,o=b;break}case Rt.Q:{var S=e[v++],w=e[v++],g=e[v++],y=e[v++];d=SL(i,o,S,w,g,y,10),i=g,o=y;break}case Rt.A:var T=e[v++],C=e[v++],M=e[v++],D=e[v++],I=e[v++],L=e[v++],P=L+I;v+=1,e[v++],p&&(s=vn(I)*M+T,l=cn(I)*D+C),d=cv(M,D)*vv(Aa,Math.abs(L)),i=vn(P)*M+T,o=cn(P)*D+C;break;case Rt.R:{s=i=e[v++],l=o=e[v++];var R=e[v++],E=e[v++];d=R*2+E*2;break}case Rt.Z:{var m=s-i,_=l-o;d=Math.sqrt(m*m+_*_),i=s,o=l;break}}d>=0&&(u[h++]=d,f+=d)}return this._pathLen=f,f},r.prototype.rebuildPath=function(e,t){var a=this.data,n=this._ux,i=this._uy,o=this._len,s,l,u,f,h,v,c=t<1,p,d,g=0,y=0,m,_=0,S,w;if(!(c&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,d=this._pathLen,m=t*d,!m)))t:for(var x=0;x0&&(e.lineTo(S,w),_=0),b){case Rt.M:s=u=a[x++],l=f=a[x++],e.moveTo(u,f);break;case Rt.L:{h=a[x++],v=a[x++];var C=Zr(h-u),M=Zr(v-f);if(C>n||M>i){if(c){var D=p[y++];if(g+D>m){var I=(m-g)/D;e.lineTo(u*(1-I)+h*I,f*(1-I)+v*I);break t}g+=D}e.lineTo(h,v),u=h,f=v,_=0}else{var L=C*C+M*M;L>_&&(S=h,w=v,_=L)}break}case Rt.C:{var P=a[x++],R=a[x++],E=a[x++],N=a[x++],O=a[x++],V=a[x++];if(c){var D=p[y++];if(g+D>m){var I=(m-g)/D;Ua(u,P,E,O,I,fn),Ua(f,R,N,V,I,hn),e.bezierCurveTo(fn[1],hn[1],fn[2],hn[2],fn[3],hn[3]);break t}g+=D}e.bezierCurveTo(P,R,E,N,O,V),u=O,f=V;break}case Rt.Q:{var P=a[x++],R=a[x++],E=a[x++],N=a[x++];if(c){var D=p[y++];if(g+D>m){var I=(m-g)/D;Ps(u,P,E,I,fn),Ps(f,R,N,I,hn),e.quadraticCurveTo(fn[1],hn[1],fn[2],hn[2]);break t}g+=D}e.quadraticCurveTo(P,R,E,N),u=E,f=N;break}case Rt.A:var F=a[x++],W=a[x++],Z=a[x++],Q=a[x++],j=a[x++],gt=a[x++],At=a[x++],pt=!a[x++],rt=Z>Q?Z:Q,yt=Zr(Z-Q)>.001,ht=j+gt,X=!1;if(c){var D=p[y++];g+D>m&&(ht=j+gt*(m-g)/D,X=!0),g+=D}if(yt&&e.ellipse?e.ellipse(F,W,Z,Q,At,j,ht,pt):e.arc(F,W,rt,j,ht,pt),X)break t;T&&(s=vn(j)*Z+F,l=cn(j)*Q+W),u=vn(ht)*Z+F,f=cn(ht)*Q+W;break;case Rt.R:s=u=a[x],l=f=a[x+1],h=a[x++],v=a[x++];var ot=a[x++],Vt=a[x++];if(c){var D=p[y++];if(g+D>m){var _t=m-g;e.moveTo(h,v),e.lineTo(h+vv(_t,ot),v),_t-=ot,_t>0&&e.lineTo(h+ot,v+vv(_t,Vt)),_t-=Vt,_t>0&&e.lineTo(h+cv(ot-_t,0),v+Vt),_t-=ot,_t>0&&e.lineTo(h,v+cv(Vt-_t,0));break t}g+=D}e.rect(h,v,ot,Vt);break;case Rt.Z:if(c){var D=p[y++];if(g+D>m){var I=(m-g)/D;e.lineTo(u*(1-I)+s*I,f*(1-I)+l*I);break t}g+=D}e.closePath(),u=s,f=l}}},r.prototype.clone=function(){var e=new r,t=this.data;return e.data=t.slice?t.slice():Array.prototype.slice.call(t),e._len=this._len,e},r.CMD=Rt,r.initDefaultProps=function(){var e=r.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),r}();const Hr=nR;function Da(r,e,t,a,n,i,o){if(n===0)return!1;var s=n,l=0,u=r;if(o>e+s&&o>a+s||or+s&&i>t+s||ie+h&&f>a+h&&f>i+h&&f>s+h||fr+h&&u>t+h&&u>n+h&&u>o+h||ue+u&&l>a+u&&l>i+u||lr+u&&s>t+u&&s>n+u||st||f+un&&(n+=Ro);var v=Math.atan2(l,s);return v<0&&(v+=Ro),v>=a&&v<=n||v+Ro>=a&&v+Ro<=n}function Qr(r,e,t,a,n,i){if(i>e&&i>a||in?s:0}var _a=Hr.CMD,pn=Math.PI*2,sR=1e-4;function lR(r,e){return Math.abs(r-e)e&&u>a&&u>i&&u>s||u1&&uR(),c=jt(e,a,i,s,Ke[0]),v>1&&(p=jt(e,a,i,s,Ke[1]))),v===2?ge&&s>a&&s>i||s=0&&u<=1){for(var f=0,h=ae(e,a,i,u),v=0;vt||s<-t)return 0;var l=Math.sqrt(t*t-s*s);we[0]=-l,we[1]=l;var u=Math.abs(a-n);if(u<1e-4)return 0;if(u>=pn-1e-4){a=0,n=pn;var f=i?1:-1;return o>=we[0]+r&&o<=we[1]+r?f:0}if(a>n){var h=a;a=n,n=h}a<0&&(a+=pn,n+=pn);for(var v=0,c=0;c<2;c++){var p=we[c];if(p+r>o){var d=Math.atan2(s,p),f=i?1:-1;d<0&&(d=pn+d),(d>=a&&d<=n||d+pn>=a&&d+pn<=n)&&(d>Math.PI/2&&d1&&(t||(s+=Qr(l,u,f,h,a,n))),g&&(l=i[p],u=i[p+1],f=l,h=u),d){case _a.M:f=i[p++],h=i[p++],l=f,u=h;break;case _a.L:if(t){if(Da(l,u,i[p],i[p+1],e,a,n))return!0}else s+=Qr(l,u,i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case _a.C:if(t){if(iR(l,u,i[p++],i[p++],i[p++],i[p++],i[p],i[p+1],e,a,n))return!0}else s+=fR(l,u,i[p++],i[p++],i[p++],i[p++],i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case _a.Q:if(t){if(iT(l,u,i[p++],i[p++],i[p],i[p+1],e,a,n))return!0}else s+=hR(l,u,i[p++],i[p++],i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case _a.A:var y=i[p++],m=i[p++],_=i[p++],S=i[p++],w=i[p++],x=i[p++];p+=1;var b=!!(1-i[p++]);v=Math.cos(w)*_+y,c=Math.sin(w)*S+m,g?(f=v,h=c):s+=Qr(l,u,v,c,a,n);var T=(a-y)*S/_+y;if(t){if(oR(y,m,S,w,w+x,b,e,T,n))return!0}else s+=vR(y,m,S,w,w+x,b,T,n);l=Math.cos(w+x)*_+y,u=Math.sin(w+x)*S+m;break;case _a.R:f=l=i[p++],h=u=i[p++];var C=i[p++],M=i[p++];if(v=f+C,c=h+M,t){if(Da(f,h,v,h,e,a,n)||Da(v,h,v,c,e,a,n)||Da(v,c,f,c,e,a,n)||Da(f,c,f,h,e,a,n))return!0}else s+=Qr(v,h,v,c,a,n),s+=Qr(f,c,f,h,a,n);break;case _a.Z:if(t){if(Da(l,u,f,h,e,a,n))return!0}else s+=Qr(l,u,f,h,a,n);l=f,u=h;break}}return!t&&!lR(u,h)&&(s+=Qr(l,u,f,h,a,n)||0),s!==0}function cR(r,e,t){return oT(r,0,!1,e,t)}function pR(r,e,t,a){return oT(r,e,!0,t,a)}var ff=J({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Xn),dR={style:J({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},nh.style)},gv=Gr.concat(["invisible","culling","z","z2","zlevel","parent"]),gR=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.update=function(){var t=this;r.prototype.update.call(this);var a=this.style;if(a.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(l){t.buildPath(l,t.shape)}),n.silent=!0;var i=n.style;for(var o in a)i[o]!==a[o]&&(i[o]=a[o]);i.fill=a.fill?a.decal:null,i.decal=null,i.shadowColor=null,a.strokeFirst&&(i.stroke=null);for(var s=0;s.5?Dp:a>.2?JL:Ip}else if(t)return Ip}return Dp},e.prototype.getInsideTextStroke=function(t){var a=this.style.fill;if($(a)){var n=this.__zr,i=!!(n&&n.isDarkMode()),o=nf(t,0)0))},e.prototype.hasFill=function(){var t=this.style,a=t.fill;return a!=null&&a!=="none"},e.prototype.getBoundingRect=function(){var t=this._rect,a=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||this.__dirty&Vi)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),t=o.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){s.copy(t);var l=a.strokeNoScale?this.getLineScale():1,u=a.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;u=Math.max(u,f??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return t},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect(),o=this.style;if(t=n[0],a=n[1],i.contain(t,a)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),pR(s,l/u,t,a)))return!0}if(this.hasFill())return cR(s,t,a)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Vi,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(t,a){t==="shape"?this.setShape(a):r.prototype.attrKV.call(this,t,a)},e.prototype.setShape=function(t,a){var n=this.shape;return n||(n=this.shape={}),typeof t=="string"?n[t]=a:B(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Vi)},e.prototype.createStyle=function(t){return Jf(ff,t)},e.prototype._innerSaveToNormal=function(t){r.prototype._innerSaveToNormal.call(this,t);var a=this._normalState;t.shape&&!a.shape&&(a.shape=B({},this.shape))},e.prototype._applyStateObj=function(t,a,n,i,o,s){r.prototype._applyStateObj.call(this,t,a,n,i,o,s);var l=!(a&&i),u;if(a&&a.shape?o?i?u=a.shape:(u=B({},n.shape),B(u,a.shape)):(u=B({},i?this.shape:n.shape),B(u,a.shape)):l&&(u=n.shape),u)if(o){this.shape=B({},this.shape);for(var f={},h=mt(u),v=0;v0},e.prototype.hasFill=function(){var t=this.style,a=t.fill;return a!=null&&a!=="none"},e.prototype.createStyle=function(t){return Jf(yR,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var a=t.text;a!=null?a+="":a="";var n=il(a,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(ir);sT.prototype.type="tspan";const Os=sT;var mR=J({x:0,y:0},Xn),_R={style:J({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},nh.style)};function SR(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var lT=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.createStyle=function(t){return Jf(mR,t)},e.prototype._getSize=function(t){var a=this.style,n=a[t];if(n!=null)return n;var i=SR(a.image)?a.image:this.__image;if(!i)return 0;var o=t==="width"?"height":"width",s=a[o];return s==null?i[t]:i[t]/i[o]*s},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return _R},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ft(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(ir);lT.prototype.type="image";const he=lT;function xR(r,e){var t=e.x,a=e.y,n=e.width,i=e.height,o=e.r,s,l,u,f;n<0&&(t=t+n,n=-n),i<0&&(a=a+i,i=-i),typeof o=="number"?s=l=u=f=o:o instanceof Array?o.length===1?s=l=u=f=o[0]:o.length===2?(s=u=o[0],l=f=o[1]):o.length===3?(s=o[0],l=f=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],f=o[3]):s=l=u=f=0;var h;s+l>n&&(h=s+l,s*=n/h,l*=n/h),u+f>n&&(h=u+f,u*=n/h,f*=n/h),l+u>i&&(h=l+u,l*=i/h,u*=i/h),s+f>i&&(h=s+f,s*=i/h,f*=i/h),r.moveTo(t+s,a),r.lineTo(t+n-l,a),l!==0&&r.arc(t+n-l,a+l,l,-Math.PI/2,0),r.lineTo(t+n,a+i-u),u!==0&&r.arc(t+n-u,a+i-u,u,0,Math.PI/2),r.lineTo(t+f,a+i),f!==0&&r.arc(t+f,a+i-f,f,Math.PI/2,Math.PI),r.lineTo(t,a+s),s!==0&&r.arc(t+s,a+s,s,Math.PI,Math.PI*1.5)}var $i=Math.round;function uT(r,e,t){if(e){var a=e.x1,n=e.x2,i=e.y1,o=e.y2;r.x1=a,r.x2=n,r.y1=i,r.y2=o;var s=t&&t.lineWidth;return s&&($i(a*2)===$i(n*2)&&(r.x1=r.x2=zn(a,s,!0)),$i(i*2)===$i(o*2)&&(r.y1=r.y2=zn(i,s,!0))),r}}function fT(r,e,t){if(e){var a=e.x,n=e.y,i=e.width,o=e.height;r.x=a,r.y=n,r.width=i,r.height=o;var s=t&&t.lineWidth;return s&&(r.x=zn(a,s,!0),r.y=zn(n,s,!0),r.width=Math.max(zn(a+i,s,!1)-r.x,i===0?0:1),r.height=Math.max(zn(n+o,s,!1)-r.y,o===0?0:1)),r}}function zn(r,e,t){if(!e)return r;var a=$i(r*2);return(a+$i(e))%2===0?a/2:(a+(t?1:-1))/2}var wR=function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r}(),bR={},hT=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new wR},e.prototype.buildPath=function(t,a){var n,i,o,s;if(this.subPixelOptimize){var l=fT(bR,a,this.style);n=l.x,i=l.y,o=l.width,s=l.height,l.r=a.r,a=l}else n=a.x,i=a.y,o=a.width,s=a.height;a.r?xR(t,a):t.rect(n,i,o,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(dt);hT.prototype.type="rect";const St=hT;var Um={fill:"#000"},Ym=2,TR={style:J({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},nh.style)},vT=function(r){k(e,r);function e(t){var a=r.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=Um,a.attr(t),a}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t0,I=t.width!=null&&(t.overflow==="truncate"||t.overflow==="break"||t.overflow==="breakAll"),L=o.calculatedLineHeight,P=0;P=0&&(P=x[L],P.align==="right");)this._placeToken(P,t,T,y,I,"right",_),C-=P.width,I-=P.width,L--;for(D+=(i-(D-g)-(m-I)-C)/2;M<=L;)P=x[M],this._placeToken(P,t,T,y,D+P.width/2,"center",_),D+=P.width,M++;y+=T}},e.prototype._placeToken=function(t,a,n,i,o,s,l){var u=a.rich[t.styleName]||{};u.text=t.text;var f=t.verticalAlign,h=i+n/2;f==="top"?h=i+t.height/2:f==="bottom"&&(h=i+n-t.height/2);var v=!t.isLineHolder&&yv(u);v&&this._renderBackground(u,a,s==="right"?o-t.width:s==="center"?o-t.width/2:o,h-t.height/2,t.width,t.height);var c=!!u.backgroundColor,p=t.textPadding;p&&(o=Jm(o,s,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(Os),g=d.createStyle();d.useStyle(g);var y=this._defaultStyle,m=!1,_=0,S=Qm("fill"in u?u.fill:"fill"in a?a.fill:(m=!0,y.fill)),w=Km("stroke"in u?u.stroke:"stroke"in a?a.stroke:!c&&!l&&(!y.autoStroke||m)?(_=Ym,y.stroke):null),x=u.textShadowBlur>0||a.textShadowBlur>0;g.text=t.text,g.x=o,g.y=h,x&&(g.shadowBlur=u.textShadowBlur||a.textShadowBlur||0,g.shadowColor=u.textShadowColor||a.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||a.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||a.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||Wa,g.opacity=ea(u.opacity,a.opacity,1),Xm(g,u),w&&(g.lineWidth=ea(u.lineWidth,a.lineWidth,_),g.lineDash=lt(u.lineDash,a.lineDash),g.lineDashOffset=a.lineDashOffset||0,g.stroke=w),S&&(g.fill=S);var b=t.contentWidth,T=t.contentHeight;d.setBoundingRect(new ft(as(g.x,b,g.textAlign),zi(g.y,T,g.textBaseline),b,T))},e.prototype._renderBackground=function(t,a,n,i,o,s){var l=t.backgroundColor,u=t.borderWidth,f=t.borderColor,h=l&&l.image,v=l&&!h,c=t.borderRadius,p=this,d,g;if(v||t.lineHeight||u&&f){d=this._getOrCreateChild(St),d.useStyle(d.createStyle()),d.style.fill=null;var y=d.shape;y.x=n,y.y=i,y.width=o,y.height=s,y.r=c,d.dirtyShape()}if(v){var m=d.style;m.fill=l||null,m.fillOpacity=lt(t.fillOpacity,1)}else if(h){g=this._getOrCreateChild(he),g.onload=function(){p.dirtyStyle()};var _=g.style;_.image=l.image,_.x=n,_.y=i,_.width=o,_.height=s}if(u&&f){var m=d.style;m.lineWidth=u,m.stroke=f,m.strokeOpacity=lt(t.strokeOpacity,1),m.lineDash=t.borderDash,m.lineDashOffset=t.borderDashOffset||0,d.strokeContainThreshold=0,d.hasFill()&&d.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var S=(d||g).style;S.shadowBlur=t.shadowBlur||0,S.shadowColor=t.shadowColor||"transparent",S.shadowOffsetX=t.shadowOffsetX||0,S.shadowOffsetY=t.shadowOffsetY||0,S.opacity=ea(t.opacity,a.opacity,1)},e.makeFont=function(t){var a="";return pT(t)&&(a=[t.fontStyle,t.fontWeight,cT(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),a&&dr(a)||t.textFont||t.font},e}(ir),CR={left:!0,right:1,center:1},AR={top:1,bottom:1,middle:1},Zm=["fontStyle","fontWeight","fontSize","fontFamily"];function cT(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?Zd+"px":r+"px"}function Xm(r,e){for(var t=0;t=0,i=!1;if(r instanceof dt){var o=dT(r),s=n&&o.selectFill||o.normalFill,l=n&&o.selectStroke||o.normalStroke;if(Si(s)||Si(l)){a=a||{};var u=a.style||{};u.fill==="inherit"?(i=!0,a=B({},a),u=B({},u),u.fill=s):!Si(u.fill)&&Si(s)?(i=!0,a=B({},a),u=B({},u),u.fill=a0(s)):!Si(u.stroke)&&Si(l)&&(i||(a=B({},a),u=B({},u)),u.stroke=a0(l)),a.style=u}}if(a&&a.z2==null){i||(a=B({},a));var f=r.z2EmphasisLift;a.z2=r.z2+(f??ho)}return a}function ER(r,e,t){if(t&&t.z2==null){t=B({},t);var a=r.z2SelectLift;t.z2=r.z2+(a??DR)}return t}function kR(r,e,t){var a=vt(r.currentStates,e)>=0,n=r.style.opacity,i=a?null:PR(r,["opacity"],e,{opacity:1});t=t||{};var o=t.style||{};return o.opacity==null&&(t=B({},t),o=B({opacity:a?n:i.opacity*.1},o),t.style=o),t}function mv(r,e){var t=this.states[r];if(this.style){if(r==="emphasis")return RR(this,r,e,t);if(r==="blur")return kR(this,r,t);if(r==="select")return ER(this,r,t)}return t}function ii(r){r.stateProxy=mv;var e=r.getTextContent(),t=r.getTextGuideLine();e&&(e.stateProxy=mv),t&&(t.stateProxy=mv)}function i0(r,e){!wT(r,e)&&!r.__highByOuter&&pa(r,gT)}function o0(r,e){!wT(r,e)&&!r.__highByOuter&&pa(r,yT)}function ua(r,e){r.__highByOuter|=1<<(e||0),pa(r,gT)}function fa(r,e){!(r.__highByOuter&=~(1<<(e||0)))&&pa(r,yT)}function _T(r){pa(r,pg)}function dg(r){pa(r,mT)}function ST(r){pa(r,IR)}function xT(r){pa(r,LR)}function wT(r,e){return r.__highDownSilentOnTouch&&e.zrByTouch}function bT(r){var e=r.getModel(),t=[],a=[];e.eachComponent(function(n,i){var o=vg(i),s=n==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&a.push(l),o.isBlured&&(l.group.traverse(function(u){mT(u)}),s&&t.push(i)),o.isBlured=!1}),A(a,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(t,!1,e)})}function Op(r,e,t,a){var n=a.getModel();t=t||"coordinateSystem";function i(u,f){for(var h=0;h0){var s={dataIndex:o,seriesIndex:t.seriesIndex};i!=null&&(s.dataType=i),e.push(s)}})}),e}function Kn(r,e,t){Gn(r,!0),pa(r,ii),Bp(r,e,t)}function GR(r){Gn(r,!1)}function Ft(r,e,t,a){a?GR(r):Kn(r,e,t)}function Bp(r,e,t){var a=nt(r);e!=null?(a.focus=e,a.blurScope=t):a.focus&&(a.focus=null)}var l0=["emphasis","blur","select"],FR={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ue(r,e,t,a){t=t||"itemStyle";for(var n=0;n1&&(o*=_v(p),s*=_v(p));var d=(n===i?-1:1)*_v((o*o*(s*s)-o*o*(c*c)-s*s*(v*v))/(o*o*(c*c)+s*s*(v*v)))||0,g=d*o*c/s,y=d*-s*v/o,m=(r+t)/2+Hl(h)*g-Fl(h)*y,_=(e+a)/2+Fl(h)*g+Hl(h)*y,S=v0([1,0],[(v-g)/o,(c-y)/s]),w=[(v-g)/o,(c-y)/s],x=[(-1*v-g)/o,(-1*c-y)/s],b=v0(w,x);if(zp(w,x)<=-1&&(b=Eo),zp(w,x)>=1&&(b=0),b<0){var T=Math.round(b/Eo*1e6)/1e6;b=Eo*2+T%2*Eo}f.addData(u,m,_,o,s,S,b,h,i)}var ZR=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,XR=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function qR(r){var e=new Hr;if(!r)return e;var t=0,a=0,n=t,i=a,o,s=Hr.CMD,l=r.match(ZR);if(!l)return e;for(var u=0;uP*P+R*R&&(T=M,C=D),{cx:T,cy:C,x0:-f,y0:-h,x1:T*(n/w-1),y1:C*(n/w-1)}}function rE(r){var e;if(z(r)){var t=r.length;if(!t)return r;t===1?e=[r[0],r[0],0,0]:t===2?e=[r[0],r[0],r[1],r[1]]:t===3?e=r.concat(r[2]):e=r}else e=[r,r,r,r];return e}function aE(r,e){var t,a=ns(e.r,0),n=ns(e.r0||0,0),i=a>0,o=n>0;if(!(!i&&!o)){if(i||(a=n,n=0),n>a){var s=a;a=n,n=s}var l=e.startAngle,u=e.endAngle;if(!(isNaN(l)||isNaN(u))){var f=e.cx,h=e.cy,v=!!e.clockwise,c=p0(u-l),p=c>Sv&&c%Sv;if(p>hr&&(c=p),!(a>hr))r.moveTo(f,h);else if(c>Sv-hr)r.moveTo(f+a*wi(l),h+a*dn(l)),r.arc(f,h,a,l,u,!v),n>hr&&(r.moveTo(f+n*wi(u),h+n*dn(u)),r.arc(f,h,n,u,l,v));else{var d=void 0,g=void 0,y=void 0,m=void 0,_=void 0,S=void 0,w=void 0,x=void 0,b=void 0,T=void 0,C=void 0,M=void 0,D=void 0,I=void 0,L=void 0,P=void 0,R=a*wi(l),E=a*dn(l),N=n*wi(u),O=n*dn(u),V=c>hr;if(V){var F=e.cornerRadius;F&&(t=rE(F),d=t[0],g=t[1],y=t[2],m=t[3]);var W=p0(a-n)/2;if(_=Ar(W,y),S=Ar(W,m),w=Ar(W,d),x=Ar(W,g),C=b=ns(_,S),M=T=ns(w,x),(b>hr||T>hr)&&(D=a*wi(u),I=a*dn(u),L=n*wi(l),P=n*dn(l),chr){var yt=Ar(y,C),ht=Ar(m,C),X=Wl(L,P,R,E,a,yt,v),ot=Wl(D,I,N,O,a,ht,v);r.moveTo(f+X.cx+X.x0,h+X.cy+X.y0),C0&&r.arc(f+X.cx,h+X.cy,yt,de(X.y0,X.x0),de(X.y1,X.x1),!v),r.arc(f,h,a,de(X.cy+X.y1,X.cx+X.x1),de(ot.cy+ot.y1,ot.cx+ot.x1),!v),ht>0&&r.arc(f+ot.cx,h+ot.cy,ht,de(ot.y1,ot.x1),de(ot.y0,ot.x0),!v))}else r.moveTo(f+R,h+E),r.arc(f,h,a,l,u,!v);if(!(n>hr)||!V)r.lineTo(f+N,h+O);else if(M>hr){var yt=Ar(d,M),ht=Ar(g,M),X=Wl(N,O,D,I,n,-ht,v),ot=Wl(R,E,L,P,n,-yt,v);r.lineTo(f+X.cx+X.x0,h+X.cy+X.y0),M0&&r.arc(f+X.cx,h+X.cy,ht,de(X.y0,X.x0),de(X.y1,X.x1),!v),r.arc(f,h,n,de(X.cy+X.y1,X.cx+X.x1),de(ot.cy+ot.y1,ot.cx+ot.x1),v),yt>0&&r.arc(f+ot.cx,h+ot.cy,yt,de(ot.y1,ot.x1),de(ot.y0,ot.x0),!v))}else r.lineTo(f+N,h+O),r.arc(f,h,n,u,l,v)}r.closePath()}}}var nE=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return r}(),RT=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new nE},e.prototype.buildPath=function(t,a){aE(t,a)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(dt);RT.prototype.type="sector";const ke=RT;var iE=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r}(),ET=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new iE},e.prototype.buildPath=function(t,a){var n=a.cx,i=a.cy,o=Math.PI*2;t.moveTo(n+a.r,i),t.arc(n,i,a.r,0,o,!1),t.moveTo(n+a.r0,i),t.arc(n,i,a.r0,0,o,!0)},e}(dt);ET.prototype.type="ring";const lh=ET;function oE(r,e,t,a){var n=[],i=[],o=[],s=[],l,u,f,h;if(a){f=[1/0,1/0],h=[-1/0,-1/0];for(var v=0,c=r.length;v=2){if(a){var i=oE(n,a,t,e.smoothConstraint);r.moveTo(n[0][0],n[0][1]);for(var o=n.length,s=0;s<(t?o:o-1);s++){var l=i[s*2],u=i[s*2+1],f=n[(s+1)%o];r.bezierCurveTo(l[0],l[1],u[0],u[1],f[0],f[1])}}else{r.moveTo(n[0][0],n[0][1]);for(var s=1,h=n.length;syn[1]){if(s=!1,i)return s;var f=Math.abs(yn[0]-gn[1]),h=Math.abs(gn[0]-yn[1]);Math.min(f,h)>n.len()&&(f0){var h=f.duration,v=f.delay,c=f.easing,p={duration:h,delay:v||0,easing:c,done:i,force:!!i||!!o,setToFinal:!u,scope:r,during:o};s?e.animateFrom(t,p):e.animateTo(t,p)}else e.stopAnimation(),!s&&e.attr(t),o&&o(1),i&&i()}function Mt(r,e,t,a,n,i){xg("update",r,e,t,a,n,i)}function Bt(r,e,t,a,n,i){xg("enter",r,e,t,a,n,i)}function Xi(r){if(!r.__zr)return!0;for(var e=0;eMath.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function y0(r){return!r.isGroup}function AE(r){return r.shape!=null}function ul(r,e,t){if(!r||!e)return;function a(o){var s={};return o.traverse(function(l){y0(l)&&l.anid&&(s[l.anid]=l)}),s}function n(o){var s={x:o.x,y:o.y,rotation:o.rotation};return AE(o)&&(s.shape=B({},o.shape)),s}var i=a(r);e.traverse(function(o){if(y0(o)&&o.anid){var s=i[o.anid];if(s){var l=n(o);o.attr(n(s)),Mt(o,l,t,nt(o).dataIndex)}}})}function YT(r,e){return G(r,function(t){var a=t[0];a=cf(a,e.x),a=pf(a,e.x+e.width);var n=t[1];return n=cf(n,e.y),n=pf(n,e.y+e.height),[a,n]})}function ME(r,e){var t=cf(r.x,e.x),a=pf(r.x+r.width,e.x+e.width),n=cf(r.y,e.y),i=pf(r.y+r.height,e.y+e.height);if(a>=t&&i>=n)return{x:t,y:n,width:a-t,height:i-n}}function fl(r,e,t){var a=B({rectHover:!0},e),n=a.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(n.image=r.slice(8),J(n,t),new he(a)):fh(r.replace("path://",""),a,t,"center")}function is(r,e,t,a,n){for(var i=0,o=n[n.length-1];i1)return!1;var g=xv(c,p,f,h)/v;return!(g<0||g>1)}function xv(r,e,t,a){return r*a-t*e}function DE(r){return r<=1e-6&&r>=-1e-6}function co(r){var e=r.itemTooltipOption,t=r.componentModel,a=r.itemName,n=$(e)?{formatter:e}:e,i=t.mainType,o=t.componentIndex,s={componentType:i,name:a,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&A(mt(l),function(f){Y(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=nt(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:a,option:J({content:a,formatterParams:s},n)}}function m0(r,e){var t;r.isGroup&&(t=e(r)),t||r.traverse(e)}function ja(r,e){if(r)if(z(r))for(var t=0;t=0&&s.push(l)}),s}}function tn(r,e){return ut(ut({},r,!0),e,!0)}const FE={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},HE={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var gf="ZH",bg="EN",zs=bg,$u={},Tg={},tC=bt.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return r.indexOf(gf)>-1?gf:zs}():zs;function eC(r,e){r=r.toUpperCase(),Tg[r]=new Ot(e),$u[r]=e}function WE(r){if($(r)){var e=$u[r.toUpperCase()]||{};return r===gf||r===bg?et(e):ut(et(e),et($u[zs]),!1)}else return ut(et(r),et($u[zs]),!1)}function Hp(r){return Tg[r]}function $E(){return Tg[zs]}eC(bg,FE);eC(gf,HE);var Cg=1e3,Ag=Cg*60,xs=Ag*60,er=xs*24,b0=er*365,os={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}"},Yl="{yyyy}-{MM}-{dd}",T0={year:"{yyyy}",month:"{yyyy}-{MM}",day:Yl,hour:Yl+" "+os.hour,minute:Yl+" "+os.minute,second:Yl+" "+os.second,millisecond:os.none},Tv=["year","month","day","hour","minute","second","millisecond"],rC=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function mn(r,e){return r+="","0000".substr(0,e-r.length)+r}function qi(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function UE(r){return r===qi(r)}function YE(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function ch(r,e,t,a){var n=Fr(r),i=n[Mg(t)](),o=n[Ki(t)]()+1,s=Math.floor((o-1)/3)+1,l=n[ph(t)](),u=n["get"+(t?"UTC":"")+"Day"](),f=n[Gs(t)](),h=(f-1)%12+1,v=n[dh(t)](),c=n[gh(t)](),p=n[yh(t)](),d=a instanceof Ot?a:Hp(a||tC)||$E(),g=d.getModel("time"),y=g.get("month"),m=g.get("monthAbbr"),_=g.get("dayOfWeek"),S=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,i%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[o-1]).replace(/{MMM}/g,m[o-1]).replace(/{MM}/g,mn(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,mn(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,mn(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,mn(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,mn(v,2)).replace(/{m}/g,v+"").replace(/{ss}/g,mn(c,2)).replace(/{s}/g,c+"").replace(/{SSS}/g,mn(p,3)).replace(/{S}/g,p+"")}function ZE(r,e,t,a,n){var i=null;if($(t))i=t;else if(K(t))i=t(r.value,e,{level:r.level});else{var o=B({},os);if(r.level>0)for(var s=0;s=0;--s)if(l[u]){i=l[u];break}i=i||o.none}if(z(i)){var h=r.level==null?0:r.level>=0?r.level:i.length+r.level;h=Math.min(h,i.length-1),i=i[h]}}return ch(new Date(r.value),i,n,a)}function aC(r,e){var t=Fr(r),a=t[Ki(e)]()+1,n=t[ph(e)](),i=t[Gs(e)](),o=t[dh(e)](),s=t[gh(e)](),l=t[yh(e)](),u=l===0,f=u&&s===0,h=f&&o===0,v=h&&i===0,c=v&&n===1,p=c&&a===1;return p?"year":c?"month":v?"day":h?"hour":f?"minute":u?"second":"millisecond"}function C0(r,e,t){var a=Ct(r)?Fr(r):r;switch(e=e||aC(r,t),e){case"year":return a[Mg(t)]();case"half-year":return a[Ki(t)]()>=6?1:0;case"quarter":return Math.floor((a[Ki(t)]()+1)/4);case"month":return a[Ki(t)]();case"day":return a[ph(t)]();case"half-day":return a[Gs(t)]()/24;case"hour":return a[Gs(t)]();case"minute":return a[dh(t)]();case"second":return a[gh(t)]();case"millisecond":return a[yh(t)]()}}function Mg(r){return r?"getUTCFullYear":"getFullYear"}function Ki(r){return r?"getUTCMonth":"getMonth"}function ph(r){return r?"getUTCDate":"getDate"}function Gs(r){return r?"getUTCHours":"getHours"}function dh(r){return r?"getUTCMinutes":"getMinutes"}function gh(r){return r?"getUTCSeconds":"getSeconds"}function yh(r){return r?"getUTCMilliseconds":"getMilliseconds"}function XE(r){return r?"setUTCFullYear":"setFullYear"}function nC(r){return r?"setUTCMonth":"setMonth"}function iC(r){return r?"setUTCDate":"setDate"}function oC(r){return r?"setUTCHours":"setHours"}function sC(r){return r?"setUTCMinutes":"setMinutes"}function lC(r){return r?"setUTCSeconds":"setSeconds"}function uC(r){return r?"setUTCMilliseconds":"setMilliseconds"}function fC(r){if(!$b(r))return $(r)?r:"-";var e=(r+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function hC(r,e){return r=(r||"").toLowerCase().replace(/-(.)/g,function(t,a){return a.toUpperCase()}),e&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var yo=jd;function Wp(r,e,t){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(f){return f&&dr(f)?f:"-"}function i(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=e==="time",s=r instanceof Date;if(o||s){var l=o?Fr(r):r;if(isNaN(+l)){if(s)return"-"}else return ch(l,a,t)}if(e==="ordinal")return lp(r)?n(r):Ct(r)&&i(r)?r+"":"-";var u=la(r);return i(u)?fC(u):lp(r)?n(r):typeof r=="boolean"?r+"":"-"}var A0=["a","b","c","d","e","f","g"],Cv=function(r,e){return"{"+r+(e??"")+"}"};function vC(r,e,t){z(e)||(e=[e]);var a=e.length;if(!a)return"";for(var n=e[0].$vars||[],i=0;i':'';var o=t.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function oi(r,e){return e=e||"transparent",$(r)?r:tt(r)&&r.colorStops&&(r.colorStops[0]||{}).color||e}function yf(r,e){if(e==="_blank"||e==="blank"){var t=window.open();t.opener=null,t.location.href=r}else window.open(r,e)}var Uu=A,cC=["left","right","top","bottom","width","height"],Fn=[["width","left","right"],["height","top","bottom"]];function Dg(r,e,t,a,n){var i=0,o=0;a==null&&(a=1/0),n==null&&(n=1/0);var s=0;e.eachChild(function(l,u){var f=l.getBoundingRect(),h=e.childAt(u+1),v=h&&h.getBoundingRect(),c,p;if(r==="horizontal"){var d=f.width+(v?-v.x+f.x:0);c=i+d,c>a||l.newline?(i=0,c=d,o+=s+t,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(v?-v.y+f.y:0);p=o+g,p>n||l.newline?(i+=s+t,o=0,p=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=c+t:o=p+t)})}var Jn=Dg;it(Dg,"vertical");it(Dg,"horizontal");function QE(r,e,t){var a=e.width,n=e.height,i=H(r.left,a),o=H(r.top,n),s=H(r.right,a),l=H(r.bottom,n);return(isNaN(i)||isNaN(parseFloat(r.left)))&&(i=0),(isNaN(s)||isNaN(parseFloat(r.right)))&&(s=a),(isNaN(o)||isNaN(parseFloat(r.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.bottom)))&&(l=n),t=yo(t||0),{width:Math.max(s-i-t[1]-t[3],0),height:Math.max(l-o-t[0]-t[2],0)}}function Jt(r,e,t){t=yo(t||0);var a=e.width,n=e.height,i=H(r.left,a),o=H(r.top,n),s=H(r.right,a),l=H(r.bottom,n),u=H(r.width,a),f=H(r.height,n),h=t[2]+t[0],v=t[1]+t[3],c=r.aspect;switch(isNaN(u)&&(u=a-s-v-i),isNaN(f)&&(f=n-l-h-o),c!=null&&(isNaN(u)&&isNaN(f)&&(c>a/n?u=a*.8:f=n*.8),isNaN(u)&&(u=c*f),isNaN(f)&&(f=u/c)),isNaN(i)&&(i=a-s-u-v),isNaN(o)&&(o=n-l-f-h),r.left||r.right){case"center":i=a/2-u/2-t[3];break;case"right":i=a-u-v;break}switch(r.top||r.bottom){case"middle":case"center":o=n/2-f/2-t[0];break;case"bottom":o=n-f-h;break}i=i||0,o=o||0,isNaN(u)&&(u=a-v-i-(s||0)),isNaN(f)&&(f=n-h-o-(l||0));var p=new ft(i+t[3],o+t[0],u,f);return p.margin=t,p}function mh(r,e,t,a,n,i){var o=!n||!n.hv||n.hv[0],s=!n||!n.hv||n.hv[1],l=n&&n.boundingMode||"all";if(i=i||r,i.x=r.x,i.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new ft(0,0,+e.width||0,+e.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var f=r.getLocalTransform();u=u.clone(),u.applyTransform(f)}var h=Jt(J({width:u.width,height:u.height},e),t,a),v=o?h.x-u.x:0,c=s?h.y-u.y:0;return l==="raw"?(i.x=v,i.y=c):(i.x+=v,i.y+=c),i===r&&r.markRedraw(),!0}function JE(r,e){return r[Fn[e][0]]!=null||r[Fn[e][1]]!=null&&r[Fn[e][2]]!=null}function Fs(r){var e=r.layoutMode||r.constructor.layoutMode;return tt(e)?e:e?{type:e}:null}function Za(r,e,t){var a=t&&t.ignoreSize;!z(a)&&(a=[a,a]);var n=o(Fn[0],0),i=o(Fn[1],1);u(Fn[0],r,n),u(Fn[1],r,i);function o(f,h){var v={},c=0,p={},d=0,g=2;if(Uu(f,function(_){p[_]=r[_]}),Uu(f,function(_){s(e,_)&&(v[_]=p[_]=e[_]),l(v,_)&&c++,l(p,_)&&d++}),a[h])return l(e,f[1])?p[f[2]]=null:l(e,f[2])&&(p[f[1]]=null),p;if(d===g||!c)return p;if(c>=g)return v;for(var y=0;y=0;l--)s=ut(s,n[l],!0);a.defaultOption=s}return a.defaultOption},e.prototype.getReferringComponents=function(t,a){var n=t+"Index",i=t+"Id";return ol(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},a)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Ot);tT(_o,Ot);rh(_o);zE(_o);GE(_o,tk);function tk(r){var e=[];return A(_o.getClassesByMainType(r),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=G(e,function(t){return kr(t).main}),r!=="dataset"&&vt(e,"dataset")<=0&&e.unshift("dataset"),e}const wt=_o;var dC="";typeof navigator<"u"&&(dC=navigator.platform||"");var bi="rgba(0, 0, 0, 0.2)";const ek={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:bi,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:bi,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:bi,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:bi,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:bi,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:bi,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:dC.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 gC=q(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),sr="original",_e="arrayRows",lr="objectRows",$r="keyedColumns",Ga="typedArray",yC="unknown",Br="column",So="row",oe={Must:1,Might:2,Not:3},mC=xt();function rk(r){mC(r).datasetMap=q()}function _C(r,e,t){var a={},n=Lg(e);if(!n||!r)return a;var i=[],o=[],s=e.ecModel,l=mC(s).datasetMap,u=n.uid+"_"+t.seriesLayoutBy,f,h;r=r.slice(),A(r,function(d,g){var y=tt(d)?d:r[g]={name:d};y.type==="ordinal"&&f==null&&(f=g,h=p(y)),a[y.name]=[]});var v=l.get(u)||l.set(u,{categoryWayDim:h,valueWayDim:0});A(r,function(d,g){var y=d.name,m=p(d);if(f==null){var _=v.valueWayDim;c(a[y],_,m),c(o,_,m),v.valueWayDim+=m}else if(f===g)c(a[y],0,m),c(i,0,m);else{var _=v.categoryWayDim;c(a[y],_,m),c(o,_,m),v.categoryWayDim+=m}});function c(d,g,y){for(var m=0;me)return r[a];return r[t-1]}function wC(r,e,t,a,n,i,o){i=i||r;var s=e(i),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(n))return u[n];var f=o==null||!a?t:sk(a,o);if(f=f||t,!(!f||!f.length)){var h=f[l];return n&&(u[n]=h),s.paletteIdx=(l+1)%f.length,h}}function lk(r,e){e(r).paletteIdx=0,e(r).paletteNameMap={}}var Zl,ko,D0,I0="\0_ec_inner",uk=1,bC=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t,a,n,i,o,s){i=i||{},this.option=null,this._theme=new Ot(i),this._locale=new Ot(o),this._optionManager=s},e.prototype.setOption=function(t,a,n){var i=R0(a);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,a){return this._resetOption(t,R0(a))},e.prototype._resetOption=function(t,a){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var o=i.mountOption(t==="recreate");!this.option||t==="recreate"?D0(this,o):(this.restoreData(),this._mergeOption(o,a)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var s=i.getTimelineOption(this);s&&(n=!0,this._mergeOption(s,a))}if(!t||t==="recreate"||t==="media"){var l=i.getMediaOption(this);l.length&&A(l,function(u){n=!0,this._mergeOption(u,a)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,a){var n=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=q(),u=a&&a.replaceMergeMainTypeMap;rk(this),A(t,function(h,v){h!=null&&(wt.hasClass(v)?v&&(s.push(v),l.set(v,!0)):n[v]=n[v]==null?et(h):ut(n[v],h,!0))}),u&&u.each(function(h,v){wt.hasClass(v)&&!l.get(v)&&(s.push(v),l.set(v,!0))}),wt.topologicalTravel(s,wt.getAllClassMainTypes(),f,this);function f(h){var v=ik(this,h,Pt(t[h])),c=i.get(h),p=c?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",d=qb(c,v,p);TP(d,h,wt),n[h]=null,i.set(h,null),o.set(h,0);var g=[],y=[],m=0,_;A(d,function(S,w){var x=S.existing,b=S.newOption;if(!b)x&&(x.mergeOption({},this),x.optionUpdated({},!1));else{var T=h==="series",C=wt.getClass(h,S.keyInfo.subType,!T);if(!C)return;if(h==="tooltip"){if(_)return;_=!0}if(x&&x.constructor===C)x.name=S.keyInfo.name,x.mergeOption(b,this),x.optionUpdated(b,!1);else{var M=B({componentIndex:w},S.keyInfo);x=new C(b,this,this,M),B(x,M),S.brandNew&&(x.__requireNewView=!0),x.init(b,this,this),x.optionUpdated(null,!0)}}x?(g.push(x.option),y.push(x),m++):(g.push(void 0),y.push(void 0))},this),n[h]=g,i.set(h,y),o.set(h,m),h==="series"&&Zl(this)}this._seriesIndices||Zl(this)},e.prototype.getOption=function(){var t=et(this.option);return A(t,function(a,n){if(wt.hasClass(n)){for(var i=Pt(a),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!ks(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,t[n]=i}}),delete t[I0],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,a){var n=this._componentsMap.get(t);if(n){var i=n[a||0];if(i)return i;if(a==null){for(var o=0;o=e:t==="max"?r<=e:r===e}function Sk(r,e){return r.join(",")===e.join(",")}const xk=gk;var ur=A,Hs=tt,E0=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Mv(r){var e=r&&r.itemStyle;if(e)for(var t=0,a=E0.length;t=0;g--){var y=r[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var m=y.data.getByRawIndex(y.stackResultDimension,p);if(l==="all"||l==="positive"&&m>0||l==="negative"&&m<0||l==="samesign"&&v>=0&&m>0||l==="samesign"&&v<=0&&m<0){v=cP(v,m),d=m;break}}}return a[0]=v,a[1]=d,a})})}var _h=function(){function r(e){this.data=e.data||(e.sourceFormat===$r?{}:[]),this.sourceFormat=e.sourceFormat||yC,this.seriesLayoutBy=e.seriesLayoutBy||Br,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var a=0;ad&&(d=_)}c[0]=p,c[1]=d}},n=function(){return this._data?this._data.length/this._dimSize:0};G0=(e={},e[_e+"_"+Br]={pure:!0,appendData:i},e[_e+"_"+So]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[lr]={pure:!0,appendData:i},e[$r]={pure:!0,appendData:function(o){var s=this._data;A(o,function(l,u){for(var f=s[u]||(s[u]=[]),h=0;h<(l||[]).length;h++)f.push(l[h])})}},e[sr]={appendData:i},e[Ga]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(o){for(var s=0;s=0&&(d=o.interpolatedValue[g])}return d!=null?d+"":""})}},r.prototype.getRawValue=function(e,t){return ji(this.getData(t),e)},r.prototype.formatTooltip=function(e,t,a){},r}();function $0(r){var e,t;return tt(r)?r.type&&(t=r):e=r,{text:e,frag:t}}function ws(r){return new Vk(r)}var Vk=function(){function r(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return r.prototype.perform=function(e){var t=this._upstream,a=e&&e.skip;if(this._dirty&&t){var n=this.context;n.data=n.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!a&&(i=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(e&&e.modBy),u=e&&e.modDataCount||0;(o!==l||s!==u)&&(i="reset");function f(m){return!(m>=1)&&(m=1),m}var h;(this._dirty||i==="reset")&&(this._dirty=!1,h=this._doReset(a)),this._modBy=l,this._modDataCount=u;var v=e&&e.step;if(t?this._dueEnd=t._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var c=this._dueIndex,p=Math.min(v!=null?this._dueIndex+v:1/0,this._dueEnd);if(!a&&(h||c1&&a>0?s:o}};return i;function o(){return e=r?null:le},gte:function(r,e){return r>=e}},Gk=function(){function r(e,t){if(!Ct(t)){var a="";Dt(a)}this._opFn=OC[e],this._rvalFloat=la(t)}return r.prototype.evaluate=function(e){return Ct(e)?this._opFn(e,this._rvalFloat):this._opFn(la(e),this._rvalFloat)},r}(),NC=function(){function r(e,t){var a=e==="desc";this._resultLT=a?1:-1,t==null&&(t=a?"min":"max"),this._incomparable=t==="min"?-1/0:1/0}return r.prototype.evaluate=function(e,t){var a=Ct(e)?e:la(e),n=Ct(t)?t:la(t),i=isNaN(a),o=isNaN(n);if(i&&(a=this._incomparable),o&&(n=this._incomparable),i&&o){var s=$(e),l=$(t);s&&(a=l?e:0),l&&(n=s?t:0)}return an?-this._resultLT:0},r}(),Fk=function(){function r(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=la(t)}return r.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var a=typeof e;a!==this._rvalTypeof&&(a==="number"||this._rvalTypeof==="number")&&(t=la(e)===this._rvalFloat)}return this._isEQ?t:!t},r}();function Hk(r,e){return r==="eq"||r==="ne"?new Fk(r==="eq",e):Y(OC,r)?new Gk(r,e):null}var Wk=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(e){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(e){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(e,t){},r.prototype.retrieveValueFromItem=function(e,t){},r.prototype.convertValue=function(e,t){return Fa(e,t)},r}();function $k(r,e){var t=new Wk,a=r.data,n=t.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==Br&&Dt(o);var s=[],l={},u=r.dimensionsDefine;if(u)A(u,function(d,g){var y=d.name,m={index:g,name:y,displayName:d.displayName};if(s.push(m),y!=null){var _="";Y(l,y)&&Dt(_),l[y]=m}});else for(var f=0;f65535?Jk:jk}function Ti(){return[1/0,-1/0]}function tO(r){var e=r.constructor;return e===Array?r.slice():new e(r)}function Z0(r,e,t,a,n){var i=zC[t||"float"];if(n){var o=r[e],s=o&&o.length;if(s!==a){for(var l=new i(a),u=0;ug[1]&&(g[1]=d)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(e,t,a){for(var n=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=G(o,function(m){return m.property}),f=0;fy[1]&&(y[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,a=t[e];if(a!=null&&ae)i=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(e,t,a){var n=this._chunks,i=n[e],o=[];if(!i)return o;a==null&&(a=1/0);for(var s=1/0,l=-1,u=0,f=0,h=this.count();f=0&&l<0)&&(s=p,l=c,u=0),c===l&&(o[u++]=f))}return o.length=u,o},r.prototype.getIndices=function(){var e,t=this._indices;if(t){var a=t.constructor,n=this._count;if(a===Array){e=new a(n);for(var i=0;i=h&&m<=v||isNaN(m))&&(l[u++]=d),d++}p=!0}else if(i===2){for(var g=c[n[0]],_=c[n[1]],S=e[n[1]][0],w=e[n[1]][1],y=0;y=h&&m<=v||isNaN(m))&&(x>=S&&x<=w||isNaN(x))&&(l[u++]=d),d++}p=!0}}if(!p)if(i===1)for(var y=0;y=h&&m<=v||isNaN(m))&&(l[u++]=b)}else for(var y=0;ye[M][1])&&(T=!1)}T&&(l[u++]=t.getRawIndex(y))}return uy[1]&&(y[1]=g)}}}},r.prototype.lttbDownSample=function(e,t){var a=this.clone([e],!0),n=a._chunks,i=n[e],o=this.count(),s=0,l=Math.floor(1/t),u=this.getRawIndex(0),f,h,v,c=new(No(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));c[s++]=u;for(var p=1;pf&&(f=h,v=S)}D>0&&Df-p&&(l=f-p,s.length=l);for(var d=0;dh[1]&&(h[1]=y),v[c++]=m}return i._count=c,i._indices=v,i._updateGetRawIdx(),i},r.prototype.each=function(e,t){if(this._count)for(var a=e.length,n=this._chunks,i=0,o=this.count();il&&(l=h)}return o=[s,l],this._extent[e]=o,o},r.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var a=[],n=this._chunks,i=0;i=0?this._indices[e]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function e(t,a,n,i){return Fa(t[i],this._dimensions[i])}Lv={arrayRows:e,objectRows:function(t,a,n,i){return Fa(t[a],this._dimensions[i])},keyedColumns:e,original:function(t,a,n,i){var o=t&&(t.value==null?t:t.value);return Fa(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(t,a,n,i){return t[i]}}}(),r}(),GC=function(){function r(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,t=this._getUpstreamSourceManagers(),a=!!t.length,n,i;if(Xl(e)){var o=e,s=void 0,l=void 0,u=void 0;if(a){var f=t[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,i=[f._getVersionSign()]}else s=o.get("data",!0),l=He(s)?Ga:sr,i=[];var h=this._getSourceMetaRawOption()||{},v=u&&u.metaRawOption||{},c=lt(h.seriesLayoutBy,v.seriesLayoutBy)||null,p=lt(h.sourceHeader,v.sourceHeader),d=lt(h.dimensions,v.dimensions),g=c!==v.seriesLayoutBy||!!p!=!!v.sourceHeader||d;n=g?[Yp(s,{seriesLayoutBy:c,sourceHeader:p,dimensions:d},l)]:[]}else{var y=e;if(a){var m=this._applyTransform(t);n=m.sourceList,i=m.upstreamSignList}else{var _=y.get("source",!0);n=[Yp(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(n,i)},r.prototype._applyTransform=function(e){var t=this._sourceHost,a=t.get("transform",!0),n=t.get("fromTransformResult",!0);if(n!=null){var i="";e.length!==1&&q0(i)}var o,s=[],l=[];return A(e,function(u){u.prepareSource();var f=u.getSource(n||0),h="";n!=null&&!f&&q0(h),s.push(f),l.push(u._getVersionSign())}),a?o=Kk(a,s,{datasetIndex:t.componentIndex}):n!=null&&(o=[Pk(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t1||t>0&&!r.noHeader;return A(r.blocks,function(n){var i=$C(n);i>=e&&(e=i+ +(a&&(!i||Xp(n)&&!n.noHeader)))}),e}return 0}function aO(r,e,t,a){var n=e.noHeader,i=iO($C(e)),o=[],s=e.blocks||[];Ce(!s||z(s)),s=s||[];var l=r.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Y(u,l)){var f=new NC(u[l],null);s.sort(function(p,d){return f.evaluate(p.sortParam,d.sortParam)})}else l==="seriesDesc"&&s.reverse()}A(s,function(p,d){var g=e.valueFormatter,y=WC(p)(g?B(B({},r),{valueFormatter:g}):r,p,d>0?i.html:0,a);y!=null&&o.push(y)});var h=r.renderMode==="richText"?o.join(i.richText):qp(o.join(""),n?t:i.html);if(n)return h;var v=Wp(e.header,"ordinal",r.useUTC),c=HC(a,r.renderMode).nameStyle;return r.renderMode==="richText"?UC(r,v,c)+i.richText+h:qp('
'+Le(v)+"
"+h,t)}function nO(r,e,t,a){var n=r.renderMode,i=e.noName,o=e.noValue,s=!e.markerType,l=e.name,u=r.useUTC,f=e.valueFormatter||r.valueFormatter||function(S){return S=z(S)?S:[S],G(S,function(w,x){return Wp(w,z(c)?c[x]:c,u)})};if(!(i&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",n),v=i?"":Wp(l,"ordinal",u),c=e.valueType,p=o?[]:f(e.value),d=!s||!i,g=!s&&i,y=HC(a,n),m=y.nameStyle,_=y.valueStyle;return n==="richText"?(s?"":h)+(i?"":UC(r,v,m))+(o?"":lO(r,p,d,g,_)):qp((s?"":h)+(i?"":oO(v,!s,m))+(o?"":sO(p,d,g,_)),t)}}function K0(r,e,t,a,n,i){if(r){var o=WC(r),s={useUTC:n,renderMode:t,orderMode:a,markupStyleCreator:e,valueFormatter:r.valueFormatter};return o(s,r,0,i)}}function iO(r){return{html:eO[r],richText:rO[r]}}function qp(r,e){var t='
',a="margin: "+e+"px 0 0";return'
'+r+t+"
"}function oO(r,e,t){var a=e?"margin-left:2px":"";return''+Le(r)+""}function sO(r,e,t,a){var n=t?"10px":"20px",i=e?"float:right;margin-left:"+n:"";return r=z(r)?r:[r],''+G(r,function(o){return Le(o)}).join("  ")+""}function UC(r,e,t){return r.markupStyleCreator.wrapRichTextStyle(e,t)}function lO(r,e,t,a,n){var i=[n],o=a?10:20;return t&&i.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(z(e)?e.join(" "):e,i)}function YC(r,e){var t=r.getData().getItemVisual(e,"style"),a=t[r.visualDrawType];return oi(a)}function ZC(r,e){var t=r.get("padding");return t??(e==="richText"?[8,10]:10)}var Pv=function(){function r(){this.richTextStyles={},this._nextStyleNameId=Ub()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(e,t,a){var n=a==="richText"?this._generateStyleName():null,i=KE({color:t,type:e,renderMode:a,markerId:n});return $(i)?i:(this.richTextStyles[n]=i.style,i.content)},r.prototype.wrapRichTextStyle=function(e,t){var a={};z(t)?A(t,function(i){return B(a,i)}):B(a,t);var n=this._generateStyleName();return this.richTextStyles[n]=a,"{"+n+"|"+e+"}"},r}();function XC(r){var e=r.series,t=r.dataIndex,a=r.multipleSeries,n=e.getData(),i=n.mapDimensionsAll("defaultedTooltip"),o=i.length,s=e.getRawValue(t),l=z(s),u=YC(e,t),f,h,v,c;if(o>1||l&&!o){var p=uO(s,e,t,i,u);f=p.inlineValues,h=p.inlineValueTypes,v=p.blocks,c=p.inlineValues[0]}else if(o){var d=n.getDimensionInfo(i[0]);c=f=ji(n,t,i[0]),h=d.type}else c=f=l?s[0]:s;var g=lg(e),y=g&&e.name||"",m=n.getName(t),_=a?y:m;return re("section",{header:y,noHeader:a||!g,sortParam:c,blocks:[re("nameValue",{markerType:"item",markerColor:u,name:_,noName:!dr(_),value:f,valueType:h})].concat(v||[])})}function uO(r,e,t,a,n){var i=e.getData(),o=Vr(r,function(h,v,c){var p=i.getDimensionInfo(c);return h=h||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];a.length?A(a,function(h){f(ji(i,t,h),h)}):A(r,f);function f(h,v){var c=i.getDimensionInfo(v);!c||c.otherDims.tooltip===!1||(o?u.push(re("nameValue",{markerType:"subItem",markerColor:n,name:c.displayName,value:h,valueType:c.type})):(s.push(h),l.push(c.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var Sa=xt();function ql(r,e){return r.getName(e)||r.getId(e)}var Yu="__universalTransitionEnabled",xh=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return e.prototype.init=function(t,a,n){this.seriesIndex=this.componentIndex,this.dataTask=ws({count:hO,reset:vO}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=Sa(this).sourceManager=new GC(this);i.prepareSource();var o=this.getInitialData(t,n);J0(o,this),this.dataTask.context.data=o,Sa(this).dataBeforeProcessed=o,Q0(this),this._initSelectedMapFromData(o)},e.prototype.mergeDefaultAndTheme=function(t,a){var n=Fs(this),i=n?mo(t):{},o=this.subType;wt.hasClass(o)&&(o+="Series"),ut(t,a.getTheme().get(this.subType)),ut(t,this.getDefaultOption()),ri(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Za(t,i,n)},e.prototype.mergeOption=function(t,a){t=ut(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Fs(this);n&&Za(this.option,t,n);var i=Sa(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,a);J0(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Sa(this).dataBeforeProcessed=o,Q0(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!He(t))for(var a=["show"],n=0;nthis.getShallow("animationThreshold")&&(a=!1),!!a},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,a,n){var i=this.ecModel,o=Pg.prototype.getColorFromPalette.call(this,t,a,n);return o||(o=i.getColorFromPalette(t,a,n)),o},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,a){this._innerSelect(this.getData(a),t)},e.prototype.unselect=function(t,a){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,o=this.getData(a);if(i==="series"||n==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&n.push(o)}return n},e.prototype.isSelected=function(t,a){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(a);return(n==="all"||n[ql(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Yu])return!0;var t=this.option.universalTransition;return t?t===!0?!0:t&&t.enabled:!1},e.prototype._innerSelect=function(t,a){var n,i,o=this.option,s=o.selectedMode,l=a.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){tt(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,f=0;f0&&this._innerSelect(t,a)}},e.registerClass=function(t){return wt.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(wt);Kt(xh,Og);Kt(xh,Pg);tT(xh,wt);function Q0(r){var e=r.name;lg(r)||(r.name=fO(r)||e)}function fO(r){var e=r.getRawData(),t=e.mapDimensionsAll("seriesName"),a=[];return A(t,function(n){var i=e.getDimensionInfo(n);i.displayName&&a.push(i.displayName)}),a.join(" ")}function hO(r){return r.model.getRawData().count()}function vO(r){var e=r.model;return e.setData(e.getRawData().cloneShallow()),cO}function cO(r,e){e.outputData&&r.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function J0(r,e){A(tf(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(t){r.wrapMethod(t,it(pO,e))})}function pO(r,e){var t=Kp(r);return t&&t.setOutputEnd((e||this).count()),e}function Kp(r){var e=(r.ecModel||{}).scheduler,t=e&&e.getPipeline(r.uid);if(t){var a=t.currentTask;if(a){var n=a.agentStubMap;n&&(a=n.get(r.uid))}return a}}const zt=xh;var Bg=function(){function r(){this.group=new at,this.uid=go("viewComponent")}return r.prototype.init=function(e,t){},r.prototype.render=function(e,t,a,n){},r.prototype.dispose=function(e,t){},r.prototype.updateView=function(e,t,a,n){},r.prototype.updateLayout=function(e,t,a,n){},r.prototype.updateVisual=function(e,t,a,n){},r.prototype.toggleBlurSeries=function(e,t,a){},r.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},r}();fg(Bg);rh(Bg);const Ht=Bg;function xo(){var r=xt();return function(e){var t=r(e),a=e.pipelineContext,n=!!t.large,i=!!t.progressiveRender,o=t.large=!!(a&&a.large),s=t.progressiveRender=!!(a&&a.progressiveRender);return(n!==o||i!==s)&&"reset"}}var qC=xt(),dO=xo(),Vg=function(){function r(){this.group=new at,this.uid=go("viewChart"),this.renderTask=ws({plan:gO,reset:yO}),this.renderTask.context={view:this}}return r.prototype.init=function(e,t){},r.prototype.render=function(e,t,a,n){},r.prototype.highlight=function(e,t,a,n){var i=e.getData(n&&n.dataType);i&&t_(i,n,"emphasis")},r.prototype.downplay=function(e,t,a,n){var i=e.getData(n&&n.dataType);i&&t_(i,n,"normal")},r.prototype.remove=function(e,t){this.group.removeAll()},r.prototype.dispose=function(e,t){},r.prototype.updateView=function(e,t,a,n){this.render(e,t,a,n)},r.prototype.updateLayout=function(e,t,a,n){this.render(e,t,a,n)},r.prototype.updateVisual=function(e,t,a,n){this.render(e,t,a,n)},r.prototype.eachRendered=function(e){ja(this.group,e)},r.markUpdateMethod=function(e,t){qC(e).updateMethod=t},r.protoInitialize=function(){var e=r.prototype;e.type="chart"}(),r}();function j0(r,e,t){r&&Bs(r)&&(e==="emphasis"?ua:fa)(r,t)}function t_(r,e,t){var a=ai(r,e),n=e&&e.highlightKey!=null?WR(e.highlightKey):null;a!=null?A(Pt(a),function(i){j0(r.getItemGraphicEl(i),t,n)}):r.eachItemGraphicEl(function(i){j0(i,t,n)})}fg(Vg);rh(Vg);function gO(r){return dO(r.model)}function yO(r){var e=r.model,t=r.ecModel,a=r.api,n=r.payload,i=e.pipelineContext.progressiveRender,o=r.view,s=n&&qC(n).updateMethod,l=i?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](e,t,a,n),mO[l]}var mO={incrementalPrepareRender:{progress:function(r,e){e.view.incrementalRender(r,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(r,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};const Nt=Vg;var mf="\0__throttleOriginMethod",e_="\0__throttleRate",r_="\0__throttleType";function zg(r,e,t){var a,n=0,i=0,o=null,s,l,u,f;e=e||0;function h(){i=new Date().getTime(),o=null,r.apply(l,u||[])}var v=function(){for(var c=[],p=0;p=0?h():o=setTimeout(h,-s),n=a};return v.clear=function(){o&&(clearTimeout(o),o=null)},v.debounceNextCall=function(c){f=c},v}function wo(r,e,t,a){var n=r[e];if(n){var i=n[mf]||n,o=n[r_],s=n[e_];if(s!==t||o!==a){if(t==null||!a)return r[e]=i;n=r[e]=zg(i,t,a==="debounce"),n[mf]=i,n[r_]=a,n[e_]=t}return n}}function Ws(r,e){var t=r[e];t&&t[mf]&&(t.clear&&t.clear(),r[e]=t[mf])}var a_=xt(),n_={itemStyle:ni(jT,!0),lineStyle:ni(JT,!0)},_O={lineStyle:"stroke",itemStyle:"fill"};function KC(r,e){var t=r.visualStyleMapper||n_[e];return t||(console.warn("Unknown style type '"+e+"'."),n_.itemStyle)}function QC(r,e){var t=r.visualDrawType||_O[e];return t||(console.warn("Unknown style type '"+e+"'."),"fill")}var SO={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){var t=r.getData(),a=r.visualStyleAccessPath||"itemStyle",n=r.getModel(a),i=KC(r,a),o=i(n),s=n.getShallow("decal");s&&(t.setVisual("decal",s),s.dirty=!0);var l=QC(r,a),u=o[l],f=K(u)?u:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[l]||f||h){var v=r.getColorFromPalette(r.name,null,e.getSeriesCount());o[l]||(o[l]=v,t.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||K(o.fill)?v:o.fill,o.stroke=o.stroke==="auto"||K(o.stroke)?v:o.stroke}if(t.setVisual("style",o),t.setVisual("drawType",l),!e.isSeriesFiltered(r)&&f)return t.setVisual("colorFromPalette",!1),{dataEach:function(c,p){var d=r.getDataParams(p),g=B({},o);g[l]=f(d),c.setItemVisual(p,"style",g)}}}},Bo=new Ot,xO={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){if(!(r.ignoreStyleOnData||e.isSeriesFiltered(r))){var t=r.getData(),a=r.visualStyleAccessPath||"itemStyle",n=KC(r,a),i=t.getVisual("drawType");return{dataEach:t.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[a]){Bo.option=l[a];var u=n(Bo),f=o.ensureUniqueItemVisual(s,"style");B(f,u),Bo.option.decal&&(o.setItemVisual(s,"decal",Bo.option.decal),Bo.option.decal.dirty=!0),i in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},wO={performRawSeries:!0,overallReset:function(r){var e=q();r.eachSeries(function(t){var a=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+a,i=e.get(n);i||(i={},e.set(n,i)),a_(t).scope=i}}),r.eachSeries(function(t){if(!(t.isColorBySeries()||r.isSeriesFiltered(t))){var a=t.getRawData(),n={},i=t.getData(),o=a_(t).scope,s=t.visualStyleAccessPath||"itemStyle",l=QC(t,s);i.each(function(u){var f=i.getRawIndex(u);n[f]=u}),a.each(function(u){var f=n[u],h=i.getItemVisual(f,"colorFromPalette");if(h){var v=i.ensureUniqueItemVisual(f,"style"),c=a.getName(u)||u+"",p=a.count();v[l]=t.getColorFromPalette(c,o,p)}})}})}},Kl=Math.PI;function bO(r,e){e=e||{},J(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var t=new at,a=new St({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});t.add(a);var n=new Tt({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),i=new St({style:{fill:"none"},textContent:n,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});t.add(i);var o;return e.showSpinner&&(o=new _g({shape:{startAngle:-Kl/2,endAngle:-Kl/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:Kl*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Kl*3/2}).delay(300).start("circularInOut"),t.add(o)),t.resize=function(){var s=n.getBoundingRect().width,l=e.showSpinner?e.spinnerRadius:0,u=(r.getWidth()-l*2-(e.showSpinner&&s?10:0)-s)/2-(e.showSpinner&&s?0:5+s/2)+(e.showSpinner?0:s/2)+(s?0:l),f=r.getHeight()/2;e.showSpinner&&o.setShape({cx:u,cy:f}),i.setShape({x:u-l,y:f-l,width:l*2,height:l*2}),a.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},t.resize(),t}var TO=function(){function r(e,t,a,n){this._stageTaskMap=q(),this.ecInstance=e,this.api=t,a=this._dataProcessorHandlers=a.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=a.concat(n)}return r.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(a){var n=a.overallTask;n&&n.dirty()})},r.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var a=this._pipelineMap.get(e.__pipeline.id),n=a.context,i=!t&&a.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>a.blockIndex,o=i?a.step:null,s=n&&n.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},r.prototype.updateStreamModes=function(e,t){var a=this._pipelineMap.get(e.uid),n=e.getData(),i=n.count(),o=a.progressiveEnabled&&t.incrementalPrepareRender&&i>=a.threshold,s=e.get("large")&&i>=e.get("largeThreshold"),l=e.get("progressiveChunkMode")==="mod"?i:null;e.pipelineContext=a.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(e){var t=this,a=t._pipelineMap=q();e.eachSeries(function(n){var i=n.getProgressive(),o=n.uid;a.set(o,{id:o,head:null,tail:null,threshold:n.getProgressiveThreshold(),progressiveEnabled:i&&!(n.preventIncremental&&n.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),t._pipe(n,n.dataTask)})},r.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),a=this.api;A(this._allHandlers,function(n){var i=e.get(n.uid)||e.set(n.uid,{}),o="";Ce(!(n.reset&&n.overallReset),o),n.reset&&this._createSeriesStageTask(n,i,t,a),n.overallReset&&this._createOverallStageTask(n,i,t,a)},this)},r.prototype.prepareView=function(e,t,a,n){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=a,o.api=n,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},r.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},r.prototype.performVisualTasks=function(e,t,a){this._performStageTasks(this._visualHandlers,e,t,a)},r.prototype._performStageTasks=function(e,t,a,n){n=n||{};var i=!1,o=this;A(e,function(l,u){if(!(n.visualType&&n.visualType!==l.visualType)){var f=o._stageTaskMap.get(l.uid),h=f.seriesTaskMap,v=f.overallTask;if(v){var c,p=v.agentStubMap;p.each(function(g){s(n,g)&&(g.dirty(),c=!0)}),c&&v.dirty(),o.updatePayload(v,a);var d=o.getPerformArgs(v,n.block);p.each(function(g){g.perform(d)}),v.perform(d)&&(i=!0)}else h&&h.each(function(g,y){s(n,g)&&g.dirty();var m=o.getPerformArgs(g,n.block);m.skip=!l.performRawSeries&&t.isSeriesFiltered(g.context.model),o.updatePayload(g,a),g.perform(m)&&(i=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=i||this.unfinished},r.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(a){t=a.dataTask.perform()||t}),this.unfinished=t||this.unfinished},r.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)})},r.prototype.updatePayload=function(e,t){t!=="remain"&&(e.context.payload=t)},r.prototype._createSeriesStageTask=function(e,t,a,n){var i=this,o=t.seriesTaskMap,s=t.seriesTaskMap=q(),l=e.seriesType,u=e.getTargetSeries;e.createOnAllSeries?a.eachRawSeries(f):l?a.eachRawSeriesByType(l,f):u&&u(a,n).each(f);function f(h){var v=h.uid,c=s.set(v,o&&o.get(v)||ws({plan:IO,reset:LO,count:RO}));c.context={model:h,ecModel:a,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(h,c)}},r.prototype._createOverallStageTask=function(e,t,a,n){var i=this,o=t.overallTask=t.overallTask||ws({reset:CO});o.context={ecModel:a,api:n,overallReset:e.overallReset,scheduler:i};var s=o.agentStubMap,l=o.agentStubMap=q(),u=e.seriesType,f=e.getTargetSeries,h=!0,v=!1,c="";Ce(!e.createOnAllSeries,c),u?a.eachRawSeriesByType(u,p):f?f(a,n).each(p):(h=!1,A(a.getSeries(),p));function p(d){var g=d.uid,y=l.set(g,s&&s.get(g)||(v=!0,ws({reset:AO,onDirty:DO})));y.context={model:d,overallProgress:h},y.agent=o,y.__block=h,i._pipe(d,y)}v&&o.dirty()},r.prototype._pipe=function(e,t){var a=e.uid,n=this._pipelineMap.get(a);!n.head&&(n.head=t),n.tail&&n.tail.pipe(t),n.tail=t,t.__idxInPipeline=n.count++,t.__pipeline=n},r.wrapStageHandler=function(e,t){return K(e)&&(e={overallReset:e,seriesType:EO(e)}),e.uid=go("stageHandler"),t&&(e.visualType=t),e},r}();function CO(r){r.overallReset(r.ecModel,r.api,r.payload)}function AO(r){return r.overallProgress&&MO}function MO(){this.agent.dirty(),this.getDownstream().dirty()}function DO(){this.agent&&this.agent.dirty()}function IO(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function LO(r){r.useClearVisual&&r.data.clearAllVisual();var e=r.resetDefines=Pt(r.reset(r.model,r.ecModel,r.api,r.payload));return e.length>1?G(e,function(t,a){return JC(a)}):PO}var PO=JC(0);function JC(r){return function(e,t){var a=t.data,n=t.resetDefines[r];if(n&&n.dataEach)for(var i=e.start;i0&&c===u.length-v.length){var p=u.slice(0,c);p!=="data"&&(t.mainType=p,t[v.toLowerCase()]=l,f=!0)}}s.hasOwnProperty(u)&&(a[u]=l,f=!0),f||(n[u]=l)})}return{cptQuery:t,dataQuery:a,otherQuery:n}},r.prototype.filter=function(e,t){var a=this.eventInfo;if(!a)return!0;var n=a.targetEl,i=a.packedEvent,o=a.model,s=a.view;if(!o||!s)return!0;var l=t.cptQuery,u=t.dataQuery;return f(l,o,"mainType")&&f(l,o,"subType")&&f(l,o,"index","componentIndex")&&f(l,o,"name")&&f(l,o,"id")&&f(u,i,"name")&&f(u,i,"dataIndex")&&f(u,i,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,n,i));function f(h,v,c,p){return h[c]==null||v[p||c]===h[c]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r}(),Qp=["symbol","symbolSize","symbolRotate","symbolOffset"],l_=Qp.concat(["symbolKeepAspect"]),BO={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){var t=r.getData();if(r.legendIcon&&t.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var a={},n={},i=!1,o=0;o=0&&Wn(l)?l:.5;var u=r.createRadialGradient(o,s,0,o,s,l);return u}function Jp(r,e,t){for(var a=e.type==="radial"?jO(r,e,t):JO(r,e,t),n=e.colorStops,i=0;i0)?null:r==="dashed"?[4*e,2*e]:r==="dotted"?[e]:Ct(r)?[r]:z(r)?r:null}function Fg(r){var e=r.style,t=e.lineDash&&e.lineWidth>0&&eN(e.lineDash,e.lineWidth),a=e.lineDashOffset;if(t){var n=e.strokeNoScale&&r.getLineScale?r.getLineScale():1;n&&n!==1&&(t=G(t,function(i){return i/n}),a/=n)}return[t,a]}var rN=new Hr(!0);function xf(r){var e=r.stroke;return!(e==null||e==="none"||!(r.lineWidth>0))}function u_(r){return typeof r=="string"&&r!=="none"}function wf(r){var e=r.fill;return e!=null&&e!=="none"}function f_(r,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var t=r.globalAlpha;r.globalAlpha=e.fillOpacity*e.opacity,r.fill(),r.globalAlpha=t}else r.fill()}function h_(r,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var t=r.globalAlpha;r.globalAlpha=e.strokeOpacity*e.opacity,r.stroke(),r.globalAlpha=t}else r.stroke()}function jp(r,e,t){var a=hg(e.image,e.__image,t);if(ah(a)){var n=r.createPattern(a,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var i=new DOMMatrix;i.translateSelf(e.x||0,e.y||0),i.rotateSelf(0,0,(e.rotation||0)*Ru),i.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(i)}return n}}function aN(r,e,t,a){var n,i=xf(t),o=wf(t),s=t.strokePercent,l=s<1,u=!e.path;(!e.silent||l)&&u&&e.createPathProxy();var f=e.path||rN,h=e.__dirty;if(!a){var v=t.fill,c=t.stroke,p=o&&!!v.colorStops,d=i&&!!c.colorStops,g=o&&!!v.image,y=i&&!!c.image,m=void 0,_=void 0,S=void 0,w=void 0,x=void 0;(p||d)&&(x=e.getBoundingRect()),p&&(m=h?Jp(r,v,x):e.__canvasFillGradient,e.__canvasFillGradient=m),d&&(_=h?Jp(r,c,x):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),g&&(S=h||!e.__canvasFillPattern?jp(r,v,e):e.__canvasFillPattern,e.__canvasFillPattern=S),y&&(w=h||!e.__canvasStrokePattern?jp(r,c,e):e.__canvasStrokePattern,e.__canvasStrokePattern=S),p?r.fillStyle=m:g&&(S?r.fillStyle=S:o=!1),d?r.strokeStyle=_:y&&(w?r.strokeStyle=w:i=!1)}var b=e.getGlobalScale();f.setScale(b[0],b[1],e.segmentIgnoreThreshold);var T,C;r.setLineDash&&t.lineDash&&(n=Fg(e),T=n[0],C=n[1]);var M=!0;(u||h&Vi)&&(f.setDPR(r.dpr),l?f.setContext(null):(f.setContext(r),M=!1),f.reset(),e.buildPath(f,e.shape,a),f.toStatic(),e.pathUpdated()),M&&f.rebuildPath(r,l?s:1),T&&(r.setLineDash(T),r.lineDashOffset=C),a||(t.strokeFirst?(i&&h_(r,t),o&&f_(r,t)):(o&&f_(r,t),i&&h_(r,t))),T&&r.setLineDash([])}function nN(r,e,t){var a=e.__image=hg(t.image,e.__image,e,e.onload);if(!(!a||!ah(a))){var n=t.x||0,i=t.y||0,o=e.getWidth(),s=e.getHeight(),l=a.width/a.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=a.width,s=a.height),t.sWidth&&t.sHeight){var u=t.sx||0,f=t.sy||0;r.drawImage(a,u,f,t.sWidth,t.sHeight,n,i,o,s)}else if(t.sx&&t.sy){var u=t.sx,f=t.sy,h=o-u,v=s-f;r.drawImage(a,u,f,h,v,n,i,o,s)}else r.drawImage(a,n,i,o,s)}}function iN(r,e,t){var a,n=t.text;if(n!=null&&(n+=""),n){r.font=t.font||Wa,r.textAlign=t.textAlign,r.textBaseline=t.textBaseline;var i=void 0,o=void 0;r.setLineDash&&t.lineDash&&(a=Fg(e),i=a[0],o=a[1]),i&&(r.setLineDash(i),r.lineDashOffset=o),t.strokeFirst?(xf(t)&&r.strokeText(n,t.x,t.y),wf(t)&&r.fillText(n,t.x,t.y)):(wf(t)&&r.fillText(n,t.x,t.y),xf(t)&&r.strokeText(n,t.x,t.y)),i&&r.setLineDash([])}}var v_=["shadowBlur","shadowOffsetX","shadowOffsetY"],c_=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function iA(r,e,t,a,n){var i=!1;if(!a&&(t=t||{},e===t))return!1;if(a||e.opacity!==t.opacity){Ee(r,n),i=!0;var o=Math.max(Math.min(e.opacity,1),0);r.globalAlpha=isNaN(o)?Xn.opacity:o}(a||e.blend!==t.blend)&&(i||(Ee(r,n),i=!0),r.globalCompositeOperation=e.blend||Xn.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,a,n){if(!this[ge]){if(this._disposed){this.id;return}var i,o,s;if(tt(a)&&(n=a.lazyUpdate,i=a.silent,o=a.replaceMerge,s=a.transition,a=a.notMerge),this[ge]=!0,!this._model||a){var l=new xk(this._api),u=this._theme,f=this._model=new TC;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,u,this._locale,l)}this._model.setOption(t,{replaceMerge:o},ed);var h={seriesTransition:s,optionChanged:!0};if(n)this[Ie]={silent:i,updateParams:h},this[ge]=!1,this.getZr().wakeUp();else{try{Ai(this),xa.update.call(this,null,h)}catch(v){throw this[Ie]=null,this[ge]=!1,v}this._ssr||this._zr.flush(),this[Ie]=null,this[ge]=!1,Vo.call(this,i),zo.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||bt.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var a=this._zr.painter;return a.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var a=this._zr.painter;return a.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(bt.svgSupported){var t=this._zr,a=t.storage.getDisplayList();return A(a,function(n){n.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed){this.id;return}t=t||{};var a=t.excludeComponents,n=this._model,i=[],o=this;A(a,function(l){n.eachComponent({mainType:l},function(u){var f=o._componentsMap[u.__viewId];f.group.ignore||(i.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return A(i,function(l){l.group.ignore=!1}),s},e.prototype.getConnectedDataURL=function(t){if(this._disposed){this.id;return}var a=t.type==="svg",n=this.group,i=Math.min,o=Math.max,s=1/0;if(D_[n]){var l=s,u=s,f=-s,h=-s,v=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();A(Ts,function(_,S){if(_.group===n){var w=a?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(et(t)),x=_.getDom().getBoundingClientRect();l=i(x.left,l),u=i(x.top,u),f=o(x.right,f),h=o(x.bottom,h),v.push({dom:w,left:x.left,top:x.top})}}),l*=c,u*=c,f*=c,h*=c;var p=f-l,d=h-u,g=$a.createCanvas(),y=Pm(g,{renderer:a?"svg":"canvas"});if(y.resize({width:p,height:d}),a){var m="";return A(v,function(_){var S=_.left-l,w=_.top-u;m+=''+_.dom+""}),y.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}else return t.connectedBackgroundColor&&y.add(new St({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),A(v,function(_){var S=new he({style:{x:_.left*c-l,y:_.top*c-u,image:_.dom}});y.add(S)}),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}else return this.getDataURL(t)},e.prototype.convertToPixel=function(t,a){return Nv(this,"convertToPixel",t,a)},e.prototype.convertFromPixel=function(t,a){return Nv(this,"convertFromPixel",t,a)},e.prototype.containPixel=function(t,a){if(this._disposed){this.id;return}var n=this._model,i,o=ys(n,t);return A(o,function(s,l){l.indexOf("Models")>=0&&A(s,function(u){var f=u.coordinateSystem;if(f&&f.containPoint)i=i||!!f.containPoint(a);else if(l==="seriesModels"){var h=this._chartsMap[u.__viewId];h&&h.containPoint&&(i=i||h.containPoint(a,u))}},this)},this),!!i},e.prototype.getVisual=function(t,a){var n=this._model,i=ys(n,t,{defaultMainType:"series"}),o=i.seriesModel,s=o.getData(),l=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?s.indexOfRawIndex(i.dataIndex):null;return l!=null?Gg(s,l,a):cl(s,a)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;A(PN,function(a){var n=function(i){var o=t.getModel(),s=i.target,l,u=a==="globalout";if(u?l={}:s&&Hn(s,function(p){var d=nt(p);if(d&&d.dataIndex!=null){var g=d.dataModel||o.getSeriesByIndex(d.seriesIndex);return l=g&&g.getDataParams(d.dataIndex,d.dataType)||{},!0}else if(d.eventData)return l=B({},d.eventData),!0},!0),l){var f=l.componentType,h=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",h=l.seriesIndex);var v=f&&h!=null&&o.getComponent(f,h),c=v&&t[v.mainType==="series"?"_chartsMap":"_componentsMap"][v.__viewId];l.event=i,l.type=a,t._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:v,view:c},t.trigger(a,l)}};n.zrEventfulCallAtLast=!0,t._zr.on(a,n,t)}),A(bs,function(a,n){t._messageCenter.on(n,function(i){this.trigger(n,i)},t)}),A(["selectchanged"],function(a){t._messageCenter.on(a,function(n){this.trigger(a,n)},t)}),zO(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var t=this.getDom();t&&Qb(this.getDom(),$g,"");var a=this,n=a._api,i=a._model;A(a._componentsViews,function(o){o.dispose(i,n)}),A(a._chartsViews,function(o){o.dispose(i,n)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete Ts[a.id]},e.prototype.resize=function(t){if(!this[ge]){if(this._disposed){this.id;return}this._zr.resize(t);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!a){var n=a.resetOption("media"),i=t&&t.silent;this[Ie]&&(i==null&&(i=this[Ie].silent),n=!0,this[Ie]=null),this[ge]=!0;try{n&&Ai(this),xa.update.call(this,{type:"resize",animation:B({duration:0},t&&t.animation)})}catch(o){throw this[ge]=!1,o}this[ge]=!1,Vo.call(this,i),zo.call(this,i)}}},e.prototype.showLoading=function(t,a){if(this._disposed){this.id;return}if(tt(t)&&(a=t,t=""),t=t||"default",this.hideLoading(),!!rd[t]){var n=rd[t](this._api,a),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var a=B({},t);return a.type=bs[t.type],a},e.prototype.dispatchAction=function(t,a){if(this._disposed){this.id;return}if(tt(a)||(a={silent:!!a}),!!bf[t.type]&&this._model){if(this[ge]){this._pendingActions.push(t);return}var n=a.silent;Vv.call(this,t,n);var i=a.flush;i?this._zr.flush():i!==!1&&bt.browser.weChat&&this._throttledZrFlush(),Vo.call(this,n),zo.call(this,n)}},e.prototype.updateLabelLayout=function(){cr.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){this.id;return}var a=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(a);i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){Ai=function(h){var v=h._scheduler;v.restorePipelines(h._model),v.prepareStageTasks(),Ov(h,!0),Ov(h,!1),v.plan()},Ov=function(h,v){for(var c=h._model,p=h._scheduler,d=v?h._componentsViews:h._chartsViews,g=v?h._componentsMap:h._chartsMap,y=h._zr,m=h._api,_=0;_v.get("hoverLayerThreshold")&&!bt.node&&!bt.worker&&v.eachSeries(function(g){if(!g.preventUsingHoverLayer){var y=h._chartsMap[g.__viewId];y.__alive&&y.eachRendered(function(m){m.states.emphasis&&(m.states.emphasis.hoverLayer=!0)})}})}function o(h,v){var c=h.get("blendMode")||null;v.eachRendered(function(p){p.isGroup||(p.style.blend=c)})}function s(h,v){if(!h.preventAutoZ){var c=h.get("z")||0,p=h.get("zlevel")||0;v.eachRendered(function(d){return l(d,c,p,-1/0),!0})}}function l(h,v,c,p){var d=h.getTextContent(),g=h.getTextGuideLine(),y=h.isGroup;if(y)for(var m=h.childrenRef(),_=0;_0?{duration:d,delay:c.get("delay"),easing:c.get("easing")}:null;v.eachRendered(function(y){if(y.states&&y.states.emphasis){if(Xi(y))return;if(y instanceof dt&&$R(y),y.__dirty){var m=y.prevStates;m&&y.useStates(m)}if(p){y.stateTransition=g;var _=y.getTextContent(),S=y.getTextGuideLine();_&&(_.stateTransition=g),S&&(S.stateTransition=g)}y.__dirty&&n(y)}})}A_=function(h){return new(function(v){k(c,v);function c(){return v!==null&&v.apply(this,arguments)||this}return c.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},c.prototype.getComponentByElement=function(p){for(;p;){var d=p.__ecComponentInfo;if(d!=null)return h._model.getComponent(d.mainType,d.index);p=p.parent}},c.prototype.enterEmphasis=function(p,d){ua(p,d),We(h)},c.prototype.leaveEmphasis=function(p,d){fa(p,d),We(h)},c.prototype.enterBlur=function(p){_T(p),We(h)},c.prototype.leaveBlur=function(p){dg(p),We(h)},c.prototype.enterSelect=function(p){ST(p),We(h)},c.prototype.leaveSelect=function(p){xT(p),We(h)},c.prototype.getModel=function(){return h.getModel()},c.prototype.getViewOfComponentModel=function(p){return h.getViewOfComponentModel(p)},c.prototype.getViewOfSeriesModel=function(p){return h.getViewOfSeriesModel(p)},c}(CC))(h)},SA=function(h){function v(c,p){for(var d=0;d=0)){I_.push(t);var i=eA.wrapStageHandler(t,n);i.__prio=e,i.__raw=t,r.push(i)}}function AA(r,e){rd[r]=e}function VN(r,e,t){var a=gN("registerMap");a&&a(r,e,t)}var zN=qk;vi(Hg,SO);vi(wh,xO);vi(wh,wO);vi(Hg,BO);vi(wh,VO);vi(pA,cN);TA(MC);CA(_N,Ik);AA("default",bO);Ur({type:qn,event:qn,update:qn},Yt);Ur({type:Fu,event:Fu,update:Fu},Yt);Ur({type:ms,event:ms,update:ms},Yt);Ur({type:Hu,event:Hu,update:Hu},Yt);Ur({type:_s,event:_s,update:_s},Yt);bA("light",kO);bA("dark",OO);var L_=[],GN={registerPreprocessor:TA,registerProcessor:CA,registerPostInit:kN,registerPostUpdate:ON,registerUpdateLifecycle:Ug,registerAction:Ur,registerCoordinateSystem:NN,registerLayout:BN,registerVisual:vi,registerTransform:zN,registerLoading:AA,registerMap:VN,registerImpl:dN,PRIORITY:DN,ComponentModel:wt,ComponentView:Ht,SeriesModel:zt,ChartView:Nt,registerComponentModel:function(r){wt.registerClass(r)},registerComponentView:function(r){Ht.registerClass(r)},registerSeriesModel:function(r){zt.registerClass(r)},registerChartView:function(r){Nt.registerClass(r)},registerSubTypeDefaulter:function(r,e){wt.registerSubTypeDefaulter(r,e)},registerPainter:function(r,e){uP(r,e)}};function ct(r){if(z(r)){A(r,function(e){ct(e)});return}vt(L_,r)>=0||(L_.push(r),K(r)&&(r={install:r}),r.install(GN))}function Go(r){return r==null?0:r.length||1}function P_(r){return r}var FN=function(){function r(e,t,a,n,i,o){this._old=e,this._new=t,this._oldKeyGetter=a||P_,this._newKeyGetter=n||P_,this.context=i,this._diffModeMultiple=o==="multiple"}return r.prototype.add=function(e){return this._add=e,this},r.prototype.update=function(e){return this._update=e,this},r.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},r.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},r.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},r.prototype.remove=function(e){return this._remove=e,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var e=this._old,t=this._new,a={},n=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,n,"_oldKeyGetter"),this._initIndexMap(t,a,i,"_newKeyGetter");for(var o=0;o1){var f=l.shift();l.length===1&&(a[s]=l[0]),this._update&&this._update(f,o)}else u===1?(a[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(i,a)},r.prototype._executeMultiple=function(){var e=this._old,t=this._new,a={},n={},i=[],o=[];this._initIndexMap(e,a,i,"_oldKeyGetter"),this._initIndexMap(t,n,o,"_newKeyGetter");for(var s=0;s1&&v===1)this._updateManyToOne&&this._updateManyToOne(f,u),n[l]=null;else if(h===1&&v>1)this._updateOneToMany&&this._updateOneToMany(f,u),n[l]=null;else if(h===1&&v===1)this._update&&this._update(f,u),n[l]=null;else if(h>1&&v>1)this._updateManyToMany&&this._updateManyToMany(f,u),n[l]=null;else if(h>1)for(var c=0;c1)for(var s=0;s30}var Fo=tt,wa=G,XN=typeof Int32Array>"u"?Array:Int32Array,qN="e\0\0",R_=-1,KN=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],QN=["_approximateExtent"],E_,ru,Ho,Wo,Fv,au,Hv,JN=function(){function r(e,t){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var a,n=!1;DA(e)?(a=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(n=!0,a=e),a=a||["x","y"];for(var i={},o=[],s={},l=!1,u={},f=0;f=t)){var a=this._store,n=a.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,s=n.getSource().sourceFormat,l=s===sr;if(l&&!n.pure)for(var u=[],f=e;f0},r.prototype.ensureUniqueItemVisual=function(e,t){var a=this._itemVisuals,n=a[e];n||(n=a[e]={});var i=n[t];return i==null&&(i=this.getVisual(t),z(i)?i=i.slice():Fo(i)&&(i=B({},i)),n[t]=i),i},r.prototype.setItemVisual=function(e,t,a){var n=this._itemVisuals[e]||{};this._itemVisuals[e]=n,Fo(t)?B(n,t):n[t]=a},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(e,t){Fo(e)?B(this._layout,e):this._layout[e]=t},r.prototype.getLayout=function(e){return this._layout[e]},r.prototype.getItemLayout=function(e){return this._itemLayouts[e]},r.prototype.setItemLayout=function(e,t,a){this._itemLayouts[e]=a?B(this._itemLayouts[e]||{},t):t},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(e,t){var a=this.hostModel&&this.hostModel.seriesIndex;kp(a,this.dataType,e,t),this._graphicEls[e]=t},r.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},r.prototype.eachItemGraphicEl=function(e,t){A(this._graphicEls,function(a,n){a&&e&&e.call(t,a,n)})},r.prototype.cloneShallow=function(e){return e||(e=new r(this._schema?this._schema:wa(this.dimensions,this._getDimInfo,this),this.hostModel)),Fv(e,this),e._store=this._store,e},r.prototype.wrapMethod=function(e,t){var a=this[e];K(a)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var n=a.apply(this,arguments);return t.apply(this,[n].concat(Jd(arguments)))})},r.internalField=function(){E_=function(e){var t=e._invertedIndicesMap;A(t,function(a,n){var i=e._dimInfos[n],o=i.ordinalMeta,s=e._store;if(o){a=t[n]=new XN(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),n[t]=l}}}(),r}();const Te=JN;function dl(r,e){Rg(r)||(r=Eg(r)),e=e||{};var t=e.coordDimensions||[],a=e.dimensionsDefine||r.dimensionsDefine||[],n=q(),i=[],o=tB(r,t,a,e.dimensionsCount),s=e.canOmitUnusedDimensions&&PA(o),l=a===r.dimensionsDefine,u=l?LA(r):IA(a),f=e.encodeDefine;!f&&e.encodeDefaulter&&(f=e.encodeDefaulter(r,o));for(var h=q(f),v=new VC(o),c=0;c0&&(a.name=n+(i-1)),i++,e.set(n,i)}}function tB(r,e,t,a){var n=Math.max(r.dimensionsDetectedCount||1,e.length,t.length,a||0);return A(e,function(i){var o;tt(i)&&(o=i.dimsDef)&&(n=Math.max(n,o.length))}),n}function eB(r,e,t){if(t||e.hasKey(r)){for(var a=0;e.hasKey(r+a);)a++;r+=a}return e.set(r,!0),r}var rB=function(){function r(e){this.coordSysDims=[],this.axisMap=q(),this.categoryAxisMap=q(),this.coordSysName=e}return r}();function aB(r){var e=r.get("coordinateSystem"),t=new rB(e),a=nB[e];if(a)return a(r,t,t.axisMap,t.categoryAxisMap),t}var nB={cartesian2d:function(r,e,t,a){var n=r.getReferringComponents("xAxis",Xt).models[0],i=r.getReferringComponents("yAxis",Xt).models[0];e.coordSysDims=["x","y"],t.set("x",n),t.set("y",i),Mi(n)&&(a.set("x",n),e.firstCategoryDimIndex=0),Mi(i)&&(a.set("y",i),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(r,e,t,a){var n=r.getReferringComponents("singleAxis",Xt).models[0];e.coordSysDims=["single"],t.set("single",n),Mi(n)&&(a.set("single",n),e.firstCategoryDimIndex=0)},polar:function(r,e,t,a){var n=r.getReferringComponents("polar",Xt).models[0],i=n.findAxisModel("radiusAxis"),o=n.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],t.set("radius",i),t.set("angle",o),Mi(i)&&(a.set("radius",i),e.firstCategoryDimIndex=0),Mi(o)&&(a.set("angle",o),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(r,e,t,a){e.coordSysDims=["lng","lat"]},parallel:function(r,e,t,a){var n=r.ecModel,i=n.getComponent("parallel",r.get("parallelIndex")),o=e.coordSysDims=i.dimensions.slice();A(i.parallelAxisIndex,function(s,l){var u=n.getComponent("parallelAxis",s),f=o[l];t.set(f,u),Mi(u)&&(a.set(f,u),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=l))})}};function Mi(r){return r.get("type")==="category"}function iB(r,e,t){t=t||{};var a=t.byIndex,n=t.stackedCoordDimension,i,o,s;oB(e)?i=e:(o=e.schema,i=o.dimensions,s=e.store);var l=!!(r&&r.get("stack")),u,f,h,v;if(A(i,function(m,_){$(m)&&(i[_]=m={name:m}),l&&!m.isExtraCoord&&(!a&&!u&&m.ordinalMeta&&(u=m),!f&&m.type!=="ordinal"&&m.type!=="time"&&(!n||n===m.coordDim)&&(f=m))}),f&&!a&&!u&&(a=!0),f){h="__\0ecstackresult_"+r.id,v="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var c=f.coordDim,p=f.type,d=0;A(i,function(m){m.coordDim===c&&d++});var g={name:h,coordDim:c,coordDimIndex:d,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},y={name:v,coordDim:v,coordDimIndex:d+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(v,p),y.storeDimIndex=s.ensureCalculationDimension(h,p)),o.appendCalculationDimension(g),o.appendCalculationDimension(y)):(i.push(g),i.push(y))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:v,stackResultDimension:h}}function oB(r){return!DA(r.schema)}function Xa(r,e){return!!e&&e===r.getCalculationInfo("stackedDimension")}function RA(r,e){return Xa(r,e)?r.getCalculationInfo("stackResultDimension"):e}function sB(r,e){var t=r.get("coordinateSystem"),a=vl.get(t),n;return e&&e.coordSysDims&&(n=G(e.coordSysDims,function(i){var o={name:i},s=e.axisMap.get(i);if(s){var l=s.get("type");o.type=Cf(l)}return o})),n||(n=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),n}function lB(r,e,t){var a,n;return t&&A(r,function(i,o){var s=i.coordDim,l=t.categoryAxisMap.get(s);l&&(a==null&&(a=o),i.ordinalMeta=l.getOrdinalMeta(),e&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(n=!0)}),!n&&a!=null&&(r[a].otherDims.itemName=0),a}function da(r,e,t){t=t||{};var a=e.getSourceManager(),n,i=!1;r?(i=!0,n=Eg(r)):(n=a.getSource(),i=n.sourceFormat===sr);var o=aB(e),s=sB(e,o),l=t.useEncodeDefaulter,u=K(l)?l:l?it(_C,s,e):null,f={coordDimensions:s,generateCoord:t.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},h=dl(n,f),v=lB(h.dimensions,t.createInvertedIndices,o),c=i?null:a.getSharedDataStore(h),p=iB(e,{schema:h,store:c}),d=new Te(h,e);d.setCalculationInfo(p);var g=v!=null&&uB(n)?function(y,m,_,S){return S===v?_:this.defaultDimValueGetter(y,m,_,S)}:null;return d.hasItemOption=!1,d.initData(i?n:c,null,g),d}function uB(r){if(r.sourceFormat===sr){var e=fB(r.data||[]);return!z(fo(e))}}function fB(r){for(var e=0;et[1]&&(t[1]=e[1])},r.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(e,t){var a=this._extent;isNaN(e)||(a[0]=e),isNaN(t)||(a[1]=t)},r.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(e){this._isBlank=e},r}();rh(EA);const ga=EA;var hB=0,vB=function(){function r(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++hB}return r.createByAxisModel=function(e){var t=e.option,a=t.data,n=a&&G(a,cB);return new r({categories:n,needCollect:!n,deduplication:t.dedplication!==!1})},r.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},r.prototype.parseAndCollect=function(e){var t,a=this._needCollect;if(!$(e)&&!a)return e;if(a&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var n=this._getOrCreateMap();return t=n.get(e),t==null&&(a?(t=this.categories.length,this.categories[t]=e,n.set(e,t)):t=NaN),t},r.prototype._getOrCreateMap=function(){return this._map||(this._map=q(this.categories))},r}();function cB(r){return tt(r)&&r.value!=null?r.value:r+""}const ad=vB;function nd(r){return r.type==="interval"||r.type==="log"}function pB(r,e,t,a){var n={},i=r[1]-r[0],o=n.interval=Wb(i/e,!0);t!=null&&oa&&(o=n.interval=a);var s=n.intervalPrecision=kA(o),l=n.niceTickExtent=[$t(Math.ceil(r[0]/o)*o,s),$t(Math.floor(r[1]/o)*o,s)];return dB(l,r),n}function Wv(r){var e=Math.pow(10,sg(r)),t=r/e;return t?t===2?t=3:t===3?t=5:t*=2:t=1,$t(t*e)}function kA(r){return Er(r)+2}function k_(r,e,t){r[e]=Math.max(Math.min(r[e],t[1]),t[0])}function dB(r,e){!isFinite(r[0])&&(r[0]=e[0]),!isFinite(r[1])&&(r[1]=e[1]),k_(r,0,e),k_(r,1,e),r[0]>r[1]&&(r[0]=r[1])}function bh(r,e){return r>=e[0]&&r<=e[1]}function Th(r,e){return e[1]===e[0]?.5:(r-e[0])/(e[1]-e[0])}function Ch(r,e){return r*(e[1]-e[0])+e[0]}var OA=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;a.type="ordinal";var n=a.getSetting("ordinalMeta");return n||(n=new ad({})),z(n)&&(n=new ad({categories:G(n,function(i){return tt(i)?i.value:i})})),a._ordinalMeta=n,a._extent=a.getSetting("extent")||[0,n.categories.length-1],a}return e.prototype.parse=function(t){return t==null?NaN:$(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),bh(t,this._extent)&&this._ordinalMeta.categories[t]!=null},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),Th(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(Ch(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],a=this._extent,n=a[0];n<=a[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(t==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var a=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,a.length);o=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(ga);ga.registerClass(OA);const Zg=OA;var wn=$t,NA=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return bh(t,this._extent)},e.prototype.normalize=function(t){return Th(t,this._extent)},e.prototype.scale=function(t){return Ch(t,this._extent)},e.prototype.setExtent=function(t,a){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(a)||(n[1]=parseFloat(a))},e.prototype.unionExtent=function(t){var a=this._extent;t[0]a[1]&&(a[1]=t[1]),this.setExtent(a[0],a[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=kA(t)},e.prototype.getTicks=function(t){var a=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,s=[];if(!a)return s;var l=1e4;n[0]l)return[];var f=s.length?s[s.length-1].value:i[1];return n[1]>f&&(t?s.push({value:wn(f+a,o)}):s.push({value:n[1]})),s},e.prototype.getMinorTicks=function(t){for(var a=this.getTicks(!0),n=[],i=this.getExtent(),o=1;oi[0]&&c0&&(i=i===null?s:Math.min(i,s))}t[a]=i}}return t}function zA(r){var e=mB(r),t=[];return A(r,function(a){var n=a.coordinateSystem,i=n.getBaseAxis(),o=i.getExtent(),s;if(i.type==="category")s=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var l=i.dim+"_"+i.index,u=e[l],f=Math.abs(o[1]-o[0]),h=i.scale.getExtent(),v=Math.abs(h[1]-h[0]);s=u?f/v*u:f}else{var c=a.getData();s=Math.abs(o[1]-o[0])/c.count()}var p=H(a.get("barWidth"),s),d=H(a.get("barMaxWidth"),s),g=H(a.get("barMinWidth")||($A(a)?.5:1),s),y=a.get("barGap"),m=a.get("barCategoryGap");t.push({bandWidth:s,barWidth:p,barMaxWidth:d,barMinWidth:g,barGap:y,barCategoryGap:m,axisKey:qg(i),stackId:Xg(a)})}),GA(t)}function GA(r){var e={};A(r,function(a,n){var i=a.axisKey,o=a.bandWidth,s=e[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;e[i]=s;var u=a.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var f=a.barWidth;f&&!l[u].width&&(l[u].width=f,f=Math.min(s.remainedWidth,f),s.remainedWidth-=f);var h=a.barMaxWidth;h&&(l[u].maxWidth=h);var v=a.barMinWidth;v&&(l[u].minWidth=v);var c=a.barGap;c!=null&&(s.gap=c);var p=a.barCategoryGap;p!=null&&(s.categoryGap=p)});var t={};return A(e,function(a,n){t[n]={};var i=a.stacks,o=a.bandWidth,s=a.categoryGap;if(s==null){var l=mt(i).length;s=Math.max(35-l*4,15)+"%"}var u=H(s,o),f=H(a.gap,1),h=a.remainedWidth,v=a.autoWidthCount,c=(h-u)/(v+(v-1)*f);c=Math.max(c,0),A(i,function(y){var m=y.maxWidth,_=y.minWidth;if(y.width){var S=y.width;m&&(S=Math.min(S,m)),_&&(S=Math.max(S,_)),y.width=S,h-=S+f*S,v--}else{var S=c;m&&mS&&(S=_),S!==c&&(y.width=S,h-=S+f*S,v--)}}),c=(h-u)/(v+(v-1)*f),c=Math.max(c,0);var p=0,d;A(i,function(y,m){y.width||(y.width=c),d=y,p+=y.width*(1+f)}),d&&(p-=d.width*f);var g=-p/2;A(i,function(y,m){t[n][m]=t[n][m]||{bandWidth:o,offset:g,width:y.width},g+=y.width*(1+f)})}),t}function _B(r,e,t){if(r&&e){var a=r[qg(e)];return a!=null&&t!=null?a[Xg(t)]:a}}function FA(r,e){var t=VA(r,e),a=zA(t);A(t,function(n){var i=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),l=Xg(n),u=a[qg(s)][l],f=u.offset,h=u.width;i.setLayout({bandWidth:u.bandWidth,offset:f,size:h})})}function HA(r){return{seriesType:r,plan:xo(),reset:function(e){if(WA(e)){var t=e.getData(),a=e.coordinateSystem,n=a.getBaseAxis(),i=a.getOtherAxis(n),o=t.getDimensionIndex(t.mapDimension(i.dim)),s=t.getDimensionIndex(t.mapDimension(n.dim)),l=e.get("showBackground",!0),u=t.mapDimension(i.dim),f=t.getCalculationInfo("stackResultDimension"),h=Xa(t,u)&&!!t.getCalculationInfo("stackedOnSeries"),v=i.isHorizontal(),c=SB(n,i),p=$A(e),d=e.get("barMinHeight")||0,g=f&&t.getDimensionIndex(f),y=t.getLayout("size"),m=t.getLayout("offset");return{progress:function(_,S){for(var w=_.count,x=p&&Or(w*3),b=p&&l&&Or(w*3),T=p&&Or(w),C=a.master.getRect(),M=v?C.width:C.height,D,I=S.getStore(),L=0;(D=_.next())!=null;){var P=I.get(h?g:o,D),R=I.get(s,D),E=c,N=void 0;h&&(N=+P-I.get(o,D));var O=void 0,V=void 0,F=void 0,W=void 0;if(v){var Z=a.dataToPoint([P,R]);if(h){var Q=a.dataToPoint([N,R]);E=Q[0]}O=E,V=Z[1]+m,F=Z[0]-E,W=y,Math.abs(F)>>1;r[n][1]n&&(this._approxInterval=n);var s=nu.length,l=Math.min(xB(nu,this._approxInterval,0,s),s-1);this._interval=nu[l][1],this._minLevelUnit=nu[Math.max(l-1,0)][0]},e.prototype.parse=function(t){return Ct(t)?t:+Fr(t)},e.prototype.contain=function(t){return bh(this.parse(t),this._extent)},e.prototype.normalize=function(t){return Th(this.parse(t),this._extent)},e.prototype.scale=function(t){return Ch(t,this._extent)},e.type="time",e}(qa),nu=[["second",Cg],["minute",Ag],["hour",xs],["quarter-day",xs*6],["half-day",xs*12],["day",er*1.2],["half-week",er*3.5],["week",er*7],["month",er*31],["quarter",er*95],["half-year",b0/2],["year",b0]];function wB(r,e,t,a){var n=Fr(e),i=Fr(t),o=function(p){return C0(n,p,a)===C0(i,p,a)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},f=function(){return u()&&o("hour")},h=function(){return f()&&o("minute")},v=function(){return h()&&o("second")},c=function(){return v()&&o("millisecond")};switch(r){case"year":return s();case"month":return l();case"day":return u();case"hour":return f();case"minute":return h();case"second":return v();case"millisecond":return c()}}function bB(r,e){return r/=er,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function TB(r){var e=30*er;return r/=e,r>6?6:r>3?3:r>2?2:1}function CB(r){return r/=xs,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function O_(r,e){return r/=e?Ag:Cg,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function AB(r){return Wb(r,!0)}function MB(r,e,t){var a=new Date(r);switch(qi(e)){case"year":case"month":a[nC(t)](0);case"day":a[iC(t)](1);case"hour":a[oC(t)](0);case"minute":a[sC(t)](0);case"second":a[lC(t)](0),a[uC(t)](0)}return a.getTime()}function DB(r,e,t,a){var n=1e4,i=rC,o=0;function s(M,D,I,L,P,R,E){for(var N=new Date(D),O=D,V=N[L]();O1&&R===0&&I.unshift({value:I[0].value-O})}}for(var R=0;R=a[0]&&m<=a[1]&&h++)}var _=(a[1]-a[0])/e;if(h>_*1.5&&v>_/1.5||(u.push(g),h>_||r===i[c]))break}f=[]}}}for(var S=Lt(G(u,function(M){return Lt(M,function(D){return D.value>=a[0]&&D.value<=a[1]&&!D.notAdd})}),function(M){return M.length>0}),w=[],x=S.length-1,c=0;c0;)i*=10;var s=[$t(PB(a[0]/i)*i),$t(LB(a[1]/i)*i)];this._interval=i,this._niceExtent=s}},e.prototype.calcNiceExtent=function(t){Cs.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=fr(t)/fr(this.base),bh(t,this._extent)},e.prototype.normalize=function(t){return t=fr(t)/fr(this.base),Th(t,this._extent)},e.prototype.scale=function(t){return t=Ch(t,this._extent),iu(this.base,t)},e.type="log",e}(ga),ZA=Kg.prototype;ZA.getMinorTicks=Cs.getMinorTicks;ZA.getLabel=Cs.getLabel;function ou(r,e){return IB(r,Er(e))}ga.registerClass(Kg);const RB=Kg;var EB=function(){function r(e,t,a){this._prepareParams(e,t,a)}return r.prototype._prepareParams=function(e,t,a){a[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!f&&(l=0));var v=this._determinedMin,c=this._determinedMax;return v!=null&&(s=v,u=!0),c!=null&&(l=c,f=!0),{min:s,max:l,minFixed:u,maxFixed:f,isBlank:h}},r.prototype.modifyDataMinMax=function(e,t){this[OB[e]]=t},r.prototype.setDeterminedMinMax=function(e,t){var a=kB[e];this[a]=t},r.prototype.freeze=function(){this.frozen=!0},r}(),kB={min:"_determinedMin",max:"_determinedMax"},OB={min:"_dataMin",max:"_dataMax"};function XA(r,e,t){var a=r.rawExtentInfo;return a||(a=new EB(r,e,t),r.rawExtentInfo=a,a)}function su(r,e){return e==null?null:Ls(e)?NaN:r.parse(e)}function qA(r,e){var t=r.type,a=XA(r,e,r.getExtent()).calculate();r.setBlank(a.isBlank);var n=a.min,i=a.max,o=e.ecModel;if(o&&t==="time"){var s=VA("bar",o),l=!1;if(A(s,function(h){l=l||h.getBaseAxis()===e.axis}),l){var u=zA(s),f=NB(n,i,e,u);n=f.min,i=f.max}}return{extent:[n,i],fixMin:a.minFixed,fixMax:a.maxFixed}}function NB(r,e,t,a){var n=t.axis.getExtent(),i=n[1]-n[0],o=_B(a,t.axis);if(o===void 0)return{min:r,max:e};var s=1/0;A(o,function(c){s=Math.min(c.offset,s)});var l=-1/0;A(o,function(c){l=Math.max(c.offset+c.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,f=e-r,h=1-(s+l)/i,v=f/h-f;return e+=v*(l/u),r-=v*(s/u),{min:r,max:e}}function eo(r,e){var t=e,a=qA(r,t),n=a.extent,i=t.get("splitNumber");r instanceof RB&&(r.base=t.get("logBase"));var o=r.type,s=t.get("interval"),l=o==="interval"||o==="time";r.setExtent(n[0],n[1]),r.calcNiceExtent({splitNumber:i,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:l?t.get("minInterval"):null,maxInterval:l?t.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function Ah(r,e){if(e=e||r.get("type"),e)switch(e){case"category":return new Zg({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new YA({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(ga.getClass(e)||qa)}}function BB(r){var e=r.scale.getExtent(),t=e[0],a=e[1];return!(t>0&&a>0||t<0&&a<0)}function gl(r){var e=r.getLabelModel().get("formatter"),t=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?function(a){return function(n,i){return r.scale.getFormattedLabel(n,i,a)}}(e):$(e)?function(a){return function(n){var i=r.scale.getLabel(n),o=a.replace("{value}",i??"");return o}}(e):K(e)?function(a){return function(n,i){return t!=null&&(i=n.value-t),a(Qg(r,n),i,n.level!=null?{level:n.level}:null)}}(e):function(a){return r.scale.getLabel(a)}}function Qg(r,e){return r.type==="category"?r.scale.getLabel(e):e.value}function VB(r){var e=r.model,t=r.scale;if(!(!e.get(["axisLabel","show"])||t.isBlank())){var a,n,i=t.getExtent();t instanceof Zg?n=t.count():(a=t.getTicks(),n=a.length);var o=r.getLabelModel(),s=gl(r),l,u=1;n>40&&(u=Math.ceil(n/40));for(var f=0;fr[1]&&(r[1]=n[1])})}var yl=function(){function r(){}return r.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},r.prototype.getCoordSysModel=function(){},r}(),FB=1e-8;function B_(r,e){return Math.abs(r-e)n&&(a=o,n=l)}if(a)return WB(a.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},e.prototype.getBoundingRect=function(t){var a=this._rect;if(a&&!t)return a;var n=[1/0,1/0],i=[-1/0,-1/0],o=this.geometries;return A(o,function(s){s.type==="polygon"?V_(s.exterior,n,i,t):A(s.points,function(l){V_(l,n,i,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),a=new ft(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=a),a},e.prototype.contain=function(t){var a=this.getBoundingRect(),n=this.geometries;if(!a.contain(t[0],t[1]))return!1;t:for(var i=0,o=n.length;i>1^-(s&1),l=l>>1^-(l&1),s+=n,l+=i,n=s,i=l,a.push([s/t,l/t])}return a}function YB(r,e){return r=UB(r),G(Lt(r.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var a=t.properties,n=t.geometry,i=[];switch(n.type){case"Polygon":var o=n.coordinates;i.push(new z_(o[0],o.slice(1)));break;case"MultiPolygon":A(n.coordinates,function(l){l[0]&&i.push(new z_(l[0],l.slice(1)))});break;case"LineString":i.push(new G_([n.coordinates]));break;case"MultiLineString":i.push(new G_(n.coordinates))}var s=new JA(a[e||"name"],i,a.cp);return s.properties=a,s})}var Ys=xt();function ZB(r){return r.type==="category"?qB(r):QB(r)}function XB(r,e){return r.type==="category"?KB(r,e):{ticks:G(r.scale.getTicks(),function(t){return t.value})}}function qB(r){var e=r.getLabelModel(),t=tM(r,e);return!e.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:t.labelCategoryInterval}:t}function tM(r,e){var t=eM(r,"labels"),a=Jg(e),n=rM(t,a);if(n)return n;var i,o;return K(a)?i=iM(r,a):(o=a==="auto"?JB(r):a,i=nM(r,o)),aM(t,a,{labels:i,labelCategoryInterval:o})}function KB(r,e){var t=eM(r,"ticks"),a=Jg(e),n=rM(t,a);if(n)return n;var i,o;if((!e.get("show")||r.scale.isBlank())&&(i=[]),K(a))i=iM(r,a,!0);else if(a==="auto"){var s=tM(r,r.getLabelModel());o=s.labelCategoryInterval,i=G(s.labels,function(l){return l.tickValue})}else o=a,i=nM(r,o,!0);return aM(t,a,{ticks:i,tickCategoryInterval:o})}function QB(r){var e=r.scale.getTicks(),t=gl(r);return{labels:G(e,function(a,n){return{level:a.level,formattedLabel:t(a,n),rawLabel:r.scale.getLabel(a),tickValue:a.value}})}}function eM(r,e){return Ys(r)[e]||(Ys(r)[e]=[])}function rM(r,e){for(var t=0;t40&&(s=Math.max(1,Math.floor(o/40)));for(var l=i[0],u=r.dataToCoord(l+1)-r.dataToCoord(l),f=Math.abs(u*Math.cos(a)),h=Math.abs(u*Math.sin(a)),v=0,c=0;l<=i[1];l+=s){var p=0,d=0,g=il(t({value:l}),e.font,"center","top");p=g.width*1.3,d=g.height*1.3,v=Math.max(v,p,7),c=Math.max(c,d,7)}var y=v/f,m=c/h;isNaN(y)&&(y=1/0),isNaN(m)&&(m=1/0);var _=Math.max(0,Math.floor(Math.min(y,m))),S=Ys(r.model),w=r.getExtent(),x=S.lastAutoInterval,b=S.lastTickCount;return x!=null&&b!=null&&Math.abs(x-_)<=1&&Math.abs(b-o)<=1&&x>_&&S.axisExtent0===w[0]&&S.axisExtent1===w[1]?_=x:(S.lastTickCount=o,S.lastAutoInterval=_,S.axisExtent0=w[0],S.axisExtent1=w[1]),_}function tV(r){var e=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function nM(r,e,t){var a=gl(r),n=r.scale,i=n.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=i[0],f=n.count();u!==0&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=KA(r),v=o.get("showMinLabel")||h,c=o.get("showMaxLabel")||h;v&&u!==i[0]&&d(i[0]);for(var p=u;p<=i[1];p+=l)d(p);c&&p-l!==i[1]&&d(i[1]);function d(g){var y={value:g};s.push(t?g:{formattedLabel:a(y),rawLabel:n.getLabel(y),tickValue:g})}return s}function iM(r,e,t){var a=r.scale,n=gl(r),i=[];return A(a.getTicks(),function(o){var s=a.getLabel(o),l=o.value;e(o.value,s)&&i.push(t?l:{formattedLabel:n(o),rawLabel:s,tickValue:l})}),i}var F_=[0,1],eV=function(){function r(e,t,a){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=a||[0,0]}return r.prototype.contain=function(e){var t=this._extent,a=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=a&&e<=n},r.prototype.containData=function(e){return this.scale.contain(e)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(e){return Fb(e||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(e,t){var a=this._extent;a[0]=e,a[1]=t},r.prototype.dataToCoord=function(e,t){var a=this._extent,n=this.scale;return e=n.normalize(e),this.onBand&&n.type==="ordinal"&&(a=a.slice(),H_(a,n.count())),It(e,F_,a,t)},r.prototype.coordToData=function(e,t){var a=this._extent,n=this.scale;this.onBand&&n.type==="ordinal"&&(a=a.slice(),H_(a,n.count()));var i=It(e,a,F_,t);return this.scale.scale(i)},r.prototype.pointToData=function(e,t){},r.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),a=XB(this,t),n=a.ticks,i=G(n,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=t.get("alignWithLabel");return rV(this,i,o,e.clamp),i},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var a=this.scale.getMinorTicks(t),n=G(a,function(i){return G(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return n},r.prototype.getViewLabels=function(){return ZB(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),a=t[1]-t[0]+(this.onBand?1:0);a===0&&(a=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/a},r.prototype.calculateCategoryInterval=function(){return jB(this)},r}();function H_(r,e){var t=r[1]-r[0],a=e,n=t/a/2;r[0]+=n,r[1]-=n}function rV(r,e,t,a){var n=e.length;if(!r.onBand||t||!n)return;var i=r.getExtent(),o,s;if(n===1)e[0].coord=i[0],o=e[1]={coord:i[0]};else{var l=e[n-1].tickValue-e[0].tickValue,u=(e[n-1].coord-e[0].coord)/l;A(e,function(c){c.coord-=u/2});var f=r.scale.getExtent();s=1+f[1]-e[n-1].tickValue,o={coord:e[n-1].coord+u*s},e.push(o)}var h=i[0]>i[1];v(e[0].coord,i[0])&&(a?e[0].coord=i[0]:e.shift()),a&&v(i[0],e[0].coord)&&e.unshift({coord:i[0]}),v(i[1],o.coord)&&(a?o.coord=i[1]:e.pop()),a&&v(o.coord,i[1])&&e.push({coord:i[1]});function v(c,p){return c=$t(c),p=$t(p),h?c>p:cn&&(n+=$o);var c=Math.atan2(s,o);if(c<0&&(c+=$o),c>=a&&c<=n||c+$o>=a&&c+$o<=n)return l[0]=f,l[1]=h,u-t;var p=t*Math.cos(a)+r,d=t*Math.sin(a)+e,g=t*Math.cos(n)+r,y=t*Math.sin(n)+e,m=(p-o)*(p-o)+(d-s)*(d-s),_=(g-o)*(g-o)+(y-s)*(y-s);return m<_?(l[0]=p,l[1]=d,Math.sqrt(m)):(l[0]=g,l[1]=y,Math.sqrt(_))}function Mf(r,e,t,a,n,i,o,s){var l=n-r,u=i-e,f=t-r,h=a-e,v=Math.sqrt(f*f+h*h);f/=v,h/=v;var c=l*f+u*h,p=c/v;s&&(p=Math.min(Math.max(p,0),1)),p*=v;var d=o[0]=r+p*f,g=o[1]=e+p*h;return Math.sqrt((d-n)*(d-n)+(g-i)*(g-i))}function oM(r,e,t,a,n,i,o){t<0&&(r=r+t,t=-t),a<0&&(e=e+a,a=-a);var s=r+t,l=e+a,u=o[0]=Math.min(Math.max(n,r),s),f=o[1]=Math.min(Math.max(i,e),l);return Math.sqrt((u-n)*(u-n)+(f-i)*(f-i))}var pr=[];function oV(r,e,t){var a=oM(e.x,e.y,e.width,e.height,r.x,r.y,pr);return t.set(pr[0],pr[1]),a}function sV(r,e,t){for(var a=0,n=0,i=0,o=0,s,l,u=1/0,f=e.data,h=r.x,v=r.y,c=0;c0){e=e/180*Math.PI,gr.fromArray(r[0]),Et.fromArray(r[1]),Ut.fromArray(r[2]),st.sub(Nr,gr,Et),st.sub(Rr,Ut,Et);var t=Nr.len(),a=Rr.len();if(!(t<.001||a<.001)){Nr.scale(1/t),Rr.scale(1/a);var n=Nr.dot(Rr),i=Math.cos(e);if(i1&&st.copy(be,Ut),be.toArray(r[1])}}}}function lV(r,e,t){if(t<=180&&t>0){t=t/180*Math.PI,gr.fromArray(r[0]),Et.fromArray(r[1]),Ut.fromArray(r[2]),st.sub(Nr,Et,gr),st.sub(Rr,Ut,Et);var a=Nr.len(),n=Rr.len();if(!(a<.001||n<.001)){Nr.scale(1/a),Rr.scale(1/n);var i=Nr.dot(e),o=Math.cos(t);if(i=l)st.copy(be,Ut);else{be.scaleAndAdd(Rr,s/Math.tan(Math.PI/2-f));var h=Ut.x!==Et.x?(be.x-Et.x)/(Ut.x-Et.x):(be.y-Et.y)/(Ut.y-Et.y);if(isNaN(h))return;h<0?st.copy(be,Et):h>1&&st.copy(be,Ut)}be.toArray(r[1])}}}}function $_(r,e,t,a){var n=t==="normal",i=n?r:r.ensureState(t);i.ignore=e;var o=a.get("smooth");o&&o===!0&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var s=a.getModel("lineStyle").getLineStyle();n?r.useStyle(s):i.style=s}function uV(r,e){var t=e.smooth,a=e.points;if(a)if(r.moveTo(a[0][0],a[0][1]),t>0&&a.length>=3){var n=La(a[0],a[1]),i=La(a[1],a[2]);if(!n||!i){r.lineTo(a[1][0],a[1][1]),r.lineTo(a[2][0],a[2][1]);return}var o=Math.min(n,i)*t,s=ku([],a[1],a[0],o/n),l=ku([],a[1],a[2],o/i),u=ku([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],a[2][0],a[2][1])}else for(var f=1;f0&&i&&w(-f/o,0,o);var d=r[0],g=r[o-1],y,m;_(),y<0&&x(-y,.8),m<0&&x(m,.8),_(),S(y,m,1),S(m,y,-1),_(),y<0&&b(-y),m<0&&b(m);function _(){y=d.rect[e]-a,m=n-g.rect[e]-g.rect[t]}function S(T,C,M){if(T<0){var D=Math.min(C,-T);if(D>0){w(D*M,0,o);var I=D+T;I<0&&x(-I*M,1)}else x(-T*M,1)}}function w(T,C,M){T!==0&&(u=!0);for(var D=C;D0)for(var I=0;I0;I--){var E=M[I-1]*R;w(-E,I,o)}}}function b(T){var C=T<0?-1:1;T=Math.abs(T);for(var M=Math.ceil(T/(o-1)),D=0;D0?w(M,0,D+1):w(-M,o-D-1,o),T-=M,T<=0)return}return u}function fV(r,e,t,a){return uM(r,"x","width",e,t,a)}function fM(r,e,t,a){return uM(r,"y","height",e,t,a)}function hM(r){var e=[];r.sort(function(d,g){return g.priority-d.priority});var t=new ft(0,0,0,0);function a(d){if(!d.ignore){var g=d.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}d.ignore=!0}for(var n=0;n=0&&a.attr(i.oldLayoutSelect),vt(v,"emphasis")>=0&&a.attr(i.oldLayoutEmphasis)),Mt(a,u,t,l)}else if(a.attr(u),!po(a).valueAnimation){var h=lt(a.style.opacity,1);a.style.opacity=0,Bt(a,{style:{opacity:h}},t,l)}if(i.oldLayout=u,a.states.select){var c=i.oldLayoutSelect={};lu(c,u,uu),lu(c,a.states.select,uu)}if(a.states.emphasis){var p=i.oldLayoutEmphasis={};lu(p,u,uu),lu(p,a.states.emphasis,uu)}QT(a,l,f,t,t)}if(n&&!n.ignore&&!n.invisible){var i=cV(n),o=i.oldLayout,d={points:n.shape.points};o?(n.attr({shape:o}),Mt(n,{shape:d},t)):(n.setShape(d),n.style.strokePercent=0,Bt(n,{style:{strokePercent:1}},t)),i.oldLayout=d}},r}();const dV=pV;var Zv=xt();function gV(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,a){var n=Zv(t).labelManager;n||(n=Zv(t).labelManager=new dV),n.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(e,t,a){var n=Zv(t).labelManager;a.updatedSeries.forEach(function(i){n.addLabelsOfSeries(t.getViewOfSeriesModel(i))}),n.updateLayoutConfig(t),n.layout(t),n.processLabelsOverall()})}var Xv=Math.sin,qv=Math.cos,vM=Math.PI,Tn=Math.PI*2,yV=180/vM,mV=function(){function r(){}return r.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},r.prototype.moveTo=function(e,t){this._add("M",e,t)},r.prototype.lineTo=function(e,t){this._add("L",e,t)},r.prototype.bezierCurveTo=function(e,t,a,n,i,o){this._add("C",e,t,a,n,i,o)},r.prototype.quadraticCurveTo=function(e,t,a,n){this._add("Q",e,t,a,n)},r.prototype.arc=function(e,t,a,n,i,o){this.ellipse(e,t,a,a,0,n,i,o)},r.prototype.ellipse=function(e,t,a,n,i,o,s,l){var u=s-o,f=!l,h=Math.abs(u),v=Oa(h-Tn)||(f?u>=Tn:-u>=Tn),c=u>0?u%Tn:u%Tn+Tn,p=!1;v?p=!0:Oa(h)?p=!1:p=c>=vM==!!f;var d=e+a*qv(o),g=t+n*Xv(o);this._start&&this._add("M",d,g);var y=Math.round(i*yV);if(v){var m=1/this._p,_=(f?1:-1)*(Tn-m);this._add("A",a,n,y,1,+f,e+a*qv(o+_),t+n*Xv(o+_)),m>.01&&this._add("A",a,n,y,0,+f,d,g)}else{var S=e+a*qv(s),w=t+n*Xv(s);this._add("A",a,n,y,+p,+f,S,w)}},r.prototype.rect=function(e,t,a,n){this._add("M",e,t),this._add("l",a,0),this._add("l",0,n),this._add("l",-a,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(e,t,a,n,i,o,s,l,u){for(var f=[],h=this._p,v=1;v"}function MV(r){return""}function ey(r,e){e=e||{};var t=e.newline?` +`:"";function a(n){var i=n.children,o=n.tag,s=n.attrs,l=n.text;return AV(o,s)+(o!=="style"?Le(l):l||"")+(i?""+t+G(i,function(u){return a(u)}).join(t)+t:"")+MV(o)}return a(r)}function DV(r,e,t){t=t||{};var a=t.newline?` +`:"",n=" {"+a,i=a+"}",o=G(mt(r),function(l){return l+n+G(mt(r[l]),function(u){return u+":"+r[l][u]+";"}).join(a)+i}).join(a),s=G(mt(e),function(l){return"@keyframes "+l+n+G(mt(e[l]),function(u){return u+n+G(mt(e[l][u]),function(f){var h=e[l][u][f];return f==="d"&&(h='path("'+h+'")'),f+":"+h+";"}).join(a)+i}).join(a)+i}).join(a);return!o&&!s?"":[""].join(a)}function sd(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Y_(r,e,t,a){return te("svg","root",{width:r,height:e,xmlns:pM,"xmlns:xlink":dM,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+r+" "+e:!1},t)}var Z_={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"},Dn="transform-origin";function IV(r,e,t){var a=B({},r.shape);B(a,e),r.buildPath(t,a);var n=new cM;return n.reset(Lb(r)),t.rebuildPath(n,1),n.generateStr(),n.getStr()}function LV(r,e){var t=e.originX,a=e.originY;(t||a)&&(r[Dn]=t+"px "+a+"px")}var PV={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function yM(r,e){var t=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[t]=r,t}function RV(r,e,t){var a=r.shape.paths,n={},i,o;if(A(a,function(l){var u=sd(t.zrId);u.animation=!0,Mh(l,{},u,!0);var f=u.cssAnims,h=u.cssNodes,v=mt(f),c=v.length;if(c){o=v[c-1];var p=f[o];for(var d in p){var g=p[d];n[d]=n[d]||{d:""},n[d].d+=g.d||""}for(var y in h){var m=h[y].animation;m.indexOf(o)>=0&&(i=m)}}}),!!i){e.d=!1;var s=yM(n,t);return i.replace(o,s)}}function X_(r){return $(r)?Z_[r]?"cubic-bezier("+Z_[r]+")":ag(r)?r:"":""}function Mh(r,e,t,a){var n=r.animators,i=n.length,o=[];if(r instanceof Sg){var s=RV(r,e,t);if(s)o.push(s);else if(!i)return}else if(!i)return;for(var l={},u=0;u0}).length){var pt=yM(b,t);return pt+" "+m[0]+" both"}}for(var g in l){var s=d(l[g]);s&&o.push(s)}if(o.length){var y=t.zrId+"-cls-"+t.cssClassIdx++;t.cssNodes["."+y]={animation:o.join(",")},e.class=y}}var Zs=Math.round;function mM(r){return r&&$(r.src)}function _M(r){return r&&K(r.toDataURL)}function ry(r,e,t,a){bV(function(n,i){var o=n==="fill"||n==="stroke";o&&Ib(i)?xM(e,r,n,a):o&&ng(i)?wM(t,r,n,a):r[n]=i},e,t,!1),zV(t,r,a)}function q_(r){return Oa(r[0]-1)&&Oa(r[1])&&Oa(r[2])&&Oa(r[3]-1)}function EV(r){return Oa(r[4])&&Oa(r[5])}function ay(r,e,t){if(e&&!(EV(e)&&q_(e))){var a=t?10:1e4;r.transform=q_(e)?"translate("+Zs(e[4]*a)/a+" "+Zs(e[5]*a)/a+")":IL(e)}}function K_(r,e,t){for(var a=r.points,n=[],i=0;i"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";Ce(v,g),Ce(c,g)}else if(v==null||c==null){var y=function(M,D){if(M){var I=M.elm,L=v||D.width,P=c||D.height;M.tag==="pattern"&&(u?(P=1,L/=i.width):f&&(L=1,P/=i.height)),M.attrs.width=L,M.attrs.height=P,I&&(I.setAttribute("width",L),I.setAttribute("height",P))}},m=hg(p,null,r,function(M){l||y(x,M),y(h,M)});m&&m.width&&m.height&&(v=v||m.width,c=c||m.height)}h=te("image","img",{href:p,width:v,height:c}),o.width=v,o.height=c}else n.svgElement&&(h=et(n.svgElement),o.width=n.svgWidth,o.height=n.svgHeight);if(h){var _,S;l?_=S=1:u?(S=1,_=o.width/i.width):f?(_=1,S=o.height/i.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),S!=null&&!isNaN(S)&&(o.height=S);var w=Pb(n);w&&(o.patternTransform=w);var x=te("pattern","",o,[h]),b=ey(x),T=a.patternCache,C=T[b];C||(C=a.zrId+"-p"+a.patternIdx++,T[b]=C,o.id=C,x=a.defs[C]=te("pattern",C,o,[h])),e[t]=th(C)}}function GV(r,e,t){var a=t.clipPathCache,n=t.defs,i=a[r.id];if(!i){i=t.zrId+"-c"+t.clipPathIdx++;var o={id:i};a[r.id]=i,n[i]=te("clipPath",i,o,[SM(r,t)])}e["clip-path"]=th(i)}function j_(r){return document.createTextNode(r)}function On(r,e,t){r.insertBefore(e,t)}function t1(r,e){r.removeChild(e)}function e1(r,e){r.appendChild(e)}function bM(r){return r.parentNode}function TM(r){return r.nextSibling}function Kv(r,e){r.textContent=e}var r1=58,FV=120,HV=te("","");function ld(r){return r===void 0}function Lr(r){return r!==void 0}function WV(r,e,t){for(var a={},n=e;n<=t;++n){var i=r[n].key;i!==void 0&&(a[i]=n)}return a}function ls(r,e){var t=r.key===e.key,a=r.tag===e.tag;return a&&t}function Xs(r){var e,t=r.children,a=r.tag;if(Lr(a)){var n=r.elm=gM(a);if(ny(HV,r),z(t))for(e=0;ei?(p=t[l+1]==null?null:t[l+1].elm,CM(r,p,t,n,l)):If(r,e,a,i))}function Gi(r,e){var t=e.elm=r.elm,a=r.children,n=e.children;r!==e&&(ny(r,e),ld(e.text)?Lr(a)&&Lr(n)?a!==n&&$V(t,a,n):Lr(n)?(Lr(r.text)&&Kv(t,""),CM(t,null,n,0,n.length-1)):Lr(a)?If(t,a,0,a.length-1):Lr(r.text)&&Kv(t,""):r.text!==e.text&&(Lr(a)&&If(t,a,0,a.length-1),Kv(t,e.text)))}function UV(r,e){if(ls(r,e))Gi(r,e);else{var t=r.elm,a=bM(t);Xs(e),a!==null&&(On(a,e.elm,TM(t)),If(a,[r],0,0))}return e}var YV=0,ZV=function(){function r(e,t,a){if(this.type="svg",this.refreshHover=a1(),this.configLayer=a1(),this.storage=t,this._opts=a=B({},a),this.root=e,this._id="zr"+YV++,this._oldVNode=Y_(a.width,a.height),e&&!a.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=gM("svg");ny(null,this._oldVNode),n.appendChild(i),e.appendChild(n)}this.resize(a.width,a.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",UV(this._oldVNode,e),this._oldVNode=e}},r.prototype.renderOneToVNode=function(e){return J_(e,sd(this._id))},r.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),a=this._width,n=this._height,i=sd(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress;var o=[],s=this._bgVNode=XV(a,n,this._backgroundColor,i);s&&o.push(s);var l=e.compress?null:this._mainVNode=te("g","main",{},[]);this._paintList(t,i,l?l.children:o),l&&o.push(l);var u=G(mt(i.defs),function(v){return i.defs[v]});if(u.length&&o.push(te("defs","defs",{},u)),e.animation){var f=DV(i.cssNodes,i.cssAnims,{newline:!0});if(f){var h=te("style","stl",{},[],f);o.push(h)}}return Y_(a,n,o,e.useViewBox)},r.prototype.renderToString=function(e){return e=e||{},ey(this.renderToVNode({animation:lt(e.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:lt(e.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(e){this._backgroundColor=e},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(e,t,a){for(var n=e.length,i=[],o=0,s,l,u=0,f=0;f=0&&!(v&&l&&v[d]===l[d]);d--);for(var g=p-1;g>d;g--)o--,s=i[o-1];for(var y=d+1;y=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&y.restore()};if(m)if(m.length===0)T=g.__endIndex;else for(var M=c.dpr,D=0;D0&&e>n[0]){for(l=0;le);l++);s=a[n[l]]}if(n.splice(l+1,0,e),a[e]=t,!t.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(t.dom,u.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.__painter=this}},r.prototype.eachLayer=function(e,t){for(var a=this._zlevelList,n=0;n0?fu:0),this._needsManuallyCompositing),f.__builtin__||Kd("ZLevel "+u+" has been used by unkown layer "+f.id),f!==i&&(f.__used=!0,f.__startIndex!==l&&(f.__dirty=!0),f.__startIndex=l,f.incremental?f.__drawIndex=-1:f.__drawIndex=l,t(l),i=f),n.__dirty&ze&&!n.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=l))}t(l),this.eachBuiltinLayer(function(h,v){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(e){e.clear()},r.prototype.setBackgroundColor=function(e){this._backgroundColor=e,A(this._layers,function(t){t.setUnpainted()})},r.prototype.configLayer=function(e,t){if(t){var a=this._layerConfig;a[e]?ut(a[e],t,!0):a[e]=t;for(var n=0;n-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),a},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(zt);const iz=nz;function ro(r,e){var t=r.mapDimensionsAll("defaultedLabel"),a=t.length;if(a===1){var n=ji(r,e,t[0]);return n!=null?n+"":null}else if(a){for(var i=[],o=0;o=0&&a.push(e[i])}return a.join(" ")}var oz=function(r){k(e,r);function e(t,a,n,i){var o=r.call(this)||this;return o.updateData(t,a,n,i),o}return e.prototype._createSymbol=function(t,a,n,i,o){this.removeAll();var s=qt(t,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=sz,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){ua(this.childAt(0))},e.prototype.downplay=function(){fa(this.childAt(0))},e.prototype.setZ=function(t,a){var n=this.childAt(0);n.zlevel=t,n.z=a},e.prototype.setDraggable=function(t,a){var n=this.childAt(0);n.draggable=t,n.cursor=!a&&t?"move":n.cursor},e.prototype.updateData=function(t,a,n,i){this.silent=!1;var o=t.getItemVisual(a,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,a),u=o!==this._symbolType,f=i&&i.disableAnimation;if(u){var h=t.getItemVisual(a,"symbolKeepAspect");this._createSymbol(o,t,a,l,h)}else{var v=this.childAt(0);v.silent=!1;var c={scaleX:l[0]/2,scaleY:l[1]/2};f?v.attr(c):Mt(v,c,s,a),Sr(v)}if(this._updateCommon(t,a,l,n,i),u){var v=this.childAt(0);if(!f){var c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:v.style.opacity}};v.scaleX=v.scaleY=0,v.style.opacity=0,Bt(v,c,s,a)}}f&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,a,n,i,o){var s=this.childAt(0),l=t.hostModel,u,f,h,v,c,p,d,g,y;if(i&&(u=i.emphasisItemStyle,f=i.blurItemStyle,h=i.selectItemStyle,v=i.focus,c=i.blurScope,d=i.labelStatesModels,g=i.hoverScale,y=i.cursorStyle,p=i.emphasisDisabled),!i||t.hasItemOption){var m=i&&i.itemModel?i.itemModel:t.getItemModel(a),_=m.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),h=m.getModel(["select","itemStyle"]).getItemStyle(),f=m.getModel(["blur","itemStyle"]).getItemStyle(),v=_.get("focus"),c=_.get("blurScope"),p=_.get("disabled"),d=ee(m),g=_.getShallow("scale"),y=m.getShallow("cursor")}var S=t.getItemVisual(a,"symbolRotate");s.attr("rotation",(S||0)*Math.PI/180||0);var w=bo(t.getItemVisual(a,"symbolOffset"),n);w&&(s.x=w[0],s.y=w[1]),y&&s.attr("cursor",y);var x=t.getItemVisual(a,"style"),b=x.fill;if(s instanceof he){var T=s.style;s.useStyle(B({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},x))}else s.__isEmptyBrush?s.useStyle(B({},x)):s.useStyle(x),s.style.decal=null,s.setColor(b,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var C=t.getItemVisual(a,"liftZ"),M=this._z2;C!=null?M==null&&(this._z2=s.z2,s.z2+=C):M!=null&&(s.z2=M,this._z2=null);var D=o&&o.useNameLabel;fe(s,d,{labelFetcher:l,labelDataIndex:a,defaultText:I,inheritColor:b,defaultOpacity:x.opacity});function I(R){return D?t.getName(R):ro(t,R)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=s.ensureState("emphasis");L.style=u,s.ensureState("select").style=h,s.ensureState("blur").style=f;var P=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;L.scaleX=this._sizeX*P,L.scaleY=this._sizeY*P,this.setSymbolScale(1),Ft(this,v,c,p)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,a,n){var i=this.childAt(0),o=nt(this).dataIndex,s=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&Ya(l,{style:{opacity:0}},a,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Ya(i,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:o,cb:t,removeOpt:s})},e.getSymbolSize=function(t,a){return pl(t.getItemVisual(a,"symbolSize"))},e}(at);function sz(r,e){this.parent.drift(r,e)}const ml=oz;function Jv(r,e,t,a){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(a.isIgnore&&a.isIgnore(t))&&!(a.clipShape&&!a.clipShape.contain(e[0],e[1]))&&r.getItemVisual(t,"symbol")!=="none"}function o1(r){return r!=null&&!tt(r)&&(r={isIgnore:r}),r||{}}function s1(r){var e=r.hostModel,t=e.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:ee(e),cursorStyle:e.get("cursor")}}var lz=function(){function r(e){this.group=new at,this._SymbolCtor=e||ml}return r.prototype.updateData=function(e,t){this._progressiveEls=null,t=o1(t);var a=this.group,n=e.hostModel,i=this._data,o=this._SymbolCtor,s=t.disableAnimation,l=s1(e),u={disableAnimation:s},f=t.getSymbolPoint||function(h){return e.getItemLayout(h)};i||a.removeAll(),e.diff(i).add(function(h){var v=f(h);if(Jv(e,v,h,t)){var c=new o(e,h,l,u);c.setPosition(v),e.setItemGraphicEl(h,c),a.add(c)}}).update(function(h,v){var c=i.getItemGraphicEl(v),p=f(h);if(!Jv(e,p,h,t)){a.remove(c);return}var d=e.getItemVisual(h,"symbol")||"circle",g=c&&c.getSymbolType&&c.getSymbolType();if(!c||g&&g!==d)a.remove(c),c=new o(e,h,l,u),c.setPosition(p);else{c.updateData(e,h,l,u);var y={x:p[0],y:p[1]};s?c.attr(y):Mt(c,y,n)}a.add(c),e.setItemGraphicEl(h,c)}).remove(function(h){var v=i.getItemGraphicEl(h);v&&v.fadeOut(function(){a.remove(v)},n)}).execute(),this._getSymbolPoint=f,this._data=e},r.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(a,n){var i=e._getSymbolPoint(n);a.setPosition(i),a.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=s1(e),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(e,t,a){this._progressiveEls=[],a=o1(a);function n(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i0?t=a[0]:a[1]<0&&(t=a[1]),t}function DM(r,e,t,a){var n=NaN;r.stacked&&(n=t.get(t.getCalculationInfo("stackedOverDimension"),a)),isNaN(n)&&(n=r.valueStart);var i=r.baseDataOffset,o=[];return o[i]=t.get(r.baseDim,a),o[1-i]=n,e.dataToPoint(o)}function fz(r,e){var t=[];return e.diff(r).add(function(a){t.push({cmd:"+",idx:a})}).update(function(a,n){t.push({cmd:"=",idx:n,idx1:a})}).remove(function(a){t.push({cmd:"-",idx:a})}).execute(),t}function hz(r,e,t,a,n,i,o,s){for(var l=fz(r,e),u=[],f=[],h=[],v=[],c=[],p=[],d=[],g=MM(n,e,o),y=r.getLayout("points")||[],m=e.getLayout("points")||[],_=0;_=n||d<0)break;if(jn(y,m)){if(l){d+=i;continue}break}if(d===t)r[i>0?"moveTo":"lineTo"](y,m),h=y,v=m;else{var _=y-u,S=m-f;if(_*_+S*S<.5){d+=i;continue}if(o>0){for(var w=d+i,x=e[w*2],b=e[w*2+1];x===y&&b===m&&g=a||jn(x,b))c=y,p=m;else{M=x-u,D=b-f;var P=y-u,R=x-y,E=m-f,N=b-m,O=void 0,V=void 0;if(s==="x"){O=Math.abs(P),V=Math.abs(R);var F=M>0?1:-1;c=y-F*O*o,p=m,I=y+F*V*o,L=m}else if(s==="y"){O=Math.abs(E),V=Math.abs(N);var W=D>0?1:-1;c=y,p=m-W*O*o,I=y,L=m+W*V*o}else O=Math.sqrt(P*P+E*E),V=Math.sqrt(R*R+N*N),C=V/(V+O),c=y-M*o*(1-C),p=m-D*o*(1-C),I=y+M*o*C,L=m+D*o*C,I=ba(I,Ta(x,y)),L=ba(L,Ta(b,m)),I=Ta(I,ba(x,y)),L=Ta(L,ba(b,m)),M=I-y,D=L-m,c=y-M*O/V,p=m-D*O/V,c=ba(c,Ta(u,y)),p=ba(p,Ta(f,m)),c=Ta(c,ba(u,y)),p=Ta(p,ba(f,m)),M=y-c,D=m-p,I=y+M*V/O,L=m+D*V/O}r.bezierCurveTo(h,v,c,p,y,m),h=I,v=L}else r.lineTo(y,m)}u=y,f=m,d+=i}return g}var IM=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),vz=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="ec-polyline",a}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new IM},e.prototype.buildPath=function(t,a){var n=a.points,i=0,o=n.length/2;if(a.connectNulls){for(;o>0&&jn(n[o*2-2],n[o*2-1]);o--);for(;i=0){var S=u?(p-l)*_+l:(c-s)*_+s;return u?[t,S]:[S,t]}s=c,l=p;break;case o.C:c=i[h++],p=i[h++],d=i[h++],g=i[h++],y=i[h++],m=i[h++];var w=u?rf(s,c,d,y,t,f):rf(l,p,g,m,t,f);if(w>0)for(var x=0;x=0){var S=u?jt(l,p,g,m,b):jt(s,c,d,y,b);return u?[t,S]:[S,t]}}s=y,l=m;break}}},e}(dt),cz=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e}(IM),LM=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="ec-polygon",a}return e.prototype.getDefaultShape=function(){return new cz},e.prototype.buildPath=function(t,a){var n=a.points,i=a.stackedOnPoints,o=0,s=n.length/2,l=a.smoothMonotone;if(a.connectNulls){for(;s>0&&jn(n[s*2-2],n[s*2-1]);s--);for(;oe){i?t.push(o(i,l,e)):n&&t.push(o(n,l,0),o(n,l,e));break}else n&&(t.push(o(n,l,0)),n=null),t.push(l),i=l}return t}function gz(r,e,t){var a=r.getVisual("visualMeta");if(!(!a||!a.length||!r.count())&&e.type==="cartesian2d"){for(var n,i,o=a.length-1;o>=0;o--){var s=r.getDimensionInfo(a[o].dimension);if(n=s&&s.coordDim,n==="x"||n==="y"){i=a[o];break}}if(i){var l=e.getAxis(n),u=G(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,h=i.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),h.reverse());var v=dz(u,n==="x"?t.getWidth():t.getHeight()),c=v.length;if(!c&&f)return u[0].coord<0?h[1]?h[1]:u[f-1].color:h[0]?h[0]:u[0].color;var p=10,d=v[0].coord-p,g=v[c-1].coord+p,y=g-d;if(y<.001)return"transparent";A(v,function(_){_.offset=(_.coord-d)/y}),v.push({offset:c?v[c-1].offset:.5,color:h[1]||"transparent"}),v.unshift({offset:c?v[0].offset:.5,color:h[0]||"transparent"});var m=new ll(0,0,0,0,v,!0);return m[n]=d,m[n+"2"]=g,m}}}function yz(r,e,t){var a=r.get("showAllSymbol"),n=a==="auto";if(!(a&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&mz(i,e))){var o=e.mapDimension(i.dim),s={};return A(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function mz(r,e){var t=r.getExtent(),a=Math.abs(t[1]-t[0])/r.scale.count();isNaN(a)&&(a=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),o=0;oa)return!1;return!0}function _z(r,e){return isNaN(r)||isNaN(e)}function Sz(r){for(var e=r.length/2;e>0&&_z(r[e*2-2],r[e*2-1]);e--);return e-1}function v1(r,e){return[r[e*2],r[e*2+1]]}function xz(r,e,t){for(var a=r.length/2,n=t==="x"?0:1,i,o,s=0,l=-1,u=0;u=e||i>=e&&o<=e){l=u;break}s=u,i=o}return{range:[s,l],t:(e-i)/(o-i)}}function EM(r){if(r.get(["endLabel","show"]))return!0;for(var e=0;e0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var F=d.getState("emphasis").style;F.lineWidth=+d.style.lineWidth+1}nt(d).seriesIndex=t.seriesIndex,Ft(d,N,O,V);var W=h1(t.get("smooth")),Z=t.get("smoothMonotone");if(d.setShape({smooth:W,smoothMonotone:Z,connectNulls:T}),g){var Q=l.getCalculationInfo("stackedOnSeries"),j=0;g.useStyle(J(f.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),Q&&(j=h1(Q.get("smooth"))),g.setShape({smooth:W,stackedOnSmooth:j,smoothMonotone:Z,connectNulls:T}),ue(g,t,"areaStyle"),nt(g).seriesIndex=t.seriesIndex,Ft(g,N,O,V)}var gt=function(At){i._changePolyState(At)};l.eachItemGraphicEl(function(At){At&&(At.onHoverStateChange=gt)}),this._polyline.onHoverStateChange=gt,this._data=l,this._coordSys=o,this._stackedOnPoints=x,this._points=h,this._step=D,this._valueOrigin=S,t.get("triggerLineEvent")&&(this.packEventData(t,d),g&&this.packEventData(t,g))},e.prototype.packEventData=function(t,a){nt(a).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,a,n,i){var o=t.getData(),s=ai(o,i);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var f=l[s*2],h=l[s*2+1];if(isNaN(f)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(f,h))return;var v=t.get("zlevel")||0,c=t.get("z")||0;u=new ml(o,s),u.x=f,u.y=h,u.setZ(v,c);var p=u.getSymbolPath().getTextContent();p&&(p.zlevel=v,p.z=c,p.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else Nt.prototype.highlight.call(this,t,a,n,i)},e.prototype.downplay=function(t,a,n,i){var o=t.getData(),s=ai(o,i);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else Nt.prototype.downplay.call(this,t,a,n,i)},e.prototype._changePolyState=function(t){var a=this._polygon;hf(this._polyline,t),a&&hf(a,t)},e.prototype._newPolyline=function(t){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new vz({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},e.prototype._newPolygon=function(t,a){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new LM({shape:{points:t,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,a,n){var i,o,s=a.getBaseAxis(),l=s.inverse;a.type==="cartesian2d"?(i=s.isHorizontal(),o=!1):a.type==="polar"&&(i=s.dim==="angle",o=!0);var u=t.hostModel,f=u.get("animationDuration");K(f)&&(f=f(null));var h=u.get("animationDelay")||0,v=K(h)?h(null):h;t.eachItemGraphicEl(function(c,p){var d=c;if(d){var g=[c.x,c.y],y=void 0,m=void 0,_=void 0;if(n)if(o){var S=n,w=a.pointToCoord(g);i?(y=S.startAngle,m=S.endAngle,_=-w[1]/180*Math.PI):(y=S.r0,m=S.r,_=w[0])}else{var x=n;i?(y=x.x,m=x.x+x.width,_=c.x):(y=x.y+x.height,m=x.y,_=c.y)}var b=m===y?0:(_-y)/(m-y);l&&(b=1-b);var T=K(h)?h(p):f*b+v,C=d.getSymbolPath(),M=C.getTextContent();d.attr({scaleX:0,scaleY:0}),d.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),M&&M.animateFrom({style:{opacity:0}},{duration:300,delay:T}),C.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,a,n){var i=t.getModel("endLabel");if(EM(t)){var o=t.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Tt({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=Sz(l);f>=0&&(fe(s,ee(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:f,defaultText:function(h,v,c){return c!=null?AM(o,c):ro(o,h)},enableTextSetter:!0},wz(i,a)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,a,n,i,o,s,l){var u=this._endLabel,f=this._polyline;if(u){t<1&&i.originalX==null&&(i.originalX=u.x,i.originalY=u.y);var h=n.getLayout("points"),v=n.hostModel,c=v.get("connectNulls"),p=s.get("precision"),d=s.get("distance")||0,g=l.getBaseAxis(),y=g.isHorizontal(),m=g.inverse,_=a.shape,S=m?y?_.x:_.y+_.height:y?_.x+_.width:_.y,w=(y?d:0)*(m?-1:1),x=(y?0:-d)*(m?-1:1),b=y?"x":"y",T=xz(h,S,b),C=T.range,M=C[1]-C[0],D=void 0;if(M>=1){if(M>1&&!c){var I=v1(h,C[0]);u.attr({x:I[0]+w,y:I[1]+x}),o&&(D=v.getRawValue(C[0]))}else{var I=f.getPointOn(S,b);I&&u.attr({x:I[0]+w,y:I[1]+x});var L=v.getRawValue(C[0]),P=v.getRawValue(C[1]);o&&(D=Jb(n,p,L,P,T.t))}i.lastFrameIndex=C[0]}else{var R=t===1||i.lastFrameIndex>0?C[0]:0,I=v1(h,R);o&&(D=v.getRawValue(R)),u.attr({x:I[0]+w,y:I[1]+x})}o&&po(u).setLabelText(D)}},e.prototype._doUpdateAnimation=function(t,a,n,i,o,s,l){var u=this._polyline,f=this._polygon,h=t.hostModel,v=hz(this._data,t,this._stackedOnPoints,a,this._coordSys,n,this._valueOrigin),c=v.current,p=v.stackedOnCurrent,d=v.next,g=v.stackedOnNext;if(o&&(c=Ca(v.current,n,o,l),p=Ca(v.stackedOnCurrent,n,o,l),d=Ca(v.next,n,o,l),g=Ca(v.stackedOnNext,n,o,l)),f1(c,d)>3e3||f&&f1(p,g)>3e3){u.stopAnimation(),u.setShape({points:d}),f&&(f.stopAnimation(),f.setShape({points:d,stackedOnPoints:g}));return}u.shape.__points=v.current,u.shape.points=c;var y={shape:{points:d}};v.current!==c&&(y.shape.__points=v.next),u.stopAnimation(),Mt(u,y,h),f&&(f.setShape({points:c,stackedOnPoints:p}),f.stopAnimation(),Mt(f,{shape:{stackedOnPoints:g}},h),u.shape.points!==f.shape.points&&(f.shape.points=u.shape.points));for(var m=[],_=v.status,S=0;S<_.length;S++){var w=_[S].cmd;if(w==="="){var x=t.getItemGraphicEl(_[S].idx1);x&&m.push({el:x,ptIdx:S})}}u.animators&&u.animators.length&&u.animators[0].during(function(){f&&f.dirtyShape();for(var b=u.shape.__points,T=0;Te&&(e=r[t]);return isFinite(e)?e:NaN},min:function(r){for(var e=1/0,t=0;t10&&o.type==="cartesian2d"&&i){var l=o.getBaseAxis(),u=o.getOtherAxis(l),f=l.getExtent(),h=a.getDevicePixelRatio(),v=Math.abs(f[1]-f[0])*(h||1),c=Math.round(s/v);if(isFinite(c)&&c>1){i==="lttb"&&e.setData(n.lttbDownSample(n.mapDimension(u.dim),1/c));var p=void 0;$(i)?p=Cz[i]:K(i)&&(p=i),p&&e.setData(n.downSample(n.mapDimension(u.dim),1/c,p,Az))}}}}}function Mz(r){r.registerChartView(Tz),r.registerSeriesModel(iz),r.registerLayout(Sl("line",!0)),r.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),a=e.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",a)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,kM("line"))}var OM=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,a){return da(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,a,n){var i=this.coordinateSystem;if(i&&i.clampData){var o=i.clampData(t),s=i.dataToPoint(o);if(n)A(i.getAxes(),function(v,c){if(v.type==="category"&&a!=null){var p=v.getTicksCoords(),d=o[c],g=a[c]==="x1"||a[c]==="y1";if(g&&(d+=1),p.length<2)return;if(p.length===2){s[c]=v.toGlobalCoord(v.getExtent()[g?1:0]);return}for(var y=void 0,m=void 0,_=1,S=0;Sd){m=(w+y)/2;break}S===1&&(_=x-p[0].tickValue)}m==null&&(y?y&&(m=p[p.length-1].coord):m=p[0].coord),s[c]=v.toGlobalCoord(m)}});else{var l=this.getData(),u=l.getLayout("offset"),f=l.getLayout("size"),h=i.getBaseAxis().isHorizontal()?0:1;s[h]+=u+f/2}return s}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(zt);zt.registerClass(OM);const Lf=OM;var Dz=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(){return da(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>t&&(t=a),t},e.prototype.brushSelector=function(t,a,n){return n.rect(a.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=tn(Lf.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(Lf);const Iz=Dz;var Lz=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),Pz=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="sausage",a}return e.prototype.getDefaultShape=function(){return new Lz},e.prototype.buildPath=function(t,a){var n=a.cx,i=a.cy,o=Math.max(a.r0||0,0),s=Math.max(a.r,0),l=(s-o)*.5,u=o+l,f=a.startAngle,h=a.endAngle,v=a.clockwise,c=Math.PI*2,p=v?h-fMath.PI/2&&fs)return!0;s=h}return!1},e.prototype._isOrderDifferentInView=function(t,a){for(var n=a.scale,i=n.getExtent(),o=Math.max(0,i[0]),s=Math.min(i[1],n.getOrdinalMeta().categories.length-1);o<=s;++o)if(t.ordinalNumbers[o]!==n.getRawOrdinalNumber(o))return!0},e.prototype._updateSortWithinSameData=function(t,a,n,i){if(this._isOrderChangedWithinSameData(t,a,n)){var o=this._dataSort(t,n,a);this._isOrderDifferentInView(o,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:o}))}},e.prototype._dispatchInitSort=function(t,a,n){var i=a.baseAxis,o=this._dataSort(t,i,function(s){return t.get(t.mapDimension(a.otherAxis.dim),s)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},e.prototype.remove=function(t,a){this._clear(this._model),this._removeOnRenderedListener(a)},e.prototype.dispose=function(t,a){this._removeOnRenderedListener(a)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var a=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(i){Vs(i,t,nt(i).dataIndex)})):a.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Nt),c1={cartesian2d:function(r,e){var t=e.width<0?-1:1,a=e.height<0?-1:1;t<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height);var n=r.x+r.width,i=r.y+r.height,o=tc(e.x,r.x),s=ec(e.x+e.width,n),l=tc(e.y,r.y),u=ec(e.y+e.height,i),f=sn?s:o,e.y=h&&l>i?u:l,e.width=f?0:s-o,e.height=h?0:u-l,t<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height),f||h},polar:function(r,e){var t=e.r0<=e.r?1:-1;if(t<0){var a=e.r;e.r=e.r0,e.r0=a}var n=ec(e.r,r.r),i=tc(e.r0,r.r0);e.r=n,e.r0=i;var o=n-i<0;if(t<0){var a=e.r;e.r=e.r0,e.r0=a}return o}},p1={cartesian2d:function(r,e,t,a,n,i,o,s,l){var u=new St({shape:B({},a),z2:1});if(u.__dataIndex=t,u.name="item",i){var f=u.shape,h=n?"height":"width";f[h]=0}return u},polar:function(r,e,t,a,n,i,o,s,l){var u=!n&&l?Pf:ke,f=new u({shape:a,z2:1});f.name="item";var h=NM(n);if(f.calculateTextPosition=Rz(h,{isRoundCap:u===Pf}),i){var v=f.shape,c=n?"r":"endAngle",p={};v[c]=n?a.r0:a.startAngle,p[c]=a[c],(s?Mt:Bt)(f,{shape:p},i)}return f}};function Nz(r,e){var t=r.get("realtimeSort",!0),a=e.getBaseAxis();if(t&&a.type==="category"&&e.type==="cartesian2d")return{baseAxis:a,otherAxis:e.getOtherAxis(a)}}function d1(r,e,t,a,n,i,o,s){var l,u;i?(u={x:a.x,width:a.width},l={y:a.y,height:a.height}):(u={y:a.y,height:a.height},l={x:a.x,width:a.width}),s||(o?Mt:Bt)(t,{shape:l},e,n,null);var f=e?r.baseAxis.model:null;(o?Mt:Bt)(t,{shape:u},f,n)}function g1(r,e){for(var t=0;t0?1:-1,o=a.height>0?1:-1;return{x:a.x+i*n/2,y:a.y+o*n/2,width:a.width-i*n,height:a.height-o*n}},polar:function(r,e,t){var a=r.getItemLayout(e);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function zz(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function NM(r){return function(e){var t=e?"Arc":"Angle";return function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+t;default:return a}}}(r)}function m1(r,e,t,a,n,i,o,s){var l=e.getItemVisual(t,"style");if(s){if(!i.get("roundCap")){var f=r.shape,h=Un(a.getModel("itemStyle"),f,!0);B(f,h),r.setShape(f)}}else{var u=a.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var v=a.getShallow("cursor");v&&r.attr("cursor",v);var c=s?o?n.r>=n.r0?"endArc":"startArc":n.endAngle>=n.startAngle?"endAngle":"startAngle":o?n.height>=0?"bottom":"top":n.width>=0?"right":"left",p=ee(a);fe(r,p,{labelFetcher:i,labelDataIndex:t,defaultText:ro(i.getData(),t),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var d=r.getTextContent();if(s&&d){var g=a.get(["label","position"]);r.textConfig.inside=g==="middle"?!0:null,Ez(r,g==="outside"?c:g,NM(o),a.get(["label","rotate"]))}KT(d,p,i.getRawValue(t),function(m){return AM(e,m)});var y=a.getModel(["emphasis"]);Ft(r,y.get("focus"),y.get("blurScope"),y.get("disabled")),ue(r,a),zz(n)&&(r.style.fill="none",r.style.stroke="none",A(r.states,function(m){m.style&&(m.style.fill=m.style.stroke="none")}))}function Gz(r,e){var t=r.get(["itemStyle","borderColor"]);if(!t||t==="none")return 0;var a=r.get(["itemStyle","borderWidth"])||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),i=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(a,n,i)}var Fz=function(){function r(){}return r}(),_1=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="largeBar",a}return e.prototype.getDefaultShape=function(){return new Fz},e.prototype.buildPath=function(t,a){for(var n=a.points,i=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,f=0;f=0?t:null},30,!1);function Hz(r,e,t){for(var a=r.baseDimIdx,n=1-a,i=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,f=0,h=i.length/3;f=s[0]&&e<=s[0]+l[0]&&t>=s[1]&&t<=s[1]+l[1])return o[f]}return-1}function BM(r,e,t){if(ci(t,"cartesian2d")){var a=e,n=t.getArea();return{x:r?a.x:n.x,y:r?n.y:a.y,width:r?a.width:n.width,height:r?n.height:a.height}}else{var n=t.getArea(),i=e;return{cx:n.cx,cy:n.cy,r0:r?n.r0:i.r0,r:r?n.r:i.r,startAngle:r?i.startAngle:0,endAngle:r?i.endAngle:Math.PI*2}}}function Wz(r,e,t){var a=r.type==="polar"?ke:St;return new a({shape:BM(e,t,r),silent:!0,z2:0})}const $z=Oz;function Uz(r){r.registerChartView($z),r.registerSeriesModel(Iz),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,it(FA,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,HA("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,kM("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var a=e.componentType||"series";t.eachComponent({mainType:a,query:e},function(n){e.sortInfo&&n.axis.setCategorySortInfo(e.sortInfo)})})}var pu=Math.PI*2,w1=Math.PI/180;function VM(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function zM(r,e){var t=VM(r,e),a=r.get("center"),n=r.get("radius");z(n)||(n=[0,n]);var i=H(t.width,e.getWidth()),o=H(t.height,e.getHeight()),s=Math.min(i,o),l=H(n[0],s/2),u=H(n[1],s/2),f,h,v=r.coordinateSystem;if(v){var c=v.dataToPoint(a);f=c[0]||0,h=c[1]||0}else z(a)||(a=[a,a]),f=H(a[0],i)+t.x,h=H(a[1],o)+t.y;return{cx:f,cy:h,r0:l,r:u}}function Yz(r,e,t){e.eachSeriesByType(r,function(a){var n=a.getData(),i=n.mapDimension("value"),o=VM(a,t),s=zM(a,t),l=s.cx,u=s.cy,f=s.r,h=s.r0,v=-a.get("startAngle")*w1,c=a.get("minAngle")*w1,p=0;n.each(i,function(M){!isNaN(M)&&p++});var d=n.getSum(i),g=Math.PI/(d||p)*2,y=a.get("clockwise"),m=a.get("roseType"),_=a.get("stillShowZeroSum"),S=n.getDataExtent(i);S[0]=0;var w=pu,x=0,b=v,T=y?1:-1;if(n.setLayout({viewRect:o,r:f}),n.each(i,function(M,D){var I;if(isNaN(M)){n.setItemLayout(D,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:y,cx:l,cy:u,r0:h,r:m?NaN:f});return}m!=="area"?I=d===0&&_?g:M*g:I=pu/p,It?y:g,w=Math.abs(_.label.y-t);if(w>=S.maxY){var x=_.label.x-e-_.len2*n,b=a+_.len,T=Math.abs(x)r.unconstrainedWidth?null:c:null;a.setStyle("width",p)}var d=a.getBoundingRect();i.width=d.width;var g=(a.style.margin||0)+2.1;i.height=d.height+g,i.y-=(i.height-h)/2}}}function rc(r){return r.position==="center"}function qz(r){var e=r.getData(),t=[],a,n,i=!1,o=(r.get("minShowLabelAngle")||0)*Zz,s=e.getLayout("viewRect"),l=e.getLayout("r"),u=s.width,f=s.x,h=s.y,v=s.height;function c(x){x.ignore=!0}function p(x){if(!x.ignore)return!0;for(var b in x.states)if(x.states[b].ignore===!1)return!0;return!1}e.each(function(x){var b=e.getItemGraphicEl(x),T=b.shape,C=b.getTextContent(),M=b.getTextGuideLine(),D=e.getItemModel(x),I=D.getModel("label"),L=I.get("position")||D.get(["emphasis","label","position"]),P=I.get("distanceToLabelLine"),R=I.get("alignTo"),E=H(I.get("edgeDistance"),u),N=I.get("bleedMargin"),O=D.getModel("labelLine"),V=O.get("length");V=H(V,u);var F=O.get("length2");if(F=H(F,u),Math.abs(T.endAngle-T.startAngle)0?"right":"left":Z>0?"left":"right"}var Wt=Math.PI,Gt=0,ve=I.get("rotate");if(Ct(ve))Gt=ve*(Wt/180);else if(L==="center")Gt=0;else if(ve==="radial"||ve===!0){var Yr=Z<0?-W+Wt:-W;Gt=Yr}else if(ve==="tangential"&&L!=="outside"&&L!=="outer"){var Me=Math.atan2(Z,Q);Me<0&&(Me=Wt*2+Me);var Al=Q>0;Al&&(Me=Wt+Me),Gt=Me-Wt}if(i=!!Gt,C.x=j,C.y=gt,C.rotation=Gt,C.setStyle({verticalAlign:"middle"}),rt){C.setStyle({align:pt});var Nh=C.states.select;Nh&&(Nh.x+=C.x,Nh.y+=C.y)}else{var ya=C.getBoundingRect().clone();ya.applyTransform(C.getComputedTransform());var rm=(C.style.margin||0)+2.1;ya.y-=rm/2,ya.height+=rm,t.push({label:C,labelLine:M,position:L,len:V,len2:F,minTurnAngle:O.get("minTurnAngle"),maxSurfaceAngle:O.get("maxSurfaceAngle"),surfaceNormal:new st(Z,Q),linePoints:At,textAlign:pt,labelDistance:P,labelAlignTo:R,edgeDistance:E,bleedMargin:N,rect:ya,unconstrainedWidth:ya.width,labelStyleWidth:C.style.width})}b.setTextConfig({inside:rt})}}),!i&&r.get("avoidLabelOverlap")&&Xz(t,a,n,l,u,v,f,h);for(var d=0;d0){for(var f=o.getItemLayout(0),h=1;isNaN(f&&f.startAngle)&&h=i.r0}},e.type="pie",e}(Nt);const Jz=Qz;function To(r,e,t){e=z(e)&&{coordDimensions:e}||B({encodeDefine:r.getEncode()},e);var a=r.getSource(),n=dl(a,e).dimensions,i=new Te(n,r);return i.initData(a,t),i}var jz=function(){function r(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return r.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},r.prototype.containName=function(e){var t=this._getRawData();return t.indexOfName(e)>=0},r.prototype.indexOfName=function(e){var t=this._getDataWithEncodedVisual();return t.indexOfName(e)},r.prototype.getItemVisual=function(e,t){var a=this._getDataWithEncodedVisual();return a.getItemVisual(e,t)},r}();const wl=jz;var t5=xt(),e5=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new wl(U(this.getData,this),U(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return To(this,{coordDimensions:["value"],encodeDefaulter:it(Ig,this)})},e.prototype.getDataParams=function(t){var a=this.getData(),n=t5(a),i=n.seats;if(!i){var o=[];a.each(a.mapDimension("value"),function(l){o.push(l)}),i=n.seats=vP(o,a.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,t);return s.percent=i[t]||0,s.$vars.push("percent"),s},e.prototype._defaultLabelLine=function(t){ri(t,"labelLine",["show"]);var a=t.labelLine,n=t.emphasis.labelLine;a.show=a.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(zt);const r5=e5;function a5(r){return{seriesType:r,reset:function(e,t){var a=e.getData();a.filterSelf(function(n){var i=a.mapDimension("value"),o=a.get(i,n);return!(Ct(o)&&!isNaN(o)&&o<0)})}}}function n5(r){r.registerChartView(Jz),r.registerSeriesModel(r5),nA("pie",r.registerAction),r.registerLayout(it(Yz,"pie")),r.registerProcessor(xl("pie")),r.registerProcessor(a5("pie"))}var i5=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t,a){return da(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return t??(this.option.large?5e3:this.get("progressive"))},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return t??(this.option.large?1e4:this.get("progressiveThreshold"))},e.prototype.brushSelector=function(t,a,n){return n.point(a.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(zt);const o5=i5;var FM=4,s5=function(){function r(){}return r}(),l5=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a._off=0,a.hoverDataIdx=-1,a}return e.prototype.getDefaultShape=function(){return new s5},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,a){var n=a.points,i=a.size,o=this.symbolProxy,s=o.shape,l=t.getContext?t.getContext():t,u=l&&i[0]=0;u--){var f=u*2,h=i[f]-s/2,v=i[f+1]-l/2;if(t>=h&&a>=v&&t<=h+s&&a<=v+l)return u}return-1},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect();if(t=n[0],a=n[1],i.contain(t,a)){var o=this.hoverDataIdx=this.findDataIndex(t,a);return o>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var a=this.shape,n=a.points,i=a.size,o=i[0],s=i[1],l=1/0,u=1/0,f=-1/0,h=-1/0,v=0;v=0&&(u.dataIndex=h+(e.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}();const f5=u5;var h5=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this._updateSymbolDraw(i,t);o.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,a,n){var i=t.getData(),o=this._updateSymbolDraw(i,t);o.incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,a,n){this._symbolDraw.incrementalUpdate(t,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=t.end===a.getData().count()},e.prototype.updateTransform=function(t,a,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var o=Sl("").reset(t,a,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var a=t.coordinateSystem,n=a&&a.getArea&&a.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,a){var n=this._symbolDraw,i=a.pipelineContext,o=i.large;return(!n||o!==this._isLargeDraw)&&(n&&n.remove(),n=this._symbolDraw=o?new f5:new _l,this._isLargeDraw=o,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Nt);const v5=h5;var c5=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(wt);const p5=c5;var fd=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Xt).models[0]},e.type="cartesian2dAxis",e}(wt);Kt(fd,yl);var HM={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},d5=ut({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},HM),iy=ut({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}}},HM),g5=ut({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},iy),y5=J({logBase:10},iy);const WM={category:d5,value:iy,time:g5,log:y5};var m5={value:1,category:1,time:1,log:1};function ao(r,e,t,a){A(m5,function(n,i){var o=ut(ut({},WM[i],!0),a,!0),s=function(l){k(u,l);function u(){var f=l!==null&&l.apply(this,arguments)||this;return f.type=e+"Axis."+i,f}return u.prototype.mergeDefaultAndTheme=function(f,h){var v=Fs(this),c=v?mo(f):{},p=h.getTheme();ut(f,p.get(i+"Axis")),ut(f,this.getDefaultOption()),f.type=T1(f),v&&Za(f,c,v)},u.prototype.optionUpdated=function(){var f=this.option;f.type==="category"&&(this.__ordinalMeta=ad.createByAxisModel(this))},u.prototype.getCategories=function(f){var h=this.option;if(h.type==="category")return f?h.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=e+"Axis."+i,u.defaultOption=o,u}(t);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(e+"Axis",T1)}function T1(r){return r.type||(r.data?"category":"value")}var _5=function(){function r(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return r.prototype.getAxis=function(e){return this._axes[e]},r.prototype.getAxes=function(){return G(this._dimList,function(e){return this._axes[e]},this)},r.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),Lt(this.getAxes(),function(t){return t.scale.type===e})},r.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},r}();const S5=_5;var hd=["x","y"];function C1(r){return r.type==="interval"||r.type==="time"}var x5=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=hd,t}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,a=this.getAxis("y").scale;if(!(!C1(t)||!C1(a))){var n=t.getExtent(),i=a.getExtent(),o=this.dataToPoint([n[0],i[0]]),s=this.dataToPoint([n[1],i[1]]),l=n[1]-n[0],u=i[1]-i[0];if(!(!l||!u)){var f=(s[0]-o[0])/l,h=(s[1]-o[1])/u,v=o[0]-n[0]*f,c=o[1]-i[0]*h,p=this._transform=[f,0,0,h,v,c];this._invTransform=uo([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var a=this.getAxis("x"),n=this.getAxis("y");return a.contain(a.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,a){var n=this.dataToPoint(t),i=this.dataToPoint(a),o=this.getArea(),s=new ft(n[0],n[1],i[0]-n[0],i[1]-n[1]);return o.intersect(s)},e.prototype.dataToPoint=function(t,a,n){n=n||[];var i=t[0],o=t[1];if(this._transform&&i!=null&&isFinite(i)&&o!=null&&isFinite(o))return se(n,t,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return n[0]=s.toGlobalCoord(s.dataToCoord(i,a)),n[1]=l.toGlobalCoord(l.dataToCoord(o,a)),n},e.prototype.clampData=function(t,a){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,o=n.getExtent(),s=i.getExtent(),l=n.parse(t[0]),u=i.parse(t[1]);return a=a||[],a[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),a[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),a},e.prototype.pointToData=function(t,a){var n=[];if(this._invTransform)return se(n,t,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),a),n[1]=o.coordToData(o.toLocalCoord(t[1]),a),n},e.prototype.getOtherAxis=function(t){return this.getAxis(t.dim==="x"?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),a=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(a[0],a[1]),o=Math.max(t[0],t[1])-n,s=Math.max(a[0],a[1])-i;return new ft(n,i,o,s)},e}(S5),w5=function(r){k(e,r);function e(t,a,n,i,o){var s=r.call(this,t,a,n)||this;return s.index=0,s.type=i||"value",s.position=o||"bottom",s}return e.prototype.isHorizontal=function(){var t=this.position;return t==="top"||t==="bottom"},e.prototype.getGlobalExtent=function(t){var a=this.getExtent();return a[0]=this.toGlobalCoord(a[0]),a[1]=this.toGlobalCoord(a[1]),t&&a[0]>a[1]&&a.reverse(),a},e.prototype.pointToData=function(t,a){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),a)},e.prototype.setCategorySortInfo=function(t){if(this.type!=="category")return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(wr);const b5=w5;function vd(r,e,t){t=t||{};var a=r.coordinateSystem,n=e.axis,i={},o=n.getAxesOnZeroOf()[0],s=n.position,l=o?"onZero":s,u=n.dim,f=a.getRect(),h=[f.x,f.x+f.width,f.y,f.y+f.height],v={left:0,right:1,top:0,bottom:1,onZero:2},c=e.get("offset")||0,p=u==="x"?[h[2]-c,h[3]+c]:[h[0]-c,h[1]+c];if(o){var d=o.toGlobalCoord(o.dataToCoord(0));p[v.onZero]=Math.max(Math.min(d,p[1]),p[0])}i.position=[u==="y"?p[v[l]]:h[0],u==="x"?p[v[l]]:h[3]],i.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=g[s],i.labelOffset=o?p[v[s]]-p[v.onZero]:0,e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),ne(t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var y=e.get(["axisLabel","rotate"]);return i.labelRotate=l==="top"?-y:y,i.z2=1,i}function A1(r){return r.get("coordinateSystem")==="cartesian2d"}function M1(r){var e={xAxisModel:null,yAxisModel:null};return A(e,function(t,a){var n=a.replace(/Model$/,""),i=r.getReferringComponents(n,Xt).models[0];e[a]=i}),e}var ac=Math.log;function $M(r,e,t){var a=qa.prototype,n=a.getTicks.call(t),i=a.getTicks.call(t,!0),o=n.length-1,s=a.getInterval.call(t),l=qA(r,e),u=l.extent,f=l.fixMin,h=l.fixMax;if(r.type==="log"){var v=ac(r.base);u=[ac(u[0])/v,ac(u[1])/v]}r.setExtent(u[0],u[1]),r.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:h});var c=a.getExtent.call(r);f&&(u[0]=c[0]),h&&(u[1]=c[1]);var p=a.getInterval.call(r),d=u[0],g=u[1];if(f&&h)p=(g-d)/o;else if(f)for(g=u[0]+p*o;gu[0]&&isFinite(d)&&isFinite(u[0]);)p=Wv(p),d=u[1]-p*o;else{var y=r.getTicks().length-1;y>o&&(p=Wv(p));var m=p*o;g=Math.ceil(u[1]/p)*p,d=$t(g-m),d<0&&u[0]>=0?(d=0,g=$t(m)):g>0&&u[1]<=0&&(g=0,d=-$t(m))}var _=(n[0].value-i[0].value)/s,S=(n[o].value-i[o].value)/s;a.setExtent.call(r,d+p*_,g+p*S),a.setInterval.call(r,p),(_||S)&&a.setNiceExtent.call(r,d+p,g-p)}var T5=function(){function r(e,t,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=hd,this._initCartesian(e,t,a),this.model=e}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(e,t){var a=this._axesMap;this._updateScale(e,this.model);function n(o){var s,l=mt(o),u=l.length;if(u){for(var f=[],h=u-1;h>=0;h--){var v=+l[h],c=o[v],p=c.model,d=c.scale;nd(d)&&p.get("alignTicks")&&p.get("interval")==null?f.push(c):(eo(d,p),nd(d)&&(s=c))}f.length&&(s||(s=f.pop(),eo(s.scale,s.model)),A(f,function(g){$M(g.scale,g.model,s.scale)}))}}n(a.x),n(a.y);var i={};A(a.x,function(o){D1(a,"y",o,i)}),A(a.y,function(o){D1(a,"x",o,i)}),this.resize(this.model,t)},r.prototype.resize=function(e,t,a){var n=e.getBoxLayoutParams(),i=!a&&e.get("containLabel"),o=Jt(n,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var s=this._axesList;l(),i&&(A(s,function(u){if(!u.model.get(["axisLabel","inside"])){var f=VB(u);if(f){var h=u.isHorizontal()?"height":"width",v=u.model.get(["axisLabel","margin"]);o[h]-=f[h]+v,u.position==="top"?o.y+=f.height+v:u.position==="left"&&(o.x+=f.width+v)}}}),l()),A(this._coordsList,function(u){u.calcAffineTransform()});function l(){A(s,function(u){var f=u.isHorizontal(),h=f?[0,o.width]:[0,o.height],v=u.inverse?1:0;u.setExtent(h[v],h[1-v]),C5(u,f?o.x:o.y)})}},r.prototype.getAxis=function(e,t){var a=this._axesMap[e];if(a!=null)return a[t||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var a="x"+e+"y"+t;return this._coordsMap[a]}tt(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,i=this._coordsList;n0?"top":"bottom",i="center"):uf(n-Na)?(o=a>0?"bottom":"top",i="center"):(o="middle",n>0&&n0?"right":"left":i=a>0?"left":"right"),{rotation:n,textAlign:i,textVerticalAlign:o}},r.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},r.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},r}(),L1={axisLine:function(r,e,t,a){var n=e.get(["axisLine","show"]);if(n==="auto"&&r.handleAutoShown&&(n=r.handleAutoShown("axisLine")),!!n){var i=e.axis.getExtent(),o=a.transform,s=[i[0],0],l=[i[1],0],u=s[0]>l[0];o&&(se(s,s,o),se(l,l,o));var f=B({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new ie({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:f,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});Ji(h.shape,h.style.lineWidth),h.anid="line",t.add(h);var v=e.get(["axisLine","symbol"]);if(v!=null){var c=e.get(["axisLine","symbolSize"]);$(v)&&(v=[v,v]),($(c)||Ct(c))&&(c=[c,c]);var p=bo(e.get(["axisLine","symbolOffset"])||0,c),d=c[0],g=c[1];A([{rotate:r.rotation+Math.PI/2,offset:p[0],r:0},{rotate:r.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(y,m){if(v[m]!=="none"&&v[m]!=null){var _=qt(v[m],-d/2,-g/2,d,g,f.stroke,!0),S=y.r+y.offset,w=u?l:s;_.attr({rotation:y.rotate,x:w[0]+S*Math.cos(r.rotation),y:w[1]-S*Math.sin(r.rotation),silent:!0,z2:11}),t.add(_)}})}}},axisTickLabel:function(r,e,t,a){var n=I5(t,a,e,r),i=P5(t,a,e,r);if(D5(e,i,n),L5(t,a,e,r.tickDirection),e.get(["axisLabel","hideOverlap"])){var o=lM(G(i,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));hM(o)}},axisName:function(r,e,t,a){var n=ne(r.axisName,e.get("name"));if(n){var i=e.get("nameLocation"),o=r.nameDirection,s=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,u=e.axis.getExtent(),f=u[0]>u[1]?-1:1,h=[i==="start"?u[0]-f*l:i==="end"?u[1]+f*l:(u[0]+u[1])/2,R1(i)?r.labelOffset+o*l:0],v,c=e.get("nameRotate");c!=null&&(c=c*Na/180);var p;R1(i)?v=ti.innerTextLayout(r.rotation,c??r.rotation,o):(v=M5(r.rotation,i,c||0,u),p=r.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(v.rotation)),!isFinite(p)&&(p=null)));var d=s.getFont(),g=e.get("nameTruncate",!0)||{},y=g.ellipsis,m=ne(r.nameTruncateMaxWidth,g.maxWidth,p),_=new Tt({x:h[0],y:h[1],rotation:v.rotation,silent:ti.isLabelSilent(e),style:kt(s,{text:n,font:d,overflow:"truncate",width:m,ellipsis:y,fill:s.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:s.get("align")||v.textAlign,verticalAlign:s.get("verticalAlign")||v.textVerticalAlign}),z2:1});if(co({el:_,componentModel:e,itemName:n}),_.__fullText=n,_.anid="name",e.get("triggerEvent")){var S=ti.makeAxisEventDataBase(e);S.targetType="axisName",S.name=n,nt(_).eventData=S}a.add(_),_.updateTransform(),t.add(_),_.decomposeTransform()}}};function M5(r,e,t,a){var n=Hb(t-r),i,o,s=a[0]>a[1],l=e==="start"&&!s||e!=="start"&&s;return uf(n-Na/2)?(o=l?"bottom":"top",i="center"):uf(n-Na*1.5)?(o=l?"top":"bottom",i="center"):(o="middle",nNa/2?i=l?"left":"right":i=l?"right":"left"),{rotation:n,textAlign:i,textVerticalAlign:o}}function D5(r,e,t){if(!KA(r.axis)){var a=r.get(["axisLabel","showMinLabel"]),n=r.get(["axisLabel","showMaxLabel"]);e=e||[],t=t||[];var i=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=t[0],f=t[1],h=t[t.length-1],v=t[t.length-2];a===!1?($e(i),$e(u)):P1(i,o)&&(a?($e(o),$e(f)):($e(i),$e(u))),n===!1?($e(s),$e(h)):P1(l,s)&&(n?($e(l),$e(v)):($e(s),$e(h)))}}function $e(r){r&&(r.ignore=!0)}function P1(r,e){var t=r&&r.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(!(!t||!a)){var n=jf([]);return fi(n,n,-r.rotation),t.applyTransform(aa([],n,r.getLocalTransform())),a.applyTransform(aa([],n,e.getLocalTransform())),t.intersect(a)}}function R1(r){return r==="middle"||r==="center"}function UM(r,e,t,a,n){for(var i=[],o=[],s=[],l=0;l=0||r===e}function B5(r){var e=oy(r);if(e){var t=e.axisPointerModel,a=e.axis.scale,n=t.option,i=t.get("status"),o=t.get("value");o!=null&&(o=a.parse(o));var s=cd(t);i==null&&(n.status=s?"show":"hide");var l=a.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o0&&!p.min?p.min=0:p.min!=null&&p.min<0&&!p.max&&(p.max=0);var d=l;p.color!=null&&(d=J({color:p.color},l));var g=ut(et(p),{boundaryGap:t,splitNumber:a,scale:n,axisLine:i,axisTick:o,axisLabel:s,name:p.text,showName:u,nameLocation:"end",nameGap:h,nameTextStyle:d,triggerEvent:v},!1);if($(f)){var y=g.name;g.name=f.replace("{value}",y??"")}else K(f)&&(g.name=f(g.name,g));var m=new Ot(g,null,this.ecModel);return Kt(m,yl.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:ut({lineStyle:{color:"#bbb"}},Uo.axisLine),axisLabel:du(Uo.axisLabel,!1),axisTick:du(Uo.axisTick,!1),splitLine:du(Uo.splitLine,!0),splitArea:du(Uo.splitArea,!0),indicator:[]},e}(wt);const j5=J5;var tG=["axisLine","axisTickLabel","axisName"],eG=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var a=t.coordinateSystem,n=a.getIndicatorAxes(),i=G(n,function(o){var s=o.model.get("showName")?o.name:"",l=new va(o.model,{axisName:s,position:[a.cx,a.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});A(i,function(o){A(tG,o.add,o),this.group.add(o.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){var a=t.coordinateSystem,n=a.getIndicatorAxes();if(!n.length)return;var i=t.get("shape"),o=t.getModel("splitLine"),s=t.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),f=o.get("show"),h=s.get("show"),v=l.get("color"),c=u.get("color"),p=z(v)?v:[v],d=z(c)?c:[c],g=[],y=[];function m(R,E,N){var O=N%E.length;return R[O]=R[O]||[],O}if(i==="circle")for(var _=n[0].getTicksCoords(),S=a.cx,w=a.cy,x=0;x<_.length;x++){if(f){var b=m(g,p,x);g[b].push(new Wr({shape:{cx:S,cy:w,r:_[x].coord}}))}if(h&&x<_.length-1){var b=m(y,d,x);y[b].push(new lh({shape:{cx:S,cy:w,r0:_[x].coord,r:_[x+1].coord}}))}}else for(var T,C=G(n,function(R,E){var N=R.getTicksCoords();return T=T==null?N.length-1:Math.min(N.length-1,T),G(N,function(O){return a.coordToPoint(O.coord,E)})}),M=[],x=0;x<=T;x++){for(var D=[],I=0;I3?1.4:o>1?1.2:1.1,f=i>0?u:1/u;oc(this,"zoom","zoomOnMouseWheel",t,{scale:f,originX:s,originY:l,isAvailableBehavior:null})}if(n){var h=Math.abs(i),v=(i>0?1:-1)*(h>3?.4:h>1?.15:.05);oc(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:v,originX:s,originY:l,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!V1(this._zr,"globalPan")){var a=t.pinchScale>1?1.1:1/1.1;oc(this,"zoom",null,t,{scale:a,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(or);function oc(r,e,t,a,n){r.pointerChecker&&r.pointerChecker(a,n.originX,n.originY)&&(sa(a.event),QM(r,e,t,a,n))}function QM(r,e,t,a,n){n.isAvailableBehavior=U(Xu,null,t,a),r.trigger(e,n)}function Xu(r,e,t){var a=t[r];return!r||a&&(!$(a)||e.event[a+"Key"])}const bl=hG;function ly(r,e,t){var a=r.target;a.x+=e,a.y+=t,a.dirty()}function uy(r,e,t,a){var n=r.target,i=r.zoomLimit,o=r.zoom=r.zoom||1;if(o*=e,i){var s=i.min||0,l=i.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/r.zoom;r.zoom=o,n.x-=(t-n.x)*(u-1),n.y-=(a-n.y)*(u-1),n.scaleX*=u,n.scaleY*=u,n.dirty()}var vG={axisPointer:1,tooltip:1,brush:1};function Ih(r,e,t){var a=e.getComponentByElement(r.topTarget),n=a&&a.coordinateSystem;return a&&a!==t&&!vG.hasOwnProperty(a.mainType)&&n&&n.model!==t}function JM(r){if($(r)){var e=new DOMParser;r=e.parseFromString(r,"text/xml")}var t=r;for(t.nodeType===9&&(t=t.firstChild);t.nodeName.toLowerCase()!=="svg"||t.nodeType!==1;)t=t.nextSibling;return t}var sc,Rf={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"},z1=mt(Rf),Ef={"alignment-baseline":"textBaseline","stop-color":"stopColor"},G1=mt(Ef),cG=function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(e,t){t=t||{};var a=JM(e);this._defsUsePending=[];var n=new at;this._root=n;var i=[],o=a.getAttribute("viewBox")||"",s=parseFloat(a.getAttribute("width")||t.width),l=parseFloat(a.getAttribute("height")||t.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),Ve(a,n,null,!0,!1);for(var u=a.firstChild;u;)this._parseNode(u,n,i,null,!1,!1),u=u.nextSibling;gG(this._defs,this._defsUsePending),this._defsUsePending=[];var f,h;if(o){var v=Lh(o);v.length>=4&&(f={x:parseFloat(v[0]||0),y:parseFloat(v[1]||0),width:parseFloat(v[2]),height:parseFloat(v[3])})}if(f&&s!=null&&l!=null&&(h=tD(f,{x:0,y:0,width:s,height:l}),!t.ignoreViewBox)){var c=n;n=new at,n.add(c),c.scaleX=c.scaleY=h.scale,c.x=h.x,c.y=h.y}return!t.ignoreRootClip&&s!=null&&l!=null&&n.setClipPath(new St({shape:{x:0,y:0,width:s,height:l}})),{root:n,width:s,height:l,viewBoxRect:f,viewBoxTransform:h,named:i}},r.prototype._parseNode=function(e,t,a,n,i,o){var s=e.nodeName.toLowerCase(),l,u=n;if(s==="defs"&&(i=!0),s==="text"&&(o=!0),s==="defs"||s==="switch")l=t;else{if(!i){var f=sc[s];if(f&&Y(sc,s)){l=f.call(this,e,t);var h=e.getAttribute("name");if(h){var v={name:h,namedFrom:null,svgNodeTagLower:s,el:l};a.push(v),s==="g"&&(u=v)}else n&&a.push({name:n.name,namedFrom:n,svgNodeTagLower:s,el:l});t.add(l)}}var c=F1[s];if(c&&Y(F1,s)){var p=c.call(this,e),d=e.getAttribute("id");d&&(this._defs[d]=p)}}if(l&&l.isGroup)for(var g=e.firstChild;g;)g.nodeType===1?this._parseNode(g,l,a,u,i,o):g.nodeType===3&&o&&this._parseText(g,l),g=g.nextSibling},r.prototype._parseText=function(e,t){var a=new Os({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Ue(t,a),Ve(e,a,this._defsUsePending,!1,!1),pG(a,t);var n=a.style,i=n.fontSize;i&&i<9&&(n.fontSize=9,a.scaleX*=i/9,a.scaleY*=i/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var s=a.getBoundingRect();return this._textX+=s.width,t.add(a),a},r.internalField=function(){sc={g:function(e,t){var a=new at;return Ue(t,a),Ve(e,a,this._defsUsePending,!1,!1),a},rect:function(e,t){var a=new St;return Ue(t,a),Ve(e,a,this._defsUsePending,!1,!1),a.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")}),a.silent=!0,a},circle:function(e,t){var a=new Wr;return Ue(t,a),Ve(e,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),a.silent=!0,a},line:function(e,t){var a=new ie;return Ue(t,a),Ve(e,a,this._defsUsePending,!1,!1),a.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")}),a.silent=!0,a},ellipse:function(e,t){var a=new mg;return Ue(t,a),Ve(e,a,this._defsUsePending,!1,!1),a.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")}),a.silent=!0,a},polygon:function(e,t){var a=e.getAttribute("points"),n;a&&(n=$1(a));var i=new Oe({shape:{points:n||[]},silent:!0});return Ue(t,i),Ve(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var a=e.getAttribute("points"),n;a&&(n=$1(a));var i=new Ne({shape:{points:n||[]},silent:!0});return Ue(t,i),Ve(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var a=new he;return Ue(t,a),Ve(e,a,this._defsUsePending,!1,!1),a.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")}),a.silent=!0,a},text:function(e,t){var a=e.getAttribute("x")||"0",n=e.getAttribute("y")||"0",i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(i),this._textY=parseFloat(n)+parseFloat(o);var s=new at;return Ue(t,s),Ve(e,s,this._defsUsePending,!1,!0),s},tspan:function(e,t){var a=e.getAttribute("x"),n=e.getAttribute("y");a!=null&&(this._textX=parseFloat(a)),n!=null&&(this._textY=parseFloat(n));var i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",s=new at;return Ue(t,s),Ve(e,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),s},path:function(e,t){var a=e.getAttribute("d")||"",n=DT(a);return Ue(t,n),Ve(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}}(),r}(),F1={lineargradient:function(r){var e=parseInt(r.getAttribute("x1")||"0",10),t=parseInt(r.getAttribute("y1")||"0",10),a=parseInt(r.getAttribute("x2")||"10",10),n=parseInt(r.getAttribute("y2")||"0",10),i=new ll(e,t,a,n);return H1(r,i),W1(r,i),i},radialgradient:function(r){var e=parseInt(r.getAttribute("cx")||"0",10),t=parseInt(r.getAttribute("cy")||"0",10),a=parseInt(r.getAttribute("r")||"0",10),n=new FT(e,t,a);return H1(r,n),W1(r,n),n}};function H1(r,e){var t=r.getAttribute("gradientUnits");t==="userSpaceOnUse"&&(e.global=!0)}function W1(r,e){for(var t=r.firstChild;t;){if(t.nodeType===1&&t.nodeName.toLocaleLowerCase()==="stop"){var a=t.getAttribute("offset"),n=void 0;a&&a.indexOf("%")>0?n=parseInt(a,10)/100:a?n=parseFloat(a):n=0;var i={};jM(t,i,i);var o=i.stopColor||t.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:n,color:o})}t=t.nextSibling}}function Ue(r,e){r&&r.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),J(e.__inheritedStyle,r.__inheritedStyle))}function $1(r){for(var e=Lh(r),t=[],a=0;a0;i-=2){var o=a[i],s=a[i-1],l=Lh(o);switch(n=n||nr(),s){case"translate":zr(n,n,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":rg(n,n,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":fi(n,n,-parseFloat(l[0])*lc);break;case"skewX":var u=Math.tan(parseFloat(l[0])*lc);aa(n,[1,0,u,1,0,0],n);break;case"skewY":var f=Math.tan(parseFloat(l[0])*lc);aa(n,[1,f,0,1,0,0],n);break;case"matrix":n[0]=parseFloat(l[0]),n[1]=parseFloat(l[1]),n[2]=parseFloat(l[2]),n[3]=parseFloat(l[3]),n[4]=parseFloat(l[4]),n[5]=parseFloat(l[5]);break}}e.setLocalTransform(n)}}var Y1=/([^\s:;]+)\s*:\s*([^:;]+)/g;function jM(r,e,t){var a=r.getAttribute("style");if(a){Y1.lastIndex=0;for(var n;(n=Y1.exec(a))!=null;){var i=n[1],o=Y(Rf,i)?Rf[i]:null;o&&(e[o]=n[2]);var s=Y(Ef,i)?Ef[i]:null;s&&(t[s]=n[2])}}}function SG(r,e,t){for(var a=0;a0,g={api:a,geo:l,mapOrGeoModel:e,data:s,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:v};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(e,t,a),this._updateMapSelectHandler(e,u,a,n)},r.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=q(),a=q(),n=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,s=e.data,l=e.geo.projection,u=l&&l.stream;function f(c,p){return p&&(c=p(c)),c&&[c[0]*i.scaleX+i.x,c[1]*i.scaleY+i.y]}function h(c){for(var p=[],d=!u&&l&&l.project,g=0;g=0)&&(v=n);var c=o?{normal:{align:"center",verticalAlign:"middle"}}:null;fe(e,ee(a),{labelFetcher:v,labelDataIndex:h,defaultText:t},c);var p=e.getTextContent();if(p&&(eD(p).ignore=p.ignore,e.textConfig&&o)){var d=e.getBoundingRect().clone();e.textConfig.layoutRect=d,e.textConfig.position=[(o[0]-d.x)/d.width*100+"%",(o[1]-d.y)/d.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function Q1(r,e,t,a,n,i){r.data?r.data.setItemGraphicEl(i,e):nt(e).eventData={componentType:"geo",componentIndex:n.componentIndex,geoIndex:n.componentIndex,name:t,region:a&&a.option||{}}}function J1(r,e,t,a,n){r.data||co({el:e,componentModel:n,itemName:t,itemTooltipOption:a.get("tooltip")})}function j1(r,e,t,a,n){e.highDownSilentOnTouch=!!n.get("selectedMode");var i=a.getModel("emphasis"),o=i.get("focus");return Ft(e,o,i.get("blurScope"),i.get("disabled")),r.isGeo&&HR(e,n,t),o}function tS(r,e,t){var a=[],n;function i(){n=[]}function o(){n.length&&(a.push(n),n=[])}var s=e({polygonStart:i,polygonEnd:o,lineStart:i,lineEnd:o,point:function(l,u){isFinite(l)&&isFinite(u)&&n.push([l,u])},sphere:function(){}});return!t&&s.polygonStart(),A(r,function(l){s.lineStart();for(var u=0;u-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(zt);const HG=FG;function WG(r,e){var t={};return A(r,function(a){a.each(a.mapDimension("value"),function(n,i){var o="ec-"+a.getName(i);t[o]=t[o]||[],isNaN(n)||t[o].push(n)})}),r[0].map(r[0].mapDimension("value"),function(a,n){for(var i="ec-"+r[0].getName(n),o=0,s=1/0,l=-1/0,u=t[i].length,f=0;f1?(S.width=_,S.height=_/g):(S.height=_,S.width=_*g),S.y=m[1]-S.height/2,S.x=m[0]-S.width/2;else{var w=r.getBoxLayoutParams();w.aspect=g,S=Jt(w,{width:p,height:d})}this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(r.get("center"),e),this.setZoom(r.get("zoom"))}function XG(r,e){A(e.get("geoCoord"),function(t,a){r.addGeoCoord(a,t)})}var qG=function(){function r(){this.dimensions=aD}return r.prototype.create=function(e,t){var a=[];function n(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}e.eachComponent("geo",function(o,s){var l=o.get("map"),u=new nS(l+s,l,B({nameMap:o.get("nameMap")},n(o)));u.zoomLimit=o.get("scaleLimit"),a.push(u),o.coordinateSystem=u,u.model=o,u.resize=iS,u.resize(o,t)}),e.eachSeries(function(o){var s=o.get("coordinateSystem");if(s==="geo"){var l=o.get("geoIndex")||0;o.coordinateSystem=a[l]}});var i={};return e.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var s=o.getMapType();i[s]=i[s]||[],i[s].push(o)}}),A(i,function(o,s){var l=G(o,function(f){return f.get("nameMap")}),u=new nS(s,s,B({nameMap:Qd(l)},n(o[0])));u.zoomLimit=ne.apply(null,G(o,function(f){return f.get("scaleLimit")})),a.push(u),u.resize=iS,u.resize(o[0],t),A(o,function(f){f.coordinateSystem=u,XG(u,f)})}),a},r.prototype.getFilledRegions=function(e,t,a,n){for(var i=(e||[]).slice(),o=q(),s=0;s=0;o--){var s=n[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},t.push(s)}}function n3(r,e){var t=r.isExpand?r.children:[],a=r.parentNode.children,n=r.hierNode.i?a[r.hierNode.i-1]:null;if(t.length){s3(r);var i=(t[0].hierNode.prelim+t[t.length-1].hierNode.prelim)/2;n?(r.hierNode.prelim=n.hierNode.prelim+e(r,n),r.hierNode.modifier=r.hierNode.prelim-i):r.hierNode.prelim=i}else n&&(r.hierNode.prelim=n.hierNode.prelim+e(r,n));r.parentNode.hierNode.defaultAncestor=l3(r,n,r.parentNode.hierNode.defaultAncestor||a[0],e)}function i3(r){var e=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:e},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function sS(r){return arguments.length?r:h3}function us(r,e){return r-=Math.PI/2,{x:e*Math.cos(r),y:e*Math.sin(r)}}function o3(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function s3(r){for(var e=r.children,t=e.length,a=0,n=0;--t>=0;){var i=e[t];i.hierNode.prelim+=a,i.hierNode.modifier+=a,n+=i.hierNode.change,a+=i.hierNode.shift+n}}function l3(r,e,t,a){if(e){for(var n=r,i=r,o=i.parentNode.children[0],s=e,l=n.hierNode.modifier,u=i.hierNode.modifier,f=o.hierNode.modifier,h=s.hierNode.modifier;s=uc(s),i=fc(i),s&&i;){n=uc(n),o=fc(o),n.hierNode.ancestor=r;var v=s.hierNode.prelim+h-i.hierNode.prelim-u+a(s,i);v>0&&(f3(u3(s,r,t),r,v),u+=v,l+=v),h+=s.hierNode.modifier,u+=i.hierNode.modifier,l+=n.hierNode.modifier,f+=o.hierNode.modifier}s&&!uc(n)&&(n.hierNode.thread=s,n.hierNode.modifier+=h-l),i&&!fc(o)&&(o.hierNode.thread=i,o.hierNode.modifier+=u-f,t=r)}return t}function uc(r){var e=r.children;return e.length&&r.isExpand?e[e.length-1]:r.hierNode.thread}function fc(r){var e=r.children;return e.length&&r.isExpand?e[0]:r.hierNode.thread}function u3(r,e,t){return r.hierNode.ancestor.parentNode===e.parentNode?r.hierNode.ancestor:t}function f3(r,e,t){var a=t/(e.hierNode.i-r.hierNode.i);e.hierNode.change-=a,e.hierNode.shift+=t,e.hierNode.modifier+=t,e.hierNode.prelim+=t,r.hierNode.change+=a}function h3(r,e){return r.parentNode===e.parentNode?1:2}var v3=function(){function r(){this.parentPoint=[],this.childPoints=[]}return r}(),c3=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new v3},e.prototype.buildPath=function(t,a){var n=a.childPoints,i=n.length,o=a.parentPoint,s=n[0],l=n[i-1];if(i===1){t.moveTo(o[0],o[1]),t.lineTo(s[0],s[1]);return}var u=a.orient,f=u==="TB"||u==="BT"?0:1,h=1-f,v=H(a.forkPosition,1),c=[];c[f]=o[f],c[h]=o[h]+(l[h]-o[h])*v,t.moveTo(o[0],o[1]),t.lineTo(c[0],c[1]),t.moveTo(s[0],s[1]),c[f]=s[f],t.lineTo(c[0],c[1]),c[f]=l[f],t.lineTo(c[0],c[1]),t.lineTo(l[0],l[1]);for(var p=1;pm.x,w||(S=S-Math.PI));var b=w?"left":"right",T=s.getModel("label"),C=T.get("rotate"),M=C*(Math.PI/180),D=g.getTextContent();D&&(g.setTextConfig({position:T.get("position")||b,rotation:C==null?-S:M,origin:"center"}),D.setStyle("verticalAlign","middle"))}var I=s.get(["emphasis","focus"]),L=I==="relative"?tf(o.getAncestorsIndices(),o.getDescendantIndices()):I==="ancestor"?o.getAncestorsIndices():I==="descendant"?o.getDescendantIndices():null;L&&(nt(t).focus=L),d3(n,o,f,t,p,c,d,a),t.__edge&&(t.onHoverStateChange=function(P){if(P!=="blur"){var R=o.parentNode&&r.getItemGraphicEl(o.parentNode.dataIndex);R&&R.hoverState===sl||hf(t.__edge,P)}})}function d3(r,e,t,a,n,i,o,s){var l=e.getModel(),u=r.get("edgeShape"),f=r.get("layout"),h=r.getOrient(),v=r.get(["lineStyle","curveness"]),c=r.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),d=a.__edge;if(u==="curve")e.parentNode&&e.parentNode!==t&&(d||(d=a.__edge=new uh({shape:gd(f,h,v,n,n)})),Mt(d,{shape:gd(f,h,v,i,o)},r));else if(u==="polyline"&&f==="orthogonal"&&e!==t&&e.children&&e.children.length!==0&&e.isExpand===!0){for(var g=e.children,y=[],m=0;mt&&(t=n.height)}this.height=t+1},r.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,a=this.children,n=a.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},r.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},r.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostTree,a=t.data.getItemModel(this.dataIndex);return a.getModel(e)}},r.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},r.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},r.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},r.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},r.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},r.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t=0){var a=t.getData().tree.root,n=r.targetNode;if($(n)&&(n=a.getNodeById(n)),n&&a.contains(n))return{node:n};var i=r.targetNodeId;if(i!=null&&(n=a.getNodeById(i)))return{node:n}}}function fD(r){for(var e=[];r;)r=r.parentNode,r&&e.push(r);return e.reverse()}function py(r,e){var t=fD(r);return vt(t,e)>=0}function Ph(r,e){for(var t=[];r;){var a=r.dataIndex;t.push({name:r.name,dataIndex:a,value:e.getRawValue(a)}),r=r.parentNode}return t.reverse(),t}var A3=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return e.prototype.getInitialData=function(t){var a={name:t.name,children:t.data},n=t.leaves||{},i=new Ot(n,this,this.ecModel),o=cy.createTree(a,this,s);function s(h){h.wrapMethod("getItemModel",function(v,c){var p=o.getNodeByDataIndex(c);return p&&p.children.length&&p.isExpand||(v.parentModel=i),v})}var l=0;o.eachNode("preorder",function(h){h.depth>l&&(l=h.depth)});var u=t.expandAndCollapse,f=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return o.root.eachNode("preorder",function(h){var v=h.hostTree.data.getRawDataItem(h.dataIndex);h.isExpand=v&&v.collapsed!=null?!v.collapsed:h.depth<=f}),o.data},e.prototype.getOrient=function(){var t=this.get("orient");return t==="horizontal"?t="LR":t==="vertical"&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,a,n){for(var i=this.getData().tree,o=i.root.children[0],s=i.getNodeByDataIndex(t),l=s.getValue(),u=s.name;s&&s!==o;)u=s.parentNode.name+"."+u,s=s.parentNode;return re("nameValue",{name:u,value:l,noValue:isNaN(l)||l==null})},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treeAncestors=Ph(n,this),a.collapsed=!n.isExpand,a},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(zt);const M3=A3;function D3(r,e,t){for(var a=[r],n=[],i;i=a.pop();)if(n.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s=0;i--)t.push(n[i])}}function I3(r,e){r.eachSeriesByType("tree",function(t){L3(t,e)})}function L3(r,e){var t=o3(r,e);r.layoutInfo=t;var a=r.get("layout"),n=0,i=0,o=null;a==="radial"?(n=2*Math.PI,i=Math.min(t.height,t.width)/2,o=sS(function(_,S){return(_.parentNode===S.parentNode?1:2)/_.depth})):(n=t.width,i=t.height,o=sS());var s=r.getData().tree.root,l=s.children[0];if(l){a3(s),D3(l,n3,o),s.hierNode.modifier=-l.hierNode.prelim,Zo(l,i3);var u=l,f=l,h=l;Zo(l,function(_){var S=_.getLayout().x;Sf.getLayout().x&&(f=_),_.depth>h.depth&&(h=_)});var v=u===f?1:o(u,f)/2,c=v-u.getLayout().x,p=0,d=0,g=0,y=0;if(a==="radial")p=n/(f.getLayout().x+v+c),d=i/(h.depth-1||1),Zo(l,function(_){g=(_.getLayout().x+c)*p,y=(_.depth-1)*d;var S=us(g,y);_.setLayout({x:S.x,y:S.y,rawX:g,rawY:y},!0)});else{var m=r.getOrient();m==="RL"||m==="LR"?(d=i/(f.getLayout().x+v+c),p=n/(h.depth-1||1),Zo(l,function(_){y=(_.getLayout().x+c)*d,g=m==="LR"?(_.depth-1)*p:n-(_.depth-1)*p,_.setLayout({x:g,y},!0)})):(m==="TB"||m==="BT")&&(p=n/(f.getLayout().x+v+c),d=i/(h.depth-1||1),Zo(l,function(_){g=(_.getLayout().x+c)*p,y=m==="TB"?(_.depth-1)*d:i-(_.depth-1)*d,_.setLayout({x:g,y},!0)}))}}}function P3(r){r.eachSeriesByType("tree",function(e){var t=e.getData(),a=t.tree;a.eachNode(function(n){var i=n.getModel(),o=i.getModel("itemStyle").getItemStyle(),s=t.ensureUniqueItemVisual(n.dataIndex,"style");B(s,o)})})}function R3(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(a){var n=e.dataIndex,i=a.getData().tree,o=i.getNodeByDataIndex(n);o.isExpand=!o.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,t,a){t.eachComponent({mainType:"series",subType:"tree",query:e},function(n){var i=n.coordinateSystem,o=hy(i,e,void 0,a);n.setCenter&&n.setCenter(o.center),n.setZoom&&n.setZoom(o.zoom)})})}function E3(r){r.registerChartView(g3),r.registerSeriesModel(M3),r.registerLayout(I3),r.registerVisual(P3),R3(r)}var vS=["treemapZoomToNode","treemapRender","treemapMove"];function k3(r){for(var e=0;e1;)i=i.parentNode;var o=Up(r.ecModel,i.name||i.dataIndex+"",a);n.setVisual("decal",o)})}var O3=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.preventUsingHoverLayer=!0,t}return e.prototype.getInitialData=function(t,a){var n={name:t.name,children:t.data};vD(n);var i=t.levels||[],o=this.designatedVisualItemStyle={},s=new Ot({itemStyle:o},this,a);i=t.levels=N3(i,a);var l=G(i||[],function(h){return new Ot(h,s,a)},this),u=cy.createTree(n,this,f);function f(h){h.wrapMethod("getItemModel",function(v,c){var p=u.getNodeByDataIndex(c),d=p?l[p.depth]:null;return v.parentModel=d||s,v})}return u.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,a,n){var i=this.getData(),o=this.getRawValue(t),s=i.getName(t);return re("nameValue",{name:s,value:o})},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treeAncestors=Ph(n,this),a.treePathInfo=a.treeAncestors,a},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},B(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var a=this._idIndexMap;a||(a=this._idIndexMap=q(),this._idIndexMapCount=0);var n=a.get(t);return n==null&&a.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var a=this.getRawData().tree.root;(!t||t!==a&&!a.contains(t))&&(this._viewRoot=a)},e.prototype.enableAriaDecal=function(){hD(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(zt);function vD(r){var e=0;A(r.children,function(a){vD(a);var n=a.value;z(n)&&(n=n[0]),e+=n});var t=r.value;z(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=e),t<0&&(t=0),z(r.value)?r.value[0]=t:r.value=t}function N3(r,e){var t=Pt(e.get("color")),a=Pt(e.get(["aria","decal","decals"]));if(t){r=r||[];var n,i;A(r,function(s){var l=new Ot(s),u=l.get("color"),f=l.get("decal");(l.get(["itemStyle","color"])||u&&u!=="none")&&(n=!0),(l.get(["itemStyle","decal"])||f&&f!=="none")&&(i=!0)});var o=r[0]||(r[0]={});return n||(o.color=t.slice()),!i&&a&&(o.decal=a.slice()),r}}const B3=O3;var V3=8,cS=8,hc=5,z3=function(){function r(e){this.group=new at,e.add(this.group)}return r.prototype.render=function(e,t,a,n){var i=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),!(!i.get("show")||!a)){var s=i.getModel("itemStyle"),l=i.getModel("emphasis"),u=s.getModel("textStyle"),f=l.getModel(["itemStyle","textStyle"]),h={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,h,u),this._renderContent(e,h,s,l,u,f,n),mh(o,h.pos,h.box)}},r.prototype._prepare=function(e,t,a){for(var n=e;n;n=n.parentNode){var i=Qt(n.getModel().get("name"),""),o=a.getTextRect(i),s=Math.max(o.width+V3*2,t.emptyItemWidth);t.totalWidth+=s+cS,t.renderList.push({node:n,text:i,width:s})}},r.prototype._renderContent=function(e,t,a,n,i,o,s){for(var l=0,u=t.emptyItemWidth,f=e.get(["breadcrumb","height"]),h=QE(t.pos,t.box),v=t.totalWidth,c=t.renderList,p=n.getModel("itemStyle").getItemStyle(),d=c.length-1;d>=0;d--){var g=c[d],y=g.node,m=g.width,_=g.text;v>h.width&&(v-=m-u,m=u,_=null);var S=new Oe({shape:{points:G3(l,0,m,f,d===c.length-1,d===0)},style:J(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new Tt({style:kt(i,{text:_})}),textConfig:{position:"inside"},z2:ho*1e4,onclick:it(s,y)});S.disableLabelAnimation=!0,S.getTextContent().ensureState("emphasis").style=kt(o,{text:_}),S.ensureState("emphasis").style=p,Ft(S,n.get("focus"),n.get("blurScope"),n.get("disabled")),this.group.add(S),F3(S,e,y),l+=m+cS}},r.prototype.remove=function(){this.group.removeAll()},r}();function G3(r,e,t,a,n,i){var o=[[n?r:r-hc,e],[r+t,e],[r+t,e+a],[n?r:r-hc,e+a]];return!i&&o.splice(2,0,[r+t+hc,e+a/2]),!n&&o.push([r,e+a/2]),o}function F3(r,e,t){nt(r).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&Ph(t,e)}}const H3=z3;var W3=function(){function r(){this._storage=[],this._elExistsMap={}}return r.prototype.add=function(e,t,a,n,i){return this._elExistsMap[e.id]?!1:(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:a,delay:n,easing:i}),!0)},r.prototype.finished=function(e){return this._finishedCallback=e,this},r.prototype.start=function(){for(var e=this,t=this._storage.length,a=function(){t--,t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},n=0,i=this._storage.length;ndS||Math.abs(t.dy)>dS)){var a=this.seriesModel.getData().tree.root;if(!a)return;var n=a.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var a=t.originX,n=t.originY;if(this._state!=="animating"){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var s=new ft(o.x,o.y,o.width,o.height),l=this.seriesModel.layoutInfo;a-=l.x,n-=l.y;var u=nr();zr(u,u,[-a,-n]),rg(u,u,[t.scale,t.scale]),zr(u,u,[a,n]),s.applyTransform(u),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var a=this;t.on("click",function(n){if(a._state==="ready"){var i=a.seriesModel.get("nodeClick",!0);if(i){var o=a.findTarget(n.offsetX,n.offsetY);if(o){var s=o.node;if(s.getLayout().isLeafRoot)a._rootToNode(o);else if(i==="zoomToNode")a._zoomToNode(o);else if(i==="link"){var l=s.hostTree.data.getItemModel(s.dataIndex),u=l.get("link",!0),f=l.get("target",!0)||"blank";u&&yf(u,f)}}}}},this)},e.prototype._renderBreadcrumb=function(t,a,n){var i=this;n||(n=t.get("leafDepth",!0)!=null?{node:t.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new H3(this.group))).render(t,a,n.node,function(o){i._state!=="animating"&&(py(t.getViewRoot(),o)?i._rootToNode({node:o}):i._zoomToNode({node:o}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=Xo(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,a){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},function(o){var s=this._storage.background[o.getRawIndex()];if(s){var l=s.transformCoordToLocal(t,a),u=s.shape;if(u.x<=l[0]&&l[0]<=u.x+u.width&&u.y<=l[1]&&l[1]<=u.y+u.height)n={node:o,offsetX:l[0],offsetY:l[1]};else return!1}},this),n},e.type="treemap",e}(Nt);function Xo(){return{nodeGroup:[],background:[],content:[]}}function q3(r,e,t,a,n,i,o,s,l,u){if(!o)return;var f=o.getLayout(),h=r.getData(),v=o.getModel();if(h.setItemGraphicEl(o.dataIndex,null),!f||!f.isInView)return;var c=f.width,p=f.height,d=f.borderWidth,g=f.invisible,y=o.getRawIndex(),m=s&&s.getRawIndex(),_=o.viewChildren,S=f.upperHeight,w=_&&_.length,x=v.getModel("itemStyle"),b=v.getModel(["emphasis","itemStyle"]),T=v.getModel(["blur","itemStyle"]),C=v.getModel(["select","itemStyle"]),M=x.get("borderRadius")||0,D=j("nodeGroup",yd);if(!D)return;if(l.add(D),D.x=f.x||0,D.y=f.y||0,D.markRedraw(),kf(D).nodeWidth=c,kf(D).nodeHeight=p,f.isAboveViewRoot)return D;var I=j("background",pS,u,Y3);I&&V(D,I,w&&f.upperLabelHeight);var L=v.getModel("emphasis"),P=L.get("focus"),R=L.get("blurScope"),E=L.get("disabled"),N=P==="ancestor"?o.getAncestorsIndices():P==="descendant"?o.getDescendantIndices():P;if(w)Bs(D)&&Gn(D,!1),I&&(Gn(I,!E),h.setItemGraphicEl(o.dataIndex,I),Bp(I,N,R));else{var O=j("content",pS,u,Z3);O&&F(D,O),I.disableMorphing=!0,I&&Bs(I)&&Gn(I,!1),Gn(D,!E),h.setItemGraphicEl(o.dataIndex,D),Bp(D,N,R)}return D;function V(pt,rt,yt){var ht=nt(rt);if(ht.dataIndex=o.dataIndex,ht.seriesIndex=r.seriesIndex,rt.setShape({x:0,y:0,width:c,height:p,r:M}),g)W(rt);else{rt.invisible=!1;var X=o.getVisual("style"),ot=X.stroke,Vt=mS(x);Vt.fill=ot;var _t=Ln(b);_t.fill=b.get("borderColor");var Wt=Ln(T);Wt.fill=T.get("borderColor");var Gt=Ln(C);if(Gt.fill=C.get("borderColor"),yt){var ve=c-2*d;Z(rt,ot,X.opacity,{x:d,y:0,width:ve,height:S})}else rt.removeTextContent();rt.setStyle(Vt),rt.ensureState("emphasis").style=_t,rt.ensureState("blur").style=Wt,rt.ensureState("select").style=Gt,ii(rt)}pt.add(rt)}function F(pt,rt){var yt=nt(rt);yt.dataIndex=o.dataIndex,yt.seriesIndex=r.seriesIndex;var ht=Math.max(c-2*d,0),X=Math.max(p-2*d,0);if(rt.culling=!0,rt.setShape({x:d,y:d,width:ht,height:X,r:M}),g)W(rt);else{rt.invisible=!1;var ot=o.getVisual("style"),Vt=ot.fill,_t=mS(x);_t.fill=Vt,_t.decal=ot.decal;var Wt=Ln(b),Gt=Ln(T),ve=Ln(C);Z(rt,Vt,ot.opacity,null),rt.setStyle(_t),rt.ensureState("emphasis").style=Wt,rt.ensureState("blur").style=Gt,rt.ensureState("select").style=ve,ii(rt)}pt.add(rt)}function W(pt){!pt.invisible&&i.push(pt)}function Z(pt,rt,yt,ht){var X=v.getModel(ht?yS:gS),ot=Qt(v.get("name"),null),Vt=X.getShallow("show");fe(pt,ee(v,ht?yS:gS),{defaultText:Vt?ot:null,inheritColor:rt,defaultOpacity:yt,labelFetcher:r,labelDataIndex:o.dataIndex});var _t=pt.getTextContent();if(_t){var Wt=_t.style,Gt=jd(Wt.padding||0);ht&&(pt.setTextConfig({layoutRect:ht}),_t.disableLabelLayout=!0),_t.beforeUpdate=function(){var Yr=Math.max((ht?ht.width:pt.shape.width)-Gt[1]-Gt[3],0),Me=Math.max((ht?ht.height:pt.shape.height)-Gt[0]-Gt[2],0);(Wt.width!==Yr||Wt.height!==Me)&&_t.setStyle({width:Yr,height:Me})},Wt.truncateMinChar=2,Wt.lineOverflow="truncate",Q(Wt,ht,f);var ve=_t.getState("emphasis");Q(ve?ve.style:null,ht,f)}}function Q(pt,rt,yt){var ht=pt?pt.text:null;if(!rt&&yt.isLeafRoot&&ht!=null){var X=r.get("drillDownIcon",!0);pt.text=X?X+" "+ht:ht}}function j(pt,rt,yt,ht){var X=m!=null&&t[pt][m],ot=n[pt];return X?(t[pt][m]=null,gt(ot,X)):g||(X=new rt,X instanceof ir&&(X.z2=K3(yt,ht)),At(ot,X)),e[pt][y]=X}function gt(pt,rt){var yt=pt[y]={};rt instanceof yd?(yt.oldX=rt.x,yt.oldY=rt.y):yt.oldShape=B({},rt.shape)}function At(pt,rt){var yt=pt[y]={},ht=o.parentNode,X=rt instanceof at;if(ht&&(!a||a.direction==="drillDown")){var ot=0,Vt=0,_t=n.background[ht.getRawIndex()];!a&&_t&&_t.oldShape&&(ot=_t.oldShape.width,Vt=_t.oldShape.height),X?(yt.oldX=0,yt.oldY=Vt):yt.oldShape={x:ot,y:Vt,width:0,height:0}}yt.fadein=!X}}function K3(r,e){return r*U3+e}const Q3=X3;var Qs=A,J3=tt,Of=-1,dy=function(){function r(e){var t=e.mappingMethod,a=e.type,n=this.option=et(e);this.type=a,this.mappingMethod=t,this._normalizeData=eF[t];var i=r.visualHandlers[a];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[t],t==="piecewise"?(vc(n),j3(n)):t==="category"?n.categories?tF(n):vc(n,!0):(Ce(t!=="linear"||n.dataExtent),vc(n))}return r.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},r.prototype.getNormalizer=function(){return U(this._normalizeData,this)},r.listVisualTypes=function(){return mt(r.visualHandlers)},r.isValidType=function(e){return r.visualHandlers.hasOwnProperty(e)},r.eachVisual=function(e,t,a){tt(e)?A(e,t,a):t.call(a,e)},r.mapVisual=function(e,t,a){var n,i=z(e)?[]:tt(e)?{}:(n=!0,null);return r.eachVisual(e,function(o,s){var l=t.call(a,o,s);n?i=l:i[s]=l}),i},r.retrieveVisuals=function(e){var t={},a;return e&&Qs(r.visualHandlers,function(n,i){e.hasOwnProperty(i)&&(t[i]=e[i],a=!0)}),a?t:null},r.prepareVisualTypes=function(e){if(z(e))e=e.slice();else if(J3(e)){var t=[];Qs(e,function(a,n){t.push(n)}),e=t}else return[];return e.sort(function(a,n){return n==="color"&&a!=="color"&&a.indexOf("color")===0?1:-1}),e},r.dependsOn=function(e,t){return t==="color"?!!(e&&e.indexOf(t)===0):e===t},r.findPieceIndex=function(e,t,a){for(var n,i=1/0,o=0,s=t.length;o=0;i--)a[i]==null&&(delete t[e[i]],e.pop())}function vc(r,e){var t=r.visual,a=[];tt(t)?Qs(t,function(i){a.push(i)}):t!=null&&a.push(t);var n={color:1,symbol:1};!e&&a.length===1&&!n.hasOwnProperty(r.type)&&(a[1]=a[0]),cD(r,a)}function yu(r){return{applyVisual:function(e,t,a){var n=this.mapValueToVisual(e);a("color",r(t("color"),n))},_normalizedToVisual:md([0,1])}}function _S(r){var e=this.option.visual;return e[Math.round(It(r,[0,1],[0,e.length-1],!0))]||{}}function qo(r){return function(e,t,a){a(r,this.mapValueToVisual(e))}}function fs(r){var e=this.option.visual;return e[this.option.loop&&r!==Of?r%e.length:r]}function Pn(){return this.option.visual[0]}function md(r){return{linear:function(e){return It(e,r,this.option.visual,!0)},category:fs,piecewise:function(e,t){var a=_d.call(this,t);return a==null&&(a=It(e,r,this.option.visual,!0)),a},fixed:Pn}}function _d(r){var e=this.option,t=e.pieceList;if(e.hasSpecialVisual){var a=dy.findPieceIndex(r,t),n=t[a];if(n&&n.visual)return n.visual[this.type]}}function cD(r,e){return r.visual=e,r.type==="color"&&(r.parsedVisual=G(e,function(t){var a=Ge(t);return a||[0,0,0,1]})),e}var eF={linear:function(r){return It(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var e=this.option.pieceList,t=dy.findPieceIndex(r,e,!0);if(t!=null)return It(t,[0,e.length-1],[0,1],!0)},category:function(r){var e=this.option.categories?this.option.categoryMap[r]:r;return e??Of},fixed:Yt};function mu(r,e,t){return r?e<=t:e=t.length||d===t[d.depth]){var y=sF(n,l,d,g,p,a);dD(d,y,t,a)}})}}}function nF(r,e,t){var a=B({},e),n=t.designatedVisualItemStyle;return A(["color","colorAlpha","colorSaturation"],function(i){n[i]=e[i];var o=r.get(i);n[i]=null,o!=null&&(a[i]=o)}),a}function SS(r){var e=cc(r,"color");if(e){var t=cc(r,"colorAlpha"),a=cc(r,"colorSaturation");return a&&(e=ps(e,null,null,a)),t&&(e=af(e,t)),e}}function iF(r,e){return e!=null?ps(e,null,null,r):null}function cc(r,e){var t=r[e];if(t!=null&&t!=="none")return t}function oF(r,e,t,a,n,i){if(!(!i||!i.length)){var o=pc(e,"color")||n.color!=null&&n.color!=="none"&&(pc(e,"colorAlpha")||pc(e,"colorSaturation"));if(o){var s=e.get("visualMin"),l=e.get("visualMax"),u=t.dataExtent.slice();s!=null&&su[1]&&(u[1]=l);var f=e.get("colorMappingBy"),h={type:o.name,dataExtent:u,visual:o.range};h.type==="color"&&(f==="index"||f==="id")?(h.mappingMethod="category",h.loop=!0):h.mappingMethod="linear";var v=new le(h);return pD(v).drColorMappingBy=f,v}}}function pc(r,e){var t=r.get(e);return z(t)&&t.length?{name:e,range:t}:null}function sF(r,e,t,a,n,i){var o=B({},e);if(n){var s=n.type,l=s==="color"&&pD(n).drColorMappingBy,u=l==="index"?a:l==="id"?i.mapIdToIndex(t.getId()):t.getValue(r.get("visualDimension"));o[s]=n.mapValueToVisual(u)}return o}var Js=Math.max,Nf=Math.min,xS=ne,gy=A,gD=["itemStyle","borderWidth"],lF=["itemStyle","gapWidth"],uF=["upperLabel","show"],fF=["upperLabel","height"];const hF={seriesType:"treemap",reset:function(r,e,t,a){var n=t.getWidth(),i=t.getHeight(),o=r.option,s=Jt(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),l=o.size||[],u=H(xS(s.width,l[0]),n),f=H(xS(s.height,l[1]),i),h=a&&a.type,v=["treemapZoomToNode","treemapRootToNode"],c=Ks(a,v,r),p=h==="treemapRender"||h==="treemapMove"?a.rootRect:null,d=r.getViewRoot(),g=fD(d);if(h!=="treemapMove"){var y=h==="treemapZoomToNode"?yF(r,c,d,u,f):p?[p.width,p.height]:[u,f],m=o.sort;m&&m!=="asc"&&m!=="desc"&&(m="desc");var _={squareRatio:o.squareRatio,sort:m,leafDepth:o.leafDepth};d.hostTree.clearLayouts();var S={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};d.setLayout(S),yD(d,_,!1,0),S=d.getLayout(),gy(g,function(x,b){var T=(g[b+1]||d).getValue();x.setLayout(B({dataExtent:[T,T],borderWidth:0,upperHeight:0},S))})}var w=r.getData().tree.root;w.setLayout(mF(s,p,c),!0),r.setLayoutInfo(s),mD(w,new ft(-s.x,-s.y,n,i),g,d,0)}};function yD(r,e,t,a){var n,i;if(!r.isRemoved()){var o=r.getLayout();n=o.width,i=o.height;var s=r.getModel(),l=s.get(gD),u=s.get(lF)/2,f=_D(s),h=Math.max(l,f),v=l-u,c=h-u;r.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:f},!0),n=Js(n-2*v,0),i=Js(i-v-c,0);var p=n*i,d=vF(r,s,p,e,t,a);if(d.length){var g={x:v,y:c,width:n,height:i},y=Nf(n,i),m=1/0,_=[];_.area=0;for(var S=0,w=d.length;S=0;l--){var u=n[a==="asc"?o-l-1:l].getValue();u/t*es[1]&&(s[1]=u)})),{sum:a,dataExtent:s}}function gF(r,e,t){for(var a=0,n=1/0,i=0,o=void 0,s=r.length;ia&&(a=o));var l=r.area*r.area,u=e*e*t;return l?Js(u*a/l,l/(u*n)):1/0}function wS(r,e,t,a,n){var i=e===t.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=t[s[i]],f=e?r.area/e:0;(n||f>t[l[o]])&&(f=t[l[o]]);for(var h=0,v=r.length;hEm&&(u=Em),i=s}ua&&(a=e);var i=a%2?a+2:a+3;n=[];for(var o=0;o0&&(w[0]=-w[0],w[1]=-w[1]);var b=S[0]<0?-1:1;if(i.__position!=="start"&&i.__position!=="end"){var T=-Math.atan2(S[1],S[0]);h[0].8?"left":v[0]<-.8?"right":"center",d=v[1]>.8?"top":v[1]<-.8?"bottom":"middle";break;case"start":i.x=-v[0]*y+f[0],i.y=-v[1]*m+f[1],p=v[0]>.8?"right":v[0]<-.8?"left":"center",d=v[1]>.8?"bottom":v[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=y*b+f[0],i.y=f[1]+C,p=S[0]<0?"right":"left",i.originX=-y*b,i.originY=-C;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+C,p="center",i.originY=-C;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-y*b+h[0],i.y=h[1]+C,p=S[0]>=0?"right":"left",i.originX=y*b,i.originY=-C;break}i.scaleX=i.scaleY=o,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||p})}},e}(at);const Sy=BF;var VF=function(){function r(e){this.group=new at,this._LineCtor=e||Sy}return r.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var a=this,n=a.group,i=a._lineData;a._lineData=e,i||n.removeAll();var o=MS(e);e.diff(i).add(function(s){t._doAdd(e,s,o)}).update(function(s,l){t._doUpdate(i,e,l,s,o)}).remove(function(s){n.remove(i.getItemGraphicEl(s))}).execute()},r.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,a){t.updateLayout(e,a)},this)},r.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=MS(e),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(e,t){this._progressiveEls=[];function a(s){!s.isGroup&&!zF(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var n=e.start;n0}function MS(r){var e=r.hostModel,t=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:t.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:t.get("disabled"),blurScope:t.get("blurScope"),focus:t.get("focus"),labelStatesModels:ee(e)}}function DS(r){return isNaN(r[0])||isNaN(r[1])}function _c(r){return r&&!DS(r[0])&&!DS(r[1])}const xy=VF;var Sc=[],xc=[],wc=[],Li=ae,bc=Yn,IS=Math.abs;function LS(r,e,t){for(var a=r[0],n=r[1],i=r[2],o=1/0,s,l=t*t,u=.1,f=.1;f<=.9;f+=.1){Sc[0]=Li(a[0],n[0],i[0],f),Sc[1]=Li(a[1],n[1],i[1],f);var h=IS(bc(Sc,e)-l);h=0?s=s+u:s=s-u:p>=0?s=s-u:s=s+u}return s}function Tc(r,e){var t=[],a=Ps,n=[[],[],[]],i=[[],[]],o=[];e/=2,r.eachEdge(function(s,l){var u=s.getLayout(),f=s.getVisual("fromSymbol"),h=s.getVisual("toSymbol");u.__original||(u.__original=[ra(u[0]),ra(u[1])],u[2]&&u.__original.push(ra(u[2])));var v=u.__original;if(u[2]!=null){if(xe(n[0],v[0]),xe(n[1],v[2]),xe(n[2],v[1]),f&&f!=="none"){var c=vs(s.node1),p=LS(n,v[0],c*e);a(n[0][0],n[1][0],n[2][0],p,t),n[0][0]=t[3],n[1][0]=t[4],a(n[0][1],n[1][1],n[2][1],p,t),n[0][1]=t[3],n[1][1]=t[4]}if(h&&h!=="none"){var c=vs(s.node2),p=LS(n,v[1],c*e);a(n[0][0],n[1][0],n[2][0],p,t),n[1][0]=t[1],n[2][0]=t[2],a(n[0][1],n[1][1],n[2][1],p,t),n[1][1]=t[1],n[2][1]=t[2]}xe(u[0],n[0]),xe(u[1],n[2]),xe(u[2],n[1])}else{if(xe(i[0],v[0]),xe(i[1],v[1]),Vn(o,i[1],i[0]),lo(o,o),f&&f!=="none"){var c=vs(s.node1);up(i[0],i[0],o,c*e)}if(h&&h!=="none"){var c=vs(s.node2);up(i[1],i[1],o,-c*e)}xe(u[0],i[0]),xe(u[1],i[1])}})}function PS(r){return r.type==="view"}var GF=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){var n=new _l,i=new xy,o=this.group;this._controller=new bl(a.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,a,n){var i=this,o=t.coordinateSystem;this._model=t;var s=this._symbolDraw,l=this._lineDraw,u=this.group;if(PS(o)){var f={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?u.attr(f):Mt(u,f,t)}Tc(t.getGraph(),hs(t));var h=t.getData();s.updateData(h);var v=t.getEdgeData();l.updateData(v),this._updateNodeAndLinkScale(),this._updateController(t,a,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");h.graph.eachNode(function(_){var S=_.dataIndex,w=_.getGraphicEl(),x=_.getModel();if(w){w.off("drag").off("dragend");var b=x.get("draggable");b&&w.on("drag",function(C){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(S),h.setItemLayout(S,[w.x,w.y]);break;case"circular":h.setItemLayout(S,[w.x,w.y]),_.setLayout({fixed:!0},!0),_y(t,"symbolSize",_,[C.offsetX,C.offsetY]),i.updateLayout(t);break;case"none":default:h.setItemLayout(S,[w.x,w.y]),my(t.getGraph(),t),i.updateLayout(t);break}}).on("dragend",function(){c&&c.setUnfixed(S)}),w.setDraggable(b,!!x.get("cursor"));var T=x.get(["emphasis","focus"]);T==="adjacency"&&(nt(w).focus=_.getAdjacentDataIndices())}}),h.graph.eachEdge(function(_){var S=_.getGraphicEl(),w=_.getModel().get(["emphasis","focus"]);S&&w==="adjacency"&&(nt(S).focus={edge:[_.dataIndex],node:[_.node1.dataIndex,_.node2.dataIndex]})});var g=t.get("layout")==="circular"&&t.get(["circular","rotateLabel"]),y=h.getLayout("cx"),m=h.getLayout("cy");h.graph.eachNode(function(_){bD(_,g,y,m)}),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,a){var n=this;(function i(){t.step(function(o){n.updateLayout(n._model),(n._layouting=!o)&&(a?n._layoutTimeout=setTimeout(i,16):i())})})()},e.prototype._updateController=function(t,a,n){var i=this,o=this._controller,s=this._controllerHost,l=this.group;if(o.setPointerChecker(function(u,f,h){var v=l.getBoundingRect();return v.applyTransform(l.transform),v.contain(f,h)&&!Ih(u,n,t)}),!PS(t.coordinateSystem)){o.disable();return}o.enable(t.get("roam")),s.zoomLimit=t.get("scaleLimit"),s.zoom=t.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){ly(s,u.dx,u.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){uy(s,u.scale,u.originX,u.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(),Tc(t.getGraph(),hs(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,a=t.getData(),n=hs(t);a.eachItemGraphicEl(function(i,o){i&&i.setSymbolScale(n)})},e.prototype.updateLayout=function(t){Tc(t.getGraph(),hs(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,a){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Nt);const FF=GF;function Pi(r){return"_EC_"+r}var HF=function(){function r(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return r.prototype.isDirected=function(){return this._directed},r.prototype.addNode=function(e,t){e=e==null?""+t:""+e;var a=this._nodesMap;if(!a[Pi(e)]){var n=new Rn(e,t);return n.hostGraph=this,this.nodes.push(n),a[Pi(e)]=n,n}},r.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},r.prototype.getNodeById=function(e){return this._nodesMap[Pi(e)]},r.prototype.addEdge=function(e,t,a){var n=this._nodesMap,i=this._edgesMap;if(Ct(e)&&(e=this.nodes[e]),Ct(t)&&(t=this.nodes[t]),e instanceof Rn||(e=n[Pi(e)]),t instanceof Rn||(t=n[Pi(t)]),!(!e||!t)){var o=e.id+"-"+t.id,s=new CD(e,t,a);return s.hostGraph=this,this._directed&&(e.outEdges.push(s),t.inEdges.push(s)),e.edges.push(s),e!==t&&t.edges.push(s),this.edges.push(s),i[o]=s,s}},r.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},r.prototype.getEdge=function(e,t){e instanceof Rn&&(e=e.id),t instanceof Rn&&(t=t.id);var a=this._edgesMap;return this._directed?a[e+"-"+t]:a[e+"-"+t]||a[t+"-"+e]},r.prototype.eachNode=function(e,t){for(var a=this.nodes,n=a.length,i=0;i=0&&e.call(t,a[i],i)},r.prototype.eachEdge=function(e,t){for(var a=this.edges,n=a.length,i=0;i=0&&a[i].node1.dataIndex>=0&&a[i].node2.dataIndex>=0&&e.call(t,a[i],i)},r.prototype.breadthFirstTraverse=function(e,t,a,n){if(t instanceof Rn||(t=this._nodesMap[Pi(t)]),!!t){for(var i=a==="out"?"outEdges":a==="in"?"inEdges":"edges",o=0;o=0&&l.node2.dataIndex>=0});for(var i=0,o=n.length;i=0&&this[r][e].setItemVisual(this.dataIndex,t,a)},getVisual:function(t){return this[r][e].getItemVisual(this.dataIndex,t)},setLayout:function(t,a){this.dataIndex>=0&&this[r][e].setItemLayout(this.dataIndex,t,a)},getLayout:function(){return this[r][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][e].getRawIndex(this.dataIndex)}}}Kt(Rn,AD("hostGraph","data"));Kt(CD,AD("hostGraph","edgeData"));const WF=HF;function MD(r,e,t,a,n){for(var i=new WF(a),o=0;o "+v)),u++)}var c=t.get("coordinateSystem"),p;if(c==="cartesian2d"||c==="polar")p=da(r,t);else{var d=vl.get(c),g=d?d.dimensions||[]:[];vt(g,"value")<0&&g.concat(["value"]);var y=dl(r,{coordDimensions:g,encodeDefine:t.getEncode()}).dimensions;p=new Te(y,t),p.initData(r)}var m=new Te(["value"],t);return m.initData(l,s),n&&n(p,m),lD({mainData:p,struct:i,structAttr:"graph",datas:{node:p,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var $F=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments);var a=this;function n(){return a._categoriesData}this.legendVisualProvider=new wl(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(t){r.prototype.mergeDefaultAndTheme.apply(this,arguments),ri(t,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,a){var n=t.edges||t.links||[],i=t.data||t.nodes||[],o=this;if(i&&n){CF(this);var s=MD(i,n,this,!0,l);return A(s.edges,function(u){AF(u.node1,u.node2,this,u.dataIndex)},this),s.data}function l(u,f){u.wrapMethod("getItemModel",function(p){var d=o._categoriesModels,g=p.getShallow("category"),y=d[g];return y&&(y.parentModel=p.parentModel,p.parentModel=y),p});var h=Ot.prototype.getModel;function v(p,d){var g=h.call(this,p,d);return g.resolveParentPath=c,g}f.wrapMethod("getItemModel",function(p){return p.resolveParentPath=c,p.getModel=v,p});function c(p){if(p&&(p[0]==="label"||p[1]==="label")){var d=p.slice();return p[0]==="label"?d[0]="edgeLabel":p[1]==="label"&&(d[1]="edgeLabel"),d}return p}}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,a,n){if(n==="edge"){var i=this.getData(),o=this.getDataParams(t,n),s=i.graph.getEdgeByIndex(t),l=i.getName(s.node1.dataIndex),u=i.getName(s.node2.dataIndex),f=[];return l!=null&&f.push(l),u!=null&&f.push(u),re("nameValue",{name:f.join(" > "),value:o.value,noValue:o.value==null})}var h=XC({series:this,dataIndex:t,multipleSeries:a});return h},e.prototype._updateCategoriesData=function(){var t=G(this.option.categories||[],function(n){return n.value!=null?n:B({value:0},n)}),a=new Te(["value"],this);a.initData(t),this._categoriesData=a,this._categoriesModels=a.mapArray(function(n){return a.getItemModel(n)})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return r.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(zt);const UF=$F;var YF={type:"graphRoam",event:"graphRoam",update:"none"};function ZF(r){r.registerChartView(FF),r.registerSeriesModel(UF),r.registerProcessor(SF),r.registerVisual(xF),r.registerVisual(wF),r.registerLayout(MF),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,IF),r.registerLayout(PF),r.registerCoordinateSystem("graphView",{dimensions:Tl.dimensions,create:EF}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Yt),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Yt),r.registerAction(YF,function(e,t,a){t.eachComponent({mainType:"series",query:e},function(n){var i=n.coordinateSystem,o=hy(i,e,void 0,a);n.setCenter&&n.setCenter(o.center),n.setZoom&&n.setZoom(o.zoom)})})}var XF=function(){function r(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return r}(),qF=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="pointer",a}return e.prototype.getDefaultShape=function(){return new XF},e.prototype.buildPath=function(t,a){var n=Math.cos,i=Math.sin,o=a.r,s=a.width,l=a.angle,u=a.x-n(l)*s*(s>=o/3?1:2),f=a.y-i(l)*s*(s>=o/3?1:2);l=a.angle-Math.PI/2,t.moveTo(u,f),t.lineTo(a.x+n(l)*s,a.y+i(l)*s),t.lineTo(a.x+n(a.angle)*o,a.y+i(a.angle)*o),t.lineTo(a.x-n(l)*s,a.y-i(l)*s),t.lineTo(u,f)},e}(dt);const KF=qF;function QF(r,e){var t=r.get("center"),a=e.getWidth(),n=e.getHeight(),i=Math.min(a,n),o=H(t[0],e.getWidth()),s=H(t[1],e.getHeight()),l=H(r.get("radius"),i/2);return{cx:o,cy:s,r:l}}function Su(r,e){var t=r==null?"":r+"";return e&&($(e)?t=e.replace("{value}",t):K(e)&&(t=e(r))),t}var JF=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),o=QF(t,n);this._renderMain(t,a,n,i,o),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,a,n,i,o){var s=this.group,l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,f=-t.get("endAngle")/180*Math.PI,h=t.getModel("axisLine"),v=h.get("roundCap"),c=v?Pf:ke,p=h.get("show"),d=h.getModel("lineStyle"),g=d.get("width"),y=[u,f];nT(y,!l),u=y[0],f=y[1];for(var m=f-u,_=u,S=[],w=0;p&&w=C&&(M===0?0:i[M-1][0])Math.PI/2&&(j+=Math.PI)):Q==="tangential"?j=-T-Math.PI/2:Ct(Q)&&(j=Q*Math.PI/180),j===0?h.add(new Tt({style:kt(_,{text:V,x:W,y:Z,verticalAlign:R<-.8?"top":R>.8?"bottom":"middle",align:P<-.4?"left":P>.4?"right":"center"},{inheritColor:F}),silent:!0})):h.add(new Tt({style:kt(_,{text:V,x:W,y:Z,verticalAlign:"middle",align:"center"},{inheritColor:F}),silent:!0,originX:W,originY:Z,rotation:j}))}if(m.get("show")&&E!==S){var N=m.get("distance");N=N?N+f:f;for(var gt=0;gt<=w;gt++){P=Math.cos(T),R=Math.sin(T);var At=new ie({shape:{x1:P*(p-N)+v,y1:R*(p-N)+c,x2:P*(p-b-N)+v,y2:R*(p-b-N)+c},silent:!0,style:I});I.stroke==="auto"&&At.setStyle({stroke:i((E+gt/w)/S)}),h.add(At),T+=M}T-=M}else T+=C}},e.prototype._renderPointer=function(t,a,n,i,o,s,l,u,f){var h=this.group,v=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),g=t.getModel("progress"),y=g.get("show"),m=t.getData(),_=m.mapDimension("value"),S=+t.get("min"),w=+t.get("max"),x=[S,w],b=[s,l];function T(M,D){var I=m.getItemModel(M),L=I.getModel("pointer"),P=H(L.get("width"),o.r),R=H(L.get("length"),o.r),E=t.get(["pointer","icon"]),N=L.get("offsetCenter"),O=H(N[0],o.r),V=H(N[1],o.r),F=L.get("keepAspect"),W;return E?W=qt(E,O-P/2,V-R,P,R,null,F):W=new KF({shape:{angle:-Math.PI/2,width:P,r:R,x:O,y:V}}),W.rotation=-(D+Math.PI/2),W.x=o.cx,W.y=o.cy,W}function C(M,D){var I=g.get("roundCap"),L=I?Pf:ke,P=g.get("overlap"),R=P?g.get("width"):f/m.count(),E=P?o.r-R:o.r-(M+1)*R,N=P?o.r:o.r-M*R,O=new L({shape:{startAngle:s,endAngle:D,cx:o.cx,cy:o.cy,clockwise:u,r0:E,r:N}});return P&&(O.z2=w-m.get(_,M)%w),O}(y||d)&&(m.diff(v).add(function(M){var D=m.get(_,M);if(d){var I=T(M,s);Bt(I,{rotation:-((isNaN(+D)?b[0]:It(D,x,b,!0))+Math.PI/2)},t),h.add(I),m.setItemGraphicEl(M,I)}if(y){var L=C(M,s),P=g.get("clip");Bt(L,{shape:{endAngle:It(D,x,b,P)}},t),h.add(L),kp(t.seriesIndex,m.dataType,M,L),p[M]=L}}).update(function(M,D){var I=m.get(_,M);if(d){var L=v.getItemGraphicEl(D),P=L?L.rotation:s,R=T(M,P);R.rotation=P,Mt(R,{rotation:-((isNaN(+I)?b[0]:It(I,x,b,!0))+Math.PI/2)},t),h.add(R),m.setItemGraphicEl(M,R)}if(y){var E=c[D],N=E?E.shape.endAngle:s,O=C(M,N),V=g.get("clip");Mt(O,{shape:{endAngle:It(I,x,b,V)}},t),h.add(O),kp(t.seriesIndex,m.dataType,M,O),p[M]=O}}).execute(),m.each(function(M){var D=m.getItemModel(M),I=D.getModel("emphasis"),L=I.get("focus"),P=I.get("blurScope"),R=I.get("disabled");if(d){var E=m.getItemGraphicEl(M),N=m.getItemVisual(M,"style"),O=N.fill;if(E instanceof he){var V=E.style;E.useStyle(B({image:V.image,x:V.x,y:V.y,width:V.width,height:V.height},N))}else E.useStyle(N),E.type!=="pointer"&&E.setColor(O);E.setStyle(D.getModel(["pointer","itemStyle"]).getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",i(It(m.get(_,M),x,[0,1],!0))),E.z2EmphasisLift=0,ue(E,D),Ft(E,L,P,R)}if(y){var F=p[M];F.useStyle(m.getItemVisual(M,"style")),F.setStyle(D.getModel(["progress","itemStyle"]).getItemStyle()),F.z2EmphasisLift=0,ue(F,D),Ft(F,L,P,R)}}),this._progressEls=p)},e.prototype._renderAnchor=function(t,a){var n=t.getModel("anchor"),i=n.get("show");if(i){var o=n.get("size"),s=n.get("icon"),l=n.get("offsetCenter"),u=n.get("keepAspect"),f=qt(s,a.cx-o/2+H(l[0],a.r),a.cy-o/2+H(l[1],a.r),o,o,null,u);f.z2=n.get("showAbove")?1:0,f.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(f)}},e.prototype._renderTitleAndDetail=function(t,a,n,i,o){var s=this,l=t.getData(),u=l.mapDimension("value"),f=+t.get("min"),h=+t.get("max"),v=new at,c=[],p=[],d=t.isAnimationEnabled(),g=t.get(["pointer","showAbove"]);l.diff(this._data).add(function(y){c[y]=new Tt({silent:!0}),p[y]=new Tt({silent:!0})}).update(function(y,m){c[y]=s._titleEls[m],p[y]=s._detailEls[m]}).execute(),l.each(function(y){var m=l.getItemModel(y),_=l.get(u,y),S=new at,w=i(It(_,[f,h],[0,1],!0)),x=m.getModel("title");if(x.get("show")){var b=x.get("offsetCenter"),T=o.cx+H(b[0],o.r),C=o.cy+H(b[1],o.r),M=c[y];M.attr({z2:g?0:2,style:kt(x,{x:T,y:C,text:l.getName(y),align:"center",verticalAlign:"middle"},{inheritColor:w})}),S.add(M)}var D=m.getModel("detail");if(D.get("show")){var I=D.get("offsetCenter"),L=o.cx+H(I[0],o.r),P=o.cy+H(I[1],o.r),R=H(D.get("width"),o.r),E=H(D.get("height"),o.r),N=t.get(["progress","show"])?l.getItemVisual(y,"style").fill:w,M=p[y],O=D.get("formatter");M.attr({z2:g?0:2,style:kt(D,{x:L,y:P,text:Su(_,O),width:isNaN(R)?null:R,height:isNaN(E)?null:E,align:"center",verticalAlign:"middle"},{inheritColor:N})}),KT(M,{normal:D},_,function(F){return Su(F,O)}),d&&QT(M,y,l,t,{getFormattedLabel:function(F,W,Z,Q,j,gt){return Su(gt?gt.interpolatedValue:_,O)}}),S.add(M)}v.add(S)}),this.group.add(v),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(Nt);const jF=JF;var tH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.visualStyleAccessPath="itemStyle",t}return e.prototype.getInitialData=function(t,a){return To(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(zt);const eH=tH;function rH(r){r.registerChartView(jF),r.registerSeriesModel(eH)}var aH=["itemStyle","opacity"],nH=function(r){k(e,r);function e(t,a){var n=r.call(this)||this,i=n,o=new Ne,s=new Tt;return i.setTextContent(s),n.setTextGuideLine(o),n.updateData(t,a,!0),n}return e.prototype.updateData=function(t,a,n){var i=this,o=t.hostModel,s=t.getItemModel(a),l=t.getItemLayout(a),u=s.getModel("emphasis"),f=s.get(aH);f=f??1,n||Sr(i),i.useStyle(t.getItemVisual(a,"style")),i.style.lineJoin="round",n?(i.setShape({points:l.points}),i.style.opacity=0,Bt(i,{style:{opacity:f}},o,a)):Mt(i,{style:{opacity:f},shape:{points:l.points}},o,a),ue(i,s),this._updateLabel(t,a),Ft(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},e.prototype._updateLabel=function(t,a){var n=this,i=this.getTextGuideLine(),o=n.getTextContent(),s=t.hostModel,l=t.getItemModel(a),u=t.getItemLayout(a),f=u.label,h=t.getItemVisual(a,"style"),v=h.fill;fe(o,ee(l),{labelFetcher:t.hostModel,labelDataIndex:a,defaultOpacity:h.opacity,defaultText:t.getName(a)},{normal:{align:f.textAlign,verticalAlign:f.verticalAlign}}),n.setTextConfig({local:!0,inside:!!f.inside,insideStroke:v,outsideFill:v});var c=f.linePoints;i.setShape({points:c}),n.textGuideLineConfig={anchor:c?new st(c[0][0],c[0][1]):null},Mt(o,{style:{x:f.x,y:f.y}},s,a),o.attr({rotation:f.rotation,originX:f.x,originY:f.y,z2:10}),jg(n,ty(l),{stroke:v})},e}(Oe),iH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.ignoreLabelLineUpdate=!0,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this._data,s=this.group;i.diff(o).add(function(l){var u=new nH(i,l);i.setItemGraphicEl(l,u),s.add(u)}).update(function(l,u){var f=o.getItemGraphicEl(u);f.updateData(i,l),s.add(f),i.setItemGraphicEl(l,f)}).remove(function(l){var u=o.getItemGraphicEl(l);Vs(u,t,l)}).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Nt);const oH=iH;var sH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new wl(U(this.getData,this),U(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.getInitialData=function(t,a){return To(this,{coordDimensions:["value"],encodeDefaulter:it(Ig,this)})},e.prototype._defaultLabelLine=function(t){ri(t,"labelLine",["show"]);var a=t.labelLine,n=t.emphasis.labelLine;a.show=a.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(t){var a=this.getData(),n=r.prototype.getDataParams.call(this,t),i=a.mapDimension("value"),o=a.getSum(i);return n.percent=o?+(a.get(i,t)/o*100).toFixed(2):0,n.$vars.push("percent"),n},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(zt);const lH=sH;function uH(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function fH(r,e){for(var t=r.mapDimension("value"),a=r.mapArray(t,function(l){return l}),n=[],i=e==="ascending",o=0,s=r.count();oIH)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);n.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!Ac(this,"mousemove"))){var e=this._model,t=e.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),a=t.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function Ac(r,e){var t=r._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===e}const RH=LH;var EH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var a=this.option;t&&ut(a,t,!0),this._initDimensions()},e.prototype.contains=function(t,a){var n=t.get("parallelIndex");return n!=null&&a.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){A(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){t.hasOwnProperty(a)&&(this.option[a]=t[a])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],a=this.parallelAxisIndex=[],n=Lt(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this);A(n,function(i){t.push("dim"+i.get("dim")),a.push(i.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(wt);const kH=EH;var OH=function(r){k(e,r);function e(t,a,n,i,o){var s=r.call(this,t,a,n)||this;return s.type=i||"value",s.axisIndex=o,s}return e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},e}(wr);const NH=OH;function di(r,e,t,a,n,i){r=r||0;var o=t[1]-t[0];if(n!=null&&(n=Ri(n,[0,o])),i!=null&&(i=Math.max(i,n??0)),a==="all"){var s=Math.abs(e[1]-e[0]);s=Ri(s,[0,o]),n=i=Ri(s,[n,i]),a=0}e[0]=Ri(e[0],t),e[1]=Ri(e[1],t);var l=Mc(e,a);e[a]+=r;var u=n||0,f=t.slice();l.sign<0?f[0]+=u:f[1]-=u,e[a]=Ri(e[a],f);var h;return h=Mc(e,a),n!=null&&(h.sign!==l.sign||h.spani&&(e[1-a]=e[a]+h.sign*i),e}function Mc(r,e){var t=r[e]-r[1-e];return{span:Math.abs(t),sign:t>0?-1:t<0?1:e?-1:1}}function Ri(r,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,r))}var Dc=A,ID=Math.min,LD=Math.max,kS=Math.floor,BH=Math.ceil,OS=$t,VH=Math.PI,zH=function(){function r(e,t,a){this.type="parallel",this._axesMap=q(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,a)}return r.prototype._init=function(e,t,a){var n=e.dimensions,i=e.parallelAxisIndex;Dc(n,function(o,s){var l=i[s],u=t.getComponent("parallelAxis",l),f=this._axesMap.set(o,new NH(o,Ah(u),[0,0],u.get("type"),l)),h=f.type==="category";f.onBand=h&&u.get("boundaryGap"),f.inverse=u.get("inverse"),u.axis=f,f.model=u,f.coordinateSystem=u.coordinateSystem=this},this)},r.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},r.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),a=t.axisBase,n=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],s=e[i];return o>=a&&o<=a+t.axisLength&&s>=n&&s<=n+t.layoutLength},r.prototype.getModel=function(){return this._model},r.prototype._updateAxesFromSeries=function(e,t){t.eachSeries(function(a){if(e.contains(a,t)){var n=a.getData();Dc(this.dimensions,function(i){var o=this._axesMap.get(i);o.scale.unionExtentFromData(n,n.mapDimension(i)),eo(o.scale,o.model)},this)}},this)},r.prototype.resize=function(e,t){this._rect=Jt(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},r.prototype.getRect=function(){return this._rect},r.prototype._makeLayoutInfo=function(){var e=this._model,t=this._rect,a=["x","y"],n=["width","height"],i=e.get("layout"),o=i==="horizontal"?0:1,s=t[n[o]],l=[0,s],u=this.dimensions.length,f=xu(e.get("axisExpandWidth"),l),h=xu(e.get("axisExpandCount")||0,[0,u]),v=e.get("axisExpandable")&&u>3&&u>h&&h>1&&f>0&&s>0,c=e.get("axisExpandWindow"),p;if(c)p=xu(c[1]-c[0],l),c[1]=c[0]+p;else{p=xu(f*(h-1),l);var d=e.get("axisExpandCenter")||kS(u/2);c=[f*d-p/2],c[1]=c[0]+p}var g=(s-p)/(u-h);g<3&&(g=0);var y=[kS(OS(c[0]/f,1))+1,BH(OS(c[1]/f,1))-1],m=g/f*c[0];return{layout:i,pixelDimIndex:o,layoutBase:t[a[o]],layoutLength:s,axisBase:t[a[1-o]],axisLength:t[n[1-o]],axisExpandable:v,axisExpandWidth:f,axisCollapseWidth:g,axisExpandWindow:c,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:m}},r.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,a=this.dimensions,n=this._makeLayoutInfo(),i=n.layout;t.each(function(o){var s=[0,n.axisLength],l=o.inverse?1:0;o.setExtent(s[l],s[1-l])}),Dc(a,function(o,s){var l=(n.axisExpandable?FH:GH)(s,n),u={horizontal:{x:l.position,y:n.axisLength},vertical:{x:0,y:l.position}},f={horizontal:VH/2,vertical:0},h=[u[i].x+e.x,u[i].y+e.y],v=f[i],c=nr();fi(c,c,v),zr(c,c,h),this._axesLayout[o]={position:h,rotation:v,transform:c,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},r.prototype.getAxis=function(e){return this._axesMap.get(e)},r.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},r.prototype.eachActiveState=function(e,t,a,n){a==null&&(a=0),n==null&&(n=e.count());var i=this._axesMap,o=this.dimensions,s=[],l=[];A(o,function(g){s.push(e.mapDimension(g)),l.push(i.get(g).model)});for(var u=this.hasAxisBrushed(),f=a;fi*(1-h[0])?(u="jump",l=s-i*(1-h[2])):(l=s-i*h[1])>=0&&(l=s-i*(1-h[1]))<=0&&(l=0),l*=t.axisExpandWidth/f,l?di(l,n,o,"all"):u="none";else{var c=n[1]-n[0],p=o[1]*s/c;n=[LD(0,p-c/2)],n[1]=ID(o[1],n[0]+c),n[0]=n[1]-c}return{axisExpandWindow:n,behavior:u}},r}();function xu(r,e){return ID(LD(r,e[0]),e[1])}function GH(r,e){var t=e.layoutLength/(e.axisCount-1);return{position:t*r,axisNameAvailableWidth:t,axisLabelShow:!0}}function FH(r,e){var t=e.layoutLength,a=e.axisExpandWidth,n=e.axisCount,i=e.axisCollapseWidth,o=e.winInnerIndices,s,l=i,u=!1,f;return r=0;n--)rr(a[n])},e.prototype.getActiveState=function(t){var a=this.activeIntervals;if(!a.length)return"normal";if(t==null||isNaN(+t))return"inactive";if(a.length===1){var n=a[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,o=a.length;iXH}function BD(r){var e=r.length-1;return e<0&&(e=0),[r[0],r[e]]}function VD(r,e,t,a){var n=new at;return n.add(new St({name:"main",style:Cy(t),silent:!0,draggable:!0,cursor:"move",drift:it(zS,r,e,n,["n","s","w","e"]),ondragend:it(li,e,{isEnd:!0})})),A(a,function(i){n.add(new St({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:it(zS,r,e,n,i),ondragend:it(li,e,{isEnd:!0})}))}),n}function zD(r,e,t,a){var n=a.brushStyle.lineWidth||0,i=no(n,qH),o=t[0][0],s=t[1][0],l=o-n/2,u=s-n/2,f=t[0][1],h=t[1][1],v=f-i+n/2,c=h-i+n/2,p=f-o,d=h-s,g=p+n,y=d+n;qr(r,e,"main",o,s,p,d),a.transformable&&(qr(r,e,"w",l,u,i,y),qr(r,e,"e",v,u,i,y),qr(r,e,"n",l,u,g,i),qr(r,e,"s",l,c,g,i),qr(r,e,"nw",l,u,i,i),qr(r,e,"ne",v,u,i,i),qr(r,e,"sw",l,c,i,i),qr(r,e,"se",v,c,i,i))}function Td(r,e){var t=e.__brushOption,a=t.transformable,n=e.childAt(0);n.useStyle(Cy(t)),n.attr({silent:!a,cursor:a?"move":"default"}),A([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=e.childOfName(i.join("")),s=i.length===1?Cd(r,i[0]):r4(r,i);o&&o.attr({silent:!a,invisible:!a,cursor:a?QH[s]+"-resize":null})})}function qr(r,e,t,a,n,i,o){var s=e.childOfName(t);s&&s.setShape(n4(Ay(r,e,[[a,n],[a+i,n+o]])))}function Cy(r){return J({strokeNoScale:!0},r.brushStyle)}function GD(r,e,t,a){var n=[tl(r,t),tl(e,a)],i=[no(r,t),no(e,a)];return[[n[0],i[0]],[n[1],i[1]]]}function e4(r){return Qn(r.group)}function Cd(r,e){var t={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},n=hh(t[e],e4(r));return a[n]}function r4(r,e){var t=[Cd(r,e[0]),Cd(r,e[1])];return(t[0]==="e"||t[0]==="w")&&t.reverse(),t.join("")}function zS(r,e,t,a,n,i){var o=t.__brushOption,s=r.toRectRange(o.range),l=FD(e,n,i);A(a,function(u){var f=KH[u];s[f[0]][f[1]]+=l[f[0]]}),o.range=r.fromRectRange(GD(s[0][0],s[1][0],s[0][1],s[1][1])),wy(e,t),li(e,{isEnd:!1})}function a4(r,e,t,a){var n=e.__brushOption.range,i=FD(r,t,a);A(n,function(o){o[0]+=i[0],o[1]+=i[1]}),wy(r,e),li(r,{isEnd:!1})}function FD(r,e,t){var a=r.group,n=a.transformCoordToLocal(e,t),i=a.transformCoordToLocal(0,0);return[n[0]-i[0],n[1]-i[1]]}function Ay(r,e,t){var a=ND(r,e);return a&&a!==si?a.clipPath(t,r._transform):et(t)}function n4(r){var e=tl(r[0][0],r[1][0]),t=tl(r[0][1],r[1][1]),a=no(r[0][0],r[1][0]),n=no(r[0][1],r[1][1]);return{x:e,y:t,width:a-e,height:n-t}}function i4(r,e,t){if(!(!r._brushType||s4(r,e.offsetX,e.offsetY))){var a=r._zr,n=r._covers,i=Ty(r,e,t);if(!r._dragging)for(var o=0;oa.getWidth()||t<0||t>a.getHeight()}var Eh={lineX:HS(0),lineY:HS(1),rect:{createCover:function(r,e){function t(a){return a}return VD({toRectRange:t,fromRectRange:t},r,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var e=BD(r);return GD(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(r,e,t,a){zD(r,e,t,a)},updateCommon:Td,contain:Md},polygon:{createCover:function(r,e){var t=new at;return t.add(new Ne({name:"main",style:Cy(e),silent:!0})),t},getCreatingRange:function(r){return r},endCreating:function(r,e){e.remove(e.childAt(0)),e.add(new Oe({name:"main",draggable:!0,drift:it(a4,r,e),ondragend:it(li,r,{isEnd:!0})}))},updateCoverShape:function(r,e,t,a){e.childAt(0).setShape({points:Ay(r,e,t)})},updateCommon:Td,contain:Md}};function HS(r){return{createCover:function(e,t){return VD({toRectRange:function(a){var n=[a,[0,100]];return r&&n.reverse(),n},fromRectRange:function(a){return a[r]}},e,t,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(e){var t=BD(e),a=tl(t[0][r],t[1][r]),n=no(t[0][r],t[1][r]);return[a,n]},updateCoverShape:function(e,t,a,n){var i,o=ND(e,t);if(o!==si&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(r);else{var s=e._zr;i=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[a,i];r&&l.reverse(),zD(e,t,l,n)},updateCommon:Td,contain:Md}}const My=jH;function WD(r){return r=Dy(r),function(e){return YT(e,r)}}function $D(r,e){return r=Dy(r),function(t){var a=e??t,n=a?r.width:r.height,i=a?r.x:r.y;return[i,i+(n||0)]}}function UD(r,e,t){var a=Dy(r);return function(n,i){return a.contain(i[0],i[1])&&!Ih(n,e,t)}}function Dy(r){return ft.create(r)}var l4=["axisLine","axisTickLabel","axisName"],u4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){r.prototype.init.apply(this,arguments),(this._brushController=new My(a.getZr())).on("brush",U(this._onBrush,this))},e.prototype.render=function(t,a,n,i){if(!f4(t,a,i)){this.axisModel=t,this.api=n,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new at,this.group.add(this._axisGroup),!!t.get("show")){var s=v4(t,a),l=s.coordinateSystem,u=t.getAreaSelectStyle(),f=u.width,h=t.axis.dim,v=l.getAxisLayout(h),c=B({strokeContainThreshold:f},v),p=new va(t,c);A(l4,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(c,u,t,s,f,n),ul(o,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,a,n,i,o,s){var l=n.axis.getExtent(),u=l[1]-l[0],f=Math.min(30,Math.abs(u)*.1),h=ft.create({x:l[0],y:-o/2,width:u,height:o});h.x-=f,h.width+=2*f,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:WD(h),isTargetByCursor:UD(h,s,i),getLinearBrushOtherExtent:$D(h,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(h4(n))},e.prototype._onBrush=function(t){var a=t.areas,n=this.axisModel,i=n.axis,o=G(a,function(s){return[i.coordToData(s.range[0],!0),i.coordToData(s.range[1],!0)]});(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Ht);function f4(r,e,t){return t&&t.type==="axisAreaSelect"&&e.findComponents({mainType:"parallelAxis",query:t})[0]===r}function h4(r){var e=r.axis;return G(r.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}function v4(r,e){return e.getComponent("parallel",r.get("parallelIndex"))}const c4=u4;var p4={type:"axisAreaSelect",event:"axisAreaSelected"};function d4(r){r.registerAction(p4,function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(a){a.axis.model.setActiveIntervals(e.intervals)})}),r.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(a){a.setAxisExpand(e)})})}var g4={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function YD(r){r.registerComponentView(RH),r.registerComponentModel(kH),r.registerCoordinateSystem("parallel",UH),r.registerPreprocessor(AH),r.registerComponentModel(NS),r.registerComponentView(c4),ao(r,"parallel",NS,g4),d4(r)}function y4(r){ct(YD),r.registerChartView(mH),r.registerSeriesModel(wH),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,CH)}var m4=function(){function r(){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}return r}(),_4=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new m4},e.prototype.buildPath=function(t,a){var n=a.extent;t.moveTo(a.x1,a.y1),t.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),a.orient==="vertical"?(t.lineTo(a.x2+n,a.y2),t.bezierCurveTo(a.cpx2+n,a.cpy2,a.cpx1+n,a.cpy1,a.x1+n,a.y1)):(t.lineTo(a.x2,a.y2+n),t.bezierCurveTo(a.cpx2,a.cpy2+n,a.cpx1,a.cpy1+n,a.x1,a.y1+n)),t.closePath()},e.prototype.highlight=function(){ua(this)},e.prototype.downplay=function(){fa(this)},e}(dt),S4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._focusAdjacencyDisabled=!1,t}return e.prototype.render=function(t,a,n){var i=this,o=t.getGraph(),s=this.group,l=t.layoutInfo,u=l.width,f=l.height,h=t.getData(),v=t.getData("edge"),c=t.get("orient");this._model=t,s.removeAll(),s.x=l.x,s.y=l.y,o.eachEdge(function(p){var d=new _4,g=nt(d);g.dataIndex=p.dataIndex,g.seriesIndex=t.seriesIndex,g.dataType="edge";var y=p.getModel(),m=y.getModel("lineStyle"),_=m.get("curveness"),S=p.node1.getLayout(),w=p.node1.getModel(),x=w.get("localX"),b=w.get("localY"),T=p.node2.getLayout(),C=p.node2.getModel(),M=C.get("localX"),D=C.get("localY"),I=p.getLayout(),L,P,R,E,N,O,V,F;switch(d.shape.extent=Math.max(1,I.dy),d.shape.orient=c,c==="vertical"?(L=(x!=null?x*u:S.x)+I.sy,P=(b!=null?b*f:S.y)+S.dy,R=(M!=null?M*u:T.x)+I.ty,E=D!=null?D*f:T.y,N=L,O=P*(1-_)+E*_,V=R,F=P*_+E*(1-_)):(L=(x!=null?x*u:S.x)+S.dx,P=(b!=null?b*f:S.y)+I.sy,R=M!=null?M*u:T.x,E=(D!=null?D*f:T.y)+I.ty,N=L*(1-_)+R*_,O=P,V=L*_+R*(1-_),F=E),d.setShape({x1:L,y1:P,x2:R,y2:E,cpx1:N,cpy1:O,cpx2:V,cpy2:F}),d.useStyle(m.getItemStyle()),d.style.fill){case"source":d.style.fill=p.node1.getVisual("color"),d.style.decal=p.node1.getVisual("style").decal;break;case"target":d.style.fill=p.node2.getVisual("color"),d.style.decal=p.node2.getVisual("style").decal;break;case"gradient":var W=p.node1.getVisual("color"),Z=p.node2.getVisual("color");$(W)&&$(Z)&&(d.style.fill=new ll(0,0,+(c==="horizontal"),+(c==="vertical"),[{color:W,offset:0},{color:Z,offset:1}]))}fe(d,ee(y,"edgeLabel"),{labelFetcher:t,labelDataIndex:p.dataIndex,defaultText:""+y.get("value")}),d.setTextConfig({position:"inside"});var Q=y.getModel("emphasis");ue(d,y,"lineStyle",function(gt){return gt.getItemStyle()}),s.add(d),v.setItemGraphicEl(p.dataIndex,d);var j=Q.get("focus");Ft(d,j==="adjacency"?p.getAdjacentDataIndices():j,Q.get("blurScope"),Q.get("disabled")),nt(d).dataType="edge"}),o.eachNode(function(p){var d=p.getLayout(),g=p.getModel(),y=g.get("localX"),m=g.get("localY"),_=g.getModel("emphasis"),S=new St({shape:{x:y!=null?y*u:d.x,y:m!=null?m*f:d.y,width:d.dx,height:d.dy},style:g.getModel("itemStyle").getItemStyle(),z2:10});fe(S,ee(g),{labelFetcher:t,labelDataIndex:p.dataIndex,defaultText:p.id}),S.disableLabelAnimation=!0,S.setStyle("fill",p.getVisual("color")),S.setStyle("decal",p.getVisual("style").decal),ue(S,g),s.add(S),h.setItemGraphicEl(p.dataIndex,S),nt(S).dataType="node";var w=_.get("focus");Ft(S,w==="adjacency"?p.getAdjacentDataIndices():w,_.get("blurScope"),_.get("disabled"))}),h.eachItemGraphicEl(function(p,d){var g=h.getItemModel(d);g.get("draggable")&&(p.drift=function(y,m){i._focusAdjacencyDisabled=!0,this.shape.x+=y,this.shape.y+=m,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:h.getRawIndex(d),localX:this.shape.x/u,localY:this.shape.y/f})},p.ondragend=function(){i._focusAdjacencyDisabled=!1},p.draggable=!0,p.cursor="move")}),!this._data&&t.isAnimationEnabled()&&s.setClipPath(x4(s.getBoundingRect(),t,function(){s.removeClipPath()})),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Nt);function x4(r,e,t){var a=new St({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return Bt(a,{shape:{width:r.width+20}},e,t),a}const w4=S4;var b4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,a){var n=t.edges||t.links,i=t.data||t.nodes,o=t.levels;this.levelModels=[];for(var s=this.levelModels,l=0;l=0&&(s[o[l].depth]=new Ot(o[l],this,a));if(i&&n){var u=MD(i,n,this,!0,f);return u.data}function f(h,v){h.wrapMethod("getItemModel",function(c,p){var d=c.parentModel,g=d.getData().getItemLayout(p);if(g){var y=g.depth,m=d.levelModels[y];m&&(c.parentModel=m)}return c}),v.wrapMethod("getItemModel",function(c,p){var d=c.parentModel,g=d.getGraph().getEdgeByIndex(p),y=g.node1.getLayout();if(y){var m=y.depth,_=d.levelModels[m];_&&(c.parentModel=_)}return c})}},e.prototype.setNodePosition=function(t,a){var n=this.option.data||this.option.nodes,i=n[t];i.localX=a[0],i.localY=a[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,a,n){function i(c){return isNaN(c)||c==null}if(n==="edge"){var o=this.getDataParams(t,n),s=o.data,l=o.value,u=s.source+" -- "+s.target;return re("nameValue",{name:u,value:l,noValue:i(l)})}else{var f=this.getGraph().getNodeByIndex(t),h=f.getLayout().value,v=this.getDataParams(t,n).data.name;return re("nameValue",{name:v!=null?v+"":null,value:h,noValue:i(h)})}},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(t,a){var n=r.prototype.getDataParams.call(this,t,a);if(n.value==null&&a==="node"){var i=this.getGraph().getNodeByIndex(t),o=i.getLayout().value;n.value=o}return n},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(zt);const T4=b4;function C4(r,e){r.eachSeriesByType("sankey",function(t){var a=t.get("nodeWidth"),n=t.get("nodeGap"),i=A4(t,e);t.layoutInfo=i;var o=i.width,s=i.height,l=t.getGraph(),u=l.nodes,f=l.edges;D4(u);var h=Lt(u,function(d){return d.getLayout().value===0}),v=h.length!==0?0:t.get("layoutIterations"),c=t.get("orient"),p=t.get("nodeAlign");M4(u,f,a,n,o,s,v,c,p)})}function A4(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function M4(r,e,t,a,n,i,o,s,l){I4(r,e,t,n,i,s,l),E4(r,e,i,n,a,o,s),H4(r,s)}function D4(r){A(r,function(e){var t=Ha(e.outEdges,Bf),a=Ha(e.inEdges,Bf),n=e.getValue()||0,i=Math.max(t,a,n);e.setLayout({value:i},!0)})}function I4(r,e,t,a,n,i,o){for(var s=[],l=[],u=[],f=[],h=0,v=0;v=0;y&&g.depth>c&&(c=g.depth),d.setLayout({depth:y?g.depth:h},!0),i==="vertical"?d.setLayout({dy:t},!0):d.setLayout({dx:t},!0);for(var m=0;mh-1?c:h-1;o&&o!=="left"&&L4(r,o,i,b);var T=i==="vertical"?(n-t)/b:(a-t)/b;R4(r,T,i)}function ZD(r){var e=r.hostGraph.data.getRawDataItem(r.dataIndex);return e.depth!=null&&e.depth>=0}function L4(r,e,t,a){if(e==="right"){for(var n=[],i=r,o=0;i.length;){for(var s=0;s0;i--)l*=.99,N4(s,l,o),Ic(s,n,t,a,o),F4(s,l,o),Ic(s,n,t,a,o)}function k4(r,e){var t=[],a=e==="vertical"?"y":"x",n=Lp(r,function(i){return i.getLayout()[a]});return n.keys.sort(function(i,o){return i-o}),A(n.keys,function(i){t.push(n.buckets.get(i))}),t}function O4(r,e,t,a,n,i){var o=1/0;A(r,function(s){var l=s.length,u=0;A(s,function(h){u+=h.getLayout().value});var f=i==="vertical"?(a-(l-1)*n)/u:(t-(l-1)*n)/u;f0&&(s=l.getLayout()[i]+u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),f=l.getLayout()[i]+l.getLayout()[v]+e;var p=n==="vertical"?a:t;if(u=f-e-p,u>0){s=l.getLayout()[i]-u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0),f=s;for(var c=h-2;c>=0;--c)l=o[c],u=l.getLayout()[i]+l.getLayout()[v]+e-f,u>0&&(s=l.getLayout()[i]-u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),f=l.getLayout()[i]}})}function N4(r,e,t){A(r.slice().reverse(),function(a){A(a,function(n){if(n.outEdges.length){var i=Ha(n.outEdges,B4,t)/Ha(n.outEdges,Bf);if(isNaN(i)){var o=n.outEdges.length;i=o?Ha(n.outEdges,V4,t)/o:0}if(t==="vertical"){var s=n.getLayout().x+(i-Ka(n,t))*e;n.setLayout({x:s},!0)}else{var l=n.getLayout().y+(i-Ka(n,t))*e;n.setLayout({y:l},!0)}}})})}function B4(r,e){return Ka(r.node2,e)*r.getValue()}function V4(r,e){return Ka(r.node2,e)}function z4(r,e){return Ka(r.node1,e)*r.getValue()}function G4(r,e){return Ka(r.node1,e)}function Ka(r,e){return e==="vertical"?r.getLayout().x+r.getLayout().dx/2:r.getLayout().y+r.getLayout().dy/2}function Bf(r){return r.getValue()}function Ha(r,e,t){for(var a=0,n=r.length,i=-1;++io&&(o=l)}),A(a,function(s){var l=new le({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}),u=l.mapValueToVisual(s.getLayout().value),f=s.getModel().get(["itemStyle","color"]);f!=null?(s.setVisual("color",f),s.setVisual("style",{fill:f})):(s.setVisual("color",u),s.setVisual("style",{fill:u}))})}n.length&&A(n,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}function $4(r){r.registerChartView(w4),r.registerSeriesModel(T4),r.registerLayout(C4),r.registerVisual(W4),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(a){a.setNodePosition(e.dataIndex,[e.localX,e.localY])})})}var XD=function(){function r(){}return r.prototype.getInitialData=function(e,t){var a,n=t.getComponent("xAxis",this.get("xAxisIndex")),i=t.getComponent("yAxis",this.get("yAxisIndex")),o=n.get("type"),s=i.get("type"),l;o==="category"?(e.layout="horizontal",a=n.getOrdinalMeta(),l=!0):s==="category"?(e.layout="vertical",a=i.getOrdinalMeta(),l=!0):e.layout=e.layout||"horizontal";var u=["x","y"],f=e.layout==="horizontal"?0:1,h=this._baseAxisDim=u[f],v=u[1-f],c=[n,i],p=c[f].get("type"),d=c[1-f].get("type"),g=e.data;if(g&&l){var y=[];A(g,function(S,w){var x;z(S)?(x=S.slice(),S.unshift(w)):z(S.value)?(x=B({},S),x.value=x.value.slice(),S.value.unshift(w)):x=S,y.push(x)}),e.data=y}var m=this.defaultValueDimensions,_=[{name:h,type:Cf(p),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:v,type:Cf(d),dimsDef:m.slice()}];return To(this,{coordDimensions:_,dimensionsCount:m.length+1,encodeDefaulter:it(_C,_,this)})},r.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},r}(),qD=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],t.visualDrawType="stroke",t}return e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(zt);Kt(qD,XD,!0);const U4=qD;var Y4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this.group,s=this._data;this._data||o.removeAll();var l=t.get("layout")==="horizontal"?1:0;i.diff(s).add(function(u){if(i.hasValue(u)){var f=i.getItemLayout(u),h=WS(f,i,u,l,!0);i.setItemGraphicEl(u,h),o.add(h)}}).update(function(u,f){var h=s.getItemGraphicEl(f);if(!i.hasValue(u)){o.remove(h);return}var v=i.getItemLayout(u);h?(Sr(h),KD(v,h,i,u)):h=WS(v,i,u,l),o.add(h),i.setItemGraphicEl(u,h)}).remove(function(u){var f=s.getItemGraphicEl(u);f&&o.remove(f)}).execute(),this._data=i},e.prototype.remove=function(t){var a=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(i){i&&a.remove(i)})},e.type="boxplot",e}(Nt),Z4=function(){function r(){}return r}(),X4=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="boxplotBoxPath",a}return e.prototype.getDefaultShape=function(){return new Z4},e.prototype.buildPath=function(t,a){var n=a.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();id){var S=[y,_];a.push(S)}}}return{boxData:t,outliers:a}}var rW={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==_e){var a="";Dt(a)}var n=eW(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function aW(r){r.registerSeriesModel(U4),r.registerChartView(K4),r.registerLayout(Q4),r.registerTransform(rW)}var nW=["color","borderColor"],iW=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,a,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,a,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,a):this._incrementalRenderNormal(t,a)},e.prototype.eachRendered=function(t){ja(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var a=t.pipelineContext.large;(this._isLargeDraw==null||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},e.prototype._renderNormal=function(t){var a=t.getData(),n=this._data,i=this.group,o=a.getLayout("isSimpleBox"),s=t.get("clip",!0),l=t.coordinateSystem,u=l.getArea&&l.getArea();this._data||i.removeAll(),a.diff(n).add(function(f){if(a.hasValue(f)){var h=a.getItemLayout(f);if(s&&$S(u,h))return;var v=Lc(h,f,!0);Bt(v,{shape:{points:h.ends}},t,f),Pc(v,a,f,o),i.add(v),a.setItemGraphicEl(f,v)}}).update(function(f,h){var v=n.getItemGraphicEl(h);if(!a.hasValue(f)){i.remove(v);return}var c=a.getItemLayout(f);if(s&&$S(u,c)){i.remove(v);return}v?(Mt(v,{shape:{points:c.ends}},t,f),Sr(v)):v=Lc(c),Pc(v,a,f,o),i.add(v),a.setItemGraphicEl(f,v)}).remove(function(f){var h=n.getItemGraphicEl(f);h&&i.remove(h)}).execute(),this._data=a},e.prototype._renderLarge=function(t){this._clear(),US(t,this.group);var a=t.get("clip",!0)?Dh(t.coordinateSystem,!1,t):null;a?this.group.setClipPath(a):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,a){for(var n=a.getData(),i=n.getLayout("isSimpleBox"),o;(o=t.next())!=null;){var s=n.getItemLayout(o),l=Lc(s);Pc(l,n,o,i),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},e.prototype._incrementalRenderLarge=function(t,a){US(a,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Nt),oW=function(){function r(){}return r}(),sW=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="normalCandlestickBox",a}return e.prototype.getDefaultShape=function(){return new oW},e.prototype.buildPath=function(t,a){var n=a.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(dt);function Lc(r,e,t){var a=r.ends;return new sW({shape:{points:t?lW(a,r):a},z2:100})}function $S(r,e){for(var t=!0,a=0;a0?"borderColor":"borderColor0"])||t.get(["itemStyle",r>0?"color":"color0"]);r===0&&(n=t.get(["itemStyle","borderColorDoji"]));var i=t.getModel("itemStyle").getItemStyle(nW);e.useStyle(i),e.style.fill=null,e.style.stroke=n}const fW=iW;var QD=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],t}return e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,a,n){var i=a.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(zt);Kt(QD,XD,!0);const hW=QD;function vW(r){!r||!z(r.series)||A(r.series,function(e){tt(e)&&e.type==="k"&&(e.type="candlestick")})}var cW=["itemStyle","borderColor"],pW=["itemStyle","borderColor0"],dW=["itemStyle","borderColorDoji"],gW=["itemStyle","color"],yW=["itemStyle","color0"],mW={seriesType:"candlestick",plan:xo(),performRawSeries:!0,reset:function(r,e){function t(i,o){return o.get(i>0?gW:yW)}function a(i,o){return o.get(i===0?dW:i>0?cW:pW)}if(!e.isSeriesFiltered(r)){var n=r.pipelineContext.large;return!n&&{progress:function(i,o){for(var s;(s=i.next())!=null;){var l=o.getItemModel(s),u=o.getItemLayout(s).sign,f=l.getItemStyle();f.fill=t(u,l),f.stroke=a(u,l)||f.fill;var h=o.ensureUniqueItemVisual(s,"style");B(h,f)}}}}}};const _W=mW;var SW={seriesType:"candlestick",plan:xo(),reset:function(r){var e=r.coordinateSystem,t=r.getData(),a=xW(r,t),n=0,i=1,o=["x","y"],s=t.getDimensionIndex(t.mapDimension(o[n])),l=G(t.mapDimensionsAll(o[i]),t.getDimensionIndex,t),u=l[0],f=l[1],h=l[2],v=l[3];if(t.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),s<0||l.length<4)return;return{progress:r.pipelineContext.large?p:c};function c(d,g){for(var y,m=g.getStore();(y=d.next())!=null;){var _=m.get(s,y),S=m.get(u,y),w=m.get(f,y),x=m.get(h,y),b=m.get(v,y),T=Math.min(S,w),C=Math.max(S,w),M=N(T,_),D=N(C,_),I=N(x,_),L=N(b,_),P=[];O(P,D,0),O(P,M,1),P.push(F(L),F(D),F(I),F(M));var R=g.getItemModel(y),E=!!R.get(["itemStyle","borderColorDoji"]);g.setItemLayout(y,{sign:YS(m,y,S,w,f,E),initBaseline:S>w?D[i]:M[i],ends:P,brushRect:V(x,b,_)})}function N(W,Z){var Q=[];return Q[n]=Z,Q[i]=W,isNaN(Z)||isNaN(W)?[NaN,NaN]:e.dataToPoint(Q)}function O(W,Z,Q){var j=Z.slice(),gt=Z.slice();j[n]=Wu(j[n]+a/2,1,!1),gt[n]=Wu(gt[n]-a/2,1,!0),Q?W.push(j,gt):W.push(gt,j)}function V(W,Z,Q){var j=N(W,Q),gt=N(Z,Q);return j[n]-=a/2,gt[n]-=a/2,{x:j[0],y:j[1],width:a,height:gt[1]-j[1]}}function F(W){return W[n]=Wu(W[n],1),W}}function p(d,g){for(var y=Or(d.count*4),m=0,_,S=[],w=[],x,b=g.getStore(),T=!!r.get(["itemStyle","borderColorDoji"]);(x=d.next())!=null;){var C=b.get(s,x),M=b.get(u,x),D=b.get(f,x),I=b.get(h,x),L=b.get(v,x);if(isNaN(C)||isNaN(I)||isNaN(L)){y[m++]=NaN,m+=3;continue}y[m++]=YS(b,x,M,D,f,T),S[n]=C,S[i]=I,_=e.dataToPoint(S,null,w),y[m++]=_?_[0]:NaN,y[m++]=_?_[1]:NaN,S[i]=L,_=e.dataToPoint(S,null,w),y[m++]=_?_[1]:NaN}g.setLayout("largePoints",y)}}};function YS(r,e,t,a,n,i){var o;return t>a?o=-1:t0?r.get(n,e-1)<=a?1:-1:1,o}function xW(r,e){var t=r.getBaseAxis(),a,n=t.type==="category"?t.getBandWidth():(a=t.getExtent(),Math.abs(a[1]-a[0])/e.count()),i=H(lt(r.get("barMaxWidth"),n),n),o=H(lt(r.get("barMinWidth"),1),n),s=r.get("barWidth");return s!=null?H(s,n):Math.max(Math.min(n/2,i),o)}const wW=SW;function bW(r){r.registerChartView(fW),r.registerSeriesModel(hW),r.registerPreprocessor(vW),r.registerVisual(_W),r.registerLayout(wW)}function ZS(r,e){var t=e.rippleEffectColor||e.color;r.eachChild(function(a){a.attr({z:e.z,zlevel:e.zlevel,style:{stroke:e.brushType==="stroke"?t:null,fill:e.brushType==="fill"?t:null}})})}var TW=function(r){k(e,r);function e(t,a){var n=r.call(this)||this,i=new ml(t,a),o=new at;return n.add(i),n.add(o),n.updateData(t,a),n}return e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var a=t.symbolType,n=t.color,i=t.rippleNumber,o=this.childAt(1),s=0;s0&&(s=this._getLineLength(i)/f*1e3),s!==this._period||l!==this._loop||u!==this._roundTrip){i.stopAnimation();var v=void 0;K(h)?v=h(n):v=h,i.__t>0&&(v=-s*i.__t),this._animateSymbol(i,s,v,l,u)}this._period=s,this._loop=l,this._roundTrip=u}},e.prototype._animateSymbol=function(t,a,n,i,o){if(a>0){t.__t=0;var s=this,l=t.animate("",i).when(o?a*2:a,{__t:o?2:1}).delay(n).during(function(){s._updateSymbolPosition(t)});i||l.done(function(){s.remove(t)}),l.start()}},e.prototype._getLineLength=function(t){return La(t.__p1,t.__cp1)+La(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,a){t.__p1=a[0],t.__p2=a[1],t.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},e.prototype.updateData=function(t,a,n){this.childAt(0).updateData(t,a,n),this._updateEffectSymbol(t,a)},e.prototype._updateSymbolPosition=function(t){var a=t.__p1,n=t.__p2,i=t.__cp1,o=t.__t<1?t.__t:2-t.__t,s=[t.x,t.y],l=s.slice(),u=ae,f=yp;s[0]=u(a[0],i[0],n[0],o),s[1]=u(a[1],i[1],n[1],o);var h=t.__t<1?f(a[0],i[0],n[0],o):f(n[0],i[0],a[0],1-o),v=t.__t<1?f(a[1],i[1],n[1],o):f(n[1],i[1],a[1],1-o);t.rotation=-Math.atan2(v,h)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(t.__lastT!==void 0&&t.__lastT=0&&!(i[l]<=a);l--);l=Math.min(l,o-2)}else{for(l=s;la);l++);l=Math.min(l-1,o-2)}var f=(a-i[l])/(i[l+1]-i[l]),h=n[l],v=n[l+1];t.x=h[0]*(1-f)+f*v[0],t.y=h[1]*(1-f)+f*v[1];var c=t.__t<1?v[0]-h[0]:h[0]-v[0],p=t.__t<1?v[1]-h[1]:h[1]-v[1];t.rotation=-Math.atan2(p,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,t.ignore=!1}},e}(JD);const kW=EW;var OW=function(){function r(){this.polyline=!1,this.curveness=0,this.segs=[]}return r}(),NW=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a._off=0,a.hoverDataIdx=-1,a}return e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new OW},e.prototype.buildPath=function(t,a){var n=a.segs,i=a.curveness,o;if(a.polyline)for(o=this._off;o0){t.moveTo(n[o++],n[o++]);for(var l=1;l0){var c=(u+h)/2-(f-v)*i,p=(f+v)/2-(h-u)*i;t.quadraticCurveTo(c,p,h,v)}else t.lineTo(h,v)}this.incremental&&(this._off=o,this.notClear=!0)},e.prototype.findDataIndex=function(t,a){var n=this.shape,i=n.segs,o=n.curveness,s=this.style.lineWidth;if(n.polyline)for(var l=0,u=0;u0)for(var h=i[u++],v=i[u++],c=1;c0){var g=(h+p)/2-(v-d)*o,y=(v+d)/2-(p-h)*o;if(iT(h,v,g,y,p,d,s,t,a))return l}else if(Da(h,v,p,d,s,t,a))return l;l++}return-1},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect();if(t=n[0],a=n[1],i.contain(t,a)){var o=this.hoverDataIdx=this.findDataIndex(t,a);return o>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var a=this.shape,n=a.segs,i=1/0,o=1/0,s=-1/0,l=-1/0,u=0;u0&&(o.dataIndex=l+e.__startIndex)})},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}();const VW=BW;var zW={seriesType:"lines",plan:xo(),reset:function(r){var e=r.coordinateSystem;if(e){var t=r.get("polyline"),a=r.pipelineContext.large;return{progress:function(n,i){var o=[];if(a){var s=void 0,l=n.end-n.start;if(t){for(var u=0,f=n.start;f0&&(f||u.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),o.updateData(i);var h=t.get("clip",!0)&&Dh(t.coordinateSystem,!1,t);h?this.group.setClipPath(h):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,a,n){var i=t.getData(),o=this._updateLineDraw(i,t);o.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,a,n){this._lineDraw.incrementalUpdate(t,a.getData()),this._finished=t.end===a.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,a,n){var i=t.getData(),o=t.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=t2.reset(t,a,n);s.progress&&s.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,a){var n=this._lineDraw,i=this._showEffect(a),o=!!a.get("polyline"),s=a.pipelineContext,l=s.large;return(!n||i!==this._hasEffet||o!==this._isPolyline||l!==this._isLargeDraw)&&(n&&n.remove(),n=this._lineDraw=l?new VW:new xy(o?i?kW:jD:i?JD:Sy),this._hasEffet=i,this._isPolyline=o,this._isLargeDraw=l),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var a=t.getZr(),n=a.painter.getType()==="svg";!n&&this._lastZlevel!=null&&a.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},e.prototype.dispose=function(t,a){this.remove(t,a)},e.type="lines",e}(Nt);const FW=GW;var HW=typeof Uint32Array>"u"?Array:Uint32Array,WW=typeof Float64Array>"u"?Array:Float64Array;function XS(r){var e=r.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(r.data=G(e,function(t){var a=[t[0].coord,t[1].coord],n={coords:a};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),Qd([n,t[0],t[1]])}))}var $W=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.visualStyleAccessPath="lineStyle",t.visualDrawType="stroke",t}return e.prototype.init=function(t){t.data=t.data||[],XS(t);var a=this._processFlatCoordsArray(t.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(t.data=new Float32Array(a.count)),r.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(t){if(XS(t),t.data){var a=this._processFlatCoordsArray(t.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(t.data=new Float32Array(a.count))}r.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var a=this._processFlatCoordsArray(t.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=tf(this._flatCoords,a.flatCoords),this._flatCoordsOffset=tf(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),t.data=new Float32Array(a.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var a=this.getData().getItemModel(t),n=a.option instanceof Array?a.option:a.getShallow("coords");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[t*2+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,a){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[t*2],i=this._flatCoordsOffset[t*2+1],o=0;o ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return t??(this.option.large?1e4:this.get("progressive"))},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return t??(this.option.large?2e4:this.get("progressiveThreshold"))},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),a=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&a>0?a+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(zt);const UW=$W;function wu(r){return r instanceof Array||(r=[r,r]),r}var YW={seriesType:"lines",reset:function(r){var e=wu(r.get("symbol")),t=wu(r.get("symbolSize")),a=r.getData();a.setVisual("fromSymbol",e&&e[0]),a.setVisual("toSymbol",e&&e[1]),a.setVisual("fromSymbolSize",t&&t[0]),a.setVisual("toSymbolSize",t&&t[1]);function n(i,o){var s=i.getItemModel(o),l=wu(s.getShallow("symbol",!0)),u=wu(s.getShallow("symbolSize",!0));l[0]&&i.setItemVisual(o,"fromSymbol",l[0]),l[1]&&i.setItemVisual(o,"toSymbol",l[1]),u[0]&&i.setItemVisual(o,"fromSymbolSize",u[0]),u[1]&&i.setItemVisual(o,"toSymbolSize",u[1])}return{dataEach:a.hasItemOption?n:null}}};const ZW=YW;function XW(r){r.registerChartView(FW),r.registerSeriesModel(UW),r.registerLayout(t2),r.registerVisual(ZW)}var qW=256,KW=function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=$a.createCanvas();this.canvas=e}return r.prototype.update=function(e,t,a,n,i,o){var s=this._getBrush(),l=this._getGradient(i,"inRange"),u=this._getGradient(i,"outOfRange"),f=this.pointSize+this.blurSize,h=this.canvas,v=h.getContext("2d"),c=e.length;h.width=t,h.height=a;for(var p=0;p0){var I=o(_)?l:u;_>0&&(_=_*M+T),w[x++]=I[D],w[x++]=I[D+1],w[x++]=I[D+2],w[x++]=I[D+3]*_*256}else x+=4}return v.putImageData(S,0,0),h},r.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=$a.createCanvas()),t=this.pointSize+this.blurSize,a=t*2;e.width=a,e.height=a;var n=e.getContext("2d");return n.clearRect(0,0,a,a),n.shadowOffsetX=a,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-t,t,this.pointSize,0,Math.PI*2,!0),n.closePath(),n.fill(),e},r.prototype._getGradient=function(e,t){for(var a=this._gradientPixels,n=a[t]||(a[t]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],o=0,s=0;s<256;s++)e[t](s/255,!0,i),n[o++]=i[0],n[o++]=i[1],n[o++]=i[2],n[o++]=i[3];return n},r}();const QW=KW;function JW(r,e,t){var a=r[1]-r[0];e=G(e,function(o){return{interval:[(o.interval[0]-r[0])/a,(o.interval[1]-r[0])/a]}});var n=e.length,i=0;return function(o){var s;for(s=i;s=0;s--){var l=e[s].interval;if(l[0]<=o&&o<=l[1]){i=s;break}}return s>=0&&s=e[0]&&a<=e[1]}}function qS(r){var e=r.dimensions;return e[0]==="lng"&&e[1]==="lat"}var t$=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i;a.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===t&&(i=s)})}),this._progressiveEls=null,this.group.removeAll();var o=t.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):qS(o)&&this._renderOnGeo(o,t,i,n)},e.prototype.incrementalPrepareRender=function(t,a,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,a,n,i){var o=a.coordinateSystem;o&&(qS(o)?this.render(a,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){ja(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,a,n,i,o){var s=t.coordinateSystem,l=ci(s,"cartesian2d"),u,f,h,v;if(l){var c=s.getAxis("x"),p=s.getAxis("y");u=c.getBandWidth()+.5,f=p.getBandWidth()+.5,h=c.scale.getExtent(),v=p.scale.getExtent()}for(var d=this.group,g=t.getData(),y=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),_=t.getModel(["select","itemStyle"]).getItemStyle(),S=t.get(["itemStyle","borderRadius"]),w=ee(t),x=t.getModel("emphasis"),b=x.get("focus"),T=x.get("blurScope"),C=x.get("disabled"),M=l?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],D=n;Dh[1]||Rv[1])continue;var E=s.dataToPoint([P,R]);I=new St({shape:{x:E[0]-u/2,y:E[1]-f/2,width:u,height:f},style:L})}else{if(isNaN(g.get(M[1],D)))continue;I=new St({z2:1,shape:s.dataToRect([g.get(M[0],D)]).contentShape,style:L})}if(g.hasItemOption){var N=g.getItemModel(D),O=N.getModel("emphasis");y=O.getModel("itemStyle").getItemStyle(),m=N.getModel(["blur","itemStyle"]).getItemStyle(),_=N.getModel(["select","itemStyle"]).getItemStyle(),S=N.get(["itemStyle","borderRadius"]),b=O.get("focus"),T=O.get("blurScope"),C=O.get("disabled"),w=ee(N)}I.shape.r=S;var V=t.getRawValue(D),F="-";V&&V[2]!=null&&(F=V[2]+""),fe(I,w,{labelFetcher:t,labelDataIndex:D,defaultOpacity:L.opacity,defaultText:F}),I.ensureState("emphasis").style=y,I.ensureState("blur").style=m,I.ensureState("select").style=_,Ft(I,b,T,C),I.incremental=o,o&&(I.states.emphasis.hoverLayer=!0),d.add(I),g.setItemGraphicEl(D,I),this._progressiveEls&&this._progressiveEls.push(I)}},e.prototype._renderOnGeo=function(t,a,n,i){var o=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,l=a.getData(),u=this._hmLayer||this._hmLayer||new QW;u.blurSize=a.get("blurSize"),u.pointSize=a.get("pointSize"),u.minOpacity=a.get("minOpacity"),u.maxOpacity=a.get("maxOpacity");var f=t.getViewRect().clone(),h=t.getRoamTransform();f.applyTransform(h);var v=Math.max(f.x,0),c=Math.max(f.y,0),p=Math.min(f.width+f.x,i.getWidth()),d=Math.min(f.height+f.y,i.getHeight()),g=p-v,y=d-c,m=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],_=l.mapArray(m,function(b,T,C){var M=t.dataToPoint([b,T]);return M[0]-=v,M[1]-=c,M.push(C),M}),S=n.getExtent(),w=n.type==="visualMap.continuous"?jW(S,n.option.range):JW(S,n.getPieceList(),n.option.selected);u.update(_,g,y,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},w);var x=new he({style:{width:g,height:y,x:v,y:c,image:u.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(Nt);const e$=t$;var r$=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,a){return da(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=vl.get(this.get("coordinateSystem"));if(t&&t.dimensions)return t.dimensions[0]==="lng"&&t.dimensions[1]==="lat"},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(zt);const a$=r$;function n$(r){r.registerChartView(e$),r.registerSeriesModel(a$)}var i$=["itemStyle","borderWidth"],KS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],kc=new Wr,o$=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis(),f=u.isHorizontal(),h=l.master.getRect(),v={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:l,coordSysExtent:[[h.x,h.x+h.width],[h.y,h.y+h.height]],isHorizontal:f,valueDim:KS[+f],categoryDim:KS[1-+f]};return o.diff(s).add(function(c){if(o.hasValue(c)){var p=JS(o,c),d=QS(o,c,p,v),g=jS(o,v,d);o.setItemGraphicEl(c,g),i.add(g),ex(g,v,d)}}).update(function(c,p){var d=s.getItemGraphicEl(p);if(!o.hasValue(c)){i.remove(d);return}var g=JS(o,c),y=QS(o,c,g,v),m=o2(o,y);d&&m!==d.__pictorialShapeStr&&(i.remove(d),o.setItemGraphicEl(c,null),d=null),d?c$(d,v,y):d=jS(o,v,y,!0),o.setItemGraphicEl(c,d),d.__pictorialSymbolMeta=y,i.add(d),ex(d,v,y)}).remove(function(c){var p=s.getItemGraphicEl(c);p&&tx(s,c,p.__pictorialSymbolMeta.animationModel,p)}).execute(),this._data=o,this.group},e.prototype.remove=function(t,a){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(o){tx(i,nt(o).dataIndex,t,o)}):n.removeAll()},e.type="pictorialBar",e}(Nt);function QS(r,e,t,a){var n=r.getItemLayout(e),i=t.get("symbolRepeat"),o=t.get("symbolClip"),s=t.get("symbolPosition")||"start",l=t.get("symbolRotate"),u=(l||0)*Math.PI/180||0,f=t.get("symbolPatternSize")||2,h=t.isAnimationEnabled(),v={dataIndex:e,layout:n,itemModel:t,symbolType:r.getItemVisual(e,"symbol")||"circle",style:r.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:i,symbolRepeatDirection:t.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:u,animationModel:h?t:null,hoverScale:h&&t.get(["emphasis","scale"]),z2:t.getShallow("z",!0)||0};s$(t,i,n,a,v),l$(r,e,n,i,o,v.boundingLength,v.pxSign,f,a,v),u$(t,v.symbolScale,u,a,v);var c=v.symbolSize,p=bo(t.get("symbolOffset"),c);return f$(t,c,n,i,o,p,s,v.valueLineWidth,v.boundingLength,v.repeatCutLength,a,v),v}function s$(r,e,t,a,n){var i=a.valueDim,o=r.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(t[i.wh]<=0),f;if(z(o)){var h=[Oc(s,o[0])-l,Oc(s,o[1])-l];h[1]0?1:-1}function Oc(r,e){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(e)))}function l$(r,e,t,a,n,i,o,s,l,u){var f=l.valueDim,h=l.categoryDim,v=Math.abs(t[h.wh]),c=r.getItemVisual(e,"symbolSize"),p;z(c)?p=c.slice():c==null?p=["100%","100%"]:p=[c,c],p[h.index]=H(p[h.index],v),p[f.index]=H(p[f.index],a?v:Math.abs(i)),u.symbolSize=p;var d=u.symbolScale=[p[0]/s,p[1]/s];d[f.index]*=(l.isHorizontal?-1:1)*o}function u$(r,e,t,a,n){var i=r.get(i$)||0;i&&(kc.attr({scaleX:e[0],scaleY:e[1],rotation:t}),kc.updateTransform(),i/=kc.getLineScale(),i*=e[a.valueDim.index]),n.valueLineWidth=i||0}function f$(r,e,t,a,n,i,o,s,l,u,f,h){var v=f.categoryDim,c=f.valueDim,p=h.pxSign,d=Math.max(e[c.index]+s,0),g=d;if(a){var y=Math.abs(l),m=ne(r.get("symbolMargin"),"15%")+"",_=!1;m.lastIndexOf("!")===m.length-1&&(_=!0,m=m.slice(0,m.length-1));var S=H(m,e[c.index]),w=Math.max(d+S*2,0),x=_?0:S*2,b=$b(a),T=b?a:rx((y+x)/w),C=y-T*d;S=C/2/(_?T:Math.max(T-1,1)),w=d+S*2,x=_?0:S*2,!b&&a!=="fixed"&&(T=u?rx((Math.abs(u)+x)/w):0),g=T*w-x,h.repeatTimes=T,h.symbolMargin=S}var M=p*(g/2),D=h.pathPosition=[];D[v.index]=t[v.wh]/2,D[c.index]=o==="start"?M:o==="end"?l-M:l/2,i&&(D[0]+=i[0],D[1]+=i[1]);var I=h.bundlePosition=[];I[v.index]=t[v.xy],I[c.index]=t[c.xy];var L=h.barRectShape=B({},t);L[c.wh]=p*Math.max(Math.abs(t[c.wh]),Math.abs(D[c.index]+M)),L[v.wh]=t[v.wh];var P=h.clipShape={};P[v.xy]=-t[v.xy],P[v.wh]=f.ecSize[v.wh],P[c.xy]=0,P[c.wh]=t[c.wh]}function e2(r){var e=r.symbolPatternSize,t=qt(r.symbolType,-e/2,-e/2,e,e);return t.attr({culling:!0}),t.type!=="image"&&t.setStyle({strokeNoScale:!0}),t}function r2(r,e,t,a){var n=r.__pictorialBundle,i=t.symbolSize,o=t.valueLineWidth,s=t.pathPosition,l=e.valueDim,u=t.repeatTimes||0,f=0,h=i[e.valueDim.index]+o+t.symbolMargin*2;for(Iy(r,function(d){d.__pictorialAnimationIndex=f,d.__pictorialRepeatTimes=u,f0:y<0)&&(m=u-1-d),g[l.index]=h*(m-u/2+.5)+s[l.index],{x:g[0],y:g[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation}}}function a2(r,e,t,a){var n=r.__pictorialBundle,i=r.__pictorialMainPath;i?Qi(i,null,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation},t,a):(i=r.__pictorialMainPath=e2(t),n.add(i),Qi(i,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:0,scaleY:0,rotation:t.rotation},{scaleX:t.symbolScale[0],scaleY:t.symbolScale[1]},t,a))}function n2(r,e,t){var a=B({},e.barRectShape),n=r.__pictorialBarRect;n?Qi(n,null,{shape:a},e,t):(n=r.__pictorialBarRect=new St({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),n.disableMorphing=!0,r.add(n))}function i2(r,e,t,a){if(t.symbolClip){var n=r.__pictorialClipPath,i=B({},t.clipShape),o=e.valueDim,s=t.animationModel,l=t.dataIndex;if(n)Mt(n,{shape:i},s,l);else{i[o.wh]=0,n=new St({shape:i}),r.__pictorialBundle.setClipPath(n),r.__pictorialClipPath=n;var u={};u[o.wh]=t.clipShape[o.wh],hl[a?"updateProps":"initProps"](n,{shape:u},s,l)}}}function JS(r,e){var t=r.getItemModel(e);return t.getAnimationDelayParams=h$,t.isAnimationEnabled=v$,t}function h$(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function v$(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function jS(r,e,t,a){var n=new at,i=new at;return n.add(i),n.__pictorialBundle=i,i.x=t.bundlePosition[0],i.y=t.bundlePosition[1],t.symbolRepeat?r2(n,e,t):a2(n,e,t),n2(n,t,a),i2(n,e,t,a),n.__pictorialShapeStr=o2(r,t),n.__pictorialSymbolMeta=t,n}function c$(r,e,t){var a=t.animationModel,n=t.dataIndex,i=r.__pictorialBundle;Mt(i,{x:t.bundlePosition[0],y:t.bundlePosition[1]},a,n),t.symbolRepeat?r2(r,e,t,!0):a2(r,e,t,!0),n2(r,t,!0),i2(r,e,t,!0)}function tx(r,e,t,a){var n=a.__pictorialBarRect;n&&n.removeTextContent();var i=[];Iy(a,function(o){i.push(o)}),a.__pictorialMainPath&&i.push(a.__pictorialMainPath),a.__pictorialClipPath&&(t=null),A(i,function(o){Ya(o,{scaleX:0,scaleY:0},t,e,function(){a.parent&&a.parent.remove(a)})}),r.setItemGraphicEl(e,null)}function o2(r,e){return[r.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function Iy(r,e,t){A(r.__pictorialBundle.children(),function(a){a!==r.__pictorialBarRect&&e.call(t,a)})}function Qi(r,e,t,a,n,i){e&&r.attr(e),a.symbolClip&&!n?t&&r.attr(t):t&&hl[n?"updateProps":"initProps"](r,t,a.animationModel,a.dataIndex,i)}function ex(r,e,t){var a=t.dataIndex,n=t.itemModel,i=n.getModel("emphasis"),o=i.getModel("itemStyle").getItemStyle(),s=n.getModel(["blur","itemStyle"]).getItemStyle(),l=n.getModel(["select","itemStyle"]).getItemStyle(),u=n.getShallow("cursor"),f=i.get("focus"),h=i.get("blurScope"),v=i.get("scale");Iy(r,function(d){if(d instanceof he){var g=d.style;d.useStyle(B({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},t.style))}else d.useStyle(t.style);var y=d.ensureState("emphasis");y.style=o,v&&(y.scaleX=d.scaleX*1.1,y.scaleY=d.scaleY*1.1),d.ensureState("blur").style=s,d.ensureState("select").style=l,u&&(d.cursor=u),d.z2=t.z2});var c=e.valueDim.posDesc[+(t.boundingLength>0)],p=r.__pictorialBarRect;fe(p,ee(n),{labelFetcher:e.seriesModel,labelDataIndex:a,defaultText:ro(e.seriesModel.getData(),a),inheritColor:t.style.fill,defaultOpacity:t.style.opacity,defaultOutsidePosition:c}),Ft(r,f,h,i.get("disabled"))}function rx(r){var e=Math.round(r);return Math.abs(r-e)<1e-4?e:Math.ceil(r)}const p$=o$;var d$=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t.defaultSymbol="roundRect",t}return e.prototype.getInitialData=function(t){return t.stack=null,r.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=tn(Lf.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(Lf);const g$=d$;function y$(r){r.registerChartView(p$),r.registerSeriesModel(g$),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,it(FA,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,HA("pictorialBar"))}var m$=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._layers=[],t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this,s=this.group,l=t.getLayerSeries(),u=i.getLayout("layoutInfo"),f=u.rect,h=u.boundaryGap;s.x=0,s.y=f.y+h[0];function v(g){return g.name}var c=new ha(this._layersSeries||[],l,v,v),p=[];c.add(U(d,this,"add")).update(U(d,this,"update")).remove(U(d,this,"remove")).execute();function d(g,y,m){var _=o._layers;if(g==="remove"){s.remove(_[y]);return}for(var S=[],w=[],x,b=l[y].indices,T=0;Ti&&(i=s),a.push(s)}for(var u=0;ui&&(i=h)}return{y0:n,max:i}}function C$(r){r.registerChartView(S$),r.registerSeriesModel(w$),r.registerLayout(b$),r.registerProcessor(xl("themeRiver"))}var A$=2,M$=4,D$=function(r){k(e,r);function e(t,a,n,i){var o=r.call(this)||this;o.z2=A$,o.textConfig={inside:!0},nt(o).seriesIndex=a.seriesIndex;var s=new Tt({z2:M$,silent:t.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,t,a,n,i),o}return e.prototype.updateData=function(t,a,n,i,o){this.node=a,a.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var s=this;nt(s).dataIndex=a.dataIndex;var l=a.getModel(),u=l.getModel("emphasis"),f=a.getLayout(),h=B({},f);h.label=null;var v=a.getVisual("style");v.lineJoin="bevel";var c=a.getVisual("decal");c&&(v.decal=to(c,o));var p=Un(l.getModel("itemStyle"),h,!0);B(h,p),A(Ae,function(m){var _=s.ensureState(m),S=l.getModel([m,"itemStyle"]);_.style=S.getItemStyle();var w=Un(S,h);w&&(_.shape=w)}),t?(s.setShape(h),s.shape.r=f.r0,Bt(s,{shape:{r:f.r}},n,a.dataIndex)):(Mt(s,{shape:h},n),Sr(s)),s.useStyle(v),this._updateLabel(n);var d=l.getShallow("cursor");d&&s.attr("cursor",d),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var g=u.get("focus"),y=g==="ancestor"?a.getAncestorsIndices():g==="descendant"?a.getDescendantIndices():g;Ft(this,y,u.get("blurScope"),u.get("disabled"))},e.prototype._updateLabel=function(t){var a=this,n=this.node.getModel(),i=n.getModel("label"),o=this.node.getLayout(),s=o.endAngle-o.startAngle,l=(o.startAngle+o.endAngle)/2,u=Math.cos(l),f=Math.sin(l),h=this,v=h.getTextContent(),c=this.node.dataIndex,p=i.get("minAngle")/180*Math.PI,d=i.get("show")&&!(p!=null&&Math.abs(s)Math.PI/2?"right":"left"):!I||I==="center"?(s===2*Math.PI&&o.r0===0?M=0:M=(o.r+o.r0)/2,I="center"):I==="left"?(M=o.r0+D,l>Math.PI/2&&(I="right")):I==="right"&&(M=o.r-D,l>Math.PI/2&&(I="left")),S.style.align=I,S.style.verticalAlign=g(m,"verticalAlign")||"middle",S.x=M*u+o.cx,S.y=M*f+o.cy;var L=g(m,"rotate"),P=0;L==="radial"?(P=jr(-l),P>Math.PI/2&&PMath.PI/2?P-=Math.PI:P<-Math.PI/2&&(P+=Math.PI)):Ct(L)&&(P=L*Math.PI/180),S.rotation=P});function g(y,m){var _=y.get(m);return _??i.get(m)}v.dirtyStyle()},e}(ke);const nx=D$;var Dd="sunburstRootToNode",ix="sunburstHighlight",I$="sunburstUnhighlight";function L$(r){r.registerAction({type:Dd,update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},a);function a(n,i){var o=Ks(e,[Dd],n);if(o){var s=n.getViewRoot();s&&(e.direction=py(s,o.node)?"rollUp":"drillDown"),n.resetViewRoot(o.node)}}}),r.registerAction({type:ix,update:"none"},function(e,t,a){e=B({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},n);function n(i){var o=Ks(e,[ix],i);o&&(e.dataIndex=o.node.dataIndex)}a.dispatchAction(B(e,{type:"highlight"}))}),r.registerAction({type:I$,update:"updateView"},function(e,t,a){e=B({},e),a.dispatchAction(B(e,{type:"downplay"}))})}var P$=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n,i){var o=this;this.seriesModel=t,this.api=n,this.ecModel=a;var s=t.getData(),l=s.tree.root,u=t.getViewRoot(),f=this.group,h=t.get("renderLabelForZeroData"),v=[];u.eachNode(function(m){v.push(m)});var c=this._oldChildren||[];p(v,c),y(l,u),this._initEvents(),this._oldChildren=v;function p(m,_){if(m.length===0&&_.length===0)return;new ha(_,m,S,S).add(w).update(w).remove(it(w,null)).execute();function S(x){return x.getId()}function w(x,b){var T=x==null?null:m[x],C=b==null?null:_[b];d(T,C)}}function d(m,_){if(!h&&m&&!m.getValue()&&(m=null),m!==l&&_!==l){if(_&&_.piece)m?(_.piece.updateData(!1,m,t,a,n),s.setItemGraphicEl(m.dataIndex,_.piece)):g(_);else if(m){var S=new nx(m,t,a,n);f.add(S),s.setItemGraphicEl(m.dataIndex,S)}}}function g(m){m&&m.piece&&(f.remove(m.piece),m.piece=null)}function y(m,_){_.depth>0?(o.virtualPiece?o.virtualPiece.updateData(!1,m,t,a,n):(o.virtualPiece=new nx(m,t,a,n),f.add(o.virtualPiece)),_.piece.off("click"),o.virtualPiece.on("click",function(S){o._rootToNode(_.parentNode)})):o.virtualPiece&&(f.remove(o.virtualPiece),o.virtualPiece=null)}},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(a){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode(function(o){if(!n&&o.piece&&o.piece===a.target){var s=o.getModel().get("nodeClick");if(s==="rootToNode")t._rootToNode(o);else if(s==="link"){var l=o.getModel(),u=l.get("link");if(u){var f=l.get("target",!0)||"_blank";yf(u,f)}}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Dd,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,a){var n=a.getData(),i=n.getItemLayout(0);if(i){var o=t[0]-i.cx,s=t[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},e.type="sunburst",e}(Nt);const R$=P$;var E$=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.ignoreStyleOnData=!0,t}return e.prototype.getInitialData=function(t,a){var n={name:t.name,children:t.data};s2(n);var i=this._levelModels=G(t.levels||[],function(l){return new Ot(l,this,a)},this),o=cy.createTree(n,this,s);function s(l){l.wrapMethod("getItemModel",function(u,f){var h=o.getNodeByDataIndex(f),v=i[h.depth];return v&&(u.parentModel=v),u})}return o.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treePathInfo=Ph(n,this),a},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var a=this.getRawData().tree.root;(!t||t!==a&&!a.contains(t))&&(this._viewRoot=a)},e.prototype.enableAriaDecal=function(){hD(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(zt);function s2(r){var e=0;A(r.children,function(a){s2(a);var n=a.value;z(n)&&(n=n[0]),e+=n});var t=r.value;z(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=e),t<0&&(t=0),z(r.value)?r.value[0]=t:r.value=t}const k$=E$;var ox=Math.PI/180;function O$(r,e,t){e.eachSeriesByType(r,function(a){var n=a.get("center"),i=a.get("radius");z(i)||(i=[0,i]),z(n)||(n=[n,n]);var o=t.getWidth(),s=t.getHeight(),l=Math.min(o,s),u=H(n[0],o),f=H(n[1],s),h=H(i[0],l/2),v=H(i[1],l/2),c=-a.get("startAngle")*ox,p=a.get("minAngle")*ox,d=a.getData().tree.root,g=a.getViewRoot(),y=g.depth,m=a.get("sort");m!=null&&l2(g,m);var _=0;A(g.children,function(E){!isNaN(E.getValue())&&_++});var S=g.getValue(),w=Math.PI/(S||_)*2,x=g.depth>0,b=g.height-(x?-1:1),T=(v-h)/(b||1),C=a.get("clockwise"),M=a.get("stillShowZeroSum"),D=C?1:-1,I=function(E,N){if(E){var O=N;if(E!==d){var V=E.getValue(),F=S===0&&M?w:V*w;F1;)o=o.parentNode;var s=n.getColorFromPalette(o.name||o.dataIndex+"",e);return a.depth>1&&$(s)&&(s=Sp(s,(a.depth-1)/(i-1)*.5)),s}r.eachSeriesByType("sunburst",function(a){var n=a.getData(),i=n.tree;i.eachNode(function(o){var s=o.getModel(),l=s.getModel("itemStyle").getItemStyle();l.fill||(l.fill=t(o,a,i.root.height));var u=n.ensureUniqueItemVisual(o.dataIndex,"style");B(u,l)})})}function V$(r){r.registerChartView(R$),r.registerSeriesModel(k$),r.registerLayout(it(O$,"sunburst")),r.registerProcessor(it(xl,"sunburst")),r.registerVisual(B$),L$(r)}var sx={color:"fill",borderColor:"stroke"},z$={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},ia=xt(),G$=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,a){return da(null,this)},e.prototype.getDataParams=function(t,a,n){var i=r.prototype.getDataParams.call(this,t,a);return n&&(i.info=ia(n).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(zt);const F$=G$;function H$(r,e){return e=e||[0,0],G(["x","y"],function(t,a){var n=this.getAxis(t),i=e[a],o=r[a]/2;return n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(i-o)-n.dataToCoord(i+o))},this)}function W$(r){var e=r.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(t){return r.dataToPoint(t)},size:U(H$,r)}}}function $$(r,e){return e=e||[0,0],G([0,1],function(t){var a=e[t],n=r[t]/2,i=[],o=[];return i[t]=a-n,o[t]=a+n,i[1-t]=o[1-t]=e[1-t],Math.abs(this.dataToPoint(i)[t]-this.dataToPoint(o)[t])},this)}function U$(r){var e=r.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:r.getZoom()},api:{coord:function(t){return r.dataToPoint(t)},size:U($$,r)}}}function Y$(r,e){var t=this.getAxis(),a=e instanceof Array?e[0]:e,n=(r instanceof Array?r[0]:r)/2;return t.type==="category"?t.getBandWidth():Math.abs(t.dataToCoord(a-n)-t.dataToCoord(a+n))}function Z$(r){var e=r.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(t){return r.dataToPoint(t)},size:U(Y$,r)}}}function X$(r,e){return e=e||[0,0],G(["Radius","Angle"],function(t,a){var n="get"+t+"Axis",i=this[n](),o=e[a],s=r[a]/2,l=i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-s)-i.dataToCoord(o+s));return t==="Angle"&&(l=l*Math.PI/180),l},this)}function q$(r){var e=r.getRadiusAxis(),t=r.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:r.cx,cy:r.cy,r:a[1],r0:a[0]},api:{coord:function(n){var i=e.dataToRadius(n[0]),o=t.dataToAngle(n[1]),s=r.coordToPoint([i,o]);return s.push(i,o*Math.PI/180),s},size:U(X$,r)}}}function K$(r){var e=r.getRect(),t=r.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:r.getCellWidth(),cellHeight:r.getCellHeight(),rangeInfo:{start:t.start,end:t.end,weeks:t.weeks,dayCount:t.allDay}},api:{coord:function(a,n){return r.dataToPoint(a,n)}}}}function u2(r,e,t,a){return r&&(r.legacy||r.legacy!==!1&&!t&&!a&&e!=="tspan"&&(e==="text"||Y(r,"text")))}function f2(r,e,t){var a=r,n,i,o;if(e==="text")o=a;else{o={},Y(a,"text")&&(o.text=a.text),Y(a,"rich")&&(o.rich=a.rich),Y(a,"textFill")&&(o.fill=a.textFill),Y(a,"textStroke")&&(o.stroke=a.textStroke),Y(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Y(a,"fontSize")&&(o.fontSize=a.fontSize),Y(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Y(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},n={};var s=Y(a,"textPosition");t?n.position=s?a.textPosition:"inside":s&&(n.position=a.textPosition),Y(a,"textPosition")&&(n.position=a.textPosition),Y(a,"textOffset")&&(n.offset=a.textOffset),Y(a,"textRotation")&&(n.rotation=a.textRotation),Y(a,"textDistance")&&(n.distance=a.textDistance)}return lx(o,r),A(o.rich,function(l){lx(l,l)}),{textConfig:n,textContent:i}}function lx(r,e){e&&(e.font=e.textFont||e.font,Y(e,"textStrokeWidth")&&(r.lineWidth=e.textStrokeWidth),Y(e,"textAlign")&&(r.align=e.textAlign),Y(e,"textVerticalAlign")&&(r.verticalAlign=e.textVerticalAlign),Y(e,"textLineHeight")&&(r.lineHeight=e.textLineHeight),Y(e,"textWidth")&&(r.width=e.textWidth),Y(e,"textHeight")&&(r.height=e.textHeight),Y(e,"textBackgroundColor")&&(r.backgroundColor=e.textBackgroundColor),Y(e,"textPadding")&&(r.padding=e.textPadding),Y(e,"textBorderColor")&&(r.borderColor=e.textBorderColor),Y(e,"textBorderWidth")&&(r.borderWidth=e.textBorderWidth),Y(e,"textBorderRadius")&&(r.borderRadius=e.textBorderRadius),Y(e,"textBoxShadowColor")&&(r.shadowColor=e.textBoxShadowColor),Y(e,"textBoxShadowBlur")&&(r.shadowBlur=e.textBoxShadowBlur),Y(e,"textBoxShadowOffsetX")&&(r.shadowOffsetX=e.textBoxShadowOffsetX),Y(e,"textBoxShadowOffsetY")&&(r.shadowOffsetY=e.textBoxShadowOffsetY))}function ux(r,e,t){var a=r;a.textPosition=a.textPosition||t.position||"inside",t.offset!=null&&(a.textOffset=t.offset),t.rotation!=null&&(a.textRotation=t.rotation),t.distance!=null&&(a.textDistance=t.distance);var n=a.textPosition.indexOf("inside")>=0,i=r.fill||"#000";fx(a,e);var o=a.textFill==null;return n?o&&(a.textFill=t.insideFill||"#fff",!a.textStroke&&t.insideStroke&&(a.textStroke=t.insideStroke),!a.textStroke&&(a.textStroke=i),a.textStrokeWidth==null&&(a.textStrokeWidth=2)):(o&&(a.textFill=r.fill||t.outsideFill||"#000"),!a.textStroke&&t.outsideStroke&&(a.textStroke=t.outsideStroke)),a.text=e.text,a.rich=e.rich,A(e.rich,function(s){fx(s,s)}),a}function fx(r,e){e&&(Y(e,"fill")&&(r.textFill=e.fill),Y(e,"stroke")&&(r.textStroke=e.fill),Y(e,"lineWidth")&&(r.textStrokeWidth=e.lineWidth),Y(e,"font")&&(r.font=e.font),Y(e,"fontStyle")&&(r.fontStyle=e.fontStyle),Y(e,"fontWeight")&&(r.fontWeight=e.fontWeight),Y(e,"fontSize")&&(r.fontSize=e.fontSize),Y(e,"fontFamily")&&(r.fontFamily=e.fontFamily),Y(e,"align")&&(r.textAlign=e.align),Y(e,"verticalAlign")&&(r.textVerticalAlign=e.verticalAlign),Y(e,"lineHeight")&&(r.textLineHeight=e.lineHeight),Y(e,"width")&&(r.textWidth=e.width),Y(e,"height")&&(r.textHeight=e.height),Y(e,"backgroundColor")&&(r.textBackgroundColor=e.backgroundColor),Y(e,"padding")&&(r.textPadding=e.padding),Y(e,"borderColor")&&(r.textBorderColor=e.borderColor),Y(e,"borderWidth")&&(r.textBorderWidth=e.borderWidth),Y(e,"borderRadius")&&(r.textBorderRadius=e.borderRadius),Y(e,"shadowColor")&&(r.textBoxShadowColor=e.shadowColor),Y(e,"shadowBlur")&&(r.textBoxShadowBlur=e.shadowBlur),Y(e,"shadowOffsetX")&&(r.textBoxShadowOffsetX=e.shadowOffsetX),Y(e,"shadowOffsetY")&&(r.textBoxShadowOffsetY=e.shadowOffsetY),Y(e,"textShadowColor")&&(r.textShadowColor=e.textShadowColor),Y(e,"textShadowBlur")&&(r.textShadowBlur=e.textShadowBlur),Y(e,"textShadowOffsetX")&&(r.textShadowOffsetX=e.textShadowOffsetX),Y(e,"textShadowOffsetY")&&(r.textShadowOffsetY=e.textShadowOffsetY))}var h2={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},hx=mt(h2);Vr(Gr,function(r,e){return r[e]=1,r},{});Gr.join(", ");var Vf=["","style","shape","extra"],io=xt();function Ly(r,e,t,a,n){var i=r+"Animation",o=vo(r,a,n)||{},s=io(e).userDuring;return o.duration>0&&(o.during=s?U(e6,{el:e,userDuring:s}):null,o.setToFinal=!0,o.scope=r),B(o,t[i]),o}function qu(r,e,t,a){a=a||{};var n=a.dataIndex,i=a.isInit,o=a.clearStyle,s=t.isAnimationEnabled(),l=io(r),u=e.style;l.userDuring=e.during;var f={},h={};if(a6(r,e,h),cx("shape",e,h),cx("extra",e,h),!i&&s&&(r6(r,e,f),vx("shape",r,e,f),vx("extra",r,e,f),n6(r,e,u,f)),h.style=u,Q$(r,h,o),j$(r,e),s)if(i){var v={};A(Vf,function(p){var d=p?e[p]:e;d&&d.enterFrom&&(p&&(v[p]=v[p]||{}),B(p?v[p]:v,d.enterFrom))});var c=Ly("enter",r,e,t,n);c.duration>0&&r.animateFrom(v,c)}else J$(r,e,n||0,t,f);v2(r,e),u?r.dirty():r.markRedraw()}function v2(r,e){for(var t=io(r).leaveToProps,a=0;a0&&r.animateFrom(n,i)}}function j$(r,e){Y(e,"silent")&&(r.silent=e.silent),Y(e,"ignore")&&(r.ignore=e.ignore),r instanceof ir&&Y(e,"invisible")&&(r.invisible=e.invisible),r instanceof dt&&Y(e,"autoBatch")&&(r.autoBatch=e.autoBatch)}var Dr={},t6={setTransform:function(r,e){return Dr.el[r]=e,this},getTransform:function(r){return Dr.el[r]},setShape:function(r,e){var t=Dr.el,a=t.shape||(t.shape={});return a[r]=e,t.dirtyShape&&t.dirtyShape(),this},getShape:function(r){var e=Dr.el.shape;if(e)return e[r]},setStyle:function(r,e){var t=Dr.el,a=t.style;return a&&(a[r]=e,t.dirtyStyle&&t.dirtyStyle()),this},getStyle:function(r){var e=Dr.el.style;if(e)return e[r]},setExtra:function(r,e){var t=Dr.el.extra||(Dr.el.extra={});return t[r]=e,this},getExtra:function(r){var e=Dr.el.extra;if(e)return e[r]}};function e6(){var r=this,e=r.el;if(e){var t=io(e).userDuring,a=r.userDuring;if(t!==a){r.el=r.userDuring=null;return}Dr.el=e,a(t6)}}function vx(r,e,t,a){var n=t[r];if(n){var i=e[r],o;if(i){var s=t.transition,l=n.transition;if(l)if(!o&&(o=a[r]={}),ei(l))B(o,i);else for(var u=Pt(l),f=0;f=0){!o&&(o=a[r]={});for(var c=mt(i),f=0;f=0)){var v=r.getAnimationStyleProps(),c=v?v.style:null;if(c){!i&&(i=a.style={});for(var p=mt(t),u=0;u=0?e.getStore().get(N,R):void 0}var O=e.get(E.name,R),V=E&&E.ordinalMeta;return V?V.categories[O]:O}function x(P,R){R==null&&(R=u);var E=e.getItemVisual(R,"style"),N=E&&E.fill,O=E&&E.opacity,V=m(R,Ba).getItemStyle();N!=null&&(V.fill=N),O!=null&&(V.opacity=O);var F={inheritColor:$(N)?N:"#000"},W=_(R,Ba),Z=kt(W,null,F,!1,!0);Z.text=W.getShallow("show")?lt(r.getFormattedLabel(R,Ba),ro(e,R)):null;var Q=df(W,F,!1);return C(P,V),V=ux(V,Z,Q),P&&T(V,P),V.legacy=!0,V}function b(P,R){R==null&&(R=u);var E=m(R,oa).getItemStyle(),N=_(R,oa),O=kt(N,null,null,!0,!0);O.text=N.getShallow("show")?ea(r.getFormattedLabel(R,oa),r.getFormattedLabel(R,Ba),ro(e,R)):null;var V=df(N,null,!0);return C(P,E),E=ux(E,O,V),P&&T(E,P),E.legacy=!0,E}function T(P,R){for(var E in R)Y(R,E)&&(P[E]=R[E])}function C(P,R){P&&(P.textFill&&(R.textFill=P.textFill),P.textPosition&&(R.textPosition=P.textPosition))}function M(P,R){if(R==null&&(R=u),Y(sx,P)){var E=e.getItemVisual(R,"style");return E?E[sx[P]]:null}if(Y(z$,P))return e.getItemVisual(R,P)}function D(P){if(i.type==="cartesian2d"){var R=i.getBaseAxis();return yB(J({axis:R},P))}}function I(){return t.getCurrentSeriesIndices()}function L(P){return qT(P,t)}}function d6(r){var e={};return A(r.dimensions,function(t){var a=r.getDimensionInfo(t);if(!a.isExtraCoord){var n=a.coordDim,i=e[n]=e[n]||[];i[a.coordDimIndex]=r.getDimensionIndex(t)}}),e}function zc(r,e,t,a,n,i,o){if(!a){i.remove(e);return}var s=Oy(r,e,t,a,n,i);return s&&o.setItemGraphicEl(t,s),s&&Ft(s,a.focus,a.blurScope,a.emphasisDisabled),s}function Oy(r,e,t,a,n,i){var o=-1,s=e;e&&g2(e,a,n)&&(o=vt(i.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=Ey(a),s&&f6(s,u)),a.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),Ye.normal.cfg=Ye.normal.conOpt=Ye.emphasis.cfg=Ye.emphasis.conOpt=Ye.blur.cfg=Ye.blur.conOpt=Ye.select.cfg=Ye.select.conOpt=null,Ye.isLegacy=!1,y6(u,t,a,n,l,Ye),g6(u,t,a,n,l),ky(r,u,t,a,Ye,n,l),Y(a,"info")&&(ia(u).info=a.info);for(var f=0;f=0?i.replaceAt(u,o):i.add(u),u}function g2(r,e,t){var a=ia(r),n=e.type,i=e.shape,o=e.style;return t.isUniversalTransitionEnabled()||n!=null&&n!==a.customGraphicType||n==="path"&&w6(i)&&y2(i)!==a.customPathData||n==="image"&&Y(o,"image")&&o.image!==a.customImagePath}function g6(r,e,t,a,n){var i=t.clipPath;if(i===!1)r&&r.getClipPath()&&r.removeClipPath();else if(i){var o=r.getClipPath();o&&g2(o,i,a)&&(o=null),o||(o=Ey(i),r.setClipPath(o)),ky(null,o,e,i,null,a,n)}}function y6(r,e,t,a,n,i){if(!r.isGroup){dx(t,null,i),dx(t,oa,i);var o=i.normal.conOpt,s=i.emphasis.conOpt,l=i.blur.conOpt,u=i.select.conOpt;if(o!=null||s!=null||u!=null||l!=null){var f=r.getTextContent();if(o===!1)f&&r.removeTextContent();else{o=i.normal.conOpt=o||{type:"text"},f?f.clearStates():(f=Ey(o),r.setTextContent(f)),ky(null,f,e,o,null,a,n);for(var h=o&&o.style,v=0;v=f;c--){var p=e.childAt(c);_6(e,p,n)}}}function _6(r,e,t){e&&kh(e,ia(r).option,t)}function S6(r){new ha(r.oldChildren,r.newChildren,gx,gx,r).add(yx).update(yx).remove(x6).execute()}function gx(r,e){var t=r&&r.name;return t??l6+e}function yx(r,e){var t=this.context,a=r!=null?t.newChildren[r]:null,n=e!=null?t.oldChildren[e]:null;Oy(t.api,n,t.dataIndex,a,t.seriesModel,t.group)}function x6(r){var e=this.context,t=e.oldChildren[r];t&&kh(t,ia(t).option,e.seriesModel)}function y2(r){return r&&(r.pathData||r.d)}function w6(r){return r&&(Y(r,"pathData")||Y(r,"d"))}function b6(r){r.registerChartView(v6),r.registerSeriesModel(F$)}var Nn=xt(),mx=et,Gc=U,T6=function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(e,t,a,n){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=a,!(!n&&this._lastValue===i&&this._lastStatus===o)){this._lastValue=i,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,i,e,t,a);var f=u.graphicKey;f!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=f;var h=this._moveAnimation=this.determineAnimation(e,t);if(!s)s=this._group=new at,this.createPointerEl(s,u,e,t),this.createLabelEl(s,u,e,t),a.getZr().add(s);else{var v=it(_x,t,h);this.updatePointerEl(s,u,v),this.updateLabelEl(s,u,v,t)}xx(s,t,!0),this._renderHandle(i)}},r.prototype.remove=function(e){this.clear(e)},r.prototype.dispose=function(e){this.clear(e)},r.prototype.determineAnimation=function(e,t){var a=t.get("animation"),n=e.axis,i=n.type==="category",o=t.get("snap");if(!o&&!i)return!1;if(a==="auto"||a==null){var s=this.animationThreshold;if(i&&n.getBandWidth()>s)return!0;if(o){var l=oy(e).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return a===!0},r.prototype.makeElOption=function(e,t,a,n,i){},r.prototype.createPointerEl=function(e,t,a,n){var i=t.pointer;if(i){var o=Nn(e).pointerEl=new hl[i.type](mx(t.pointer));e.add(o)}},r.prototype.createLabelEl=function(e,t,a,n){if(t.label){var i=Nn(e).labelEl=new Tt(mx(t.label));e.add(i),Sx(i,n)}},r.prototype.updatePointerEl=function(e,t,a){var n=Nn(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),a(n,{shape:t.pointer.shape}))},r.prototype.updateLabelEl=function(e,t,a,n){var i=Nn(e).labelEl;i&&(i.setStyle(t.label.style),a(i,{x:t.label.x,y:t.label.y}),Sx(i,n))},r.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,a=this._api.getZr(),n=this._handle,i=t.getModel("handle"),o=t.get("status");if(!i.get("show")||!o||o==="hide"){n&&a.remove(n),this._handle=null;return}var s;this._handle||(s=!0,n=this._handle=fl(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){sa(u.event)},onmousedown:Gc(this._onHandleDragMove,this,0,0),drift:Gc(this._onHandleDragMove,this),ondragend:Gc(this._onHandleDragEnd,this)}),a.add(n)),xx(n,t,!1),n.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=i.get("size");z(l)||(l=[l,l]),n.scaleX=l[0]/2,n.scaleY=l[1]/2,wo(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,s)}},r.prototype._moveHandleToValue=function(e,t){_x(this._axisPointerModel,!t&&this._moveAnimation,this._handle,Fc(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(e,t){var a=this._handle;if(a){this._dragging=!0;var n=this.updateHandleTransform(Fc(a),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,a.stopAnimation(),a.attr(Fc(n)),Nn(a).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),a=this._group,n=this._handle;t&&a&&(this._lastGraphicKey=null,a&&t.remove(a),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Ws(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(e,t,a){return a=a||0,{x:e[a],y:e[1-a],width:t[a],height:t[1-a]}},r}();function _x(r,e,t,a){m2(Nn(t).lastProp,a)||(Nn(t).lastProp=a,e?Mt(t,a,r):(t.stopAnimation(),t.attr(a)))}function m2(r,e){if(tt(r)&&tt(e)){var t=!0;return A(e,function(a,n){t=t&&m2(r[n],a)}),!!t}else return r===e}function Sx(r,e){r[e.get(["label","show"])?"show":"hide"]()}function Fc(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function xx(r,e,t){var a=e.get("z"),n=e.get("zlevel");r&&r.traverse(function(i){i.type!=="group"&&(a!=null&&(i.z=a),n!=null&&(i.zlevel=n),i.silent=t)})}const By=T6;function Vy(r){var e=r.get("type"),t=r.getModel(e+"Style"),a;return e==="line"?(a=t.getLineStyle(),a.fill=null):e==="shadow"&&(a=t.getAreaStyle(),a.stroke=null),a}function _2(r,e,t,a,n){var i=t.get("value"),o=S2(i,e.axis,e.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),s=t.getModel("label"),l=yo(s.get("padding")||0),u=s.getFont(),f=il(o,u),h=n.position,v=f.width+l[1]+l[3],c=f.height+l[0]+l[2],p=n.align;p==="right"&&(h[0]-=v),p==="center"&&(h[0]-=v/2);var d=n.verticalAlign;d==="bottom"&&(h[1]-=c),d==="middle"&&(h[1]-=c/2),C6(h,v,c,a);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),r.label={x:h[0],y:h[1],style:kt(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function C6(r,e,t,a){var n=a.getWidth(),i=a.getHeight();r[0]=Math.min(r[0]+e,n)-e,r[1]=Math.min(r[1]+t,i)-t,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function S2(r,e,t,a,n){r=e.scale.parse(r);var i=e.scale.getLabel({value:r},{precision:n.precision}),o=n.formatter;if(o){var s={value:Qg(e,{value:r}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};A(a,function(l){var u=t.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,h=u&&u.getDataParams(f);h&&s.seriesData.push(h)}),$(o)?i=o.replace("{value}",i):K(o)&&(i=o(s))}return i}function zy(r,e,t){var a=nr();return fi(a,a,t.rotation),zr(a,a,t.position),mr([r.dataToCoord(e),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],a)}function x2(r,e,t,a,n,i){var o=va.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=n.get(["label","margin"]),_2(e,a,n,i,{position:zy(a.axis,r,t),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function Gy(r,e,t){return t=t||0,{x1:r[t],y1:r[1-t],x2:e[t],y2:e[1-t]}}function w2(r,e,t){return t=t||0,{x:r[t],y:r[1-t],width:e[t],height:e[1-t]}}function bx(r,e,t,a,n,i){return{cx:r,cy:e,r0:t,r:a,startAngle:n,endAngle:i,clockwise:!0}}var A6=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis,l=s.grid,u=i.get("type"),f=Tx(l,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(a,!0));if(u&&u!=="none"){var v=Vy(i),c=M6[u](s,h,f);c.style=v,t.graphicKey=c.type,t.pointer=c}var p=vd(l.model,n);x2(a,t,p,n,i,o)},e.prototype.getHandleTransform=function(t,a,n){var i=vd(a.axis.grid.model,a,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var o=zy(a.axis,t,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,a,n,i){var o=n.axis,s=o.grid,l=o.getGlobalExtent(!0),u=Tx(s,o).getOtherAxis(o).getGlobalExtent(),f=o.dim==="x"?0:1,h=[t.x,t.y];h[f]+=a[f],h[f]=Math.min(l[1],h[f]),h[f]=Math.max(l[0],h[f]);var v=(u[1]+u[0])/2,c=[v,v];c[f]=h[f];var p=[{verticalAlign:"middle"},{align:"center"}];return{x:h[0],y:h[1],rotation:t.rotation,cursorPoint:c,tooltipOption:p[f]}},e}(By);function Tx(r,e){var t={};return t[e.dim+"AxisIndex"]=e.index,r.getCartesian(t)}var M6={line:function(r,e,t){var a=Gy([e,t[0]],[e,t[1]],Cx(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,e,t){var a=Math.max(1,r.getBandWidth()),n=t[1]-t[0];return{type:"Rect",shape:w2([e-a/2,t[0]],[a,n],Cx(r))}}};function Cx(r){return r.dim==="x"?0:1}const D6=A6;var I6=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(wt);const L6=I6;var ta=xt(),P6=A;function b2(r,e,t){if(!bt.node){var a=e.getZr();ta(a).records||(ta(a).records={}),R6(a,e);var n=ta(a).records[r]||(ta(a).records[r]={});n.handler=t}}function R6(r,e){if(ta(r).initialized)return;ta(r).initialized=!0,t("click",it(Ax,"click")),t("mousemove",it(Ax,"mousemove")),t("globalout",k6);function t(a,n){r.on(a,function(i){var o=O6(e);P6(ta(r).records,function(s){s&&n(s,i,o.dispatchAction)}),E6(o.pendings,e)})}}function E6(r,e){var t=r.showTip.length,a=r.hideTip.length,n;t?n=r.showTip[t-1]:a&&(n=r.hideTip[a-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function k6(r,e,t){r.handler("leave",null,t)}function Ax(r,e,t,a){e.handler(r,t,a)}function O6(r){var e={showTip:[],hideTip:[]},t=function(a){var n=e[a.type];n?n.push(a):(a.dispatchAction=t,r.dispatchAction(a))};return{dispatchAction:t,pendings:e}}function Pd(r,e){if(!bt.node){var t=e.getZr(),a=(ta(t).records||{})[r];a&&(ta(t).records[r]=null)}}var N6=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=a.getComponent("tooltip"),o=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";b2("axisPointer",n,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},e.prototype.remove=function(t,a){Pd("axisPointer",a)},e.prototype.dispose=function(t,a){Pd("axisPointer",a)},e.type="axisPointer",e}(Ht);const B6=N6;function T2(r,e){var t=[],a=r.seriesIndex,n;if(a==null||!(n=e.getSeriesByIndex(a)))return{point:[]};var i=n.getData(),o=ai(i,r);if(o==null||o<0||z(o))return{point:[]};var s=i.getItemGraphicEl(o),l=n.coordinateSystem;if(n.getTooltipPosition)t=n.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),f=l.getOtherAxis(u),h=f.dim,v=u.dim,c=h==="x"||h==="radius"?1:0,p=i.mapDimension(v),d=[];d[c]=i.get(p,o),d[1-c]=i.get(i.getCalculationInfo("stackResultDimension"),o),t=l.dataToPoint(d)||[]}else t=l.dataToPoint(i.getValues(G(l.dimensions,function(y){return i.mapDimension(y)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),t=[g.x+g.width/2,g.y+g.height/2]}return{point:t,el:s}}var Mx=xt();function V6(r,e,t){var a=r.currTrigger,n=[r.x,r.y],i=r,o=r.dispatchAction||U(t.dispatchAction,t),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){Ku(n)&&(n=T2({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},e).point);var l=Ku(n),u=i.axesInfo,f=s.axesInfo,h=a==="leave"||Ku(n),v={},c={},p={list:[],map:{}},d={showPointer:it(G6,c),showTooltip:it(F6,p)};A(s.coordSysMap,function(y,m){var _=l||y.containPoint(n);A(s.coordSysAxesInfo[m],function(S,w){var x=S.axis,b=U6(u,S);if(!h&&_&&(!u||b)){var T=b&&b.value;T==null&&!l&&(T=x.pointToData(n)),T!=null&&Dx(S,T,d,!1,v)}})});var g={};return A(f,function(y,m){var _=y.linkGroup;_&&!c[m]&&A(_.axesInfo,function(S,w){var x=c[w];if(S!==y&&x){var b=x.value;_.mapper&&(b=y.axis.scale.parse(_.mapper(b,Ix(S),Ix(y)))),g[y.key]=b}})}),A(g,function(y,m){Dx(f[m],y,d,!0,v)}),H6(c,f,v),W6(p,n,r,o),$6(f,o,t),v}}function Dx(r,e,t,a,n){var i=r.axis;if(!(i.scale.isBlank()||!i.containData(e))){if(!r.involveSeries){t.showPointer(r,e);return}var o=z6(e,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&n.seriesIndex==null&&B(n,s[0]),!a&&r.snap&&i.containData(l)&&l!=null&&(e=l),t.showPointer(r,e,s),t.showTooltip(r,o,l)}}function z6(r,e){var t=e.axis,a=t.dim,n=r,i=[],o=Number.MAX_VALUE,s=-1;return A(e.seriesModels,function(l,u){var f=l.getData().mapDimensionsAll(a),h,v;if(l.getAxisTooltipData){var c=l.getAxisTooltipData(f,r,t);v=c.dataIndices,h=c.nestestValue}else{if(v=l.getData().indicesOfNearest(f[0],r,t.type==="category"?.5:null),!v.length)return;h=l.getData().get(f[0],v[0])}if(!(h==null||!isFinite(h))){var p=r-h,d=Math.abs(p);d<=o&&((d=0&&s<0)&&(o=d,s=p,n=h,i.length=0),A(v,function(g){i.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:n}}function G6(r,e,t,a){r[e.key]={value:t,payloadBatch:a}}function F6(r,e,t,a){var n=t.payloadBatch,i=e.axis,o=i.model,s=e.axisPointerModel;if(!(!e.triggerTooltip||!n.length)){var l=e.coordSys.model,u=qs(l),f=r.map[u];f||(f=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(f)),f.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:a,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:n.slice()})}}function H6(r,e,t){var a=t.axesInfo=[];A(e,function(n,i){var o=n.axisPointerModel.option,s=r[i];s?(!n.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!n.useHandle&&(o.status="hide"),o.status==="show"&&a.push({axisDim:n.axis.dim,axisIndex:n.axis.model.componentIndex,value:o.value})})}function W6(r,e,t,a){if(Ku(e)||!r.list.length){a({type:"hideTip"});return}var n=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:t.tooltipOption,position:t.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:r.list})}function $6(r,e,t){var a=t.getZr(),n="axisPointerLastHighlights",i=Mx(a)[n]||{},o=Mx(a)[n]={};A(r,function(u,f){var h=u.axisPointerModel.option;h.status==="show"&&A(h.seriesDataIndices,function(v){var c=v.seriesIndex+" | "+v.dataIndex;o[c]=v})});var s=[],l=[];A(i,function(u,f){!o[f]&&l.push(u)}),A(o,function(u,f){!i[f]&&s.push(u)}),l.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function U6(r,e){for(var t=0;t<(r||[]).length;t++){var a=r[t];if(e.axis.dim===a.axisDim&&e.axis.model.componentIndex===a.axisIndex)return a}}function Ix(r){var e=r.axis.model,t={},a=t.axisDim=r.axis.dim;return t.axisIndex=t[a+"AxisIndex"]=e.componentIndex,t.axisName=t[a+"AxisName"]=e.name,t.axisId=t[a+"AxisId"]=e.id,t}function Ku(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function Cl(r){pi.registerAxisPointerClass("CartesianAxisPointer",D6),r.registerComponentModel(L6),r.registerComponentView(B6),r.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!z(t)&&(e.axisPointer.link=[t])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=R5(e,t)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},V6)}function Y6(r){ct(KM),ct(Cl)}var Z6=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var l=s.polar,u=l.getOtherAxis(s),f=u.getExtent(),h=s.dataToCoord(a),v=i.get("type");if(v&&v!=="none"){var c=Vy(i),p=q6[v](s,l,h,f);p.style=c,t.graphicKey=p.type,t.pointer=p}var d=i.get(["label","margin"]),g=X6(a,n,i,l,d);_2(t,n,i,o,g)},e}(By);function X6(r,e,t,a,n){var i=e.axis,o=i.dataToCoord(r),s=a.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=a.getRadiusAxis().getExtent(),u,f,h;if(i.dim==="radius"){var v=nr();fi(v,v,s),zr(v,v,[a.cx,a.cy]),u=mr([o,-n],v);var c=e.getModel("axisLabel").get("rotate")||0,p=va.innerTextLayout(s,c*Math.PI/180,-1);f=p.textAlign,h=p.textVerticalAlign}else{var d=l[1];u=a.coordToPoint([d+n,o]);var g=a.cx,y=a.cy;f=Math.abs(u[0]-g)/d<.3?"center":u[0]>g?"left":"right",h=Math.abs(u[1]-y)/d<.3?"middle":u[1]>y?"top":"bottom"}return{position:u,align:f,verticalAlign:h}}var q6={line:function(r,e,t,a){return r.dim==="angle"?{type:"Line",shape:Gy(e.coordToPoint([a[0],t]),e.coordToPoint([a[1],t]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:t}}},shadow:function(r,e,t,a){var n=Math.max(1,r.getBandWidth()),i=Math.PI/180;return r.dim==="angle"?{type:"Sector",shape:bx(e.cx,e.cy,a[0],a[1],(-t-n/2)*i,(-t+n/2)*i)}:{type:"Sector",shape:bx(e.cx,e.cy,t-n/2,t+n/2,0,Math.PI*2)}}};const K6=Z6;var Q6=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.findAxisModel=function(t){var a,n=this.ecModel;return n.eachComponent(t,function(i){i.getCoordSysModel()===this&&(a=i)},this),a},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(wt);const J6=Q6;var Fy=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Xt).models[0]},e.type="polarAxis",e}(wt);Kt(Fy,yl);var j6=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="angleAxis",e}(Fy),tU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="radiusAxis",e}(Fy),Hy=function(r){k(e,r);function e(t,a){return r.call(this,"radius",t,a)||this}return e.prototype.pointToData=function(t,a){return this.polar.pointToData(t,a)[this.dim==="radius"?0:1]},e}(wr);Hy.prototype.dataToRadius=wr.prototype.dataToCoord;Hy.prototype.radiusToData=wr.prototype.coordToData;const eU=Hy;var rU=xt(),Wy=function(r){k(e,r);function e(t,a){return r.call(this,"angle",t,a||[0,360])||this}return e.prototype.pointToData=function(t,a){return this.polar.pointToData(t,a)[this.dim==="radius"?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,a=t.getLabelModel(),n=t.scale,i=n.getExtent(),o=n.count();if(i[1]-i[0]<1)return 0;var s=i[0],l=t.dataToCoord(s+1)-t.dataToCoord(s),u=Math.abs(l),f=il(s==null?"":s+"",a.getFont(),"center","top"),h=Math.max(f.height,7),v=h/u;isNaN(v)&&(v=1/0);var c=Math.max(0,Math.floor(v)),p=rU(t.model),d=p.lastAutoInterval,g=p.lastTickCount;return d!=null&&g!=null&&Math.abs(d-c)<=1&&Math.abs(g-o)<=1&&d>c?c=d:(p.lastTickCount=o,p.lastAutoInterval=c),c},e}(wr);Wy.prototype.dataToAngle=wr.prototype.dataToCoord;Wy.prototype.angleToData=wr.prototype.coordToData;const aU=Wy;var C2=["radius","angle"],nU=function(){function r(e){this.dimensions=C2,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new eU,this._angleAxis=new aU,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return r.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},r.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},r.prototype.getAxis=function(e){var t="_"+e+"Axis";return this[t]},r.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},r.prototype.getAxesByScale=function(e){var t=[],a=this._angleAxis,n=this._radiusAxis;return a.scale.type===e&&t.push(a),n.scale.type===e&&t.push(n),t},r.prototype.getAngleAxis=function(){return this._angleAxis},r.prototype.getRadiusAxis=function(){return this._radiusAxis},r.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},r.prototype.getTooltipAxes=function(e){var t=e!=null&&e!=="auto"?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},r.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},r.prototype.pointToData=function(e,t){var a=this.pointToCoord(e);return[this._radiusAxis.radiusToData(a[0],t),this._angleAxis.angleToData(a[1],t)]},r.prototype.pointToCoord=function(e){var t=e[0]-this.cx,a=e[1]-this.cy,n=this.getAngleAxis(),i=n.getExtent(),o=Math.min(i[0],i[1]),s=Math.max(i[0],i[1]);n.inverse?o=s-360:s=o+360;var l=Math.sqrt(t*t+a*a);t/=l,a/=l;for(var u=Math.atan2(-a,t)/Math.PI*180,f=us;)u+=f*360;return[l,u]},r.prototype.coordToPoint=function(e){var t=e[0],a=e[1]/180*Math.PI,n=Math.cos(a)*t+this.cx,i=-Math.sin(a)*t+this.cy;return[n,i]},r.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),a=t.getExtent().slice();a[0]>a[1]&&a.reverse();var n=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:e.inverse,contain:function(o,s){var l=o-this.cx,u=s-this.cy,f=l*l+u*u-1e-4,h=this.r,v=this.r0;return f<=h*h&&f>=v*v}}},r.prototype.convertToPixel=function(e,t,a){var n=Lx(t);return n===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(e,t,a){var n=Lx(t);return n===this?this.pointToData(a):null},r}();function Lx(r){var e=r.seriesModel,t=r.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}const iU=nU;function oU(r,e,t){var a=e.get("center"),n=t.getWidth(),i=t.getHeight();r.cx=H(a[0],n),r.cy=H(a[1],i);var o=r.getRadiusAxis(),s=Math.min(n,i)/2,l=e.get("radius");l==null?l=[0,"100%"]:z(l)||(l=[0,l]);var u=[H(l[0],s),H(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function sU(r,e){var t=this,a=t.getAngleAxis(),n=t.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),n.scale.setExtent(1/0,-1/0),r.eachSeries(function(s){if(s.coordinateSystem===t){var l=s.getData();A(Af(l,"radius"),function(u){n.scale.unionExtentFromData(l,u)}),A(Af(l,"angle"),function(u){a.scale.unionExtentFromData(l,u)})}}),eo(a.scale,a.model),eo(n.scale,n.model),a.type==="category"&&!a.onBand){var i=a.getExtent(),o=360/a.scale.count();a.inverse?i[1]+=o:i[1]-=o,a.setExtent(i[0],i[1])}}function lU(r){return r.mainType==="angleAxis"}function Px(r,e){if(r.type=e.get("type"),r.scale=Ah(e),r.onBand=e.get("boundaryGap")&&r.type==="category",r.inverse=e.get("inverse"),lU(e)){r.inverse=r.inverse!==e.get("clockwise");var t=e.get("startAngle");r.setExtent(t,t+(r.inverse?-360:360))}e.axis=r,r.model=e}var uU={dimensions:C2,create:function(r,e){var t=[];return r.eachComponent("polar",function(a,n){var i=new iU(n+"");i.update=sU;var o=i.getRadiusAxis(),s=i.getAngleAxis(),l=a.findAxisModel("radiusAxis"),u=a.findAxisModel("angleAxis");Px(o,l),Px(s,u),oU(i,a,e),t.push(i),a.coordinateSystem=i,i.model=a}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="polar"){var n=a.getReferringComponents("polar",Xt).models[0];a.coordinateSystem=n.coordinateSystem}}),t}};const fU=uU;var hU=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function bu(r,e,t){e[1]>e[0]&&(e=e.slice().reverse());var a=r.coordToPoint([e[0],t]),n=r.coordToPoint([e[1],t]);return{x1:a[0],y1:a[1],x2:n[0],y2:n[1]}}function Tu(r){var e=r.getRadiusAxis();return e.inverse?0:1}function Rx(r){var e=r[0],t=r[r.length-1];e&&t&&Math.abs(Math.abs(e.coord-t.coord)-360)<1e-4&&r.pop()}var vU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="PolarAxisPointer",t}return e.prototype.render=function(t,a){if(this.group.removeAll(),!!t.get("show")){var n=t.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),s=n.getTicksCoords(),l=n.getMinorTicksCoords(),u=G(n.getViewLabels(),function(f){f=et(f);var h=n.scale,v=h.type==="ordinal"?h.getRawOrdinalNumber(f.tickValue):f.tickValue;return f.coord=n.dataToCoord(v),f});Rx(u),Rx(s),A(hU,function(f){t.get([f,"show"])&&(!n.scale.isBlank()||f==="axisLine")&&cU[f](this.group,t,i,s,l,o,u)},this)}},e.type="angleAxis",e}(pi),cU={axisLine:function(r,e,t,a,n,i){var o=e.getModel(["axisLine","lineStyle"]),s=Tu(t),l=s?0:1,u;i[l]===0?u=new Wr({shape:{cx:t.cx,cy:t.cy,r:i[s]},style:o.getLineStyle(),z2:1,silent:!0}):u=new lh({shape:{cx:t.cx,cy:t.cy,r:i[s],r0:i[l]},style:o.getLineStyle(),z2:1,silent:!0}),u.style.fill=null,r.add(u)},axisTick:function(r,e,t,a,n,i){var o=e.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=i[Tu(t)],u=G(a,function(f){return new ie({shape:bu(t,[l,l+s],f.coord)})});r.add(tr(u,{style:J(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(r,e,t,a,n,i){if(n.length){for(var o=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=i[Tu(t)],f=[],h=0;hy?"left":"right",S=Math.abs(g[1]-m)/d<.3?"middle":g[1]>m?"top":"bottom";if(s&&s[p]){var w=s[p];tt(w)&&w.textStyle&&(c=new Ot(w.textStyle,l,l.ecModel))}var x=new Tt({silent:va.isLabelSilent(e),style:kt(c,{x:g[0],y:g[1],fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:h.formattedLabel,align:_,verticalAlign:S})});if(r.add(x),f){var b=va.makeAxisEventDataBase(e);b.targetType="axisLabel",b.value=h.rawLabel,nt(x).eventData=b}},this)},splitLine:function(r,e,t,a,n,i){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var f=[],h=0;h=0?"p":"n",L=b;w&&(a[f][D]||(a[f][D]={p:b,n:b}),L=a[f][D][I]);var P=void 0,R=void 0,E=void 0,N=void 0;if(p.dim==="radius"){var O=p.dataToCoord(M)-b,V=l.dataToCoord(D);Math.abs(O)=N})}}})}function wU(r){var e={};A(r,function(a,n){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=M2(o,s),u=s.getExtent(),f=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/i.count(),h=e[l]||{bandWidth:f,remainedWidth:f,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},v=h.stacks;e[l]=h;var c=A2(a);v[c]||h.autoWidthCount++,v[c]=v[c]||{width:0,maxWidth:0};var p=H(a.get("barWidth"),f),d=H(a.get("barMaxWidth"),f),g=a.get("barGap"),y=a.get("barCategoryGap");p&&!v[c].width&&(p=Math.min(h.remainedWidth,p),v[c].width=p,h.remainedWidth-=p),d&&(v[c].maxWidth=d),g!=null&&(h.gap=g),y!=null&&(h.categoryGap=y)});var t={};return A(e,function(a,n){t[n]={};var i=a.stacks,o=a.bandWidth,s=H(a.categoryGap,o),l=H(a.gap,1),u=a.remainedWidth,f=a.autoWidthCount,h=(u-s)/(f+(f-1)*l);h=Math.max(h,0),A(i,function(d,g){var y=d.maxWidth;y&&y=t.y&&e[1]<=t.y+t.height:a.contain(a.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},r.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e[t.orient==="horizontal"?0:1]))]},r.prototype.dataToPoint=function(e){var t=this.getAxis(),a=this.getRect(),n=[],i=t.orient==="horizontal"?0:1;return e instanceof Array&&(e=e[0]),n[i]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-i]=i===0?a.y+a.height/2:a.x+a.width/2,n},r.prototype.convertToPixel=function(e,t,a){var n=Ex(t);return n===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(e,t,a){var n=Ex(t);return n===this?this.pointToData(a):null},r}();function Ex(r){var e=r.seriesModel,t=r.singleAxisModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}function OU(r,e){var t=[];return r.eachComponent("singleAxis",function(a,n){var i=new kU(a,r,e);i.name="single_"+n,i.resize(a,e),a.coordinateSystem=i,t.push(i)}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="singleAxis"){var n=a.getReferringComponents("singleAxis",Xt).models[0];a.coordinateSystem=n&&n.coordinateSystem}}),t}var NU={create:OU,dimensions:I2};const BU=NU;var kx=["x","y"],VU=["width","height"],zU=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis,l=s.coordinateSystem,u=Wc(l,1-Ff(s)),f=l.dataToPoint(a)[0],h=i.get("type");if(h&&h!=="none"){var v=Vy(i),c=GU[h](s,f,u);c.style=v,t.graphicKey=c.type,t.pointer=c}var p=Rd(n);x2(a,t,p,n,i,o)},e.prototype.getHandleTransform=function(t,a,n){var i=Rd(a,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var o=zy(a.axis,t,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,a,n,i){var o=n.axis,s=o.coordinateSystem,l=Ff(o),u=Wc(s,l),f=[t.x,t.y];f[l]+=a[l],f[l]=Math.min(u[1],f[l]),f[l]=Math.max(u[0],f[l]);var h=Wc(s,1-l),v=(h[1]+h[0])/2,c=[v,v];return c[l]=f[l],{x:f[0],y:f[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(By),GU={line:function(r,e,t){var a=Gy([e,t[0]],[e,t[1]],Ff(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,e,t){var a=r.getBandWidth(),n=t[1]-t[0];return{type:"Rect",shape:w2([e-a/2,t[0]],[a,n],Ff(r))}}};function Ff(r){return r.isHorizontal()?0:1}function Wc(r,e){var t=r.getRect();return[t[kx[e]],t[kx[e]]+t[VU[e]]]}const FU=zU;var HU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="single",e}(Ht);function WU(r){ct(Cl),pi.registerAxisPointerClass("SingleAxisPointer",FU),r.registerComponentView(HU),r.registerComponentView(PU),r.registerComponentModel(Hc),ao(r,"single",Hc,Hc.defaultOption),r.registerCoordinateSystem("single",BU)}var $U=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a,n){var i=mo(t);r.prototype.init.apply(this,arguments),Ox(t,i)},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),Ox(this.option,t)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(wt);function Ox(r,e){var t=r.cellSize,a;z(t)?a=t:a=r.cellSize=[t,t],a.length===1&&(a[1]=a[0]);var n=G([0,1],function(i){return JE(e,i)&&(a[i]="auto"),a[i]!=null&&a[i]!=="auto"});Za(r,e,{type:"box",ignoreSize:n})}const UU=$U;var YU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group;i.removeAll();var o=t.coordinateSystem,s=o.getRangeInfo(),l=o.getOrient(),u=a.getLocaleModel();this._renderDayRect(t,s,i),this._renderLines(t,s,l,i),this._renderYearText(t,s,l,i),this._renderMonthText(t,u,l,i),this._renderWeekText(t,u,s,l,i)},e.prototype._renderDayRect=function(t,a,n){for(var i=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),s=i.getCellWidth(),l=i.getCellHeight(),u=a.start.time;u<=a.end.time;u=i.getNextNDay(u,1).time){var f=i.dataToRect([u],!1).tl,h=new St({shape:{x:f[0],y:f[1],width:s,height:l},cursor:"default",style:o});n.add(h)}},e.prototype._renderLines=function(t,a,n,i){var o=this,s=t.coordinateSystem,l=t.getModel(["splitLine","lineStyle"]).getLineStyle(),u=t.get(["splitLine","show"]),f=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=a.start,v=0;h.time<=a.end.time;v++){p(h.formatedDate),v===0&&(h=s.getDateInfo(a.start.y+"-"+a.start.m));var c=h.date;c.setMonth(c.getMonth()+1),h=s.getDateInfo(c)}p(s.getNextNDay(a.end.time,1).formatedDate);function p(d){o._firstDayOfMonth.push(s.getDateInfo(d)),o._firstDayPoints.push(s.dataToRect([d],!1).tl);var g=o._getLinePointsOfOneWeek(t,d,n);o._tlpoints.push(g[0]),o._blpoints.push(g[g.length-1]),u&&o._drawSplitline(g,l,i)}u&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,f,n),l,i),u&&this._drawSplitline(o._getEdgesPoints(o._blpoints,f,n),l,i)},e.prototype._getEdgesPoints=function(t,a,n){var i=[t[0].slice(),t[t.length-1].slice()],o=n==="horizontal"?0:1;return i[0][o]=i[0][o]-a/2,i[1][o]=i[1][o]+a/2,i},e.prototype._drawSplitline=function(t,a,n){var i=new Ne({z2:20,shape:{points:t},style:a});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,a,n){for(var i=t.coordinateSystem,o=i.getDateInfo(a),s=[],l=0;l<7;l++){var u=i.getNextNDay(o.time,l),f=i.dataToRect([u.time],!1);s[2*u.day]=f.tl,s[2*u.day+1]=f[n==="horizontal"?"bl":"tr"]}return s},e.prototype._formatterLabel=function(t,a){return $(t)&&t?qE(t,a):K(t)?t(a):a.nameMap},e.prototype._yearTextPositionControl=function(t,a,n,i,o){var s=a[0],l=a[1],u=["center","bottom"];i==="bottom"?(l+=o,u=["center","top"]):i==="left"?s-=o:i==="right"?(s+=o,u=["center","top"]):l-=o;var f=0;return(i==="left"||i==="right")&&(f=Math.PI/2),{rotation:f,x:s,y:l,style:{align:u[0],verticalAlign:u[1]}}},e.prototype._renderYearText=function(t,a,n,i){var o=t.getModel("yearLabel");if(o.get("show")){var s=o.get("margin"),l=o.get("position");l||(l=n!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],f=(u[0][0]+u[1][0])/2,h=(u[0][1]+u[1][1])/2,v=n==="horizontal"?0:1,c={top:[f,u[v][1]],bottom:[f,u[1-v][1]],left:[u[1-v][0],h],right:[u[v][0],h]},p=a.start.y;+a.end.y>+a.start.y&&(p=p+"-"+a.end.y);var d=o.get("formatter"),g={start:a.start.y,end:a.end.y,nameMap:p},y=this._formatterLabel(d,g),m=new Tt({z2:30,style:kt(o,{text:y})});m.attr(this._yearTextPositionControl(m,c[l],n,l,s)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,a,n,i,o){var s="left",l="top",u=t[0],f=t[1];return n==="horizontal"?(f=f+o,a&&(s="center"),i==="start"&&(l="bottom")):(u=u+o,a&&(l="middle"),i==="start"&&(s="right")),{x:u,y:f,align:s,verticalAlign:l}},e.prototype._renderMonthText=function(t,a,n,i){var o=t.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),l=o.get("margin"),u=o.get("position"),f=o.get("align"),h=[this._tlpoints,this._blpoints];(!s||$(s))&&(s&&(a=Hp(s)||a),s=a.get(["time","monthAbbr"])||[]);var v=u==="start"?0:1,c=n==="horizontal"?0:1;l=u==="start"?-l:l;for(var p=f==="center",d=0;d=n.start.time&&a.times.end.time&&t.reverse(),t},r.prototype._getRangeInfo=function(e){var t=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],a;t[0].time>t[1].time&&(a=!0,t.reverse());var n=Math.floor(t[1].time/$c)-Math.floor(t[0].time/$c)+1,i=new Date(t[0].time),o=i.getDate(),s=t[1].date.getDate();i.setDate(o+n-1);var l=i.getDate();if(l!==s)for(var u=i.getTime()-t[1].time>0?1:-1;(l=i.getDate())!==s&&(i.getTime()-t[1].time)*u>0;)n-=u,i.setDate(l-u);var f=Math.floor((n+t[0].day+6)/7),h=a?-f+1:f-1;return a&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:f,nthWeek:h,fweek:t[0].day,lweek:t[1].day}},r.prototype._getDateByWeeksAndDay=function(e,t,a){var n=this._getRangeInfo(a);if(e>n.weeks||e===0&&tn.lweek)return null;var i=(e-1)*7-n.fweek+t,o=new Date(n.start.time);return o.setDate(+n.start.d+i),this.getDateInfo(o)},r.create=function(e,t){var a=[];return e.eachComponent("calendar",function(n){var i=new r(n);a.push(i),n.coordinateSystem=i}),e.eachSeries(function(n){n.get("coordinateSystem")==="calendar"&&(n.coordinateSystem=a[n.get("calendarIndex")||0])}),a},r.dimensions=["time","value"],r}();function Nx(r){var e=r.calendarModel,t=r.seriesModel,a=e?e.coordinateSystem:t?t.coordinateSystem:null;return a}const qU=XU;function KU(r){r.registerComponentModel(UU),r.registerComponentView(ZU),r.registerCoordinateSystem("calendar",qU)}function QU(r,e){var t=r.existing;if(e.id=r.keyInfo.id,!e.type&&t&&(e.type=t.type),e.parentId==null){var a=e.parentOption;a?e.parentId=a.id:t&&(e.parentId=t.parentId)}e.parentOption=null}function Bx(r,e){var t;return A(e,function(a){r[a]!=null&&r[a]!=="auto"&&(t=!0)}),t}function JU(r,e,t){var a=B({},t),n=r[e],i=t.$action||"merge";i==="merge"?n?(ut(n,a,!0),Za(n,a,{ignoreSize:!0}),pC(t,n),Cu(t,n),Cu(t,n,"shape"),Cu(t,n,"style"),Cu(t,n,"extra"),t.clipPath=n.clipPath):r[e]=a:i==="replace"?r[e]=a:i==="remove"&&n&&(r[e]=null)}var L2=["transition","enterFrom","leaveTo"],jU=L2.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function Cu(r,e,t){if(t&&(!r[t]&&e[t]&&(r[t]={}),r=r[t],e=e[t]),!(!r||!e))for(var a=t?L2:jU,n=0;n=0;f--){var h=n[f],v=Qt(h.id,null),c=v!=null?o.get(v):null;if(c){var p=c.parent,y=Qe(p),m=p===i?{width:s,height:l}:{width:y.width,height:y.height},_={},S=mh(c,h,m,null,{hv:h.hv,boundingMode:h.bounding},_);if(!Qe(c).isNew&&S){for(var w=h.transition,x={},b=0;b=0)?x[T]=C:c[T]=C}Mt(c,x,t,0)}else c.attr(_)}}},e.prototype._clear=function(){var t=this,a=this._elMap;a.each(function(n){Qu(n,Qe(n).option,a,t._lastGraphicModel)}),this._elMap=q()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Ht);function Ed(r){var e=Y(Vx,r)?Vx[r]:wg(r),t=new e({});return Qe(t).type=r,t}function zx(r,e,t,a){var n=Ed(t);return e.add(n),a.set(r,n),Qe(n).id=r,Qe(n).isNew=!0,n}function Qu(r,e,t,a){var n=r&&r.parent;n&&(r.type==="group"&&r.traverse(function(i){Qu(i,e,t,a)}),kh(r,e,a),t.removeKey(Qe(r).id))}function Gx(r,e,t,a){r.isGroup||A([["cursor",ir.prototype.cursor],["zlevel",a||0],["z",t||0],["z2",0]],function(n){var i=n[0];Y(e,i)?r[i]=lt(e[i],n[1]):r[i]==null&&(r[i]=n[1])}),A(mt(e),function(n){if(n.indexOf("on")===0){var i=e[n];r[n]=K(i)?i:null}}),Y(e,"draggable")&&(r.draggable=e.draggable),e.name!=null&&(r.name=e.name),e.id!=null&&(r.id=e.id)}function a8(r){return r=B({},r),A(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(cC),function(e){delete r[e]}),r}function n8(r,e,t){var a=nt(r).eventData;!r.silent&&!r.ignore&&!a&&(a=nt(r).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:r.name}),a&&(a.info=t.info)}function i8(r){r.registerComponentModel(e8),r.registerComponentView(r8),r.registerPreprocessor(function(e){var t=e.graphic;z(t)?!t[0]||!t[0].elements?e.graphic=[{elements:t}]:e.graphic=[e.graphic[0]]:t&&!t.elements&&(e.graphic=[{elements:[t]}])})}var Fx=["x","y","radius","angle","single"],o8=["cartesian2d","polar","singleAxis"];function s8(r){var e=r.get("coordinateSystem");return vt(o8,e)>=0}function Va(r){return r+"Axis"}function l8(r,e){var t=q(),a=[],n=q();r.eachComponent({mainType:"dataZoom",query:e},function(f){n.get(f.uid)||s(f)});var i;do i=!1,r.eachComponent("dataZoom",o);while(i);function o(f){!n.get(f.uid)&&l(f)&&(s(f),i=!0)}function s(f){n.set(f.uid,!0),a.push(f),u(f)}function l(f){var h=!1;return f.eachTargetAxis(function(v,c){var p=t.get(v);p&&p[c]&&(h=!0)}),h}function u(f){f.eachTargetAxis(function(h,v){(t.get(h)||t.set(h,[]))[v]=!0})}return a}function P2(r){var e=r.ecModel,t={infoList:[],infoMap:q()};return r.eachTargetAxis(function(a,n){var i=e.getComponent(Va(a),n);if(i){var o=i.getCoordSysModel();if(o){var s=o.uid,l=t.infoMap.get(s);l||(l={model:o,axisModels:[]},t.infoList.push(l),t.infoMap.set(s,l)),l.axisModels.push(i)}}}),t}var Uc=function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},r}(),u8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return e.prototype.init=function(t,a,n){var i=Hx(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var a=Hx(t);ut(this.option,t,!0),ut(this.settledOption,a,!0),this._doInit(a)},e.prototype._doInit=function(t){var a=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;A([["start","startValue"],["end","endValue"]],function(i,o){this._rangePropMode[o]==="value"&&(a[i[0]]=n[i[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),a=this._targetAxisInfoMap=q(),n=this._fillSpecifiedTargetAxis(a);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var a=!1;return A(Fx,function(n){var i=this.getReferringComponents(Va(n),DP);if(i.specified){a=!0;var o=new Uc;A(i.models,function(s){o.add(s.componentIndex)}),t.set(n,o)}},this),a},e.prototype._fillAutoTargetAxisByOrient=function(t,a){var n=this.ecModel,i=!0;if(i){var o=a==="vertical"?"y":"x",s=n.findComponents({mainType:o+"Axis"});l(s,o)}if(i){var s=n.findComponents({mainType:"singleAxis",filter:function(f){return f.get("orient",!0)===a}});l(s,"single")}function l(u,f){var h=u[0];if(h){var v=new Uc;if(v.add(h.componentIndex),t.set(f,v),i=!1,f==="x"||f==="y"){var c=h.getReferringComponents("grid",Xt).models[0];c&&A(u,function(p){h.componentIndex!==p.componentIndex&&c===p.getReferringComponents("grid",Xt).models[0]&&v.add(p.componentIndex)})}}}i&&A(Fx,function(u){if(i){var f=n.findComponents({mainType:Va(u),filter:function(v){return v.get("type",!0)==="category"}});if(f[0]){var h=new Uc;h.add(f[0].componentIndex),t.set(u,h),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(a){!t&&(t=a)},this),t==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var a=this._rangePropMode,n=this.get("rangeMode");A([["start","startValue"],["end","endValue"]],function(i,o){var s=t[i[0]]!=null,l=t[i[1]]!=null;s&&!l?a[o]="percent":!s&&l?a[o]="value":n?a[o]=n[o]:s&&(a[o]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(a,n){t==null&&(t=this.ecModel.getComponent(Va(a),n))},this),t},e.prototype.eachTargetAxis=function(t,a){this._targetAxisInfoMap.each(function(n,i){A(n.indexList,function(o){t.call(a,i,o)})})},e.prototype.getAxisProxy=function(t,a){var n=this.getAxisModel(t,a);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,a){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[a])return this.ecModel.getComponent(Va(t),a)},e.prototype.setRawRange=function(t){var a=this.option,n=this.settledOption;A([["start","startValue"],["end","endValue"]],function(i){(t[i[0]]!=null||t[i[1]]!=null)&&(a[i[0]]=n[i[0]]=t[i[0]],a[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var a=this.option;A(["start","startValue","end","endValue"],function(n){a[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,a){if(t==null&&a==null){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()}else return this.getAxisProxy(t,a).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var a,n=this._targetAxisInfoMap.keys(),i=0;io[1];if(_&&!S&&!w)return!0;_&&(g=!0),S&&(p=!0),w&&(d=!0)}return g&&p&&d})}else Fi(f,function(c){if(i==="empty")l.setData(u=u.map(c,function(d){return s(d)?d:NaN}));else{var p={};p[c]=o,u.selectRange(p)}});Fi(f,function(c){u.setApproximateExtent(o,c)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,a=this._dataExtent;Fi(["min","max"],function(n){var i=t.get(n+"Span"),o=t.get(n+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?i=It(a[0]+o,a,[0,100],!0):i!=null&&(o=It(i,[0,100],a,!0)-a[0]),e[n+"Span"]=i,e[n+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,a=this._valueWindow;if(t){var n=Fb(a,[0,500]);n=Math.min(n,20);var i=e.axis.scale.rawExtentInfo;t[0]!==0&&i.setDeterminedMinMax("min",+a[0].toFixed(n)),t[1]!==100&&i.setDeterminedMinMax("max",+a[1].toFixed(n)),i.freeze()}},r}();function g8(r,e,t){var a=[1/0,-1/0];Fi(t,function(o){GB(a,o.getData(),e)});var n=r.getAxisModel(),i=XA(n.axis.scale,n,a).calculate();return[i.min,i.max]}const y8=d8;var m8={getTargetSeries:function(r){function e(n){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,s){var l=r.getComponent(Va(o),s);n(o,s,l,i)})})}e(function(n,i,o,s){o.__dzAxisProxy=null});var t=[];e(function(n,i,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new y8(n,i,s,r),t.push(o.__dzAxisProxy))});var a=q();return A(t,function(n){A(n.getTargetSeriesModels(),function(i){a.set(i.uid,i)})}),a},overallReset:function(r,e){r.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(a,n){t.getAxisProxy(a,n).reset(t)}),t.eachTargetAxis(function(a,n){t.getAxisProxy(a,n).filterData(t,e)})}),r.eachComponent("dataZoom",function(t){var a=t.findRepresentativeAxisProxy();if(a){var n=a.getDataPercentWindow(),i=a.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};const _8=m8;function S8(r){r.registerAction("dataZoom",function(e,t){var a=l8(t,e);A(a,function(n){n.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var $x=!1;function Uy(r){$x||($x=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,_8),S8(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function x8(r){r.registerComponentModel(h8),r.registerComponentView(p8),Uy(r)}var je=function(){function r(){}return r}(),R2={};function Hi(r,e){R2[r]=e}function E2(r){return R2[r]}var w8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;A(this.option.feature,function(a,n){var i=E2(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(t)),ut(a,i.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(wt);const b8=w8;function T8(r,e,t){var a=e.getBoxLayoutParams(),n=e.get("padding"),i={width:t.getWidth(),height:t.getHeight()},o=Jt(a,i,n);Jn(e.get("orient"),r,e.get("itemGap"),o.width,o.height),mh(r,a,i,n)}function k2(r,e){var t=yo(e.get("padding")),a=e.getItemStyle(["color","opacity"]);return a.fill=e.get("backgroundColor"),r=new St({shape:{x:r.x-t[3],y:r.y-t[0],width:r.width+t[1]+t[3],height:r.height+t[0]+t[2],r:e.get("borderRadius")},style:a,silent:!0,z2:-1}),r}var C8=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n,i){var o=this.group;if(o.removeAll(),!t.get("show"))return;var s=+t.get("itemSize"),l=t.get("orient")==="vertical",u=t.get("feature")||{},f=this._features||(this._features={}),h=[];A(u,function(p,d){h.push(d)}),new ha(this._featureNames||[],h).add(v).update(v).remove(it(v,null)).execute(),this._featureNames=h;function v(p,d){var g=h[p],y=h[d],m=u[g],_=new Ot(m,t,t.ecModel),S;if(i&&i.newTitle!=null&&i.featureName===g&&(m.title=i.newTitle),g&&!y){if(A8(g))S={onclick:_.option.onclick,featureName:g};else{var w=E2(g);if(!w)return;S=new w}f[g]=S}else if(S=f[y],!S)return;S.uid=go("toolbox-feature"),S.model=_,S.ecModel=a,S.api=n;var x=S instanceof je;if(!g&&y){x&&S.dispose&&S.dispose(a,n);return}if(!_.get("show")||x&&S.unusable){x&&S.remove&&S.remove(a,n);return}c(_,S,g),_.setIconStatus=function(b,T){var C=this.option,M=this.iconPaths;C.iconStatus=C.iconStatus||{},C.iconStatus[b]=T,M[b]&&(T==="emphasis"?ua:fa)(M[b])},S instanceof je&&S.render&&S.render(_,a,n,i)}function c(p,d,g){var y=p.getModel("iconStyle"),m=p.getModel(["emphasis","iconStyle"]),_=d instanceof je&&d.getIcons?d.getIcons():p.get("icon"),S=p.get("title")||{},w,x;$(_)?(w={},w[g]=_):w=_,$(S)?(x={},x[g]=S):x=S;var b=p.iconPaths={};A(w,function(T,C){var M=fl(T,{},{x:-s/2,y:-s/2,width:s,height:s});M.setStyle(y.getItemStyle());var D=M.ensureState("emphasis");D.style=m.getItemStyle();var I=new Tt({style:{text:x[C],align:m.get("textAlign"),borderRadius:m.get("textBorderRadius"),padding:m.get("textPadding"),fill:null},ignore:!0});M.setTextContent(I),co({el:M,componentModel:t,itemName:C,formatterParamsExtra:{title:x[C]}}),M.__title=x[C],M.on("mouseover",function(){var L=m.getItemStyle(),P=l?t.get("right")==null&&t.get("left")!=="right"?"right":"left":t.get("bottom")==null&&t.get("top")!=="bottom"?"bottom":"top";I.setStyle({fill:m.get("textFill")||L.fill||L.stroke||"#000",backgroundColor:m.get("textBackgroundColor")}),M.setTextConfig({position:m.get("textPosition")||P}),I.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){p.get(["iconStatus",C])!=="emphasis"&&n.leaveEmphasis(this),I.hide()}),(p.get(["iconStatus",C])==="emphasis"?ua:fa)(M),o.add(M),M.on("click",U(d.onclick,d,a,n,C)),b[C]=M})}T8(o,t,n),o.add(k2(o.getBoundingRect(),t)),l||o.eachChild(function(p){var d=p.__title,g=p.ensureState("emphasis"),y=g.textConfig||(g.textConfig={}),m=p.getTextContent(),_=m&&m.ensureState("emphasis");if(_&&!K(_)&&d){var S=_.style||(_.style={}),w=il(d,Tt.makeFont(S)),x=p.x+o.x,b=p.y+o.y+s,T=!1;b+w.height>n.getHeight()&&(y.position="top",T=!0);var C=T?-5-w.height:s+10;x+w.width/2>n.getWidth()?(y.position=["100%",C],S.align="right"):x-w.width/2<0&&(y.position=[0,C],S.align="left")}})},e.prototype.updateView=function(t,a,n,i){A(this._features,function(o){o instanceof je&&o.updateView&&o.updateView(o.model,a,n,i)})},e.prototype.remove=function(t,a){A(this._features,function(n){n instanceof je&&n.remove&&n.remove(t,a)}),this.group.removeAll()},e.prototype.dispose=function(t,a){A(this._features,function(n){n instanceof je&&n.dispose&&n.dispose(t,a)})},e.type="toolbox",e}(Ht);function A8(r){return r.indexOf("my")===0}const M8=C8;var D8=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onclick=function(t,a){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o=a.getZr().painter.getType()==="svg",s=o?"svg":n.get("type",!0)||"png",l=a.getConnectedDataURL({type:s,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),u=bt.browser;if(K(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var f=document.createElement("a");f.download=i+"."+s,f.target="_blank",f.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});f.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||o){var v=l.split(","),c=v[0].indexOf("base64")>-1,p=o?decodeURIComponent(v[1]):v[1];c&&(p=window.atob(p));var d=i+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=p.length,y=new Uint8Array(g);g--;)y[g]=p.charCodeAt(g);var m=new Blob([y]);window.navigator.msSaveOrOpenBlob(m,d)}else{var _=document.createElement("iframe");document.body.appendChild(_);var S=_.contentWindow,w=S.document;w.open("image/svg+xml","replace"),w.write(p),w.close(),S.focus(),w.execCommand("SaveAs",!0,d),document.body.removeChild(_)}}else{var x=n.get("lang"),b='',T=window.open();T.document.write(b),T.document.title=i}},e.getDefaultOption=function(t){var a={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},e}(je);const I8=D8;var Ux="__ec_magicType_stack__",L8=[["line","bar"],["stack"]],P8=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getIcons=function(){var t=this.model,a=t.get("icon"),n={};return A(t.get("type"),function(i){a[i]&&(n[i]=a[i])}),n},e.getDefaultOption=function(t){var a={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return a},e.prototype.onclick=function(t,a,n){var i=this.model,o=i.get(["seriesIndex",n]);if(Yx[n]){var s={series:[]},l=function(h){var v=h.subType,c=h.id,p=Yx[n](v,c,h,i);p&&(J(p,h.option),s.series.push(p));var d=h.coordinateSystem;if(d&&d.type==="cartesian2d"&&(n==="line"||n==="bar")){var g=d.getAxesByScale("ordinal")[0];if(g){var y=g.dim,m=y+"Axis",_=h.getReferringComponents(m,Xt).models[0],S=_.componentIndex;s[m]=s[m]||[];for(var w=0;w<=S;w++)s[m][S]=s[m][S]||{};s[m][S].boundaryGap=n==="bar"}}};A(L8,function(h){vt(h,n)>=0&&A(h,function(v){i.setIconStatus(v,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,f=n;n==="stack"&&(u=ut({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),i.get(["iconStatus",n])!=="emphasis"&&(f="tiled")),a.dispatchAction({type:"changeMagicType",currentType:f,newOption:s,newTitle:u,featureName:"magicType"})}},e}(je),Yx={line:function(r,e,t,a){if(r==="bar")return ut({id:e,type:"line",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(r,e,t,a){if(r==="line")return ut({id:e,type:"bar",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(r,e,t,a){var n=t.get("stack")===Ux;if(r==="line"||r==="bar")return a.setIconStatus("stack",n?"normal":"emphasis"),ut({id:e,stack:n?"":Ux},a.get(["option","stack"])||{},!0)}};Ur({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,e){e.mergeOption(r.newOption)});const R8=P8;var Oh=new Array(60).join("-"),oo=" ";function E8(r){var e={},t=[],a=[];return r.eachRawSeries(function(n){var i=n.coordinateSystem;if(i&&(i.type==="cartesian2d"||i.type==="polar")){var o=i.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;e[s]||(e[s]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},a.push({axisDim:o.dim,axisIndex:o.index})),e[s].series.push(n)}else t.push(n)}else t.push(n)}),{seriesGroupByCategoryAxis:e,other:t,meta:a}}function k8(r){var e=[];return A(r,function(t,a){var n=t.categoryAxis,i=t.valueAxis,o=i.dim,s=[" "].concat(G(t.series,function(c){return c.name})),l=[n.model.getCategories()];A(t.series,function(c){var p=c.getRawData();l.push(c.getRawData().mapArray(p.mapDimension(o),function(d){return d}))});for(var u=[s.join(oo)],f=0;f=0)return!0}var kd=new RegExp("["+oo+"]+","g");function V8(r){for(var e=r.split(/\n+/g),t=Hf(e.shift()).split(kd),a=[],n=G(t,function(l){return{name:l,data:[]}}),i=0;i=0;i--){var o=t[i];if(o[n])break}if(i<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var l=s.getPercentRange();t[0][n]={dataZoomId:n,start:l[0],end:l[1]}}}}),t.push(e)}function U8(r){var e=Yy(r),t=e[e.length-1];e.length>1&&e.pop();var a={};return O2(t,function(n,i){for(var o=e.length-1;o>=0;o--)if(n=e[o][i],n){a[i]=n;break}}),a}function Y8(r){N2(r).snapshots=null}function Z8(r){return Yy(r).length}function Yy(r){var e=N2(r);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var X8=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onclick=function(t,a){Y8(t),a.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var a={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return a},e}(je);Ur({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,e){e.resetOption("recreate")});const q8=X8;var K8=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Q8=function(){function r(e,t,a){var n=this;this._targetInfoList=[];var i=Zx(t,e);A(J8,function(o,s){(!a||!a.include||vt(a.include,s)>=0)&&o(i,n._targetInfoList)})}return r.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(a,n,i){if((a.coordRanges||(a.coordRanges=[])).push(n),!a.coordRange){a.coordRange=n;var o=Yc[a.brushType](0,i,n);a.__rangeOffset={offset:Qx[a.brushType](o.values,a.range,[1,1]),xyMinMax:o.xyMinMax}}}),e},r.prototype.matchOutputRanges=function(e,t,a){A(e,function(n){var i=this.findTargetInfo(n,t);i&&i!==!0&&A(i.coordSyses,function(o){var s=Yc[n.brushType](1,o,n.range,!0);a(n,s.values,o,t)})},this)},r.prototype.setInputRanges=function(e,t){A(e,function(a){var n=this.findTargetInfo(a,t);if(a.range=a.range||[],n&&n!==!0){a.panelId=n.panelId;var i=Yc[a.brushType](0,n.coordSys,a.coordRange),o=a.__rangeOffset;a.range=o?Qx[a.brushType](i.values,o.offset,j8(i.xyMinMax,o.xyMinMax)):i.values}},this)},r.prototype.makePanelOpts=function(e,t){return G(this._targetInfoList,function(a){var n=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:t?t(a):null,clipPath:WD(n),isTargetByCursor:UD(n,e,a.coordSysModel),getLinearBrushOtherExtent:$D(n)}})},r.prototype.controlSeries=function(e,t,a){var n=this.findTargetInfo(e,a);return n===!0||n&&vt(n.coordSyses,t.coordinateSystem)>=0},r.prototype.findTargetInfo=function(e,t){for(var a=this._targetInfoList,n=Zx(t,e),i=0;ir[1]&&r.reverse(),r}function Zx(r,e){return ys(r,e,{includeMainTypes:K8})}var J8={grid:function(r,e){var t=r.xAxisModels,a=r.yAxisModels,n=r.gridModels,i=q(),o={},s={};!t&&!a&&!n||(A(t,function(l){var u=l.axis.grid.model;i.set(u.id,u),o[u.id]=!0}),A(a,function(l){var u=l.axis.grid.model;i.set(u.id,u),s[u.id]=!0}),A(n,function(l){i.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),i.each(function(l){var u=l.coordinateSystem,f=[];A(u.getCartesians(),function(h,v){(vt(t,h.getAxis("x").model)>=0||vt(a,h.getAxis("y").model)>=0)&&f.push(h)}),e.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:f[0],coordSyses:f,getPanelRect:qx.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,e){A(r.geoModels,function(t){var a=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:a,coordSyses:[a],getPanelRect:qx.geo})})}},Xx=[function(r,e){var t=r.xAxisModel,a=r.yAxisModel,n=r.gridModel;return!n&&t&&(n=t.axis.grid.model),!n&&a&&(n=a.axis.grid.model),n&&n===e.gridModel},function(r,e){var t=r.geoModel;return t&&t===e.geoModel}],qx={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,e=r.getBoundingRect().clone();return e.applyTransform(Qn(r)),e}},Yc={lineX:it(Kx,0),lineY:it(Kx,1),rect:function(r,e,t,a){var n=r?e.pointToData([t[0][0],t[1][0]],a):e.dataToPoint([t[0][0],t[1][0]],a),i=r?e.pointToData([t[0][1],t[1][1]],a):e.dataToPoint([t[0][1],t[1][1]],a),o=[Od([n[0],i[0]]),Od([n[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(r,e,t,a){var n=[[1/0,-1/0],[1/0,-1/0]],i=G(t,function(o){var s=r?e.pointToData(o,a):e.dataToPoint(o,a);return n[0][0]=Math.min(n[0][0],s[0]),n[1][0]=Math.min(n[1][0],s[1]),n[0][1]=Math.max(n[0][1],s[0]),n[1][1]=Math.max(n[1][1],s[1]),s});return{values:i,xyMinMax:n}}};function Kx(r,e,t,a){var n=t.getAxis(["x","y"][r]),i=Od(G([0,1],function(s){return e?n.coordToData(n.toLocalCoord(a[s]),!0):n.toGlobalCoord(n.dataToCoord(a[s]))})),o=[];return o[r]=i,o[1-r]=[NaN,NaN],{values:i,xyMinMax:o}}var Qx={lineX:it(Jx,0),lineY:it(Jx,1),rect:function(r,e,t){return[[r[0][0]-t[0]*e[0][0],r[0][1]-t[0]*e[0][1]],[r[1][0]-t[1]*e[1][0],r[1][1]-t[1]*e[1][1]]]},polygon:function(r,e,t){return G(r,function(a,n){return[a[0]-t[0]*e[n][0],a[1]-t[1]*e[n][1]]})}};function Jx(r,e,t,a){return[e[0]-a[r]*t[0],e[1]-a[r]*t[1]]}function j8(r,e){var t=jx(r),a=jx(e),n=[t[0]/a[0],t[1]/a[1]];return isNaN(n[0])&&(n[0]=1),isNaN(n[1])&&(n[1]=1),n}function jx(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}const Zy=Q8;var Nd=A,tY=bP("toolbox-dataZoom_"),eY=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n,i){this._brushController||(this._brushController=new My(n.getZr()),this._brushController.on("brush",U(this._onBrush,this)).mount()),nY(t,a,this,i,n),aY(t,a)},e.prototype.onclick=function(t,a,n){rY[n].call(this)},e.prototype.remove=function(t,a){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,a){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var a=t.areas;if(!t.isEnd||!a.length)return;var n={},i=this.ecModel;this._brushController.updateCovers([]);var o=new Zy(Xy(this.model),i,{include:["grid"]});o.matchOutputRanges(a,i,function(u,f,h){if(h.type==="cartesian2d"){var v=u.brushType;v==="rect"?(s("x",h,f[0]),s("y",h,f[1])):s({lineX:"x",lineY:"y"}[v],h,f)}}),$8(i,n),this._dispatchZoomAction(n);function s(u,f,h){var v=f.getAxis(u),c=v.model,p=l(u,c,i),d=p.findRepresentativeAxisProxy(c).getMinMaxSpan();(d.minValueSpan!=null||d.maxValueSpan!=null)&&(h=di(0,h.slice(),v.scale.getExtent(),0,d.minValueSpan,d.maxValueSpan)),p&&(n[p.id]={dataZoomId:p.id,startValue:h[0],endValue:h[1]})}function l(u,f,h){var v;return h.eachComponent({mainType:"dataZoom",subType:"select"},function(c){var p=c.getAxisModel(u,f.componentIndex);p&&(v=c)}),v}},e.prototype._dispatchZoomAction=function(t){var a=[];Nd(t,function(n,i){a.push(et(n))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},e.getDefaultOption=function(t){var a={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return a},e}(je),rY={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(U8(this.ecModel))}};function Xy(r){var e={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return e.xAxisIndex==null&&e.xAxisId==null&&(e.xAxisIndex="all"),e.yAxisIndex==null&&e.yAxisId==null&&(e.yAxisIndex="all"),e}function aY(r,e){r.setIconStatus("back",Z8(e)>1?"emphasis":"normal")}function nY(r,e,t,a,n){var i=t._isZoomActive;a&&a.type==="takeGlobalCursor"&&(i=a.key==="dataZoomSelect"?a.dataZoomSelectActive:!1),t._isZoomActive=i,r.setIconStatus("zoom",i?"emphasis":"normal");var o=new Zy(Xy(r),e,{include:["grid"]}),s=o.makePanelOpts(n,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});t._brushController.setPanels(s).enableBrush(i&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}nk("dataZoom",function(r){var e=r.getComponent("toolbox",0),t=["feature","dataZoom"];if(!e||e.get(t)==null)return;var a=e.getModel(t),n=[],i=Xy(a),o=ys(r,i);Nd(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),Nd(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,f){var h=l.componentIndex,v={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:tY+u+h};v[f]=h,n.push(v)}return n});const iY=eY;function oY(r){r.registerComponentModel(b8),r.registerComponentView(M8),Hi("saveAsImage",I8),Hi("magicType",R8),Hi("dataView",W8),Hi("dataZoom",iY),Hi("restore",q8),ct(x8)}var sY=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(wt);const lY=sY;function B2(r){var e=r.get("confine");return e!=null?!!e:r.get("renderMode")==="richText"}function V2(r){if(bt.domSupported){for(var e=document.documentElement.style,t=0,a=r.length;t-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=i==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=i==="top"?225:45)+"deg)");var f=u*Math.PI/180,h=o+n,v=h*Math.abs(Math.cos(f))+h*Math.abs(Math.sin(f)),c=Math.round(((v-Math.SQRT2*n)/2+Math.SQRT2*n-(v-h)/2)*100)/100;s+=";"+i+":-"+c+"px";var p=e+" solid "+n+"px;",d=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+p,"border-right:"+p,"background-color:"+a+";"];return'
'}function dY(r,e){var t="cubic-bezier(0.23,1,0.32,1)",a=" "+r/2+"s "+t,n="opacity"+a+",visibility"+a;return e||(a=" "+r+"s "+t,n+=bt.transformSupported?","+qy+a:",left"+a+",top"+a),hY+":"+n}function tw(r,e,t){var a=r.toFixed(0)+"px",n=e.toFixed(0)+"px";if(!bt.transformSupported)return t?"top:"+n+";left:"+a+";":[["top",n],["left",a]];var i=bt.transform3dSupported,o="translate"+(i?"3d":"")+"("+a+","+n+(i?",0":"")+")";return t?"top:0;left:0;"+qy+":"+o+";":[["top",0],["left",0],[z2,o]]}function gY(r){var e=[],t=r.get("fontSize"),a=r.getTextColor();a&&e.push("color:"+a),e.push("font:"+r.getFont()),t&&e.push("line-height:"+Math.round(t*3/2)+"px");var n=r.get("textShadowColor"),i=r.get("textShadowBlur")||0,o=r.get("textShadowOffsetX")||0,s=r.get("textShadowOffsetY")||0;return n&&i&&e.push("text-shadow:"+o+"px "+s+"px "+i+"px "+n),A(["decoration","align"],function(l){var u=r.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function yY(r,e,t){var a=[],n=r.get("transitionDuration"),i=r.get("backgroundColor"),o=r.get("shadowBlur"),s=r.get("shadowColor"),l=r.get("shadowOffsetX"),u=r.get("shadowOffsetY"),f=r.getModel("textStyle"),h=ZC(r,"html"),v=l+"px "+u+"px "+o+"px "+s;return a.push("box-shadow:"+v),e&&n&&a.push(dY(n,t)),i&&a.push("background-color:"+i),A(["width","color","radius"],function(c){var p="border-"+c,d=hC(p),g=r.get(d);g!=null&&a.push(p+":"+g+(c==="color"?"":"px"))}),a.push(gY(f)),h!=null&&a.push("padding:"+yo(h).join("px ")+"px"),a.join(";")+";"}function ew(r,e,t,a,n){var i=e&&e.painter;if(t){var o=i&&i.getViewportRoot();o&&ZI(r,o,document.body,a,n)}else{r[0]=a,r[1]=n;var s=i&&i.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/e.getWidth(),r[3]=r[1]/e.getHeight()}var mY=function(){function r(e,t,a){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,bt.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),o=this._appendToBody=a&&a.appendToBody;ew(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(n):e.appendChild(n),this._container=e;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,f=i.painter.getViewportRoot();Xe(f,l,!0),u.dispatch("mousemove",l)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(e){var t=this._container,a=fY(t,"position"),n=t.style;n.position!=="absolute"&&a!=="absolute"&&(n.position="relative");var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},r.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,n=a.style,i=this._styleCoord;a.innerHTML?n.cssText=vY+yY(e,!this._firstShow,this._longHide)+tw(i[0],i[1],!0)+("border-color:"+oi(t)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(e,t,a,n,i){var o=this.el;if(e==null){o.innerHTML="";return}var s="";if($(i)&&a.get("trigger")==="item"&&!B2(a)&&(s=pY(a,n,i)),$(e))o.innerHTML=e+s;else if(e){o.innerHTML="",z(e)||(e=[e]);for(var l=0;l=0?this._tryShow(i,o):n==="leave"&&this._hide(o))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,a=this._ecModel,n=this._api,i=t.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&o.manuallyShowTip(t,a,n,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,a,n,i){if(!(i.from===this.uid||bt.node||!n.getDom())){var o=nw(i,n);this._ticket="";var s=i.dataByCoordSys,l=MY(i,a,n);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&i.x!=null&&i.y!=null){var f=wY;f.x=i.x,f.y=i.y,f.update(),nt(f).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:f},o)}else if(s)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:s,tooltipOption:i.tooltipOption},o);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(t,a,n,i))return;var h=T2(i,a),v=h.point[0],c=h.point[1];v!=null&&c!=null&&this._tryShow({offsetX:v,offsetY:c,target:h.el,position:i.position,positionDefault:"bottom"},o)}else i.x!=null&&i.y!=null&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o))}},e.prototype.manuallyHideTip=function(t,a,n,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(nw(i,n))},e.prototype._manuallyAxisShowTip=function(t,a,n,i){var o=i.seriesIndex,s=i.dataIndex,l=a.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=a.getSeriesByIndex(o);if(u){var f=u.getData(),h=Ko([f.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(h.get("trigger")==="axis")return n.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:i.position}),!0}}},e.prototype._tryShow=function(t,a){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){this._lastDataByCoordSys=null;var s,l;Hn(n,function(u){if(nt(u).dataIndex!=null)return s=u,!0;if(nt(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(t,s,a):l?this._showComponentItemTooltip(t,l,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},e.prototype._showOrMove=function(t,a){var n=t.get("showDelay");a=U(a,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(a,n):a()},e.prototype._showAxisTooltip=function(t,a){var n=this._ecModel,i=this._tooltipModel,o=[a.offsetX,a.offsetY],s=Ko([a.tooltipOption],i),l=this._renderMode,u=[],f=re("section",{blocks:[],noHeader:!0}),h=[],v=new Pv;A(t,function(m){A(m.dataByAxis,function(_){var S=n.getComponent(_.axisDim+"Axis",_.axisIndex),w=_.value;if(!(!S||w==null)){var x=S2(w,S.axis,n,_.seriesDataIndices,_.valueLabelOpt),b=re("section",{header:x,noHeader:!dr(x),sortBlocks:!0,blocks:[]});f.blocks.push(b),A(_.seriesDataIndices,function(T){var C=n.getSeriesByIndex(T.seriesIndex),M=T.dataIndexInside,D=C.getDataParams(M);if(!(D.dataIndex<0)){D.axisDim=_.axisDim,D.axisIndex=_.axisIndex,D.axisType=_.axisType,D.axisId=_.axisId,D.axisValue=Qg(S.axis,{value:w}),D.axisValueLabel=x,D.marker=v.makeTooltipMarker("item",oi(D.color),l);var I=$0(C.formatTooltip(M,!0,null)),L=I.frag;if(L){var P=Ko([C],i).get("valueFormatter");b.blocks.push(P?B({valueFormatter:P},L):L)}I.text&&h.push(I.text),u.push(D)}})}})}),f.blocks.reverse(),h.reverse();var c=a.position,p=s.get("order"),d=K0(f,v,l,p,n.get("useUTC"),s.get("textStyle"));d&&h.unshift(d);var g=l==="richText"?` + +`:"
",y=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(s,c,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],c,null,v)})},e.prototype._showSeriesItemTooltip=function(t,a,n){var i=this._ecModel,o=nt(a),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,v=u.getData(h),c=this._renderMode,p=t.positionDefault,d=Ko([v.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(f,h),m=new Pv;y.marker=m.makeTooltipMarker("item",oi(y.color),c);var _=$0(u.formatTooltip(f,!1,h)),S=d.get("order"),w=d.get("valueFormatter"),x=_.frag,b=x?K0(w?B({valueFormatter:w},x):x,m,c,S,i.get("useUTC"),d.get("textStyle")):_.text,T="item_"+u.name+"_"+f;this._showOrMove(d,function(){this._showTooltipContent(d,b,y,T,t.offsetX,t.offsetY,t.position,t.target,m)}),n({type:"showTip",dataIndexInside:f,dataIndex:v.getRawIndex(f),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,a,n){var i=nt(a),o=i.tooltipConfig,s=o.option||{};if($(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(i.componentMainType,i.componentIndex);f&&u.push(f),u.push({formatter:s.content});var h=t.positionDefault,v=Ko(u,this._tooltipModel,h?{position:h}:null),c=v.get("content"),p=Math.random()+"",d=new Pv;this._showOrMove(v,function(){var g=et(v.get("formatterParams")||{});this._showTooltipContent(v,c,g,p,t.offsetX,t.offsetY,t.position,a,d)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,a,n,i,o,s,l,u,f){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var v=t.get("formatter");l=l||t.get("position");var c=a,p=this._getNearestPoint([o,s],n,t.get("trigger"),t.get("borderColor")),d=p.color;if(v)if($(v)){var g=t.ecModel.get("useUTC"),y=z(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;c=v,m&&(c=ch(y.axisValue,c,g)),c=vC(c,n,!0)}else if(K(v)){var _=U(function(S,w){S===this._ticket&&(h.setContent(w,f,t,d,l),this._updatePosition(t,l,o,s,h,n,u))},this);this._ticket=i,c=v(n,i,_)}else c=v;h.setContent(c,f,t,d,l),h.show(t,d),this._updatePosition(t,l,o,s,h,n,u)}},e.prototype._getNearestPoint=function(t,a,n,i){if(n==="axis"||z(a))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!z(a))return{color:i||a.color||a.borderColor}},e.prototype._updatePosition=function(t,a,n,i,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();a=a||t.get("position");var h=o.getSize(),v=t.get("align"),c=t.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),K(a)&&(a=a([n,i],s,o.el,p,{viewSize:[u,f],contentSize:h.slice()})),z(a))n=H(a[0],u),i=H(a[1],f);else if(tt(a)){var d=a;d.width=h[0],d.height=h[1];var g=Jt(d,{width:u,height:f});n=g.x,i=g.y,v=null,c=null}else if($(a)&&l){var y=AY(a,p,h,t.get("borderWidth"));n=y[0],i=y[1]}else{var y=TY(n,i,o,u,f,v?null:20,c?null:20);n=y[0],i=y[1]}if(v&&(n-=iw(v)?h[0]/2:v==="right"?h[0]:0),c&&(i-=iw(c)?h[1]/2:c==="bottom"?h[1]:0),B2(t)){var y=CY(n,i,o,u,f);n=y[0],i=y[1]}o.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,a){var n=this._lastDataByCoordSys,i=this._cbParamsList,o=!!n&&n.length===t.length;return o&&A(n,function(s,l){var u=s.dataByAxis||[],f=t[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&A(u,function(v,c){var p=h[c]||{},d=v.seriesDataIndices||[],g=p.seriesDataIndices||[];o=o&&v.value===p.value&&v.axisType===p.axisType&&v.axisId===p.axisId&&d.length===g.length,o&&A(d,function(y,m){var _=g[m];o=o&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),i&&A(v.seriesDataIndices,function(y){var m=y.seriesIndex,_=a[m],S=i[m];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=a,!!o},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,a){bt.node||!a.getDom()||(Ws(this,"_updatePosition"),this._tooltipContent.dispose(),Pd("itemTooltip",a))},e.type="tooltip",e}(Ht);function Ko(r,e,t){var a=e.ecModel,n;t?(n=new Ot(t,a,a),n=new Ot(e.option,n,a)):n=e;for(var i=r.length-1;i>=0;i--){var o=r[i];o&&(o instanceof Ot&&(o=o.get("tooltip",!0)),$(o)&&(o={formatter:o}),o&&(n=new Ot(o,n,a)))}return n}function nw(r,e){return r.dispatchAction||U(e.dispatchAction,e)}function TY(r,e,t,a,n,i,o){var s=t.getSize(),l=s[0],u=s[1];return i!=null&&(r+l+i+2>a?r-=l+i:r+=i),o!=null&&(e+u+o>n?e-=u+o:e+=o),[r,e]}function CY(r,e,t,a,n){var i=t.getSize(),o=i[0],s=i[1];return r=Math.min(r+o,a)-o,e=Math.min(e+s,n)-s,r=Math.max(r,0),e=Math.max(e,0),[r,e]}function AY(r,e,t,a){var n=t[0],i=t[1],o=Math.ceil(Math.SQRT2*a)+8,s=0,l=0,u=e.width,f=e.height;switch(r){case"inside":s=e.x+u/2-n/2,l=e.y+f/2-i/2;break;case"top":s=e.x+u/2-n/2,l=e.y-i-o;break;case"bottom":s=e.x+u/2-n/2,l=e.y+f+o;break;case"left":s=e.x-n-o,l=e.y+f/2-i/2;break;case"right":s=e.x+u+o,l=e.y+f/2-i/2}return[s,l]}function iw(r){return r==="center"||r==="middle"}function MY(r,e,t){var a=ug(r).queryOptionMap,n=a.keys()[0];if(!(!n||n==="series")){var i=ol(e,n,a.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var s=t.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var f=nt(u).tooltipConfig;if(f&&f.name===r.name)return l=u,!0}),l)return{componentMainType:n,componentIndex:o.componentIndex,el:l}}}}const DY=bY;function IY(r){ct(Cl),r.registerComponentModel(lY),r.registerComponentView(DY),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Yt),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Yt)}var LY=["rect","polygon","keep","clear"];function PY(r,e){var t=Pt(r?r.brush:[]);if(t.length){var a=[];A(t,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(a=a.concat(u))});var n=r&&r.toolbox;z(n)&&(n=n[0]),n||(n={feature:{}},r.toolbox=[n]);var i=n.feature||(n.feature={}),o=i.brush||(i.brush={}),s=o.type||(o.type=[]);s.push.apply(s,a),RY(s),e&&!s.length&&s.push.apply(s,LY)}}function RY(r){var e={};A(r,function(t){e[t]=1}),r.length=0,A(e,function(t,a){r.push(a)})}var ow=A;function sw(r){if(r){for(var e in r)if(r.hasOwnProperty(e))return!0}}function Bd(r,e,t){var a={};return ow(e,function(i){var o=a[i]=n();ow(r[i],function(s,l){if(le.isValidType(l)){var u={type:l,visual:s};t&&t(u,i),o[l]=new le(u),l==="opacity"&&(u=et(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new le(u))}})}),a;function n(){var i=function(){};i.prototype.__hidden=i.prototype;var o=new i;return o}}function F2(r,e,t){var a;A(t,function(n){e.hasOwnProperty(n)&&sw(e[n])&&(a=!0)}),a&&A(t,function(n){e.hasOwnProperty(n)&&sw(e[n])?r[n]=et(e[n]):delete r[n]})}function EY(r,e,t,a,n,i){var o={};A(r,function(h){var v=le.prepareVisualTypes(e[h]);o[h]=v});var s;function l(h){return Gg(t,s,h)}function u(h,v){aA(t,s,h,v)}i==null?t.each(f):t.each([i],f);function f(h,v){s=i==null?h:v;var c=t.getRawDataItem(s);if(!(c&&c.visualMap===!1))for(var p=a.call(n,h),d=e[p],g=o[p],y=0,m=g.length;ye[0][1]&&(e[0][1]=i[0]),i[1]e[1][1]&&(e[1][1]=i[1])}return e&&vw(e)}};function vw(r){return new ft(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var FY=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){this.ecModel=t,this.api=a,this.model,(this._brushController=new My(a.getZr())).on("brush",U(this._onBrush,this)).mount()},e.prototype.render=function(t,a,n,i){this.model=t,this._updateController(t,a,n,i)},e.prototype.updateTransform=function(t,a,n,i){H2(a),this._updateController(t,a,n,i)},e.prototype.updateVisual=function(t,a,n,i){this.updateTransform(t,a,n,i)},e.prototype.updateView=function(t,a,n,i){this._updateController(t,a,n,i)},e.prototype._updateController=function(t,a,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var a=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:et(n),$from:a}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:et(n),$from:a})},e.type="brush",e}(Ht);const HY=FY;var WY="#ddd",$Y=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.areas=[],t.brushOption={},t}return e.prototype.optionUpdated=function(t,a){var n=this.option;!a&&F2(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:WY},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=G(t,function(a){return cw(this.option,a)},this))},e.prototype.setBrushOption=function(t){this.brushOption=cw(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(wt);function cw(r,e){return ut({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new Ot(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},e,!0)}const UY=$Y;var YY=["rect","polygon","lineX","lineY","keep","clear"],ZY=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n){var i,o,s;a.eachComponent({mainType:"brush"},function(l){i=l.brushType,o=l.brushOption.brushMode||"single",s=s||!!l.areas.length}),this._brushType=i,this._brushMode=o,A(t.get("type",!0),function(l){t.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?s:l===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,a,n){this.render(t,a,n)},e.prototype.getIcons=function(){var t=this.model,a=t.get("icon",!0),n={};return A(t.get("type",!0),function(i){a[i]&&(n[i]=a[i])}),n},e.prototype.onclick=function(t,a,n){var i=this._brushType,o=this._brushMode;n==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?i:i===n?!1:n,brushMode:n==="keep"?o==="multiple"?"single":"multiple":o}})},e.getDefaultOption=function(t){var a={show:!0,type:YY.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return a},e}(je);const XY=ZY;function qY(r){r.registerComponentView(HY),r.registerComponentModel(UY),r.registerPreprocessor(PY),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,NY),r.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(a){a.setAreas(e.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},Yt),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},Yt),Hi("brush",XY)}var KY=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(wt),QY=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){if(this.group.removeAll(),!!t.get("show")){var i=this.group,o=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),u=lt(t.get("textBaseline"),t.get("textVerticalAlign")),f=new Tt({style:kt(o,{text:t.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),h=f.getBoundingRect(),v=t.get("subtext"),c=new Tt({style:kt(s,{text:v,fill:s.getTextColor(),y:h.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),g=t.get("triggerEvent",!0);f.silent=!p&&!g,c.silent=!d&&!g,p&&f.on("click",function(){yf(p,"_"+t.get("target"))}),d&&c.on("click",function(){yf(d,"_"+t.get("subtarget"))}),nt(f).eventData=nt(c).eventData=g?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(f),v&&i.add(c);var y=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=y.width,m.height=y.height;var _=Jt(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));l||(l=t.get("left")||t.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=t.get("top")||t.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),i.x=_.x,i.y=_.y,i.markRedraw();var S={align:l,verticalAlign:u};f.setStyle(S),c.setStyle(S),y=i.getBoundingRect();var w=_.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var b=new St({shape:{x:y.x-w[3],y:y.y-w[0],width:y.width+w[1]+w[3],height:y.height+w[0]+w[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(Ht);function JY(r){r.registerComponentModel(KY),r.registerComponentView(QY)}var jY=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode="box",t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){t==null&&(t=this.option.currentIndex);var a=this._data.count();this.option.loop?t=(t%a+a)%a:(t>=a&&(t=a-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t=this.option,a=t.data||[],n=t.axisType,i=this._names=[],o;n==="category"?(o=[],A(a,function(u,f){var h=Qt(fo(u),""),v;tt(u)?(v=et(u),v.value=f):v=f,o.push(v),i.push(h)})):o=a;var s={category:"ordinal",time:"time",value:"number"}[n]||"number",l=this._data=new Te([{name:"value",type:s}],this);l.initData(o,i)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(wt);const pw=jY;var W2=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline.slider",e.defaultOption=tn(pw.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(pw);Kt(W2,Og.prototype);const t7=W2;var e7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline",e}(Ht);const r7=e7;var a7=function(r){k(e,r);function e(t,a,n,i){var o=r.call(this,t,a,n)||this;return o.type=i||"value",o}return e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},e}(wr);const n7=a7;var Xc=Math.PI,dw=xt(),i7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){this.api=a},e.prototype.render=function(t,a,n){if(this.model=t,this.api=n,this.ecModel=a,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(i,t);t.formatTooltip=function(u){var f=l.scale.getLabel({value:u});return re("nameValue",{noName:!0,value:f})},A(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](i,o,l,t)},this),this._renderAxisLabel(i,s,l,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,a){var n=t.get(["label","position"]),i=t.get("orient"),o=s7(t,a),s;n==null||n==="auto"?s=i==="horizontal"?o.y+o.height/2=0||s==="+"?"left":"right"},u={horizontal:s>=0||s==="+"?"top":"bottom",vertical:"middle"},f={horizontal:0,vertical:Xc/2},h=i==="vertical"?o.height:o.width,v=t.getModel("controlStyle"),c=v.get("show",!0),p=c?v.get("itemSize"):0,d=c?v.get("itemGap"):0,g=p+d,y=t.get(["label","rotate"])||0;y=y*Xc/180;var m,_,S,w=v.get("position",!0),x=c&&v.get("showPlayBtn",!0),b=c&&v.get("showPrevBtn",!0),T=c&&v.get("showNextBtn",!0),C=0,M=h;w==="left"||w==="bottom"?(x&&(m=[0,0],C+=g),b&&(_=[C,0],C+=g),T&&(S=[M-p,0],M-=g)):(x&&(m=[M-p,0],M-=g),b&&(_=[0,0],C+=g),T&&(S=[M-p,0],M-=g));var D=[C,M];return t.get("inverse")&&D.reverse(),{viewRect:o,mainLength:h,orient:i,rotation:f[i],labelRotation:y,labelPosOpt:s,labelAlign:t.get(["label","align"])||l[i],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[i],playPosition:m,prevBtnPosition:_,nextBtnPosition:S,axisExtent:D,controlSize:p,controlGap:d}},e.prototype._position=function(t,a){var n=this._mainGroup,i=this._labelGroup,o=t.viewRect;if(t.orient==="vertical"){var s=nr(),l=o.x,u=o.y+o.height;zr(s,s,[-l,-u]),fi(s,s,-Xc/2),zr(s,s,[l,u]),o=o.clone(),o.applyTransform(s)}var f=m(o),h=m(n.getBoundingRect()),v=m(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=f[0][0];var d=t.labelPosOpt;if(d==null||$(d)){var g=d==="+"?0:1;_(c,h,f,1,g),_(p,v,f,1,1-g)}else{var g=d>=0?0:1;_(c,h,f,1,g),p[1]=c[1]+d}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,y(n),y(i);function y(S){S.originX=f[0][0]-S.x,S.originY=f[1][0]-S.y}function m(S){return[[S.x,S.x+S.width],[S.y,S.y+S.height]]}function _(S,w,x,b,T){S[b]+=x[b][T]-w[b][T]}},e.prototype._createAxis=function(t,a){var n=a.getData(),i=a.get("axisType"),o=o7(a,i);o.getTicks=function(){return n.mapArray(["value"],function(u){return{value:u}})};var s=n.getDataExtent("value");o.setExtent(s[0],s[1]),o.calcNiceTicks();var l=new n7("value",o,t.axisExtent,i);return l.model=a,l},e.prototype._createGroup=function(t){var a=this[t]=new at;return this.group.add(a),a},e.prototype._renderAxisLine=function(t,a,n,i){var o=n.getExtent();if(i.get(["lineStyle","show"])){var s=new ie({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:B({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(s);var l=this._progressLine=new ie({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:J({lineCap:"round",lineWidth:s.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(l)}},e.prototype._renderAxisTick=function(t,a,n,i){var o=this,s=i.getData(),l=n.scale.getTicks();this._tickSymbols=[],A(l,function(u){var f=n.dataToCoord(u.value),h=s.getItemModel(u.value),v=h.getModel("itemStyle"),c=h.getModel(["emphasis","itemStyle"]),p=h.getModel(["progress","itemStyle"]),d={x:f,y:0,onclick:U(o._changeTimeline,o,u.value)},g=gw(h,v,a,d);g.ensureState("emphasis").style=c.getItemStyle(),g.ensureState("progress").style=p.getItemStyle(),Kn(g);var y=nt(g);h.get("tooltip")?(y.dataIndex=u.value,y.dataModel=i):y.dataIndex=y.dataModel=null,o._tickSymbols.push(g)})},e.prototype._renderAxisLabel=function(t,a,n,i){var o=this,s=n.getLabelModel();if(s.get("show")){var l=i.getData(),u=n.getViewLabels();this._tickLabels=[],A(u,function(f){var h=f.tickValue,v=l.getItemModel(h),c=v.getModel("label"),p=v.getModel(["emphasis","label"]),d=v.getModel(["progress","label"]),g=n.dataToCoord(f.tickValue),y=new Tt({x:g,y:0,rotation:t.labelRotation-t.rotation,onclick:U(o._changeTimeline,o,h),silent:!1,style:kt(c,{text:f.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});y.ensureState("emphasis").style=kt(p),y.ensureState("progress").style=kt(d),a.add(y),Kn(y),dw(y).dataIndex=h,o._tickLabels.push(y)})}},e.prototype._renderControl=function(t,a,n,i){var o=t.controlSize,s=t.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel(["emphasis","controlStyle"]).getItemStyle(),f=i.getPlayState(),h=i.get("inverse",!0);v(t.nextBtnPosition,"next",U(this._changeTimeline,this,h?"-":"+")),v(t.prevBtnPosition,"prev",U(this._changeTimeline,this,h?"+":"-")),v(t.playPosition,f?"stop":"play",U(this._handlePlayClick,this,!f),!0);function v(c,p,d,g){if(c){var y=_r(lt(i.get(["controlStyle",p+"BtnSize"]),o),o),m=[0,-y/2,y,y],_=l7(i,p+"Icon",m,{x:c[0],y:c[1],originX:o/2,originY:0,rotation:g?-s:0,rectHover:!0,style:l,onclick:d});_.ensureState("emphasis").style=u,a.add(_),Kn(_)}}},e.prototype._renderCurrentPointer=function(t,a,n,i){var o=i.getData(),s=i.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),u=this,f={onCreate:function(h){h.draggable=!0,h.drift=U(u._handlePointerDrag,u),h.ondragend=U(u._handlePointerDragend,u),yw(h,u._progressLine,s,n,i,!0)},onUpdate:function(h){yw(h,u._progressLine,s,n,i)}};this._currentPointer=gw(l,l,this._mainGroup,{},this._currentPointer,f)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,a,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,a){var n=this._toAxisCoord(t)[0],i=this._axis,o=rr(i.getExtent().slice());n>o[1]&&(n=o[1]),n=0&&(o[i]=+o[i].toFixed(v)),[o,h]}var qc={min:it(Du,"min"),max:it(Du,"max"),average:it(Du,"average"),median:it(Du,"median")};function rl(r,e){if(e){var t=r.getData(),a=r.coordinateSystem,n=a&&a.dimensions;if(!g7(e)&&!z(e.coord)&&z(n)){var i=U2(e,t,a,r);if(e=et(e),e.type&&qc[e.type]&&i.baseAxis&&i.valueAxis){var o=vt(n,i.baseAxis.dim),s=vt(n,i.valueAxis.dim),l=qc[e.type](t,i.baseDataDim,i.valueDataDim,o,s);e.coord=l[0],e.value=l[1]}else e.coord=[e.xAxis!=null?e.xAxis:e.radiusAxis,e.yAxis!=null?e.yAxis:e.angleAxis]}if(e.coord==null||!z(n))e.coord=[];else for(var u=e.coord,f=0;f<2;f++)qc[u[f]]&&(u[f]=Qy(t,t.mapDimension(n[f]),u[f]));return e}}function U2(r,e,t,a){var n={};return r.valueIndex!=null||r.valueDim!=null?(n.valueDataDim=r.valueIndex!=null?e.getDimension(r.valueIndex):r.valueDim,n.valueAxis=t.getAxis(y7(a,n.valueDataDim)),n.baseAxis=t.getOtherAxis(n.valueAxis),n.baseDataDim=e.mapDimension(n.baseAxis.dim)):(n.baseAxis=a.getBaseAxis(),n.valueAxis=t.getOtherAxis(n.baseAxis),n.baseDataDim=e.mapDimension(n.baseAxis.dim),n.valueDataDim=e.mapDimension(n.valueAxis.dim)),n}function y7(r,e){var t=r.getData().getDimensionInfo(e);return t&&t.coordDim}function al(r,e){return r&&r.containData&&e.coord&&!zd(e)?r.containData(e.coord):!0}function m7(r,e,t){return r&&r.containZone&&e.coord&&t.coord&&!zd(e)&&!zd(t)?r.containZone(e.coord,t.coord):!0}function Y2(r,e){return r?function(t,a,n,i){var o=i<2?t.coord&&t.coord[i]:t.value;return Fa(o,e[i])}:function(t,a,n,i){return Fa(t.value,e[i])}}function Qy(r,e,t){if(t==="average"){var a=0,n=0;return r.each(e,function(i,o){isNaN(i)||(a+=i,n++)}),a/n}else return t==="median"?r.getMedian(e):r.getDataExtent(e)[t==="max"?1:0]}var Kc=xt(),_7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){this.markerGroupMap=q()},e.prototype.render=function(t,a,n){var i=this,o=this.markerGroupMap;o.each(function(s){Kc(s).keep=!1}),a.eachSeries(function(s){var l=Ja.getMarkerModelFromSeries(s,i.type);l&&i.renderSeries(s,l,a,n)}),o.each(function(s){!Kc(s).keep&&i.group.remove(s.group)})},e.prototype.markKeep=function(t){Kc(t).keep=!0},e.prototype.toggleBlurSeries=function(t,a){var n=this;A(t,function(i){var o=Ja.getMarkerModelFromSeries(i,n.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(l){l&&(a?_T(l):dg(l))})}})},e.type="marker",e}(Ht);const Jy=_7;function _w(r,e,t){var a=e.coordinateSystem;r.each(function(n){var i=r.getItemModel(n),o,s=H(i.get("x"),t.getWidth()),l=H(i.get("y"),t.getHeight());if(!isNaN(s)&&!isNaN(l))o=[s,l];else if(e.getMarkerPosition)o=e.getMarkerPosition(r.getValues(r.dimensions,n));else if(a){var u=r.get(a.dimensions[0],n),f=r.get(a.dimensions[1],n);o=a.dataToPoint([u,f])}isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),r.setItemLayout(n,o)})}var S7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=Ja.getMarkerModelFromSeries(i,"markPoint");o&&(_w(o.getData(),i,n),this.markerGroupMap.get(i.id).updateLayout())},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,new _l),h=x7(o,t,a);a.setData(h),_w(a.getData(),t,i),h.each(function(v){var c=h.getItemModel(v),p=c.getShallow("symbol"),d=c.getShallow("symbolSize"),g=c.getShallow("symbolRotate"),y=c.getShallow("symbolOffset"),m=c.getShallow("symbolKeepAspect");if(K(p)||K(d)||K(g)||K(y)){var _=a.getRawValue(v),S=a.getDataParams(v);K(p)&&(p=p(_,S)),K(d)&&(d=d(_,S)),K(g)&&(g=g(_,S)),K(y)&&(y=y(_,S))}var w=c.getModel("itemStyle").getItemStyle(),x=cl(l,"color");w.fill||(w.fill=x),h.setItemVisual(v,{symbol:p,symbolSize:d,symbolRotate:g,symbolOffset:y,symbolKeepAspect:m,style:w})}),f.updateData(h),this.group.add(f.group),h.eachItemGraphicEl(function(v){v.traverse(function(c){nt(c).dataModel=a})}),this.markKeep(f),f.group.silent=a.get("silent")||t.get("silent")},e.type="markPoint",e}(Jy);function x7(r,e,t){var a;r?a=G(r&&r.dimensions,function(s){var l=e.getData().getDimensionInfo(e.getData().mapDimension(s))||{};return B(B({},l),{name:s,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var n=new Te(a,t),i=G(t.get("data"),it(rl,e));r&&(i=Lt(i,it(al,r)));var o=Y2(!!r,a);return n.initData(i,null,o),n}const w7=S7;function b7(r){r.registerComponentModel(d7),r.registerComponentView(w7),r.registerPreprocessor(function(e){Ky(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}var T7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,a,n){return new e(t,a,n)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(Ja);const C7=T7;var Iu=xt(),A7=function(r,e,t,a){var n=r.getData(),i;if(z(a))i=a;else{var o=a.type;if(o==="min"||o==="max"||o==="average"||o==="median"||a.xAxis!=null||a.yAxis!=null){var s=void 0,l=void 0;if(a.yAxis!=null||a.xAxis!=null)s=e.getAxis(a.yAxis!=null?"y":"x"),l=ne(a.yAxis,a.xAxis);else{var u=U2(a,n,e,r);s=u.valueAxis;var f=RA(n,u.valueDataDim);l=Qy(n,f,o)}var h=s.dim==="x"?0:1,v=1-h,c=et(a),p={coord:[]};c.type=null,c.coord=[],c.coord[v]=-1/0,p.coord[v]=1/0;var d=t.get("precision");d>=0&&Ct(l)&&(l=+l.toFixed(Math.min(d,20))),c.coord[h]=p.coord[h]=l,i=[c,p,{type:o,valueIndex:a.valueIndex,value:l}]}else i=[]}var g=[rl(r,i[0]),rl(r,i[1]),B({},i[2])];return g[2].type=g[2].type||null,ut(g[2],g[0]),ut(g[2],g[1]),g};function Wf(r){return!isNaN(r)&&!isFinite(r)}function Sw(r,e,t,a){var n=1-r,i=a.dimensions[r];return Wf(e[n])&&Wf(t[n])&&e[r]===t[r]&&a.getAxis(i).containData(e[r])}function M7(r,e){if(r.type==="cartesian2d"){var t=e[0].coord,a=e[1].coord;if(t&&a&&(Sw(1,t,a,r)||Sw(0,t,a,r)))return!0}return al(r,e[0])&&al(r,e[1])}function Qc(r,e,t,a,n){var i=a.coordinateSystem,o=r.getItemModel(e),s,l=H(o.get("x"),n.getWidth()),u=H(o.get("y"),n.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition)s=a.getMarkerPosition(r.getValues(r.dimensions,e));else{var f=i.dimensions,h=r.get(f[0],e),v=r.get(f[1],e);s=i.dataToPoint([h,v])}if(ci(i,"cartesian2d")){var c=i.getAxis("x"),p=i.getAxis("y"),f=i.dimensions;Wf(r.get(f[0],e))?s[0]=c.toGlobalCoord(c.getExtent()[t?0:1]):Wf(r.get(f[1],e))&&(s[1]=p.toGlobalCoord(p.getExtent()[t?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}r.setItemLayout(e,s)}var D7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=Ja.getMarkerModelFromSeries(i,"markLine");if(o){var s=o.getData(),l=Iu(o).from,u=Iu(o).to;l.each(function(f){Qc(l,f,!0,i,n),Qc(u,f,!1,i,n)}),s.each(function(f){s.setItemLayout(f,[l.getItemLayout(f),u.getItemLayout(f)])}),this.markerGroupMap.get(i.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,new xy);this.group.add(f.group);var h=I7(o,t,a),v=h.from,c=h.to,p=h.line;Iu(a).from=v,Iu(a).to=c,a.setData(p);var d=a.get("symbol"),g=a.get("symbolSize"),y=a.get("symbolRotate"),m=a.get("symbolOffset");z(d)||(d=[d,d]),z(g)||(g=[g,g]),z(y)||(y=[y,y]),z(m)||(m=[m,m]),h.from.each(function(S){_(v,S,!0),_(c,S,!1)}),p.each(function(S){var w=p.getItemModel(S).getModel("lineStyle").getLineStyle();p.setItemLayout(S,[v.getItemLayout(S),c.getItemLayout(S)]),w.stroke==null&&(w.stroke=v.getItemVisual(S,"style").fill),p.setItemVisual(S,{fromSymbolKeepAspect:v.getItemVisual(S,"symbolKeepAspect"),fromSymbolOffset:v.getItemVisual(S,"symbolOffset"),fromSymbolRotate:v.getItemVisual(S,"symbolRotate"),fromSymbolSize:v.getItemVisual(S,"symbolSize"),fromSymbol:v.getItemVisual(S,"symbol"),toSymbolKeepAspect:c.getItemVisual(S,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(S,"symbolOffset"),toSymbolRotate:c.getItemVisual(S,"symbolRotate"),toSymbolSize:c.getItemVisual(S,"symbolSize"),toSymbol:c.getItemVisual(S,"symbol"),style:w})}),f.updateData(p),h.line.eachItemGraphicEl(function(S){nt(S).dataModel=a,S.traverse(function(w){nt(w).dataModel=a})});function _(S,w,x){var b=S.getItemModel(w);Qc(S,w,x,t,i);var T=b.getModel("itemStyle").getItemStyle();T.fill==null&&(T.fill=cl(l,"color")),S.setItemVisual(w,{symbolKeepAspect:b.get("symbolKeepAspect"),symbolOffset:lt(b.get("symbolOffset",!0),m[x?0:1]),symbolRotate:lt(b.get("symbolRotate",!0),y[x?0:1]),symbolSize:lt(b.get("symbolSize"),g[x?0:1]),symbol:lt(b.get("symbol",!0),d[x?0:1]),style:T})}this.markKeep(f),f.group.silent=a.get("silent")||t.get("silent")},e.type="markLine",e}(Jy);function I7(r,e,t){var a;r?a=G(r&&r.dimensions,function(u){var f=e.getData().getDimensionInfo(e.getData().mapDimension(u))||{};return B(B({},f),{name:u,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var n=new Te(a,t),i=new Te(a,t),o=new Te([],t),s=G(t.get("data"),it(A7,e,r,t));r&&(s=Lt(s,it(M7,r)));var l=Y2(!!r,a);return n.initData(G(s,function(u){return u[0]}),null,l),i.initData(G(s,function(u){return u[1]}),null,l),o.initData(G(s,function(u){return u[2]})),o.hasItemOption=!0,{from:n,to:i,line:o}}const L7=D7;function P7(r){r.registerComponentModel(C7),r.registerComponentView(L7),r.registerPreprocessor(function(e){Ky(e.series,"markLine")&&(e.markLine=e.markLine||{})})}var R7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,a,n){return new e(t,a,n)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(Ja);const E7=R7;var Lu=xt(),k7=function(r,e,t,a){var n=a[0],i=a[1];if(!(!n||!i)){var o=rl(r,n),s=rl(r,i),l=o.coord,u=s.coord;l[0]=ne(l[0],-1/0),l[1]=ne(l[1],-1/0),u[0]=ne(u[0],1/0),u[1]=ne(u[1],1/0);var f=Qd([{},o,s]);return f.coord=[o.coord,s.coord],f.x0=o.x,f.y0=o.y,f.x1=s.x,f.y1=s.y,f}};function $f(r){return!isNaN(r)&&!isFinite(r)}function xw(r,e,t,a){var n=1-r;return $f(e[n])&&$f(t[n])}function O7(r,e){var t=e.coord[0],a=e.coord[1],n={coord:t,x:e.x0,y:e.y0},i={coord:a,x:e.x1,y:e.y1};return ci(r,"cartesian2d")?t&&a&&(xw(1,t,a)||xw(0,t,a))?!0:m7(r,n,i):al(r,n)||al(r,i)}function ww(r,e,t,a,n){var i=a.coordinateSystem,o=r.getItemModel(e),s,l=H(o.get(t[0]),n.getWidth()),u=H(o.get(t[1]),n.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition){var f=r.getValues(["x0","y0"],e),h=r.getValues(["x1","y1"],e),v=i.clampData(f),c=i.clampData(h),p=[];t[0]==="x0"?p[0]=v[0]>c[0]?h[0]:f[0]:p[0]=v[0]>c[0]?f[0]:h[0],t[1]==="y0"?p[1]=v[1]>c[1]?h[1]:f[1]:p[1]=v[1]>c[1]?f[1]:h[1],s=a.getMarkerPosition(p,t,!0)}else{var d=r.get(t[0],e),g=r.get(t[1],e),y=[d,g];i.clampData&&i.clampData(y,y),s=i.dataToPoint(y,!0)}if(ci(i,"cartesian2d")){var m=i.getAxis("x"),_=i.getAxis("y"),d=r.get(t[0],e),g=r.get(t[1],e);$f(d)?s[0]=m.toGlobalCoord(m.getExtent()[t[0]==="x0"?0:1]):$f(g)&&(s[1]=_.toGlobalCoord(_.getExtent()[t[1]==="y0"?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}return s}var bw=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],N7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=Ja.getMarkerModelFromSeries(i,"markArea");if(o){var s=o.getData();s.each(function(l){var u=G(bw,function(h){return ww(s,l,h,i,n)});s.setItemLayout(l,u);var f=s.getItemGraphicEl(l);f.setShape("points",u)})}},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,{group:new at});this.group.add(f.group),this.markKeep(f);var h=B7(o,t,a);a.setData(h),h.each(function(v){var c=G(bw,function(T){return ww(h,v,T,t,i)}),p=o.getAxis("x").scale,d=o.getAxis("y").scale,g=p.getExtent(),y=d.getExtent(),m=[p.parse(h.get("x0",v)),p.parse(h.get("x1",v))],_=[d.parse(h.get("y0",v)),d.parse(h.get("y1",v))];rr(m),rr(_);var S=!(g[0]>m[1]||g[1]_[1]||y[1]<_[0]),w=!S;h.setItemLayout(v,{points:c,allClipped:w});var x=h.getItemModel(v).getModel("itemStyle").getItemStyle(),b=cl(l,"color");x.fill||(x.fill=b,$(x.fill)&&(x.fill=af(x.fill,.4))),x.stroke||(x.stroke=b),h.setItemVisual(v,"style",x)}),h.diff(Lu(f).data).add(function(v){var c=h.getItemLayout(v);if(!c.allClipped){var p=new Oe({shape:{points:c.points}});h.setItemGraphicEl(v,p),f.group.add(p)}}).update(function(v,c){var p=Lu(f).data.getItemGraphicEl(c),d=h.getItemLayout(v);d.allClipped?p&&f.group.remove(p):(p?Mt(p,{shape:{points:d.points}},a,v):p=new Oe({shape:{points:d.points}}),h.setItemGraphicEl(v,p),f.group.add(p))}).remove(function(v){var c=Lu(f).data.getItemGraphicEl(v);f.group.remove(c)}).execute(),h.eachItemGraphicEl(function(v,c){var p=h.getItemModel(c),d=h.getItemVisual(c,"style");v.useStyle(h.getItemVisual(c,"style")),fe(v,ee(p),{labelFetcher:a,labelDataIndex:c,defaultText:h.getName(c)||"",inheritColor:$(d.fill)?af(d.fill,1):"#000"}),ue(v,p),Ft(v,null,null,p.get(["emphasis","disabled"])),nt(v).dataModel=a}),Lu(f).data=h,f.group.silent=a.get("silent")||t.get("silent")},e.type="markArea",e}(Jy);function B7(r,e,t){var a,n,i=["x0","y0","x1","y1"];if(r){var o=G(r&&r.dimensions,function(u){var f=e.getData(),h=f.getDimensionInfo(f.mapDimension(u))||{};return B(B({},h),{name:u,ordinalMeta:null})});n=G(i,function(u,f){return{name:u,type:o[f%2].type}}),a=new Te(n,t)}else n=[{name:"value",type:"float"}],a=new Te(n,t);var s=G(t.get("data"),it(k7,e,r,t));r&&(s=Lt(s,it(O7,r)));var l=r?function(u,f,h,v){var c=u.coord[Math.floor(v/2)][v%2];return Fa(c,n[v])}:function(u,f,h,v){return Fa(u.value,n[v])};return a.initData(s,null,l),a.hasItemOption=!0,a}const V7=N7;function z7(r){r.registerComponentModel(E7),r.registerComponentView(V7),r.registerPreprocessor(function(e){Ky(e.series,"markArea")&&(e.markArea=e.markArea||{})})}var G7=function(r,e){if(e==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},F7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(t,a){r.prototype.mergeOption.call(this,t,a),this._updateSelector(t)},e.prototype._updateSelector=function(t){var a=t.selector,n=this.ecModel;a===!0&&(a=t.selector=["all","inverse"]),z(a)&&A(a,function(i,o){$(i)&&(i={type:i}),a[o]=ut(i,G7(n,i.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&this.get("selectedMode")==="single"){for(var a=!1,n=0;n=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(wt);const Gd=F7;var Ei=it,Fd=A,Pu=at,H7=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!1,t}return e.prototype.init=function(){this.group.add(this._contentGroup=new Pu),this.group.add(this._selectorGroup=new Pu),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,a,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!t.get("show",!0)){var o=t.get("align"),s=t.get("orient");(!o||o==="auto")&&(o=t.get("left")==="right"&&s==="vertical"?"right":"left");var l=t.get("selector",!0),u=t.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,t,a,n,l,s,u);var f=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},v=t.get("padding"),c=Jt(f,h,v),p=this.layoutInner(t,o,c,i,l,u),d=Jt(J({width:p.width,height:p.height},f),h,v);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=k2(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,a,n,i,o,s,l){var u=this.getContentGroup(),f=q(),h=a.get("selectedMode"),v=[];n.eachRawSeries(function(c){!c.get("legendHoverLink")&&v.push(c.id)}),Fd(a.getData(),function(c,p){var d=c.get("name");if(!this.newlineDisabled&&(d===""||d===` +`)){var g=new Pu;g.newline=!0,u.add(g);return}var y=n.getSeriesByName(d)[0];if(!f.get(d))if(y){var m=y.getData(),_=m.getVisual("legendLineStyle")||{},S=m.getVisual("legendIcon"),w=m.getVisual("style"),x=this._createItem(y,d,p,c,a,t,_,w,S,h,i);x.on("click",Ei(Tw,d,null,i,v)).on("mouseover",Ei(Hd,y.name,null,i,v)).on("mouseout",Ei(Wd,y.name,null,i,v)),f.set(d,!0)}else n.eachRawSeries(function(b){if(!f.get(d)&&b.legendVisualProvider){var T=b.legendVisualProvider;if(!T.containName(d))return;var C=T.indexOfName(d),M=T.getItemVisual(C,"style"),D=T.getItemVisual(C,"legendIcon"),I=Ge(M.fill);I&&I[3]===0&&(I[3]=.2,M=B(B({},M),{fill:na(I,"rgba")}));var L=this._createItem(b,d,p,c,a,t,{},M,D,h,i);L.on("click",Ei(Tw,null,d,i,v)).on("mouseover",Ei(Hd,null,d,i,v)).on("mouseout",Ei(Wd,null,d,i,v)),f.set(d,!0)}},this)},this),o&&this._createSelector(o,a,i,s,l)},e.prototype._createSelector=function(t,a,n,i,o){var s=this.getSelectorGroup();Fd(t,function(u){var f=u.type,h=new Tt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(h);var v=a.getModel("selectorLabel"),c=a.getModel(["emphasis","selectorLabel"]);fe(h,{normal:v,emphasis:c},{defaultText:u.title}),Kn(h)})},e.prototype._createItem=function(t,a,n,i,o,s,l,u,f,h,v){var c=t.visualDrawType,p=o.get("itemWidth"),d=o.get("itemHeight"),g=o.isSelected(a),y=i.get("symbolRotate"),m=i.get("symbolKeepAspect"),_=i.get("icon");f=_||f||"roundRect";var S=W7(f,i,l,u,c,g,v),w=new Pu,x=i.getModel("textStyle");if(K(t.getLegendIcon)&&(!_||_==="inherit"))w.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:f,iconRotate:y,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}));else{var b=_==="inherit"&&t.getData().getVisual("symbol")?y==="inherit"?t.getData().getVisual("symbolRotate"):y:0;w.add($7({itemWidth:p,itemHeight:d,icon:f,iconRotate:b,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}))}var T=s==="left"?p+5:-5,C=s,M=o.get("formatter"),D=a;$(M)&&M?D=M.replace("{name}",a??""):K(M)&&(D=M(a));var I=i.get("inactiveColor");w.add(new Tt({style:kt(x,{text:D,x:T,y:d/2,fill:g?x.getTextColor():I,align:C,verticalAlign:"middle"})}));var L=new St({shape:w.getBoundingRect(),invisible:!0}),P=i.getModel("tooltip");return P.get("show")&&co({el:L,componentModel:o,itemName:a,itemTooltipOption:P.option}),w.add(L),w.eachChild(function(R){R.silent=!0}),L.silent=!h,this.getContentGroup().add(w),Kn(w),w.__legendDataIndex=n,w},e.prototype.layoutInner=function(t,a,n,i,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Jn(t.get("orient"),l,t.get("itemGap"),n.width,n.height);var f=l.getBoundingRect(),h=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){Jn("horizontal",u,t.get("selectorItemGap",!0));var v=u.getBoundingRect(),c=[-v.x,-v.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=d===0?"width":"height",y=d===0?"height":"width",m=d===0?"y":"x";s==="end"?c[d]+=f[g]+p:h[d]+=v[g]+p,c[1-d]+=f[y]/2-v[y]/2,u.x=c[0],u.y=c[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=f[g]+p+v[g],_[y]=Math.max(f[y],v[y]),_[m]=Math.min(0,v[m]+c[1-d]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Ht);function W7(r,e,t,a,n,i,o){function s(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),Fd(g,function(m,_){g[_]==="inherit"&&(g[_]=y[_])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?a.decal:to(h,o),u.fill==="inherit"&&(u.fill=a[n]),u.stroke==="inherit"&&(u.stroke=a[f]),u.opacity==="inherit"&&(u.opacity=(n==="fill"?a:t).opacity),s(u,a);var v=e.getModel("lineStyle"),c=v.getLineStyle();if(s(c,t),u.fill==="auto"&&(u.fill=a.fill),u.stroke==="auto"&&(u.stroke=a.fill),c.stroke==="auto"&&(c.stroke=a.fill),!i){var p=e.get("inactiveBorderWidth"),d=u[f];u.lineWidth=p==="auto"?a.lineWidth>0&&d?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),c.stroke=v.get("inactiveColor"),c.lineWidth=v.get("inactiveWidth")}return{itemStyle:u,lineStyle:c}}function $7(r){var e=r.icon||"roundRect",t=qt(e,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return t.setStyle(r.itemStyle),t.rotation=(r.iconRotate||0)*Math.PI/180,t.setOrigin([r.itemWidth/2,r.itemHeight/2]),e.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill="#fff",t.style.lineWidth=2),t}function Tw(r,e,t,a){Wd(r,e,t,a),t.dispatchAction({type:"legendToggleSelect",name:r??e}),Hd(r,e,t,a)}function Z2(r){for(var e=r.getZr().storage.getDisplayList(),t,a=0,n=e.length;an[o],g=[-c.x,-c.y];a||(g[i]=f[u]);var y=[0,0],m=[-p.x,-p.y],_=lt(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var S=t.get("pageButtonPosition",!0);S==="end"?m[i]+=n[o]-p[o]:y[i]+=p[o]+_}m[1-i]+=c[s]/2-p[s]/2,f.setPosition(g),h.setPosition(y),v.setPosition(m);var w={x:0,y:0};if(w[o]=d?n[o]:c[o],w[s]=Math.max(c[s],p[s]),w[l]=Math.min(0,p[l]+m[1-i]),h.__rectSize=n[o],d){var x={x:0,y:0};x[o]=Math.max(n[o]-p[o]-_,0),x[s]=w[s],h.setClipPath(new St({shape:x})),h.__rectSize=x[o]}else v.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(t);return b.pageIndex!=null&&Mt(f,{x:b.contentPosition[0],y:b.contentPosition[1]},d?t:null),this._updatePageInfoView(t,b),w},e.prototype._pageGo=function(t,a,n){var i=this._getPageInfo(a)[t];i!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:a.id})},e.prototype._updatePageInfoView=function(t,a){var n=this._controllerGroup;A(["pagePrev","pageNext"],function(f){var h=f+"DataIndex",v=a[h]!=null,c=n.childOfName(f);c&&(c.setStyle("fill",v?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),c.cursor=v?"pointer":"default")});var i=n.childOfName("pageText"),o=t.get("pageFormatter"),s=a.pageIndex,l=s!=null?s+1:0,u=a.pageCount;i&&o&&i.setStyle("text",$(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},e.prototype._getPageInfo=function(t){var a=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=t.getOrient().index,s=Jc[o],l=jc[o],u=this._findTargetItemIndex(a),f=n.children(),h=f[u],v=f.length,c=v?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var d=S(h);p.contentPosition[o]=-d.s;for(var g=u+1,y=d,m=d,_=null;g<=v;++g)_=S(f[g]),(!_&&m.e>y.s+i||_&&!w(_,y.s))&&(m.i>y.i?y=m:y=_,y&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=y.i),++p.pageCount)),m=_;for(var g=u-1,y=d,m=d,_=null;g>=-1;--g)_=S(f[g]),(!_||!w(m,_.s))&&y.i=b&&x.s<=b+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var a,n=this.getContentGroup(),i;return n.eachChild(function(o,s){var l=o.__legendDataIndex;i==null&&l!=null&&(i=s),l===t&&(a=s)}),a??i},e.type="legend.scroll",e}(X2);const K7=q7;function Q7(r){r.registerAction("legendScroll","legendscroll",function(e,t){var a=e.scrollDataIndex;a!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(a)})})}function J7(r){ct(q2),r.registerComponentModel(X7),r.registerComponentView(K7),Q7(r)}function j7(r){ct(q2),ct(J7)}var t9=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=tn(el.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(el);const e9=t9;var jy=xt();function r9(r,e,t){jy(r).coordSysRecordMap.each(function(a){var n=a.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function a9(r,e){for(var t=jy(r).coordSysRecordMap,a=t.keys(),n=0;na[t+e]&&(e=s),n=n&&o.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!n}}}function l9(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(e,t){var a=jy(t),n=a.coordSysRecordMap||(a.coordSysRecordMap=q());n.each(function(i){i.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=P2(i);A(o.infoList,function(s){var l=s.model.uid,u=n.get(l)||n.set(l,n9(t,s.model)),f=u.dataZoomInfoMap||(u.dataZoomInfoMap=q());f.set(i.uid,{dzReferCoordSysInfo:s,model:i,getRange:null})})}),n.each(function(i){var o=i.controller,s,l=i.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){K2(n,i);return}var f=s9(l);o.enable(f.controlType,f.opt),o.setPointerChecker(i.containsPoint),wo(i,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var u9=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,a,n){if(r.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),r9(n,t,{pan:U(tp.pan,this),zoom:U(tp.zoom,this),scrollMove:U(tp.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){a9(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}($y),tp={zoom:function(r,e,t,a){var n=this.range,i=n.slice(),o=r.axisModels[0];if(o){var s=ep[e](null,[a.originX,a.originY],o,t,r),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(i[1]-i[0])+i[0],u=Math.max(1/a.scale,0);i[0]=(i[0]-l)*u+l,i[1]=(i[1]-l)*u+l;var f=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(di(0,i,[0,100],0,f.minSpan,f.maxSpan),this.range=i,n[0]!==i[0]||n[1]!==i[1])return i}},pan:Mw(function(r,e,t,a,n,i){var o=ep[a]([i.oldX,i.oldY],[i.newX,i.newY],e,n,t);return o.signal*(r[1]-r[0])*o.pixel/o.pixelLength}),scrollMove:Mw(function(r,e,t,a,n,i){var o=ep[a]([0,0],[i.scrollDelta,i.scrollDelta],e,n,t);return o.signal*(r[1]-r[0])*i.scrollDelta})};function Mw(r){return function(e,t,a,n){var i=this.range,o=i.slice(),s=e.axisModels[0];if(s){var l=r(o,s,e,t,a,n);if(di(l,o,[0,100],"all"),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}}}var ep={grid:function(r,e,t,a,n){var i=t.axis,o={},s=n.model.coordinateSystem.getRect();return r=r||[0,0],i.dim==="x"?(o.pixel=e[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=i.inverse?1:-1):(o.pixel=e[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=i.inverse?-1:1),o},polar:function(r,e,t,a,n){var i=t.axis,o={},s=n.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return r=r?s.pointToCoord(r):[0,0],e=s.pointToCoord(e),t.mainType==="radiusAxis"?(o.pixel=e[0]-r[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=i.inverse?1:-1):(o.pixel=e[1]-r[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(r,e,t,a,n){var i=t.axis,o=n.model.coordinateSystem.getRect(),s={};return r=r||[0,0],i.orient==="horizontal"?(s.pixel=e[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=i.inverse?1:-1):(s.pixel=e[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=i.inverse?-1:1),s}};const f9=u9;function Q2(r){Uy(r),r.registerComponentModel(e9),r.registerComponentView(f9),l9(r)}var h9=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=tn(el.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(el);const v9=h9;var jo=St,Dw=7,c9=1,rp=30,p9=7,ts="horizontal",Iw="vertical",d9=5,g9=["line","bar","candlestick","scatter"],y9={easing:"cubicOut",duration:100,delay:0},m9=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,a){this.api=a,this._onBrush=U(this._onBrush,this),this._onBrushEnd=U(this._onBrushEnd,this)},e.prototype.render=function(t,a,n,i){if(r.prototype.render.apply(this,arguments),wo(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Ws(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new at;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(a),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,a=this.api,n=t.get("brushSelect"),i=n?p9:0,o=this._findCoordRect(),s={width:a.getWidth(),height:a.getHeight()},l=this._orient===ts?{right:s.width-o.x-o.width,top:s.height-rp-Dw-i,width:o.width,height:rp}:{right:Dw,top:o.y,width:rp,height:o.height},u=mo(t.option);A(["right","top","width","height"],function(h){u[h]==="ph"&&(u[h]=l[h])});var f=Jt(u,s);this._location={x:f.x,y:f.y},this._size=[f.width,f.height],this._orient===Iw&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,a=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(n===ts&&!o?{scaleY:l?1:-1,scaleX:1}:n===ts&&o?{scaleY:l?1:-1,scaleX:-1}:n===Iw&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=t.getBoundingRect([s]);t.x=a.x-u.x,t.y=a.y-u.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,a=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new jo({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var o=new jo({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:U(this._onClickPanel,this)}),s=this.api.getZr();i?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),n.add(o)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var a=this._size,n=this._shadowSize||[],i=t.series,o=i.getRawData(),s=i.getShadowDim&&i.getShadowDim(),l=s&&o.getDimensionInfo(s)?i.getShadowDim():t.otherDim;if(l==null)return;var u=this._shadowPolygonPts,f=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||a[0]!==n[0]||a[1]!==n[1]){var h=o.getDataExtent(l),v=(h[1]-h[0])*.3;h=[h[0]-v,h[1]+v];var c=[0,a[1]],p=[0,a[0]],d=[[a[0],0],[0,0]],g=[],y=p[1]/(o.count()-1),m=0,_=Math.round(o.count()/a[0]),S;o.each([l],function(C,M){if(_>0&&M%_){m+=y;return}var D=C==null||isNaN(C)||C==="",I=D?0:It(C,h,c,!0);D&&!S&&M?(d.push([d[d.length-1][0],0]),g.push([g[g.length-1][0],0])):!D&&S&&(d.push([m,0]),g.push([m,0])),d.push([m,I]),g.push([m,I]),m+=y,S=D}),u=this._shadowPolygonPts=d,f=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[a[0],a[1]];var w=this.dataZoomModel;function x(C){var M=w.getModel(C?"selectedDataBackground":"dataBackground"),D=new at,I=new Oe({shape:{points:u},segmentIgnoreThreshold:1,style:M.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),L=new Ne({shape:{points:f},segmentIgnoreThreshold:1,style:M.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return D.add(I),D.add(L),D}for(var b=0;b<3;b++){var T=x(b===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,a=t.get("showDataShadow");if(a!==!1){var n,i=this.ecModel;return t.eachTargetAxis(function(o,s){var l=t.getAxisProxy(o,s).getTargetSeriesModels();A(l,function(u){if(!n&&!(a!==!0&&vt(g9,u.get("type"))<0)){var f=i.getComponent(Va(o),s).axis,h=_9(o),v,c=u.coordinateSystem;h!=null&&c.getOtherAxis&&(v=c.getOtherAxis(f).inverse),h=u.getData().mapDimension(h),n={thisAxis:f,series:u,thisDim:o,otherDim:h,otherAxisInverse:v}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,a=this._displayables,n=a.handles=[null,null],i=a.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,f=l.get("borderRadius")||0,h=l.get("brushSelect"),v=a.filler=new jo({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(v),o.add(new jo({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:f},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:c9,fill:"rgba(0,0,0,0)"}})),A([0,1],function(_){var S=l.get("handleIcon");!Sf[S]&&S.indexOf("path://")<0&&S.indexOf("image://")<0&&(S="path://"+S);var w=qt(S,-1,0,2,2,null,!0);w.attr({cursor:Lw(this._orient),draggable:!0,drift:U(this._onDragMove,this,_),ondragend:U(this._onDragEnd,this),onmouseover:U(this._showDataInfo,this,!0),onmouseout:U(this._showDataInfo,this,!1),z2:5});var x=w.getBoundingRect(),b=l.get("handleSize");this._handleHeight=H(b,this._size[1]),this._handleWidth=x.width/x.height*this._handleHeight,w.setStyle(l.getModel("handleStyle").getItemStyle()),w.style.strokeNoScale=!0,w.rectHover=!0,w.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),Kn(w);var T=l.get("handleColor");T!=null&&(w.style.fill=T),o.add(n[_]=w);var C=l.getModel("textStyle");t.add(i[_]=new Tt({silent:!0,invisible:!0,style:kt(C,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:C.getTextColor(),font:C.getFont()}),z2:10}))},this);var c=v;if(h){var p=H(l.get("moveHandleSize"),s[1]),d=a.moveHandle=new St({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:p}}),g=p*.8,y=a.moveHandleIcon=qt(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);y.silent=!0,y.y=s[1]+p/2-.5,d.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(s[1]/2,Math.max(p,10));c=a.moveZone=new St({invisible:!0,shape:{y:s[1]-m,height:p+m}}),c.on("mouseover",function(){u.enterEmphasis(d)}).on("mouseout",function(){u.leaveEmphasis(d)}),o.add(d),o.add(y),o.add(c)}c.attr({draggable:!0,cursor:Lw(this._orient),drift:U(this._onDragMove,this,"all"),ondragstart:U(this._showDataInfo,this,!0),ondragend:U(this._onDragEnd,this),onmouseover:U(this._showDataInfo,this,!0),onmouseout:U(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[It(t[0],[0,100],a,!0),It(t[1],[0,100],a,!0)]},e.prototype._updateInterval=function(t,a){var n=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),s=n.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];di(a,i,o,n.get("zoomLock")?"all":t,s.minSpan!=null?It(s.minSpan,l,o,!0):null,s.maxSpan!=null?It(s.maxSpan,l,o,!0):null);var u=this._range,f=this._range=rr([It(i[0],o,l,!0),It(i[1],o,l,!0)]);return!u||u[0]!==f[0]||u[1]!==f[1]},e.prototype._updateView=function(t){var a=this._displayables,n=this._handleEnds,i=rr(n.slice()),o=this._size;A([0,1],function(c){var p=a.handles[c],d=this._handleHeight;p.attr({scaleX:d/2,scaleY:d/2,x:n[c]+(c?-1:1),y:o[1]/2-d/2})},this),a.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]});var s={x:i[0],width:i[1]-i[0]};a.moveHandle&&(a.moveHandle.setShape(s),a.moveZone.setShape(s),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=a.dataShadowSegs,u=[0,i[0],i[1],o[0]],f=0;fa[0]||n[1]<0||n[1]>a[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,s=this._updateInterval("all",n[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var a=t.offsetX,n=t.offsetY;this._brushStart=new st(a,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var n=a.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=rr([It(n.x,o,s,!0),It(n.x+n.width,o,s,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(sa(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,a){var n=this._displayables,i=this.dataZoomModel,o=n.brushRect;o||(o=n.brushRect=new jo({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(t,a),f=l.transformCoordToLocal(s.x,s.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),o.setShape({x:f[0],y:0,width:u[0]-f[0],height:h[1]})},e.prototype._dispatchZoomAction=function(t){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?y9:null,start:a[0],end:a[1]})},e.prototype._findCoordRect=function(){var t,a=P2(this.dataZoomModel).infoList;if(!t&&a.length){var n=a[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),o=this.api.getHeight();t={x:i*.2,y:o*.2,width:i*.6,height:o*.6}}return t},e.type="dataZoom.slider",e}($y);function _9(r){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[r]}function Lw(r){return r==="vertical"?"ns-resize":"ew-resize"}const S9=m9;function J2(r){r.registerComponentModel(v9),r.registerComponentView(S9),Uy(r)}function x9(r){ct(Q2),ct(J2)}var w9={get:function(r,e,t){var a=et((b9[r]||{})[e]);return t&&z(a)?a[a.length-1]:a}},b9={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]}};const j2=w9;var Pw=le.mapVisual,T9=le.eachVisual,C9=z,Rw=A,A9=rr,M9=It,D9=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,a){var n=this.option;!a&&F2(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var a=this.stateList;t=U(t,this),this.controllerVisuals=Bd(this.option.controller,a,t),this.targetVisuals=Bd(this.option.target,a,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,a=[];return t==null||t==="all"?this.ecModel.eachSeries(function(n,i){a.push(i)}):a=Pt(t),a},e.prototype.eachTargetSeries=function(t,a){A(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(a,i)},this)},e.prototype.isTargetSeries=function(t){var a=!1;return this.eachTargetSeries(function(n){n===t&&(a=!0)}),a},e.prototype.formatValueText=function(t,a,n){var i=this.option,o=i.precision,s=this.dataBound,l=i.formatter,u;n=n||["<",">"],z(t)&&(t=t.slice(),u=!0);var f=a?t:u?[h(t[0]),h(t[1])]:h(t);if($(l))return l.replace("{value}",u?f[0]:f).replace("{value2}",u?f[1]:f);if(K(l))return u?l(t[0],t[1]):l(t);if(u)return t[0]===s[0]?n[0]+" "+f[1]:t[1]===s[1]?n[1]+" "+f[0]:f[0]+" - "+f[1];return f;function h(v){return v===s[0]?"min":v===s[1]?"max":(+v).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,a=A9([t.min,t.max]);this._dataExtent=a},e.prototype.getDataDimensionIndex=function(t){var a=this.option.dimension;if(a!=null)return t.getDimensionIndex(a);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var o=n[i],s=t.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,a=this.option,n={inRange:a.inRange,outOfRange:a.outOfRange},i=a.target||(a.target={}),o=a.controller||(a.controller={});ut(i,n),ut(o,n);var s=this.isCategory();l.call(this,i),l.call(this,o),u.call(this,i,"inRange","outOfRange"),f.call(this,o);function l(h){C9(a.color)&&!h.inRange&&(h.inRange={color:a.color.slice().reverse()}),h.inRange=h.inRange||{color:t.get("gradientColor")}}function u(h,v,c){var p=h[v],d=h[c];p&&!d&&(d=h[c]={},Rw(p,function(g,y){if(le.isValidType(y)){var m=j2.get(y,"inactive",s);m!=null&&(d[y]=m,y==="color"&&!d.hasOwnProperty("opacity")&&!d.hasOwnProperty("colorAlpha")&&(d.opacity=[0,0]))}}))}function f(h){var v=(h.inRange||{}).symbol||(h.outOfRange||{}).symbol,c=(h.inRange||{}).symbolSize||(h.outOfRange||{}).symbolSize,p=this.get("inactiveColor"),d=this.getItemSymbol(),g=d||"roundRect";Rw(this.stateList,function(y){var m=this.itemSize,_=h[y];_||(_=h[y]={color:s?p:[p]}),_.symbol==null&&(_.symbol=v&&et(v)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=c&&et(c)||(s?m[0]:[m[0],m[0]])),_.symbol=Pw(_.symbol,function(x){return x==="none"?g:x});var S=_.symbolSize;if(S!=null){var w=-1/0;T9(S,function(x){x>w&&(w=x)}),_.symbolSize=Pw(S,function(x){return M9(x,[0,w],[0,m[0]],!0)})}},this)}},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(wt);const Uf=D9;var Ew=[20,140],I9=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(t,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(t[0]==null||isNaN(t[0]))&&(t[0]=Ew[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=Ew[1])},e.prototype._resetRange=function(){var t=this.getExtent(),a=this.option.range;!a||a.auto?(t.auto=1,this.option.range=t):z(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],t[0]),a[1]=Math.min(a[1],t[1]))},e.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),A(this.stateList,function(t){var a=this.option.controller[t].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),a=rr((this.get("range")||[]).slice());return a[0]>t[1]&&(a[0]=t[1]),a[1]>t[1]&&(a[1]=t[1]),a[0]=n[1]||t<=a[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var a=[];return this.eachTargetSeries(function(n){var i=[],o=n.getData();o.each(this.getDataDimensionIndex(o),function(s,l){t[0]<=s&&s<=t[1]&&i.push(l)},this),a.push({seriesId:n.id,dataIndex:i})},this),a},e.prototype.getVisualMeta=function(t){var a=kw(this,"outOfRange",this.getExtent()),n=kw(this,"inRange",this.option.range.slice()),i=[];function o(c,p){i.push({value:c,color:t(c,p)})}for(var s=0,l=0,u=n.length,f=a.length;lt[1])break;i.push({color:this.getControllerVisual(l,"color",a),offset:s/n})}return i.push({color:this.getControllerVisual(t[1],"color",a),offset:1}),i},e.prototype._createBarPoints=function(t,a){var n=this.visualMapModel.itemSize;return[[n[0]-a[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-a[1],t[1]]]},e.prototype._createBarGroup=function(t){var a=this._orient,n=this.visualMapModel.get("inverse");return new at(a==="horizontal"&&!n?{scaleX:t==="bottom"?1:-1,rotation:Math.PI/2}:a==="horizontal"&&n?{scaleX:t==="bottom"?-1:1,rotation:-Math.PI/2}:a==="vertical"&&!n?{scaleX:t==="left"?1:-1,scaleY:-1}:{scaleX:t==="left"?1:-1})},e.prototype._updateHandle=function(t,a){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,s=n.handleLabels,l=i.itemSize,u=i.getExtent();R9([0,1],function(f){var h=o[f];h.setStyle("fill",a.handlesColor[f]),h.y=t[f];var v=Ir(t[f],[0,l[1]],u,!0),c=this.getControllerVisual(v,"symbolSize");h.scaleX=h.scaleY=c/l[0],h.x=l[0]-c/2;var p=mr(n.handleLabelPoints[f],Qn(h,this.group));s[f].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[f]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,a,n,i){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],f=this._shapes,h=f.indicator;if(h){h.attr("invisible",!1);var v={convertOpacityToAlpha:!0},c=this.getControllerVisual(t,"color",v),p=this.getControllerVisual(t,"symbolSize"),d=Ir(t,s,u,!0),g=l[0]-p/2,y={x:h.x,y:h.y};h.y=d,h.x=g;var m=mr(f.indicatorLabelPoint,Qn(h,this.group)),_=f.indicatorLabel;_.attr("invisible",!1);var S=this._applyTransform("left",f.mainGroup),w=this._orient,x=w==="horizontal";_.setStyle({text:(n||"")+o.formatValueText(a),verticalAlign:x?S:"middle",align:x?"center":S});var b={x:g,y:d,style:{fill:c}},T={style:{x:m[0],y:m[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var C={duration:100,easing:"cubicInOut",additive:!0};h.x=y.x,h.y=y.y,h.animateTo(b,C),_.animateTo(T,C)}else h.attr(b),_.attr(T);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var D=0;Do[1]&&(h[1]=1/0),a&&(h[0]===-1/0?this._showIndicator(f,h[1],"< ",l):h[1]===1/0?this._showIndicator(f,h[0],"> ",l):this._showIndicator(f,f,"≈ ",l));var v=this._hoverLinkDataIndices,c=[];(a||Vw(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var p=AP(v,c);this._dispatchHighDown("downplay",Ju(p[0],n)),this._dispatchHighDown("highlight",Ju(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var a;if(Hn(t.target,function(l){var u=nt(l);if(u.dataIndex!=null)return a=u,!0},!0),!!a){var n=this.ecModel.getSeriesByIndex(a.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var o=n.getData(a.dataType),s=o.getStore().get(i.getDataDimensionIndex(o),a.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var n=0;n=0&&(i.dimension=o,a.push(i))}}),r.getData().setVisual("visualMeta",a)}}];function F9(r,e,t,a){for(var n=e.targetVisuals[a],i=le.prepareVisualTypes(n),o={color:cl(r.getData(),"color")},s=0,l=i.length;s0:e.splitNumber>0)||e.calculable)?"continuous":"piecewise"}),r.registerAction(V9,z9),A(G9,function(e){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,e)}),r.registerPreprocessor(H9))}function aI(r){r.registerComponentModel(L9),r.registerComponentView(B9),rI(r)}var W9=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._pieceList=[],t}return e.prototype.optionUpdated=function(t,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],$9[this._mode].call(this,this._pieceList),this._resetSelected(t,a);var i=this.option.categories;this.resetVisual(function(o,s){n==="categories"?(o.mappingMethod="category",o.categories=et(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=G(this._pieceList,function(l){return l=et(l),s!=="inRange"&&(l.visual=null),l}))})},e.prototype.completeVisualOption=function(){var t=this.option,a={},n=le.listVisualTypes(),i=this.isCategory();A(t.pieces,function(s){A(n,function(l){s.hasOwnProperty(l)&&(a[l]=1)})}),A(a,function(s,l){var u=!1;A(this.stateList,function(f){u=u||o(t,f,l)||o(t.target,f,l)},this),!u&&A(this.stateList,function(f){(t[f]||(t[f]={}))[l]=j2.get(l,f==="inRange"?"active":"inactive",i)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,a){var n=this.option,i=this._pieceList,o=(a?n:t).selected||{};if(n.selected=o,A(i,function(l,u){var f=this.getSelectedMapKey(l);o.hasOwnProperty(f)||(o[f]=!0)},this),n.selectedMode==="single"){var s=!1;A(i,function(l,u){var f=this.getSelectedMapKey(l);o[f]&&(s?o[f]=!1:s=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return this._mode==="categories"?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=et(t)},e.prototype.getValueState=function(t){var a=le.findPieceIndex(t,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var a=[],n=this._pieceList;return this.eachTargetSeries(function(i){var o=[],s=i.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var f=le.findPieceIndex(l,n);f===t&&o.push(u)},this),a.push({seriesId:i.id,dataIndex:o})},this),a},e.prototype.getRepresentValue=function(t){var a;if(this.isCategory())a=t.value;else if(t.value!=null)a=t.value;else{var n=t.interval||[];a=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return a},e.prototype.getVisualMeta=function(t){if(this.isCategory())return;var a=[],n=["",""],i=this;function o(f,h){var v=i.getRepresentValue({interval:f});h||(h=i.getValueState(v));var c=t(v,h);f[0]===-1/0?n[0]=c:f[1]===1/0?n[1]=c:a.push({value:f[0],color:c},{value:f[1],color:c})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return A(s,function(f){var h=f.interval;h&&(h[0]>u&&o([u,h[0]],"outOfRange"),o(h.slice()),u=h[1])},this),{stops:a,outerColors:n}},e.type="visualMap.piecewise",e.defaultOption=tn(Uf.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(Uf),$9={splitNumber:function(r){var e=this.option,t=Math.min(e.precision,20),a=this.getExtent(),n=e.splitNumber;n=Math.max(parseInt(n,10),1),e.splitNumber=n;for(var i=(a[1]-a[0])/n;+i.toFixed(t)!==i&&t<5;)t++;e.precision=t,i=+i.toFixed(t),e.minOpen&&r.push({interval:[-1/0,a[0]],close:[0,0]});for(var o=0,s=a[0];o","≥"][a[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,n)},this)}};function Hw(r,e){var t=r.inverse;(r.orient==="vertical"?!t:t)&&e.reverse()}const U9=W9;var Y9=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.doRender=function(){var t=this.group;t.removeAll();var a=this.visualMapModel,n=a.get("textGap"),i=a.textStyleModel,o=i.getFont(),s=i.getTextColor(),l=this._getItemAlign(),u=a.itemSize,f=this._getViewData(),h=f.endsText,v=ne(a.get("showLabel",!0),!h);h&&this._renderEndsText(t,h[0],u,v,l),A(f.viewPieceList,function(c){var p=c.piece,d=new at;d.onclick=U(this._onItemClick,this,p),this._enableHoverLink(d,c.indexInModelPieceList);var g=a.getRepresentValue(p);if(this._createItemSymbol(d,g,[0,0,u[0],u[1]]),v){var y=this.visualMapModel.getValueState(g);d.add(new Tt({style:{x:l==="right"?-n:u[0]+n,y:u[1]/2,text:p.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:y==="outOfRange"?.5:1}}))}t.add(d)},this),h&&this._renderEndsText(t,h[1],u,v,l),Jn(a.get("orient"),t,a.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,a){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(o){var s=n.visualMapModel;s.option.hoverLink&&n.api.dispatchAction({type:o,batch:Ju(s.findTargetDataIndices(a),s)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,a=t.option;if(a.orient==="vertical")return eI(t,this.api,t.itemSize);var n=a.align;return(!n||n==="auto")&&(n="left"),n},e.prototype._renderEndsText=function(t,a,n,i,o){if(a){var s=new at,l=this.visualMapModel.textStyleModel;s.add(new Tt({style:kt(l,{x:i?o==="right"?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?o:"center",text:a})})),t.add(s)}},e.prototype._getViewData=function(){var t=this.visualMapModel,a=G(t.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),n=t.get("text"),i=t.get("orient"),o=t.get("inverse");return(i==="horizontal"?o:!o)?a.reverse():n&&(n=n.slice().reverse()),{viewPieceList:a,endsText:n}},e.prototype._createItemSymbol=function(t,a,n){t.add(qt(this.getControllerVisual(a,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(a,"color")))},e.prototype._onItemClick=function(t){var a=this.visualMapModel,n=a.option,i=n.selectedMode;if(i){var o=et(n.selected),s=a.getSelectedMapKey(t);i==="single"||i===!0?(o[s]=!0,A(o,function(l,u){o[u]=u===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},e.type="visualMap.piecewise",e}(tI);const Z9=Y9;function nI(r){r.registerComponentModel(U9),r.registerComponentView(Z9),rI(r)}function X9(r){ct(aI),ct(nI)}var q9={label:{enabled:!0},decal:{show:!1}},Ww=xt(),K9={};function Q9(r,e){var t=r.getModel("aria");if(!t.get("enabled"))return;var a=et(q9);ut(a.label,r.getLocaleModel().get("aria"),!1),ut(t.option,a,!1),n(),i();function n(){var u=t.getModel("decal"),f=u.get("show");if(f){var h=q();r.eachSeries(function(v){if(!v.isColorBySeries()){var c=h.get(v.type);c||(c={},h.set(v.type,c)),Ww(v).scope=c}}),r.eachRawSeries(function(v){if(r.isSeriesFiltered(v))return;if(K(v.enableAriaDecal)){v.enableAriaDecal();return}var c=v.getData();if(v.isColorBySeries()){var m=Up(v.ecModel,v.name,K9,r.getSeriesCount()),_=c.getVisual("decal");c.setVisual("decal",S(_,m))}else{var p=v.getRawData(),d={},g=Ww(v).scope;c.each(function(w){var x=c.getRawIndex(w);d[x]=w});var y=p.count();p.each(function(w){var x=d[w],b=p.getName(w)||w+"",T=Up(v.ecModel,b,g,y),C=c.getItemVisual(x,"decal");c.setItemVisual(x,"decal",S(C,T))})}function S(w,x){var b=w?B(B({},x),w):x;return b.dirty=!0,b}})}}function i(){var u=r.getLocaleModel().get("aria"),f=t.getModel("label");if(f.option=J(f.option,u),!!f.get("enabled")){var h=e.getZr().dom;if(f.get("description")){h.setAttribute("aria-label",f.get("description"));return}var v=r.getSeriesCount(),c=f.get(["data","maxCount"])||10,p=f.get(["series","maxCount"])||10,d=Math.min(v,p),g;if(!(v<1)){var y=s();if(y){var m=f.get(["general","withTitle"]);g=o(m,{title:y})}else g=f.get(["general","withoutTitle"]);var _=[],S=v>1?f.get(["series","multiple","prefix"]):f.get(["series","single","prefix"]);g+=o(S,{seriesCount:v}),r.eachSeries(function(T,C){if(C1?f.get(["series","multiple",I]):f.get(["series","single",I]),M=o(M,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:l(T.subType)});var L=T.getData();if(L.count()>c){var P=f.get(["data","partialData"]);M+=o(P,{displayCnt:c})}else M+=f.get(["data","allData"]);for(var R=f.get(["data","separator","middle"]),E=f.get(["data","separator","end"]),N=[],O=0;O":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},tZ=function(){function r(e){var t=this._condVal=$(e)?new RegExp(e):NI(e)?e:null;if(t==null){var a="";Dt(a)}}return r.prototype.evaluate=function(e){var t=typeof e;return $(t)?this._condVal.test(e):Ct(t)?this._condVal.test(e+""):!1},r}(),eZ=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),rZ=function(){function r(){}return r.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&a.push(n),n=[L,P]}function f(L,P,R,E){Yi(L,R)&&Yi(P,E)||n.push(L,P,R,E,R,E)}function h(L,P,R,E,N,O){var V=Math.abs(P-L),F=Math.tan(V/4)*4/3,W=PT:D2&&a.push(n),a}function Ud(r,e,t,a,n,i,o,s,l,u){if(Yi(r,t)&&Yi(e,a)&&Yi(n,o)&&Yi(i,s)){l.push(o,s);return}var f=2/u,h=f*f,v=o-r,c=s-e,p=Math.sqrt(v*v+c*c);v/=p,c/=p;var d=t-r,g=a-e,y=n-o,m=i-s,_=d*d+g*g,S=y*y+m*m;if(_=0&&T=0){l.push(o,s);return}var C=[],M=[];Ua(r,t,n,o,.5,C),Ua(e,a,i,s,.5,M),Ud(C[0],M[0],C[1],M[1],C[2],M[2],C[3],M[3],l,u),Ud(C[4],M[4],C[5],M[5],C[6],M[6],C[7],M[7],l,u)}function gZ(r,e){var t=$d(r),a=[];e=e||1;for(var n=0;n0)for(var u=0;uMath.abs(u),h=oI([l,u],f?0:1,e),v=(f?s:u)/h.length,c=0;cn,o=oI([a,n],i?0:1,e),s=i?"width":"height",l=i?"height":"width",u=i?"x":"y",f=i?"y":"x",h=r[s]/o.length,v=0;v1?null:new st(d*l+r,d*u+e)}function _Z(r,e,t){var a=new st;st.sub(a,t,e),a.normalize();var n=new st;st.sub(n,r,e);var i=n.dot(a);return i}function Oi(r,e){var t=r[r.length-1];t&&t[0]===e[0]&&t[1]===e[1]||r.push(e)}function SZ(r,e,t){for(var a=r.length,n=[],i=0;io?(u.x=f.x=s+i/2,u.y=l,f.y=l+o):(u.y=f.y=l+o/2,u.x=s,f.x=s+i),SZ(e,u,f)}function Yf(r,e,t,a){if(t===1)a.push(e);else{var n=Math.floor(t/2),i=r(e);Yf(r,i[0],n,a),Yf(r,i[1],t-n,a)}return a}function xZ(r,e){for(var t=[],a=0;a0)for(var w=a/t,x=-a/2;x<=a/2;x+=w){for(var b=Math.sin(x),T=Math.cos(x),C=0,_=0;_0;u/=2){var f=0,h=0;(r&u)>0&&(f=1),(e&u)>0&&(h=1),s+=u*u*(3*f^h),h===0&&(f===1&&(r=u-1-r,e=u-1-e),l=r,r=e,e=l)}return s}function qf(r){var e=1/0,t=1/0,a=-1/0,n=-1/0,i=G(r,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),f=l.x+l.width/2+(u?u[4]:0),h=l.y+l.height/2+(u?u[5]:0);return e=Math.min(f,e),t=Math.min(h,t),a=Math.max(f,a),n=Math.max(h,n),[f,h]}),o=G(i,function(s,l){return{cp:s,z:LZ(s[0],s[1],e,t,a,n),path:r[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function uI(r){return TZ(r.path,r.count)}function Yd(){return{fromIndividuals:[],toIndividuals:[],count:0}}function PZ(r,e,t){var a=[];function n(w){for(var x=0;x=0;n--)if(!t[n].many.length){var l=t[s].many;if(l.length<=1)if(s)s=0;else return t;var i=l.length,u=Math.ceil(i/2);t[n].many=l.slice(u,i),t[s].many=l.slice(0,u),s++}return t}var EZ={clone:function(r){for(var e=[],t=1-Math.pow(1-r.path.style.opacity,1/r.count),a=0;a0))return;var s=a.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,f;Jw(r)&&(u=r,f=e),Jw(e)&&(u=e,f=r);function h(y,m,_,S,w){var x=y.many,b=y.one;if(x.length===1&&!w){var T=m?x[0]:b,C=m?b:x[0];if(Zf(T))h({many:[T],one:C},!0,_,S,!0);else{var M=s?J({delay:s(_,S)},l):l;em(T,C,M),i(T,C,T,C,M)}}else for(var D=J({dividePath:EZ[t],individualDelay:s&&function(N,O,V,F){return s(N+_,S)}},l),I=m?PZ(x,b,D):RZ(b,x,D),L=I.fromIndividuals,P=I.toIndividuals,R=L.length,E=0;Ee.length,c=u?jw(f,u):jw(v?e:r,[v?r:e]),p=0,d=0;dfI))for(var n=a.getIndices(),i=OZ(a),o=0;o0&&S.group.traverse(function(x){x instanceof dt&&!x.animators.length&&x.animateFrom({style:{opacity:0}},w)})})}function eb(r){var e=r.getModel("universalTransition").get("seriesKey");return e||r.id}function rb(r){return z(r)?r.sort().join(","):r}function Ia(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function VZ(r,e){var t=q(),a=q(),n=q();return A(r.oldSeries,function(i,o){var s=r.oldDataGroupIds[o],l=r.oldData[o],u=eb(i),f=rb(u);a.set(f,{dataGroupId:s,data:l}),z(u)&&A(u,function(h){n.set(h,{key:f,dataGroupId:s,data:l})})}),A(e.updatedSeries,function(i){if(i.isUniversalTransitionEnabled()&&i.isAnimationEnabled()){var o=i.get("dataGroupId"),s=i.getData(),l=eb(i),u=rb(l),f=a.get(u);if(f)t.set(u,{oldSeries:[{dataGroupId:f.dataGroupId,divide:Ia(f.data),data:f.data}],newSeries:[{dataGroupId:o,divide:Ia(s),data:s}]});else if(z(l)){var h=[];A(l,function(p){var d=a.get(p);d.data&&h.push({dataGroupId:d.dataGroupId,divide:Ia(d.data),data:d.data})}),h.length&&t.set(u,{oldSeries:h,newSeries:[{dataGroupId:o,data:s,divide:Ia(s)}]})}else{var v=n.get(l);if(v){var c=t.get(v.key);c||(c={oldSeries:[{dataGroupId:v.dataGroupId,data:v.data,divide:Ia(v.data)}],newSeries:[]},t.set(v.key,c)),c.newSeries.push({dataGroupId:o,data:s,divide:Ia(s)})}}}}),t}function ab(r,e){for(var t=0;t=0&&n.push({dataGroupId:e.oldDataGroupIds[s],data:e.oldData[s],divide:Ia(e.oldData[s]),dim:o.dimension})}),A(Pt(r.to),function(o){var s=ab(t.updatedSeries,o);if(s>=0){var l=t.updatedSeries[s].getData();i.push({dataGroupId:e.oldDataGroupIds[s],data:l,divide:Ia(l),dim:o.dimension})}}),n.length>0&&i.length>0&&hI(n,i,a)}function GZ(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,a){A(Pt(a.seriesTransition),function(n){A(Pt(n.to),function(i){for(var o=a.updatedSeries,s=0;s{u(),f(),h(),v(),window.addEventListener("resize",()=>{i.resize(),o.resize(),s.resize(),l.resize()})});function u(){i=eu(e.value);const p={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["直接访问","邮件营销","联盟广告","视频广告","搜索引擎","百度","谷歌","必应","其他"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["周一","周二","周三","周四","周五","周六","周日"]}],yAxis:[{type:"value"}],series:[{name:"直接访问",type:"bar",data:[320,332,301,334,390,330,320]},{name:"邮件营销",type:"bar",stack:"广告",data:[120,132,101,134,90,230,210]},{name:"联盟广告",type:"bar",stack:"广告",data:[220,182,191,234,290,330,310]},{name:"视频广告",type:"bar",stack:"广告",data:[150,232,201,154,190,330,410]},{name:"搜索引擎",type:"bar",data:[862,1018,964,1026,1679,1600,1570],markLine:{lineStyle:{type:"dashed"},data:[[{type:"min"},{type:"max"}]]}},{name:"百度",type:"bar",barWidth:5,stack:"搜索引擎",data:[620,732,701,734,1090,1130,1120]},{name:"谷歌",type:"bar",stack:"搜索引擎",data:[120,132,101,134,290,230,220]},{name:"必应",type:"bar",stack:"搜索引擎",data:[60,72,71,74,190,130,110]},{name:"其他",type:"bar",stack:"搜索引擎",data:[62,82,91,84,109,110,120]}]};i.setOption(p)}function f(){o=eu(t.value);const p={title:{text:"堆叠区域图"},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{data:["邮件营销","联盟广告","视频广告","直接访问","搜索引擎"]},toolbox:{feature:{saveAsImage:{}}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:["周一","周二","周三","周四","周五","周六","周日"]}],yAxis:[{type:"value"}],series:[{name:"邮件营销",type:"line",stack:"总量",areaStyle:{},data:[120,132,101,134,90,230,210]},{name:"联盟广告",type:"line",stack:"总量",areaStyle:{},data:[220,182,191,234,290,330,310]},{name:"视频广告",type:"line",stack:"总量",areaStyle:{},data:[150,232,201,154,190,330,410]},{name:"直接访问",type:"line",stack:"总量",areaStyle:{},data:[320,332,301,334,390,330,320]},{name:"搜索引擎",type:"line",stack:"总量",areaStyle:{},data:[820,932,901,934,1290,1330,1320]}]};o.setOption(p)}function h(){s=eu(a.value);const p={title:{text:"某站点用户访问来源",subtext:"纯属虚构",left:"center"},tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:["直接访问","邮件营销","联盟广告","视频广告","搜索引擎"]},series:[{name:"访问来源",type:"pie",radius:"55%",center:["50%","60%"],data:[{value:335,name:"直接访问"},{value:310,name:"邮件营销"},{value:234,name:"联盟广告"},{value:135,name:"视频广告"},{value:1548,name:"搜索引擎"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};s.setOption(p)}function v(){l=eu(n.value);const p={title:{text:"基础雷达图"},legend:{data:["预算分配(Allocated Budget)","实际开销(Actual Spending)"]},radar:{indicator:[{name:"销售(sales)",max:6500},{name:"管理(Administration)",max:16e3},{name:"信息技术(Information Techology)",max:3e4},{name:"客服(Customer Support)",max:38e3},{name:"研发(Development)",max:52e3},{name:"市场(Marketing)",max:25e3}]},series:[{name:"预算 vs 开销(Budget vs spending)",type:"radar",data:[{value:[4200,3e3,2e4,35e3,5e4,18e3],name:"预算分配(Allocated Budget)"},{value:[5e3,14e3,28e3,26e3,42e3,21e3],name:"实际开销(Actual Spending)"}]}]};l.setOption(p)}function c(p){window.open(p,"_blank")}return(p,d)=>{const g=Co("el-tag"),y=gI,m=Co("el-icon"),_=Co("el-button"),S=yI,w=mI,x=Co("el-col"),b=Co("el-row");return pI(),dI("div",null,[ce(_I),ce(S,{title:"ECharts"},{content:pe(()=>[FZ,Bi("p",HZ,[Bh(" 安装命令:"),ce(g,null,{default:pe(()=>[Bh("pnpm add echarts")]),_:1})])]),default:pe(()=>[ce(_,{onClick:d[0]||(d[0]=T=>c("https://github.com/apache/echarts"))},{icon:pe(()=>[ce(m,null,{default:pe(()=>[ce(y,{name:"i-ep:link"})]),_:1})]),default:pe(()=>[Bh(" 访问 echart ")]),_:1})]),_:1}),ce(b,{gutter:20,style:{margin:"-10px 10px"}},{default:pe(()=>[ce(x,{md:12},{default:pe(()=>[ce(w,{title:"柱状图",style:{margin:"10px 0"}},{default:pe(()=>[Bi("div",{ref_key:"chart1Ref",ref:e,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1}),ce(x,{md:12},{default:pe(()=>[ce(w,{title:"折线图",style:{margin:"10px 0"}},{default:pe(()=>[Bi("div",{ref_key:"chart2Ref",ref:t,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1})]),_:1}),ce(b,{gutter:20,style:{margin:"0 10px"}},{default:pe(()=>[ce(x,{md:12},{default:pe(()=>[ce(w,{title:"饼图",style:{margin:"10px 0"}},{default:pe(()=>[Bi("div",{ref_key:"chart3Ref",ref:a,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1}),ce(x,{md:12},{default:pe(()=>[ce(w,{title:"雷达图",style:{margin:"10px 0"}},{default:pe(()=>[Bi("div",{ref_key:"chart4Ref",ref:n,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1})]),_:1})])}}});typeof am=="function"&&am(WZ);export{WZ as default}; diff --git a/assets/echarts-c683c193.js.br b/assets/echarts-c683c193.js.br new file mode 100644 index 0000000..aa9f177 Binary files /dev/null and b/assets/echarts-c683c193.js.br differ diff --git a/assets/echarts-c683c193.js.gz b/assets/echarts-c683c193.js.gz new file mode 100644 index 0000000..7fe9e22 Binary files /dev/null and b/assets/echarts-c683c193.js.gz differ diff --git a/assets/edit.password-77b20e42.js b/assets/edit.password-77b20e42.js new file mode 100644 index 0000000..d8ac2da --- /dev/null +++ b/assets/edit.password-77b20e42.js @@ -0,0 +1 @@ +import{_ as R}from"./index-6aa92ec0.js";import{d as w,u as q,a as C,b as P,r as m,e as t,o as S,f as U,g as e,w as s,i as r,l as B,E as N,S as z,R as M,x as i}from"./index-17000ae8.js";const T=w({name:"PersonalEditPassword"}),$=w({...T,setup(j){const f=q(),g=C(),c=P(),u=m(),o=m({password:"",newpassword:"",checkpassword:""}),b=m({password:[{required:!0,message:"请输入原密码",trigger:"blur"}],newpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}],checkpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{validator:(p,l,n)=>{l!==o.value.newpassword?n(new Error("请确认新密码")):n()}}]});function h(){u.value&&u.value.validate(p=>{p&&c.editPassword(o.value).then(()=>{N({type:"success",message:"模拟修改成功,请重新登录"}),c.logout().then(()=>{g.push({name:"login",query:{redirect:f.fullPath}})})})})}return(p,l)=>{const n=z,d=t("el-input"),_=t("el-form-item"),V=t("el-form"),k=t("el-col"),y=t("el-row"),v=M,x=t("el-button"),E=R;return S(),U("div",null,[e(n,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(v,null,{default:s(()=>[e(y,null,{default:s(()=>[e(k,{md:24,lg:12},{default:s(()=>[e(V,{ref_key:"formRef",ref:u,model:r(o),rules:r(b),"label-width":"120px"},{default:s(()=>[e(_,{label:"原密码",prop:"password"},{default:s(()=>[e(d,{modelValue:r(o).password,"onUpdate:modelValue":l[0]||(l[0]=a=>r(o).password=a),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(_,{label:"新密码",prop:"newpassword"},{default:s(()=>[e(d,{modelValue:r(o).newpassword,"onUpdate:modelValue":l[1]||(l[1]=a=>r(o).newpassword=a),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(_,{label:"确认新密码",prop:"checkpassword"},{default:s(()=>[e(d,{modelValue:r(o).checkpassword,"onUpdate:modelValue":l[2]||(l[2]=a=>r(o).checkpassword=a),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(E,null,{default:s(()=>[e(x,{type:"primary",size:"large",onClick:h},{default:s(()=>[B(" 提交 ")]),_:1})]),_:1})])}}});typeof i=="function"&&i($);export{$ as default}; diff --git a/assets/edit.password-77b20e42.js.br b/assets/edit.password-77b20e42.js.br new file mode 100644 index 0000000..5aa6293 Binary files /dev/null and b/assets/edit.password-77b20e42.js.br differ diff --git a/assets/edit.password-77b20e42.js.gz b/assets/edit.password-77b20e42.js.gz new file mode 100644 index 0000000..23c37d2 Binary files /dev/null and b/assets/edit.password-77b20e42.js.gz differ diff --git a/assets/esign-a5d8f086.js b/assets/esign-a5d8f086.js new file mode 100644 index 0000000..dbae77c --- /dev/null +++ b/assets/esign-a5d8f086.js @@ -0,0 +1 @@ +import{q as M,o as w,f as _,d as D,r as p,e as x,g as r,w as c,h as y,l as g,i as f,O as E,a1 as S,E as R,_ as X,S as Y,R as I,x as b}from"./index-17000ae8.js";import N from"./alert-8aa56ecd.js";const W={props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!0},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},data(){return{hasDrew:!1,resultImg:"",points:[],canvasTxt:null,startX:0,startY:0,isDrawing:!1,sratio:1}},computed:{ratio(){return this.height/this.width},stageInfo(){return this.$refs.canvas.getBoundingClientRect()},myBg(){return this.bgColor?this.bgColor:"rgba(255, 255, 255, 0)"}},watch:{myBg:function(t){this.$refs.canvas.style.background=t}},beforeMount(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy(){window.removeEventListener("resize",this.$_resizeHandler)},mounted(){const t=this.$refs.canvas;t.height=this.height,t.width=this.width,t.style.background=this.myBg,this.$_resizeHandler(),document.onmouseup=()=>{this.isDrawing=!1}},methods:{$_resizeHandler(){const t=this.$refs.canvas;t.style.width=this.width+"px";const e=parseFloat(window.getComputedStyle(t).width);t.style.height=this.ratio*e+"px",this.canvasTxt=t.getContext("2d"),this.canvasTxt.scale(1*this.sratio,1*this.sratio),this.sratio=e/this.width,this.canvasTxt.scale(1/this.sratio,1/this.sratio)},mouseDown(t){t=t||event,t.preventDefault(),this.isDrawing=!0,this.hasDrew=!0;let e={x:t.offsetX,y:t.offsetY};this.drawStart(e)},mouseMove(t){if(t=t||event,t.preventDefault(),this.isDrawing){let e={x:t.offsetX,y:t.offsetY};this.drawMove(e)}},mouseUp(t){t=t||event,t.preventDefault();let e={x:t.offsetX,y:t.offsetY};this.drawEnd(e),this.isDrawing=!1},touchStart(t){if(t=t||event,t.preventDefault(),this.hasDrew=!0,t.touches.length===1){let e={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawStart(e)}},touchMove(t){if(t=t||event,t.preventDefault(),t.touches.length===1){let e={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawMove(e)}},touchEnd(t){if(t=t||event,t.preventDefault(),t.touches.length===1){let e={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawEnd(e)}},drawStart(t){this.startX=t.x,this.startY=t.y,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.lineWidth=this.lineWidth*this.sratio,this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(t)},drawMove(t){this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.strokeStyle=this.lineColor,this.canvasTxt.lineWidth=this.lineWidth*this.sratio,this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.startY=t.y,this.startX=t.x,this.points.push(t)},drawEnd(t){this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(t),this.points.push({x:-1,y:-1})},generate(t){let e=t&&t.format?t.format:this.format,n=t&&t.quality?t.quality:this.quality;return new Promise((u,s)=>{if(!this.hasDrew){s("Warning: Not Signned!");return}var a=this.canvasTxt.getImageData(0,0,this.$refs.canvas.width,this.$refs.canvas.height);this.canvasTxt.globalCompositeOperation="destination-over",this.canvasTxt.fillStyle=this.myBg,this.canvasTxt.fillRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.resultImg=this.$refs.canvas.toDataURL(e,n);var d=this.resultImg;if(this.canvasTxt.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.canvasTxt.putImageData(a,0,0),this.canvasTxt.globalCompositeOperation="source-over",this.isCrop){const o=this.getCropArea(a.data);var i=document.createElement("canvas");const l=i.getContext("2d");i.width=o[2]-o[0],i.height=o[3]-o[1];const v=this.canvasTxt.getImageData(...o);l.globalCompositeOperation="destination-over",l.putImageData(v,0,0),l.fillStyle=this.myBg,l.fillRect(0,0,i.width,i.height),d=i.toDataURL(e,n),i=null}u(d)})},reset(){this.canvasTxt.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.isClearBgColor&&(this.$emit("update:bgColor",""),this.$refs.canvas.style.background="rgba(255, 255, 255, 0)"),this.points=[],this.hasDrew=!1,this.resultImg=""},getCropArea(t){for(var e=this.$refs.canvas.width,n=0,h=this.$refs.canvas.height,u=0,s=0;s0||t[d+1]>0||t[d+2]||t[d+3]>0)&&(u=Math.max(a,u),n=Math.max(s,n),h=Math.min(a,h),e=Math.min(s,e))}return e++,n++,h++,u++,[e,h,n,u]}}};function P(t,e,n,h,u,s){return w(),_("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...a)=>s.mouseDown&&s.mouseDown(...a)),onMousemove:e[1]||(e[1]=(...a)=>s.mouseMove&&s.mouseMove(...a)),onMouseup:e[2]||(e[2]=(...a)=>s.mouseUp&&s.mouseUp(...a)),onTouchstart:e[3]||(e[3]=(...a)=>s.touchStart&&s.touchStart(...a)),onTouchmove:e[4]||(e[4]=(...a)=>s.touchMove&&s.touchMove(...a)),onTouchend:e[5]||(e[5]=(...a)=>s.touchEnd&&s.touchEnd(...a))},null,544)}const T=M(W,[["render",P],["__scopeId","data-v-1fcc7cb1"]]);T.install=function(t){this.installed||(this.installed=!0,t.component("vueEsign",T))};const z={style:{"margin-bottom":"0"}},U=["src"],q=D({name:"ComponentExampleSignCanvas"}),O=D({...q,setup(t){const e=p(),n=p({lineWidth:6,lineColor:"#000000",bgColor:"#f0f0f0",isCrop:!1}),h=p("");function u(){e.value.reset(),S(()=>{n.value.bgColor="#f0f0f0"})}function s(){e.value.generate().then(i=>{h.value=i}).catch(()=>{R("画板为空,无法生成图片")})}function a(){e.value.generate().then(i=>{const o=new Image;o.setAttribute("crossOrigin","anonymous"),o.onload=()=>{const l=document.createElement("a"),v=new MouseEvent("click");l.download=Date.parse(new Date().toString()).toString(),l.href=o.src,l.dispatchEvent(v)},o.src=i})}function d(i){window.open(i,"_blank")}return(i,o)=>{const l=x("el-tag"),v=X,$=x("el-icon"),m=x("el-button"),k=Y,B=I;return w(),_("div",null,[r(N),r(k,{title:"电子签名"},{content:c(()=>[y("p",z,[g(" 安装命令:"),r(l,null,{default:c(()=>[g("pnpm add vue-esign")]),_:1})])]),default:c(()=>[r(m,{onClick:o[0]||(o[0]=C=>d("https://github.com/JaimeCheng/vue-esign"))},{icon:c(()=>[r($,null,{default:c(()=>[r(v,{name:"i-ep:link"})]),_:1})]),default:c(()=>[g(" 访问 vue-esign ")]),_:1})]),_:1}),r(B,null,{default:c(()=>[r(f(T),{ref_key:"esignRef",ref:e,bgColor:f(n).bgColor,"onUpdate:bgColor":o[1]||(o[1]=C=>f(n).bgColor=C),width:500,height:300,"is-crop":f(n).isCrop,"line-width":f(n).lineWidth,"line-color":f(n).lineColor},null,8,["bgColor","is-crop","line-width","line-color"]),y("div",null,[r(m,{onClick:u},{default:c(()=>[g(" 清空画板 ")]),_:1}),r(m,{onClick:s},{default:c(()=>[g(" 生成图片 ")]),_:1}),r(m,{onClick:a},{default:c(()=>[g(" 下载图片 ")]),_:1})]),f(h)?(w(),_("img",{key:0,src:f(h),width:500,height:300},null,8,U)):E("",!0)]),_:1})])}}});typeof b=="function"&&b(O);export{O as default}; diff --git a/assets/esign-a5d8f086.js.br b/assets/esign-a5d8f086.js.br new file mode 100644 index 0000000..ee5ce05 Binary files /dev/null and b/assets/esign-a5d8f086.js.br differ diff --git a/assets/esign-a5d8f086.js.gz b/assets/esign-a5d8f086.js.gz new file mode 100644 index 0000000..6cc36c4 Binary files /dev/null and b/assets/esign-a5d8f086.js.gz differ diff --git a/assets/esign-def0e128.css b/assets/esign-def0e128.css new file mode 100644 index 0000000..be278a2 --- /dev/null +++ b/assets/esign-def0e128.css @@ -0,0 +1 @@ +canvas[data-v-1fcc7cb1]{max-width:100%;display:block} diff --git a/assets/font-3383155f.js b/assets/font-3383155f.js new file mode 100644 index 0000000..d60e606 --- /dev/null +++ b/assets/font-3383155f.js @@ -0,0 +1 @@ +import{q as d,o as l,f as p,g as a,w as s,x as n,S as f,R as m,p as r,n as u,h as t}from"./index-17000ae8.js";const c={},e=o=>(r("data-v-a72a6bef"),o=o(),u(),o),g=e(()=>t("p",null,"自定义字体需要下载字体文件,不建议在非英文环境中使用",-1)),h=e(()=>t("p",{style:{"margin-bottom":"0"}}," 以下为框架预设字体 ",-1)),x=e(()=>t("p",{class:"digital-7"}," Fantastic-admin ",-1)),b=e(()=>t("p",{class:"digital-7"}," 1234567890,. ",-1)),v=e(()=>t("p",{class:"digital-7_mono"}," Fantastic-admin ",-1)),y=e(()=>t("p",{class:"digital-7_mono"}," 1234567890,. ",-1));function I(o,S){const i=f,_=m;return l(),p("div",null,[a(i,{title:"自定义字体"},{content:s(()=>[g,h]),_:1}),a(_,{title:"Digital 7"},{default:s(()=>[x,b]),_:1}),a(_,{title:"Digital 7(等宽)"},{default:s(()=>[v,y]),_:1})])}typeof n=="function"&&n(c);const w=d(c,[["render",I],["__scopeId","data-v-a72a6bef"]]);export{w as default}; diff --git a/assets/font-6d985a5f.css b/assets/font-6d985a5f.css new file mode 100644 index 0000000..959bf4e --- /dev/null +++ b/assets/font-6d985a5f.css @@ -0,0 +1 @@ +@font-face{font-family:digital-7regular;src:url(./digital-7-webfont-e40ea8a2.eot);src:url(./digital-7-webfont-e40ea8a2.eot?#iefix) format("embedded-opentype"),url(./digital-7-webfont-7774f87e.woff2) format("woff2"),url(./digital-7-webfont-2db5c5bd.woff) format("woff"),url(./digital-7-webfont-7129774e.svg#digital-7regular) format("svg");font-weight:400;font-style:normal}/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on January 22, 2021 */@font-face{font-family:digital-7_monomono;src:url(./digital-7_mono-webfont-9bb410c6.eot);src:url(./digital-7_mono-webfont-9bb410c6.eot?#iefix) format("embedded-opentype"),url(./digital-7_mono-webfont-0688fd21.woff2) format("woff2"),url(./digital-7_mono-webfont-fde56695.woff) format("woff"),url(./digital-7_mono-webfont-d51fd22b.svg#digital-7_monomono) format("svg");font-weight:400;font-style:normal}.digital-7[data-v-a72a6bef],.digital-7_mono[data-v-a72a6bef]{font-size:48px;margin:10px 0}.digital-7[data-v-a72a6bef]{font-family:digital-7regular}.digital-7_mono[data-v-a72a6bef]{font-family:digital-7_monomono} diff --git a/assets/font-6d985a5f.css.br b/assets/font-6d985a5f.css.br new file mode 100644 index 0000000..f2832ca Binary files /dev/null and b/assets/font-6d985a5f.css.br differ diff --git a/assets/font-6d985a5f.css.gz b/assets/font-6d985a5f.css.gz new file mode 100644 index 0000000..2bb84bf Binary files /dev/null and b/assets/font-6d985a5f.css.gz differ diff --git a/assets/g2plot-46fc7a8e.js b/assets/g2plot-46fc7a8e.js new file mode 100644 index 0000000..95047dc --- /dev/null +++ b/assets/g2plot-46fc7a8e.js @@ -0,0 +1,82 @@ +import{cc as Jx,d as tw,B as ew,A as rw,e as Ri,o as iw,f as nw,g as Nt,w as Gt,h as dn,l as _a,_ as aw,S as ow,R as sw,x as _h}from"./index-17000ae8.js";import lw from"./alert-8aa56ecd.js";const vs=Object.freeze(Object.defineProperty({__proto__:null,get Base(){return We},get Circle(){return g2},get Ellipse(){return y2},get Image(){return m2},get Line(){return x2},get Marker(){return b2},get Path(){return Qc},get Polygon(){return E2},get Polyline(){return k2},get Rect(){return P2},get Text(){return D2}},Symbol.toStringTag,{value:"Module"})),ds=Object.freeze(Object.defineProperty({__proto__:null,get Base(){return Be},get Circle(){return V2},get Dom(){return Y2},get Ellipse(){return $2},get Image(){return H2},get Line(){return X2},get Marker(){return W2},get Path(){return _2},get Polygon(){return q2},get Polyline(){return U2},get Rect(){return Z2},get Text(){return tT}},Symbol.toStringTag,{value:"Module"}));var iu=function(r,e){return iu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},iu(r,e)};function E(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");iu(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var m=function(){return m=Object.assign||function(e){for(var t,i=1,n=arguments.length;i0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function q(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var i=t.call(r),n,a=[],o;try{for(;(e===void 0||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a}function na(){for(var r=0,e=0,t=arguments.length;e-1:!1},jt=function(r,e){if(!Ce(r))return r;for(var t=[],i=0;ia[s])return 1;if(n[s]t?t:r},pl=function(r,e){var t=e.toString(),i=t.indexOf(".");if(i===-1)return Math.round(r);var n=t.substr(i+1).length;return n>20&&(n=20),parseFloat(r.toFixed(n))},rt=function(r){return Zr(r,"Number")},mw=1e-5;function _t(r,e,t){return t===void 0&&(t=mw),Math.abs(r-e)i&&(t=a,i=o)}return t}},xw=function(r,e){if(R(r)){for(var t,i=1/0,n=0;ne?(i&&(clearTimeout(i),i=null),s=c,o=r.apply(n,a),i||(n=a=null)):!i&&t.trailing!==!1&&(i=setTimeout(l,h)),o};return u.cancel=function(){clearTimeout(i),s=0,i=n=a=null},u},Dw=function(r){return Ce(r)?Array.prototype.slice.call(r):[]};var qa={};const Qr=function(r){return r=r||"g",qa[r]?qa[r]+=1:qa[r]=1,r+qa[r]},Or=function(){};function $t(r){return B(r)?0:Ce(r)?r.length:Object.keys(r).length}var Ua;const ja=yn(function(r,e){e===void 0&&(e={});var t=e.fontSize,i=e.fontFamily,n=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return Ua||(Ua=document.createElement("canvas").getContext("2d")),Ua.font=[a,o,n,t+"px",i].join(" "),Ua.measureText(Q(r)?r:"").width},function(r,e){return e===void 0&&(e={}),na([r],gs(e)).join("")}),Ow=function(r,e,t,i){i===void 0&&(i="...");var n=16,a=ja(i,t),o=Q(r)?r:La(r),s=e,l=[],u,c;if(ja(r,t)<=e)return r;for(;u=o.substr(0,n),c=ja(u,t),!(c+a>s&&c>s);)if(l.push(u),s-=c,o=o.substr(n),!o)return l.join("");for(;u=o.substr(0,1),c=ja(u,t),!(c+a>s);)if(l.push(u),s-=c,o=o.substr(1),!o)return l.join("");return""+l.join("")+i};var Bw=function(){function r(){this.map={}}return r.prototype.has=function(e){return this.map[e]!==void 0},r.prototype.get=function(e,t){var i=this.map[e];return i===void 0?t:i},r.prototype.set=function(e,t){this.map[e]=t},r.prototype.clear=function(){this.map={}},r.prototype.delete=function(e){delete this.map[e]},r.prototype.size=function(){return Object.keys(this.map).length},r}(),It;(function(r){r.FORE="fore",r.MID="mid",r.BG="bg"})(It||(It={}));var G;(function(r){r.TOP="top",r.TOP_LEFT="top-left",r.TOP_RIGHT="top-right",r.RIGHT="right",r.RIGHT_TOP="right-top",r.RIGHT_BOTTOM="right-bottom",r.LEFT="left",r.LEFT_TOP="left-top",r.LEFT_BOTTOM="left-bottom",r.BOTTOM="bottom",r.BOTTOM_LEFT="bottom-left",r.BOTTOM_RIGHT="bottom-right",r.RADIUS="radius",r.CIRCLE="circle",r.NONE="none"})(G||(G={}));var Yt;(function(r){r.AXIS="axis",r.GRID="grid",r.LEGEND="legend",r.TOOLTIP="tooltip",r.ANNOTATION="annotation",r.SLIDER="slider",r.SCROLLBAR="scrollbar",r.OTHER="other"})(Yt||(Yt={}));var Ui={FORE:3,MID:2,BG:1},ot;(function(r){r.BEFORE_RENDER="beforerender",r.AFTER_RENDER="afterrender",r.BEFORE_PAINT="beforepaint",r.AFTER_PAINT="afterpaint",r.BEFORE_CHANGE_DATA="beforechangedata",r.AFTER_CHANGE_DATA="afterchangedata",r.BEFORE_CLEAR="beforeclear",r.AFTER_CLEAR="afterclear",r.BEFORE_DESTROY="beforedestroy",r.BEFORE_CHANGE_SIZE="beforechangesize",r.AFTER_CHANGE_SIZE="afterchangesize"})(ot||(ot={}));var zr;(function(r){r.BEFORE_DRAW_ANIMATE="beforeanimate",r.AFTER_DRAW_ANIMATE="afteranimate",r.BEFORE_RENDER_LABEL="beforerenderlabel",r.AFTER_RENDER_LABEL="afterrenderlabel"})(zr||(zr={}));var ue;(function(r){r.MOUSE_ENTER="plot:mouseenter",r.MOUSE_DOWN="plot:mousedown",r.MOUSE_MOVE="plot:mousemove",r.MOUSE_UP="plot:mouseup",r.MOUSE_LEAVE="plot:mouseleave",r.TOUCH_START="plot:touchstart",r.TOUCH_MOVE="plot:touchmove",r.TOUCH_END="plot:touchend",r.TOUCH_CANCEL="plot:touchcancel",r.CLICK="plot:click",r.DBLCLICK="plot:dblclick",r.CONTEXTMENU="plot:contextmenu",r.LEAVE="plot:leave",r.ENTER="plot:enter"})(ue||(ue={}));var Yo;(function(r){r.ACTIVE="active",r.INACTIVE="inactive",r.SELECTED="selected",r.DEFAULT="default"})(Yo||(Yo={}));var Xi=["color","shape","size"],bt="_origin",qh=1,Uh=1,jh=.25,Tp={};function Rw(r){var e=Tp[r];if(!e)throw new Error("G engine '".concat(r,"' is not exist, please register it at first."));return e}function Ep(r,e){Tp[r]=e}function zi(r,e,t){if(r){if(typeof r.addEventListener=="function")return r.addEventListener(e,t,!1),{remove:function(){r.removeEventListener(e,t,!1)}};if(typeof r.attachEvent=="function")return r.attachEvent("on"+e,t),{remove:function(){r.detachEvent("on"+e,t)}}}}var zn,yl,kp,au;function zw(){zn=document.createElement("table"),yl=document.createElement("tr"),kp=/^\s*<(\w+|!)[^>]*>/,au={tr:document.createElement("tbody"),tbody:zn,thead:zn,tfoot:zn,td:yl,th:yl,"*":document.createElement("div")}}function Nr(r){zn||zw();var e=kp.test(r)&&RegExp.$1;(!e||!(e in au))&&(e="*");var t=au[e];r=typeof r=="string"?r.replace(/(^\s*)|(\s*$)/g,""):r,t.innerHTML=""+r;var i=t.childNodes[0];return i&&t.contains(i)&&t.removeChild(i),i}function ve(r,e,t){var i;try{i=window.getComputedStyle?window.getComputedStyle(r,null)[e]:r.style[e]}catch{}finally{i=i===void 0?t:i}return i}function Nw(r,e){var t=ve(r,"height",e);return t==="auto"&&(t=r.offsetHeight),parseFloat(t)}function Gw(r,e){var t=Nw(r,e),i=parseFloat(ve(r,"borderTopWidth"))||0,n=parseFloat(ve(r,"paddingTop"))||0,a=parseFloat(ve(r,"paddingBottom"))||0,o=parseFloat(ve(r,"borderBottomWidth"))||0,s=parseFloat(ve(r,"marginTop"))||0,l=parseFloat(ve(r,"marginBottom"))||0;return t+i+o+n+a+s+l}function Vw(r,e){var t=ve(r,"width",e);return t==="auto"&&(t=r.offsetWidth),parseFloat(t)}function Yw(r,e){var t=Vw(r,e),i=parseFloat(ve(r,"borderLeftWidth"))||0,n=parseFloat(ve(r,"paddingLeft"))||0,a=parseFloat(ve(r,"paddingRight"))||0,o=parseFloat(ve(r,"borderRightWidth"))||0,s=parseFloat(ve(r,"marginRight"))||0,l=parseFloat(ve(r,"marginLeft"))||0;return t+i+o+n+a+l+s}function ee(r,e){if(r)for(var t in e)e.hasOwnProperty(t)&&(r.style[t]=e[t]);return r}function $w(r){var e=getComputedStyle(r);return{width:(r.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(r.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function Zh(r){return typeof r=="number"&&!isNaN(r)}function Qh(r,e,t,i){var n=t,a=i;if(e){var o=$w(r);n=o.width?o.width:n,a=o.height?o.height:a}return{width:Math.max(Zh(n)?n:qh,qh),height:Math.max(Zh(a)?a:Uh,Uh)}}function Hw(r){var e=r.parentNode;e&&e.removeChild(r)}var Xw="*",cc=function(){function r(){this._events={}}return r.prototype.on=function(e,t,i){return this._events[e]||(this._events[e]=[]),this._events[e].push({callback:t,once:!!i}),this},r.prototype.once=function(e,t){return this.on(e,t,!0)},r.prototype.emit=function(e){for(var t=this,i=[],n=1;n2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return r}),t},ou=function(r,e){for(var t=[],i=0,n=r.length;n-2*!e>i;i+=2){var a=[{x:+r[i-2],y:+r[i-1]},{x:+r[i],y:+r[i+1]},{x:+r[i+2],y:+r[i+3]},{x:+r[i+4],y:+r[i+5]}];e?i?n-4===i?a[3]={x:+r[0],y:+r[1]}:n-2===i&&(a[2]={x:+r[0],y:+r[1]},a[3]={x:+r[2],y:+r[3]}):a[0]={x:+r[n-2],y:+r[n-1]}:n-4===i?a[3]=a[2]:i||(a[0]={x:+r[i],y:+r[i+1]}),t.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return t},Za=function(r,e,t,i,n){var a=[];if(n===null&&i===null&&(i=t),r=+r,e=+e,t=+t,i=+i,n!==null){var o=Math.PI/180,s=r+t*Math.cos(-i*o),l=r+t*Math.cos(-n*o),u=e+t*Math.sin(-i*o),c=e+t*Math.sin(-n*o);a=[["M",s,u],["A",t,t,0,+(n-i>180),0,l,c]]}else a=[["M",r,e],["m",0,-i],["a",t,i,0,1,1,0,2*i],["a",t,i,0,1,1,0,-2*i],["z"]];return a},su=function(r){if(r=Wi(r),!r||!r.length)return[["M",0,0]];var e=[],t=0,i=0,n=0,a=0,o=0,s,l;r[0][0]==="M"&&(t=+r[0][1],i=+r[0][2],n=t,a=i,o++,e[0]=["M",t,i]);for(var u=r.length===3&&r[0][0]==="M"&&r[1][0].toUpperCase()==="R"&&r[2][0].toUpperCase()==="Z",c=void 0,h=void 0,f=o,v=r.length;f1&&(S=Math.sqrt(S),t=S*t,i=S*i);var M=t*t,F=i*i,T=(a===o?-1:1)*Math.sqrt(Math.abs((M*F-M*w*w-F*b*b)/(M*w*w+F*b*b)));g=T*t*w/i+(r+s)/2,y=T*-i*b/t+(e+l)/2,d=Math.asin(((e-y)/i).toFixed(9)),p=Math.asin(((l-y)/i).toFixed(9)),d=rp&&(d=d-Math.PI*2),!o&&p>d&&(p=p-Math.PI*2)}var L=p-d;if(Math.abs(L)>c){var k=p,P=s,O=l;p=d+c*(o&&p>d?1:-1),s=g+t*Math.cos(p),l=y+i*Math.sin(p),f=Lp(s,l,t,i,n,0,o,P,O,[p,k,g,y])}L=p-d;var z=Math.cos(d),V=Math.sin(d),U=Math.cos(p),D=Math.sin(p),N=Math.tan(L/4),W=4/3*t*N,$=4/3*i*N,Y=[r,e],_=[r+W*V,e-$*z],et=[s+W*D,l-$*U],at=[s,l];if(_[0]=2*Y[0]-_[0],_[1]=2*Y[1]-_[1],u)return[_,et,at].concat(f);f=[_,et,at].concat(f).join().split(",");for(var K=[],tt=0,gt=f.length;tt7){b[w].shift();for(var S=b[w];S.length;)o[w]="A",i&&(s[w]="A"),b.splice(w++,0,["C"].concat(S.splice(0,6)));b.splice(w,1),c=Math.max(t.length,i&&i.length||0)}},v=function(b,w,S,M,F){b&&w&&b[F][0]==="M"&&w[F][0]!=="M"&&(w.splice(F,0,["M",M.x,M.y]),S.bx=0,S.by=0,S.x=b[F][1],S.y=b[F][2],c=Math.max(t.length,i&&i.length||0))};c=Math.max(t.length,i&&i.length||0);for(var d=0;d1?1:l<0?0:l;for(var u=l/2,c=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],v=0,d=0;d0&&v<1&&l.push(v);continue}var p=h*h-4*f*c,g=Math.sqrt(p);if(!(p<0)){var y=(-h+g)/(2*c);y>0&&y<1&&l.push(y);var x=(-h-g)/(2*c);x>0&&x<1&&l.push(x)}}for(var b=l.length,w=b,S;b--;)v=l[b],S=1-v,u[0][b]=S*S*S*r+3*S*S*v*t+3*S*v*v*n+v*v*v*o,u[1][b]=S*S*S*e+3*S*S*v*i+3*S*v*v*a+v*v*v*s;return u[0][w]=r,u[1][w]=e,u[0][w+1]=o,u[1][w+1]=s,u[0].length=u[1].length=w+2,{min:{x:Math.min.apply(0,u[0]),y:Math.min.apply(0,u[1])},max:{x:Math.max.apply(0,u[0]),y:Math.max.apply(0,u[1])}}},jw=function(r,e,t,i,n,a,o,s){if(!(Math.max(r,t)Math.max(n,o)||Math.max(e,i)Math.max(a,s))){var l=(r*i-e*t)*(n-o)-(r-t)*(n*s-a*o),u=(r*i-e*t)*(a-s)-(e-i)*(n*s-a*o),c=(r-t)*(a-s)-(e-i)*(n-o);if(c){var h=l/c,f=u/c,v=+h.toFixed(2),d=+f.toFixed(2);if(!(v<+Math.min(r,t).toFixed(2)||v>+Math.max(r,t).toFixed(2)||v<+Math.min(n,o).toFixed(2)||v>+Math.max(n,o).toFixed(2)||d<+Math.min(e,i).toFixed(2)||d>+Math.max(e,i).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:h,y:f}}}},Ar=function(r,e,t){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},Pp=function(r,e,t,i,n){if(n)return[["M",+r+ +n,e],["l",t-n*2,0],["a",n,n,0,0,1,n,n],["l",0,i-n*2],["a",n,n,0,0,1,-n,n],["l",n*2-t,0],["a",n,n,0,0,1,-n,-n],["l",0,n*2-i],["a",n,n,0,0,1,n,-n],["z"]];var a=[["M",r,e],["l",t,0],["l",0,i],["l",-t,0],["z"]];return a.parsePathArray=Ip,a},uu=function(r,e,t,i){return r===null&&(r=e=t=i=0),e===null&&(e=r.y,t=r.width,i=r.height,r=r.x),{x:r,y:e,width:t,w:t,height:i,h:i,x2:r+t,y2:e+i,cx:r+t/2,cy:e+i/2,r1:Math.min(t,i)/2,r2:Math.max(t,i)/2,r0:Math.sqrt(t*t+i*i)/2,path:Pp(r,e,t,i),vb:[r,e,t,i].join(" ")}},Zw=function(r,e){return r=uu(r),e=uu(e),Ar(e,r.x,r.y)||Ar(e,r.x2,r.y)||Ar(e,r.x,r.y2)||Ar(e,r.x2,r.y2)||Ar(r,e.x,e.y)||Ar(r,e.x2,e.y)||Ar(r,e.x,e.y2)||Ar(r,e.x2,e.y2)||(r.xe.x||e.xr.x)&&(r.ye.y||e.yr.y)},ef=function(r,e,t,i,n,a,o,s){R(r)||(r=[r,e,t,i,n,a,o,s]);var l=Uw.apply(null,r);return uu(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},rf=function(r,e,t,i,n,a,o,s,l){var u=1-l,c=Math.pow(u,3),h=Math.pow(u,2),f=l*l,v=f*l,d=c*r+h*3*l*t+u*3*l*l*n+v*o,p=c*e+h*3*l*i+u*3*l*l*a+v*s,g=r+2*l*(t-r)+f*(n-2*t+r),y=e+2*l*(i-e)+f*(a-2*i+e),x=t+2*l*(n-t)+f*(o-2*n+t),b=i+2*l*(a-i)+f*(s-2*a+i),w=u*r+l*t,S=u*e+l*i,M=u*n+l*o,F=u*a+l*s,T=90-Math.atan2(g-x,y-b)*180/Math.PI;return{x:d,y:p,m:{x:g,y},n:{x,y:b},start:{x:w,y:S},end:{x:M,y:F},alpha:T}},Qw=function(r,e,t){var i=ef(r),n=ef(e);if(!Zw(i,n))return t?0:[];for(var a=tf.apply(0,r),o=tf.apply(0,e),s=~~(a/8),l=~~(o/8),u=[],c=[],h={},f=t?0:[],v=0;v=0&&F<=1&&T>=0&&T<=1&&(t?f+=1:f.push({x:M.x,y:M.y,t1:F,t2:T}))}}return f},Kw=function(r,e,t){r=lu(r),e=lu(e);for(var i,n,a,o,s,l,u,c,h,f,v=t?0:[],d=0,p=r.length;d=3&&(h.length===3&&f.push("Q"),f=f.concat(h[1])),h.length===2&&f.push("L"),f=f.concat(h[h.length-1]),f});return c}var r1=function(r,e,t){if(t===1)return[[].concat(r)];var i=[];if(e[0]==="L"||e[0]==="C"||e[0]==="Q")i=i.concat(e1(r,e,t));else{var n=[].concat(r);n[0]==="M"&&(n[0]="L");for(var a=0;a<=t-1;a++)i.push(n)}return i},i1=function(r,e){if(r.length===1)return r;var t=r.length-1,i=e.length-1,n=t/i,a=[];if(r.length===1&&r[0][0]==="M"){for(var o=0;o=0;l--)o=a[l].index,a[l].type==="add"?r.splice(o,0,[].concat(r[o])):r.splice(o,1)}i=r.length;var h=n-i;if(i0)t=ml(t,r[i-1],1);else{r[i]=e[i];break}r[i]=["Q"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;case"T":r[i]=["T"].concat(t[0]);break;case"C":if(t.length<3)if(i>0)t=ml(t,r[i-1],2);else{r[i]=e[i];break}r[i]=["C"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;case"S":if(t.length<2)if(i>0)t=ml(t,r[i-1],1);else{r[i]=e[i];break}r[i]=["S"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;default:r[i]=e[i]}return r};const fc=Object.freeze(Object.defineProperty({__proto__:null,catmullRomToBezier:ou,fillPath:i1,fillPathByDiff:Dp,formatPath:cu,intersection:Jw,parsePathArray:Ip,parsePathString:Wi,pathToAbsolute:su,pathToCurve:lu,rectPath:Pp},Symbol.toStringTag,{value:"Module"}));var Ia=function(){function r(e,t){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=e,this.name=e,this.originalEvent=t,this.timeStamp=t.timeStamp}return r.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},r.prototype.stopPropagation=function(){this.propagationStopped=!0},r.prototype.toString=function(){var e=this.type;return"[Event (type="+e+")]"},r.prototype.save=function(){},r.prototype.restore=function(){},r}();function Bp(r,e){var t=r.indexOf(e);t!==-1&&r.splice(t,1)}var nf=typeof window<"u"&&typeof window.document<"u";function Rp(r,e){if(r.isCanvas())return!0;for(var t=e.getParent(),i=!1;t;){if(t===r){i=!0;break}t=t.getParent()}return i}function aa(r){return r.cfg.visible&&r.cfg.capture}var ms=function(r){E(e,r);function e(t){var i=r.call(this)||this;i.destroyed=!1;var n=i.getDefaultCfg();return i.cfg=mt(n,t),i}return e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,i){this.cfg[t]=i},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(cc),af=globalThis&&globalThis.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var i=0,n=e.length,a;i"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new h1:typeof navigator<"u"?lf(navigator.userAgent):y1()}function p1(r){return r!==""&&d1.reduce(function(e,t){var i=t[0],n=t[1];if(e)return e;var a=n.exec(r);return!!a&&[i,a]},!1)}function lf(r){var e=p1(r);if(!e)return null;var t=e[0],i=e[1];if(t==="searchbot")return new c1;var n=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);n?n.length0&&(n=1/Math.sqrt(n)),r[0]=e[0]*n,r[1]=e[1]*n,r}function A1(r,e){return r[0]*e[0]+r[1]*e[1]}function F1(r,e,t){var i=e[0],n=e[1];return r[0]=t[0]*i+t[3]*n+t[6],r[1]=t[1]*i+t[4]*n+t[7],r}function hu(r,e){var t=r[0],i=r[1],n=e[0],a=e[1],o=Math.sqrt(t*t+i*i)*Math.sqrt(n*n+a*a),s=o&&(t*n+i*a)/o;return Math.acos(Math.min(Math.max(s,-1),1))}function T1(r,e){return r[0]===e[0]&&r[1]===e[1]}var di=Np;(function(){var r=M1();return function(e,t,i,n,a,o){var s,l;for(t||(t=2),i||(i=0),n?l=Math.min(n*t+i,e.length):l=e.length,s=i;s=0;return t?n?Math.PI*2-i:i:n?i:Math.PI*2-i}function uf(r,e){var t=[],i=r[0],n=r[1],a=r[2],o=r[3],s=r[4],l=r[5],u=r[6],c=r[7],h=r[8],f=e[0],v=e[1],d=e[2],p=e[3],g=e[4],y=e[5],x=e[6],b=e[7],w=e[8];return t[0]=f*i+v*o+d*u,t[1]=f*n+v*s+d*c,t[2]=f*a+v*l+d*h,t[3]=p*i+g*o+y*u,t[4]=p*n+g*s+y*c,t[5]=p*a+g*l+y*h,t[6]=x*i+b*o+w*u,t[7]=x*n+b*s+w*c,t[8]=x*a+b*l+w*h,t}function fr(r,e){var t=[],i=e[0],n=e[1];return t[0]=r[0]*i+r[3]*n+r[6],t[1]=r[1]*i+r[4]*n+r[7],t}function ws(r){var e=[],t=r[0],i=r[1],n=r[2],a=r[3],o=r[4],s=r[5],l=r[6],u=r[7],c=r[8],h=c*o-s*u,f=-c*a+s*l,v=u*a-o*l,d=t*h+i*f+n*v;return d?(d=1/d,e[0]=h*d,e[1]=(-c*i+n*u)*d,e[2]=(s*i-n*o)*d,e[3]=f*d,e[4]=(c*t-n*l)*d,e[5]=(-s*t+n*a)*d,e[6]=v*d,e[7]=(-u*t+i*l)*d,e[8]=(o*t-i*a)*d,e):null}var En=Rt,xl="matrix",L1=["zIndex","capture","visible","type"],I1=["repeat"],P1=":",D1="*";function O1(r){for(var e=[],t=0;to.delay&&C(e.toAttrs,function(s,l){a.call(o.toAttrs,l)&&(delete o.toAttrs[l],delete o.fromAttrs[l])})}),r}var Yp=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;i.attrs={};var n=i.getDefaultAttrs();return mt(n,t.attrs),i.attrs=n,i.initAttrs(n),i.initAnimate(),i}return e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,i=[],n=0;n0?a=z1(a,w):n.addAnimator(this),a.push(w),this.set("animations",a),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var i=this;t===void 0&&(t=!0);var n=this.get("animations");C(n,function(a){t&&(a.onFrame?i.attr(a.onFrame(1)):i.attr(a.toAttrs)),a.callback&&a.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),i=this.get("animations"),n=t.getTime();return C(i,function(a){a._paused=!0,a._pauseTime=n,a.pauseCallback&&a.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline"),i=t.getTime(),n=this.get("animations"),a=this.get("_pause").pauseTime;return C(n,function(o){o.startTime=o.startTime+(i-a),o._paused=!1,o._pauseTime=null,o.resumeCallback&&o.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",n),this},e.prototype.emitDelegation=function(t,i){var n=this,a=i.propagationPath;this.getEvents();var o;t==="mouseenter"?o=i.fromShape:t==="mouseleave"&&(o=i.toShape);for(var s=function(h){var f=a[h],v=f.get("name");if(v){if((f.isGroup()||f.isCanvas&&f.isCanvas())&&o&&Rp(f,o))return"break";R(v)?C(v,function(d){n.emitDelegateEvent(f,d,i)}):l.emitDelegateEvent(f,v,i)}},l=this,u=0;u0)});l.length>0?(C(l,function(c){var h=c.getBBox();o.push(h.minX,h.maxX),s.push(h.minY,h.maxY)}),t=re(o),i=Qt(o),n=re(s),a=Qt(s)):(t=0,i=0,n=0,a=0);var u={x:t,y:n,minX:t,minY:n,maxX:i,maxY:a,width:i-t,height:a-n};return u},e.prototype.getCanvasBBox=function(){var t=1/0,i=-1/0,n=1/0,a=-1/0,o=[],s=[],l=this.getChildren().filter(function(c){return c.get("visible")&&(!c.isGroup()||c.isGroup()&&c.getChildren().length>0)});l.length>0?(C(l,function(c){var h=c.getCanvasBBox();o.push(h.minX,h.maxX),s.push(h.minY,h.maxY)}),t=re(o),i=Qt(o),n=re(s),a=Qt(s)):(t=0,i=0,n=0,a=0);var u={x:t,y:n,minX:t,minY:n,maxX:i,maxY:a,width:i-t,height:a-n};return u},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.children=[],t},e.prototype.onAttrChange=function(t,i,n){if(r.prototype.onAttrChange.call(this,t,i,n),t==="matrix"){var a=this.getTotalMatrix();this._applyChildrenMarix(a)}},e.prototype.applyMatrix=function(t){var i=this.getTotalMatrix();r.prototype.applyMatrix.call(this,t);var n=this.getTotalMatrix();n!==i&&this._applyChildrenMarix(n)},e.prototype._applyChildrenMarix=function(t){var i=this.getChildren();C(i,function(n){n.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],i=0;i=0;s--){var l=t[s];if(aa(l)&&(l.isGroup()?o=l.getShape(i,n,a):l.isHit(i,n)&&(o=l)),o)break}return o},e.prototype.add=function(t){var i=this.getCanvas(),n=this.getChildren(),a=this.get("timeline"),o=t.getParent();o&&N1(o,t,!1),t.set("parent",this),i&&$p(t,i),a&&Hp(t,a),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var i=this.getTotalMatrix();i&&t.applyMatrix(i)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();C(t,function(i,n){return i[fu]=n,i}),t.sort(G1(function(i,n){return i.get("zIndex")-n.get("zIndex")})),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),i=t.length-1;i>=0;i--)t[i].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),r.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){var i=this.getChildren();return i[t]},e.prototype.getCount=function(){var t=this.getChildren();return t.length},e.prototype.contain=function(t){var i=this.getChildren();return i.indexOf(t)>-1},e.prototype.removeChild=function(t,i){i===void 0&&(i=!0),this.contain(t)&&t.remove(i)},e.prototype.findAll=function(t){var i=[],n=this.getChildren();return C(n,function(a){t(a)&&i.push(a),a.isGroup()&&(i=i.concat(a.findAll(t)))}),i},e.prototype.find=function(t){var i=null,n=this.getChildren();return C(n,function(a){if(t(a)?i=a:a.isGroup()&&(i=a.find(t)),i)return!1}),i},e.prototype.findById=function(t){return this.find(function(i){return i.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(i){return i.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(i){return i.get("name")===t})},e}(Yp),rn=0,Nn=0,kn=0,Wp=1e3,Ho,Gn,Xo=0,Ci=0,bs=0,sa=typeof performance=="object"&&performance.now?performance:Date,_p=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(r){setTimeout(r,17)};function qp(){return Ci||(_p(V1),Ci=sa.now()+bs)}function V1(){Ci=0}function vu(){this._call=this._time=this._next=null}vu.prototype=Up.prototype={constructor:vu,restart:function(r,e,t){if(typeof r!="function")throw new TypeError("callback is not a function");t=(t==null?qp():+t)+(e==null?0:+e),!this._next&&Gn!==this&&(Gn?Gn._next=this:Ho=this,Gn=this),this._call=r,this._time=t,du()},stop:function(){this._call&&(this._call=null,this._time=1/0,du())}};function Up(r,e,t){var i=new vu;return i.restart(r,e,t),i}function Y1(){qp(),++rn;for(var r=Ho,e;r;)(e=Ci-r._time)>=0&&r._call.call(null,e),r=r._next;--rn}function hf(){Ci=(Xo=sa.now())+bs,rn=Nn=0;try{Y1()}finally{rn=0,H1(),Ci=0}}function $1(){var r=sa.now(),e=r-Xo;e>Wp&&(bs-=e,Xo=r)}function H1(){for(var r,e=Ho,t,i=1/0;e;)e._call?(i>e._time&&(i=e._time),r=e,e=e._next):(t=e._next,e._next=null,e=r?r._next=t:Ho=t);Gn=r,du(i)}function du(r){if(!rn){Nn&&(Nn=clearTimeout(Nn));var e=r-Ci;e>24?(r<1/0&&(Nn=setTimeout(hf,r-sa.now()-bs)),kn&&(kn=clearInterval(kn))):(kn||(Xo=sa.now(),kn=setInterval($1,Wp)),rn=1,_p(hf))}}function pc(r,e,t){r.prototype=e.prototype=t,t.constructor=r}function jp(r,e){var t=Object.create(r.prototype);for(var i in e)t[i]=e[i];return t}function Pa(){}var la=.7,Wo=1/la,ji="\\s*([+-]?\\d+)\\s*",ua="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Je="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",X1=/^#([0-9a-f]{3,8})$/,W1=new RegExp(`^rgb\\(${ji},${ji},${ji}\\)$`),_1=new RegExp(`^rgb\\(${Je},${Je},${Je}\\)$`),q1=new RegExp(`^rgba\\(${ji},${ji},${ji},${ua}\\)$`),U1=new RegExp(`^rgba\\(${Je},${Je},${Je},${ua}\\)$`),j1=new RegExp(`^hsl\\(${ua},${Je},${Je}\\)$`),Z1=new RegExp(`^hsla\\(${ua},${Je},${Je},${ua}\\)$`),ff={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};pc(Pa,ca,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:vf,formatHex:vf,formatHex8:Q1,formatHsl:K1,formatRgb:df,toString:df});function vf(){return this.rgb().formatHex()}function Q1(){return this.rgb().formatHex8()}function K1(){return Zp(this).formatHsl()}function df(){return this.rgb().formatRgb()}function ca(r){var e,t;return r=(r+"").trim().toLowerCase(),(e=X1.exec(r))?(t=e[1].length,e=parseInt(e[1],16),t===6?pf(e):t===3?new pe(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):t===8?Ka(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):t===4?Ka(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=W1.exec(r))?new pe(e[1],e[2],e[3],1):(e=_1.exec(r))?new pe(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=q1.exec(r))?Ka(e[1],e[2],e[3],e[4]):(e=U1.exec(r))?Ka(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=j1.exec(r))?mf(e[1],e[2]/100,e[3]/100,1):(e=Z1.exec(r))?mf(e[1],e[2]/100,e[3]/100,e[4]):ff.hasOwnProperty(r)?pf(ff[r]):r==="transparent"?new pe(NaN,NaN,NaN,0):null}function pf(r){return new pe(r>>16&255,r>>8&255,r&255,1)}function Ka(r,e,t,i){return i<=0&&(r=e=t=NaN),new pe(r,e,t,i)}function J1(r){return r instanceof Pa||(r=ca(r)),r?(r=r.rgb(),new pe(r.r,r.g,r.b,r.opacity)):new pe}function pu(r,e,t,i){return arguments.length===1?J1(r):new pe(r,e,t,i??1)}function pe(r,e,t,i){this.r=+r,this.g=+e,this.b=+t,this.opacity=+i}pc(pe,pu,jp(Pa,{brighter(r){return r=r==null?Wo:Math.pow(Wo,r),new pe(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?la:Math.pow(la,r),new pe(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new pe(pi(this.r),pi(this.g),pi(this.b),_o(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:gf,formatHex:gf,formatHex8:tb,formatRgb:yf,toString:yf}));function gf(){return`#${ui(this.r)}${ui(this.g)}${ui(this.b)}`}function tb(){return`#${ui(this.r)}${ui(this.g)}${ui(this.b)}${ui((isNaN(this.opacity)?1:this.opacity)*255)}`}function yf(){const r=_o(this.opacity);return`${r===1?"rgb(":"rgba("}${pi(this.r)}, ${pi(this.g)}, ${pi(this.b)}${r===1?")":`, ${r})`}`}function _o(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function pi(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function ui(r){return r=pi(r),(r<16?"0":"")+r.toString(16)}function mf(r,e,t,i){return i<=0?r=e=t=NaN:t<=0||t>=1?r=e=NaN:e<=0&&(r=NaN),new Ge(r,e,t,i)}function Zp(r){if(r instanceof Ge)return new Ge(r.h,r.s,r.l,r.opacity);if(r instanceof Pa||(r=ca(r)),!r)return new Ge;if(r instanceof Ge)return r;r=r.rgb();var e=r.r/255,t=r.g/255,i=r.b/255,n=Math.min(e,t,i),a=Math.max(e,t,i),o=NaN,s=a-n,l=(a+n)/2;return s?(e===a?o=(t-i)/s+(t0&&l<1?0:o,new Ge(o,s,l,r.opacity)}function eb(r,e,t,i){return arguments.length===1?Zp(r):new Ge(r,e,t,i??1)}function Ge(r,e,t,i){this.h=+r,this.s=+e,this.l=+t,this.opacity=+i}pc(Ge,eb,jp(Pa,{brighter(r){return r=r==null?Wo:Math.pow(Wo,r),new Ge(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?la:Math.pow(la,r),new Ge(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,e=isNaN(r)||isNaN(this.s)?0:this.s,t=this.l,i=t+(t<.5?t:1-t)*e,n=2*t-i;return new pe(wl(r>=240?r-240:r+120,n,i),wl(r,n,i),wl(r<120?r+240:r-120,n,i),this.opacity)},clamp(){return new Ge(xf(this.h),Ja(this.s),Ja(this.l),_o(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const r=_o(this.opacity);return`${r===1?"hsl(":"hsla("}${xf(this.h)}, ${Ja(this.s)*100}%, ${Ja(this.l)*100}%${r===1?")":`, ${r})`}`}}));function xf(r){return r=(r||0)%360,r<0?r+360:r}function Ja(r){return Math.max(0,Math.min(1,r||0))}function wl(r,e,t){return(r<60?e+(t-e)*r/60:r<180?t:r<240?e+(t-e)*(240-r)/60:e)*255}const gc=r=>()=>r;function rb(r,e){return function(t){return r+t*e}}function ib(r,e,t){return r=Math.pow(r,t),e=Math.pow(e,t)-r,t=1/t,function(i){return Math.pow(r+i*e,t)}}function nb(r){return(r=+r)==1?Qp:function(e,t){return t-e?ib(e,t,r):gc(isNaN(e)?t:e)}}function Qp(r,e){var t=e-r;return t?rb(r,t):gc(isNaN(r)?e:r)}const wf=function r(e){var t=nb(e);function i(n,a){var o=t((n=pu(n)).r,(a=pu(a)).r),s=t(n.g,a.g),l=t(n.b,a.b),u=Qp(n.opacity,a.opacity);return function(c){return n.r=o(c),n.g=s(c),n.b=l(c),n.opacity=u(c),n+""}}return i.gamma=r,i}(1);function Kp(r,e){e||(e=[]);var t=r?Math.min(e.length,r.length):0,i=e.slice(),n;return function(a){for(n=0;nt&&(a=e.slice(t,a),s[o]?s[o]+=a:s[++o]=a),(i=i[0])===(n=n[0])?s[o]?s[o]+=n:s[++o]=n:(s[++o]=null,l.push({i:o,x:gu(i,n)})),t=bl.lastIndex;return tu.length?(l=Wi(a[s]),u=Wi(n[s]),u=Dp(u,l),u=cu(u,l),e.fromAttrs.path=u,e.toAttrs.path=l):e.pathFormatted||(l=Wi(a[s]),u=Wi(n[s]),u=cu(u,l),e.fromAttrs.path=u,e.toAttrs.path=l,e.pathFormatted=!0),i[s]=[];for(var c=0;c0){for(var s=e.animators.length-1;s>=0;s--){if(i=e.animators[s],i.destroyed){e.removeAnimator(s);continue}if(!i.isAnimatePaused()){n=i.get("animations");for(var l=n.length-1;l>=0;l--)a=n[l],t=Hb(i,a,o),t&&(n.splice(l,1),t=!1,a.callback&&a.callback())}n.length===0&&e.removeAnimator(s)}var u=e.canvas.get("autoDraw");u||e.canvas.draw()}})},r.prototype.addAnimator=function(e){this.animators.push(e)},r.prototype.removeAnimator=function(e){this.animators.splice(e,1)},r.prototype.isAnimating=function(){return!!this.animators.length},r.prototype.stop=function(){this.timer&&this.timer.stop()},r.prototype.stopAllAnimations=function(e){e===void 0&&(e=!0),this.animators.forEach(function(t){t.stopAnimate(e)}),this.animators=[],this.canvas.draw()},r.prototype.getTime=function(){return this.current},r}(),Wb=40,Lf=0,If=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function Pf(r,e,t){t.name=e,t.target=r,t.currentTarget=r,t.delegateTarget=r,r.emit(e,t)}function _b(r,e,t){if(t.bubbles){var i=void 0,n=!1;if(e==="mouseenter"?(i=t.fromShape,n=!0):e==="mouseleave"&&(n=!0,i=t.toShape),r.isCanvas()&&n)return;if(i&&Rp(r,i)){t.bubbles=!1;return}t.name=e,t.currentTarget=r,t.delegateTarget=r,r.emit(e,t)}}var qb=function(){function r(e){var t=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(i){var n=i.type;t._triggerEvent(n,i)},this._onDocumentMove=function(i){var n=t.canvas,a=n.get("el");if(a!==i.target&&(t.dragging||t.currentShape)){var o=t._getPointInfo(i);t.dragging&&t._emitEvent("drag",i,o,t.draggingShape)}},this._onDocumentMouseUp=function(i){var n=t.canvas,a=n.get("el");if(a!==i.target&&t.dragging){var o=t._getPointInfo(i);t.draggingShape&&t._emitEvent("drop",i,o,null),t._emitEvent("dragend",i,o,t.draggingShape),t._afterDrag(t.draggingShape,o,i)}},this.canvas=e.canvas}return r.prototype.init=function(){this._bindEvents()},r.prototype._bindEvents=function(){var e=this,t=this.canvas.get("el");C(If,function(i){t.addEventListener(i,e._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},r.prototype._clearEvents=function(){var e=this,t=this.canvas.get("el");C(If,function(i){t.removeEventListener(i,e._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},r.prototype._getEventObj=function(e,t,i,n,a,o){var s=new Ia(e,t);return s.fromShape=a,s.toShape=o,s.x=i.x,s.y=i.y,s.clientX=i.clientX,s.clientY=i.clientY,s.propagationPath.push(n),s},r.prototype._getShape=function(e,t){return this.canvas.getShape(e.x,e.y,t)},r.prototype._getPointInfo=function(e){var t=this.canvas,i=t.getClientByEvent(e),n=t.getPointByEvent(e);return{x:n.x,y:n.y,clientX:i.x,clientY:i.y}},r.prototype._triggerEvent=function(e,t){var i=this._getPointInfo(t),n=this._getShape(i,t),a=this["_on"+e],o=!1;if(a)a.call(this,i,n,t);else{var s=this.currentShape;e==="mouseenter"||e==="dragenter"||e==="mouseover"?(this._emitEvent(e,t,i,null,null,n),n&&this._emitEvent(e,t,i,n,null,n),e==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",t,i,null)):e==="mouseleave"||e==="dragleave"||e==="mouseout"?(o=!0,s&&this._emitEvent(e,t,i,s,s,null),this._emitEvent(e,t,i,null,s,null),e==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",t,i,null)):this._emitEvent(e,t,i,n,null,null)}if(o||(this.currentShape=n),n&&!n.get("destroyed")){var l=this.canvas,u=l.get("el");u.style.cursor=n.attr("cursor")||l.get("cursor")}},r.prototype._onmousedown=function(e,t,i){i.button===Lf&&(this.mousedownShape=t,this.mousedownPoint=e,this.mousedownTimeStamp=i.timeStamp),this._emitEvent("mousedown",i,e,t,null,null)},r.prototype._emitMouseoverEvents=function(e,t,i,n){var a=this.canvas.get("el");i!==n&&(i&&(this._emitEvent("mouseout",e,t,i,i,n),this._emitEvent("mouseleave",e,t,i,i,n),(!n||n.get("destroyed"))&&(a.style.cursor=this.canvas.get("cursor"))),n&&(this._emitEvent("mouseover",e,t,n,i,n),this._emitEvent("mouseenter",e,t,n,i,n)))},r.prototype._emitDragoverEvents=function(e,t,i,n,a){n?(n!==i&&(i&&this._emitEvent("dragleave",e,t,i,i,n),this._emitEvent("dragenter",e,t,n,i,n)),a||this._emitEvent("dragover",e,t,n)):i&&this._emitEvent("dragleave",e,t,i,i,n),a&&this._emitEvent("dragover",e,t,n)},r.prototype._afterDrag=function(e,t,i){e&&(e.set("capture",!0),this.draggingShape=null),this.dragging=!1;var n=this._getShape(t,i);n!==e&&this._emitMouseoverEvents(i,t,e,n),this.currentShape=n},r.prototype._onmouseup=function(e,t,i){if(i.button===Lf){var n=this.draggingShape;this.dragging?(n&&this._emitEvent("drop",i,e,t),this._emitEvent("dragend",i,e,n),this._afterDrag(n,e,i)):(this._emitEvent("mouseup",i,e,t),t===this.mousedownShape&&this._emitEvent("click",i,e,t),this.mousedownShape=null,this.mousedownPoint=null)}},r.prototype._ondragover=function(e,t,i){i.preventDefault();var n=this.currentShape;this._emitDragoverEvents(i,e,n,t,!0)},r.prototype._onmousemove=function(e,t,i){var n=this.canvas,a=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(i,e,a,t,!1),this._emitEvent("drag",i,e,o);else{var s=this.mousedownPoint;if(s){var l=this.mousedownShape,u=i.timeStamp,c=u-this.mousedownTimeStamp,h=s.clientX-e.clientX,f=s.clientY-e.clientY,v=h*h+f*f;c>120||v>Wb?l&&l.get("draggable")?(o=this.mousedownShape,o.set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",i,e,o),this.mousedownShape=null,this.mousedownPoint=null):!l&&n.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",i,e,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t)):(this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t))}else this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t)}},r.prototype._emitEvent=function(e,t,i,n,a,o){var s=this._getEventObj(e,t,i,n,a,o);if(n){s.shape=n,Pf(n,e,s);for(var l=n.getParent();l;)l.emitDelegation(e,s),s.propagationStopped||_b(l,e,s),s.propagationPath.push(l),l=l.getParent()}else{var u=this.canvas;Pf(u,e,s)}},r.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},r}(),Df="px",Of=zp(),Ub=Of&&Of.name==="firefox",Ss=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.initContainer(),i.initDom(),i.initEvents(),i.initTimeline(),i}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.cursor="default",t.supportCSSTransform=!1,t},e.prototype.initContainer=function(){var t=this.get("container");Q(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t);var i=this.get("container");i.appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new qb({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new Xb(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,i){var n=this.get("el");nf&&(n.style.width=t+Df,n.style.height=i+Df)},e.prototype.changeSize=function(t,i){this.setDOMSize(t,i),this.set("width",t),this.set("height",i),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var i=this.get("el");nf&&i&&(i.style.cursor=t)},e.prototype.getPointByEvent=function(t){var i=this.get("supportCSSTransform");if(i){if(Ub&&!B(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!B(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var n=this.getClientByEvent(t),a=n.x,o=n.y;return this.getPointByClient(a,o)},e.prototype.getClientByEvent=function(t){var i=t;return t.touches&&(t.type==="touchend"?i=t.changedTouches[0]:i=t.touches[0]),{x:i.clientX,y:i.clientY}},e.prototype.getPointByClient=function(t,i){var n=this.get("el"),a=n.getBoundingClientRect();return{x:t-a.left,y:i-a.top}},e.prototype.getClientByPoint=function(t,i){var n=this.get("el"),a=n.getBoundingClientRect();return{x:t+a.left,y:i+a.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){var t=this.get("eventController");t.destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var t=this.get("timeline");this.get("destroyed")||(this.clear(),t&&t.stop(),this.clearEvents(),this.removeDom(),r.prototype.destroy.call(this))},e}(Xp),Cs=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var t=r.prototype.clone.call(this),i=this.getChildren(),n=0;n=t&&n.minY<=i&&n.maxY>=i},e.prototype.afterAttrsChange=function(t){r.prototype.afterAttrsChange.call(this,t),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(t){r.prototype.applyMatrix.call(this,t),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),i=this.getTotalMatrix(),n=t.minX,a=t.minY,o=t.maxX,s=t.maxY;if(i){var l=fr(i,[t.minX,t.minY]),u=fr(i,[t.maxX,t.minY]),c=fr(i,[t.minX,t.maxY]),h=fr(i,[t.maxX,t.maxY]);n=Math.min(l[0],u[0],c[0],h[0]),o=Math.max(l[0],u[0],c[0],h[0]),a=Math.min(l[1],u[1],c[1],h[1]),s=Math.max(l[1],u[1],c[1],h[1])}var f=this.attrs;if(f.shadowColor){var v=f.shadowBlur,d=v===void 0?0:v,p=f.shadowOffsetX,g=p===void 0?0:p,y=f.shadowOffsetY,x=y===void 0?0:y,b=n-d+g,w=o+d+g,S=a-d+x,M=s+d+x;n=Math.min(n,b),o=Math.max(o,w),a=Math.min(a,S),s=Math.max(s,M)}return{x:n,y:a,minX:n,minY:a,maxX:o,maxY:s,width:o-n,height:s-a}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,i){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,i){var n=this.get("startArrowShape"),a=this.get("endArrowShape"),o=[t,i,1];o=this.invertFromMatrix(o);var s=o[0],l=o[1],u=this._isInBBox(s,l);return this.isOnlyHitBox()?u:!!(u&&!this.isClipped(s,l)&&(this.isInShape(s,l)||n&&n.isHit(s,l)||a&&a.isHit(s,l)))},e}(Yp),ag=new Map;function Oe(r,e){ag.set(r,e)}function As(r){return ag.get(r)}function og(r){var e=r.attr(),t=e.x,i=e.y,n=e.width,a=e.height;return{x:t,y:i,width:n,height:a}}function sg(r){var e=r.attr(),t=e.x,i=e.y,n=e.r;return{x:t-n,y:i-n,width:n*2,height:n*2}}function ne(r,e,t,i){var n=r-t,a=e-i;return Math.sqrt(n*n+a*a)}function Lo(r,e){return Math.abs(r-e)<.001}function mn(r,e){var t=re(r),i=re(e),n=Qt(r),a=Qt(e);return{x:t,y:i,width:n-t,height:a-i}}function Fs(r){return(r+Math.PI*2)%(Math.PI*2)}const qt={box:function(r,e,t,i){return mn([r,t],[e,i])},length:function(r,e,t,i){return ne(r,e,t,i)},pointAt:function(r,e,t,i,n){return{x:(1-n)*r+n*t,y:(1-n)*e+n*i}},pointDistance:function(r,e,t,i,n,a){var o=(t-r)*(n-r)+(i-e)*(a-e);if(o<0)return ne(r,e,n,a);var s=(t-r)*(t-r)+(i-e)*(i-e);return o>s?ne(t,i,n,a):this.pointToLine(r,e,t,i,n,a)},pointToLine:function(r,e,t,i,n,a){var o=[t-r,i-e];if(T1(o,[0,0]))return Math.sqrt((n-r)*(n-r)+(a-e)*(a-e));var s=[-o[1],o[0]];Gp(s,s);var l=[n-r,a-e];return Math.abs(A1(l,s))},tangentAngle:function(r,e,t,i){return Math.atan2(i-e,t-r)}};var jb=1e-4;function lg(r,e,t,i,n,a){var o,s=1/0,l=[t,i],u=20;a&&a>200&&(u=a/10);for(var c=1/u,h=c/10,f=0;f<=u;f++){var v=f*c,d=[n.apply(null,r.concat([v])),n.apply(null,e.concat([v]))],p=ne(l[0],l[1],d[0],d[1]);p=0&&p=0?[n]:[]}function Rf(r,e,t,i){return 2*(1-i)*(e-r)+2*i*(t-e)}function ug(r,e,t,i,n,a,o){var s=Lr(r,t,n,o),l=Lr(e,i,a,o),u=qt.pointAt(r,e,t,i,o),c=qt.pointAt(t,i,n,a,o);return[[r,e,u.x,u.y,s,l],[s,l,c.x,c.y,n,a]]}function xu(r,e,t,i,n,a,o){if(o===0)return(ne(r,e,t,i)+ne(t,i,n,a)+ne(r,e,n,a))/2;var s=ug(r,e,t,i,n,a,.5),l=s[0],u=s[1];return l.push(o-1),u.push(o-1),xu.apply(null,l)+xu.apply(null,u)}const cg={box:function(r,e,t,i,n,a){var o=Bf(r,t,n)[0],s=Bf(e,i,a)[0],l=[r,n],u=[e,a];return o!==void 0&&l.push(Lr(r,t,n,o)),s!==void 0&&u.push(Lr(e,i,a,s)),mn(l,u)},length:function(r,e,t,i,n,a){return xu(r,e,t,i,n,a,3)},nearestPoint:function(r,e,t,i,n,a,o,s){return lg([r,t,n],[e,i,a],o,s,Lr)},pointDistance:function(r,e,t,i,n,a,o,s){var l=this.nearestPoint(r,e,t,i,n,a,o,s);return ne(l.x,l.y,o,s)},interpolationAt:Lr,pointAt:function(r,e,t,i,n,a,o){return{x:Lr(r,t,n,o),y:Lr(e,i,a,o)}},divide:function(r,e,t,i,n,a,o){return ug(r,e,t,i,n,a,o)},tangentAngle:function(r,e,t,i,n,a,o){var s=Rf(r,t,n,o),l=Rf(e,i,a,o),u=Math.atan2(l,s);return Fs(u)}};function Ir(r,e,t,i,n){var a=1-n;return a*a*a*r+3*e*n*a*a+3*t*n*n*a+i*n*n*n}function zf(r,e,t,i,n){var a=1-n;return 3*(a*a*(e-r)+2*a*n*(t-e)+n*n*(i-t))}function Sl(r,e,t,i){var n=-3*r+9*e-9*t+3*i,a=6*r-12*e+6*t,o=3*e-3*r,s=[],l,u,c;if(Lo(n,0))Lo(a,0)||(l=-o/a,l>=0&&l<=1&&s.push(l));else{var h=a*a-4*n*o;Lo(h,0)?s.push(-a/(2*n)):h>0&&(c=Math.sqrt(h),l=(-a+c)/(2*n),u=(-a-c)/(2*n),l>=0&&l<=1&&s.push(l),u>=0&&u<=1&&s.push(u))}return s}function hg(r,e,t,i,n,a,o,s,l){var u=Ir(r,t,n,o,l),c=Ir(e,i,a,s,l),h=qt.pointAt(r,e,t,i,l),f=qt.pointAt(t,i,n,a,l),v=qt.pointAt(n,a,o,s,l),d=qt.pointAt(h.x,h.y,f.x,f.y,l),p=qt.pointAt(f.x,f.y,v.x,v.y,l);return[[r,e,h.x,h.y,d.x,d.y,u,c],[u,c,p.x,p.y,v.x,v.y,o,s]]}function wu(r,e,t,i,n,a,o,s,l){if(l===0)return Zb([r,t,n,o],[e,i,a,s]);var u=hg(r,e,t,i,n,a,o,s,.5),c=u[0],h=u[1];return c.push(l-1),h.push(l-1),wu.apply(null,c)+wu.apply(null,h)}const _n={extrema:Sl,box:function(r,e,t,i,n,a,o,s){for(var l=[r,o],u=[e,s],c=Sl(r,t,n,o),h=Sl(e,i,a,s),f=0;f0?t:t*-1}const Qb={box:function(r,e,t,i){return{x:r-t,y:e-i,width:t*2,height:i*2}},length:function(r,e,t,i){return Math.PI*(3*(t+i)-Math.sqrt((3*t+i)*(t+3*i)))},nearestPoint:function(r,e,t,i,n,a){var o=t,s=i;if(o===0||s===0)return{x:r,y:e};for(var l=n-r,u=a-e,c=Math.abs(l),h=Math.abs(u),f=o*o,v=s*s,d=Math.PI/4,p,g,y=0;y<4;y++){p=o*Math.cos(d),g=s*Math.sin(d);var x=(f-v)*Math.pow(Math.cos(d),3)/o,b=(v-f)*Math.pow(Math.sin(d),3)/s,w=p-x,S=g-b,M=c-x,F=h-b,T=Math.hypot(S,w),L=Math.hypot(F,M),k=T*Math.asin((w*F-S*M)/(T*L)),P=k/Math.sqrt(f+v-p*p-g*g);d+=P,d=Math.min(Math.PI/2,Math.max(0,d))}return{x:r+Nf(p,l),y:e+Nf(g,u)}},pointDistance:function(r,e,t,i,n,a){var o=this.nearestPoint(r,e,t,i,n,a);return ne(o.x,o.y,n,a)},pointAt:function(r,e,t,i,n){var a=2*Math.PI*n;return{x:r+t*Math.cos(a),y:e+i*Math.sin(a)}},tangentAngle:function(r,e,t,i,n){var a=2*Math.PI*n,o=Math.atan2(i*Math.cos(a),-t*Math.sin(a));return Fs(o)}};function Kb(r,e,t,i,n,a,o,s){return-1*t*Math.cos(n)*Math.sin(s)-i*Math.sin(n)*Math.cos(s)}function Jb(r,e,t,i,n,a,o,s){return-1*t*Math.sin(n)*Math.sin(s)+i*Math.cos(n)*Math.cos(s)}function tS(r,e,t){return Math.atan(-e/r*Math.tan(t))}function eS(r,e,t){return Math.atan(e/(r*Math.tan(t)))}function Gf(r,e,t,i,n,a){return t*Math.cos(n)*Math.cos(a)-i*Math.sin(n)*Math.sin(a)+r}function Vf(r,e,t,i,n,a){return t*Math.sin(n)*Math.cos(a)+i*Math.cos(n)*Math.sin(a)+e}function rS(r,e,t,i){var n=Math.atan2(i*r,t*e);return(n+Math.PI*2)%(Math.PI*2)}function Yf(r,e,t){return{x:r*Math.cos(t),y:e*Math.sin(t)}}function $f(r,e,t){var i=Math.cos(t),n=Math.sin(t);return[r*i-e*n,r*n+e*i]}const iS={box:function(r,e,t,i,n,a,o){for(var s=tS(t,i,n),l=1/0,u=-1/0,c=[a,o],h=-Math.PI*2;h<=Math.PI*2;h+=Math.PI){var f=s+h;au&&(u=v)}for(var d=eS(t,i,n),p=1/0,g=-1/0,y=[a,o],h=-Math.PI*2;h<=Math.PI*2;h+=Math.PI){var x=d+h;ag&&(g=b)}return{x:l,y:p,width:u-l,height:g-p}},length:function(r,e,t,i,n,a,o){},nearestPoint:function(r,e,t,i,n,a,o,s,l){var u=$f(s-r,l-e,-n),c=u[0],h=u[1],f=Qb.nearestPoint(0,0,t,i,c,h),v=rS(t,i,f.x,f.y);vo&&(f=Yf(t,i,o));var d=$f(f.x,f.y,n);return{x:d[0]+r,y:d[1]+e}},pointDistance:function(r,e,t,i,n,a,o,s,l){var u=this.nearestPoint(r,e,t,i,s,l);return ne(u.x,u.y,s,l)},pointAt:function(r,e,t,i,n,a,o,s){var l=(o-a)*s+a;return{x:Gf(r,e,t,i,n,l),y:Vf(r,e,t,i,n,l)}},tangentAngle:function(r,e,t,i,n,a,o,s){var l=(o-a)*s+a,u=Kb(r,e,t,i,n,a,o,l),c=Jb(r,e,t,i,n,a,o,l);return Fs(Math.atan2(c,u))}};function fg(r){for(var e=0,t=[],i=0;i1||e<0||r.length<2)return null;var t=fg(r),i=t.segments,n=t.totalLength;if(n===0)return{x:r[0][0],y:r[0][1]};for(var a=0,o=null,s=0;s=a&&e<=a+h){var f=(e-a)/h;o=qt.pointAt(u[0],u[1],c[0],c[1],f);break}a+=h}return o}function oS(r,e){if(e>1||e<0||r.length<2)return 0;for(var t=fg(r),i=t.segments,n=t.totalLength,a=0,o=0,s=0;s=a&&e<=a+h){o=Math.atan2(c[1]-u[1],c[0]-u[0]);break}a+=h}return o}function sS(r,e,t){for(var i=1/0,n=0;n1){var n=cS(e,t);return e*i+n*(i-1)}return e}function cS(r,e){return e?e-r:r*.14}function hS(r,e){var t=Ts(),i=0;if(B(r)||r==="")return i;if(t.save(),t.font=e,Q(r)&&r.includes(` +`)){var n=r.split(` +`);C(n,function(a){var o=t.measureText(a).width;i1){var n=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=n}C(t,function(a,o){isNaN(a)||(t[o]=+a)}),e[i]=t}),e}function gS(r,e,t,i){var n=[],a=!!i,o,s,l,u,c,h,f;if(a){l=i[0],u=i[1];for(var v=0,d=r.length;v2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}var wS=/[a-z]/;function Xf(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function pg(r){var e=dg(r);if(!e||!e.length)return[["M",0,0]];for(var t=!1,i=0;i=0){t=!0;break}}if(!t)return e;var a=[],o=0,s=0,l=0,u=0,c=0,h=e[0];(h[0]==="M"||h[0]==="m")&&(o=+h[1],s=+h[2],l=o,u=s,c++,a[0]=["M",o,s]);for(var i=c,f=e.length;i1&&(t*=Math.sqrt(v),i*=Math.sqrt(v));var d=t*t*(f*f)+i*i*(h*h),p=d?Math.sqrt((t*t*(i*i)-d)/d):1;a===o&&(p*=-1),isNaN(p)&&(p=0);var g=i?p*t*f/i:0,y=t?p*-i*h/t:0,x=(s+u)/2+Math.cos(n)*g-Math.sin(n)*y,b=(l+c)/2+Math.sin(n)*g+Math.cos(n)*y,w=[(h-g)/t,(f-y)/i],S=[(-1*h-g)/t,(-1*f-y)/i],M=Wf([1,0],w),F=Wf(w,S);return bu(w,S)<=-1&&(F=Math.PI),bu(w,S)>=1&&(F=0),o===0&&F>0&&(F=F-2*Math.PI),o===1&&F<0&&(F=F+2*Math.PI),{cx:x,cy:b,rx:Su(r,[u,c])?0:t,ry:Su(r,[u,c])?0:i,startAngle:M,endAngle:M+F,xRotation:n,arcFlag:a,sweepFlag:o}}function _f(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function gg(r){r=pS(r);for(var e=[],t=null,i=null,n=null,a=0,o=r.length,s=0;s=e&&r<=t};function SS(r,e,t,i){var n=.001,a={x:t.x-r.x,y:t.y-r.y},o={x:e.x-r.x,y:e.y-r.y},s={x:i.x-t.x,y:i.y-t.y},l=o.x*s.y-o.y*s.x,u=l*l,c=o.x*o.x+o.y*o.y,h=s.x*s.x+s.y*s.y,f=null;if(u>n*c*h){var v=(a.x*s.y-a.y*s.x)/l,d=(a.x*o.y-a.y*o.x)/l;qf(v,0,1)&&qf(d,0,1)&&(f={x:r.x+v*o.x,y:r.y+v*o.y})}return f}var CS=1e-6;function Ml(r){return Math.abs(r)0!=Ml(s[1]-t)>0&&Ml(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(i=!i)}return i}function jf(r){for(var e=[],t=r.length,i=0;i1){var o=r[0],s=r[t-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function AS(r,e){var t=!1;return C(r,function(i){if(SS(i.from,i.to,e.from,e.to))return t=!0,!1}),t}function Zf(r){var e=r.map(function(i){return i[0]}),t=r.map(function(i){return i[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,t),maxY:Math.max.apply(null,t)}}function FS(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxYMath.PI/2?Math.PI-u:u,c=c>Math.PI/2?Math.PI-c:c;var h={xExtra:Math.cos(l/2-u)*(e/2*(1/Math.sin(l/2)))-e/2||0,yExtra:Math.cos(c-l/2)*(e/2*(1/Math.sin(l/2)))-e/2||0};return h}function kS(r){var e=r.attr(),t=e.path,i=e.stroke,n=i?e.lineWidth:0,a=r.get("segments")||gg(t),o=ES(a,n),s=o.x,l=o.y,u=o.width,c=o.height,h={minX:s,minY:l,maxX:s+u,maxY:l+c};return h=bc(r,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}}function LS(r){var e=r.attr(),t=e.x1,i=e.y1,n=e.x2,a=e.y2,o=Math.min(t,n),s=Math.max(t,n),l=Math.min(i,a),u=Math.max(i,a),c={minX:o,maxX:s,minY:l,maxY:u};return c=bc(r,c),{x:c.minX,y:c.minY,width:c.maxX-c.minX,height:c.maxY-c.minY}}function IS(r){var e=r.attr(),t=e.x,i=e.y,n=e.rx,a=e.ry;return{x:t-n,y:i-a,width:n*2,height:a*2}}Oe("rect",og);Oe("image",og);Oe("circle",sg);Oe("marker",sg);Oe("polyline",lS);Oe("polygon",uS);Oe("text",fS);Oe("path",kS);Oe("line",LS);Oe("ellipse",IS);var Qf=0,PS=1/2,DS=1/2,OS=.05,Ls=function(){function r(e){var t=e.xField,i=e.yField,n=e.adjustNames,a=n===void 0?["x","y"]:n,o=e.dimValuesMap;this.adjustNames=a,this.xField=t,this.yField=i,this.dimValuesMap=o}return r.prototype.isAdjust=function(e){return this.adjustNames.indexOf(e)>=0},r.prototype.getAdjustRange=function(e,t,i){var n=this.yField,a=i.indexOf(t),o=i.length,s,l;return!n&&this.isAdjust("y")?(s=0,l=1):o>1?(s=i[a===0?0:a-1],l=i[a===o-1?o-1:a+1],a!==0?s+=(t-s)/2:s-=(l-t)/2,a!==o-1?l-=(l-t)/2:l+=(t-i[o-2])/2):(s=t===0?0:t-.5,l=t===0?1:t+.5),{pre:s,next:l}},r.prototype.adjustData=function(e,t){var i=this,n=this.getDimValues(t);C(e,function(a,o){C(n,function(s,l){i.adjustDim(l,s,a,o)})})},r.prototype.groupData=function(e,t){return C(e,function(i){i[t]===void 0&&(i[t]=Qf)}),Se(e,t)},r.prototype.adjustDim=function(e,t,i,n){},r.prototype.getDimValues=function(e){var t=this,i=t.xField,n=t.yField,a=mt({},this.dimValuesMap),o=[];if(i&&this.isAdjust("x")&&o.push(i),n&&this.isAdjust("y")&&o.push(n),o.forEach(function(l){a&&a[l]||(a[l]=$e(e,l).sort(function(u,c){return u-c}))}),!n&&this.isAdjust("y")){var s="y";a[s]=[Qf,1]}return a},r}(),yg={},mg=function(r){return yg[r.toLowerCase()]},Is=function(r,e){if(mg(r))throw new Error("Adjust type '"+r+"' existed.");yg[r.toLowerCase()]=e};/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var Cu=function(r,e){return Cu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])},Cu(r,e)};function Ps(r,e){Cu(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Qe=function(){return Qe=Object.assign||function(e){for(var t,i=1,n=arguments.length;i=0){var d=this.getIntervalOnlyOffset(n,i);v=c+d}else if(!B(u)&&B(l)&&u>=0){var d=this.getDodgeOnlyOffset(n,i);v=c+d}else if(!B(l)&&!B(u)&&l>=0&&u>=0){var d=this.getIntervalAndDodgeOffset(n,i);v=c+d}else{var p=f*o/n,g=s*p,d=1/2*(f-n*p-(n-1)*g)+((i+1)*p+i*g)-1/2*p-1/2*f;v=(c+h)/2+d}return v},e.prototype.getIntervalOnlyOffset=function(t,i){var n=this,a=n.defaultSize,o=n.intervalPadding,s=n.xDimensionLegenth,l=n.groupNum,u=n.dodgeRatio,c=n.maxColumnWidth,h=n.minColumnWidth,f=n.columnWidthRatio,v=o/s,d=(1-(l-1)*v)/l*u/(t-1),p=((1-v*(l-1))/l-d*(t-1))/t;if(p=B(f)?p:1/l/t*f,!B(c)){var g=c/s;p=Math.min(p,g)}if(!B(h)){var y=h/s;p=Math.max(p,y)}p=a?a/s:p,d=((1-(l-1)*v)/l-t*p)/(t-1);var x=((1/2+i)*p+i*d+1/2*v)*l-v/2;return x},e.prototype.getDodgeOnlyOffset=function(t,i){var n=this,a=n.defaultSize,o=n.dodgePadding,s=n.xDimensionLegenth,l=n.groupNum,u=n.marginRatio,c=n.maxColumnWidth,h=n.minColumnWidth,f=n.columnWidthRatio,v=o/s,d=1*u/(l-1),p=((1-d*(l-1))/l-v*(t-1))/t;if(p=f?1/l/t*f:p,!B(c)){var g=c/s;p=Math.min(p,g)}if(!B(h)){var y=h/s;p=Math.max(p,y)}p=a?a/s:p,d=(1-(p*t+v*(t-1))*l)/(l-1);var x=((1/2+i)*p+i*v+1/2*d)*l-d/2;return x},e.prototype.getIntervalAndDodgeOffset=function(t,i){var n=this,a=n.intervalPadding,o=n.dodgePadding,s=n.xDimensionLegenth,l=n.groupNum,u=a/s,c=o/s,h=((1-u*(l-1))/l-c*(t-1))/t,f=((1/2+i)*h+i*c+1/2*u)*l-u/2;return f},e.prototype.getDistribution=function(t){var i=this.adjustDataArray,n=this.cacheMap,a=n[t];return a||(a={},C(i,function(o,s){var l=$e(o,t);l.length||l.push(0),C(l,function(u){a[u]||(a[u]=[]),a[u].push(s)})}),n[t]=a),a},e}(Ls);function RS(r,e){return(e-r)*Math.random()+r}var zS=function(r){Ps(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var i=ae(t),n=Me(i);return this.adjustData(i,n),i},e.prototype.adjustDim=function(t,i,n){var a=this,o=this.groupData(n,t);return C(o,function(s,l){return a.adjustGroup(s,t,parseFloat(l),i)})},e.prototype.getAdjustOffset=function(t){var i=t.pre,n=t.next,a=(n-i)*OS;return RS(i+a,n-a)},e.prototype.adjustGroup=function(t,i,n,a){var o=this,s=this.getAdjustRange(i,n,a);return C(t,function(l){l[i]=o.getAdjustOffset(s)}),t},e}(Ls),Al=Bw,NS=function(r){Ps(e,r);function e(t){var i=r.call(this,t)||this,n=t.adjustNames,a=n===void 0?["y"]:n,o=t.height,s=o===void 0?NaN:o,l=t.size,u=l===void 0?10:l,c=t.reverseOrder,h=c===void 0?!1:c;return i.adjustNames=a,i.height=s,i.size=u,i.reverseOrder=h,i}return e.prototype.process=function(t){var i=this,n=i.yField,a=i.reverseOrder,o=n?this.processStack(t):this.processOneDimStack(t);return a?this.reverse(o):o},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var i=this,n=i.xField,a=i.yField,o=i.reverseOrder,s=o?this.reverse(t):t,l=new Al,u=new Al;return s.map(function(c){return c.map(function(h){var f,v=A(h,n,0),d=A(h,[a]),p=v.toString();if(d=R(d)?d[1]:d,!B(d)){var g=d>=0?l:u;g.has(p)||g.set(p,0);var y=g.get(p),x=d+y;return g.set(p,x),Qe(Qe({},h),(f={},f[a]=[y,x],f))}return h})})},e.prototype.processOneDimStack=function(t){var i=this,n=this,a=n.xField,o=n.height,s=n.reverseOrder,l="y",u=s?this.reverse(t):t,c=new Al;return u.map(function(h){return h.map(function(f){var v,d=i.size,p=f[a],g=d*2/o;c.has(p)||c.set(p,g/2);var y=c.get(p);return c.set(p,y+g),Qe(Qe({},f),(v={},v[l]=y,v))})})},e}(Ls),GS=function(r){Ps(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var i=Me(t),n=this,a=n.xField,o=n.yField,s=this.getXValuesMaxMap(i),l=Math.max.apply(Math,Object.keys(s).map(function(u){return s[u]}));return Mt(t,function(u){return Mt(u,function(c){var h,f,v=c[o],d=c[a];if(R(v)){var p=(l-s[d])/2;return Qe(Qe({},c),(h={},h[o]=Mt(v,function(y){return p+y}),h))}var g=(l-v)/2;return Qe(Qe({},c),(f={},f[o]=[g,v+g],f))})})},e.prototype.getXValuesMaxMap=function(t){var i=this,n=this,a=n.xField,o=n.yField,s=Se(t,function(l){return l[a]});return Iw(s,function(l){return i.getDimMaxValue(l,o)})},e.prototype.getDimMaxValue=function(t,i){var n=Mt(t,function(o){return A(o,i,[])}),a=Me(n);return Math.max.apply(Math,a)},e}(Ls);Is("Dodge",BS);Is("Jitter",zS);Is("Stack",NS);Is("Symmetric",GS);var Kf=function(r,e){return Q(e)?e:r.invert(r.scale(e))},Da=function(){function r(e){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(e)}return r.prototype.mapping=function(){for(var e=this,t=[],i=0;i1?1:Number(e),i=r.length-1,n=Math.floor(i*t),a=i*t-n,o=r[n],s=n===i?o:r[n+1];return xg([Fl(o,s,a,0),Fl(o,s,a,1),Fl(o,s,a,2)])},io,bg=function(r){if(r[0]==="#"&&r.length===7)return r;io||(io=WS()),io.style.color=r;var e=document.defaultView.getComputedStyle(io,"").getPropertyValue("color"),t=VS.exec(e),i=t[1].split(/\s*,\s*/).map(function(n){return Number(n)});return e=xg(i),e},qS=function(r){var e=Q(r)?r.split("-"):r,t=Mt(e,function(i){return wg(i.indexOf("#")===-1?bg(i):i)});return function(i){return _S(t,i)}},US=function(r){if(XS(r)){var e,t=void 0;if(r[0]==="l"){var i=YS.exec(r),n=+i[1]+90;t=i[2],e="linear-gradient("+n+"deg, "}else if(r[0]==="r"){e="radial-gradient(";var i=$S.exec(r);t=i[4]}var a=t.match(HS);return C(a,function(o,s){var l=o.split(":");e+=l[1]+" "+l[0]*100+"%",s!==a.length-1&&(e+=", ")}),e+=")",e}return r};const Gr={rgb2arr:wg,gradient:qS,toRGB:yn(bg),toCSSGradient:US};var jS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.type="color",i.names=["color"],Q(i.values)&&(i.linear=!0),i.gradient=Gr.gradient(i.values),i}return e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(Da),ZS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.type="opacity",i.names=["opacity"],i}return e}(Da),QS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.names=["x","y"],i.type="position",i}return e.prototype.mapping=function(t,i){var n=this.scales,a=n[0],o=n[1];return B(t)||B(i)?[]:[R(t)?t.map(function(s){return a.scale(s)}):a.scale(t),R(i)?i.map(function(s){return o.scale(s)}):o.scale(i)]},e}(Da),KS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.type="shape",i.names=["shape"],i}return e.prototype.getLinearValue=function(t){var i=Math.round((this.values.length-1)*t);return this.values[i]},e}(Da),JS=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.type="size",i.names=["size"],i}return e}(Da),Sg={};function tC(r){return Sg[r]}function ir(r,e){Sg[r]=e}var Sc=function(){function r(e){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=e,this.initCfg(),this.init()}return r.prototype.translate=function(e){return e},r.prototype.change=function(e){mt(this.__cfg__,e),this.init()},r.prototype.clone=function(){return this.constructor(this.__cfg__)},r.prototype.getTicks=function(){var e=this;return Mt(this.ticks,function(t,i){return pt(t)?t:{text:e.getText(t,i),tickValue:t,value:e.scale(t)}})},r.prototype.getText=function(e,t){var i=this.formatter,n=i?i(e,t):e;return B(n)||!X(n.toString)?"":n.toString()},r.prototype.getConfig=function(e){return this.__cfg__[e]},r.prototype.init=function(){mt(this,this.__cfg__),this.setDomain(),ge(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},r.prototype.initCfg=function(){},r.prototype.setDomain=function(){},r.prototype.calculateTicks=function(){var e=this.tickMethod,t=[];if(Q(e)){var i=tC(e);if(!i)throw new Error("There is no method to to calculate ticks!");t=i(this)}else X(e)&&(t=e(this));return t},r.prototype.rangeMin=function(){return this.range[0]},r.prototype.rangeMax=function(){return this.range[1]},r.prototype.calcPercent=function(e,t,i){return rt(e)?(e-t)/(i-t):NaN},r.prototype.calcValue=function(e,t,i){return t+e*(i-t)},r}(),Ds=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="cat",t.isCategory=!0,t}return e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[a]},e.prototype.getText=function(t){for(var i=[],n=1;n1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(Sc),Cg=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,kr="\\d\\d?",Fr="\\d\\d",eC="\\d{3}",rC="\\d{4}",Un="[^\\s]+",Mg=/\[([^]*?)\]/gm;function Ag(r,e){for(var t=[],i=0,n=r.length;i-1?n:null}};function Hr(r){for(var e=[],t=1;t3?0:(r-r%10!==10?1:0)*r%10]}},Uo=Hr({},Cc),Eg=function(r){return Uo=Hr(Uo,r)},tv=function(r){return r.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},le=function(r,e){for(e===void 0&&(e=2),r=String(r);r.length0?"-":"+")+le(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)},Z:function(r){var e=r.getTimezoneOffset();return(e>0?"-":"+")+le(Math.floor(Math.abs(e)/60),2)+":"+le(Math.abs(e)%60,2)}},ev=function(r){return+r-1},rv=[null,kr],iv=[null,Un],nv=["isPm",Un,function(r,e){var t=r.toLowerCase();return t===e.amPm[0]?0:t===e.amPm[1]?1:null}],av=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(r){var e=(r+"").match(/([+-]|\d\d)/gi);if(e){var t=+e[1]*60+parseInt(e[2],10);return e[0]==="+"?t:-t}return 0}],oC={D:["day",kr],DD:["day",Fr],Do:["day",kr+Un,function(r){return parseInt(r,10)}],M:["month",kr,ev],MM:["month",Fr,ev],YY:["year",Fr,function(r){var e=new Date,t=+(""+e.getFullYear()).substr(0,2);return+(""+(+r>68?t-1:t)+r)}],h:["hour",kr,void 0,"isPm"],hh:["hour",Fr,void 0,"isPm"],H:["hour",kr],HH:["hour",Fr],m:["minute",kr],mm:["minute",Fr],s:["second",kr],ss:["second",Fr],YYYY:["year",rC],S:["millisecond","\\d",function(r){return+r*100}],SS:["millisecond",Fr,function(r){return+r*10}],SSS:["millisecond",eC],d:rv,dd:rv,ddd:iv,dddd:iv,MMM:["month",Un,Jf("monthNamesShort")],MMMM:["month",Un,Jf("monthNames")],a:nv,A:nv,ZZ:av,Z:av},jo={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",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},kg=function(r){return Hr(jo,r)},Lg=function(r,e,t){if(e===void 0&&(e=jo.default),t===void 0&&(t={}),typeof r=="number"&&(r=new Date(r)),Object.prototype.toString.call(r)!=="[object Date]"||isNaN(r.getTime()))throw new Error("Invalid Date pass to format");e=jo[e]||e;var i=[];e=e.replace(Mg,function(a,o){return i.push(o),"@@@"});var n=Hr(Hr({},Uo),t);return e=e.replace(Cg,function(a){return aC[a](r,n)}),e.replace(/@@@/g,function(){return i.shift()})};function Ig(r,e,t){if(t===void 0&&(t={}),typeof e!="string")throw new Error("Invalid format in fecha parse");if(e=jo[e]||e,r.length>1e3)return null;var i=new Date,n={year:i.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],o=[],s=e.replace(Mg,function(w,S){return o.push(tv(S)),"@@@"}),l={},u={};s=tv(s).replace(Cg,function(w){var S=oC[w],M=S[0],F=S[1],T=S[3];if(l[M])throw new Error("Invalid format. "+M+" specified twice in format");return l[M]=!0,T&&(u[T]=!0),a.push(S),"("+F+")"}),Object.keys(u).forEach(function(w){if(!l[w])throw new Error("Invalid format. "+w+" is required in specified format")}),s=s.replace(/@@@/g,function(){return o.shift()});var c=r.match(new RegExp(s,"i"));if(!c)return null;for(var h=Hr(Hr({},Uo),t),f=1;f11||n.month<0||n.day>31||n.day<1||n.hour>23||n.hour<0||n.minute>59||n.minute<0||n.second>59||n.second<0)return null;return y}var Pg={format:Lg,parse:Ig,defaultI18n:Cc,setGlobalDateI18n:Eg,setGlobalDateMasks:kg};const sC=Object.freeze(Object.defineProperty({__proto__:null,assign:Hr,default:Pg,defaultI18n:Cc,format:Lg,parse:Ig,setGlobalDateI18n:Eg,setGlobalDateMasks:kg},Symbol.toStringTag,{value:"Module"}));function lC(r){return function(e,t,i,n){for(var a=B(i)?0:i,o=B(n)?e.length:n;a>>1;r(e[s])>t?o=s:a=s+1}return a}}var ov="format";function Dg(r,e){var t=sC[ov]||Pg[ov];return t(r,e)}function Zo(r){return Q(r)&&(r.indexOf("T")>0?r=new Date(r).getTime():r=new Date(r.replace(/-/gi,"/")).getTime()),Sp(r)&&(r=r.getTime()),r}var Ne=1e3,gi=60*Ne,yi=60*gi,vr=24*yi,jn=vr*31,sv=vr*365,Ln=[["HH:mm:ss",Ne],["HH:mm:ss",Ne*10],["HH:mm:ss",Ne*30],["HH:mm",gi],["HH:mm",gi*10],["HH:mm",gi*30],["HH",yi],["HH",yi*6],["HH",yi*12],["YYYY-MM-DD",vr],["YYYY-MM-DD",vr*4],["YYYY-WW",vr*7],["YYYY-MM",jn],["YYYY-MM",jn*4],["YYYY-MM",jn*6],["YYYY",vr*380]];function uC(r,e,t){var i=(e-r)/t,n=lC(function(o){return o[1]})(Ln,i)-1,a=Ln[n];return n<0?a=Ln[0]:n>=Ln.length&&(a=zt(Ln)),a}var cC=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="timeCat",t}return e.prototype.translate=function(t){t=Zo(t);var i=this.values.indexOf(t);return i===-1&&(rt(t)&&t-1){var a=this.values[n],o=this.formatter;return a=o?o(a,i):Dg(a,this.mask),a}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var t=this.values;C(t,function(i,n){t[n]=Zo(i)}),t.sort(function(i,n){return i-n}),r.prototype.setDomain.call(this)},e}(Ds),Os=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.isContinuous=!0,t}return e.prototype.scale=function(t){if(B(t))return NaN;var i=this.rangeMin(),n=this.rangeMax(),a=this.max,o=this.min;if(a===o)return i;var s=this.getScalePercent(t);return i+s*(n-i)},e.prototype.init=function(){r.prototype.init.call(this);var t=this.ticks,i=be(t),n=zt(t);ithis.max&&(this.max=n),B(this.minLimit)||(this.min=i),B(this.maxLimit)||(this.max=n)},e.prototype.setDomain=function(){var t=mp(this.values),i=t.min,n=t.max;B(this.min)&&(this.min=i),B(this.max)&&(this.max=n),this.min>this.max&&(this.min=i,this.max=n)},e.prototype.calculateTicks=function(){var t=this,i=r.prototype.calculateTicks.call(this);return this.nice||(i=jt(i,function(n){return n>=t.min&&n<=t.max})),i},e.prototype.getScalePercent=function(t){var i=this.max,n=this.min;return(t-n)/(i-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(Sc),Bs=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="linear",t.isLinear=!0,t}return e.prototype.invert=function(t){var i=this.getInvertPercent(t);return this.min+i*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(Os);function Pr(r,e){var t=Math.E,i;return e>=0?i=Math.pow(t,Math.log(e)/r):i=Math.pow(t,Math.log(-e)/r)*-1,i}function Le(r,e){return r===1?1:Math.log(e)/Math.log(r)}function Og(r,e,t){B(t)&&(t=Math.max.apply(null,r));var i=t;return C(r,function(n){n>0&&n1&&(i=1),i}var hC=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="log",t}return e.prototype.invert=function(t){var i=this.base,n=Le(i,this.max),a=this.rangeMin(),o=this.rangeMax()-a,s,l=this.positiveMin;if(l){if(t===0)return 0;s=Le(i,l/i);var u=1/(n-s)*o;if(t=0?1:-1;return Math.pow(s,n)*l},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var i=this.max,n=this.min;if(i===n)return 0;var a=this.exponent,o=(Pr(a,t)-Pr(a,n))/(Pr(a,i)-Pr(a,n));return o},e}(Os),vC=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="time",t}return e.prototype.getText=function(t,i){var n=this.translate(t),a=this.formatter;return a?a(n,i):Dg(n,this.mask)},e.prototype.scale=function(t){var i=t;return(Q(i)||Sp(i))&&(i=this.translate(i)),r.prototype.scale.call(this,i)},e.prototype.translate=function(t){return Zo(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,i=this.getConfig("min"),n=this.getConfig("max");if((!B(i)||!rt(i))&&(this.min=this.translate(this.min)),(!B(n)||!rt(n))&&(this.max=this.translate(this.max)),t&&t.length){var a=[],o=1/0,s=o,l=0;C(t,function(u){var c=Zo(u);if(isNaN(c))throw new TypeError("Invalid Time: "+u+" in time scale!");o>c?(s=o,o=c):s>c&&(s=c),l1&&(this.minTickInterval=s-o),B(i)&&(this.min=o),B(n)&&(this.max=l)}},e}(Bs),Bg=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantize",t}return e.prototype.invert=function(t){var i=this.ticks,n=i.length,a=this.getInvertPercent(t),o=Math.floor(a*(n-1));if(o>=n-1)return zt(i);if(o<0)return be(i);var s=i[o],l=i[o+1],u=o/(n-1),c=(o+1)/(n-1);return s+(a-u)/(c-u)*(l-s)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var t=r.prototype.calculateTicks.call(this);return this.nice||(zt(t)!==this.max&&t.push(this.max),be(t)!==this.min&&t.unshift(this.min)),t},e.prototype.getScalePercent=function(t){var i=this.ticks;if(tzt(i))return 1;var n=0;return C(i,function(a,o){if(t>=a)n=o;else return!1}),n/(i.length-1)},e}(Os),dC=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantile",t}return e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Bg),Rg={};function Mu(r){return Rg[r]}function nr(r,e){if(Mu(r))throw new Error("type '"+r+"' existed.");Rg[r]=e}var pC=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="identity",t.isIdentity=!0,t}return e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&rt(t)?t:this.range[0]},e.prototype.invert=function(t){var i=this.range;return ti[1]?NaN:this.values[0]},e}(Sc);function zg(r){var e=r.values,t=r.tickInterval,i=r.tickCount,n=r.showLast;if(rt(t)){var a=jt(e,function(d,p){return p%t===0}),o=zt(e);return n&&zt(a)!==o&&a.push(o),a}var s=e.length,l=r.min,u=r.max;if(B(l)&&(l=0),B(u)&&(u=e.length-1),!rt(i)||i>=s)return e.slice(l,u+1);if(i<=0||u<=0)return[];for(var c=i===1?s:Math.floor(s/(i-1)),h=[],f=l,v=0;v=u);v++)f=Math.min(l+v*c,u),v===i-1&&n?h.push(e[u]):h.push(e[f]);return h}function gC(r){var e=r.min,t=r.max,i=r.nice,n=r.tickCount,a=new yC;return a.domain([e,t]),i&&a.nice(n),a.ticks(n)}var El=5,lv=Math.sqrt(50),uv=Math.sqrt(10),cv=Math.sqrt(2),yC=function(){function r(){this._domain=[0,1]}return r.prototype.domain=function(e){return e?(this._domain=Array.from(e,Number),this):this._domain.slice()},r.prototype.nice=function(e){var t,i;e===void 0&&(e=El);var n=this._domain.slice(),a=0,o=this._domain.length-1,s=this._domain[a],l=this._domain[o],u;return l0?(s=Math.floor(s/u)*u,l=Math.ceil(l/u)*u,u=Io(s,l,e)):u<0&&(s=Math.ceil(s*u)/u,l=Math.floor(l*u)/u,u=Io(s,l,e)),u>0?(n[a]=Math.floor(s/u)*u,n[o]=Math.ceil(l/u)*u,this.domain(n)):u<0&&(n[a]=Math.ceil(s*u)/u,n[o]=Math.floor(l*u)/u,this.domain(n)),this},r.prototype.ticks=function(e){return e===void 0&&(e=El),mC(this._domain[0],this._domain[this._domain.length-1],e||El)},r}();function mC(r,e,t){var i,n=-1,a,o,s;if(e=+e,r=+r,t=+t,r===e&&t>0)return[r];if((i=e0)for(r=Math.ceil(r/s),e=Math.floor(e/s),o=new Array(a=Math.ceil(e-r+1));++n=0?(a>=lv?10:a>=uv?5:a>=cv?2:1)*Math.pow(10,n):-Math.pow(10,-n)/(a>=lv?10:a>=uv?5:a>=cv?2:1)}function hv(r,e,t){var i;return t==="ceil"?i=Math.ceil(r/e):t==="floor"?i=Math.floor(r/e):i=Math.round(r/e),i*e}function Mc(r,e,t){var i=hv(r,t,"floor"),n=hv(e,t,"ceil");i=pl(i,t),n=pl(n,t);for(var a=[],o=Math.max((n-i)/(Math.pow(2,12)-1),t),s=i;s<=n;s=s+o){var l=pl(s,o);a.push(l)}return{min:i,max:n,ticks:a}}function Ac(r,e,t){var i,n=r.minLimit,a=r.maxLimit,o=r.min,s=r.max,l=r.tickCount,u=l===void 0?5:l,c=B(n)?B(e)?o:e:n,h=B(a)?B(t)?s:t:a;if(c>h&&(i=[c,h],h=i[0],c=i[1]),u<=2)return[c,h];for(var f=(h-c)/(u-1),v=[],d=0;d=0&&(l=1),1-s/(o-1)-t+l}function MC(r,e,t){var i=$t(e),n=Fp(e,r),a=1;return 1-n/(i-1)-t+a}function AC(r,e,t,i,n,a){var o=(r-1)/(a-n),s=(e-1)/(Math.max(a,i)-Math.min(t,n));return 2-Math.max(o/s,s/o)}function FC(r,e){return r>=e?2-(r-1)/(e-1):1}function TC(r,e,t,i){var n=e-r;return 1-.5*(Math.pow(e-i,2)+Math.pow(r-t,2))/Math.pow(.1*n,2)}function EC(r,e,t){var i=e-r;if(t>i){var n=(t-i)/2;return 1-Math.pow(n,2)/Math.pow(.1*i,2)}return 1}function kC(){return 1}function LC(r,e,t,i,n,a){t===void 0&&(t=5),i===void 0&&(i=!0),n===void 0&&(n=wC),a===void 0&&(a=[.25,.2,.5,.05]);var o=t<0?0:Math.round(t);if(Number.isNaN(r)||Number.isNaN(e)||typeof r!="number"||typeof e!="number"||!o)return{min:0,max:0,ticks:[]};if(e-r<1e-15||o===1)return{min:r,max:e,ticks:[r]};if(e-r>1e148){var s=t||5,l=(e-r)/s;return{min:r,max:e,ticks:Array(s).fill(null).map(function(_,et){return ni(r+l*et)})}}for(var u={score:-2,lmin:0,lmax:0,lstep:0},c=1;c<1/0;){for(var h=0;hu.score&&(!i||T<=r&&L>=e)&&(u.lmin=T,u.lmax=L,u.lstep=k,u.score=U)}y+=1}d+=1}}c+=1}var D=ni(u.lmax),N=ni(u.lmin),W=ni(u.lstep),$=Math.floor(SC((D-N)/W))+1,Y=new Array($);Y[0]=ni(N);for(var h=1;h<$;h++)Y[h]=ni(Y[h-1]+W);return{min:Math.min(r,be(Y)),max:Math.max(e,zt(Y)),ticks:Y}}function IC(r){var e=r.min,t=r.max,i=r.tickCount,n=r.nice,a=r.tickInterval,o=r.minLimit,s=r.maxLimit,l=LC(e,t,i,n).ticks;return!B(o)||!B(s)?Ac(r,be(l),zt(l)):a?Mc(e,t,a).ticks:l}function PC(r){var e=r.base,t=r.tickCount,i=r.min,n=r.max,a=r.values,o,s=Le(e,n);if(i>0)o=Math.floor(Le(e,i));else{var l=Og(a,e,n);o=Math.floor(Le(e,l))}for(var u=s-o,c=Math.ceil(u/t),h=[],f=o;f=0?1:-1;return Math.pow(o,e)*s})}function OC(r,e){var t=r.length*e;return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function BC(r){var e=r.tickCount,t=r.values;if(!t||!t.length)return[];for(var i=t.slice().sort(function(s,l){return s-l}),n=[],a=0;a1&&(n=n*Math.ceil(s)),i&&nsv)for(var l=Qo(t),u=Math.ceil(a/sv),c=s;c<=l+u;c=c+u)o.push(GC(c));else if(a>jn)for(var h=Math.ceil(a/jn),f=Au(e),v=VC(e,t),c=0;c<=v+h;c=c+h)o.push(YC(s,c+f));else if(a>vr)for(var d=new Date(e),p=d.getFullYear(),g=d.getMonth(),y=d.getDate(),x=Math.ceil(a/vr),b=$C(e,t),c=0;cyi)for(var d=new Date(e),p=d.getFullYear(),g=d.getMonth(),x=d.getDate(),w=d.getHours(),S=Math.ceil(a/yi),M=HC(e,t),c=0;c<=M+S;c=c+S)o.push(new Date(p,g,x,w+c).getTime());else if(a>gi)for(var F=XC(e,t),T=Math.ceil(a/gi),c=0;c<=F+T;c=c+T)o.push(e+c*gi);else{var L=a;L=512&&console.warn("Notice: current ticks length("+o.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),o}ir("cat",zg);ir("time-cat",NC);ir("wilkinson-extended",IC);ir("r-pretty",RC);ir("time",zC);ir("time-pretty",WC);ir("log",PC);ir("pow",DC);ir("quantile",BC);ir("d3-linear",xC);nr("cat",Ds);nr("category",Ds);nr("identity",pC);nr("linear",Bs);nr("log",hC);nr("pow",fC);nr("time",vC);nr("timeCat",cC);nr("quantize",Bg);nr("quantile",dC);var Gg={},Vg=function(r){return Gg[r.toLowerCase()]},Oa=function(r,e){if(Vg(r))throw new Error("Attribute type '".concat(r,"' existed."));Gg[r.toLowerCase()]=e};Oa("Color",jS);Oa("Opacity",ZS);Oa("Position",QS);Oa("Shape",KS);Oa("Size",JS);var Fc=function(){function r(e){this.type="coordinate",this.isRect=!1,this.isHelix=!1,this.isPolar=!1,this.isReflectX=!1,this.isReflectY=!1;var t=e.start,i=e.end,n=e.matrix,a=n===void 0?[1,0,0,0,1,0,0,0,1]:n,o=e.isTransposed,s=o===void 0?!1:o;this.start=t,this.end=i,this.matrix=a,this.originalMatrix=Z([],a),this.isTransposed=s}return r.prototype.initial=function(){this.center={x:(this.start.x+this.end.x)/2,y:(this.start.y+this.end.y)/2},this.width=Math.abs(this.end.x-this.start.x),this.height=Math.abs(this.end.y-this.start.y)},r.prototype.update=function(e){mt(this,e),this.initial()},r.prototype.convertDim=function(e,t){var i,n=this[t],a=n.start,o=n.end;return this.isReflect(t)&&(i=[o,a],a=i[0],o=i[1]),a+e*(o-a)},r.prototype.invertDim=function(e,t){var i,n=this[t],a=n.start,o=n.end;return this.isReflect(t)&&(i=[o,a],a=i[0],o=i[1]),(e-a)/(o-a)},r.prototype.applyMatrix=function(e,t,i){i===void 0&&(i=0);var n=this.matrix,a=[e,t,i];return oa(a,a,n),a},r.prototype.invertMatrix=function(e,t,i){i===void 0&&(i=0);var n=this.matrix,a=x1([0,0,0,0,0,0,0,0,0],n),o=[e,t,i];return a&&oa(o,o,a),o},r.prototype.convert=function(e){var t=this.convertPoint(e),i=t.x,n=t.y,a=this.applyMatrix(i,n,1);return{x:a[0],y:a[1]}},r.prototype.invert=function(e){var t=this.invertMatrix(e.x,e.y,1);return this.invertPoint({x:t[0],y:t[1]})},r.prototype.rotate=function(e){var t=this.matrix,i=this.center;return Yi(t,t,[-i.x,-i.y]),vc(t,t,e),Yi(t,t,[i.x,i.y]),this},r.prototype.reflect=function(e){return e==="x"?this.isReflectX=!this.isReflectX:this.isReflectY=!this.isReflectY,this},r.prototype.scale=function(e,t){var i=this.matrix,n=this.center;return Yi(i,i,[-n.x,-n.y]),Vp(i,i,[e,t]),Yi(i,i,[n.x,n.y]),this},r.prototype.translate=function(e,t){var i=this.matrix;return Yi(i,i,[e,t]),this},r.prototype.transpose=function(){return this.isTransposed=!this.isTransposed,this},r.prototype.getCenter=function(){return this.center},r.prototype.getWidth=function(){return this.width},r.prototype.getHeight=function(){return this.height},r.prototype.getRadius=function(){return this.radius},r.prototype.isReflect=function(e){return e==="x"?this.isReflectX:this.isReflectY},r.prototype.resetMatrix=function(e){this.matrix=e||Z([],this.originalMatrix)},r}(),Yg=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.isRect=!0,i.type="cartesian",i.initial(),i}return e.prototype.initial=function(){r.prototype.initial.call(this);var t=this.start,i=this.end;this.x={start:t.x,end:i.x},this.y={start:t.y,end:i.y}},e.prototype.convertPoint=function(t){var i,n=t.x,a=t.y;return this.isTransposed&&(i=[a,n],n=i[0],a=i[1]),{x:this.convertDim(n,"x"),y:this.convertDim(a,"y")}},e.prototype.invertPoint=function(t){var i,n=this.invertDim(t.x,"x"),a=this.invertDim(t.y,"y");return this.isTransposed&&(i=[a,n],n=i[0],a=i[1]),{x:n,y:a}},e}(Fc),_C=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;i.isHelix=!0,i.type="helix";var n=t.startAngle,a=n===void 0?1.25*Math.PI:n,o=t.endAngle,s=o===void 0?7.25*Math.PI:o,l=t.innerRadius,u=l===void 0?0:l,c=t.radius;return i.startAngle=a,i.endAngle=s,i.innerRadius=u,i.radius=c,i.initial(),i}return e.prototype.initial=function(){r.prototype.initial.call(this);var t=(this.endAngle-this.startAngle)/(2*Math.PI)+1,i=Math.min(this.width,this.height)/2;this.radius&&this.radius>=0&&this.radius<=1&&(i=i*this.radius),this.d=Math.floor(i*(1-this.innerRadius)/t),this.a=this.d/(Math.PI*2),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*i,end:this.innerRadius*i+this.d*.99}},e.prototype.convertPoint=function(t){var i,n=t.x,a=t.y;this.isTransposed&&(i=[a,n],n=i[0],a=i[1]);var o=this.convertDim(n,"x"),s=this.a*o,l=this.convertDim(a,"y");return{x:this.center.x+Math.cos(o)*(s+l),y:this.center.y+Math.sin(o)*(s+l)}},e.prototype.invertPoint=function(t){var i,n=this.d+this.y.start,a=Np([0,0],[t.x,t.y],[this.center.x,this.center.y]),o=dc(a,[1,0],!0),s=o*this.a;_i(a)this.width/i?(s=this.width/i,this.circleCenter={x:this.center.x-(.5-a)*this.width,y:this.center.y-(.5-o)*s*n}):(s=this.height/n,this.circleCenter={x:this.center.x-(.5-a)*s*i,y:this.center.y-(.5-o)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=s*this.radius:(this.radius<=0||this.radius>s)&&(this.polarRadius=s):this.polarRadius=s,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var i,n=this.getCenter(),a=t.x,o=t.y;return this.isTransposed&&(i=[o,a],a=i[0],o=i[1]),a=this.convertDim(a,"x"),o=this.convertDim(o,"y"),{x:n.x+Math.cos(a)*o,y:n.y+Math.sin(a)*o}},e.prototype.invertPoint=function(t){var i,n=this.getCenter(),a=[t.x-n.x,t.y-n.y],o=this,s=o.startAngle,l=o.endAngle;this.isReflect("x")&&(i=[l,s],s=i[0],l=i[1]);var u=[1,0,0,0,1,0,0,0,1];vc(u,u,s);var c=[1,0,0];oa(c,c,u);var h=[c[0],c[1]],f=dc(h,a,l0?d:-d;var p=this.invertDim(v,"y"),g={x:0,y:0};return g.x=this.isTransposed?p:d,g.y=this.isTransposed?d:p,g},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,i=this.endAngle;if(Math.abs(i-t)>=Math.PI*2)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(i)],a=[0,Math.sin(t),Math.sin(i)],o=Math.min(t,i);o=0;i--)r.removeChild(e[i])}function QC(r,e){return!!r.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function fa(r){var e=r.start,t=r.end,i=Math.min(e.x,t.x),n=Math.min(e.y,t.y),a=Math.max(e.x,t.x),o=Math.max(e.y,t.y);return{x:i,y:n,minX:i,minY:n,maxX:a,maxY:o,width:a-i,height:o-n}}function KC(r){var e=r.map(function(s){return s.x}),t=r.map(function(s){return s.y}),i=Math.min.apply(Math,e),n=Math.min.apply(Math,t),a=Math.max.apply(Math,e),o=Math.max.apply(Math,t);return{x:i,y:n,minX:i,minY:n,maxX:a,maxY:o,width:a-i,height:o-n}}function zs(r,e,t,i){var n=r+t,a=e+i;return{x:r,y:e,width:t,height:i,minX:r,minY:e,maxX:isNaN(n)?0:n,maxY:isNaN(a)?0:a}}function mi(r,e,t){return(1-t)*r+e*t}function Zi(r,e,t){return{x:r.x+Math.cos(t)*e,y:r.y+Math.sin(t)*e}}function JC(r,e){var t=e.x-r.x,i=e.y-r.y;return Math.sqrt(t*t+i*i)}var Jo=function(r,e,t){return t===void 0&&(t=Math.pow(Number.EPSILON,.5)),[r,e].includes(1/0)?Math.abs(r)===Math.abs(e):Math.abs(r-e)0?C(l,function(u){if(u.get("visible")){if(u.isGroup()&&u.get("children").length===0)return!0;var c=_g(u),h=u.applyToMatrix([c.minX,c.minY,1]),f=u.applyToMatrix([c.minX,c.maxY,1]),v=u.applyToMatrix([c.maxX,c.minY,1]),d=u.applyToMatrix([c.maxX,c.maxY,1]),p=Math.min(h[0],f[0],v[0],d[0]),g=Math.max(h[0],f[0],v[0],d[0]),y=Math.min(h[1],f[1],v[1],d[1]),x=Math.max(h[1],f[1],v[1],d[1]);pa&&(a=g),ys&&(s=x)}}):(n=0,a=0,o=0,s=0),i=zs(n,o,a-n,s-o)}return t?tM(i,t):i}function eM(r,e){if(!(!r.getClip()&&!e.getClip())){var t=e.getClip();if(!t){r.setClip(null);return}var i={type:t.get("type"),attrs:t.attr()};r.setClip(i)}}function he(r){return r+"px"}function qg(r,e,t,i){var n=JC(r,e),a=i/n,o=0;return t==="start"?o=0-a:t==="end"&&(o=1+a),{x:mi(r.x,e.x,o),y:mi(r.y,e.y,o)}}var rM={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},Ug=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.initCfg(),i}return e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var i=this,n=this.get("defaultCfg")||{};C(t,function(a,o){var s=i.get(o),l=a;s!==a&&(pt(a)&&n[o]&&(l=H({},n[o],a)),i.set(o,l))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){Yr(t,"visible")&&(t.visible?this.show():this.hide()),Yr(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,i){this.update({offsetX:t,offsetY:i})},e.prototype.setLocation=function(t){var i=m({},t);this.update(i)},e.prototype.getLocation=function(){var t=this,i={},n=this.get("locationType"),a=rM[n];return C(a,function(o){i[o]=t.get(o)}),i},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,i=this.get("defaultCfg");C(i,function(n,a){var o=t.get(a);if(pt(o)){var s=H({},n,o);t.set(a,s)}})},e}(ms),ri="update_status",iM=["visible","tip","delegateObject"],nM=["container","group","shapesMap","isRegister","isUpdating","destroyed"],te=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear();var t=this.get("group");t.remove()},e.prototype.clear=function(){var t=this.get("group");t.clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var i=this.getElementById(t),n=i&&i.get("component");return n},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var i=this.getElementId(t);return this.getElementById(i)},e.prototype.getElementsByName=function(t){var i=[];return C(this.get("shapesMap"),function(n){n.get("name")===t&&i.push(n)}),i},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var i=this.get("group");this.updateElements(t,i),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){var t=this.get("group");t.show(),this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("group");t.hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){var i=this.get("group");i.set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),r.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),i=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(i=ZC(n,i)),i},e.prototype.on=function(t,i,n){var a=this.get("group");return a.on(t,i,n),this},e.prototype.off=function(t,i){var n=this.get("group");return n&&n.off(t,i),this},e.prototype.emit=function(t,i){var n=this.get("group");n.emit(t,i)},e.prototype.init=function(){r.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,i){var n=this.get("group");i.target=n,n.emit(t,i),Hg(n,t,i)},e.prototype.createOffScreenGroup=function(){var t=this.get("group"),i=t.getGroupBase(),n=new i({delegateObject:this.getDelegateObject()});return n},e.prototype.applyOffset=function(){var t=this.get("offsetX"),i=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:i})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",_g(t)),t},e.prototype.addGroup=function(t,i){this.appendDelegateObject(t,i);var n=t.addGroup(i);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,i){this.appendDelegateObject(t,i);var n=t.addShape(i);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,i){var n=i.id,a=i.component,o=yt(i,["id","component"]),s=new a(m(m({},o),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return s.init(),s.render(),this.get("isRegister")&&this.registerElement(s.get("group")),s},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){var t=this.get("group");t.off()},e.prototype.getElementId=function(t){var i=this.get("id"),n=this.get("name");return i+"-"+n+"-"+t},e.prototype.registerElement=function(t){var i=t.get("id");this.get("shapesMap")[i]=t},e.prototype.unregisterElement=function(t){var i=t.get("id");delete this.get("shapesMap")[i]},e.prototype.moveElementTo=function(t,i){var n=Tc(i);t.attr("matrix",n)},e.prototype.addAnimation=function(t,i,n){var a=i.attr("opacity");B(a)&&(a=1),i.attr("opacity",0),i.animate({opacity:a},n)},e.prototype.removeAnimation=function(t,i,n){i.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,i,n,a){i.animate(n,a)},e.prototype.updateElements=function(t,i){var n=this,a=this.get("animate"),o=this.get("animateOption"),s=t.getChildren().slice(0),l;C(s,function(u){var c=u.get("id"),h=n.getElementById(c),f=u.get("name");if(h)if(u.get("isComponent")){var v=u.get("component"),d=h.get("component"),p=lc(v.cfg,uw(pn(v.cfg),nM));d.update(p),h.set(ri,"update")}else{var g=n.getReplaceAttrs(h,u);a&&o.update?n.updateAnimation(f,h,g,o.update):h.attr(g),u.isGroup()&&n.updateElements(u,h),C(iM,function(w){h.set(w,u.get(w))}),eM(h,u),l=h,h.set(ri,"update")}else{i.add(u);var y=i.getChildren();if(y.splice(y.length-1,1),l){var x=y.indexOf(l);y.splice(x+1,0,u)}else y.unshift(u);if(n.registerElement(u),u.set(ri,"add"),u.get("isComponent")){var v=u.get("component");v.set("container",i)}else u.isGroup()&&n.registerNewGroup(u);if(l=u,a){var b=n.get("isInit")?o.appear:o.enter;b&&n.addAnimation(f,u,b)}}})},e.prototype.clearUpdateStatus=function(t){var i=t.getChildren();C(i,function(n){n.set(ri,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,i=this.get("name"),n=(t={},t[i]=this,t.component=this,t);return n},e.prototype.appendDelegateObject=function(t,i){var n=t.get("delegateObject");i.delegateObject||(i.delegateObject={}),mt(i.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,i){var n=t.attr(),a=i.attr();return C(n,function(o,s){a[s]===void 0&&(a[s]=void 0)}),a},e.prototype.registerNewGroup=function(t){var i=this,n=t.getChildren();C(n,function(a){i.registerElement(a),a.set(ri,"add"),a.isGroup()&&i.registerNewGroup(a)})},e.prototype.deleteElements=function(){var t=this,i=this.get("shapesMap"),n=[];C(i,function(s,l){!s.get(ri)||s.destroyed?n.push([l,s]):s.set(ri,null)});var a=this.get("animate"),o=this.get("animateOption");C(n,function(s){var l=s[0],u=s[1];if(!u.destroyed){var c=u.get("name");if(a&&o.leave){var h=mt({callback:function(){t.removeElement(u)}},o.leave);t.removeAnimation(c,u,h)}else t.removeElement(u)}delete i[l]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var i=t.get("component");i&&i.destroy()}t.remove()},e}(Ug),kl="…";function aM(r){for(var e=0,t=0;t0&&r.charCodeAt(e)<128?1:2}function oM(r,e,t){t===void 0&&(t="tail");var i=r.length,n="";if(t==="tail"){for(var a=0,o=0;a=19968&&s<=40869?a+=2:a+=1}a>t&&(t=a,i=n)}return r[i].getBBox().width}function Fu(r){if(r.length>uM)return cM(r);var e=0;return C(r,function(t){var i=t.getBBox(),n=i.width;e=0?f=oM(a,h,i):f=sM,f&&(e.attr("text",f),c=!0)}return c?e.set("tip",a):e.set("tip",null),c}function Ns(r,e){var t=e.x,i=e.y,n=e.content,a=e.style,o=e.id,s=e.name,l=e.rotate,u=e.maxLength,c=e.autoEllipsis,h=e.isVertical,f=e.ellipsisPosition,v=e.background,d=r.addGroup({id:o+"-group",name:s+"-group",attrs:{x:t,y:i}}),p=d.addShape({type:"text",id:o,name:s,attrs:m({x:0,y:0,text:n},a)}),g=Ko(A(v,"padding",0));if(u&&c){var y=u-(g[1]+g[3]);Zn(!h,p,y,f)}if(v){var x=A(v,"style",{}),b=p.getCanvasBBox(),w=b.minX,S=b.minY,M=b.width,F=b.height,T=d.addShape("rect",{id:o+"-bg",name:o+"-bg",attrs:m({x:w-g[3],y:S-g[0],width:M+g[1]+g[3],height:F+g[0]+g[2]},x)});T.toBack()}Ec(d,t,i),Wg(d,l,t,i)}const lt={fontFamily:` + BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue", + Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", + SimSun, "sans-serif"`,textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4,descriptionIconStroke:"#fff",descriptionIconFill:"rgba(58, 73, 101, .25)"};var fM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:lt.textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:lt.fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:lt.lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var i=this.get("start"),n=this.get("end"),a=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:m({x1:i.x,y1:i.y,x2:n.x,y2:n.y},a)})},e.prototype.getLabelPoint=function(t,i,n){var a;return n==="start"?a=0:n==="center"?a=.5:Q(n)&&n.indexOf("%")!==-1?a=parseInt(n,10)/100:rt(n)?a=n:a=1,(a>1||a<0)&&(a=1),{x:mi(t.x,i.x,a),y:mi(t.y,i.y,a)}},e.prototype.renderLabel=function(t){var i=this.get("text"),n=this.get("start"),a=this.get("end"),o=i.position,s=i.content,l=i.style,u=i.offsetX,c=i.offsetY,h=i.autoRotate,f=i.maxLength,v=i.autoEllipsis,d=i.ellipsisPosition,p=i.background,g=i.isVertical,y=g===void 0?!1:g,x=this.getLabelPoint(n,a,o),b=x.x+u,w=x.y+c,S={id:this.getElementId("line-text"),name:"annotation-line-text",x:b,y:w,content:s,style:l,maxLength:f,autoEllipsis:v,ellipsisPosition:d,background:p,isVertical:y};if(h){var M=[a.x-n.x,a.y-n.y];S.rotate=Math.atan2(M[1],M[0])}Ns(t,S)},e}(te),vM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:lt.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:lt.fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var i=this.getLocation(),n=i.x,a=i.y,o=this.get("content"),s=this.get("style"),l=this.getElementId("text"),u=this.get("name")+"-text",c=this.get("maxLength"),h=this.get("autoEllipsis"),f=this.get("isVertical"),v=this.get("ellipsisPosition"),d=this.get("background"),p=this.get("rotate"),g={id:l,name:u,x:n,y:a,content:o,style:s,maxLength:c,autoEllipsis:h,isVertical:f,ellipsisPosition:v,background:d,rotate:p};Ns(t,g)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var i=this.getLocation(),n=i.x,a=i.y,o=this.get("rotate");Ec(t,n,a),Wg(t,o,n,a)}},e}(te),dM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),i=t.center,n=t.radius,a=t.startAngle,o=t.endAngle,s=Zi(i,n,a),l=Zi(i,n,o),u=o-a>Math.PI?1:0,c=[["M",s.x,s.y]];if(o-a===Math.PI*2){var h=Zi(i,n,a+Math.PI);c.push(["A",n,n,0,u,1,h.x,h.y]),c.push(["A",n,n,0,u,1,l.x,l.y])}else c.push(["A",n,n,0,u,1,l.x,l.y]);return c},e.prototype.renderArc=function(t){var i=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:m({path:i},n)})},e}(te),pM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:lt.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var i=this.get("start"),n=this.get("end"),a=this.get("style"),o=fa({start:i,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:m({x:o.x,y:o.y,width:o.width,height:o.height},a)})},e}(te),gM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),i=this.get("end"),n=this.get("style"),a=fa({start:t,end:i}),o=this.get("src");return m({x:a.x,y:a.y,img:o,width:a.width,height:a.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(te),yM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:lt.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:lt.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:lt.fontFamily}}}})},e.prototype.renderInner=function(t){A(this.get("line"),"display")&&this.renderLine(t),A(this.get("text"),"display")&&this.renderText(t),A(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var i=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:i})},e.prototype.renderLine=function(t){var i=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:i})},e.prototype.renderText=function(t){var i=this.getShapeAttrs().text,n=i.x,a=i.y,o=i.text,s=yt(i,["x","y","text"]),l=this.get("text"),u=l.background,c=l.maxLength,h=l.autoEllipsis,f=l.isVertival,v=l.ellipsisPosition,d={x:n,y:a,id:this.getElementId("text"),name:"annotation-text",content:o,style:s,background:u,maxLength:c,autoEllipsis:h,isVertival:f,ellipsisPosition:v};Ns(t,d)},e.prototype.autoAdjust=function(t){var i=this.get("direction"),n=this.get("x"),a=this.get("y"),o=A(this.get("line"),"length",0),s=this.get("coordinateBBox"),l=t.getBBox(),u=l.minX,c=l.maxX,h=l.minY,f=l.maxY,v=t.findById(this.getElementId("text-group")),d=t.findById(this.getElementId("text")),p=t.findById(this.getElementId("line"));if(s&&v){var g=v.attr("x"),y=v.attr("y"),x=void 0,b=void 0,w=0,S=0;if(n+u<=s.minX)if(i==="leftward")b="start",w=1;else{var M=s.minX-(n+u);g=v.attr("x")+M}else if(n+c>=s.maxX)if(i==="rightward")b="end",w=-1;else{var M=n+c-s.maxX;g=v.attr("x")-M}if(w&&b&&(d.attr("textAlign",b),p&&p.attr("path",[["M",0,0],["L",o*w,0]]),g=(o+2)*w),a+h<=s.minY)if(i==="upward")x="top",S=1;else{var M=s.minY-(a+h);y=v.attr("y")+M}else if(a+f>=s.maxY)if(i==="downward")x="bottom",S=-1;else{var M=a+f-s.maxY;y=v.attr("y")-M}S&&x&&(d.attr("textBaseline",x),p&&p.attr("path",[["M",0,0],["L",0,o*S]]),y=(o+2)*S),(g!==v.attr("x")||y!==v.attr("y"))&&Ec(v,g,y)}},e.prototype.getShapeAttrs=function(){var t=A(this.get("line"),"display"),i=A(this.get("point"),"style",{}),n=A(this.get("line"),"style",{}),a=A(this.get("text"),"style",{}),o=this.get("direction"),s=t?A(this.get("line"),"length",0):0,l=0,u=0,c="top",h="start";switch(o){case"upward":u=-1,c="bottom";break;case"downward":u=1,c="top";break;case"leftward":l=-1,h="end";break;case"rightward":l=1,h="start";break}return{point:m({x:0,y:0},i),line:m({path:[["M",0,0],["L",0,s*l,s*u]]},n),text:m({x:(s+2)*l,y:(s+2)*u,text:A(this.get("text"),"content",""),textBaseline:c,textAlign:h},a)}},e}(te),mM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:lt.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:lt.textColor,fontFamily:lt.fontFamily}}}})},e.prototype.renderInner=function(t){var i=A(this.get("region"),"style",{});A(this.get("text"),"style",{});var n=this.get("lineLength")||0,a=this.get("points");if(a.length){var o=KC(a),s=[];s.push(["M",a[0].x,o.minY-n]),a.forEach(function(u){s.push(["L",u.x,u.y])}),s.push(["L",a[a.length-1].x,a[a.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:m({path:s},i)});var l=m({id:this.getElementId("text"),name:"annotation-text",x:(o.minX+o.maxX)/2,y:o.minY-n},this.get("text"));Ns(t,l)}},e}(te),xM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var i=this,n=this.get("start"),a=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});C(this.get("shapes"),function(l,u){var c=l.get("type"),h=ae(l.attr());i.adjustShapeAttrs(h),i.addShape(o,{id:i.getElementId("shape-"+c+"-"+u),capture:!1,type:c,attrs:h})});var s=fa({start:n,end:a});o.setClip({type:"rect",attrs:{x:s.minX,y:s.minY,width:s.width,height:s.height}})},e.prototype.adjustShapeAttrs=function(t){var i=this.get("color");t.fill&&(t.fill=t.fillStyle=i),t.stroke=t.strokeStyle=i},e}(te),wM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"shape",draw:Or})},e.prototype.renderInner=function(t){var i=this.get("render");X(i)&&i(t)},e}(te),Lc=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{container:null,containerTpl:"
",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){var t=this.get("container");t.style.display="",this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("container");t.style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var i=this.getContainer(),n=t?"auto":"none";i.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),i=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return zs(i,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");kc(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),r.prototype.destroy.call(this)},e.prototype.init=function(){r.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(B(t)){t=this.createDom();var i=this.get("parent");Q(i)&&(i=document.getElementById(i),this.set("parent",i)),i.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else Q(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),i=this.get("defaultStyles");t?t=H({},i,t):t=i,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var i=this.getContainer();this.applyChildrenStyles(i,t);var n=this.get("containerClassName");if(n&&QC(i,n)){var a=t[n];ee(i,a)}}},e.prototype.applyChildrenStyles=function(t,i){C(i,function(n,a){var o=t.getElementsByClassName(a);C(o,function(s){ee(s,n)})})},e.prototype.applyStyle=function(t,i){var n=this.get("domStyles");ee(i,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return Nr(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){Yr(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(Ug),bM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),i=this.get("html");kc(t);var n=X(i)?i(t):i;if(Cp(n))t.appendChild(n);else if(Q(n)||rt(n)){var a=Nr(""+n);a&&t.appendChild(a)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),i=this.getLocation(),n=i.x,a=i.y,o=this.get("alignX"),s=this.get("alignY"),l=this.get("offsetX"),u=this.get("offsetY"),c=Yw(t),h=Gw(t),f={x:n,y:a};o==="middle"?f.x-=Math.round(c/2):o==="right"&&(f.x-=Math.round(c)),s==="middle"?f.y-=Math.round(h/2):s==="bottom"&&(f.y-=Math.round(h)),l&&(f.x+=l),u&&(f.y+=u),ee(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(Lc);const SM=Object.freeze(Object.defineProperty({__proto__:null,Arc:dM,DataMarker:yM,DataRegion:mM,Html:bM,Image:gM,Line:fM,Region:pM,RegionFilter:xM,Shape:wM,Text:vM},Symbol.toStringTag,{value:"Module"}));function Vn(r,e,t){var i=e+"Style",n=null;return C(t,function(a,o){r[o]&&a[i]&&(n||(n={}),mt(n,a[i]))}),n}var jg=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},optimize:{},defaultCfg:{line:{style:{lineWidth:1,stroke:lt.lineColor}},tickLine:{style:{lineWidth:1,stroke:lt.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:lt.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:lt.textColor,fontFamily:lt.fontFamily,fontWeight:"normal"},offset:10,offsetX:0,offsetY:0},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:lt.textColor,textBaseline:"middle",fontFamily:lt.fontFamily,textAlign:"center"},iconStyle:{fill:lt.descriptionIconFill,stroke:lt.descriptionIconStroke},description:""},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:lt.uncheckedColor}}},optimize:{enable:!0,threshold:400}},theme:{}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,i){mt(t,i),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,i,n){t[i]=n,this.updateTickStates(t)},e.prototype.hasState=function(t,i){return!!t[i]},e.prototype.getItemStates=function(t){var i=this.get("tickStates"),n=[];return C(i,function(a,o){t[o]&&n.push(o)}),n},e.prototype.clearItemsState=function(t){var i=this,n=this.getItemsByState(t);C(n,function(a){i.setItemState(a,t,!1)})},e.prototype.getItemsByState=function(t){var i=this,n=this.getItems();return jt(n,function(a){return i.hasState(a,t)})},e.prototype.getSidePoint=function(t,i){var n=this,a=n.getSideVector(i,t);return{x:t.x+a[0],y:t.y+a[1]}},e.prototype.getTextAnchor=function(t){var i;return _t(t[0],0)?i="center":t[0]>0?i="start":t[0]<0&&(i="end"),i},e.prototype.getTextBaseline=function(t){var i;return _t(t[1],0)?i="middle":t[1]>0?i="top":t[1]<0&&(i="bottom"),i},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var i=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:mt({path:i},n.style)})},e.prototype.getTickLineItems=function(t){var i=this,n=[],a=this.get("tickLine"),o=a.alignTick,s=a.length,l=1,u=t.length;return u>=2&&(l=t[1].value-t[0].value),C(t,function(c){var h=c.point;o||(h=i.getTickPoint(c.value-l/2));var f=i.getSidePoint(h,s);n.push({startPoint:h,tickValue:c.value,endPoint:f,tickId:c.id,id:"tickline-"+c.id})}),n},e.prototype.getSubTickLineItems=function(t){var i=[],n=this.get("subTickLine"),a=n.count,o=t.length;if(o>=2)for(var s=0;s0){var n=$t(i);if(n>t.threshold){var a=Math.ceil(n/t.threshold),o=i.filter(function(s,l){return l%a===0});this.set("ticks",o),this.set("originalTicks",i)}}},e.prototype.getLabelAttrs=function(t,i,n){var a=this.get("label"),o=a.offset,s=a.offsetX,l=a.offsetY,u=a.rotate,c=a.formatter,h=this.getSidePoint(t.point,o),f=this.getSideVector(o,h),v=c?c(t.name,t,i):t.name,d=a.style;d=X(d)?A(this.get("theme"),["label","style"],{}):d;var p=mt({x:h.x+s,y:h.y+l,text:v,textAlign:this.getTextAnchor(f),textBaseline:this.getTextBaseline(f)},d);return u&&(p.matrix=Mi(h,u)),p},e.prototype.drawLabels=function(t){var i=this,n=this.get("ticks"),a=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});C(n,function(f,v){i.addShape(a,{type:"text",name:"axis-label",id:i.getElementId("label-"+f.id),attrs:i.getLabelAttrs(f,v,n),delegateObject:{tick:f,item:f,index:v}})}),this.processOverlap(a);var o=a.getChildren(),s=A(this.get("theme"),["label","style"],{}),l=this.get("label"),u=l.style,c=l.formatter;if(X(u)){var h=o.map(function(f){return A(f.get("delegateObject"),"tick")});C(o,function(f,v){var d=f.get("delegateObject").tick,p=c?c(d.name,d,v):d.name,g=mt({},s,u(p,v,h));f.attr(g)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),i=t.style,n=t.position,a=t.offset,o=t.spacing,s=o===void 0?0:o,l=t.autoRotate,u=i.fontSize,c=.5;n==="start"?c=0:n==="end"&&(c=1);var h=this.getTickPoint(c),f=this.getSidePoint(h,a||s+u/2),v=mt({x:f.x,y:f.y,text:t.text},i),d=t.rotate,p=d;if(B(d)&&l){var g=this.getAxisVector(h),y=[1,0];p=dc(g,y,!0)}if(p){var x=Mi(f,p);v.matrix=x}return v},e.prototype.drawTitle=function(t){var i,n=this.getTitleAttrs(),a=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:n});!((i=this.get("title"))===null||i===void 0)&&i.description&&this.drawDescriptionIcon(t,a,n.matrix)},e.prototype.drawDescriptionIcon=function(t,i,n){var a=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),o=i.getBBox(),s=o.maxX,l=o.maxY,u=o.height,c=this.get("title").iconStyle,h=4,f=u/2,v=f/6,d=s+h,p=l-u/2,g=[d+f,p-f],y=g[0],x=g[1],b=[y+f,x+f],w=b[0],S=b[1],M=[y,S+f],F=M[0],T=M[1],L=[d,x+f],k=L[0],P=L[1],O=[d+f,p-u/4],z=O[0],V=O[1],U=[z,V+v],D=U[0],N=U[1],W=[D,N+v],$=W[0],Y=W[1],_=[$,Y+f*3/4],et=_[0],at=_[1];this.addShape(a,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:m({path:[["M",y,x],["A",f,f,0,0,1,w,S],["A",f,f,0,0,1,F,T],["A",f,f,0,0,1,k,P],["A",f,f,0,0,1,y,x],["M",z,V],["L",D,N],["M",$,Y],["L",et,at]],lineWidth:v,matrix:n},c)}),this.addShape(a,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:d,y:p-u/2,width:u,height:u,stroke:"#000",fill:"#000",opacity:0,matrix:n,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,i){var n=this.getItemStates(t);if(n.length){var a=this.get("tickStates"),o=this.getElementId("label-"+t.id),s=i.findById(o);if(s){var l=Vn(t,"label",a);l&&s.attr(l)}var u=this.getElementId("tickline-"+t.id),c=i.findById(u);if(c){var h=Vn(t,"tickLine",a);h&&c.attr(h)}}},e.prototype.updateTickStates=function(t){var i=this.getItemStates(t),n=this.get("tickStates"),a=this.get("label"),o=this.getElementByLocalId("label-"+t.id),s=this.get("tickLine"),l=this.getElementByLocalId("tickline-"+t.id);if(i.length){if(o){var u=Vn(t,"label",n);u&&o.attr(u)}if(l){var c=Vn(t,"tickLine",n);c&&l.attr(c)}}else o&&o.attr(a.style),l&&l.attr(s.style)},e}(te);function Ic(r,e,t,i){var n=e.getChildren(),a=!1;return C(n,function(o){var s=Zn(r,o,t,i);a=a||s}),a}function CM(){return Zg}function MM(r,e,t){return Ic(r,e,t,"head")}function Zg(r,e,t){return Ic(r,e,t,"tail")}function AM(r,e,t){return Ic(r,e,t,"middle")}const FM=Object.freeze(Object.defineProperty({__proto__:null,ellipsisHead:MM,ellipsisMiddle:AM,ellipsisTail:Zg,getDefault:CM},Symbol.toStringTag,{value:"Module"}));function TM(r){var e=r.attr("matrix");return e&&e[0]!==1}function Qg(r){var e=TM(r)?jC(r.attr("matrix")):0;return e%360}function Tu(r,e,t,i){var n=!1,a=Qg(e),o=Math.abs(r?t.attr("y")-e.attr("y"):t.attr("x")-e.attr("x")),s=(r?t.attr("y")>e.attr("y"):t.attr("x")>e.attr("x"))?e.getBBox():t.getBBox();if(r){var l=Math.abs(Math.cos(a));Jo(l,0,Math.PI/180)?n=s.width+i>o:n=s.height/l+i>o}else{var l=Math.abs(Math.sin(a));Jo(l,0,Math.PI/180)?n=s.width+i>o:n=s.height/l+i>o}return n}function va(r,e,t,i){var n=(i==null?void 0:i.minGap)||0,a=e.getChildren().slice().filter(function(v){return v.get("visible")});if(!a.length)return!1;var o=!1;t&&a.reverse();for(var s=a.length,l=a[0],u=l,c=1;c1){f=Math.ceil(f);for(var p=0;p2){var o=n[0],s=n[n.length-1];o.get("visible")||(o.show(),va(r,e,!1,i)&&(a=!0)),s.get("visible")||(s.show(),va(r,e,!0,i)&&(a=!0))}return a}const DM=Object.freeze(Object.defineProperty({__proto__:null,equidistance:Jg,equidistanceWithReverseBoth:PM,getDefault:EM,reserveBoth:IM,reserveFirst:kM,reserveLast:LM},Symbol.toStringTag,{value:"Module"}));function OM(r,e){C(r,function(t){var i=t.attr("x"),n=t.attr("y"),a=Mi({x:i,y:n},e);t.attr("matrix",a)})}function ty(r,e,t,i){var n=e.getChildren();if(!n.length||!r&&n.length<2)return!1;var a=Fu(n),o=!1;if(r)o=!!t&&a>t;else{var s=Math.abs(n[1].attr("x")-n[0].attr("x"));o=a>s}if(o){var l=i(t,a);OM(n,l)}return o}function BM(){return ey}function ey(r,e,t,i){return ty(r,e,t,function(){return rt(i)?i:r?lt.verticalAxisRotate:lt.horizontalAxisRotate})}function RM(r,e,t){return ty(r,e,t,function(i,n){if(!i)return r?lt.verticalAxisRotate:lt.horizontalAxisRotate;if(r)return-Math.acos(i/n);var a=0;return i>n?a=Math.PI/4:(a=Math.asin(i/n),a>Math.PI/4&&(a=Math.PI/4)),a})}const zM=Object.freeze(Object.defineProperty({__proto__:null,fixedAngle:ey,getDefault:BM,unfixedAngle:RM},Symbol.toStringTag,{value:"Module"})),ry=Object.freeze(Object.defineProperty({__proto__:null,autoEllipsis:FM,autoHide:DM,autoRotate:zM},Symbol.toStringTag,{value:"Module"}));var NM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),i=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",i.x,i.y]),n},e.prototype.getInnerLayoutBBox=function(){var t=this.get("start"),i=this.get("end"),n=r.prototype.getInnerLayoutBBox.call(this),a=Math.min(t.x,i.x,n.x),o=Math.min(t.y,i.y,n.y),s=Math.max(t.x,i.x,n.maxX),l=Math.max(t.y,i.y,n.maxY);return{x:a,y:o,minX:a,minY:o,maxX:s,maxY:l,width:s-a,height:l-o}},e.prototype.isVertical=function(){var t=this.get("start"),i=this.get("end");return _t(t.x,i.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),i=this.get("end");return _t(t.y,i.y)},e.prototype.getTickPoint=function(t){var i=this,n=i.get("start"),a=i.get("end"),o=a.x-n.x,s=a.y-n.y;return{x:n.x+o*t,y:n.y+s*t}},e.prototype.getSideVector=function(t){var i=this.getAxisVector(),n=Gp([0,0],i),a=this.get("verticalFactor"),o=[n[1],n[0]*-1];return oe([0,0],o,t*a)},e.prototype.getAxisVector=function(){var t=this.get("start"),i=this.get("end");return[i.x-t.x,i.y-t.y]},e.prototype.processOverlap=function(t){var i=this,n=this.isVertical(),a=this.isHorizontal();if(!(!n&&!a)){var o=this.get("label"),s=this.get("title"),l=this.get("verticalLimitLength"),u=o.offset,c=l,h=0,f=0;s&&(h=s.style.fontSize,f=s.spacing),c&&(c=c-u-f-h);var v=this.get("overlapOrder");if(C(v,function(g){o[g]&&i.canProcessOverlap(g)&&i.autoProcessOverlap(g,o[g],t,c)}),s&&B(s.offset)){var d=t.getCanvasBBox(),p=n?d.width:d.height;s.offset=u+p+f+h/2}}},e.prototype.canProcessOverlap=function(t){var i=this.get("label");return t==="autoRotate"?B(i.rotate):!0},e.prototype.autoProcessOverlap=function(t,i,n,a){var o=this,s=this.isVertical(),l=!1,u=ry[t];if(i===!0)this.get("label"),l=u.getDefault()(s,n,a);else if(X(i))l=i(s,n,a);else if(pt(i)){var c=i;u[c.type]&&(l=u[c.type](s,n,a,c.cfg))}else u[i]&&(l=u[i](s,n,a));if(t==="autoRotate"){if(l){var h=n.getChildren(),f=this.get("verticalFactor");C(h,function(d){var p=d.attr("textAlign");if(p==="center"){var g=f>0?"end":"start";d.attr("textAlign",g)}})}}else if(t==="autoHide"){var v=n.getChildren().slice(0);C(v,function(d){d.get("visible")||(o.get("isRegister")&&o.unregisterElement(d),d.remove())})}},e}(jg),GM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getLinePath=function(){var t=this.get("center"),i=t.x,n=t.y,a=this.get("radius"),o=a,s=this.get("startAngle"),l=this.get("endAngle"),u=[];if(Math.abs(l-s)===Math.PI*2)u=[["M",i,n-o],["A",a,o,0,1,1,i,n+o],["A",a,o,0,1,1,i,n-o],["Z"]];else{var c=this.getCirclePoint(s),h=this.getCirclePoint(l),f=Math.abs(l-s)>Math.PI?1:0,v=s>l?0:1;u=[["M",i,n],["L",c.x,c.y],["A",a,o,0,f,v,h.x,h.y],["L",i,n]]}return u},e.prototype.getTickPoint=function(t){var i=this.get("startAngle"),n=this.get("endAngle"),a=i+(n-i)*t;return this.getCirclePoint(a)},e.prototype.getSideVector=function(t,i){var n=this.get("center"),a=[i.x-n.x,i.y-n.y],o=this.get("verticalFactor"),s=_i(a);return oe(a,a,o*t/s),a},e.prototype.getAxisVector=function(t){var i=this.get("center"),n=[t.x-i.x,t.y-i.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,i){var n=this.get("center");return i=i||this.get("radius"),{x:n.x+Math.cos(t)*i,y:n.y+Math.sin(t)*i}},e.prototype.canProcessOverlap=function(t){var i=this.get("label");return t==="autoRotate"?B(i.rotate):!0},e.prototype.processOverlap=function(t){var i=this,n=this.get("label"),a=this.get("title"),o=this.get("verticalLimitLength"),s=n.offset,l=o,u=0,c=0;a&&(u=a.style.fontSize,c=a.spacing),l&&(l=l-s-c-u);var h=this.get("overlapOrder");if(C(h,function(v){n[v]&&i.canProcessOverlap(v)&&i.autoProcessOverlap(v,n[v],t,l)}),a&&B(a.offset)){var f=t.getCanvasBBox().height;a.offset=s+f+c+u/2}},e.prototype.autoProcessOverlap=function(t,i,n,a){var o=this,s=!1,l=ry[t];if(a>0)if(i===!0)s=l.getDefault()(!1,n,a);else if(X(i))s=i(!1,n,a);else if(pt(i)){var u=i;l[u.type]&&(s=l[u.type](!1,n,a,u.cfg))}else l[i]&&(s=l[i](!1,n,a));if(t==="autoRotate"){if(s){var c=n.getChildren(),h=this.get("verticalFactor");C(c,function(v){var d=v.attr("textAlign");if(d==="center"){var p=h>0?"end":"start";v.attr("textAlign",p)}})}}else if(t==="autoHide"){var f=n.getChildren().slice(0);C(f,function(v){v.get("visible")||(o.get("isRegister")&&o.unregisterElement(v),v.remove())})}},e}(jg),Pc=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:lt.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:lt.textColor,textAlign:"center",textBaseline:"middle",fontFamily:lt.fontFamily}},textBackground:{padding:5,style:{stroke:lt.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var i=this.get("text"),n=i.style,a=i.autoRotate,o=i.content;if(!B(o)){var s=this.getTextPoint(),l=null;if(a){var u=this.getRotateAngle();l=Mi(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:m(m(m({},s),{text:o,matrix:l}),n)})}},e.prototype.renderLine=function(t){var i=this.getLinePath(),n=this.get("line"),a=n.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:m({path:i},a)})},e.prototype.renderBackground=function(t){var i=this.getElementId("text"),n=t.findById(i),a=this.get("textBackground");if(a&&n){var o=n.getBBox(),s=Ko(a.padding),l=a.style,u=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:m({x:o.x-s[3],y:o.y-s[0],width:o.width+s[1]+s[3],height:o.height+s[0]+s[2],matrix:n.attr("matrix")},l)});u.toBack()}},e}(te),iy=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text").position,o=Math.atan2(n.y-i.y,n.x-i.x),s=a==="start"?o-Math.PI/2:o+Math.PI/2;return s},e.prototype.getTextPoint=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text"),o=a.position,s=a.offset;return qg(i,n,o,s)},e.prototype.getLinePath=function(){var t=this.getLocation(),i=t.start,n=t.end;return[["M",i.x,i.y],["L",n.x,n.y]]},e}(Pc),VM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),i=t.startAngle,n=t.endAngle,a=this.get("text").position,o=a==="start"?i+Math.PI/2:n-Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.get("text"),i=t.position,n=t.offset,a=this.getLocation(),o=a.center,s=a.radius,l=a.startAngle,u=a.endAngle,c=i==="start"?l:u,h=this.getRotateAngle()-Math.PI,f=Zi(o,s,c),v=Math.cos(h)*n,d=Math.sin(h)*n;return{x:f.x+v,y:f.y+d}},e.prototype.getLinePath=function(){var t=this.getLocation(),i=t.center,n=t.radius,a=t.startAngle,o=t.endAngle,s=null;if(o-a===Math.PI*2){var l=i.x,u=i.y;s=[["M",l,u-n],["A",n,n,0,1,1,l,u+n],["A",n,n,0,1,1,l,u-n],["Z"]]}else{var c=Zi(i,n,a),h=Zi(i,n,o),f=Math.abs(o-a)>Math.PI?1:0,v=a>o?0:1;s=[["M",c.x,c.y],["A",n,n,0,f,v,h.x,h.y]]}return s},e}(Pc),da="g2-crosshair",Eu=da+"-line",ku=da+"-text",In;const YM=(In={},In[""+da]={position:"relative"},In[""+Eu]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},In[""+ku]={position:"absolute",color:lt.textColor,fontFamily:lt.fontFamily},In);var $M=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
',crosshairTpl:'
',textTpl:'{content}',domStyles:null,containerClassName:da,defaultStyles:YM,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),i=this.get("crosshairTpl"),n=Nr(i);t.appendChild(n),this.applyStyle(Eu,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text"),o=a.position,s=a.offset;return qg(i,n,o,s)},e.prototype.resetText=function(){var t=this.get("text"),i=this.get("textEl");if(t){var n=t.content;if(!i){var a=this.getContainer(),o=bp(this.get("textTpl"),t);i=Nr(o),a.appendChild(i),this.applyStyle(ku,i),this.set("textEl",i)}i.innerHTML=n}else i&&i.remove()},e.prototype.isVertical=function(t,i){return t.x===i.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var i=this.get("start"),n=this.get("end"),a=Math.min(i.x,n.x),o=Math.min(i.y,n.y);this.isVertical(i,n)?ee(t,{width:"1px",height:he(Math.abs(n.y-i.y))}):ee(t,{height:"1px",width:he(Math.abs(n.x-i.x))}),ee(t,{top:he(o),left:he(a)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var i=this.get("text").align,n=t.clientWidth,a=this.getTextPoint();switch(i){case"center":a.x=a.x-n/2;break;case"right":a.x=a.x-n}ee(t,{top:he(a.y),left:he(a.x)})}},e.prototype.updateInner=function(t){Yr(t,"text")&&this.resetText(),r.prototype.updateInner.call(this,t)},e}(Lc);const vv=Object.freeze(Object.defineProperty({__proto__:null,Base:Pc,Circle:VM,Html:$M,Line:iy},Symbol.toStringTag,{value:"Module"}));var ny=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:lt.lineColor}}}})},e.prototype.getLineType=function(){var t=this.get("line")||this.get("defaultCfg").line;return t.type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,i){var n=this.getGridPath(t),a=i.slice(0).reverse(),o=this.getGridPath(a,!0),s=this.get("closed");return s?n=n.concat(o):(o[0][0]="L",n=n.concat(o),n.push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var i=this,n=this.get("line"),a=this.get("items"),o=this.get("alternateColor"),s=null;C(a,function(l,u){var c=l.id||u;if(n){var h=i.getPathStyle();h=X(h)?h(l,u,a):h;var f=i.getElementId("line-"+c),v=i.getGridPath(l.points);i.addShape(t,{type:"path",name:"grid-line",id:f,attrs:mt({path:v},h)})}if(o&&u>0){var d=i.getElementId("region-"+c),p=u%2===0;if(Q(o))p&&i.drawAlternateRegion(d,t,s.points,l.points,o);else{var g=p?o[1]:o[0];i.drawAlternateRegion(d,t,s.points,l.points,g)}}s=l})},e.prototype.drawAlternateRegion=function(t,i,n,a,o){var s=this.getAlternatePath(n,a);this.addShape(i,{type:"path",id:t,name:"grid-region",attrs:{path:s,fill:o}})},e}(te);function HM(r,e,t,i){var n=t-r,a=i-e;return Math.sqrt(n*n+a*a)}var XM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,i){var n=this.getLineType(),a=this.get("closed"),o=[];if(t.length)if(n==="circle"){var s=this.get("center"),l=t[0],u=HM(s.x,s.y,l.x,l.y),c=i?0:1;a?(o.push(["M",s.x,s.y-u]),o.push(["A",u,u,0,0,c,s.x,s.y+u]),o.push(["A",u,u,0,0,c,s.x,s.y-u]),o.push(["Z"])):C(t,function(h,f){f===0?o.push(["M",h.x,h.y]):o.push(["A",u,u,0,0,c,h.x,h.y])})}else C(t,function(h,f){f===0?o.push(["M",h.x,h.y]):o.push(["L",h.x,h.y])}),a&&o.push(["Z"]);return o},e}(ny),WM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"line"})},e.prototype.getGridPath=function(t){var i=[];return C(t,function(n,a){a===0?i.push(["M",n.x,n.y]):i.push(["L",n.x,n.y])}),i},e}(ny),ay=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var t=r.prototype.getLayoutBBox.call(this),i=this.get("maxWidth"),n=this.get("maxHeight"),a=t.width,o=t.height;return i&&(a=Math.min(a,i)),n&&(o=Math.min(o,n)),zs(t.minX,t.minY,a,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),i=this.get("y"),n=this.get("offsetX"),a=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:i+a})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var i=this.get("background"),n=t.getBBox(),a=Ko(i.padding),o=m({x:0,y:0,width:n.width+a[1]+a[3],height:n.height+a[0]+a[2]},i.style),s=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o});s.toBack()},e.prototype.drawTitle=function(t){var i=this.get("currentPoint"),n=this.get("title"),a=n.spacing,o=n.style,s=n.text,l=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:m({text:s,x:i.x,y:i.y},o)}),u=l.getBBox();this.set("currentPoint",{x:i.x,y:u.maxY+a})},e.prototype.resetDraw=function(){var t=this.get("background"),i={x:0,y:0};if(t){var n=Ko(t.padding);i.x=n[3],i.y=n[0]}this.set("currentPoint",i)},e}(te),Ll={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},ao={fill:lt.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:lt.fontFamily,fontWeight:"normal",lineHeight:12},Il="navigation-arrow-right",Pl="navigation-arrow-left",dv={right:90*Math.PI/180,left:(360-90)*Math.PI/180,up:0,down:180*Math.PI/180},_M=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.currentPageIndex=1,t.totalPagesCnt=1,t.pageWidth=0,t.pageHeight=0,t.startX=0,t.startY=0,t.onNavigationBack=function(){var i=t.getElementByLocalId("item-group");if(t.currentPageIndex>1){t.currentPageIndex-=1,t.updateNavigation();var n=t.getCurrentNavigationMatrix();t.get("animate")?i.animate({matrix:n},100):i.attr({matrix:n})}},t.onNavigationAfter=function(){var i=t.getElementByLocalId("item-group");if(t.currentPageIndexg&&(g=F),v==="horizontal"?(y&&yu}if(s==="horizontal"){var T=this.get("maxRow")||1,L=v+(T===1?0:M),k=u-f-g.width-g.minX;this.pageHeight=L*T,this.pageWidth=k,C(l,function(O){var z=O.getBBox(),V=h||z.width;(b&&bw&&(w=z.width)}),S=w,w+=f,u&&(w=Math.min(u,w),S=Math.min(u,S)),this.pageWidth=w,this.pageHeight=c-Math.max(g.height,v+M);var P=Math.floor(this.pageHeight/(v+M));C(l,function(O,z){z!==0&&z%P===0&&(x+=1,y.x+=w,y.y=o),n.moveElementTo(O,y),O.getParent().setClip({type:"rect",attrs:{x:y.x,y:y.y,width:w,height:v}}),y.y+=v+M}),this.totalPagesCnt=x,this.moveElementTo(p,{x:a+S/2-g.width/2-g.minX,y:c-g.height-g.minY})}this.pageHeight&&this.pageWidth&&i.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),s==="horizontal"&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(x/this.get("maxRow")):this.totalPagesCnt=x,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(p),i.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,i,n,a){var o={x:0,y:0},s=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),l=A(a.marker,"style",{}),u=l.size,c=u===void 0?12:u,h=yt(l,["size"]),f=this.drawArrow(s,o,Pl,i==="horizontal"?"up":"left",c,h);f.on("click",this.onNavigationBack);var v=f.getBBox();o.x+=v.width+2;var d=this.addShape(s,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:m({x:o.x,y:o.y+c/2,text:n,textBaseline:"middle"},A(a.text,"style"))}),p=d.getBBox();o.x+=p.width+2;var g=this.drawArrow(s,o,Il,i==="horizontal"?"down":"right",c,h);return g.on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var i=H({},Ll,this.get("pageNavigator")),n=i.marker.style,a=n.fill,o=n.opacity,s=n.inactiveFill,l=n.inactiveOpacity,u=this.currentPageIndex+"/"+this.totalPagesCnt,c=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),h=t?t.findById(this.getElementId(Pl)):this.getElementByLocalId(Pl),f=t?t.findById(this.getElementId(Il)):this.getElementByLocalId(Il);c.attr("text",u),h.attr("opacity",this.currentPageIndex===1?l:o),h.attr("fill",this.currentPageIndex===1?s:a),h.attr("cursor",this.currentPageIndex===1?"not-allowed":"pointer"),f.attr("opacity",this.currentPageIndex===this.totalPagesCnt?l:o),f.attr("fill",this.currentPageIndex===this.totalPagesCnt?s:a),f.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var v=h.getBBox().maxX+2;c.attr("x",v),v+=c.getBBox().width+2,this.updateArrowPath(f,{x:v,y:0})},e.prototype.drawArrow=function(t,i,n,a,o,s){var l=i.x,u=i.y,c=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:m({size:o,direction:a,path:[["M",l+o/2,u],["L",l,u+o],["L",l+o,u+o],["Z"]],cursor:"pointer"},s)});return c.attr("matrix",Mi({x:l+o/2,y:u+o/2},dv[a])),c},e.prototype.updateArrowPath=function(t,i){var n=i.x,a=i.y,o=t.attr(),s=o.size,l=o.direction,u=Mi({x:n+s/2,y:a+s/2},dv[l]);t.attr("path",[["M",n+s/2,a],["L",n,a+s],["L",n+s,a+s],["Z"]]),t.attr("matrix",u)},e.prototype.getCurrentNavigationMatrix=function(){var t=this,i=t.currentPageIndex,n=t.pageWidth,a=t.pageHeight,o=this.get("layout"),s=o==="horizontal"?{x:0,y:a*(1-i)}:{x:n*(1-i),y:0};return Tc(s)},e.prototype.applyItemStates=function(t,i){var n=this.getItemStates(t),a=n.length>0;if(a){var o=i.getChildren(),s=this.get("itemStates");C(o,function(l){var u=l.get("name"),c=u.split("-")[2],h=Vn(t,c,s);h&&(l.attr(h),c==="marker"&&!(l.get("isStroke")&&l.get("isFill"))&&(l.get("isStroke")&&l.attr("fill",null),l.get("isFill")&&l.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),i=this.get("maxItemWidth");return i?t&&(i=t<=i?t:i):t&&(i=t),i},e}(ay),qM=1.4,pv=.4,UM=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:lt.textColor,textBaseline:"middle",fontFamily:lt.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:lt.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,i){this.update({min:t,max:i})},e.prototype.setValue=function(t){var i=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:i,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var i=this;t.on("legend-handler-min:drag",function(n){var a=i.getValueByCanvasPoint(n.x,n.y),o=i.getCurrentValue(),s=o[1];sa&&(s=a),i.setValue([s,a])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var i=this,n=null;t.on("legend-track:dragstart",function(a){n={x:a.x,y:a.y}}),t.on("legend-track:drag",function(a){if(n){var o=i.getValueByCanvasPoint(n.x,n.y),s=i.getValueByCanvasPoint(a.x,a.y),l=i.getCurrentValue(),u=l[1]-l[0],c=i.getRange(),h=s-o;h<0?l[0]+h>c.min?i.setValue([l[0]+h,l[1]+h]):i.setValue([c.min,c.min+u]):h>0&&(h>0&&l[1]+ho&&(h=o),h0&&this.changeRailLength(a,s,n[s]-v)}},e.prototype.changeRailLength=function(t,i,n){var a=t.getBBox(),o;i==="height"?o=this.getRailPath(a.x,a.y,a.width,n):o=this.getRailPath(a.x,a.y,n,a.height),t.attr("path",o)},e.prototype.changeRailPosition=function(t,i,n){var a=t.getBBox(),o=this.getRailPath(i,n,a.width,a.height);t.attr("path",o)},e.prototype.fixedHorizontal=function(t,i,n,a){var o=this.get("label"),s=o.align,l=o.spacing,u=n.getBBox(),c=t.getBBox(),h=i.getBBox(),f=u.height;this.fitRailLength(c,h,u,n),u=n.getBBox(),s==="rail"?(t.attr({x:a.x,y:a.y+f/2}),this.changeRailPosition(n,a.x+c.width+l,a.y),i.attr({x:a.x+c.width+u.width+l*2,y:a.y+f/2})):s==="top"?(t.attr({x:a.x,y:a.y}),i.attr({x:a.x+u.width,y:a.y}),this.changeRailPosition(n,a.x,a.y+c.height+l)):(this.changeRailPosition(n,a.x,a.y),t.attr({x:a.x,y:a.y+u.height+l}),i.attr({x:a.x+u.width,y:a.y+u.height+l}))},e.prototype.fixedVertail=function(t,i,n,a){var o=this.get("label"),s=o.align,l=o.spacing,u=n.getBBox(),c=t.getBBox(),h=i.getBBox();if(this.fitRailLength(c,h,u,n),u=n.getBBox(),s==="rail")t.attr({x:a.x,y:a.y}),this.changeRailPosition(n,a.x,a.y+c.height+l),i.attr({x:a.x,y:a.y+c.height+u.height+l*2});else if(s==="right")t.attr({x:a.x+u.width+l,y:a.y}),this.changeRailPosition(n,a.x,a.y),i.attr({x:a.x+u.width+l,y:a.y+u.height});else{var f=Math.max(c.width,h.width);t.attr({x:a.x,y:a.y}),this.changeRailPosition(n,a.x+f+l,a.y),i.attr({x:a.x,y:a.y+u.height})}},e}(ay),wr="g2-tooltip",br="g2-tooltip-title",pa="g2-tooltip-list",Gs="g2-tooltip-list-item",Vs="g2-tooltip-marker",Ys="g2-tooltip-value",oy="g2-tooltip-name",Dc="g2-tooltip-crosshair-x",Oc="g2-tooltip-crosshair-y";const jM=Object.freeze(Object.defineProperty({__proto__:null,CONTAINER_CLASS:wr,CROSSHAIR_X:Dc,CROSSHAIR_Y:Oc,LIST_CLASS:pa,LIST_ITEM_CLASS:Gs,MARKER_CLASS:Vs,NAME_CLASS:oy,TITLE_CLASS:br,VALUE_CLASS:Ys},Symbol.toStringTag,{value:"Module"}));var qe;const ZM=(qe={},qe[""+wr]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:lt.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},qe[""+br]={marginBottom:"4px"},qe[""+pa]={margin:"0px",listStyleType:"none",padding:"0px"},qe[""+Gs]={listStyleType:"none",marginBottom:"4px"},qe[""+Vs]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},qe[""+Ys]={display:"inline-block",float:"right",marginLeft:"30px"},qe[""+Dc]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},qe[""+Oc]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},qe);function QM(r,e,t,i,n){var a={left:rn.x+n.width,top:en.y+n.height};return a}function KM(r,e,t,i,n,a){var o=r,s=e;switch(a){case"left":o=r-i-t,s=e-n/2;break;case"right":o=r+t,s=e-n/2;break;case"top":o=r-i/2,s=e-n-t;break;case"bottom":o=r-i/2,s=e+t;break;default:o=r+t,s=e-n-t;break}return{x:o,y:s}}function JM(r,e,t,i,n,a,o){var s=KM(r,e,t,i,n,a);if(o){var l=QM(s.x,s.y,i,n,o);a==="auto"?(l.right&&(s.x=Math.max(0,r-i-t)),l.top&&(s.y=Math.max(0,e-n-t))):a==="top"||a==="bottom"?(l.left&&(s.x=o.x),l.right&&(s.x=o.x+o.width-i),a==="top"&&l.top&&(s.y=e+t),a==="bottom"&&l.bottom&&(s.y=e-n-t)):(l.top&&(s.y=o.y),l.bottom&&(s.y=o.y+o.height-n),a==="left"&&l.left&&(s.x=r+t),a==="right"&&l.right&&(s.x=r-i-t))}return s}function tA(r,e){var t=!1;return C(e,function(i){if(Yr(r,i))return t=!0,!1}),t}var eA=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
    ',itemTpl:'
  • + + {name}: + {value} +
  • `,xCrosshairTpl:'
    ',yCrosshairTpl:'
    ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:wr,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:ZM})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!0),ee(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!1),ee(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var i=t?"":"none",n=this.get("xCrosshairDom"),a=this.get("yCrosshairDom");n&&ee(n,{display:i}),a&&ee(a,{display:i})},e.prototype.initContainer=function(){if(r.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var t=this.getHtmlContentNode();this.get("parent").appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(t){this.get("customContent")?this.renderCustomContent():(tA(t,["title","showTitle"])&&this.resetTitle(),Yr(t,"items")&&this.renderItems()),r.prototype.updateInner.call(this,t)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){r.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t=this.get("x"),i=this.get("y"),n=this.get("offset"),a=this.getOffset(),o=a.offsetX,s=a.offsetY,l=this.get("position"),u=this.get("region"),c=this.getContainer(),h=this.getBBox(),f=h.width,v=h.height,d;u&&(d=fa(u));var p=JM(t,i,n,f,v,l,d);ee(c,{left:he(p.x+o),top:he(p.y+s)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),i=this.get("parent"),n=this.get("container");n&&n.parentNode===i?i.replaceChild(t,n):i.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,i=this.get("customContent");if(i){var n=i(this.get("title"),this.get("items"));Cp(n)?t=n:t=Nr(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),i=t.getElementsByClassName(br)[0],n=t.getElementsByClassName(pa)[0];this.set("titleDom",i),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title"),i=this.get("showTitle");i&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var i=this.get("titleDom");i&&(i.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),i=this.get("crosshairs");if(!t||!i)this.clearCrosshairs();else{var n=fa(t),a=this.get("xCrosshairDom"),o=this.get("yCrosshairDom");i==="x"?(this.resetCrosshair("x",n),o&&(o.remove(),this.set("yCrosshairDom",null))):i==="y"?(this.resetCrosshair("y",n),a&&(a.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}},e.prototype.resetCrosshair=function(t,i){var n=this.checkCrosshair(t),a=this.get(t);t==="x"?ee(n,{left:he(a),top:he(i.y),height:he(i.height)}):ee(n,{top:he(a),left:he(i.x),width:he(i.width)})},e.prototype.checkCrosshair=function(t){var i=t+"CrosshairDom",n=t+"CrosshairTpl",a="CROSSHAIR_"+t.toUpperCase(),o=jM[a],s=this.get(i),l=this.get("parent");return s||(s=Nr(this.get(n)),this.applyStyle(o,s),l.appendChild(s),this.set(i,s)),s},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),i=this.get("itemTpl"),n=this.get("listDom");n&&(C(t,function(a){var o=Gr.toCSSGradient(a.color),s=m(m({},a),{color:o}),l=bp(i,s),u=Nr(l);n.appendChild(u)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&kc(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");t&&t.remove(),i&&i.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(Lc),rA={opacity:0},iA={stroke:"#C5C5C5",strokeOpacity:.85},nA={fill:"#CACED4",opacity:.85};function aA(r){return Mt(r,function(e,t){var i=t===0?"M":"L",n=e[0],a=e[1];return[i,n,a]})}function sy(r){return aA(r)}function oA(r){if(r.length<=2)return sy(r);var e=[];C(r,function(o){Pt(o,e.slice(e.length-2))||e.push(o[0],o[1])});var t=yS(e,!1),i=be(r),n=i[0],a=i[1];return t.unshift(["M",n,a]),t}function sA(r,e,t,i){i===void 0&&(i=!0);var n=new Bs({values:r}),a=new Ds({values:Mt(r,function(s,l){return l})}),o=Mt(r,function(s,l){return[a.scale(l)*e,t-n.scale(s)*t]});return i?oA(o):sy(o)}function lA(r,e){var t=new Bs({values:r}),i=t.max<0?t.max:Math.max(0,t.min);return e-t.scale(i)*e}function uA(r,e,t,i){var n=na(r),a=lA(i,t);return n.push(["L",e,a]),n.push(["L",0,a]),n.push(["Z"]),n}var cA=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:rA,lineStyle:iA,areaStyle:nA})},e.prototype.renderInner=function(t){var i=this.cfg,n=i.width,a=i.height,o=i.data,s=i.smooth,l=i.isArea,u=i.backgroundStyle,c=i.lineStyle,h=i.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:m({x:0,y:0,width:n,height:a},u)});var f=sA(o,n,a,s);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:m({path:f},c)}),l){var v=uA(f,n,a,o);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:m({path:v},h)})}},e.prototype.applyOffset=function(){var t=this.cfg,i=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:i,y:n})},e}(te),ly={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},gv=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"handler",x:0,y:0,width:10,height:24,style:ly})},e.prototype.renderInner=function(t){var i=this.cfg,n=i.width,a=i.height,o=i.style,s=o.fill,l=o.stroke,u=o.radius,c=o.opacity,h=o.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:a,fill:s,stroke:l,radius:u,opacity:c,cursor:h}});var f=1/3*n,v=2/3*n,d=1/4*a,p=3/4*a;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:f,y1:d,x2:f,y2:p,stroke:l,cursor:h}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:v,y1:d,x2:v,y2:p,stroke:l,cursor:h}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var i=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",i),t.draw()}),this.get("group").on("mouseleave",function(){var i=t.get("style").fill;t.getElementByLocalId("background").attr("fill",i),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(te),hA={fill:"#416180",opacity:.05},fA={fill:"#5B8FF9",opacity:.15,cursor:"move"},Po=10,vA={width:Po,height:24},dA={textBaseline:"middle",fill:"#000",opacity:.45},pA="sliderchange",gA=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.onMouseDown=function(i){return function(n){t.currentTarget=i;var a=n.originalEvent;a.stopPropagation(),a.preventDefault(),t.prevX=A(a,"touches.0.pageX",a.pageX),t.prevY=A(a,"touches.0.pageY",a.pageY);var o=t.getContainerDOM();o.addEventListener("mousemove",t.onMouseMove),o.addEventListener("mouseup",t.onMouseUp),o.addEventListener("mouseleave",t.onMouseUp),o.addEventListener("touchmove",t.onMouseMove),o.addEventListener("touchend",t.onMouseUp),o.addEventListener("touchcancel",t.onMouseUp)}},t.onMouseMove=function(i){var n=t.cfg.width,a=[t.get("start"),t.get("end")];i.stopPropagation(),i.preventDefault();var o=A(i,"touches.0.pageX",i.pageX),s=A(i,"touches.0.pageY",i.pageY),l=o-t.prevX,u=t.adjustOffsetRange(l/n);t.updateStartEnd(u),t.updateUI(t.getElementByLocalId("foreground"),t.getElementByLocalId("minText"),t.getElementByLocalId("maxText")),t.prevX=o,t.prevY=s,t.draw(),t.emit(pA,[t.get("start"),t.get("end")].sort()),t.delegateEmit("valuechanged",{originValue:a,value:[t.get("start"),t.get("end")]})},t.onMouseUp=function(){t.currentTarget&&(t.currentTarget=void 0);var i=t.getContainerDOM();i&&(i.removeEventListener("mousemove",t.onMouseMove),i.removeEventListener("mouseup",t.onMouseUp),i.removeEventListener("mouseleave",t.onMouseUp),i.removeEventListener("touchmove",t.onMouseMove),i.removeEventListener("touchend",t.onMouseUp),i.removeEventListener("touchcancel",t.onMouseUp))},t}return e.prototype.setRange=function(t,i){this.set("minLimit",t),this.set("maxLimit",i);var n=this.get("start"),a=this.get("end"),o=Ct(n,t,i),s=Ct(a,t,i);!this.get("isInit")&&(n!==o||a!==s)&&this.setValue([o,s])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var i=this.getRange();if(R(t)&&t.length===2){var n=[this.get("start"),this.get("end")];this.update({start:Ct(t[0],i.min,i.max),end:Ct(t[1],i.min,i.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:hA,foregroundStyle:fA,handlerStyle:vA,textStyle:dA}})},e.prototype.update=function(t){var i=t.start,n=t.end,a=m({},t);B(i)||(a.start=Ct(i,0,1)),B(n)||(a.end=Ct(n,0,1)),r.prototype.update.call(this,a),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",Ct(this.get("start"),0,1)),this.set("end",Ct(this.get("end"),0,1)),r.prototype.init.call(this)},e.prototype.render=function(){r.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var i=this.cfg;i.start,i.end;var n=i.width,a=i.height,o=i.trendCfg,s=o===void 0?{}:o,l=i.minText,u=i.maxText,c=i.backgroundStyle,h=c===void 0?{}:c,f=i.foregroundStyle,v=f===void 0?{}:f,d=i.textStyle,p=d===void 0?{}:d,g=H({},ly,this.cfg.handlerStyle);$t(A(s,"data"))&&(this.trend=this.addComponent(t,m({component:cA,id:this.getElementId("trend"),x:0,y:0,width:n,height:a},s))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:m({x:0,y:0,width:n,height:a},h)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:m({y:a/2,textAlign:"right",text:l,silent:!1},p)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:m({y:a/2,textAlign:"left",text:u,silent:!1},p)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:m({y:0,height:a},v)});var y=A(g,"width",Po),x=A(g,"height",24);this.minHandler=this.addComponent(t,{component:gv,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(a-x)/2,width:y,height:x,cursor:"ew-resize",style:g}),this.maxHandler=this.addComponent(t,{component:gv,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(a-x)/2,width:y,height:x,cursor:"ew-resize",style:g})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,i,n){var a=this.cfg,o=a.start,s=a.end,l=a.width,u=a.minText,c=a.maxText,h=a.handlerStyle,f=a.height,v=o*l,d=s*l;this.trend&&(this.trend.update({width:l,height:f}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",v),t.attr("width",d-v);var p=A(h,"width",Po);i.attr("text",u),n.attr("text",c);var g=this._dodgeText([v,d],i,n),y=g[0],x=g[1];this.minHandler&&(this.minHandler.update({x:v-p/2}),this.get("updateAutoRender")||this.minHandler.render()),C(y,function(b,w){return i.attr(w,b)}),this.maxHandler&&(this.maxHandler.update({x:d-p/2}),this.get("updateAutoRender")||this.maxHandler.render()),C(x,function(b,w){return n.attr(w,b)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var i=t.findById(this.getElementId("foreground"));i.on("mousedown",this.onMouseDown("foreground")),i.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var i=this.cfg,n=i.start,a=i.end;switch(this.currentTarget){case"minHandler":{var o=0-n,s=1-n;return Math.min(s,Math.max(o,t))}case"maxHandler":{var o=0-a,s=1-a;return Math.min(s,Math.max(o,t))}case"foreground":{var o=0-n,s=1-a;return Math.min(s,Math.max(o,t))}}},e.prototype.updateStartEnd=function(t){var i=this.cfg,n=i.start,a=i.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":a+=t;break;case"foreground":n+=t,a+=t;break}this.set("start",n),this.set("end",a)},e.prototype._dodgeText=function(t,i,n){var a,o,s=this.cfg,l=s.handlerStyle,u=s.width,c=2,h=A(l,"width",Po),f=t[0],v=t[1],d=!1;f>v&&(a=[v,f],f=a[0],v=a[1],o=[n,i],i=o[0],n=o[1],d=!0);var p=i.getBBox(),g=n.getBBox(),y=p.width>f-c?{x:f+h/2+c,textAlign:"left"}:{x:f-h/2-c,textAlign:"right"},x=g.width>u-v-c?{x:v-h/2-c,textAlign:"right"}:{x:v+h/2+c,textAlign:"left"};return d?[x,y]:[y,x]},e.prototype.draw=function(){var t=this.get("container"),i=t&&t.get("canvas");i&&i.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),i=t&&t.get("canvas");return i&&i.get("container")},e}(te),yA={trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},Dl={default:yA,hover:{thumbColor:"rgba(0,0,0,0.2)"}},mA=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.clearEvents=Or,t.onStartEvent=function(i){return function(n){t.isMobile=i,n.originalEvent.preventDefault();var a=i?A(n.originalEvent,"touches.0.clientX"):n.clientX,o=i?A(n.originalEvent,"touches.0.clientY"):n.clientY;t.startPos=t.cfg.isHorizontal?a:o,t.bindLaterEvent()}},t.bindLaterEvent=function(){var i=t.getContainerDOM(),n=[];t.isMobile?n=[zi(i,"touchmove",t.onMouseMove),zi(i,"touchend",t.onMouseUp),zi(i,"touchcancel",t.onMouseUp)]:n=[zi(i,"mousemove",t.onMouseMove),zi(i,"mouseup",t.onMouseUp),zi(i,"mouseleave",t.onMouseUp)],t.clearEvents=function(){n.forEach(function(a){a.remove()})}},t.onMouseMove=function(i){var n=t.cfg,a=n.isHorizontal,o=n.thumbOffset;i.preventDefault();var s=t.isMobile?A(i,"touches.0.clientX"):i.clientX,l=t.isMobile?A(i,"touches.0.clientY"):i.clientY,u=a?s:l,c=u-t.startPos;t.startPos=u,t.updateThumbOffset(o+c)},t.onMouseUp=function(i){i.preventDefault(),t.clearEvents()},t.onTrackClick=function(i){var n=t.cfg,a=n.isHorizontal,o=n.x,s=n.y,l=n.thumbLen,u=t.getContainerDOM(),c=u.getBoundingClientRect(),h=i.clientX,f=i.clientY,v=a?h-c.left-o-l/2:f-c.top-s-l/2,d=t.validateRange(v);t.updateThumbOffset(d)},t.onThumbMouseOver=function(){var i=t.cfg.theme.hover.thumbColor;t.getElementByLocalId("thumb").attr("stroke",i),t.draw()},t.onThumbMouseOut=function(){var i=t.cfg.theme.default.thumbColor;t.getElementByLocalId("thumb").attr("stroke",i),t.draw()},t}return e.prototype.setRange=function(t,i){this.set("minLimit",t),this.set("maxLimit",i);var n=this.getValue(),a=Ct(n,t,i);n!==a&&!this.get("isInit")&&this.setValue(a)},e.prototype.getRange=function(){var t=this.get("minLimit")||0,i=this.get("maxLimit")||1;return{min:t,max:i}},e.prototype.setValue=function(t){var i=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*Ct(t,i.min,i.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return Ct(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return m(m({},t),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:Dl})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var i=this.cfg,n=i.trackLen,a=i.theme,o=a===void 0?{default:{}}:a,s=H({},Dl,o).default,l=s.lineCap,u=s.trackColor,c=s.size,h=A(this.cfg,"size",c),f=this.get("isHorizontal")?{x1:0+h/2,y1:h/2,x2:n-h/2,y2:h/2,lineWidth:h,stroke:u,lineCap:l}:{x1:h/2,y1:0+h/2,x2:h/2,y2:n-h/2,lineWidth:h,stroke:u,lineCap:l};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:f})},e.prototype.renderThumbShape=function(t){var i=this.cfg,n=i.thumbOffset,a=i.thumbLen,o=i.theme,s=H({},Dl,o).default,l=s.size,u=s.lineCap,c=s.thumbColor,h=A(this.cfg,"size",l),f=this.get("isHorizontal")?{x1:n+h/2,y1:h/2,x2:n+a-h/2,y2:h/2,lineWidth:h,stroke:c,lineCap:u,cursor:"default"}:{x1:h/2,y1:n+h/2,x2:h/2,y2:n+a-h/2,lineWidth:h,stroke:c,lineCap:u,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:f})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp);var i=t.findById(this.getElementId("track"));i.on("click",this.onTrackClick);var n=t.findById(this.getElementId("thumb"));n.on("mouseover",this.onThumbMouseOver),n.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),i=t&&t.get("canvas");return i&&i.get("container")},e.prototype.validateRange=function(t){var i=this.cfg,n=i.thumbLen,a=i.trackLen,o=t;return t+n>a?o=a-n:t+na.x?a.x:e,t=ta.y?a.y:i,n=n=i&&r<=n}function FA(r,e,t){if(Q(r))return r.padEnd(e,t);if(R(r)){var i=r.length;if(i=this.minX&&e.maxX<=this.maxX&&e.minY>=this.minY&&e.maxY<=this.maxY},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.add=function(){for(var e=[],t=0;te.minX&&this.minYe.minY},r.prototype.size=function(){return this.width*this.height},r.prototype.isPointIn=function(e){return e.x>=this.minX&&e.x<=this.maxX&&e.y>=this.minY&&e.y<=this.maxY},r}();function TA(r){return[[r.minX,r.minY],[r.maxX,r.minY],[r.maxX,r.maxY],[r.minX,r.maxY]]}function Ba(r){if(r.isPolar&&!r.isTransposed)return(r.endAngle-r.startAngle)*r.getRadius();var e=r.convert({x:0,y:0}),t=r.convert({x:1,y:0});return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function EA(r){if(r.isPolar){var e=r.startAngle,t=r.endAngle;return t-e===Math.PI*2}return!1}function Hs(r,e){var t=r.getCenter();return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function kA(r,e){var t=!1;if(r)if(r.type==="theta"){var i=r.start,n=r.end;t=qi(e.x,i.x,n.x)&&qi(e.y,i.y,n.y)}else{var a=r.invert(e);t=qi(a.x,0,1)&&qi(a.y,0,1)}return t}function an(r,e){var t=r.getCenter();return Math.atan2(e.y-t.y,e.x-t.x)}function Bc(r,e){e===void 0&&(e=0);var t=r.start,i=r.end,n=r.getWidth(),a=r.getHeight();if(r.isPolar){var o=r.startAngle,s=r.endAngle,l=r.getCenter(),u=r.getRadius();return{type:"path",startState:{path:Vr(l.x,l.y,u+e,o,o)},endState:function(h){var f=(s-o)*h+o,v=Vr(l.x,l.y,u+e,o,f);return{path:v}},attrs:{path:Vr(l.x,l.y,u+e,o,s)}}}var c;return r.isTransposed?c={height:a+e*2}:c={width:n+e*2},{type:"rect",startState:{x:t.x-e,y:i.y-e,width:r.isTransposed?n+e*2:0,height:r.isTransposed?0:a+e*2},endState:c,attrs:{x:t.x-e,y:i.y-e,width:n+e*2,height:a+e*2}}}function LA(r,e){e===void 0&&(e=0);var t=r.start,i=r.end,n=r.getWidth(),a=r.getHeight(),o=Math.min(t.x,i.x),s=Math.min(t.y,i.y);return se.fromRange(o-e,s-e,o+n+e,s+a+e)}var IA=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function PA(r){var e="linear";return IA.test(r)?e="timeCat":Q(r)&&(e="cat"),e}function hy(r,e,t,i){return e===void 0&&(e={}),e.type?e.type:r.type!=="identity"&&Xi.includes(t)&&["interval"].includes(i)||r.isCategory?"cat":r.type}function DA(r,e,t){var i=e||[];if(rt(r)||B(hw(i,r))&&ge(t)){var n=Mu("identity");return new n({field:r.toString(),values:[r]})}var a=$e(i,r),o=A(t,"type",PA(a[0])),s=Mu(o);return new s(m({field:r,values:a},t))}function OA(r,e){if(r.type!=="identity"&&e.type!=="identity"){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);r.change(t)}}function ya(r){return r.alias||r.field}function fy(r,e,t){var i=r.values,n=i.length,a;if(n===1)a=[.5,1];else{var o=1,s=0;EA(e)?e.isTransposed?(o=A(t,"widthRatio.multiplePie",1/1.3),s=1/n*o,a=[s/2,1-s/2]):a=[0,1-1/n]:(s=1/n/2,a=[s,1-s])}return a}function BA(r){var e=r.values.filter(function(t){return!B(t)&&!isNaN(t)});return Math.max.apply(Math,Z(Z([],q(e),!1),[B(r.max)?-1/0:r.max],!1))}function RA(r){var e,t;switch(r){case G.TOP:e={x:0,y:1},t={x:1,y:1};break;case G.RIGHT:e={x:1,y:0},t={x:1,y:1};break;case G.BOTTOM:e={x:0,y:0},t={x:1,y:0};break;case G.LEFT:e={x:0,y:0},t={x:0,y:1};break;default:e=t={x:0,y:0}}return{start:e,end:t}}function zA(r){var e,t;return r.isTransposed?(e={x:0,y:0},t={x:1,y:0}):(e={x:0,y:0},t={x:0,y:1}),{start:e,end:t}}function oo(r,e){var t={start:{x:0,y:0},end:{x:0,y:0}};r.isRect?t=RA(e):r.isPolar&&(t=zA(r));var i=t.start,n=t.end;return{start:r.convert(i),end:r.convert(n)}}function vy(r){var e=r.start,t=r.end;return e.x===t.x}function wv(r,e){var t=r.start,i=r.end,n=vy(r);return n?(t.y-i.y)*(e.x-t.x)>0?1:-1:(i.x-t.x)*(t.y-e.y)>0?-1:1}function so(r,e){var t=A(r,["components","axis"],{});return H({},A(t,["common"],{}),H({},A(t,[e],{})))}function bv(r,e,t){var i=A(r,["components","axis"],{});return H({},A(i,["common","title"],{}),H({},A(i,[e,"title"],{})),t)}function Ol(r){var e=r.x,t=r.y,i=r.circleCenter,n=t.start>t.end,a=r.isTransposed?r.convert({x:n?0:1,y:0}):r.convert({x:0,y:n?0:1}),o=[a.x-i.x,a.y-i.y],s=[1,0],l=a.y>i.y?hu(o,s):hu(o,s)*-1,u=l+(e.end-e.start),c=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2));return{center:i,radius:c,startAngle:l,endAngle:u}}function ts(r,e){return tn(r)?r===!1?!1:{}:A(r,[e])}function Sv(r,e){return A(r,"position",e)}function Cv(r,e){return A(e,["title","text"],ya(r))}var xn=function(){function r(e,t){this.destroyed=!1,this.facets=[],this.view=e,this.cfg=H({},this.getDefaultCfg(),t)}return r.prototype.init=function(){this.container||(this.container=this.createContainer());var e=this.view.getData();this.facets=this.generateFacets(e)},r.prototype.render=function(){this.renderViews()},r.prototype.update=function(){},r.prototype.clear=function(){this.clearFacetViews()},r.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},r.prototype.facetToView=function(e){var t=e.region,i=e.data,n=e.padding,a=n===void 0?this.cfg.padding:n,o=this.view.createView({region:t,padding:a});o.data(i||[]),e.view=o,this.beforeEachView(o,e);var s=this.cfg.eachView;return s&&s(o,e),this.afterEachView(o,e),o},r.prototype.createContainer=function(){var e=this.view.getLayer(It.FORE);return e.addGroup()},r.prototype.renderViews=function(){this.createFacetViews()},r.prototype.createFacetViews=function(){var e=this;return this.facets.map(function(t){return e.facetToView(t)})},r.prototype.clearFacetViews=function(){var e=this;C(this.facets,function(t){t.view&&(e.view.removeView(t.view),t.view=void 0)})},r.prototype.parseSpacing=function(){var e=this.view.viewBBox,t=e.width,i=e.height,n=this.cfg.spacing;return n.map(function(a,o){return rt(a)?a/(o===0?t:i):parseFloat(a)/100})},r.prototype.getFieldValues=function(e,t){var i=[],n={};return C(e,function(a){var o=a[t];!B(o)&&!n[o]&&(i.push(o),n[o]=!0)}),i},r.prototype.getRegion=function(e,t,i,n){var a=q(this.parseSpacing(),2),o=a[0],s=a[1],l=(1+o)/(t===0?1:t)-o,u=(1+s)/(e===0?1:e)-s,c={x:(l+o)*i,y:(u+s)*n},h={x:c.x+l,y:c.y+u};return{start:c,end:h}},r.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,spacing:[0,0],padding:10,fields:[]}},r.prototype.getDefaultTitleCfg=function(){var e=this.view.getTheme().fontFamily;return{style:{fontSize:14,fill:"#666",fontFamily:e}}},r.prototype.processAxis=function(e,t){var i=e.getOptions(),n=i.coordinate,a=e.geometries,o=A(n,"type","rect");if(o==="rect"&&a.length){B(i.axes)&&(i.axes={});var s=i.axes,l=q(a[0].getXYFields(),2),u=l[0],c=l[1],h=ts(s,u),f=ts(s,c);h!==!1&&(i.axes[u]=this.getXAxisOption(u,s,h,t)),f!==!1&&(i.axes[c]=this.getYAxisOption(c,s,f,t))}},r.prototype.getFacetDataFilter=function(e){return function(t){return ac(e,function(i){var n=i.field,a=i.value;return!B(a)&&n?t[n]===a:!0})}},r}(),dy={},NA=function(r){return dy[gn(r)]},wn=function(r,e){dy[gn(r)]=e},St=function(){function r(e,t){this.context=e,this.cfg=t,e.addAction(this)}return r.prototype.applyCfg=function(e){mt(this,e)},r.prototype.init=function(){this.applyCfg(this.cfg)},r.prototype.destroy=function(){this.context.removeAction(this),this.context=null},r}(),GA=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.callback=null},e}(St),Rc={};function VA(r,e){var t=Rc[r],i=null;if(t){var n=t.ActionClass,a=t.cfg;i=new n(e,a),i.name=r,i.init()}return i}function Xs(r){var e=Rc[r];return A(e,"ActionClass")}function j(r,e,t){Rc[r]={ActionClass:e,cfg:t}}function YA(r,e){var t=new GA(e);return t.callback=r,t.name="callback",t}function $A(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var i=1,n=r.length;i=o[u]?1:0,f=c>Math.PI?1:0,v=t.convert(s),d=Hs(t,v);if(d>=.5)if(c===Math.PI*2){var p={x:(s.x+o.x)/2,y:(s.y+o.y)/2},g=t.convert(p);l.push(["A",d,d,0,f,h,g.x,g.y]),l.push(["A",d,d,0,f,h,v.x,v.y])}else l.push(["A",d,d,0,f,h,v.x,v.y]);return l}function XA(r){C(r,function(e,t){var i=e;if(i[0].toLowerCase()==="a"){var n=r[t-1],a=r[t+1];a&&a[0].toLowerCase()==="a"?n&&n[0].toLowerCase()==="l"&&(n[0]="M"):n&&n[0].toLowerCase()==="a"&&a&&a[0].toLowerCase()==="l"&&(a[0]="M")}})}var WA=function(r,e,t,i){var n,a=[],o=!!i,s,l,u,c,h,f,v;if(o){n=q(i,2),u=n[0],c=n[1];for(var d=0,p=r.length;d0&&n>0&&(i>=e||n>=e)}function xy(r,e){var t=r.getCanvasBBox();return my(r,e)?t:null}function wy(r,e){var t=r.event.maskShapes;return t.map(function(i){return xy(i,e)}).filter(function(i){return!!i})}function UA(r,e){var t=r.event,i=t.target;return by(i,e)}function by(r,e){return my(r,e)?r.attr("path"):null}function jA(r,e){var t=r.event.maskShapes;return t.map(function(i){return by(i,e)})}function Xr(r){var e=r.event,t,i=e.target;return i&&(t=i.get("element")),t}function Ai(r){var e=r.event,t=e.target,i;return t&&(i=t.get("delegateObject")),i}function Sy(r){var e=r.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function ma(r){return r&&r.component&&r.component.isList()}function Cy(r){return r&&r.component&&r.component.isSlider()}function xa(r){var e=r.event,t=e.target;return t&&(t==null?void 0:t.get("name"))==="mask"||Ws(r)}function Ws(r){var e;return((e=r.event.target)===null||e===void 0?void 0:e.get("name"))==="multi-mask"}function zc(r,e){var t=r.event.target;if(Ws(r))return ZA(r,e);if(t.get("type")==="path"){var i=UA(r,e);return i?Ty(r.view,i):void 0}var n=yy(r,e);return n?_s(r.view,n):null}function ZA(r,e){var t=r.event.target;if(t.get("type")==="path"){var i=jA(r,e);return i.length>0?i.flatMap(function(a){return Ty(r.view,a)}):null}var n=wy(r,e);return n.length>0?n.flatMap(function(a){return _s(r.view,a)}):null}function My(r,e,t){if(Ws(r))return QA(r,e,t);var i=yy(r,t);return i?Ay(i,r,e):null}function Ay(r,e,t){var i=e.view,n=Iu(i,t,{x:r.x,y:r.y}),a=Iu(i,t,{x:r.maxX,y:r.maxY}),o={minX:n.x,minY:n.y,maxX:a.x,maxY:a.y};return _s(t,o)}function QA(r,e,t){var i=wy(r,t);return i.length>0?i.flatMap(function(n){return Ay(n,r,e)}):null}function Ut(r){var e=r.geometries,t=[];return C(e,function(i){var n=i.elements;t=t.concat(n)}),r.views&&r.views.length&&C(r.views,function(i){t=t.concat(Ut(i))}),t}function KA(r,e,t){var i=Ut(r);return i.filter(function(n){return He(n,e)===t})}function Fy(r,e){var t=r.geometries,i=[];return C(t,function(n){var a=n.getElementsBy(function(o){return o.hasState(e)});i=i.concat(a)}),i}function He(r,e){var t=r.getModel(),i=t.data,n;return R(i)?n=i[0][e]:n=i[e],n}function JA(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=e.x&&r.y<=e.y&&r.maxY>e.y}function tr(r){var e=r.parent,t=null;return e&&(t=e.views.filter(function(i){return i!==r})),t}function eF(r,e){var t=r.getCoordinate();return t.invert(e)}function Iu(r,e,t){var i=eF(r,t);return e.getCoordinate().convert(i)}function ky(r,e,t,i){var n=!1;return C(r,function(a){if(a[t]===e[t]&&a[i]===e[i])return n=!0,!1}),n}function on(r,e){var t=r.getScaleByField(e);return!t&&r.views&&C(r.views,function(i){if(t=on(i,e),t)return!1}),t}var rF=function(){function r(e){this.actions=[],this.event=null,this.cacheMap={},this.view=e}return r.prototype.cache=function(){for(var e=[],t=0;t=0&&t.splice(i,1)},r.prototype.getCurrentPoint=function(){var e=this.event;if(e)if(e.target instanceof HTMLElement){var t=this.view.getCanvas(),i=t.getPointByClient(e.clientX,e.clientY);return i}else return{x:e.x,y:e.y};return null},r.prototype.getCurrentShape=function(){return A(this.event,["gEvent","shape"])},r.prototype.isInPlot=function(){var e=this.getCurrentPoint();return e?this.view.isPointInPlot(e):!1},r.prototype.isInShape=function(e){var t=this.getCurrentShape();return t?t.get("name")===e:!1},r.prototype.isInComponent=function(e){var t=Ey(this.view),i=this.getCurrentPoint();return i?!!t.find(function(n){var a=n.getBBox();return e?n.get("name")===e&&Av(a,i):Av(a,i)}):!1},r.prototype.destroy=function(){C(this.actions.slice(),function(e){e.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},r}(),iF=function(){function r(e,t){this.view=e,this.cfg=t}return r.prototype.init=function(){this.initEvents()},r.prototype.initEvents=function(){},r.prototype.clearEvents=function(){},r.prototype.destroy=function(){this.clearEvents()},r}();function Fv(r,e,t){var i=r.split(":"),n=i[0],a=e.getAction(n)||VA(n,e);if(!a)throw new Error("There is no action named ".concat(n));var o=i[1];return{action:a,methodName:o,arg:t}}function Tv(r){var e=r.action,t=r.methodName,i=r.arg;if(e[t])e[t](i);else throw new Error("Action(".concat(e.name,") doesn't have a method called ").concat(t))}var we={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},nF=function(r){E(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.callbackCaches={},n.emitCaches={},n.steps=i,n}return e.prototype.init=function(){this.initContext(),r.prototype.init.call(this)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;C(this.steps,function(i,n){C(i,function(a){var o=t.getActionCallback(n,a);o&&t.bindEvent(a.trigger,o)})})},e.prototype.clearEvents=function(){var t=this;C(this.steps,function(i,n){C(i,function(a){var o=t.getActionCallback(n,a);o&&t.offEvent(a.trigger,o)})})},e.prototype.initContext=function(){var t=this.view,i=new rF(t);this.context=i;var n=this.steps;C(n,function(a){C(a,function(o){if(X(o.action))o.actionObject={action:YA(o.action,i),methodName:"execute"};else if(Q(o.action))o.actionObject=Fv(o.action,i,o.arg);else if(R(o.action)){var s=o.action,l=R(o.arg)?o.arg:[o.arg];o.actionObject=[],C(s,function(u,c){o.actionObject.push(Fv(u,i,l[c]))})}})})},e.prototype.isAllowStep=function(t){var i=this.currentStepName,n=this.steps;if(i===t||t===we.SHOW_ENABLE)return!0;if(t===we.PROCESSING)return i===we.START;if(t===we.START)return i!==we.PROCESSING;if(t===we.END)return i===we.PROCESSING||i===we.START;if(t===we.ROLLBACK){if(n[we.END])return i===we.END;if(i===we.START)return!0}return!1},e.prototype.isAllowExecute=function(t,i){if(this.isAllowStep(t)){var n=this.getKey(t,i);return i.once&&this.emitCaches[n]?!1:i.isEnable?i.isEnable(this.context):!0}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,i){t!==we.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,i);this.emitCaches[n]=!0},e.prototype.getKey=function(t,i){return t+i.trigger+i.action},e.prototype.getActionCallback=function(t,i){var n=this,a=this.context,o=this.callbackCaches,s=i.actionObject;if(i.action&&s){var l=this.getKey(t,i);if(!o[l]){var u=function(c){a.event=c,n.isAllowExecute(t,i)?(R(s)?C(s,function(h){a.event=c,Tv(h)}):(a.event=c,Tv(s)),n.afterExecute(t,i),i.callback&&(a.event=c,i.callback(a))):a.event=null};i.debounce?o[l]=Mp(u,i.debounce.wait,i.debounce.immediate):i.throttle?o[l]=uc(u,i.throttle.wait,{leading:i.throttle.leading,trailing:i.throttle.trailing}):o[l]=u}return o[l]}return null},e.prototype.bindEvent=function(t,i){var n=t.split(":");n[0]==="window"?window.addEventListener(n[1],i):n[0]==="document"?document.addEventListener(n[1],i):this.view.on(t,i)},e.prototype.offEvent=function(t,i){var n=t.split(":");n[0]==="window"?window.removeEventListener(n[1],i):n[0]==="document"?document.removeEventListener(n[1],i):this.view.off(t,i)},e}(iF),Ly={};function aF(r){return Ly[gn(r)]}function it(r,e){Ly[gn(r)]=e}function oF(r,e,t){var i=aF(r);if(!i)return null;if(Ke(i)){var n=mt(ae(i),t);return new nF(e,n)}else{var a=i;return new a(e,t)}}function sF(r){return{title:{autoRotate:!0,position:"center",spacing:r.axisTitleSpacing,style:{fill:r.axisTitleTextFillColor,fontSize:r.axisTitleTextFontSize,lineHeight:r.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily},iconStyle:{fill:r.axisDescriptionIconFillColor}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:r.axisLabelOffset,style:{fill:r.axisLabelFillColor,fontSize:r.axisLabelFontSize,lineHeight:r.axisLabelLineHeight,fontFamily:r.fontFamily}},line:{style:{lineWidth:r.axisLineBorder,stroke:r.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:r.axisGridBorderColor,lineWidth:r.axisGridBorder,lineDash:r.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:r.axisTickLineBorder,stroke:r.axisTickLineBorderColor},alignTick:!0,length:r.axisTickLineLength},subTickLine:null,animate:!0}}function lF(r){return{title:null,marker:{symbol:"circle",spacing:r.legendMarkerSpacing,style:{r:r.legendCircleMarkerSize,fill:r.legendMarkerColor}},itemName:{spacing:5,style:{fill:r.legendItemNameFillColor,fontFamily:r.fontFamily,fontSize:r.legendItemNameFontSize,lineHeight:r.legendItemNameLineHeight,fontWeight:r.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:"#D8D8D8"},markerStyle:{fill:"#D8D8D8",stroke:"#D8D8D8"}},inactive:{nameStyle:{fill:"#D8D8D8"},markerStyle:{opacity:.2}}},flipPage:!0,pageNavigator:{marker:{style:{size:r.legendPageNavigatorMarkerSize,inactiveFill:r.legendPageNavigatorMarkerInactiveFillColor,inactiveOpacity:r.legendPageNavigatorMarkerInactiveFillOpacity,fill:r.legendPageNavigatorMarkerFillColor,opacity:r.legendPageNavigatorMarkerFillOpacity}},text:{style:{fill:r.legendPageNavigatorTextFillColor,fontSize:r.legendPageNavigatorTextFontSize}}},animate:!1,maxItemWidth:200,itemSpacing:r.legendItemSpacing,itemMarginBottom:r.legendItemMarginBottom,padding:r.legendPadding}}function Iy(r){var e,t={point:{default:{fill:r.pointFillColor,r:r.pointSize,stroke:r.pointBorderColor,lineWidth:r.pointBorder,fillOpacity:r.pointFillOpacity},active:{stroke:r.pointActiveBorderColor,lineWidth:r.pointActiveBorder},selected:{stroke:r.pointSelectedBorderColor,lineWidth:r.pointSelectedBorder},inactive:{fillOpacity:r.pointInactiveFillOpacity,strokeOpacity:r.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:r.hollowPointFillColor,lineWidth:r.hollowPointBorder,stroke:r.hollowPointBorderColor,strokeOpacity:r.hollowPointBorderOpacity,r:r.hollowPointSize},active:{stroke:r.hollowPointActiveBorderColor,strokeOpacity:r.hollowPointActiveBorderOpacity},selected:{lineWidth:r.hollowPointSelectedBorder,stroke:r.hollowPointSelectedBorderColor,strokeOpacity:r.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:r.hollowPointInactiveBorderOpacity}},area:{default:{fill:r.areaFillColor,fillOpacity:r.areaFillOpacity,stroke:null},active:{fillOpacity:r.areaActiveFillOpacity},selected:{fillOpacity:r.areaSelectedFillOpacity},inactive:{fillOpacity:r.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:r.hollowAreaBorderColor,lineWidth:r.hollowAreaBorder,strokeOpacity:r.hollowAreaBorderOpacity},active:{fill:null,lineWidth:r.hollowAreaActiveBorder},selected:{fill:null,lineWidth:r.hollowAreaSelectedBorder},inactive:{strokeOpacity:r.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:r.intervalFillColor,fillOpacity:r.intervalFillOpacity},active:{stroke:r.intervalActiveBorderColor,lineWidth:r.intervalActiveBorder},selected:{stroke:r.intervalSelectedBorderColor,lineWidth:r.intervalSelectedBorder},inactive:{fillOpacity:r.intervalInactiveFillOpacity,strokeOpacity:r.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:r.hollowIntervalFillColor,stroke:r.hollowIntervalBorderColor,lineWidth:r.hollowIntervalBorder,strokeOpacity:r.hollowIntervalBorderOpacity},active:{stroke:r.hollowIntervalActiveBorderColor,lineWidth:r.hollowIntervalActiveBorder,strokeOpacity:r.hollowIntervalActiveBorderOpacity},selected:{stroke:r.hollowIntervalSelectedBorderColor,lineWidth:r.hollowIntervalSelectedBorder,strokeOpacity:r.hollowIntervalSelectedBorderOpacity},inactive:{stroke:r.hollowIntervalInactiveBorderColor,lineWidth:r.hollowIntervalInactiveBorder,strokeOpacity:r.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:r.lineBorderColor,lineWidth:r.lineBorder,strokeOpacity:r.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:r.lineActiveBorder},selected:{lineWidth:r.lineSelectedBorder},inactive:{strokeOpacity:r.lineInactiveBorderOpacity}}},i=sF(r),n=lF(r);return{background:r.backgroundColor,defaultColor:r.brandColor,subColor:r.subColor,semanticRed:r.paletteSemanticRed,semanticGreen:r.paletteSemanticGreen,padding:"auto",fontFamily:r.fontFamily,columnWidthRatio:1/2,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:r.paletteQualitative10,colors20:r.paletteQualitative20,sequenceColors:r.paletteSequence,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:function(a){var o=a.geometry.coordinate;if(o.isPolar&&o.isTransposed){var s=ga(a.getModel(),o),l=s.startAngle,u=s.endAngle,c=(l+u)/2,h=7.5,f=h*Math.cos(c),v=h*Math.sin(c);return{matrix:Rt(null,[["t",f,v]])}}return t.interval.selected}}},"hollow-rect":{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},line:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},tick:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},funnel:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}},pyramid:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},line:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},dot:{default:{style:m(m({},t.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:m(m({},t.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:m(m({},t.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:m(m({},t.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:m(m({},t.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:m(m({},t.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:m(m({},t.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:m(m({},t.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hvh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},polygon:{polygon:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},point:{circle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},square:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},bowtie:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},diamond:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},hexagon:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},triangle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"triangle-down":{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"hollow-circle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-square":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-bowtie":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-diamond":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-hexagon":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle-down":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},cross:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},tick:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},plus:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},hyphen:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},line:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}}},area:{area:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},smooth:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},line:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"smooth-line":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}},schema:{candle:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},box:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}}},edge:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},arc:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},violin:{violin:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hollow:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"hollow-smooth":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}}},components:{axis:{common:i,top:{position:"top",grid:null,title:null,verticalLimitLength:1/2},bottom:{position:"bottom",grid:null,title:null,verticalLimitLength:1/2},left:{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3},right:{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3},circle:{title:null,grid:H({},i.grid,{line:{type:"line"}})},radius:{title:null,grid:H({},i.grid,{line:{type:"circle"}})}},legend:{common:n,right:{layout:"vertical",padding:r.legendVerticalPadding},left:{layout:"vertical",padding:r.legendVerticalPadding},top:{layout:"horizontal",padding:r.legendHorizontalPadding},bottom:{layout:"horizontal",padding:r.legendHorizontalPadding},continuous:{title:null,background:null,track:{},rail:{type:"color",size:r.sliderRailHeight,defaultLength:r.sliderRailWidth,style:{fill:r.sliderRailFillColor,stroke:r.sliderRailBorderColor,lineWidth:r.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:r.sliderLabelTextFillColor,fontSize:r.sliderLabelTextFontSize,lineHeight:r.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily}},handler:{size:r.sliderHandlerWidth,style:{fill:r.sliderHandlerFillColor,stroke:r.sliderHandlerBorderColor}},slidable:!0,padding:n.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:r.tooltipCrosshairsBorderColor,lineWidth:r.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e["".concat(wr)]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:r.tooltipContainerFillColor,opacity:r.tooltipContainerFillOpacity,boxShadow:r.tooltipContainerShadow,borderRadius:"".concat(r.tooltipContainerBorderRadius,"px"),color:r.tooltipTextFillColor,fontSize:"".concat(r.tooltipTextFontSize,"px"),fontFamily:r.fontFamily,lineHeight:"".concat(r.tooltipTextLineHeight,"px"),padding:"0 12px 0 12px"},e["".concat(br)]={marginBottom:"12px",marginTop:"12px"},e["".concat(pa)]={margin:0,listStyleType:"none",padding:0},e["".concat(Gs)]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e["".concat(Vs)]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e["".concat(Ys)]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:r.annotationArcBorderColor,lineWidth:r.annotationArcBorder},animate:!0},line:{style:{stroke:r.annotationLineBorderColor,lineDash:r.annotationLineDash,lineWidth:r.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textAlign:"start",fontFamily:r.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:r.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:r.annotationRegionBorder,stroke:r.annotationRegionBorderColor,fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:r.brandColor,lineWidth:2}},line:{style:{stroke:r.annotationLineBorderColor,lineWidth:r.annotationLineBorder},length:r.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8],backgroundStyle:{fill:r.cSliderBackgroundFillColor,opacity:r.cSliderBackgroundFillOpacity},foregroundStyle:{fill:r.cSliderForegroundFillColor,opacity:r.cSliderForegroundFillOpacity},handlerStyle:{width:r.cSliderHandlerWidth,height:r.cSliderHandlerHeight,fill:r.cSliderHandlerFillColor,opacity:r.cSliderHandlerFillOpacity,stroke:r.cSliderHandlerBorderColor,lineWidth:r.cSliderHandlerBorder,radius:r.cSliderHandlerBorderRadius,highLightFill:r.cSliderHandlerHighlightFillColor},textStyle:{fill:r.cSliderTextFillColor,opacity:r.cSliderTextFillOpacity,fontSize:r.cSliderTextFontSize,lineHeight:r.cSliderTextLineHeight,fontWeight:r.cSliderTextFontWeight,stroke:r.cSliderTextBorderColor,lineWidth:r.cSliderTextBorder}}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:r.scrollbarTrackFillColor,thumbColor:r.scrollbarThumbFillColor}},hover:{style:{thumbColor:r.scrollbarThumbHighlightFillColor}}}},labels:{offset:12,style:{fill:r.labelFillColor,fontSize:r.labelFontSize,fontFamily:r.fontFamily,stroke:r.labelBorderColor,lineWidth:r.labelBorder},fillColorDark:r.labelFillColorDark,fillColorLight:r.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:r.innerLabelFillColor,fontSize:r.innerLabelFontSize,fontFamily:r.fontFamily,stroke:r.innerLabelBorderColor,lineWidth:r.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:r.overflowLabelFillColor,fontSize:r.overflowLabelFontSize,fontFamily:r.fontFamily,stroke:r.overflowLabelBorderColor,lineWidth:r.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:r.labelLineBorder}},autoRotate:!0}}}var vt={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},Ni={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},uF=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],cF=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],hF=["#B8E1FF","#9AC5FF","#7DAAFF","#5B8FF9","#3D76DD","#085EC0","#0047A5","#00318A","#001D70"],Py=function(r){r===void 0&&(r={});var e=r.paletteQualitative10,t=e===void 0?uF:e,i=r.paletteQualitative20,n=i===void 0?cF:i,a=r.brandColor,o=a===void 0?t[0]:a,s={backgroundColor:"transparent",brandColor:o,subColor:"rgba(0,0,0,0.05)",paletteQualitative10:t,paletteQualitative20:n,paletteSemanticRed:"#F4664A",paletteSemanticGreen:"#30BF78",paletteSemanticYellow:"#FAAD14",paletteSequence:hF,fontFamily:`"Segoe UI", Roboto, "Helvetica Neue", Arial, + "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", + "Noto Color Emoji"`,axisLineBorderColor:vt[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:vt[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisDescriptionIconFillColor:Ni[85],axisTickLineBorderColor:vt[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:vt[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:vt[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:vt[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:vt[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:o,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:vt[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],legendPageNavigatorMarkerSize:12,legendPageNavigatorMarkerInactiveFillColor:vt[100],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:vt[100],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:vt[45],legendPageNavigatorTextFontSize:12,sliderRailFillColor:vt[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:vt[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:vt[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:vt[25],annotationArcBorderColor:vt[15],annotationArcBorder:1,annotationLineBorderColor:vt[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:vt[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:vt[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:vt[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:vt[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:vt[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Ni[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:vt[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:Ni[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:vt[25],cSliderRailHieght:16,cSliderBackgroundFillColor:"#416180",cSliderBackgroundFillOpacity:.05,cSliderForegroundFillColor:"#5B8FF9",cSliderForegroundFillOpacity:.15,cSliderHandlerHeight:24,cSliderHandlerWidth:10,cSliderHandlerFillColor:"#F7F7F7",cSliderHandlerFillOpacity:1,cSliderHandlerHighlightFillColor:"#FFF",cSliderHandlerBorderColor:"#BFBFBF",cSliderHandlerBorder:1,cSliderHandlerBorderRadius:2,cSliderTextFillColor:"#000",cSliderTextFillOpacity:.45,cSliderTextFontSize:12,cSliderTextLineHeight:12,cSliderTextFontWeight:"normal",cSliderTextBorderColor:null,cSliderTextBorder:0,scrollbarTrackFillColor:"rgba(0,0,0,0)",scrollbarThumbFillColor:"rgba(0,0,0,0.15)",scrollbarThumbHighlightFillColor:"rgba(0,0,0,0.2)",pointFillColor:o,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:Ni[100],pointBorderOpacity:1,pointActiveBorderColor:vt[100],pointSelectedBorder:2,pointSelectedBorderColor:vt[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:o,hollowPointBorderOpacity:.95,hollowPointFillColor:Ni[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:vt[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:vt[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:o,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:o,areaFillOpacity:.25,areaActiveFillColor:o,areaActiveFillOpacity:.5,areaSelectedFillColor:o,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:o,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:vt[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:vt[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:o,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:vt[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:vt[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:o,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Ni[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:vt[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:vt[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3};return m(m({},s),r)};Py();function rs(r){var e=r.styleSheet,t=e===void 0?{}:e,i=yt(r,["styleSheet"]),n=Py(t);return H({},Iy(n),i)}var fF=rs({}),Pu={default:fF};function Qn(r){return A(Pu,gn(r),Pu.default)}function vF(r,e){Pu[gn(r)]=rs(e)}function Ev(r,e,t){var i=t.translate(r),n=t.translate(e);return _t(i,n)}function dF(r,e){var t=e.coordinate,i=e.getXScale(),n=i.range,a=n[n.length-1],o=n[0],s=t.invert(r),l=s.x;return t.isPolar&&l>(1+a)/2&&(l=o),i.translate(i.invert(l))}function kv(r,e,t){var i=t.coordinate,n=t.getYScale(),a=n.field,o=i.invert(e),s=n.invert(o.y),l=Ve(r,function(u){var c=u[bt];return c[a][0]<=s&&c[a][1]>=s});return l||r[r.length-1]}var pF=yn(function(r){if(r.isCategory)return 1;for(var e=r.values,t=e.length,i=r.translate(e[0]),n=i,a=0;an&&(n=s)}return(n-i)/(t-1)});function gF(r,e,t){var i=e.getAttribute("position"),n=i.getFields(),a=e.scales,o=X(t)||!t?n[0]:t,s=a[o],l=s?s.getText(r[o]):r[o]||o;return X(t)?t(l,r):l}function yF(r){var e=gs(r.attributes);return jt(e,function(t){return oi(Xi,t.type)})}function Dy(r){var e,t,i=yF(r),n;try{for(var a=ht(i),o=a.next();!o.done;o=a.next()){var s=o.value,l=s.getScale(s.type);if(l&&l.isLinear){var u=A(r.scaleDefs,l.field),c=hy(l,u,s.type,r.type);if(c!=="cat"){n=l;break}}}}catch(v){e={error:v}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}var h=r.getXScale(),f=r.getYScale();return n||f||h}function mF(r,e){var t=e.field,i=r[t];if(R(i)){var n=i.map(function(a){return e.getText(a)});return n.join("-")}return e.getText(i)}function xF(r,e){var t,i=e.getGroupScales();if(i.length&&(t=i[0]),t){var n=t.field;return t.getText(r[n])}var a=Dy(e);return ya(a)}function Oy(r,e,t){if(e.length===0)return null;var i=t.type,n=t.getXScale(),a=t.getYScale(),o=n.field,s=a.field,l=null;if(i==="heatmap"||i==="point"){for(var u=t.coordinate,c=u.invert(r),h=n.invert(c.x),f=a.invert(c.y),v=1/0,d=0;d=w)if(T)R(l)||(l=[]),l.push(L);else{l=L;break}}R(l)&&(l=kv(l,r,t))}else{var k=void 0;if(!n.isLinear&&n.type!=="timeCat"){for(var d=0;dn.translate(F)||wn.max||wMath.abs(n.translate(k[bt][o])-w)&&(b=k)}var U=pF(t.getXScale());return!l&&Math.abs(n.translate(b[bt][o])-w)<=U/2&&(l=b),l}function Gc(r,e,t,i){var n,a;t===void 0&&(t=""),i===void 0&&(i=!1);var o=r[bt],s=gF(o,e,t),l=e.tooltipOption,u=e.theme.defaultColor,c=[],h,f;function v(L,k){if(i||!B(k)&&k!==""){var P={title:s,data:o,mappingData:r,name:L,value:k,color:r.color||u,marker:!0};c.push(P)}}if(pt(l)){var d=l.fields,p=l.callback;if(p){var g=d.map(function(L){return r[bt][L]}),y=p.apply(void 0,Z([],q(g),!1)),x=m({data:r[bt],mappingData:r,title:s,color:r.color||u,marker:!0},y);c.push(x)}else{var b=e.scales;try{for(var w=ht(d),S=w.next();!S.done;S=w.next()){var M=S.value;if(!B(o[M])){var F=b[M];h=ya(F),f=F.getText(o[M]),v(h,f)}}}catch(L){n={error:L}}finally{try{S&&!S.done&&(a=w.return)&&a.call(w)}finally{if(n)throw n.error}}}}else{var T=Dy(e);f=mF(o,T),h=xF(o,e),v(h,f)}return c}function Lv(r,e,t,i){var n,a,o=i.showNil,s=[],l=r.dataArray;if(!ge(l)){r.sort(l);try{for(var u=ht(l),c=u.next();!c.done;c=u.next()){var h=c.value,f=Oy(e,h,r);if(f){var v=r.getElementId(f),d=r.elementsMap[v];if(r.type==="heatmap"||d.visible){var p=Gc(f,r,t,o);p.length&&s.push(p)}}}}catch(g){n={error:g}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}return s}function Iv(r,e,t,i){var n=i.showNil,a=[],o=r.container,s=o.getShape(e.x,e.y);if(s&&s.get("visible")&&s.get("origin")){var l=s.get("origin").mappingData,u=Gc(l,r,t,n);u.length&&a.push(u)}return a}function Du(r,e,t){var i,n,a=[],o=r.geometries,s=t.shared,l=t.title,u=t.reversed;try{for(var c=ht(o),h=c.next();!h.done;h=c.next()){var f=h.value;if(f.visible&&f.tooltipOption!==!1){var v=f.type,d=void 0;["point","edge","polygon"].includes(v)?d=Iv(f,e,l,t):["area","line","path","heatmap"].includes(v)||s!==!1?d=Lv(f,e,l,t):d=Iv(f,e,l,t),d.length&&(u&&d.reverse(),a.push(d))}}}catch(p){i={error:p}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}return a}function wF(r,e,t){var i,n,a=Du(r,e,t);try{for(var o=ht(r.views),s=o.next();!s.done;s=o.next()){var l=s.value;a=a.concat(Du(l,e,t))}}catch(u){i={error:u}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function bF(r){return!rt(r)&&!R(r)}function Vc(r){r===void 0&&(r=0);var e=R(r)?r:[r];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=new Array(4).fill(e[0]);break;case 2:e=Z(Z([],q(e),!1),q(e),!1);break;case 3:e=Z(Z([],q(e),!1),[e[1]],!1);break;default:e=e.slice(0,4);break}return e}var Yc={};function Ii(r,e){Yc[r]=e}function SF(){return Object.keys(Yc)}function CF(r){return Yc[r]}var MF=function(){function r(e){this.option=this.wrapperOption(e)}return r.prototype.update=function(e){return this.option=this.wrapperOption(e),this},r.prototype.hasAction=function(e){var t=this.option.actions;return ps(t,function(i){return i[0]===e})},r.prototype.create=function(e,t){var i=this.option,n=i.type,a=i.cfg,o=n==="theta",s=m({start:e,end:t},a),l=UC(o?"polar":n);return this.coordinate=new l(s),this.coordinate.type=n,o&&(this.hasAction("transpose")||this.transpose()),this.execActions(),this.coordinate},r.prototype.adjust=function(e,t){return this.coordinate.update({start:e,end:t}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},r.prototype.rotate=function(e){return this.option.actions.push(["rotate",e]),this},r.prototype.reflect=function(e){return this.option.actions.push(["reflect",e]),this},r.prototype.scale=function(e,t){return this.option.actions.push(["scale",e,t]),this},r.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},r.prototype.getOption=function(){return this.option},r.prototype.getCoordinate=function(){return this.coordinate},r.prototype.wrapperOption=function(e){return m({type:"rect",actions:[],cfg:{}},e)},r.prototype.execActions=function(e){var t=this,i=this.option.actions;C(i,function(n){var a,o=q(n),s=o[0],l=o.slice(1),u=B(e)?!0:e.includes(s);u&&(a=t.coordinate)[s].apply(a,Z([],q(l),!1))})},r}(),Tt=function(){function r(e,t,i){this.view=e,this.gEvent=t,this.data=i,this.type=t.type}return r.fromData=function(e,t,i){return new r(e,new Ia(t,{}),i)},Object.defineProperty(r.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return"[Event (type=".concat(this.type,")]")},r.prototype.clone=function(){return new r(this.view,this.gEvent,this.data)},r}();function AF(r){var e=r.getController("axis"),t=r.getController("legend"),i=r.getController("annotation"),n=r.getController("slider"),a=r.getController("scrollbar");[e,n,a,t,i].forEach(function(o){o&&o.layout()})}var FF=function(){function r(){this.scales=new Map,this.syncScales=new Map}return r.prototype.createScale=function(e,t,i,n){var a=i,o=this.getScaleMeta(n);if(t.length===0&&o){var s=o.scale,l={type:s.type};s.isCategory&&(l.values=s.values),a=H(l,o.scaleDef,i)}var u=DA(e,t,a);return this.cacheScale(u,i,n),u},r.prototype.sync=function(e,t){var i=this;this.syncScales.forEach(function(n,a){var o=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,l=[];C(n,function(u){var c=i.getScale(u);s=rt(c.max)?Math.max(s,c.max):s,o=rt(c.min)?Math.min(o,c.min):o,C(c.values,function(h){l.includes(h)||l.push(h)})}),C(n,function(u){var c=i.getScale(u);if(c.isContinuous)c.change({min:o,max:s,values:l});else if(c.isCategory){var h=c.range,f=i.getScaleMeta(u);l&&!A(f,["scaleDef","range"])&&(h=fy(H({},c,{values:l}),e,t)),c.change({values:l,range:h})}})})},r.prototype.cacheScale=function(e,t,i){var n=this.getScaleMeta(i);n&&n.scale.type===e.type?(OA(n.scale,e),n.scaleDef=t):(n={key:i,scale:e,scaleDef:t},this.scales.set(i,n));var a=this.getSyncKey(n);if(n.syncKey=a,this.removeFromSyncScales(i),a){var o=this.syncScales.get(a);o||(o=[],this.syncScales.set(a,o)),o.push(i)}},r.prototype.getScale=function(e){var t=this.getScaleMeta(e);if(!t){var i=zt(e.split("-")),n=this.syncScales.get(i);n&&n.length&&(t=this.getScaleMeta(n[0]))}return t&&t.scale},r.prototype.deleteScale=function(e){var t=this.getScaleMeta(e);if(t){var i=t.syncKey,n=this.syncScales.get(i);if(n&&n.length){var a=n.indexOf(e);a!==-1&&n.splice(a,1)}}this.scales.delete(e)},r.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},r.prototype.removeFromSyncScales=function(e){var t=this;this.syncScales.forEach(function(i,n){var a=i.indexOf(e);if(a!==-1)return i.splice(a,1),i.length===0&&t.syncScales.delete(n),!1})},r.prototype.getSyncKey=function(e){var t=e.scale,i=e.scaleDef,n=t.field,a=A(i,["sync"]);return a===!0?n:a===!1?void 0:a},r.prototype.getScaleMeta=function(e){return this.scales.get(e)},r}(),Do=function(){function r(e,t,i,n){e===void 0&&(e=0),t===void 0&&(t=0),i===void 0&&(i=0),n===void 0&&(n=0),this.top=e,this.right=t,this.bottom=i,this.left=n}return r.instance=function(e,t,i,n){return e===void 0&&(e=0),t===void 0&&(t=0),i===void 0&&(i=0),n===void 0&&(n=0),new r(e,t,i,n)},r.prototype.max=function(e){var t=q(e,4),i=t[0],n=t[1],a=t[2],o=t[3];return this.top=Math.max(this.top,i),this.right=Math.max(this.right,n),this.bottom=Math.max(this.bottom,a),this.left=Math.max(this.left,o),this},r.prototype.shrink=function(e){var t=q(e,4),i=t[0],n=t[1],a=t[2],o=t[3];return this.top+=i,this.right+=n,this.bottom+=a,this.left+=o,this},r.prototype.inc=function(e,t){var i=e.width,n=e.height;switch(t){case G.TOP:case G.TOP_LEFT:case G.TOP_RIGHT:this.top+=n;break;case G.RIGHT:case G.RIGHT_TOP:case G.RIGHT_BOTTOM:this.right+=i;break;case G.BOTTOM:case G.BOTTOM_LEFT:case G.BOTTOM_RIGHT:this.bottom+=n;break;case G.LEFT:case G.LEFT_TOP:case G.LEFT_BOTTOM:this.left+=i;break}return this},r.prototype.getPadding=function(){return[this.top,this.right,this.bottom,this.left]},r.prototype.clone=function(){return new(r.bind.apply(r,Z([void 0],q(this.getPadding()),!1)))},r}();function TF(r){var e=r.padding;if(!bF(e))return new(Do.bind.apply(Do,Z([void 0],q(Vc(e)),!1)));var t=r.viewBBox,i=new Do,n=[],a=[],o=[];return C(r.getComponents(),function(s){var l=s.type;l===Yt.AXIS?n.push(s):[Yt.LEGEND,Yt.SLIDER,Yt.SCROLLBAR].includes(l)?a.push(s):l!==Yt.GRID&&l!==Yt.TOOLTIP&&o.push(s)}),C(n,function(s){var l=s.component,u=l.getLayoutBBox(),c=new se(u.x,u.y,u.width,u.height),h=c.exceed(t);i.max(h)}),C(a,function(s){var l=s.component,u=s.direction,c=l.getLayoutBBox(),h=l.get("padding"),f=new se(c.x,c.y,c.width,c.height).expand(h);i.inc(f,u)}),C(o,function(s){var l=s.component,u=s.direction,c=l.getLayoutBBox(),h=new se(c.x,c.y,c.width,c.height);i.inc(h,u)}),i}function EF(r,e,t){var i=t.instance();e.forEach(function(n){n.autoPadding=i.max(n.autoPadding.getPadding())})}var By=function(r){E(e,r);function e(t){var i=r.call(this,{visible:t.visible})||this;i.views=[],i.geometries=[],i.controllers=[],i.interactions={},i.limitInPlot=!1,i.options={data:[],animate:!0},i.usedControllers=SF(),i.scalePool=new FF,i.layoutFunc=AF,i.isPreMouseInPlot=!1,i.isDataChanged=!1,i.isCoordinateChanged=!1,i.createdScaleKeys=new Map,i.onCanvasEvent=function(b){var w=b.name;if(!w.includes(":")){var S=i.createViewEvent(b);i.doPlotEvent(S),i.emit(w,S)}},i.onDelegateEvents=function(b){var w=b.name;if(w.includes(":")){var S=i.createViewEvent(b);i.emit(w,S)}};var n=t.id,a=n===void 0?Qr("view"):n,o=t.parent,s=t.canvas,l=t.backgroundGroup,u=t.middleGroup,c=t.foregroundGroup,h=t.region,f=h===void 0?{start:{x:0,y:0},end:{x:1,y:1}}:h,v=t.padding,d=t.appendPadding,p=t.theme,g=t.options,y=t.limitInPlot,x=t.syncViewPadding;return i.parent=o,i.canvas=s,i.backgroundGroup=l,i.middleGroup=u,i.foregroundGroup=c,i.region=f,i.padding=v,i.appendPadding=d,i.options=m(m({},i.options),g),i.limitInPlot=y,i.id=a,i.syncViewPadding=x,i.themeObject=pt(p)?H({},Qn("default"),rs(p)):Qn(p),i.init(),i}return e.prototype.setLayout=function(t){this.layoutFunc=t},e.prototype.init=function(){this.calculateViewBBox(),this.initEvents(),this.initComponentController(),this.initOptions()},e.prototype.render=function(t,i){t===void 0&&(t=!1),this.emit(ot.BEFORE_RENDER,Tt.fromData(this,ot.BEFORE_RENDER,i)),this.paint(t),this.emit(ot.AFTER_RENDER,Tt.fromData(this,ot.AFTER_RENDER,i)),this.visible===!1&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(ot.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var i=this.geometries,n=0;n');k.appendChild(P);var O=Qh(k,l,a,o),z=Rw(f),V=new z.Canvas(m({container:P,pixelRatio:v,localRefresh:p,supportCSSTransform:b},O));return i=r.call(this,{parent:null,canvas:V,backgroundGroup:V.addGroup({zIndex:Ui.BG}),middleGroup:V.addGroup({zIndex:Ui.MID}),foregroundGroup:V.addGroup({zIndex:Ui.FORE}),padding:u,appendPadding:c,visible:y,options:M,limitInPlot:F,theme:T,syncViewPadding:L})||this,i.onResize=Mp(function(){i.forceFit()},300),i.ele=k,i.canvas=V,i.width=O.width,i.height=O.height,i.autoFit=l,i.localRefresh=p,i.renderer=f,i.wrapperElement=P,i.updateCanvasStyle(),i.bindAutoFit(),i.initDefaultInteractions(S),i}return e.prototype.initDefaultInteractions=function(t){var i=this;C(t,function(n){i.interaction(n)})},e.prototype.aria=function(t){var i="aria-label";t===!1?this.ele.removeAttribute(i):this.ele.setAttribute(i,t.label)},e.prototype.changeSize=function(t,i){return this.width===t&&this.height===i?this:(this.emit(ot.BEFORE_CHANGE_SIZE),this.width=t,this.height=i,this.canvas.changeSize(t,i),this.render(!0),this.emit(ot.AFTER_CHANGE_SIZE),this)},e.prototype.clear=function(){r.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),Hw(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(t){return r.prototype.changeVisible.call(this,t),this.wrapperElement.style.display=t?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=Qh(this.ele,!0,this.width,this.height),i=t.width,n=t.height;this.changeSize(i,n)}},e.prototype.updateCanvasStyle=function(){ee(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(By),bn=function(){function r(e){this.visible=!0,this.components=[],this.view=e}return r.prototype.clear=function(e){C(this.components,function(t){t.component.destroy()}),this.components=[]},r.prototype.destroy=function(){this.clear()},r.prototype.getComponents=function(){return this.components},r.prototype.changeVisible=function(e){this.visible!==e&&(this.components.forEach(function(t){e?t.component.show():t.component.hide()}),this.visible=e)},r}();function LF(r){for(var e=[],t=function(n){var a=r[n],o=Ve(e,function(s){return s.color===a.color&&s.name===a.name&&s.value===a.value&&s.title===a.title});o||e.push(a)},i=0;i1){var w=u[0],S=Math.abs(t.y-w[0].y);try{for(var M=ht(u),F=M.next();!F.done;F=M.next()){var T=F.value,L=Math.abs(t.y-T[0].y);L<=S&&(w=T,S=L)}}catch(k){s={error:k}}finally{try{F&&!F.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}u=[w]}return LF(Me(u))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set("region",{start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var i=this.tooltip.getContainer(),n=this.tooltip.get("capture");if(i&&n){var a=i.getBoundingClientRect(),o=a.x,s=a.y,l=a.width,u=a.height;return new se(o,s,l,u).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,i=t.getOptions().tooltip,n=this.processCustomContent(i),a=t.getTheme(),o=A(a,["components","tooltip"],{}),s=A(n,"enterable",o.enterable);return H({},o,n,{capture:!!(s||this.isLocked)})},e.prototype.processCustomContent=function(t){if(tn(t)||!A(t,"customContent"))return t;var i=t.customContent,n=function(a,o){var s=i(a,o)||"";return Q(s)?'
    '+s+"
    ":s};return m(m({},t),{customContent:n})},e.prototype.getTitle=function(t){var i=t[0].title||t[0].name;return this.title=i,i},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),i={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),a=new $s(m(m({parent:t.get("el").parentNode,region:i},n),{visible:!1,crosshairs:null}));a.init(),this.tooltip=a},e.prototype.renderTooltipMarkers=function(t,i){var n,a,o=this.getTooltipMarkersGroup(),s=this.view.getRootView(),l=s.limitInPlot;try{for(var u=ht(t),c=u.next();!c.done;c=u.next()){var h=c.value,f=h.x,v=h.y;if(l||o!=null&&o.getClip()){var d=Bc(s.getCoordinate()),p=d.type,g=d.attrs;o==null||o.setClip({type:p,attrs:g})}else o==null||o.setClip(void 0);var y=this.view.getTheme(),x=A(y,["components","tooltip","marker"],{}),b=m(m({fill:h.color,symbol:"circle",shadowColor:h.color},X(i)?m(m({},x),i(h)):i),{x:f,y:v});o.addShape("marker",{attrs:b})}}catch(w){n={error:w}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}},e.prototype.renderCrosshairs=function(t,i){var n=A(i,["crosshairs","type"],"x");n==="x"?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,i)):n==="y"?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,i)):n==="xy"&&(this.renderXCrosshairs(t,i),this.renderYCrosshairs(t,i))},e.prototype.renderXCrosshairs=function(t,i){var n=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(n.isRect)n.isTransposed?(a={x:n.start.x,y:t.y},o={x:n.end.x,y:t.y}):(a={x:t.x,y:n.end.y},o={x:t.x,y:n.start.y});else{var s=an(n,t),l=n.getCenter(),u=n.getRadius();o=Ot(l.x,l.y,u,s),a=l}var c=H({start:a,end:o,container:this.getTooltipCrosshairsGroup()},A(i,"crosshairs",{}),this.getCrosshairsText("x",t,i));delete c.type;var h=this.xCrosshair;h?h.update(c):(h=new iy(c),h.init()),h.render(),h.show(),this.xCrosshair=h},e.prototype.renderYCrosshairs=function(t,i){var n=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(n.isRect){var s=void 0,l=void 0;n.isTransposed?(s={x:t.x,y:n.end.y},l={x:t.x,y:n.start.y}):(s={x:n.start.x,y:t.y},l={x:n.end.x,y:t.y}),a={start:s,end:l},o="Line"}else a={center:n.getCenter(),radius:Hs(n,t),startAngle:n.startAngle,endAngle:n.endAngle},o="Circle";a=H({container:this.getTooltipCrosshairsGroup()},a,A(i,"crosshairs",{}),this.getCrosshairsText("y",t,i)),delete a.type;var u=this.yCrosshair;u?n.isRect&&u.get("type")==="circle"||!n.isRect&&u.get("type")==="line"?(u=new vv[o](a),u.init()):u.update(a):(u=new vv[o](a),u.init()),u.render(),u.show(),this.yCrosshair=u},e.prototype.getCrosshairsText=function(t,i,n){var a=A(n,["crosshairs","text"]),o=A(n,["crosshairs","follow"]),s=this.items;if(a){var l=this.getViewWithGeometry(this.view),u=s[0],c=l.getXScale(),h=l.getYScales()[0],f=void 0,v=void 0;if(o){var d=this.view.getCoordinate().invert(i);f=c.invert(d.x),v=h.invert(d.y)}else f=u.data[c.field],v=u.data[h.field];var p=t==="x"?f:v;return X(a)?a=a(t,p,s,i):a.content=p,{text:a}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:"tooltipGuide",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):(t=this.getGuideGroup().addGroup({name:"tooltipMarkersGroup"}),t.toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||(t=this.getGuideGroup().addGroup({name:"tooltipCrosshairsGroup",capture:!1}),t.toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.findItemsFromView=function(t,i){var n,a;if(t.getOptions().tooltip===!1)return[];var o=this.getTooltipCfg(),s=Du(t,i,o);try{for(var l=ht(t.views),u=l.next();!u.done;u=l.next()){var c=u.value;s=s.concat(this.findItemsFromView(c,i))}}catch(h){n={error:h}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}return s},e.prototype.getViewWithGeometry=function(t){var i=this;return t.geometries.length?t:Ve(t.views,function(n){return i.getViewWithGeometry(n)})},e.prototype.getItemsAfterProcess=function(t){var i=this.getTooltipCfg().customItems,n=i||function(a){return a};return n(t)},e}(bn),zy={};function Ny(r){return zy[r.toLowerCase()]}function Ae(r,e){zy[r.toLowerCase()]=e}var sn={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},IF={interval:function(r){return{enter:{animation:r.isRect?r.isTransposed?"scale-in-x":"scale-in-y":"fade-in"},update:{animation:r.isPolar&&r.isTransposed?"sector-path-update":null},leave:{animation:"fade-out"}}},line:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},path:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},point:{appear:{animation:"zoom-in"},enter:{animation:"zoom-in"},leave:{animation:"zoom-out"}},area:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},polygon:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},schema:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},edge:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},label:{appear:{animation:"fade-in",delay:450},enter:{animation:"fade-in"},update:{animation:"position-update"},leave:{animation:"fade-out"}}},Pv={line:function(){return{animation:"wave-in"}},area:function(){return{animation:"wave-in"}},path:function(){return{animation:"fade-in"}},interval:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":(e="grow-in-xy",r.isPolar&&r.isTransposed&&(e="wave-in")),{animation:e}},schema:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":e="grow-in-xy",{animation:e}},polygon:function(){return{animation:"fade-in",duration:500}},edge:function(){return{animation:"fade-in"}}};function PF(r,e){return{delay:X(r.delay)?r.delay(e):r.delay,easing:X(r.easing)?r.easing(e):r.easing,duration:X(r.duration)?r.duration(e):r.duration,callback:r.callback,repeat:r.repeat}}function Gy(r,e,t){var i=IF[r];return i&&(X(i)&&(i=i(e)),i=H({},sn,i),t)?i[t]:i}function Qi(r,e,t){var i=A(r.get("origin"),"data",bt),n=e.animation,a=PF(e,i);if(n){var o=Ny(n);o&&o(r,a,t)}else r.animate(t.toAttrs,a)}function DF(r,e,t,i,n){if(Pv[t]){var a=Pv[t](i),o=Ny(A(a,"animation",""));if(o){var s=m(m(m({},sn.appear),a),e);r.stopAnimate(),o(r,s,{coordinate:i,minYPoint:n,toAttrs:null})}}}var $c="element-background",Vy=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;i.labelShape=[],i.states=[];var n=t.shapeFactory,a=t.container,o=t.offscreenGroup,s=t.elementIndex,l=t.visible,u=l===void 0?!0:l;return i.shapeFactory=n,i.container=a,i.offscreenGroup=o,i.visible=u,i.elementIndex=s,i}return e.prototype.draw=function(t,i){i===void 0&&(i=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,i),this.visible===!1&&this.changeVisible(!1)},e.prototype.update=function(t){var i=this,n=i.shapeFactory,a=i.shape;if(a){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(a,t);var o=this.getOffscreenGroup(),s=n.drawShape(this.shapeType,t,o);s.cfg.data=this.data,s.cfg.origin=t,s.cfg.element=this,this.syncShapeStyle(a,s,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var t=this,i=t.shapeFactory,n=t.shape;if(n){var a=this.getAnimateCfg("leave");a?Qi(n,a,{coordinate:i.coordinate,toAttrs:m({},n.attr())}):n.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=[],this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,r.prototype.destroy.call(this)},e.prototype.changeVisible=function(t){r.prototype.changeVisible.call(this,t),t?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(i){i.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(i){i.hide()}))},e.prototype.setState=function(t,i){var n=this,a=n.states,o=n.shapeFactory,s=n.model,l=n.shape,u=n.shapeType,c=a.indexOf(t);if(i){if(c>-1)return;a.push(t),(t==="active"||t==="selected")&&(l==null||l.toFront())}else{if(c===-1)return;if(a.splice(c,1),t==="active"||t==="selected"){var h=this.geometry,f=h.sortZIndex,v=h.zIndexReversed,d=v?this.geometry.elements.length-this.elementIndex:this.elementIndex;f?l.setZIndex(d):l.set("zIndex",d)}}var p=o.drawShape(u,s,this.getOffscreenGroup());a.length?this.syncShapeStyle(l,p,a,null):this.syncShapeStyle(l,p,["reset"],null),p.remove(!0);var g={state:t,stateStatus:i,element:this,target:this.container};this.container.emit("statechange",g),Hg(this.shape,"statechange",g)},e.prototype.clearStates=function(){var t=this,i=this.states;C(i,function(n){t.setState(n,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this,i=t.shape,n=t.labelShape,a={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return i&&(a=i.getCanvasBBox()),n&&n.forEach(function(o){var s=o.getCanvasBBox();a.x=Math.min(s.x,a.x),a.y=Math.min(s.y,a.y),a.minX=Math.min(s.minX,a.minX),a.minY=Math.min(s.minY,a.minY),a.maxX=Math.max(s.maxX,a.maxX),a.maxY=Math.max(s.maxY,a.maxY)}),a.width=a.maxX-a.minX,a.height=a.maxY-a.minY,a},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,i=t.shapeType,n=t.geometry,a=t.shapeFactory,o=n.stateOption,s=a.defaultShapeType,l=a.theme[i]||a.theme[s];this.statesStyle=H({},l,o)}return this.statesStyle},e.prototype.getStateStyle=function(t,i){var n=this.getStatesStyle(),a=A(n,[t,"style"],{}),o=a[i]||a;return X(o)?o(this):o},e.prototype.getAnimateCfg=function(t){var i=this,n=this.animate;if(n){var a=n[t];return a&&m(m({},a),{callback:function(){var o;X(a.callback)&&a.callback(),(o=i.geometry)===null||o===void 0||o.emit(zr.AFTER_DRAW_ANIMATE)}})}return null},e.prototype.drawShape=function(t,i){var n;i===void 0&&(i=!1);var a=this,o=a.shapeFactory,s=a.container,l=a.shapeType;if(this.shape=o.drawShape(l,t,s),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?Q(u)&&(this.shape.cfg.name=["element",u]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var c=i?"enter":"appear",h=this.getAnimateCfg(c);h&&((n=this.geometry)===null||n===void 0||n.emit(zr.BEFORE_DRAW_ANIMATE),Qi(this.shape,h,{coordinate:o.coordinate,toAttrs:m({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,i){var n=this;if(t.cfg.origin=i,t.cfg.element=this,t.isGroup()){var a=t.get("children");a.forEach(function(o){n.setShapeInfo(o,i)})}},e.prototype.syncShapeStyle=function(t,i,n,a,o){var s=this,l;if(n===void 0&&(n=[]),o===void 0&&(o=0),!(!t||!i)){var u=t.get("clipShape"),c=i.get("clipShape");if(this.syncShapeStyle(u,c,n,a),t.isGroup())for(var h=t.get("children"),f=i.get("children"),v=0;v=0?a=i:n<=0?a=n:a=0,a},e.prototype.createAttrOption=function(t,i,n){if(B(i)||pt(i))pt(i)&&Pt(Object.keys(i),["values"])?Bt(this.attributeOption,t,{fields:i.values}):Bt(this.attributeOption,t,i);else{var a={};rt(i)?a.values=[i]:a.fields=Pn(i),n&&(X(n)?a.callback=n:a.values=n),Bt(this.attributeOption,t,a)}},e.prototype.initAttributes=function(){var t=this,i=this,n=i.attributes,a=i.attributeOption,o=i.theme,s=i.shapeType;this.groupScales=[];var l={},u=function(f){if(a.hasOwnProperty(f)){var v=a[f];if(!v)return{value:void 0};var d=m({},v),p=d.callback,g=d.values,y=d.fields,x=y===void 0?[]:y,b=x.map(function(S){var M=t.scales[S];if(!l[S]&&Xi.includes(f)){var F=hy(M,A(t.scaleDefs,S),f,t.type);F==="cat"&&(t.groupScales.push(M),l[S]=!0)}return M});d.scales=b,f!=="position"&&b.length===1&&b[0].type==="identity"?d.values=b[0].values:!p&&!g&&(f==="size"?d.values=o.sizes:f==="shape"?d.values=o.shapes[s]||[]:f==="color"&&(b.length?d.values=b[0].values.length<=10?o.colors10:o.colors20:d.values=o.colors10));var w=Vg(f);n[f]=new w(d)}};for(var c in a){var h=u(c);if(typeof h=="object")return h.value}},e.prototype.processData=function(t){var i,n;this.hasSorted=!1;for(var a=this.getAttribute("position").scales,o=a.filter(function(F){return F.isCategory}),s=this.groupData(t),l=[],u=0,c=s.length;us&&(s=h)}var f=this.scaleDefs,v={};ot.max&&!A(f,[a,"max"])&&(v.max=s),t.change(v)},e.prototype.beforeMapping=function(t){var i=t;if(this.sortable&&this.sort(i),this.generatePoints)for(var n=0,a=i.length;n1)for(var f=0;f0})}function _y(r,e,t){var i=t.data,n=t.origin,a=t.animateCfg,o=t.coordinate,s=A(a,"update");r.set("data",i),r.set("origin",n),r.set("animateCfg",a),r.set("coordinate",o),r.set("visible",e.get("visible")),(r.getChildren()||[]).forEach(function(l,u){var c=e.getChildByIndex(u);if(!c)r.removeChild(l),l.remove(!0);else{l.set("data",i),l.set("origin",n),l.set("animateCfg",a),l.set("coordinate",o);var h=cy(l,c);s?Qi(l,s,{toAttrs:h,coordinate:o}):l.attr(h),c.isGroup()&&_y(l,c,t)}}),C(e.getChildren(),function(l,u){u>=r.getCount()&&(l.destroyed||r.add(l))})}var HF=function(){function r(e){this.shapesMap={};var t=e.layout,i=e.container;this.layout=t,this.container=i}return r.prototype.render=function(e,t,i){return i===void 0&&(i=!1),ra(this,void 0,void 0,function(){var n,a,o,s,l,u,c,h,f=this;return ia(this,function(v){switch(v.label){case 0:if(n={},a=this.createOffscreenGroup(),!e.length)return[3,2];try{for(o=ht(e),s=o.next();!s.done;s=o.next())l=s.value,l&&(n[l.id]=this.renderLabel(l,a))}catch(d){c={error:d}}finally{try{s&&!s.done&&(h=o.return)&&h.call(o)}finally{if(c)throw c.error}}return[4,this.doLayout(e,t,n)];case 1:v.sent(),this.renderLabelLine(e,n),this.renderLabelBackground(e,n),this.adjustLabel(e,n),v.label=2;case 2:return u=this.shapesMap,C(n,function(d,p){if(d.destroyed)delete n[p];else{if(u[p]){var g=d.get("data"),y=d.get("origin"),x=d.get("coordinate"),b=d.get("animateCfg"),w=u[p];_y(w,n[p],{data:g,origin:y,animateCfg:b,coordinate:x}),n[p]=w}else{if(f.container.destroyed)return;f.container.add(d);var S=A(d.get("animateCfg"),i?"enter":"appear");S&&Qi(d,S,{toAttrs:m({},d.attr()),coordinate:d.get("coordinate")})}delete u[p]}}),C(u,function(d){var p=A(d.get("animateCfg"),"leave");p?Qi(d,p,{toAttrs:null,coordinate:d.get("coordinate")}):d.remove(!0)}),this.shapesMap=n,a.destroy(),[2]}})})},r.prototype.clear=function(){this.container.clear(),this.shapesMap={}},r.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null},r.prototype.renderLabel=function(e,t){var i=e.id,n=e.elementId,a=e.data,o=e.mappingData,s=e.coordinate,l=e.animate,u=e.content,c=e.capture,h={id:i,elementId:n,capture:c,data:a,origin:m(m({},o),{data:o[bt]}),coordinate:s},f=t.addGroup(m({name:"label",animateCfg:this.animate===!1||l===null||l===!1?!1:H({},this.animate,l)},h)),v;if(u.isGroup&&u.isGroup()||u.isShape&&u.isShape()){var d=u.getCanvasBBox(),p=d.width,g=d.height,y=A(e,"textAlign","left"),x=e.x,b=e.y-g/2;y==="center"?x=x-p/2:(y==="right"||y==="end")&&(x=x-p),Na(u,x,b),v=u,f.add(u)}else{var w=A(e,["style","fill"]);v=f.addShape("text",m({attrs:m(m({x:e.x,y:e.y,textAlign:e.textAlign,textBaseline:A(e,"textBaseline","middle"),text:e.content},e.style),{fill:Cw(w)?e.color:w})},h))}return e.rotate&&Xc(v,e.rotate),f},r.prototype.doLayout=function(e,t,i){return ra(this,void 0,void 0,function(){var n,a=this;return ia(this,function(o){switch(o.label){case 0:return this.layout?(n=R(this.layout)?this.layout:[this.layout],[4,Promise.all(n.map(function(s){var l=BF(A(s,"type",""));if(l){var u=[],c=[];return C(i,function(h,f){u.push(h),c.push(t[h.get("elementId")])}),l(e,u,c,a.region,s.cfg)}}))]):[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}})})},r.prototype.renderLabelLine=function(e,t){C(e,function(i){var n=A(i,"coordinate");if(!(!i||!n)){var a=n.getCenter(),o=n.getRadius();if(i.labelLine){var s=A(i,"labelLine",{}),l=i.id,u=s.path;if(!u){var c=Ot(a.x,a.y,o,i.angle);u=[["M",c.x,c.y],["L",i.x,i.y]]}var h=t[l];h.destroyed||h.addShape("path",{capture:!1,attrs:m({path:u,stroke:i.color?i.color:A(i,["style","fill"],"#000"),fill:null},s.style),id:l,origin:i.mappingData,data:i.data,coordinate:i.coordinate})}}})},r.prototype.renderLabelBackground=function(e,t){C(e,function(i){var n=A(i,"coordinate"),a=A(i,"background");if(!(!a||!n)){var o=i.id,s=t[o];if(!s.destroyed){var l=s.getChildren()[0];if(l){var u=Wy(s,i,a.padding),c=u.rotation,h=yt(u,["rotation"]),f=s.addShape("rect",{attrs:m(m({},h),a.style||{}),id:o,origin:i.mappingData,data:i.data,coordinate:i.coordinate});if(f.setZIndex(-1),c){var v=l.getMatrix();f.setMatrix(v)}}}}})},r.prototype.createOffscreenGroup=function(){var e=this.container,t=e.getGroupBase(),i=new t({});return i},r.prototype.adjustLabel=function(e,t){C(e,function(i){if(i){var n=i.id,a=t[n];if(!a.destroyed){var o=a.findAll(function(s){return s.get("type")!=="path"});C(o,function(s){s&&(i.offsetX&&s.attr("x",s.attr("x")+i.offsetX),i.offsetY&&s.attr("y",s.attr("y")+i.offsetY))})}}})},r}();function Ov(r){var e=0;return C(r,function(t){e+=t}),e/r.length}var Us=function(){function r(e){this.geometry=e}return r.prototype.getLabelItems=function(e){var t=this,i=[],n=this.getLabelCfgs(e);return C(e,function(a,o){var s=n[o];if(!s||B(a.x)||B(a.y)){i.push(null);return}var l=R(s.content)?s.content:[s.content];s.content=l;var u=l.length;C(l,function(c,h){if(B(c)||c===""){i.push(null);return}var f=m(m({},s),t.getLabelPoint(s,a,h));f.textAlign||(f.textAlign=t.getLabelAlign(f,h,u)),f.offset<=0&&(f.labelLine=null),i.push(f)})}),i},r.prototype.render=function(e,t){return t===void 0&&(t=!1),ra(this,void 0,void 0,function(){var i,n,a;return ia(this,function(o){switch(o.label){case 0:return i=this.getLabelItems(e),n=this.getLabelsRenderer(),a=this.getGeometryShapes(),[4,n.render(i,a,t)];case 1:return o.sent(),[2]}})})},r.prototype.clear=function(){var e=this.labelsRenderer;e&&e.clear()},r.prototype.destroy=function(){var e=this.labelsRenderer;e&&e.destroy(),this.labelsRenderer=null},r.prototype.getCoordinate=function(){return this.geometry.coordinate},r.prototype.getDefaultLabelCfg=function(e,t){var i=this.geometry,n=i.type,a=i.theme;return n==="polygon"||n==="interval"&&t==="middle"||e<0&&!["line","point","path"].includes(n)?A(a,"innerLabels",{}):A(a,"labels",{})},r.prototype.getThemedLabelCfg=function(e){var t=this.geometry,i=this.getDefaultLabelCfg(),n=t.type,a=t.theme,o;return n==="polygon"||e.offset<0&&!["line","point","path"].includes(n)?o=H({},i,a.innerLabels,e):o=H({},i,a.labels,e),o},r.prototype.setLabelPosition=function(e,t,i,n){},r.prototype.getLabelOffset=function(e){var t=this.getCoordinate(),i=this.getOffsetVector(e);return t.isTransposed?i[0]:i[1]},r.prototype.getLabelOffsetPoint=function(e,t,i){var n=e.offset,a=this.getCoordinate(),o=a.isTransposed,s=o?"x":"y",l=o?1:-1,u={x:0,y:0};return t>0||i===1?u[s]=n*l:u[s]=n*l*-1,u},r.prototype.getLabelPoint=function(e,t,i){var n=this.getCoordinate(),a=e.content.length;function o(g,y,x){x===void 0&&(x=!1);var b=g;return R(b)&&(e.content.length===1?x?b=Ov(b):b.length<=2?b=b[g.length-1]:b=Ov(b):b=b[y]),b}var s={content:e.content[i],x:0,y:0,start:{x:0,y:0},color:"#fff"},l=R(t.shape)?t.shape[0]:t.shape,u=l==="funnel"||l==="pyramid";if(this.geometry.type==="polygon"){var c=AA(t.x,t.y);s.x=c[0],s.y=c[1]}else this.geometry.type==="interval"&&!u?(s.x=o(t.x,i,!0),s.y=o(t.y,i)):(s.x=o(t.x,i),s.y=o(t.y,i));if(u){var h=A(t,"nextPoints"),f=A(t,"points");if(h){var v=n.convert(f[1]),d=n.convert(h[1]);s.x=(v.x+d.x)/2,s.y=(v.y+d.y)/2}else if(l==="pyramid"){var v=n.convert(f[1]),d=n.convert(f[2]);s.x=(v.x+d.x)/2,s.y=(v.y+d.y)/2}}e.position&&this.setLabelPosition(s,t,i,e.position);var p=this.getLabelOffsetPoint(e,i,a);return s.start={x:s.x,y:s.y},s.x+=p.x,s.y+=p.y,s.color=t.color,s},r.prototype.getLabelAlign=function(e,t,i){var n="center",a=this.getCoordinate();if(a.isTransposed){var o=e.offset;o<0?n="right":o===0?n="center":n="left",i>1&&t===0&&(n==="right"?n="left":n==="left"&&(n="right"))}return n},r.prototype.getLabelId=function(e){var t=this.geometry,i=t.type,n=t.getXScale(),a=t.getYScale(),o=e[bt],s=t.getElementId(e);return i==="line"||i==="area"?s+=" ".concat(o[n.field]):i==="path"&&(s+=" ".concat(o[n.field],"-").concat(o[a.field])),s},r.prototype.getLabelsRenderer=function(){var e=this.geometry,t=e.labelsContainer,i=e.labelOption,n=e.canvasRegion,a=e.animateOption,o=this.geometry.coordinate,s=this.labelsRenderer;return s||(s=new HF({container:t,layout:A(i,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=s),s.region=n,s.animate=a?Gy("label",o):!1,s},r.prototype.getLabelCfgs=function(e){var t=this,i=this.geometry,n=i.labelOption,a=i.scales,o=i.coordinate,s=n,l=s.fields,u=s.callback,c=s.cfg,h=l.map(function(v){return a[v]}),f=[];return C(e,function(v,d){var p=v[bt],g=t.getLabelText(p,h),y;if(u){var x=l.map(function(F){return p[F]});if(y=u.apply(void 0,Z([],q(x),!1)),B(y)){f.push(null);return}}var b=m(m({id:t.getLabelId(v),elementId:t.geometry.getElementId(v),data:p,mappingData:v,coordinate:o},c),y);X(b.position)&&(b.position=b.position(p,v,d));var w=t.getLabelOffset(b.offset||0),S=t.getDefaultLabelCfg(w,b.position);b=H({},S,b),b.offset=t.getLabelOffset(b.offset||0);var M=b.content;X(M)?b.content=M(p,v,d):li(M)&&(b.content=g[0]),f.push(b)}),f},r.prototype.getLabelText=function(e,t){var i=[];return C(t,function(n){var a=e[n.field];R(a)?a=a.map(function(o){return n.getText(o)}):a=n.getText(a),B(a)||a===""?i.push(null):i.push(a)}),i},r.prototype.getOffsetVector=function(e){e===void 0&&(e=0);var t=this.getCoordinate(),i=0;return rt(e)&&(i=e),t.isTransposed?t.applyMatrix(i,0):t.applyMatrix(0,i)},r.prototype.getGeometryShapes=function(){var e=this.geometry,t={};return C(e.elementsMap,function(i,n){t[n]=i.shape}),C(e.getOffscreenGroup().getChildren(),function(i){var n=e.getElementId(i.get("origin").mappingData);t[n]=i}),t},r}();function Ou(r,e,t){if(!r)return t;var i;if(r.callback&&r.callback.length>1){var n=Array(r.callback.length-1).fill("");i=r.mapping.apply(r,Z([e],q(n),!1)).join("")}else i=r.mapping(e).join("");return i||t}var Fi={hexagon:function(r,e,t){var i=t/2*Math.sqrt(3);return[["M",r,e-t],["L",r+i,e-t/2],["L",r+i,e+t/2],["L",r,e+t],["L",r-i,e+t/2],["L",r-i,e-t/2],["Z"]]},bowtie:function(r,e,t){var i=t-1.5;return[["M",r-t,e-i],["L",r+t,e+i],["L",r+t,e-i],["L",r-t,e+i],["Z"]]},cross:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e+t],["M",r+t,e-t],["L",r-t,e+t]]},tick:function(r,e,t){return[["M",r-t/2,e-t],["L",r+t/2,e-t],["M",r,e-t],["L",r,e+t],["M",r-t/2,e+t],["L",r+t/2,e+t]]},plus:function(r,e,t){return[["M",r-t,e],["L",r+t,e],["M",r,e-t],["L",r,e+t]]},hyphen:function(r,e,t){return[["M",r-t,e],["L",r+t,e]]},line:function(r,e,t){return[["M",r,e-t],["L",r,e+t]]}},XF=["line","cross","tick","plus","hyphen"];function WF(r,e){return X(e)?e(r):H({},r,e)}function _F(r,e){var t=r.symbol;if(Q(t)&&XF.indexOf(t)!==-1){var i=A(r,"style",{}),n=A(i,"lineWidth",1),a=i.stroke||i.fill||e;r.style=H({},r.style,{lineWidth:n,stroke:a,fill:null})}}function qy(r){var e=r.symbol;Q(e)&&Fi[e]&&(r.symbol=Fi[e])}function Bl(r){return r.startsWith(G.LEFT)||r.startsWith(G.RIGHT)?"vertical":"horizontal"}function Uy(r,e,t,i,n){var a=t.getScale(t.type);if(a.isCategory){var o=a.field,s=e.getAttribute("color"),l=e.getAttribute("shape"),u=r.getTheme().defaultColor,c=e.coordinate.isPolar;return a.getTicks().map(function(h,f){var v,d=h.text,p=h.value,g=d,y=a.invert(p),x=r.filterFieldData(o,[(v={},v[o]=y,v)]).length===0;C(r.views,function(F){var T;F.filterFieldData(o,[(T={},T[o]=y,T)]).length||(x=!0)});var b=Ou(s,y,u),w=Ou(l,y,"point"),S=e.getShapeMarker(w,{color:b,isInPolar:c}),M=n;return X(M)&&(M=M(g,f,m({name:g,value:y},H({},i,S)))),S=H({},i,S,fe(m({},M),["style"])),_F(S,b),M&&M.style&&(S.style=WF(S.style,M.style)),qy(S),{id:y,name:g,value:y,marker:S,unchecked:x}})}return[]}function qF(r,e,t){return t.map(function(i,n){var a=e;X(a)&&(a=a(i.name,n,H({},r,i)));var o=X(i.marker)?i.marker(i.name,n,H({},r,i)):i.marker,s=H({},r,a,o);return qy(s),i.marker=s,i})}function Bv(r,e){var t=A(r,["components","legend"],{});return H({},A(t,["common"],{}),H({},A(t,[e],{})))}function Rl(r){return r?!1:r==null||isNaN(r)}function Rv(r){if(R(r))return Rl(r[1].y);var e=r.y;return R(e)?Rl(e[0]):Rl(e)}function js(r,e,t){if(e===void 0&&(e=!1),t===void 0&&(t=!0),!r.length||r.length===1&&!t)return[];if(e){for(var i=[],n=0,a=r.length;n=r&&n<=r+t&&a>=e&&a<=e+i}function wa(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=0&&n<1/2*Math.PI?(s={x:o.minX,y:o.minY},l={x:o.maxX,y:o.maxY}):1/2*Math.PI<=n&&n1&&(t*=Math.sqrt(v),i*=Math.sqrt(v));var d=t*t*(f*f)+i*i*(h*h),p=d?Math.sqrt((t*t*(i*i)-d)/d):1;a===o&&(p*=-1),isNaN(p)&&(p=0);var g=i?p*t*f/i:0,y=t?p*-i*h/t:0,x=(s+u)/2+Math.cos(n)*g-Math.sin(n)*y,b=(l+c)/2+Math.sin(n)*g+Math.cos(n)*y,w=[(h-g)/t,(f-y)/i],S=[(-1*h-g)/t,(-1*f-y)/i],M=Nv([1,0],w),F=Nv(w,S);return Ru(w,S)<=-1&&(F=Math.PI),Ru(w,S)>=1&&(F=0),o===0&&F>0&&(F=F-2*Math.PI),o===1&&F<0&&(F=F+2*Math.PI),{cx:x,cy:b,rx:zv(r,[u,c])?0:t,ry:zv(r,[u,c])?0:i,startAngle:M,endAngle:M+F,xRotation:n,arcFlag:a,sweepFlag:o}}var ns=Math.sin,as=Math.cos,_c=Math.atan2,uo=Math.PI;function im(r,e,t,i,n,a,o){var s=e.stroke,l=e.lineWidth,u=t-n,c=i-a,h=_c(c,u),f=new Qc({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*as(uo/6)+","+10*ns(uo/6)+" L0,0 L"+10*as(uo/6)+",-"+10*ns(uo/6),stroke:s,lineWidth:l}});f.translate(n,a),f.rotateAtPoint(n,a,h),r.set(o?"startArrowShape":"endArrowShape",f)}function nm(r,e,t,i,n,a,o){var s=e.startArrow,l=e.endArrow,u=e.stroke,c=e.lineWidth,h=o?s:l,f=h.d,v=h.fill,d=h.stroke,p=h.lineWidth,g=yt(h,["d","fill","stroke","lineWidth"]),y=t-n,x=i-a,b=_c(x,y);f&&(n=n-as(b)*f,a=a-ns(b)*f);var w=new Qc({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:m(m({},g),{stroke:d||u,lineWidth:p||c,fill:v})});w.translate(n,a),w.rotateAtPoint(n,a,b),r.set(o?"startArrowShape":"endArrowShape",w)}function xi(r,e,t,i,n){var a=_c(i-e,t-r);return{dx:as(a)*n,dy:ns(a)*n}}function qc(r,e,t,i,n,a){typeof e.startArrow=="object"?nm(r,e,t,i,n,a,!0):e.startArrow?im(r,e,t,i,n,a,!0):r.set("startArrowShape",null)}function Uc(r,e,t,i,n,a){typeof e.endArrow=="object"?nm(r,e,t,i,n,a,!1):e.endArrow?im(r,e,t,i,n,a,!1):r.set("startArrowShape",null)}var Gv={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function ln(r,e){var t=e.attr();for(var i in t){var n=t[i],a=Gv[i]?Gv[i]:i;a==="matrix"&&n?r.transform(n[0],n[1],n[3],n[4],n[6],n[7]):a==="lineDash"&&r.setLineDash?R(n)&&r.setLineDash(n):(a==="strokeStyle"||a==="fillStyle"?n=u2(r,e,n):a==="globalAlpha"&&(n=n*r.globalAlpha),r[a]=n)}}function zu(r,e,t){for(var i=0;iS?w:S,P=w>S?1:w/S,O=w>S?S/w:1;e.translate(x,b),e.rotate(T),e.scale(P,O),e.arc(0,0,k,M,F,1-L),e.scale(1/P,1/O),e.rotate(-T),e.translate(-x,-b)}break}case"Z":e.closePath();break}if(f==="Z")s=l;else{var z=h.length;s=[h[z-2],h[z-1]]}}}}function sm(r,e){var t=r.get("canvas");t&&(e==="remove"&&(r._cacheCanvasBBox=r.get("cacheCanvasBBox")),r.get("hasChanged")||(r.set("hasChanged",!0),r.cfg.parent&&r.cfg.parent.get("hasChanged")||(t.refreshElement(r,e,t),t.get("autoDraw")&&t.draw())))}function v2(r){var e;if(r.destroyed)e=r._cacheCanvasBBox;else{var t=r.get("cacheCanvasBBox"),i=t&&!!(t.width&&t.height),n=r.getCanvasBBox(),a=n&&!!(n.width&&n.height);i&&a?e=r2(t,n):i?e=t:a&&(e=n)}return e}function d2(r){if(!r.length)return null;var e=[],t=[],i=[],n=[];return C(r,function(a){var o=v2(a);o&&(e.push(o.minX),t.push(o.minY),i.push(o.maxX),n.push(o.maxY))}),{minX:re(e),minY:re(t),maxX:Qt(i),maxY:Qt(n)}}function p2(r,e){return!r||!e||!wa(r,e)?null:{minX:Math.max(r.minX,e.minX),minY:Math.max(r.minY,e.minY),maxX:Math.min(r.maxX,e.maxX),maxY:Math.min(r.maxY,e.maxY)}}var Zc=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onCanvasChange=function(t){sm(this,t)},e.prototype.getShapeBase=function(){return vs},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,i){i&&(t.save(),ln(t,i),i.createPath(t),t.restore(),t.clip(),i._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,i=[],n=[];C(t,function(f){var v=f.cfg.cacheCanvasBBox;v&&f.cfg.isInView&&(i.push(v.minX,v.maxX),n.push(v.minY,v.maxY))});var a=null;if(i.length){var o=re(i),s=Qt(i),l=re(n),u=Qt(n);a={minX:o,minY:l,x:o,y:l,maxX:s,maxY:u,width:s-o,height:u-l};var c=this.cfg.canvas;if(c){var h=c.getViewRange();this.set("isInView",wa(a,h))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",a)},e.prototype.draw=function(t,i){var n=this.cfg.children,a=i?this.cfg.refresh:!0;n.length&&a&&(t.save(),ln(t,this),this._applyClip(t,this.getClip()),zu(t,n,i),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(Cs),We=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return vs},e.prototype.getGroupBase=function(){return Zc},e.prototype.onCanvasChange=function(t){sm(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),i=this.getHitLineWidth(),n=As(t),a=n(this),o=i/2,s=a.x-o,l=a.y-o,u=a.x+a.width+o,c=a.y+a.height+o;return{x:s,minX:s,y:l,minY:l,width:a.width+i,height:a.height+i,maxX:u,maxY:c}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,i){i&&(t.save(),ln(t,i),i.createPath(t),t.restore(),t.clip(),i._afterDraw())},e.prototype.draw=function(t,i){var n=this.cfg.clipShape;if(i){if(this.cfg.refresh===!1){this.set("hasChanged",!1);return}var a=this.getCanvasBBox();if(!wa(i,a)){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}t.save(),ln(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var i=this.getCanvasBBox(),n=wa(i,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",i):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var i=this.attrs,n=i.lineWidth,a=i.opacity,o=i.strokeOpacity,s=i.fillOpacity;this.isFill()&&(!B(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.isStroke()&&n>0&&(!B(o)&&o!==1&&(t.globalAlpha=o),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,i){var n=this.isStroke(),a=this.isFill(),o=this.getHitLineWidth();return this.isInStrokeOrPath(t,i,n,a,o)},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(Ms),g2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=s.x,u=s.y,c=s.r,h=o/2,f=tm(l,u,t,i);return a&&n?f<=c+h:a?f<=c:n?f>=c-h&&f<=c+h:!1},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.r;t.beginPath(),t.arc(n,a,o,0,Math.PI*2,!1),t.closePath()},e}(We);function co(r,e,t,i){return r/(t*t)+e/(i*i)}var y2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=o/2,u=s.x,c=s.y,h=s.rx,f=s.ry,v=(t-u)*(t-u),d=(i-c)*(i-c);return a&&n?co(v,d,h+l,f+l)<=1:a?co(v,d,h,f)<=1:n?co(v,d,h-l,f-l)>=1&&co(v,d,h+l,f+l)<=1:!1},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.rx,s=i.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,a,o,s,0,0,Math.PI*2,!1);else{var l=o>s?o:s,u=o>s?1:o/s,c=o>s?s/o:1;t.save(),t.translate(n,a),t.scale(u,c),t.arc(0,0,l,0,Math.PI*2),t.restore(),t.closePath()}},e}(We);function Vv(r){return r instanceof HTMLElement&&Q(r.nodeName)&&r.nodeName.toUpperCase()==="CANVAS"}var m2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var i=this,n=this.attrs;if(Q(t)){var a=new Image;a.onload=function(){if(i.destroyed)return!1;i.attr("img",a),i.set("loading",!1),i._afterLoading();var o=i.get("callback");o&&o.call(i)},a.crossOrigin="Anonymous",a.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):Vv(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),t==="img"&&this._setImage(i)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var i=this.attr(),n=i.x,a=i.y,o=i.width,s=i.height,l=i.sx,u=i.sy,c=i.swidth,h=i.sheight,f=i.img;(f instanceof Image||Vv(f))&&(!B(l)&&!B(u)&&!B(c)&&!B(h)?t.drawImage(f,l,u,c,h,n,a,o,s):t.drawImage(f,n,a,o,s))},e}(We);function Br(r,e,t,i,n,a,o){var s=Math.min(r,t),l=Math.max(r,t),u=Math.min(e,i),c=Math.max(e,i),h=n/2;return a>=s-h&&a<=l+h&&o>=u-h&&o<=c+h?qt.pointToLine(r,e,t,i,a,o)<=n/2:!1}var x2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2,s=t.startArrow,l=t.endArrow;s&&qc(this,t,a,o,i,n),l&&Uc(this,t,i,n,a,o)},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){if(!n||!o)return!1;var s=this.attr(),l=s.x1,u=s.y1,c=s.x2,h=s.y2;return Br(l,u,c,h,o,t,i)},e.prototype.createPath=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2,l=i.startArrow,u=i.endArrow,c={dx:0,dy:0},h={dx:0,dy:0};l&&l.d&&(c=xi(n,a,o,s,i.startArrow.d)),u&&u.d&&(h=xi(n,a,o,s,i.endArrow.d)),t.beginPath(),t.moveTo(n+c.dx,a+c.dy),t.lineTo(o-h.dx,s-h.dy)},e.prototype.afterDrawPath=function(t){var i=this.get("startArrowShape"),n=this.get("endArrowShape");i&&i.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2;return qt.length(i,n,a,o)},e.prototype.getPoint=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2;return qt.pointAt(n,a,o,s,t)},e}(We),w2={circle:function(r,e,t){return[["M",r-t,e],["A",t,t,0,1,0,r+t,e],["A",t,t,0,1,0,r-t,e]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+i],["L",r,e-i],["L",r+t,e+i],["Z"]]},"triangle-down":function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-i],["L",r+t,e-i],["L",r,e+i],["Z"]]}},b2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),["symbol","x","y","r","radius"].indexOf(t)!==-1&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return B(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t=this.attr(),i=t.x,n=t.y,a=t.symbol||"circle",o=this._getR(t),s,l;if(X(a))s=a,l=s(i,n,o),l=pg(l);else{if(s=e.Symbols[a],!s)return console.warn(a+" marker is not supported."),null;l=s(i,n,o)}return l},e.prototype.createPath=function(t){var i=this._getPath(),n=this.get("paramsCache");om(this,t,{path:i},n)},e.Symbols=w2,e}(We);function lm(r,e,t){var i=Ts();return r.createPath(i),i.isPointInPath(e,t)}var S2=1e-6;function zl(r){return Math.abs(r)0!=zl(s[1]-t)>0&&zl(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(i=!i)}return i}function Yn(r,e,t,i,n,a,o,s){var l=(Math.atan2(s-e,o-r)+Math.PI*2)%(Math.PI*2);if(ln)return!1;var u={x:r+t*Math.cos(l),y:e+t*Math.sin(l)};return tm(u.x,u.y,o,s)<=a/2}var M2=Rt;function A2(r){for(var e=!1,t=r.length,i=0;ib?x:b,L=x>b?1:x/b,k=x>b?b/x:1,P=M2(null,[["t",-g,-y],["r",-M],["s",1/L,1/k]]);oa(F,F,P),a=Yn(0,0,T,w,S,e,F[0],F[1]);break}if(a)break}}return a}function T2(r){for(var e=r.length,t=[],i=[],n=[],a=0;a0&&i.push(n),{polygons:t,polylines:i}}const ho=m({hasArc:A2,extractPolygons:T2,isPointInStroke:F2},fc);function Yv(r,e,t){for(var i=!1,n=0;n=c[0]&&t<=c[1]&&(n=(t-c[0])/(c[1]-c[0]),a=h)});var s=o[a];if(B(s)||B(a))return null;var l=s.length,u=o[a+1];return _n.pointAt(s[l-2],s[l-1],u[1],u[2],u[3],u[4],u[5],u[6],n)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",ho.pathToCurve(t))},e.prototype._setTcache=function(){var t=0,i=0,n=[],a,o,s,l,u=this.get("curve");if(u){if(C(u,function(c,h){s=u[h+1],l=c.length,s&&(t+=_n.length(c[l-2],c[l-1],s[1],s[2],s[3],s[4],s[5],s[6])||0)}),this.set("totalLength",t),t===0){this.set("tCache",[]);return}C(u,function(c,h){s=u[h+1],l=c.length,s&&(a=[],a[0]=i/t,o=_n.length(c[l-2],c[l-1],s[1],s[2],s[3],s[4],s[5],s[6]),i+=o||0,a[1]=i/t,n.push(a))}),this.set("tCache",n)}},e.prototype.getStartTangent=function(){var t=this.getSegments(),i;if(t.length>1){var n=t[0].currentPoint,a=t[1].currentPoint,o=t[1].startTangent;i=[],o?(i.push([n[0]-o[0],n[1]-o[1]]),i.push([n[0],n[1]])):(i.push([a[0],a[1]]),i.push([n[0],n[1]]))}return i},e.prototype.getEndTangent=function(){var t=this.getSegments(),i=t.length,n;if(i>1){var a=t[i-2].currentPoint,o=t[i-1].currentPoint,s=t[i-1].endTangent;n=[],s?(n.push([o[0]-s[0],o[1]-s[1]]),n.push([o[0],o[1]])):(n.push([a[0],a[1]]),n.push([o[0],o[1]]))}return n},e}(We);function cm(r,e,t,i,n){var a=r.length;if(a<2)return!1;for(var o=0;o=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),qt.pointAt(i[o][0],i[o][1],i[o+1][0],i[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var i=this.getTotalLength();if(!(i<=0)){var n=0,a=[],o,s;C(t,function(l,u){t[u+1]&&(o=[],o[0]=n/i,s=qt.length(l[0],l[1],t[u+1][0],t[u+1][1]),n+=s,o[1]=n/i,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,i=[];return i.push([t[1][0],t[1][1]]),i.push([t[0][0],t[0][1]]),i},e.prototype.getEndTangent=function(){var t=this.attr().points,i=t.length-1,n=[];return n.push([t[i-1][0],t[i-1][1]]),n.push([t[i][0],t[i][1]]),n},e}(We);function L2(r,e,t,i,n,a,o){var s=n/2;return ci(r-s,e-s,t,n,a,o)||ci(r+t-s,e-s,n,i,a,o)||ci(r+s,e+i-s,t,n,a,o)||ci(r-s,e+s,n,i,a,o)}function I2(r,e,t,i,n,a,o,s){return Br(r+n,e,r+t-n,e,a,o,s)||Br(r+t,e+n,r+t,e+i-n,a,o,s)||Br(r+t-n,e+i,r+n,e+i,a,o,s)||Br(r,e+i-n,r,e+n,a,o,s)||Yn(r+t-n,e+n,n,1.5*Math.PI,2*Math.PI,a,o,s)||Yn(r+t-n,e+i-n,n,0,.5*Math.PI,a,o,s)||Yn(r+n,e+i-n,n,.5*Math.PI,Math.PI,a,o,s)||Yn(r+n,e+n,n,Math.PI,1.5*Math.PI,a,o,s)}var P2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=s.x,u=s.y,c=s.width,h=s.height,f=s.radius;if(f){var d=!1;return n&&(d=I2(l,u,c,h,f,o,t,i)),!d&&a&&(d=lm(this,t,i)),d}else{var v=o/2;if(a&&n)return ci(l-v,u-v,c+v,h+v,t,i);if(a)return ci(l,u,c,h,t,i);if(n)return L2(l,u,c,h,o,t,i)}},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.width,s=i.height,l=i.radius;if(t.beginPath(),l===0)t.rect(n,a,o,s);else{var u=c2(l),c=u[0],h=u[1],f=u[2],v=u[3];t.moveTo(n+c,a),t.lineTo(n+o-h,a),h!==0&&t.arc(n+o-h,a+h,h,-Math.PI/2,0),t.lineTo(n+o,a+s-f),f!==0&&t.arc(n+o-f,a+s-f,f,0,Math.PI/2),t.lineTo(n+v,a+s),v!==0&&t.arc(n+v,a+s-v,v,Math.PI/2,Math.PI),t.lineTo(n,a+c),c!==0&&t.arc(n+c,a+c,c,Math.PI,Math.PI*1.5),t.closePath()}},e}(We),D2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=ks(t)},e.prototype._setText=function(t){var i=null;Q(t)&&t.indexOf(` +`)!==-1&&(i=t.split(` +`)),this.set("textArr",i)},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),t.startsWith("font")&&this._assembleFont(),t==="text"&&this._setText(i)},e.prototype._getSpaceingY=function(){var t=this.attrs,i=t.lineHeight,n=t.fontSize*1;return i?i-n:n*.14},e.prototype._drawTextArr=function(t,i,n){var a=this.attrs,o=a.textBaseline,s=a.x,l=a.y,u=a.fontSize*1,c=this._getSpaceingY(),h=Es(a.text,a.fontSize,a.lineHeight),f;C(i,function(v,d){f=l+d*(c+u)-h+u,o==="middle"&&(f+=h-u-(h-u)/2),o==="top"&&(f+=h-u),B(v)||(n?t.fillText(v,s,f):t.strokeText(v,s,f))})},e.prototype._drawText=function(t,i){var n=this.attr(),a=n.x,o=n.y,s=this.get("textArr");if(s)this._drawTextArr(t,s,i);else{var l=n.text;B(l)||(i?t.fillText(l,a,o):t.strokeText(l,a,o))}},e.prototype.strokeAndFill=function(t){var i=this.attrs,n=i.lineWidth,a=i.opacity,o=i.strokeOpacity,s=i.fillOpacity;this.isStroke()&&n>0&&(!B(o)&&o!==1&&(t.globalAlpha=a),this.stroke(t)),this.isFill()&&(!B(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(We);function O2(r,e){if(e){var t=ws(e);return fr(t,r)}return r}function hm(r,e,t){var i=r.getTotalMatrix();if(i){var n=O2([e,t,1],i),a=n[0],o=n[1];return[a,o]}return[e,t]}function $v(r,e,t){if(r.isCanvas&&r.isCanvas())return!0;if(!aa(r)||r.cfg.isInView===!1)return!1;if(r.cfg.clipShape){var i=hm(r,e,t),n=i[0],a=i[1];if(r.isClipped(n,a))return!1}var o=r.cfg.cacheCanvasBBox||r.getCanvasBBox();return e>=o.minX&&e<=o.maxX&&t>=o.minY&&t<=o.maxY}function fm(r,e,t){if(!$v(r,e,t))return null;for(var i=null,n=r.getChildren(),a=n.length,o=a-1;o>=0;o--){var s=n[o];if(s.isGroup())i=fm(s,e,t);else if($v(s,e,t)){var l=s,u=hm(s,e,t),c=u[0],h=u[1];l.isInShape(c,h)&&(i=s)}if(i)break}return i}var B2=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.renderer="canvas",t.autoDraw=!0,t.localRefresh=!0,t.refreshElements=[],t.clipView=!0,t.quickHit=!1,t},e.prototype.onCanvasChange=function(t){(t==="attr"||t==="sort"||t==="changeSize")&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return vs},e.prototype.getGroupBase=function(){return Zc},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||e2();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),i=t.getContext("2d");return this.set("context",i),t},e.prototype.setDOMSize=function(t,i){r.prototype.setDOMSize.call(this,t,i);var n=this.get("context"),a=this.get("el"),o=this.getPixelRatio();a.width=o*t,a.height=o*i,o>1&&n.scale(o,o)},e.prototype.clear=function(){r.prototype.clear.call(this),this._clearFrame();var t=this.get("context"),i=this.get("el");t.clearRect(0,0,i.width,i.height)},e.prototype.getShape=function(t,i){var n;return this.get("quickHit")?n=fm(this,t,i):n=r.prototype.getShape.call(this,t,i,null),n},e.prototype._getRefreshRegion=function(){var t=this.get("refreshElements"),i=this.getViewRange(),n;if(t.length&&t[0]===this)n=i;else if(n=d2(t),n){n.minX=Math.floor(n.minX),n.minY=Math.floor(n.minY),n.maxX=Math.ceil(n.maxX),n.maxY=Math.ceil(n.maxY),n.maxY+=1;var a=this.get("clipView");a&&(n=p2(n,i))}return n},e.prototype.refreshElement=function(t){var i=this.get("refreshElements");i.push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(Tw(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),i=this.get("el"),n=this.getChildren();t.clearRect(0,0,i.width,i.height),ln(t,this),zu(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),i=this.get("refreshElements"),n=this.getChildren(),a=this._getRefreshRegion();a?(t.clearRect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.save(),t.beginPath(),t.rect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.clip(),ln(t,this),h2(this,n,a),zu(t,n,a),t.restore()):i.length&&am(i),C(i,function(o){o.get("hasChanged")&&o.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,i=this.get("drawFrame");i||(i=Fw(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",i))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(Ss),R2="0.5.12";const z2=Object.freeze(Object.defineProperty({__proto__:null,AbstractCanvas:Ss,AbstractGroup:Cs,AbstractShape:Ms,Base:ms,Canvas:B2,Event:Ia,Group:Zc,PathUtil:fc,Shape:vs,assembleFont:ks,getArcParams:is,getBBoxMethod:As,getOffScreenContext:Ts,getTextHeight:Es,invert:ws,isAllowCapture:aa,multiplyVec2:fr,registerBBox:Oe,registerEasing:ng,version:R2},Symbol.toStringTag,{value:"Module"}));var Gu={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},ct={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"};function De(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function vm(r){var e=Gu[r.type],t=r.getParent();if(!e)throw new Error("the type "+r.type+" is not supported by svg");var i=De(e);if(r.get("id")&&(i.id=r.get("id")),r.set("el",i),r.set("attrs",{}),t){var n=t.get("el");n||(n=t.createDom(),t.set("el",n)),n.appendChild(i)}return i}function dm(r,e){var t=r.get("el"),i=Dw(t.children).sort(e),n=document.createDocumentFragment();i.forEach(function(a){n.appendChild(a)}),t.appendChild(n)}function N2(r,e){var t=r.parentNode,i=Array.from(t.childNodes).filter(function(s){return s.nodeType===1&&s.nodeName.toLowerCase()!=="defs"}),n=i[e],a=i.indexOf(r);if(n){if(a>e)t.insertBefore(r,n);else if(a0&&(i?"stroke"in n?this._setColor(t,"stroke",s):"strokeStyle"in n&&this._setColor(t,"stroke",l):this._setColor(t,"stroke",s||l),c&&f.setAttribute(ct.strokeOpacity,c),h&&f.setAttribute(ct.lineWidth,h))},e.prototype._setColor=function(t,i,n){var a=this.get("el");if(!n){a.setAttribute(ct[i],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var o=t.find("gradient",n);o||(o=t.addGradient(n)),a.setAttribute(ct[i],"url(#"+o+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var o=t.find("pattern",n);o||(o=t.addPattern(n)),a.setAttribute(ct[i],"url(#"+o+")")}else a.setAttribute(ct[i],n)},e.prototype.shadow=function(t,i){var n=this.attr(),a=i||n,o=a.shadowOffsetX,s=a.shadowOffsetY,l=a.shadowBlur,u=a.shadowColor;(o||s||l||u)&&G2(this,t)},e.prototype.transform=function(t){var i=this.attr(),n=(t||i).matrix;n&&Ga(this)},e.prototype.isInShape=function(t,i){return this.isPointInPath(t,i)},e.prototype.isPointInPath=function(t,i){var n=this.get("el"),a=this.get("canvas"),o=a.get("el").getBoundingClientRect(),s=t+o.left,l=i+o.top,u=document.elementFromPoint(s,l);return!!(u&&u.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,i=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?i+n:0},e}(Ms),V2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="circle",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,r:0})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):ct[s]&&a.setAttribute(ct[s],o)})},e}(Be),Y2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dom",t.canFill=!1,t.canStroke=!1,t}return e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");if(C(i||n,function(u,c){ct[c]&&a.setAttribute(ct[c],u)}),typeof n.html=="function"){var o=n.html.call(this,n);if(o instanceof Element||o instanceof HTMLDocument){for(var s=a.childNodes,l=s.length-1;l>=0;l--)a.removeChild(s[l]);a.appendChild(o)}else a.innerHTML=o}else a.innerHTML=n.html},e}(Be),$2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ellipse",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):ct[s]&&a.setAttribute(ct[s],o)})},e}(Be),H2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="image",t.canFill=!1,t.canStroke=!1,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");C(i||a,function(s,l){l==="img"?n._setImage(a.img):ct[l]&&o.setAttribute(ct[l],s)})},e.prototype.setAttr=function(t,i){this.attrs[t]=i,t==="img"&&this._setImage(i)},e.prototype._setImage=function(t){var i=this.attr(),n=this.get("el");if(Q(t))n.setAttribute("href",t);else if(t instanceof window.Image)i.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),i.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&Q(t.nodeName)&&t.nodeName.toUpperCase()==="CANVAS")n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var a=document.createElement("canvas");a.setAttribute("width",""+t.width),a.setAttribute("height",""+t.height),a.getContext("2d").putImageData(t,0,0),i.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),i.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",a.toDataURL())}},e}(Be),X2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t.canFill=!1,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){if(s==="startArrow"||s==="endArrow")if(o){var l=pt(o)?t.addArrow(n,ct[s]):t.getDefaultArrow(n,ct[s]);a.setAttribute(ct[s],"url(#"+l+")")}else a.removeAttribute(ct[s]);else ct[s]&&a.setAttribute(ct[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2;return qt.length(i,n,a,o)},e.prototype.getPoint=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2;return qt.pointAt(n,a,o,s,t)},e}(Be),fo={circle:function(r,e,t){return[["M",r,e],["m",-t,0],["a",t,t,0,1,0,t*2,0],["a",t,t,0,1,0,-t*2,0]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+i],["L",r,e-i],["L",r+t,e+i],["z"]]},triangleDown:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-i],["L",r+t,e-i],["L",r,e+i],["Z"]]}};const Hv={get:function(r){return fo[r]},register:function(r,e){fo[r]=e},remove:function(r){delete fo[r]},getAll:function(){return fo}};var W2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="marker",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t){var i=this.get("el");i.setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return R(t)?t.map(function(i){return i.join(" ")}).join(""):t},e.prototype._getPath=function(){var t=this.attr(),i=t.x,n=t.y,a=t.r||t.radius,o=t.symbol||"circle",s;return X(o)?s=o:s=Hv.get(o),s?s(i,n,a):(console.warn(s+" symbol is not exist."),null)},e.symbolsFactory=Hv,e}(Be),_2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="path",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");C(i||a,function(s,l){if(l==="path"&&R(s))o.setAttribute("d",n._formatPath(s));else if(l==="startArrow"||l==="endArrow")if(s){var u=pt(s)?t.addArrow(a,ct[l]):t.getDefaultArrow(a,ct[l]);o.setAttribute(ct[l],"url(#"+u+")")}else o.removeAttribute(ct[l]);else ct[l]&&o.setAttribute(ct[l],s)})},e.prototype._formatPath=function(t){var i=t.map(function(n){return n.join(" ")}).join("");return~i.indexOf("NaN")?"":i},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var i=this.get("el"),n=this.getTotalLength();if(n===0)return null;var a=i?i.getPointAtLength(t*n):null;return a?{x:a.x,y:a.y}:null},e}(Be),q2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polygon",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="points"&&R(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):ct[s]&&a.setAttribute(ct[s],o)})},e}(Be),U2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polyline",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),["points"].indexOf(t)!==-1&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="points"&&R(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):ct[s]&&a.setAttribute(ct[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr().points,i=this.get("totalLength");return B(i)?(this.set("totalLength",vg.length(t)),this.get("totalLength")):i},e.prototype.getPoint=function(t){var i=this.attr().points,n=this.get("tCache");n||(this._setTcache(),n=this.get("tCache"));var a,o;return C(n,function(s,l){t>=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),qt.pointAt(i[o][0],i[o][1],i[o+1][0],i[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var i=this.getTotalLength();if(!(i<=0)){var n=0,a=[],o,s;C(t,function(l,u){t[u+1]&&(o=[],o[0]=n/i,s=qt.length(l[0],l[1],t[u+1][0],t[u+1][1]),n+=s,o[1]=n/i,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,i=[];return i.push([t[1][0],t[1][1]]),i.push([t[0][0],t[0][1]]),i},e.prototype.getEndTangent=function(){var t=this.attr().points,i=t.length-1,n=[];return n.push([t[i-1][0],t[i-1][1]]),n.push([t[i][0],t[i][1]]),n},e}(Be);function j2(r){var e=0,t=0,i=0,n=0;return R(r)?r.length===1?e=t=i=n=r[0]:r.length===2?(e=i=r[0],t=n=r[1]):r.length===3?(e=r[0],t=n=r[1],i=r[2]):(e=r[0],t=r[1],i=r[2],n=r[3]):e=t=i=n=r,{r1:e,r2:t,r3:i,r4:n}}var Z2=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rect",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el"),s=!1,l=["x","y","width","height","radius"];C(i||a,function(u,c){l.indexOf(c)!==-1&&!s?(o.setAttribute("d",n._assembleRect(a)),s=!0):l.indexOf(c)===-1&&ct[c]&&o.setAttribute(ct[c],u)})},e.prototype._assembleRect=function(t){var i=t.x,n=t.y,a=t.width,o=t.height,s=t.radius;if(!s)return"M "+i+","+n+" l "+a+",0 l 0,"+o+" l"+-a+" 0 z";var l=j2(s);R(s)?s.length===1?l.r1=l.r2=l.r3=l.r4=s[0]:s.length===2?(l.r1=l.r3=s[0],l.r2=l.r4=s[1]):s.length===3?(l.r1=s[0],l.r2=l.r4=s[1],l.r3=s[2]):(l.r1=s[0],l.r2=s[1],l.r3=s[2],l.r4=s[3]):l.r1=l.r2=l.r3=l.r4=s;var u=[["M "+(i+l.r1)+","+n],["l "+(a-l.r1-l.r2)+",0"],["a "+l.r2+","+l.r2+",0,0,1,"+l.r2+","+l.r2],["l 0,"+(o-l.r2-l.r3)],["a "+l.r3+","+l.r3+",0,0,1,"+-l.r3+","+l.r3],["l "+(l.r3+l.r4-a)+",0"],["a "+l.r4+","+l.r4+",0,0,1,"+-l.r4+","+-l.r4],["l 0,"+(l.r4+l.r1-o)],["a "+l.r1+","+l.r1+",0,0,1,"+l.r1+","+-l.r1],["z"]];return u.join(" ")},e}(Be),Xv=.3,Q2={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},K2={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},J2={left:"left",start:"left",center:"middle",right:"end",end:"end"},tT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="text",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return m(m({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");this._setFont(),C(i||a,function(s,l){l==="text"?n._setText(""+s):l==="matrix"&&s?Ga(n):ct[l]&&o.setAttribute(ct[l],s)}),o.setAttribute("paint-order","stroke"),o.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),i=this.attr(),n=i.textBaseline,a=i.textAlign,o=zp();o&&o.name==="firefox"?t.setAttribute("dominant-baseline",K2[n]||"alphabetic"):t.setAttribute("alignment-baseline",Q2[n]||"baseline"),t.setAttribute("text-anchor",J2[a]||"left")},e.prototype._setText=function(t){var i=this.get("el"),n=this.attr(),a=n.x,o=n.textBaseline,s=o===void 0?"bottom":o;if(!t)i.innerHTML="";else if(~t.indexOf(` +`)){var l=t.split(` +`),u=l.length-1,c="";C(l,function(h,f){f===0?s==="alphabetic"?c+=''+h+"":s==="top"?c+=''+h+"":s==="middle"?c+=''+h+"":s==="bottom"?c+=''+h+"":s==="hanging"&&(c+=''+h+""):c+=''+h+""}),i.innerHTML=c}else i.innerHTML=t},e}(Be),eT=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,rT=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,iT=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function ym(r){var e=r.match(iT);if(!e)return"";var t="";return e.sort(function(i,n){return i=i.split(":"),n=n.split(":"),Number(i[0])-Number(n[0])}),C(e,function(i){i=i.split(":"),t+=''}),t}function nT(r,e){var t=eT.exec(r),i=oc(sc(parseFloat(t[1])),Math.PI*2),n=t[2],a,o;i>=0&&i<.5*Math.PI?(a={x:0,y:0},o={x:1,y:1}):.5*Math.PI<=i&&i`;t.innerHTML=i},r}(),Wv=function(){function r(e,t){this.cfg={};var i=De("marker"),n=Qr("marker_");i.setAttribute("id",n);var a=De("path");a.setAttribute("stroke",e.stroke||"none"),a.setAttribute("fill",e.fill||"none"),i.appendChild(a),i.setAttribute("overflow","visible"),i.setAttribute("orient","auto-start-reverse"),this.el=i,this.child=a,this.id=n;var o=e[t==="marker-start"?"startArrow":"endArrow"];return this.stroke=e.stroke||"#000",o===!0?this._setDefaultPath(t,a):(this.cfg=o,this._setMarker(e.lineWidth,a)),this}return r.prototype.match=function(){return!1},r.prototype._setDefaultPath=function(e,t){var i=this.el;t.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),i.setAttribute("refX",""+10*Math.cos(Math.PI/6)),i.setAttribute("refY","5")},r.prototype._setMarker=function(e,t){var i=this.el,n=this.cfg.path,a=this.cfg.d;R(n)&&(n=n.map(function(o){return o.join(" ")}).join("")),t.setAttribute("d",n),i.appendChild(t),a&&i.setAttribute("refX",""+a/e)},r.prototype.update=function(e){var t=this.child;t.attr?t.attr("fill",e):t.setAttribute("fill",e)},r}(),cT=function(){function r(e){this.type="clip",this.cfg={};var t=De("clipPath");this.el=t,this.id=Qr("clip_"),t.id=this.id;var i=e.cfg.el;return t.appendChild(i),this.cfg=e,this}return r.prototype.match=function(){return!1},r.prototype.remove=function(){var e=this.el;e.parentNode.removeChild(e)},r}(),hT=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,fT=function(){function r(e){this.cfg={};var t=De("pattern");t.setAttribute("patternUnits","userSpaceOnUse");var i=De("image");t.appendChild(i);var n=Qr("pattern_");t.id=n,this.el=t,this.id=n,this.cfg=e;var a=hT.exec(e),o=a[2];i.setAttribute("href",o);var s=new Image;o.match(/^data:/i)||(s.crossOrigin="Anonymous"),s.src=o;function l(){t.setAttribute("width",""+s.width),t.setAttribute("height",""+s.height)}return s.complete?l():(s.onload=l,s.src=s.src),this}return r.prototype.match=function(e,t){return this.cfg===t},r}(),vT=function(){function r(e){var t=De("defs"),i=Qr("defs_");t.id=i,e.appendChild(t),this.children=[],this.defaultArrow={},this.el=t,this.canvas=e}return r.prototype.find=function(e,t){for(var i=this.children,n=null,a=0;a0&&(v[0][0]="L")),a=a.concat(v)}),a.push(["Z"])}return a}function Zs(r,e,t,i,n){for(var a=Dt(r,e,!e,"lineWidth"),o=r.connectNulls,s=r.isInCircle,l=r.points,u=r.showSinglePoint,c=js(l,o,u),h=[],f=0,v=c.length;fo&&(o=l),l=i[0]}));var g=this.scales[d];try{for(var y=ht(t),x=y.next();!x.done;x=y.next()){var b=x.value,w=this.getDrawCfg(b),S=w.x,M=w.y,F=g.scale(b[bt][d]);this.drawGrayScaleBlurredCircle(S-u.x,M-c.y,n+a,F,p)}}catch(k){o={error:k}}finally{try{x&&!x.done&&(s=y.return)&&s.call(y)}finally{if(o)throw o.error}}var T=p.getImageData(0,0,h,f);this.clearShadowCanvasCtx(),this.colorize(T),p.putImageData(T,0,0);var L=this.getImageShape();L.attr("x",u.x),L.attr("y",c.y),L.attr("width",h),L.attr("height",f),L.attr("img",p.canvas),L.set("origin",this.getShapeInfo(t))},e.prototype.getDefaultSize=function(){var t=this.getAttribute("position"),i=this.coordinate;return Math.min(i.getWidth()/(t.scales[0].ticks.length*4),i.getHeight()/(t.scales[1].ticks.length*4))},e.prototype.clearShadowCanvasCtx=function(){var t=this.getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},e.prototype.getShadowCanvasCtx=function(){var t=this.shadowCanvas;return t||(t=document.createElement("canvas"),this.shadowCanvas=t),t.width=this.coordinate.getWidth(),t.height=this.coordinate.getHeight(),t.getContext("2d")},e.prototype.getGrayScaleBlurredCanvas=function(){return this.grayScaleBlurredCanvas||(this.grayScaleBlurredCanvas=document.createElement("canvas")),this.grayScaleBlurredCanvas},e.prototype.drawGrayScaleBlurredCircle=function(t,i,n,a,o){var s=this.getGrayScaleBlurredCanvas();o.globalAlpha=a,o.drawImage(s,t-n,i-n)},e.prototype.colorize=function(t){for(var i=this.getAttribute("color"),n=t.data,a=this.paletteCache,o=3;oe&&(t=t?e/(1+i/t):0,i=e-t),n+a>e&&(n=n?e/(1+a/n):0,a=e-n),[t||0,i||0,n||0,a||0]}function wm(r,e,t){var i=[];if(t.isRect){var n=t.isTransposed?{x:t.start.x,y:e[0].y}:{x:e[0].x,y:t.start.y},a=t.isTransposed?{x:t.end.x,y:e[2].y}:{x:e[3].x,y:t.end.y},o=A(r,["background","style","radius"]);if(o){var s=t.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,l=t.isTransposed?t.getWidth():t.getHeight(),u=q(xm(o,Math.min(s,l)),4),c=u[0],h=u[1],f=u[2],v=u[3],d=t.isTransposed&&t.isReflect("y"),p=d?0:1,g=function(M){return d?-M:M};i.push(["M",n.x,a.y+g(c)]),c!==0&&i.push(["A",c,c,0,0,p,n.x+c,a.y]),i.push(["L",a.x-h,a.y]),h!==0&&i.push(["A",h,h,0,0,p,a.x,a.y+g(h)]),i.push(["L",a.x,n.y-g(f)]),f!==0&&i.push(["A",f,f,0,0,p,a.x-f,n.y]),i.push(["L",n.x+v,n.y]),v!==0&&i.push(["A",v,v,0,0,p,n.x,n.y-g(v)])}else i.push(["M",n.x,n.y]),i.push(["L",a.x,n.y]),i.push(["L",a.x,a.y]),i.push(["L",n.x,a.y]),i.push(["L",n.x,n.y]);i.push(["z"])}if(t.isPolar){var y=t.getCenter(),x=ga(r,t),b=x.startAngle,w=x.endAngle;if(t.type!=="theta"&&!t.isTransposed)i=Vr(y.x,y.y,t.getRadius(),b,w);else{var S=function(T){return Math.pow(T,2)},c=Math.sqrt(S(y.x-e[0].x)+S(y.y-e[0].y)),h=Math.sqrt(S(y.x-e[2].x)+S(y.y-e[2].y));i=Vr(y.x,y.y,c,t.startAngle,t.endAngle,h)}}return i}function bT(r,e,t){var i=t.getWidth(),n=t.getHeight(),a=t.type==="rect",o=[],s=(r[2].x-r[1].x)/2,l=t.isTransposed?s*n/i:s*i/n;return e==="round"?(a?(o.push(["M",r[0].x,r[0].y+l]),o.push(["L",r[1].x,r[1].y-l]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y-l]),o.push(["L",r[3].x,r[3].y+l]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y+l])):(o.push(["M",r[0].x,r[0].y]),o.push(["L",r[1].x,r[1].y]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y]),o.push(["L",r[3].x,r[3].y]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y])),o.push(["z"])):o=eh(r),o}function bm(r,e,t){var i=[];return B(e)?t?i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",(r[2].x+r[3].x)/2,(r[2].y+r[3].y)/2],["Z"]):i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",r[2].x,r[2].y],["L",r[3].x,r[3].y],["Z"]):i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),i}function Dn(r,e){return[e,r]}function ST(r,e,t){var i,n,a,o,s,l,u,c=q(Z([],q(r),!1),4),h=c[0],f=c[1],v=c[2],d=c[3],p=q(typeof t=="number"?Array(4).fill(t):t,4),g=p[0],y=p[1],x=p[2],b=p[3];e.isTransposed&&(i=q(Dn(f,d),2),f=i[0],d=i[1]),e.isReflect("y")&&(n=q(Dn(h,f),2),h=n[0],f=n[1],a=q(Dn(v,d),2),v=a[0],d=a[1]),e.isReflect("x")&&(o=q(Dn(h,d),2),h=o[0],d=o[1],s=q(Dn(f,v),2),f=s[0],v=s[1]);var w=[],S=function(M){return Math.abs(M)};return l=q(xm([g,y,x,b],Math.min(S(d.x-h.x),S(f.y-h.y))).map(function(M){return S(M)}),4),g=l[0],y=l[1],x=l[2],b=l[3],e.isTransposed&&(u=q([b,g,y,x],4),g=u[0],y=u[1],x=u[2],b=u[3]),h.yo&&(n=o)}return n}function MT(r,e){if(e){var t=Me(r),i=$e(t,e);return i.length}return r.length}function rh(r){var e=r.theme,t=r.coordinate,i=r.getXScale(),n=i.values,a=r.beforeMappingData,o=n.length,s=Ba(r.coordinate),l=r.intervalPadding,u=r.dodgePadding,c=r.maxColumnWidth||e.maxColumnWidth,h=r.minColumnWidth||e.minColumnWidth,f=r.columnWidthRatio||e.columnWidthRatio,v=r.multiplePieWidthRatio||e.multiplePieWidthRatio,d=r.roseWidthRatio||e.roseWidthRatio;if(i.isLinear&&n.length>1){n.sort();var p=CT(n,i);o=(i.max-i.min)/p,n.length>o&&(o=n.length)}var g=i.range,y=1/o,x=1;if(t.isPolar?t.isTransposed&&o>1?x=v:x=d:(i.isLinear&&(y*=g[1]-g[0]),x=f),!B(l)&&l>=0){var b=l/s;y=(1-(o-1)*b)/o}else y*=x;if(r.getAdjust("dodge")){var w=r.getAdjust("dodge"),S=w.dodgeBy,M=MT(a,S);if(!B(u)&&u>=0){var F=u/s;y=(y-F*(M-1))/M}else!B(l)&&l>=0&&(y*=x),y=y/M;y=y>=0?y:0}if(!B(c)&&c>=0){var T=c/s;y>T&&(y=T)}if(!B(h)&&h>=0){var L=h/s;y0&&!A(i,[n,"min"])&&t.change({min:0}),o<=0&&!A(i,[n,"max"])&&t.change({max:0}))}},e.prototype.getDrawCfg=function(t){var i=r.prototype.getDrawCfg.call(this,t);return i.background=this.background,i},e}(Jr),FT=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;i.type="line";var n=t.sortable,a=n===void 0?!1:n;return i.sortable=a,i}return e}(Jc),Sm=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],TT=["cross","tick","plus","hyphen","line"];function ih(r,e,t,i,n){var a,o,s=Dt(e,n,!n,"r"),l=r.parsePoints(e.points),u=l[0];if(e.isStack)u=l[1];else if(l.length>1){var c=t.addGroup();try{for(var h=ht(l),f=h.next();!f.done;f=h.next()){var v=f.value;c.addShape({type:"marker",attrs:m(m(m({},s),{symbol:Fi[i]||i}),v)})}}catch(d){a={error:d}}finally{try{f&&!f.done&&(o=h.return)&&o.call(h)}finally{if(a)throw a.error}}return c}return t.addShape({type:"marker",attrs:m(m(m({},s),{symbol:Fi[i]||i}),u)})}Kr("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(r){return Wc(r)}});C(Sm,function(r){ft("point","hollow-".concat(r),{draw:function(e,t){return ih(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Fi[r]||r,style:{r:4.5,stroke:t,fill:null}}}})});var ET=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="point",t.shapeType="point",t.generatePoints=!0,t}return e.prototype.getDrawCfg=function(t){var i=r.prototype.getDrawCfg.call(this,t);return m(m({},i),{isStack:!!this.getAdjust("stack")})},e}(Jr);function kT(r){for(var e=r[0],t=1,i=[["M",e.x,e.y]];t2?"weight":"normal",a;if(r.isInCircle){var o={x:0,y:1};return n==="normal"?a=OT(i[0],i[1],o):(t.fill=t.stroke,a=BT(i,o)),a=this.parsePath(a),e.addShape("path",{attrs:m(m({},t),{path:a})})}else{if(n==="normal")return i=this.parsePoints(i),a=uy((i[1].x+i[0].x)/2,i[0].y,Math.abs(i[1].x-i[0].x)/2,Math.PI,Math.PI*2),e.addShape("path",{attrs:m(m({},t),{path:a})});var s=Vu(i[1],i[3]),l=Vu(i[2],i[0]);return a=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],s,["L",i[3].x,i[3].y],["L",i[2].x,i[2].y],l,["Z"]],a=this.parsePath(a),t.fill=t.stroke,e.addShape("path",{attrs:m(m({},t),{path:a})})}},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});function RT(r,e){var t=Vu(r,e),i=[["M",r.x,r.y]];return i.push(t),i}ft("edge","smooth",{draw:function(r,e){var t=Dt(r,!0,!1,"lineWidth"),i=r.points,n=this.parsePath(RT(i[0],i[1]));return e.addShape("path",{attrs:m(m({},t),{path:n})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});var vo=1/3;function zT(r,e){var t=[];t.push({x:r.x,y:r.y*(1-vo)+e.y*vo}),t.push({x:e.x,y:r.y*(1-vo)+e.y*vo}),t.push(e);var i=[["M",r.x,r.y]];return C(t,function(n){i.push(["L",n.x,n.y])}),i}ft("edge","vhv",{draw:function(r,e){var t=Dt(r,!0,!1,"lineWidth"),i=r.points,n=this.parsePath(zT(i[0],i[1]));return e.addShape("path",{attrs:m(m({},t),{path:n})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});ft("interval","funnel",{getPoints:function(r){return r.size=r.size*2,th(r)},draw:function(r,e){var t=Dt(r,!1,!0),i=this.parsePath(bm(r.points,r.nextPoints,!1)),n=e.addShape("path",{attrs:m(m({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});ft("interval","hollow-rect",{draw:function(r,e){var t=Dt(r,!0,!1),i=e,n=r==null?void 0:r.background;if(n){i=e.addGroup();var a=Qy(r),o=wm(r,this.parsePoints(r.points),this.coordinate);i.addShape("path",{attrs:m(m({},a),{path:o}),capture:!1,zIndex:-1,name:$c})}var s=this.parsePath(eh(r.points)),l=i.addShape("path",{attrs:m(m({},t),{path:s}),name:"interval"});return n?i:l},getMarker:function(r){var e=r.color,t=r.isInPolar;return t?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}});function NT(r){var e=r.x,t=r.y,i=r.y0;return R(t)?t.map(function(n,a){return{x:R(e)?e[a]:e,y:n}}):[{x:e,y:i},{x:e,y:t}]}ft("interval","line",{getPoints:function(r){return NT(r)},draw:function(r,e){var t=Dt(r,!0,!1,"lineWidth"),i=fe(m({},t),["fill"]),n=this.parsePath(eh(r.points,!1)),a=e.addShape("path",{attrs:m(m({},i),{path:n}),name:"interval"});return a},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){return[["M",t,i-n],["L",t,i+n]]},style:{r:5,stroke:e}}}});ft("interval","pyramid",{getPoints:function(r){return r.size=r.size*2,th(r)},draw:function(r,e){var t=Dt(r,!1,!0),i=this.parsePath(bm(r.points,r.nextPoints,!0)),n=e.addShape("path",{attrs:m(m({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});function GT(r){var e,t=r.x,i=r.y,n=r.y0,a=r.size,o,s;R(i)?(e=q(i,2),o=e[0],s=e[1]):(o=n,s=i);var l=t+a/2,u=t-a/2;return[{x:t,y:o},{x:t,y:s},{x:u,y:o},{x:l,y:o},{x:u,y:s},{x:l,y:s}]}function VT(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y]]}ft("interval","tick",{getPoints:function(r){return GT(r)},draw:function(r,e){var t=Dt(r,!0,!1),i=this.parsePath(VT(r.points)),n=e.addShape("path",{attrs:m(m({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){return[["M",t-n/2,i-n],["L",t+n/2,i-n],["M",t,i-n],["L",t,i+n],["M",t-n/2,i+n],["L",t+n/2,i+n]]},style:{r:5,stroke:e}}}});var YT=function(r,e,t){var i=r.x,n=r.y,a=e.x,o=e.y,s;switch(t){case"hv":s=[{x:a,y:n}];break;case"vh":s=[{x:i,y:o}];break;case"hvh":var l=(a+i)/2;s=[{x:l,y:n},{x:l,y:o}];break;case"vhv":var u=(n+o)/2;s=[{x:i,y:u},{x:a,y:u}];break}return s};function $T(r,e){var t=[];return C(r,function(i,n){var a=r[n+1];if(t.push(i),a){var o=YT(i,a,e);t=t.concat(o)}}),t}function HT(r){return r.map(function(e,t){return t===0?["M",e.x,e.y]:["L",e.x,e.y]})}function XT(r,e){var t=js(r.points,r.connectNulls,r.showSinglePoint),i=[];return C(t,function(n){var a=$T(n,e);i=i.concat(HT(a))}),m(m({},Dt(r,!0,!1,"lineWidth")),{path:i})}C(["hv","vh","hvh","vhv"],function(r){ft("line",r,{draw:function(e,t){var i=XT(e,r),n=t.addShape({type:"path",attrs:i,name:"line"});return n},getMarker:function(e){return Ky(e,r)}})});C(TT,function(r){ft("point",r,{draw:function(e,t){return ih(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Fi[r],style:{r:4.5,stroke:t,fill:null}}}})});ft("point","image",{draw:function(r,e){var t,i,n=Dt(r,!1,!1,"r").r,a=this.parsePoints(r.points),o=a[0];if(r.isStack)o=a[1];else if(a.length>1){var s=e.addGroup();try{for(var l=ht(a),u=l.next();!u.done;u=l.next()){var c=u.value;s.addShape("image",{attrs:{x:c.x-n/2,y:c.y-n,width:n,height:n,img:r.shape[1]}})}}catch(h){t={error:h}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}return s}return e.addShape("image",{attrs:{x:o.x-n/2,y:o.y-n,width:n,height:n,img:r.shape[1]}})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4.5,fill:e}}}});C(Sm,function(r){ft("point",r,{draw:function(e,t){return ih(this,e,t,r,!1)},getMarker:function(e){var t=e.color;return{symbol:Fi[r]||r,style:{r:4.5,fill:t}}}})});function _v(r){var e=R(r)?r:[r],t=e[0],i=e[e.length-1],n=e.length>1?e[1]:t,a=e.length>3?e[3]:i,o=e.length>2?e[2]:n;return{min:t,max:i,min1:n,max1:a,median:o}}function qv(r,e,t){var i=t/2,n;if(R(e)){var a=_v(e),o=a.min,s=a.max,l=a.median,u=a.min1,c=a.max1,h=r-i,f=r+i;n=[[h,s],[f,s],[r,s],[r,c],[h,u],[h,c],[f,c],[f,u],[r,u],[r,o],[h,o],[f,o],[h,l],[f,l]]}else{e=B(e)?.5:e;var v=_v(r),o=v.min,s=v.max,l=v.median,u=v.min1,c=v.max1,d=e-i,p=e+i;n=[[o,d],[o,p],[o,e],[u,e],[u,d],[u,p],[c,p],[c,d],[c,e],[s,e],[s,d],[s,p],[l,d],[l,p]]}return n.map(function(g){return{x:g[0],y:g[1]}})}function WT(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x,r[10].y],["L",r[11].x,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]}ft("schema","box",{getPoints:function(r){var e=r.x,t=r.y,i=r.size;return qv(e,t,i)},draw:function(r,e){var t=Dt(r,!0,!1),i=this.parsePath(WT(r.points)),n=e.addShape("path",{attrs:m(m({},t),{path:i,name:"schema"})});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){var a=[i-6,i-3,i,i+3,i+6],o=qv(t,a,n);return[["M",o[0].x+1,o[0].y],["L",o[1].x-1,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["M",o[4].x,o[4].y],["L",o[5].x,o[5].y],["L",o[6].x,o[6].y],["L",o[7].x,o[7].y],["L",o[4].x,o[4].y],["Z"],["M",o[8].x,o[8].y],["L",o[9].x,o[9].y],["M",o[10].x+1,o[10].y],["L",o[11].x-1,o[11].y],["M",o[12].x,o[12].y],["L",o[13].x,o[13].y]]},style:{r:6,lineWidth:1,stroke:e}}}});function _T(r){var e=R(r)?r:[r],t=e.sort(function(i,n){return n-i});return FA(t,4,t[t.length-1])}function Uv(r,e,t){var i=_T(e);return[{x:r,y:i[0]},{x:r,y:i[1]},{x:r-t/2,y:i[2]},{x:r-t/2,y:i[1]},{x:r+t/2,y:i[1]},{x:r+t/2,y:i[2]},{x:r,y:i[2]},{x:r,y:i[3]}]}function qT(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]}ft("schema","candle",{getPoints:function(r){var e=r.x,t=r.y,i=r.size;return Uv(e,t,i)},draw:function(r,e){var t=Dt(r,!0,!0),i=this.parsePath(qT(r.points)),n=e.addShape("path",{attrs:m(m({},t),{path:i,name:"schema"})});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){var a=[i+7.5,i+3,i-3,i-7.5],o=Uv(t,a,n);return[["M",o[0].x,o[0].y],["L",o[1].x,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["L",o[4].x,o[4].y],["L",o[5].x,o[5].y],["Z"],["M",o[6].x,o[6].y],["L",o[7].x,o[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}});function UT(r,e){var t=Math.abs(r[0].x-r[2].x),i=Math.abs(r[0].y-r[2].y),n=Math.min(t,i);e&&(n=Ct(e,0,Math.min(t,i))),n=n/2;var a=(r[0].x+r[2].x)/2,o=(r[0].y+r[2].y)/2;return{x:a-n,y:o-n,width:n*2,height:n*2}}ft("polygon","square",{draw:function(r,e){if(!ge(r.points)){var t=Dt(r,!0,!0),i=this.parsePoints(r.points);return e.addShape("rect",{attrs:m(m({},t),UT(i,r.size)),name:"polygon"})}},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});ft("violin","smooth",{draw:function(r,e){var t=Dt(r,!0,!0),i=this.parsePath(Zy(r.points));return e.addShape("path",{attrs:m(m({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{stroke:null,r:4,fill:e}}}});ft("violin","hollow",{draw:function(r,e){var t=Dt(r,!0,!1),i=this.parsePath(jy(r.points));return e.addShape("path",{attrs:m(m({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});ft("violin","hollow-smooth",{draw:function(r,e){var t=Dt(r,!0,!1),i=this.parsePath(Zy(r.points));return e.addShape("path",{attrs:m(m({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});var jT=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelValueDir=function(t){var i="y",n=t.points;return n[0][i]<=n[2][i]?1:-1},e.prototype.getLabelOffsetPoint=function(t,i,n,a){var o,s=r.prototype.getLabelOffsetPoint.call(this,t,i,n),l=this.getCoordinate(),u=l.isTransposed,c=u?"x":"y",h=this.getLabelValueDir(t.mappingData);return s=m(m({},s),(o={},o[c]=s[c]*h,o)),l.isReflect("x")&&(s=m(m({},s),{x:s.x*-1})),l.isReflect("y")&&(s=m(m({},s),{y:s.y*-1})),s},e.prototype.getThemedLabelCfg=function(t){var i=this.geometry,n=this.getDefaultLabelCfg(),a=i.theme;return H({},n,a.labels,t.position==="middle"?{offset:0}:{},t)},e.prototype.setLabelPosition=function(t,i,n,a){var o=this.getCoordinate(),s=o.isTransposed,l=i.points,u=o.convert(l[0]),c=o.convert(l[2]),h=this.getLabelValueDir(i),f,v,d,p,g=R(i.shape)?i.shape[0]:i.shape;if(g==="funnel"||g==="pyramid"){var y=A(i,"nextPoints"),x=A(i,"points");if(y){var b=o.convert(x[0]),w=o.convert(x[1]),S=o.convert(y[0]),M=o.convert(y[1]);s?(f=Math.min(S.y,b.y),d=Math.max(S.y,b.y),v=(w.x+M.x)/2,p=(b.x+S.x)/2):(f=Math.min((w.y+M.y)/2,(b.y+S.y)/2),d=Math.max((w.y+M.y)/2,(b.y+S.y)/2),v=M.x,p=b.x)}else f=Math.min(c.y,u.y),d=Math.max(c.y,u.y),v=c.x,p=u.x}else f=Math.min(c.y,u.y),d=Math.max(c.y,u.y),v=c.x,p=u.x;switch(a){case"right":t.x=v,t.y=(f+d)/2,t.textAlign=A(t,"textAlign",h>0?"left":"right");break;case"left":t.x=p,t.y=(f+d)/2,t.textAlign=A(t,"textAlign",h>0?"left":"right");break;case"bottom":s&&(t.x=(v+p)/2),t.y=d,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline",h>0?"bottom":"top");break;case"middle":s&&(t.x=(v+p)/2),t.y=(f+d)/2,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline","middle");break;case"top":s&&(t.x=(v+p)/2),t.y=f,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline",h>0?"bottom":"top");break}},e}(Us),po=Math.PI/2,Cm=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelOffset=function(t){var i=this.getCoordinate(),n=0;if(rt(t))n=t;else if(Q(t)&&t.indexOf("%")!==-1){var a=i.getRadius();i.innerRadius>0&&(a=a*(1-i.innerRadius)),n=parseFloat(t)*.01*a}return n},e.prototype.getLabelItems=function(t){var i=r.prototype.getLabelItems.call(this,t),n=this.geometry.getYScale();return Mt(i,function(a){if(a&&n){var o=n.scale(A(a.data,n.field));return m(m({},a),{percent:o})}return a})},e.prototype.getLabelAlign=function(t){var i=this.getCoordinate(),n;if(t.labelEmit)n=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(!i.isTransposed)n="center";else{var a=i.getCenter(),o=t.offset;Math.abs(t.x-a.x)<1?n="center":t.angle>Math.PI||t.angle<=0?n=o>0?"left":"right":n=o>0?"right":"left"}return n},e.prototype.getLabelPoint=function(t,i,n){var a=1,o,s=t.content[n];this.isToMiddle(i)?o=this.getMiddlePoint(i.points):(t.content.length===1&&n===0?n=1:n===0&&(a=-1),o=this.getArcPoint(i,n));var l=t.offset*a,u=this.getPointAngle(o),c=t.labelEmit,h=this.getCirclePoint(u,l,o,c);return h.r===0?h.content="":(h.content=s,h.angle=u,h.color=i.color),h.rotate=t.autoRotate?this.getLabelRotate(u,l,c):t.rotate,h.start={x:o.x,y:o.y},h},e.prototype.getArcPoint=function(t,i){return i===void 0&&(i=0),!R(t.x)&&!R(t.y)?{x:t.x,y:t.y}:{x:R(t.x)?t.x[i]:t.x,y:R(t.y)?t.y[i]:t.y}},e.prototype.getPointAngle=function(t){return an(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,i,n,a){var o=this.getCoordinate(),s=o.getCenter(),l=Hs(o,n);if(l===0)return m(m({},s),{r:l});var u=t;if(o.isTransposed&&l>i&&!a){var c=Math.asin(i/(2*l));u=t+c*2}else l=l+i;return{x:s.x+l*Math.cos(u),y:s.y+l*Math.sin(u),r:l}},e.prototype.getLabelRotate=function(t,i,n){var a=t+po;return n&&(a-=po),a&&(a>po?a=a-Math.PI:a<-po&&(a=a+Math.PI)),a},e.prototype.getMiddlePoint=function(t){var i=this.getCoordinate(),n=t.length,a={x:0,y:0};return C(t,function(o){a.x+=o.x,a.y+=o.y}),a.x/=n,a.y/=n,a=i.convert(a),a},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(Us),ZT=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.defaultLayout="distribute",t}return e.prototype.getDefaultLabelCfg=function(t,i){var n=r.prototype.getDefaultLabelCfg.call(this,t,i);return H({},n,A(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(t){return r.prototype.getLabelOffset.call(this,t)||0},e.prototype.getLabelRotate=function(t,i,n){var a;return i<0&&(a=t,a>Math.PI/2&&(a=a-Math.PI),a<-Math.PI/2&&(a=a+Math.PI)),a},e.prototype.getLabelAlign=function(t){var i=this.getCoordinate(),n=i.getCenter(),a;return t.angle<=Math.PI/2&&t.x>=n.x?a="left":a="right",t.offset<=0&&(a==="right"?a="left":a="right"),a},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var i=this.getCoordinate(),n={x:R(t.x)?t.x[0]:t.x,y:t.y[0]},a={x:R(t.x)?t.x[1]:t.x,y:t.y[1]},o,s=an(i,n);if(t.points&&t.points[0].y===t.points[1].y)o=s;else{var l=an(i,a);s>=l&&(l=l+Math.PI*2),o=s+(l-s)/2}return o},e.prototype.getCirclePoint=function(t,i){var n=this.getCoordinate(),a=n.getCenter(),o=n.getRadius()+i;return m(m({},Ot(a.x,a.y,o,t)),{angle:t,r:o})},e}(Cm),jv=4;function QT(r,e,t,i,n,a){var o,s,l=!0,u=i.start,c=i.end,h=Math.min(u.y,c.y),f=Math.abs(u.y-c.y),v,d=0,p=Number.MIN_VALUE,g=e.map(function(F){return F.y>d&&(d=F.y),F.yf&&(f=d-h);l;)for(g.forEach(function(F){var T=(Math.min.apply(p,F.targets)+Math.max.apply(p,F.targets))/2;F.pos=Math.min(Math.max(p,T-F.size/2),f-F.size)}),l=!1,v=g.length;v--;)if(v>0){var y=g[v-1],x=g[v];y.pos+y.size>x.pos&&(y.size+=x.size,y.targets=y.targets.concat(x.targets),y.pos+y.size>f&&(y.pos=f-y.size),g.splice(v,1),l=!0)}v=0,g.forEach(function(F){var T=h+t/2;F.targets.forEach(function(){e[v].y=F.pos+T,T+=t,v++})});var b={};try{for(var w=ht(r),S=w.next();!S.done;S=w.next()){var M=S.value;b[M.get("id")]=M}}catch(F){o={error:F}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(o)throw o.error}}e.forEach(function(F){var T=F.r*F.r,L=Math.pow(Math.abs(F.y-n.y),2);if(T0){var l=14,u=o+n,c=u*2+l*2,h={start:a.start,end:a.end},f=[[],[]];r.forEach(function(v){v&&(v.textAlign==="right"?f[0].push(v):f[1].push(v))}),f.forEach(function(v,d){var p=c/l;v.length>p&&(v.sort(function(g,y){return y["..percent"]-g["..percent"]}),v.splice(p,v.length-p)),v.sort(function(g,y){return g.y-y.y}),QT(e,v,l,h,s,d)})}C(r,function(v){if(v&&v.labelLine){var d=v.offset,p=v.angle,g=Ot(s.x,s.y,o,p),y=Ot(s.x,s.y,o+d/2,p),x=v.x+A(v,"offsetX",0),b=v.y+A(v,"offsetY",0),w={x:x-Math.cos(p)*jv,y:b-Math.sin(p)*jv};pt(v.labelLine)||(v.labelLine={}),v.labelLine.path=["M ".concat(g.x),"".concat(g.y," Q").concat(y.x),"".concat(y.y," ").concat(w.x),w.y].join(",")}})}}function Mm(r,e,t){var i=r.filter(function(d){return!d.invisible});i.sort(function(d,p){return d.y-p.y});var n=!0,a=t.minY,o=t.maxY,s=Math.abs(a-o),l,u=0,c=Number.MIN_VALUE,h=i.map(function(d){return d.y>u&&(u=d.y),d.ys&&(s=u-a);n;)for(h.forEach(function(d){var p=(Math.min.apply(c,d.targets)+Math.max.apply(c,d.targets))/2;d.pos=Math.min(Math.max(c,p-d.size/2),s-d.size),d.pos=Math.max(0,d.pos)}),n=!1,l=h.length;l--;)if(l>0){var f=h[l-1],v=h[l];f.pos+f.size>v.pos&&(f.size+=v.size,f.targets=f.targets.concat(v.targets),f.pos+f.size>s&&(f.pos=s-f.size),h.splice(l,1),n=!0)}l=0,h.forEach(function(d){var p=a+e/2;d.targets.forEach(function(){i[l].y=d.pos+p,p+=e,l++})})}var Zv=4;function JT(r,e){var t=e.getCenter(),i=e.getRadius();if(r&&r.labelLine){var n=r.angle,a=r.offset,o=Ot(t.x,t.y,i,n),s=r.x+A(r,"offsetX",0)*(Math.cos(n)>0?1:-1),l=r.y+A(r,"offsetY",0)*(Math.sin(n)>0?1:-1),u={x:s-Math.cos(n)*Zv,y:l-Math.sin(n)*Zv},c=r.labelLine.smooth,h=[],f=u.x-t.x,v=u.y-t.y,d=Math.atan(v/f);if(f<0&&(d+=Math.PI),c===!1){pt(r.labelLine)||(r.labelLine={});var p=0;(n<0&&n>-Math.PI/2||n>Math.PI*1.5)&&u.y>o.y&&(p=1),n>=0&&no.y&&(p=1),n>=Math.PI/2&&nu.y&&(p=1),(n<-Math.PI/2||n>=Math.PI&&nu.y&&(p=1);var g=a/2>4?4:Math.max(a/2-1,0),y=Ot(t.x,t.y,i+g,n),x=Ot(t.x,t.y,i+a/2,d),b=0;h.push("M ".concat(o.x," ").concat(o.y)),h.push("L ".concat(y.x," ").concat(y.y)),h.push("A ".concat(t.x," ").concat(t.y," 0 ").concat(b," ").concat(p," ").concat(x.x," ").concat(x.y)),h.push("L ".concat(u.x," ").concat(u.y))}else{var y=Ot(t.x,t.y,i+(a/2>4?4:Math.max(a/2-1,0)),n),w=o.xMath.pow(Math.E,-16)&&h.push.apply(h,["C",u.x+w*4,u.y,2*y.x-o.x,2*y.y-o.y,o.x,o.y]),h.push("L ".concat(o.x," ").concat(o.y))}r.labelLine.path=h.join(" ")}}function tE(r,e,t,i){var n,a,o=jt(r,function(T){return!B(T)}),s=e[0]&&e[0].get("coordinate");if(s){var l=s.getCenter(),u=s.getRadius(),c={};try{for(var h=ht(e),f=h.next();!f.done;f=h.next()){var v=f.value;c[v.get("id")]=v}}catch(T){n={error:T}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(n)throw n.error}}var d=A(o[0],"labelHeight",14),p=A(o[0],"offset",0);if(!(p<=0)){var g="left",y="right",x=Se(o,function(T){return T.xk&&(T.sort(function(P,O){return O.percent-P.percent}),C(T,function(P,O){O+1>k&&(c[P.id].set("visible",!1),P.invisible=!0)})),Mm(T,d,F)}),C(x,function(T,L){C(T,function(k){var P=L===y,O=c[k.id],z=O.getChildByIndex(0);if(z){var V=u+p,U=k.y-l.y,D=Math.pow(V,2),N=Math.pow(U,2),W=D-N>0?D-N:0,$=Math.sqrt(W),Y=Math.abs(Math.cos(k.angle)*V);P?k.x=l.x+Math.max($,Y):k.x=l.x-Math.max($,Y)}z&&(z.attr("y",k.y),z.attr("x",k.x)),JT(k,s)})})}}}var $u=4,eE=4,Qv=4;function rE(r,e,t){var i=e.getCenter(),n=e.getRadius(),a={x:r.x-(t?Qv:-Qv),y:r.y},o=Ot(i.x,i.y,n+$u,r.angle),s={x:a.x,y:a.y},l={x:o.x,y:o.y},u=Ot(i.x,i.y,n,r.angle),c="";if(a.y!==o.y){var h=t?4:-4;s.y=a.y,r.angle<0&&r.angle>=-Math.PI/2&&(s.x=Math.max(o.x,a.x-h),a.y0&&r.angleo.y?l.y=s.y:(l.y=o.y,l.x=Math.max(l.x,s.x-h))),r.angle>Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.y>o.y?l.y=s.y:(l.y=o.y,l.x=Math.min(l.x,s.x-h))),r.angle<-Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.ys.x||T.x===s.x&&T.y>s.y,P=B(T.offsetX)?eE:T.offsetX,O=Ot(s.x,s.y,l+$u,T.angle),z=d+P;T.x=s.x+(k?1:-1)*(l+z),T.y=O.y}}});var p=o.start,g=o.end,y="left",x="right",b=Se(r,function(T){return T.xw&&(w=Math.min(L,Math.abs(p.y-g.y)))});var S={minX:p.x,maxX:g.x,minY:s.y-w/2,maxY:s.y+w/2};C(b,function(T,L){var k=w/v;T.length>k&&(T.sort(function(P,O){return O.percent-P.percent}),C(T,function(P,O){O>k&&(u[P.id].set("visible",!1),P.invisible=!0)})),Mm(T,v,S)});var M=S.minY,F=S.maxY;C(b,function(T,L){var k=L===x;C(T,function(P){var O=A(u,P&&[P.id]);if(O){if(P.yF){O.set("visible",!1);return}var z=O.getChildByIndex(0),V=z.getCanvasBBox(),U={x:k?V.x:V.maxX,y:V.y+V.height/2};Na(z,P.x-U.x,P.y-U.y),P.labelLine&&rE(P,o,k)}})})}}function nE(r,e,t,i){C(e,function(n){var a=i.minX,o=i.minY,s=i.maxX,l=i.maxY,u=n.getCanvasBBox(),c=u.minX,h=u.minY,f=u.maxX,v=u.maxY,d=u.x,p=u.y,g=u.width,y=u.height,x=d,b=p;(cs?x=s-g:f>s&&(x=x-(f-s)),h>l?b=l-y:v>l&&(b=b-(v-l)),(x!==d||b!==p)&&Na(n,x-d,b-p)})}function aE(r,e,t,i){C(e,function(n,a){var o=n.getCanvasBBox(),s=t[a].getBBox();(o.minXs.maxX||o.maxY>s.maxY)&&n.remove(!0)})}var oE=100,Am=function(){function r(e){e===void 0&&(e={}),this.bitmap={};var t=e.xGap,i=t===void 0?1:t,n=e.yGap,a=n===void 0?8:n;this.xGap=i,this.yGap=a}return r.prototype.hasGap=function(e){for(var t=!0,i=this.bitmap,n=Math.round(e.minX),a=Math.round(e.maxX),o=Math.round(e.minY),s=Math.round(e.maxY),l=n;l<=a;l+=1){if(!i[l]){i[l]={};continue}if(l===n||l===a){for(var u=o;u<=s;u++)if(i[l][u]){t=!1;break}}else if(i[l][o]||i[l][s]){t=!1;break}}return t},r.prototype.fillGap=function(e){for(var t=this.bitmap,i=Math.round(e.minX),n=Math.round(e.maxX),a=Math.round(e.minY),o=Math.round(e.maxY),s=i;s<=n;s+=1)t[s]||(t[s]={});for(var s=i;s<=n;s+=this.xGap){for(var l=a;l<=o;l+=this.yGap)t[s][l]=!0;t[s][o]=!0}if(this.yGap!==1)for(var s=a;s<=o;s+=1)t[i][s]=!0,t[n][s]=!0;if(this.xGap!==1)for(var s=i;s<=n;s+=1)t[s][a]=!0,t[s][o]=!0},r.prototype.destroy=function(){this.bitmap={}},r}();function sE(r,e,t){t===void 0&&(t=oE);var i=-1,n=r.attr(),a=n.x,o=n.y,s=r.getCanvasBBox(),l=Math.sqrt(s.width*s.width+s.height*s.height),u,c=-i,h=0,f=0,v=function(y){var x=y*.1;return[x*Math.cos(x),x*Math.sin(x)]};if(e.hasGap(s))return e.fillGap(s),!0;for(var d=!1,p=0,g={};Math.min(Math.abs(h),Math.abs(f))4)return[];var e=function(n,a){return[a.x-n.x,a.y-n.y]},t=e(r[0],r[1]),i=e(r[1],r[2]);return[t,i]}function go(r,e,t){e===void 0&&(e=0),t===void 0&&(t={x:0,y:0});var i=r.x,n=r.y;return{x:(i-t.x)*Math.cos(-e)+(n-t.y)*Math.sin(-e)+t.x,y:(t.x-i)*Math.sin(-e)+(n-t.y)*Math.cos(-e)+t.y}}function Jv(r){var e=[{x:r.x,y:r.y},{x:r.x+r.width,y:r.y},{x:r.x+r.width,y:r.y+r.height},{x:r.x,y:r.y+r.height}],t=r.rotation;return t?[go(e[0],t,e[0]),go(e[1],t,e[0]),go(e[2],t,e[0]),go(e[3],t,e[0])]:e}function td(r,e){if(r.length>4)return{min:0,max:0};var t=[];return r.forEach(function(i){t.push(hE([i.x,i.y],e))}),{min:Math.min.apply(Math,Z([],q(t),!1)),max:Math.max.apply(Math,Z([],q(t),!1))}}function fE(r,e){return r.max>e.min&&r.minr.x+r.width+t||e.x+e.widthr.y+r.height+t||e.y+e.height"u")){var e;try{e=new Blob([r.toString()],{type:"application/javascript"})}catch{e=new window.BlobBuilder,e.append(r.toString()),e=e.getBlob()}return new gE(URL.createObjectURL(e))}}var mE=function(r){function e(){function u(b,w){return(b[0]||0)*(w[0]||0)+(b[1]||0)*(w[1]||0)+(b[2]||0)*(w[2]||0)}function c(b){if(b.length>4)return[];var w=function(F,T){return[T.x-F.x,T.y-F.y]},S=w(b[0],b[1]),M=w(b[1],b[2]);return[S,M]}function h(b,w,S){w===void 0&&(w=0),S===void 0&&(S={x:0,y:0});var M=b.x,F=b.y;return{x:(M-S.x)*Math.cos(-w)+(F-S.y)*Math.sin(-w)+S.x,y:(S.x-M)*Math.sin(-w)+(F-S.y)*Math.cos(-w)+S.y}}function f(b){var w=[{x:b.x,y:b.y},{x:b.x+b.width,y:b.y},{x:b.x+b.width,y:b.y+b.height},{x:b.x,y:b.y+b.height}],S=b.rotation;return S?[h(w[0],S,w[0]),h(w[1],S,w[0]),h(w[2],S,w[0]),h(w[3],S,w[0])]:w}function v(b,w){if(b.length>4)return{min:0,max:0};var S=[];return b.forEach(function(M){S.push(u([M.x,M.y],w))}),{min:Math.min.apply(null,S),max:Math.max.apply(null,S)}}function d(b,w){return b.max>w.min&&b.minb.x+b.width+S||w.x+w.widthb.y+b.height+S||w.y+w.height=a.height:o.width>=a.width}function ME(r,e,t){var i=!!r.getAdjust("stack");return i||e.every(function(n,a){var o=t[a];return CE(r,n,o)})}function AE(r,e,t){var i=r.coordinate,n=se.fromObject(t.getBBox()),a=Wr(e);i.isTransposed?a.attr({x:n.minX+n.width/2,textAlign:"center"}):a.attr({y:n.minY+n.height/2,textBaseline:"middle"})}function FE(r,e,t){var i;if(t.length!==0){var n=(i=t[0])===null||i===void 0?void 0:i.get("element"),a=n==null?void 0:n.geometry;if(!(!a||a.type!=="interval")){var o=ME(a,e,t);o&&t.forEach(function(s,l){var u=e[l];AE(a,u,s)})}}}function TE(r){var e=500,t=[],i=Math.max(Math.floor(r.length/e),1);return C(r,function(n,a){a%i===0?t.push(n):n.set("visible",!1)}),t}function EE(r,e,t){var i;if(t.length!==0){var n=(i=t[0])===null||i===void 0?void 0:i.get("element"),a=n==null?void 0:n.geometry;if(!(!a||a.type!=="interval")){var o=TE(e),s=q(a.getXYFields(),1),l=s[0],u=[],c=[],h=Se(o,function(g){return g.get("data")[l]}),f=Si(Mt(o,function(g){return g.get("data")[l]})),v;o.forEach(function(g){g.set("visible",!0)});var d=function(g){g&&(g.length&&c.push(g.pop()),c.push.apply(c,Z([],q(g),!1)))};for($t(f)>0&&(v=f.shift(),d(h[v])),$t(f)>0&&(v=f.pop(),d(h[v])),C(f.reverse(),function(g){d(h[g])});c.length>0;){var p=c.shift();p.get("visible")&&($F(p,u)?p.set("visible",!1):u.push(p))}}}}function kE(r,e){var t=r.getXYFields()[1],i=[],n=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return n.length>0&&i.push(n.shift()),n.length>0&&i.push(n.pop()),i.push.apply(i,Z([],q(n),!1)),i}function Fm(r,e,t){return r.some(function(i){return t(i,e)})}function LE(r,e,t){t===void 0&&(t=0);var i=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),n=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return i*n}function nd(r,e){return Fm(r,e,function(t,i){var n=Wr(t),a=Wr(i);return LE(n.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function IE(r,e,t,i,n){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||l.type!=="point")){var u=q(l.getXYFields(),2),c=u[0],h=u[1],f=Se(e,function(p){return p.get("data")[c]}),v=[],d=n&&n.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;Mt(pn(f).reverse(),function(p){for(var g=kE(l,f[p]);g.length;){var y=g.shift(),x=Wr(y);if(Fm(v,y,function(S,M){return S.get("data")[c]===M.get("data")[c]&&S.get("data")[h]===M.get("data")[h]})){x.set("visible",!1);continue}var b=nd(v,y),w=!1;if(b&&(x.attr("y",x.attr("y")+2*d),w=nd(v,y)),w){x.set("visible",!1);continue}v.push(y)}})}}}function PE(r,e){var t=r.getXYFields()[1],i=[],n=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return n.length>0&&i.push(n.shift()),n.length>0&&i.push(n.pop()),i.push.apply(i,Z([],q(n),!1)),i}function Tm(r,e,t){return r.some(function(i){return t(i,e)})}function DE(r,e,t){t===void 0&&(t=0);var i=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),n=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return i*n}function ad(r,e){return Tm(r,e,function(t,i){var n=Wr(t),a=Wr(i);return DE(n.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function OE(r,e,t,i,n){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||["path","line","area"].indexOf(l.type)<0)){var u=q(l.getXYFields(),2),c=u[0],h=u[1],f=Se(e,function(p){return p.get("data")[c]}),v=[],d=n&&n.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;Mt(pn(f).reverse(),function(p){for(var g=PE(l,f[p]);g.length;){var y=g.shift(),x=Wr(y);if(Tm(v,y,function(S,M){return S.get("data")[c]===M.get("data")[c]&&S.get("data")[h]===M.get("data")[h]})){x.set("visible",!1);continue}var b=ad(v,y),w=!1;if(b&&(x.attr("y",x.attr("y")+2*d),w=ad(v,y)),w){x.set("visible",!1);continue}v.push(y)}})}}}var Vl;function BE(){return Vl||(Vl=document.createElement("canvas").getContext("2d")),Vl}var yo=yn(function(r,e){e===void 0&&(e={});var t=e.fontSize,i=e.fontFamily,n=e.fontWeight,a=e.fontStyle,o=e.fontVariant,s=BE();return s.font=[a,o,n,"".concat(t,"px"),i].join(" "),s.measureText(Q(r)?r:"").width},function(r,e){return e===void 0&&(e={}),Z([r],q(gs(e)),!1).join("")}),RE=function(r,e,t){var i=16,n=yo("...",t),a;Q(r)?a=r:a=La(r);var o=e,s=[],l,u;if(yo(r,t)<=e)return r;for(;l=a.substr(0,i),u=yo(l,t),!(u+n>o&&u>o);)if(s.push(l),o-=u,a=a.substr(i),!a)return s.join("");for(;l=a.substr(0,1),u=yo(l,t),!(u+n>o);)if(s.push(l),o-=u,a=a.substr(1),!a)return s.join("");return"".concat(s.join(""),"...")};function zE(r,e,t,i,n){if(!(e.length<=0)){var a=(n==null?void 0:n.direction)||["top","right","bottom","left"],o=(n==null?void 0:n.action)||"translate",s=(n==null?void 0:n.margin)||0,l=e[0].get("coordinate");if(l){var u=LA(l,s),c=u.minX,h=u.minY,f=u.maxX,v=u.maxY;C(e,function(d){var p=d.getCanvasBBox(),g=p.minX,y=p.minY,x=p.maxX,b=p.maxY,w=p.x,S=p.y,M=p.width,F=p.height,T=w,L=S;if(a.indexOf("left")>=0&&(g=0&&(y=0&&(g>f?T=f-M:x>f&&(T=T-(x-f))),a.indexOf("bottom")>=0&&(y>v?L=v-F:b>v&&(L=L-(b-v))),T!==w||L!==S){var k=T-w;if(o==="translate")Na(d,k,L-S);else if(o==="ellipsis"){var P=d.findAll(function(O){return O.get("type")==="text"});P.forEach(function(O){var z=lc(O.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),V=O.getCanvasBBox(),U=RE(O.attr("text"),V.width-Math.abs(k),z);O.attr("text",U)})}else d.hide()}})}}}function NE(r,e,t){var i={fillOpacity:B(r.attr("fillOpacity"))?1:r.attr("fillOpacity"),strokeOpacity:B(r.attr("strokeOpacity"))?1:r.attr("strokeOpacity"),opacity:B(r.attr("opacity"))?1:r.attr("opacity")};r.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),r.animate(i,e)}function GE(r,e,t){var i={fillOpacity:0,strokeOpacity:0,opacity:0},n=e.easing,a=e.duration,o=e.delay;r.animate(i,a,n,function(){r.remove(!0)},o)}function VE(r,e,t){var i,n=q(e,2),a=n[0],o=n[1];return r.applyToMatrix([a,o,1]),t==="x"?(r.setMatrix(Rt(r.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),i=Rt(r.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):t==="y"?(r.setMatrix(Rt(r.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),i=Rt(r.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):t==="xy"&&(r.setMatrix(Rt(r.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),i=Rt(r.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),i}function nh(r,e,t,i,n){var a=t.start,o=t.end,s=t.getWidth(),l=t.getHeight(),u,c;n==="y"?(u=a.x+s/2,c=i.ya.x?i.x:a.x,c=a.y+l/2):n==="xy"&&(t.isPolar?(u=t.getCenter().x,c=t.getCenter().y):(u=(a.x+o.x)/2,c=(a.y+o.y)/2));var h=VE(r,[u,c],n);r.animate({matrix:h},e)}function YE(r,e,t){var i=t.coordinate,n=t.minYPoint;nh(r,e,i,n,"x")}function $E(r,e,t){var i=t.coordinate,n=t.minYPoint;nh(r,e,i,n,"y")}function HE(r,e,t){var i=t.coordinate,n=t.minYPoint;nh(r,e,i,n,"xy")}function XE(r,e,t){var i=r.getTotalLength();r.attr("lineDash",[i]),r.animate(function(n){return{lineDashOffset:(1-n)*i}},e)}function WE(r,e,t){var i=t.toAttrs,n=i.x,a=i.y;delete i.x,delete i.y,r.attr(i),r.animate({x:n,y:a},e)}function _E(r,e,t){var i=r.getBBox(),n=r.get("origin").mappingData,a=n.points,o=a[0].y-a[1].y>0?i.maxX:i.minX,s=(i.minY+i.maxY)/2;r.applyToMatrix([o,s,1]);var l=Rt(r.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);r.setMatrix(l),r.animate({matrix:Rt(r.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)}function qE(r,e,t){var i=r.getBBox(),n=r.get("origin").mappingData,a=(i.minX+i.maxX)/2,o=n.points,s=o[0].y-o[1].y<=0?i.maxY:i.minY;r.applyToMatrix([a,s,1]);var l=Rt(r.getMatrix(),[["t",-a,-s],["s",1,.01],["t",a,s]]);r.setMatrix(l),r.animate({matrix:Rt(r.getMatrix(),[["t",-a,-s],["s",1,100],["t",a,s]])},e)}function od(r,e){var t,i=is(r,e),n=i.startAngle,a=i.endAngle;return!_t(n,-Math.PI*.5)&&n<-Math.PI*.5&&(n+=Math.PI*2),!_t(a,-Math.PI*.5)&&a<-Math.PI*.5&&(a+=Math.PI*2),e[5]===0&&(t=q([a,n],2),n=t[0],a=t[1]),_t(n,Math.PI*1.5)&&(n=Math.PI*-.5),_t(a,Math.PI*-.5)&&!_t(n,a)&&(a=Math.PI*1.5),{startAngle:n,endAngle:a}}function sd(r){var e;return r[0]==="M"||r[0]==="L"?e=[r[1],r[2]]:(r[0]==="a"||r[0]==="A"||r[0]==="C")&&(e=[r[r.length-2],r[r.length-1]]),e}function ld(r){var e,t,i,n=r.filter(function(b){return b[0]==="A"||b[0]==="a"});if(n.length===0)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var a=n[0],o=n.length>1?n[1]:n[0],s=r.indexOf(a),l=r.indexOf(o),u=sd(r[s-1]),c=sd(r[l-1]),h=od(u,a),f=h.startAngle,v=h.endAngle,d=od(c,o),p=d.startAngle,g=d.endAngle;_t(f,p)&&_t(v,g)?(t=f,i=v):(t=Math.min(f,p),i=Math.max(v,g));var y=a[1],x=n[n.length-1][1];return y=0;u--){var c=this.getFacetsByLevel(t,u);try{for(var h=(i=void 0,ht(c)),f=h.next();!f.done;f=h.next()){var v=f.value;this.isLeaf(v)||(v.originColIndex=v.columnIndex,v.columnIndex=this.getRegionIndex(v.children),v.columnValuesLength=o.length)}}catch(d){i={error:d}}finally{try{f&&!f.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}}},e.prototype.getFacetsByLevel=function(t,i){var n=[];return t.forEach(function(a){a.rowIndex===i&&n.push(a)}),n},e.prototype.getRegionIndex=function(t){var i=t[0],n=t[t.length-1];return(n.columnIndex-i.columnIndex)/2+i.columnIndex},e.prototype.isLeaf=function(t){return!t.children||!t.children.length},e.prototype.getRows=function(){return this.cfg.fields.length+1},e.prototype.getChildFacets=function(t,i,n){var a=this,o=this.cfg.fields,s=o.length;if(!(s=v){var g=n.parsePosition([d[l],d[s.field]]);g&&f.push(g)}if(d[l]===h)return!1}),f},e.prototype.parsePercentPosition=function(t){var i=parseFloat(t[0])/100,n=parseFloat(t[1])/100,a=this.view.getCoordinate(),o=a.start,s=a.end,l={x:Math.min(o.x,s.x),y:Math.min(o.y,s.y)},u=a.getWidth()*i+l.x,c=a.getHeight()*n+l.y;return{x:u,y:c}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),i=t.start,n=t.end,a=t.getWidth(),o=t.getHeight(),s={x:Math.min(i.x,n.x),y:Math.min(i.y,n.y)};return{x:s.x,y:s.y,minX:s.x,minY:s.y,maxX:s.x+a,maxY:s.y+o,width:a,height:o}},e.prototype.getAnnotationCfg=function(t,i,n){var a=this,o=this.view.getCoordinate(),s=this.view.getCanvas(),l={};if(B(i))return null;var u=i.start,c=i.end,h=i.position,f=this.parsePosition(u),v=this.parsePosition(c),d=this.parsePosition(h);if(["arc","image","line","region","regionFilter"].includes(t)&&(!f||!v))return null;if(["text","dataMarker","html"].includes(t)&&!d)return null;if(t==="arc"){var p=i;p.start,p.end;var g=yt(p,["start","end"]),y=an(o,f),x=an(o,v);y>x&&(x=Math.PI*2+x),l=m(m({},g),{center:o.getCenter(),radius:Hs(o,f),startAngle:y,endAngle:x})}else if(t==="image"){var b=i;b.start,b.end;var g=yt(b,["start","end"]);l=m(m({},g),{start:f,end:v,src:i.src})}else if(t==="line"){var w=i;w.start,w.end;var g=yt(w,["start","end"]);l=m(m({},g),{start:f,end:v,text:A(i,"text",null)})}else if(t==="region"){var S=i;S.start,S.end;var g=yt(S,["start","end"]);l=m(m({},g),{start:f,end:v})}else if(t==="text"){var M=this.view.getData(),F=i;F.position;var T=F.content,g=yt(F,["position","content"]),L=T;X(T)&&(L=T(M)),l=m(m(m({},d),g),{content:L})}else if(t==="dataMarker"){var k=i;k.position;var P=k.point,O=k.line,z=k.text,V=k.autoAdjust,U=k.direction,g=yt(k,["position","point","line","text","autoAdjust","direction"]);l=m(m(m({},g),d),{coordinateBBox:this.getCoordinateBBox(),point:P,line:O,text:z,autoAdjust:V,direction:U})}else if(t==="dataRegion"){var D=i,N=D.start,W=D.end,$=D.region,z=D.text,Y=D.lineLength,g=yt(D,["start","end","region","text","lineLength"]);l=m(m({},g),{points:this.getRegionPoints(N,W),region:$,text:z,lineLength:Y})}else if(t==="regionFilter"){var _=i;_.start,_.end;var et=_.apply,at=_.color,g=yt(_,["start","end","apply","color"]),K=this.view.geometries,tt=[],gt=function(_e){_e&&(_e.isGroup()?_e.getChildren().forEach(function(Tn){return gt(Tn)}):tt.push(_e))};C(K,function(_e){et?oi(et,_e.type)&&C(_e.elements,function(Tn){gt(Tn.shape)}):C(_e.elements,function(Tn){gt(Tn.shape)})}),l=m(m({},g),{color:at,shapes:tt,start:f,end:v})}else if(t==="shape"){var Ft=i,kt=Ft.render,Zt=yt(Ft,["render"]),or=function(Kx){if(X(i.render))return kt(Kx,a.view,{parsePosition:a.parsePosition.bind(a)})};l=m(m({},Zt),{render:or})}else if(t==="html"){var sr=i,lr=sr.html;sr.position;var Zt=yt(sr,["html","position"]),ei=function(_e){return X(lr)?lr(_e,a.view):lr};l=m(m(m({},Zt),d),{parent:s.get("el").parentNode,html:ei})}var Mr=H({},n,m(m({},l),{top:i.top,style:i.style,offsetX:i.offsetX,offsetY:i.offsetY}));return t!=="html"&&(Mr.container=this.getComponentContainer(Mr)),Mr.animate=this.view.getOptions().animate&&Mr.animate&&A(i,"animate",Mr.animate),Mr.animateOption=H({},sn,Mr.animateOption,i.animateOption),Mr},e.prototype.isTop=function(t){return A(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return A(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var i=this.cache.get(this.getCacheKey(t));if(i){var n=t.type,a=this.getAnnotationTheme(n),o=this.getAnnotationCfg(n,t,a);o&&fe(o,["container"]),i.component.update(m(m({},o||{}),{visible:!!o})),oi(xo,t.type)&&i.component.render()}else i=this.createAnnotation(t),i&&(i.component.init(),oi(xo,t.type)&&i.component.render());return i},e.prototype.syncCache=function(t){var i=this,n=new Map(this.cache);return t.forEach(function(a,o){n.set(o,a)}),n.forEach(function(a,o){Ve(i.option,function(s){return o===i.getCacheKey(s)})||(a.component.destroy(),n.delete(o))}),n},e.prototype.getCacheKey=function(t){return t},e}(bn);function cd(r,e){var t=H({},A(r,["components","axis","common"]),A(r,["components","axis",e]));return A(t,["grid"],{})}function wo(r,e,t,i){var n=[],a=e.getTicks();return r.isPolar&&a.push({value:1,text:"",tickValue:""}),a.reduce(function(o,s,l){var u=s.value;if(i)n.push({points:[r.convert(t==="y"?{x:0,y:u}:{x:u,y:0}),r.convert(t==="y"?{x:1,y:u}:{x:u,y:1})]});else if(l){var c=o.value,h=(c+u)/2;n.push({points:[r.convert(t==="y"?{x:0,y:h}:{x:h,y:0}),r.convert(t==="y"?{x:1,y:h}:{x:h,y:1})]})}return s},a[0]),n}function $l(r,e,t,i,n){var a=e.values.length,o=[],s=t.getTicks();return s.reduce(function(l,u){var c=l?l.value:u.value,h=u.value,f=(c+h)/2;return n==="x"?o.push({points:[r.convert({x:i?h:f,y:0}),r.convert({x:i?h:f,y:1})]}):o.push({points:Mt(Array(a+1),function(v,d){return r.convert({x:d/a,y:i?h:f})})}),u},s[0]),o}function hd(r,e){var t=A(e,"grid");if(t===null)return!1;var i=A(r,"grid");return!(t===void 0&&i===null)}var Er=["container"],fd=m(m({},sn),{appear:null}),ok=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.cache=new Map,i.gridContainer=i.view.getLayer(It.BG).addGroup(),i.gridForeContainer=i.view.getLayer(It.FORE).addGroup(),i.axisContainer=i.view.getLayer(It.BG).addGroup(),i.axisForeContainer=i.view.getLayer(It.FORE).addGroup(),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,i=this.view.getCoordinate();C(this.getComponents(),function(n){var a=n.component,o=n.direction,s=n.type,l=n.extra,u=l.dim,c=l.scale,h=l.alignTick,f;if(s===Yt.AXIS)i.isPolar?u==="x"?f=i.isTransposed?oo(i,o):Ol(i):u==="y"&&(f=i.isTransposed?Ol(i):oo(i,o)):f=oo(i,o);else if(s===Yt.GRID)if(i.isPolar){var v=void 0;i.isTransposed?v=u==="x"?$l(i,t.view.getYScales()[0],c,h,u):wo(i,c,u,h):v=u==="x"?wo(i,c,u,h):$l(i,t.view.getXScale(),c,h,u),f={items:v,center:t.view.getCoordinate().getCenter()}}else f={items:wo(i,c,u,h)};a.update(f)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var i=new Map;this.cache.forEach(function(n,a){t.has(a)?i.set(a,n):n.component.destroy()}),this.cache=i},e.prototype.clear=function(){r.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(i){t.push(i)}),t},e.prototype.updateXAxes=function(t){var i=this.view.getXScale();if(!(!i||i.isIdentity)){var n=ts(this.option,i.field);if(n!==!1){var a=Sv(n,G.BOTTOM),o=It.BG,s="x",l=this.view.getCoordinate(),u=this.getId("axis",i.field),c=this.getId("grid",i.field);if(l.isRect){var h=this.cache.get(u);if(h){var f=this.getLineAxisCfg(i,n,a);fe(f,Er),h.component.update(f),t.set(u,h)}else h=this.createLineAxis(i,n,o,a,s),this.cache.set(u,h),t.set(u,h);var v=this.cache.get(c);if(v){var f=this.getLineGridCfg(i,n,a,s);fe(f,Er),v.component.update(f),t.set(c,v)}else v=this.createLineGrid(i,n,o,a,s),v&&(this.cache.set(c,v),t.set(c,v))}else if(l.isPolar){var h=this.cache.get(u);if(h){var f=l.isTransposed?this.getLineAxisCfg(i,n,G.RADIUS):this.getCircleAxisCfg(i,n,a);fe(f,Er),h.component.update(f),t.set(u,h)}else{if(l.isTransposed){if(li(n))return;h=this.createLineAxis(i,n,o,G.RADIUS,s)}else h=this.createCircleAxis(i,n,o,a,s);this.cache.set(u,h),t.set(u,h)}var v=this.cache.get(c);if(v){var f=l.isTransposed?this.getCircleGridCfg(i,n,G.RADIUS,s):this.getLineGridCfg(i,n,G.CIRCLE,s);fe(f,Er),v.component.update(f),t.set(c,v)}else{if(l.isTransposed){if(li(n))return;v=this.createCircleGrid(i,n,o,G.RADIUS,s)}else v=this.createLineGrid(i,n,o,G.CIRCLE,s);v&&(this.cache.set(c,v),t.set(c,v))}}}}},e.prototype.updateYAxes=function(t){var i=this,n=this.view.getYScales();C(n,function(a,o){if(!(!a||a.isIdentity)){var s=a.field,l=ts(i.option,s);if(l!==!1){var u=It.BG,c="y",h=i.getId("axis",s),f=i.getId("grid",s),v=i.view.getCoordinate();if(v.isRect){var d=Sv(l,o===0?G.LEFT:G.RIGHT),p=i.cache.get(h);if(p){var g=i.getLineAxisCfg(a,l,d);fe(g,Er),p.component.update(g),t.set(h,p)}else p=i.createLineAxis(a,l,u,d,c),i.cache.set(h,p),t.set(h,p);var y=i.cache.get(f);if(y){var g=i.getLineGridCfg(a,l,d,c);fe(g,Er),y.component.update(g),t.set(f,y)}else y=i.createLineGrid(a,l,u,d,c),y&&(i.cache.set(f,y),t.set(f,y))}else if(v.isPolar){var p=i.cache.get(h);if(p){var g=v.isTransposed?i.getCircleAxisCfg(a,l,G.CIRCLE):i.getLineAxisCfg(a,l,G.RADIUS);fe(g,Er),p.component.update(g),t.set(h,p)}else{if(v.isTransposed){if(li(l))return;p=i.createCircleAxis(a,l,u,G.CIRCLE,c)}else p=i.createLineAxis(a,l,u,G.RADIUS,c);i.cache.set(h,p),t.set(h,p)}var y=i.cache.get(f);if(y){var g=v.isTransposed?i.getLineGridCfg(a,l,G.CIRCLE,c):i.getCircleGridCfg(a,l,G.RADIUS,c);fe(g,Er),y.component.update(g),t.set(f,y)}else{if(v.isTransposed){if(li(l))return;y=i.createLineGrid(a,l,u,G.CIRCLE,c)}else y=i.createCircleGrid(a,l,u,G.RADIUS,c);y&&(i.cache.set(f,y),t.set(f,y))}}}}})},e.prototype.createLineAxis=function(t,i,n,a,o){var s={component:new xA(this.getLineAxisCfg(t,i,a)),layer:n,direction:a===G.RADIUS?G.NONE:a,type:Yt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,i,n,a,o){var s=this.getLineGridCfg(t,i,a,o);if(s){var l={component:new bA(s),layer:n,direction:G.NONE,type:Yt.GRID,extra:{dim:o,scale:t,alignTick:A(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,i,n,a,o){var s={component:new wA(this.getCircleAxisCfg(t,i,a)),layer:n,direction:a,type:Yt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createCircleGrid=function(t,i,n,a,o){var s=this.getCircleGridCfg(t,i,a,o);if(s){var l={component:new SA(s),layer:n,direction:G.NONE,type:Yt.GRID,extra:{dim:o,scale:t,alignTick:A(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,i,n){var a=A(i,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=oo(o,n),l=Cv(t,i),u=so(this.view.getTheme(),n),c=A(i,["title"])?H({title:{style:{text:l}}},{title:bv(this.view.getTheme(),n,i.title)},i):i,h=H(m(m({container:a},s),{ticks:t.getTicks().map(function(b){return{id:"".concat(b.tickValue),name:b.text,value:b.value}}),verticalFactor:o.isPolar?wv(s,o.getCenter())*-1:wv(s,o.getCenter()),theme:u}),u,c),f=this.getAnimateCfg(h),v=f.animate,d=f.animateOption;h.animateOption=d,h.animate=v;var p=vy(s),g=A(h,"verticalLimitLength",p?1/3:1/2);if(g<=1){var y=this.view.getCanvas().get("width"),x=this.view.getCanvas().get("height");h.verticalLimitLength=g*(p?y:x)}return h},e.prototype.getLineGridCfg=function(t,i,n,a){if(hd(so(this.view.getTheme(),n),i)){var o=cd(this.view.getTheme(),n),s=H({container:A(i,["top"])?this.gridForeContainer:this.gridContainer},o,A(i,"grid"),this.getAnimateCfg(i));return s.items=wo(this.view.getCoordinate(),t,a,A(s,"alignTick",!0)),s}},e.prototype.getCircleAxisCfg=function(t,i,n){var a=A(i,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=t.getTicks().map(function(p){return{id:"".concat(p.tickValue),name:p.text,value:p.value}});!t.isCategory&&Math.abs(o.endAngle-o.startAngle)===Math.PI*2&&s.length&&(s[s.length-1].name="");var l=Cv(t,i),u=so(this.view.getTheme(),G.CIRCLE),c=A(i,["title"])?H({title:{style:{text:l}}},{title:bv(this.view.getTheme(),n,i.title)},i):i,h=H(m(m({container:a},Ol(this.view.getCoordinate())),{ticks:s,verticalFactor:1,theme:u}),u,c),f=this.getAnimateCfg(h),v=f.animate,d=f.animateOption;return h.animate=v,h.animateOption=d,h},e.prototype.getCircleGridCfg=function(t,i,n,a){if(hd(so(this.view.getTheme(),n),i)){var o=cd(this.view.getTheme(),G.RADIUS),s=H({container:A(i,["top"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,A(i,"grid"),this.getAnimateCfg(i)),l=A(s,"alignTick",!0),u=a==="x"?this.view.getYScales()[0]:this.view.getXScale();return s.items=$l(this.view.getCoordinate(),u,t,l,a),s}},e.prototype.getId=function(t,i){var n=this.view.getCoordinate();return"".concat(t,"-").concat(i,"-").concat(n.type)},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&A(t,"animate"),animateOption:t&&t.animateOption?H({},fd,t.animateOption):fd}},e}(bn);function Rr(r,e,t){return t===G.TOP?[r.minX+r.width/2-e.width/2,r.minY]:t===G.BOTTOM?[r.minX+r.width/2-e.width/2,r.maxY-e.height]:t===G.LEFT?[r.minX,r.minY+r.height/2-e.height/2]:t===G.RIGHT?[r.maxX-e.width,r.minY+r.height/2-e.height/2]:t===G.TOP_LEFT||t===G.LEFT_TOP?[r.tl.x,r.tl.y]:t===G.TOP_RIGHT||t===G.RIGHT_TOP?[r.tr.x-e.width,r.tr.y]:t===G.BOTTOM_LEFT||t===G.LEFT_BOTTOM?[r.bl.x,r.bl.y-e.height]:t===G.BOTTOM_RIGHT||t===G.RIGHT_BOTTOM?[r.br.x-e.width,r.br.y-e.height]:[0,0]}function vd(r,e){return tn(r)?r===!1?!1:{}:A(r,[e],r)}function bo(r){return A(r,"position",G.BOTTOM)}var sk=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.container=i.view.getLayer(It.FORE).addGroup(),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,C(this.components,function(i){var n=i.component,a=i.direction,o=Bl(a),s=n.get("maxWidthRatio"),l=n.get("maxHeightRatio"),u=t.getCategoryLegendSizeCfg(o,s,l),c=n.get("maxWidth"),h=n.get("maxHeight");n.update({maxWidth:Math.min(u.maxWidth,c||0),maxHeight:Math.min(u.maxHeight,h||0)});var f=n.get("padding"),v=n.getLayoutBBox(),d=new se(v.x,v.y,v.width,v.height).expand(f),p=q(Rr(t.view.viewBBox,d,a),2),g=p[0],y=p[1],x=q(Rr(t.layoutBBox,d,a),2),b=x[0],w=x[1],S=0,M=0;a.startsWith("top")||a.startsWith("bottom")?(S=g,M=w):(S=b,M=y),n.setLocation({x:S+f[3],y:M+f[0]}),t.layoutBBox=t.layoutBBox.cut(d,a)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var i={},n=function(f,v,d){var p=t.getId(d.field),g=t.getComponentById(p);if(g){var y=void 0,x=vd(t.option,d.field);x!==!1&&(A(x,"custom")?y=t.getCategoryCfg(f,v,d,x,!0):d.isLinear?y=t.getContinuousCfg(f,v,d,x):d.isCategory&&(y=t.getCategoryCfg(f,v,d,x))),y&&(fe(y,["container"]),g.direction=bo(x),g.component.update(y),i[p]=!0)}else{var b=t.createFieldLegend(f,v,d);b&&(b.component.init(),t.components.push(b),i[p]=!0)}};if(A(this.option,"custom")){var a="global-custom",o=this.getComponentById(a);if(o){var s=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);fe(s,["container"]),o.component.update(s),i[a]=!0}else{var l=this.createCustomLegend(void 0,void 0,void 0,this.option);if(l){l.init();var u=It.FORE,c=bo(this.option);this.components.push({id:a,component:l,layer:u,direction:c,type:Yt.LEGEND,extra:void 0}),i[a]=!0}}}else this.loopLegends(n);var h=[];C(this.getComponents(),function(f){i[f.id]?h.push(f):f.component.destroy()}),this.components=h},e.prototype.clear=function(){r.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var i=this,n=t.geometries;return C(t.views,function(a){n=n.concat(i.getGeometries(a))}),n},e.prototype.loopLegends=function(t){var i=this.view.getRootView()===this.view;if(i){var n=this.getGeometries(this.view),a={};C(n,function(o){var s=o.getGroupAttributes();C(s,function(l){var u=l.getScale(l.type);!u||u.type==="identity"||a[u.field]||(t(o,l,u),a[u.field]=!0)})})}},e.prototype.createFieldLegend=function(t,i,n){var a,o=vd(this.option,n.field),s=It.FORE,l=bo(o);if(o!==!1&&(A(o,"custom")?a=this.createCustomLegend(t,i,n,o):n.isLinear?a=this.createContinuousLegend(t,i,n,o):n.isCategory&&(a=this.createCategoryLegend(t,i,n,o))),a)return a.set("field",n.field),{id:this.getId(n.field),component:a,layer:s,direction:l,type:Yt.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,i,n,a){var o=this.getCategoryCfg(t,i,n,a,!0);return new yv(o)},e.prototype.createContinuousLegend=function(t,i,n,a){var o=this.getContinuousCfg(t,i,n,fe(a,["value"]));return new CA(o)},e.prototype.createCategoryLegend=function(t,i,n,a){var o=this.getCategoryCfg(t,i,n,a);return new yv(o)},e.prototype.getContinuousCfg=function(t,i,n,a){var o=n.getTicks(),s=Ve(o,function(p){return p.value===0}),l=Ve(o,function(p){return p.value===1}),u=o.map(function(p){var g=p.value,y=p.tickValue,x=i.mapping(n.invert(g)).join("");return{value:y,attrValue:x,color:x,scaleValue:g}});s||u.push({value:n.min,attrValue:i.mapping(n.invert(0)).join(""),color:i.mapping(n.invert(0)).join(""),scaleValue:0}),l||u.push({value:n.max,attrValue:i.mapping(n.invert(1)).join(""),color:i.mapping(n.invert(1)).join(""),scaleValue:1}),u.sort(function(p,g){return p.value-g.value});var c={min:be(u).value,max:zt(u).value,colors:[],rail:{type:i.type},track:{}};i.type==="size"&&(c.track={style:{fill:i.type==="size"?this.view.getTheme().defaultColor:void 0}}),i.type==="color"&&(c.colors=u.map(function(p){return p.attrValue}));var h=this.container,f=bo(a),v=Bl(f),d=A(a,"title");return d&&(d=H({text:ya(n)},d)),c.container=h,c.layout=v,c.title=d,c.animateOption=sn,this.mergeLegendCfg(c,a,"continuous")},e.prototype.getCategoryCfg=function(t,i,n,a,o){var s=this.container,l=A(a,"position",G.BOTTOM),u=Bv(this.view.getTheme(),l),c=A(u,["marker"]),h=A(a,"marker"),f=Bl(l),v=A(u,["pageNavigator"]),d=A(a,"pageNavigator"),p=o?qF(c,h,a.items):Uy(this.view,t,i,c,h),g=A(a,"title");g&&(g=H({text:n?ya(n):""},g));var y=A(a,"maxWidthRatio"),x=A(a,"maxHeightRatio"),b=this.getCategoryLegendSizeCfg(f,y,x);b.container=s,b.layout=f,b.items=p,b.title=g,b.animateOption=sn,b.pageNavigator=H({},v,d);var w=this.mergeLegendCfg(b,a,l);w.reversed&&w.items.reverse();var S=A(w,"maxItemWidth");return S&&S<=1&&(w.maxItemWidth=this.view.viewBBox.width*S),w},e.prototype.mergeLegendCfg=function(t,i,n){var a=n.split("-")[0],o=Bv(this.view.getTheme(),a);return H({},o,t,i)},e.prototype.getId=function(t){return"".concat(this.name,"-").concat(t)},e.prototype.getComponentById=function(t){return Ve(this.components,function(i){return i.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t,i,n){i===void 0&&(i=jh),n===void 0&&(n=jh);var a=this.view.viewBBox,o=a.width,s=a.height;return t==="vertical"?{maxWidth:o*i,maxHeight:s}:{maxWidth:o,maxHeight:s*n}},e}(bn),lk=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.onChangeFn=Or,i.resetMeasure=function(){i.clear()},i.onValueChange=function(n){var a=q(n,2),o=a[0],s=a[1];i.start=o,i.end=s,i.changeViewData(o,s)},i.container=i.view.getLayer(It.FORE).addGroup(),i.onChangeFn=uc(i.onValueChange,20,{leading:!0}),i.width=0,i.view.on(ot.BEFORE_CHANGE_DATA,i.resetMeasure),i.view.on(ot.BEFORE_CHANGE_SIZE,i.resetMeasure),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(ot.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(ot.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),i=t.start,n=t.end;B(this.start)&&(this.start=i,this.end=n);var a=this.view.getOptions().data;this.option&&!ge(a)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var i=this.view.coordinateBBox.width,n=this.slider.component.get("padding"),a=q(n,4),o=a[0];a[1],a[2];var s=a[3],l=this.slider.component.getLayoutBBox(),u=new se(l.x,l.y,Math.min(l.width,i),l.height).expand(n),c=this.getMinMaxText(this.start,this.end),h=c.minText,f=c.maxText,v=q(Rr(this.view.viewBBox,u,G.BOTTOM),2);v[0];var d=v[1],p=q(Rr(this.view.coordinateBBox,u,G.BOTTOM),2),g=p[0];p[1],this.slider.component.update(m(m({},this.getSliderCfg()),{x:g+s,y:d+o,width:this.width,start:this.start,end:this.end,minText:h,maxText:f})),this.view.viewBBox=this.view.viewBBox.cut(u,G.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),i=new gA(m({container:this.container},t));return i.init(),{component:i,layer:It.FORE,direction:G.BOTTOM,type:Yt.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var i=this.getMinMaxText(this.start,this.end),n=i.minText,a=i.maxText;t=m(m({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:a})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if(pt(this.option)){var i=m({data:this.getData()},A(this.option,"trendCfg",{}));t=H({},t,this.getThemeOptions(),this.option),t=m(m({},t),{trendCfg:i})}return t.start=Ct(Math.min(B(t.start)?0:t.start,B(t.end)?1:t.end),0,1),t.end=Ct(Math.max(B(t.start)?0:t.start,B(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,i=q(this.view.getYScales(),1),n=i[0],a=this.view.getGroupScales();if(a.length){var o=a[0],s=o.field,l=o.ticks;return t.reduce(function(u,c){return c[s]===l[0]&&u.push(c[n.field]),u},[])}return t.map(function(u){return u[n.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return A(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,i){var n=this.view.getOptions().data,a=this.view.getXScale(),o=$e(n,a.field);a.isLinear&&(o=o.sort());var s=o,l=$t(n);if(!a||!l)return{};var u=$t(s),c=Math.round(t*(u-1)),h=Math.round(i*(u-1)),f=A(s,[c]),v=A(s,[h]),d=this.getSliderCfg().formatter;return d&&(f=d(f,n[c],c),v=d(v,n[h],h)),{minText:f,maxText:v}},e.prototype.changeViewData=function(t,i){var n=this.view.getOptions().data,a=this.view.getXScale(),o=$t(n);if(!(!a||!o)){var s=$e(n,a.field),l=this.view.getXScale().isLinear?s.sort(function(v,d){return Number(v)-Number(d)}):s,u=l,c=$t(u),h=Math.round(t*(c-1)),f=Math.round(i*(c-1));this.view.filter(a.field,function(v,d){var p=u.indexOf(v);return p>-1?qi(p,h,f):!0}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(bn),So=0,dd=8,uk=32,ck=20,hk=function(r){E(e,r);function e(t){var i=r.call(this,t)||this;return i.onChangeFn=Or,i.resetMeasure=function(){i.clear()},i.onValueChange=function(n){var a=n.ratio,o=i.getValidScrollbarCfg().animate;i.ratio=Ct(a,0,1);var s=i.view.getOptions().animate;o||i.view.animate(!1),i.changeViewData(i.getScrollRange(),!0),i.view.animate(s)},i.container=i.view.getLayer(It.FORE).addGroup(),i.onChangeFn=uc(i.onValueChange,20,{leading:!0}),i.trackLen=0,i.thumbLen=0,i.ratio=0,i.view.on(ot.BEFORE_CHANGE_DATA,i.resetMeasure),i.view.on(ot.BEFORE_CHANGE_SIZE,i.resetMeasure),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(ot.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(ot.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var i=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),a=this.scrollbar.component.getLayoutBBox(),o=new se(a.x,a.y,Math.min(a.width,i),a.height).expand(n),s=this.getScrollbarComponentCfg(),l=void 0,u=void 0;if(s.isHorizontal){var c=q(Rr(this.view.viewBBox,o,G.BOTTOM),2);c[0];var h=c[1],f=q(Rr(this.view.coordinateBBox,o,G.BOTTOM),2),v=f[0];f[1],l=v,u=h}else{var d=q(Rr(this.view.viewBBox,o,G.RIGHT),2);d[0];var h=d[1],p=q(Rr(this.view.viewBBox,o,G.RIGHT),2),v=p[0];p[1],l=v,u=h}l+=n[3],u+=n[0],this.trackLen?this.scrollbar.component.update(m(m({},s),{x:l,y:u,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(m(m({},s),{x:l,y:u})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?G.BOTTOM:G.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return A(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var i=A(this.view.getTheme(),["components","scrollbar"]),n=t||{},a=n.thumbHighlightColor,o=yt(n,["thumbHighlightColor"]);return{default:H({},A(i,["default","style"],{}),o),hover:H({},A(i,["hover","style"],{}),{thumbColor:a})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),i=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),a=n.trackLen,o=n.thumbLen;this.trackLen=a,this.thumbLen=o,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=i},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*Ct(this.ratio,0,1)),i=Math.min(t+this.step-1,this.cnt-1);return[t,i]},e.prototype.changeViewData=function(t,i){var n=this,a=q(t,2),o=a[0],s=a[1],l=this.getValidScrollbarCfg().type,u=l!=="vertical",c=$e(this.data,this.xScaleCfg.field),h=this.view.getXScale().isLinear?c.sort(function(v,d){return Number(v)-Number(d)}):c,f=u?h:h.reverse();this.yScalesCfg.forEach(function(v){n.view.scale(v.field,{formatter:v.formatter,type:v.type,min:v.min,max:v.max,tickMethod:v.tickMethod})}),this.view.filter(this.xScaleCfg.field,function(v){var d=f.indexOf(v);return d>-1?qi(d,o,s):!0}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,i=t!=="vertical",n=new mA(m(m({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return n.init(),{component:n,layer:It.FORE,direction:i?G.BOTTOM:G.RIGHT,type:Yt.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),i=this.trackLen?m(m({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):m({},t);return this.scrollbar.component.update(i),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,i=this.getValidScrollbarCfg(),n=i.type,a=i.categorySize,o=n!=="vertical";return Math.floor((o?t.width:t.height)/a)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),i=this.getScrollbarData(),n=$e(i,t.field);return $t(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,i=t.coordinateBBox,n=t.viewBBox,a=this.getValidScrollbarCfg(),o=a.type,s=a.padding,l=a.width,u=a.height,c=a.style,h=o!=="vertical",f=q(s,4),v=f[0],d=f[1],p=f[2],g=f[3],y=h?{x:i.minX+g,y:n.maxY-u-p}:{x:n.maxX-l-d,y:i.minY+v},x=this.getStep(),b=this.getCnt(),w=h?i.width-g-d:i.height-v-p,S=Math.max(w*Ct(x/b,0,1),ck);return m(m({},this.getThemeOptions()),{x:y.x,y:y.y,size:h?u:l,isHorizontal:h,trackLen:w,thumbLen:S,thumbOffset:0,theme:this.getScrollbarTheme(c)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:uk,width:dd,height:dd,padding:[0,0,0,0],animate:!0,style:{}};return pt(this.option)&&(t=m(m({},t),this.option)),(!pt(this.option)||!this.option.padding)&&(t.padding=t.type==="horizontal"?[So,0,So,0]:[0,So,0,So]),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),i=this.getValidScrollbarCfg(),n=this.view.getOptions().data||[];return t.isReflect("y")&&i.type==="vertical"&&(n=Z([],q(n),!1).reverse()),n},e}(bn),fk={fill:"#CCD6EC",opacity:.3};function vk(r,e,t){var i,n,a,o,s,l,u=wF(r,e,t);if(u.length){u=Me(u);try{for(var c=ht(u),h=c.next();!h.done;h=c.next()){var f=h.value;try{for(var v=(a=void 0,ht(f)),d=v.next();!d.done;d=v.next()){var p=d.value,g=p.mappingData,y=g.x,x=g.y;p.x=R(y)?y[y.length-1]:y,p.y=R(x)?x[x.length-1]:x}}catch(k){a={error:k}}finally{try{d&&!d.done&&(o=v.return)&&o.call(v)}finally{if(a)throw a.error}}}}catch(k){i={error:k}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}var b=t.shared;if(b===!1&&u.length>1){var w=u[0],S=Math.abs(e.y-w[0].y);try{for(var M=ht(u),F=M.next();!F.done;F=M.next()){var T=F.value,L=Math.abs(e.y-T[0].y);L<=S&&(w=T,S=L)}}catch(k){s={error:k}}finally{try{F&&!F.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}u=[w]}return Si(Me(u))}return[]}var dk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(t){var i=this.context.view,n=this.context.event,a=i.getController("tooltip").getTooltipCfg(),o=vk(i,{x:n.x,y:n.y},a);if(!Pt(o,this.items)&&(this.items=o,o.length)){var s=i.getXScale().field,l=o[0].data[s],u=[],c=i.geometries;if(C(c,function(W){if(W.type==="interval"||W.type==="schema"){var $=W.getElementsBy(function(Y){var _=Y.getData();return _[s]===l});u=u.concat($)}}),u.length){var h=i.getCoordinate(),f=u[0].shape.getCanvasBBox(),v=u[0].shape.getCanvasBBox(),d=f;C(u,function(W){var $=W.shape.getCanvasBBox();h.isTransposed?($.minYv.maxY&&(v=$)):($.minXv.maxX&&(v=$)),d.x=Math.min($.minX,d.minX),d.y=Math.min($.minY,d.minY),d.width=Math.max($.maxX,d.maxX)-d.x,d.height=Math.max($.maxY,d.maxY)-d.y});var p=i.backgroundGroup,g=i.coordinateBBox,y=void 0;if(h.isRect){var x=i.getXScale(),b=t||{},w=b.appendRatio,S=b.appendWidth;B(S)&&(w=B(w)?x.isLinear?0:.25:w,S=h.isTransposed?w*v.height:w*f.width);var M=void 0,F=void 0,T=void 0,L=void 0;h.isTransposed?(M=g.minX,F=Math.min(v.minY,f.minY)-S,T=g.width,L=d.height+S*2):(M=Math.min(f.minX,v.minX)-S,F=g.minY,T=d.width+S*2,L=g.height),y=[["M",M,F],["L",M+T,F],["L",M+T,F+L],["L",M,F+L],["Z"]]}else{var k=be(u),P=zt(u),O=ga(k.getModel(),h).startAngle,z=ga(P.getModel(),h).endAngle,V=h.getCenter(),U=h.getRadius(),D=h.innerRadius*U;y=Vr(V.x,V.y,U,O,z,D)}if(this.regionPath)this.regionPath.attr("path",y),this.regionPath.show();else{var N=A(t,"style",fk);this.regionPath=p.addShape({type:"path",name:"active-region",capture:!1,attrs:m(m({},N),{path:y})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),r.prototype.destroy.call(this)},e}(St),Em=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.context,i=t.event,n=t.view,a=n.isTooltipLocked();if(!a){var o=this.timeStamp,s=+new Date,l=A(t.view.getOptions(),"tooltip.showDelay",16);if(s-o>l){var u=this.location,c={x:i.x,y:i.y};(!u||!Pt(u,c))&&this.showTooltip(n,c),this.timeStamp=s,this.location=c}}},e.prototype.hide=function(){var t=this.context.view,i=t.getController("tooltip"),n=this.context.event,a=n.clientX,o=n.clientY;i.isCursorEntered({x:a,y:o})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,i){t.showTooltip(i)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(St),pk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.showTooltip=function(t,i){var n=tr(t);C(n,function(a){var o=Iu(t,a,i);a.showTooltip(o)})},e.prototype.hideTooltip=function(t){var i=tr(t);C(i,function(n){n.hideTooltip()})},e}(Em),gk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context,i=t.event,n=this.timeStamp,a=+new Date;if(a-n>16){var o=this.location,s={x:i.x,y:i.y};(!o||!Pt(o,s))&&this.showTooltip(s),this.timeStamp=a,this.location=s}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var i=this.context,n=i.event,a=n.target;if(a&&a.get("tip")){this.tooltip||this.renderTooltip();var o=a.get("tip");this.tooltip.update(m({title:o},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=this.context.view,n=i.canvas,a={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},o=i.getTheme(),s=A(o,["components","tooltip","domStyles"],{}),l=new $s({parent:n.get("el").parentNode,region:a,visible:!1,crosshairs:null,domStyles:m({},H({},s,(t={},t[wr]={"max-width":"50%"},t[br]={"word-break":"break-all"},t)))});l.init(),l.setCapture(!1),this.tooltip=l},e}(St),oh=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t}return e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,i){t.setState(this.stateName,i)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var i=this,n=Fy(t,this.stateName);C(n,function(a){i.setElementState(a,!1)})},e}(St);function pd(r){return A(r.get("delegateObject"),"item")}var sh=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.ignoreListItemStates=["unchecked"],t}return e.prototype.isItemIgnore=function(t,i){var n=this.ignoreListItemStates,a=n.filter(function(o){return i.hasState(t,o)});return!!a.length},e.prototype.setStateByComponent=function(t,i,n){var a=this.context.view,o=t.get("field"),s=Ut(a);this.setElementsStateByItem(s,o,i,n)},e.prototype.setStateByElement=function(t,i){this.setElementState(t,i)},e.prototype.isMathItem=function(t,i,n){var a=this.context.view,o=on(a,i),s=He(t,i);return!B(s)&&n.name===o.getText(s)},e.prototype.setElementsStateByItem=function(t,i,n,a){var o=this;C(t,function(s){o.isMathItem(s,i,n)&&s.setState(o.stateName,a)})},e.prototype.setStateEnable=function(t){var i=Xr(this.context);if(i)Sy(this.context)&&this.setStateByElement(i,t);else{var n=Ai(this.context);if(ma(n)){var a=n.item,o=n.component;if(a&&o&&!this.isItemIgnore(a,o)){var s=this.context.event.gEvent;if(s&&s.fromShape&&s.toShape&&pd(s.fromShape)===pd(s.toShape))return;this.setStateByComponent(o,a,t)}}}},e.prototype.toggle=function(){var t=Xr(this.context);if(t){var i=t.hasState(this.stateName);this.setElementState(t,!i)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(oh),yk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(sh),mk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.cache={},t}return e.prototype.getColorScale=function(t,i){var n=i.geometry.getAttribute("color");if(!n)return null;var a=t.getScaleByField(n.getFields()[0]);return a},e.prototype.getLinkPath=function(t,i){var n=this.context.view,a=n.getCoordinate().isTransposed,o=t.shape.getCanvasBBox(),s=i.shape.getCanvasBBox(),l=a?[["M",o.minX,o.minY],["L",s.minX,s.maxY],["L",s.maxX,s.maxY],["L",o.maxX,o.minY],["Z"]]:[["M",o.maxX,o.minY],["L",s.minX,s.minY],["L",s.minX,s.maxY],["L",o.maxX,o.maxY],["Z"]];return l},e.prototype.addLinkShape=function(t,i,n,a){var o={opacity:.4,fill:i.shape.attr("fill")};t.addShape({type:"path",attrs:m(m({},H({},o,X(a)?a(o,i):a)),{path:this.getLinkPath(i,n)})})},e.prototype.linkByElement=function(t,i){var n=this,a=this.context.view,o=this.getColorScale(a,t);if(o){var s=He(t,o.field);if(!this.cache[s]){var l=KA(a,o.field,s),u=this.linkGroup,c=u.addGroup();this.cache[s]=c;var h=l.length;C(l,function(f,v){if(v=0},i)},e}(lh),Ck=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,i){var n=this.context.view,a=Ut(n);km(a,function(o){return t===o},i)},e.prototype.clear=function(){var t=this.context.view;ch(t)},e}(uh),Mk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(lh),Ak=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(sh),Fk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(uh),Pi=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t.ignoreItemStates=[],t}return e.prototype.getTriggerListInfo=function(){var t=Ai(this.context),i=null;return ma(t)&&(i={item:t.item,list:t.component}),i},e.prototype.getAllowComponents=function(){var t=this,i=this.context.view,n=Ey(i),a=[];return C(n,function(o){o.isList()&&t.allowSetStateByElement(o)&&a.push(o)}),a},e.prototype.hasState=function(t,i){return t.hasState(i,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,i=this.getAllowComponents();C(i,function(n){n.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var i=t.get("field");if(!i)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(this.cfg.componentNames.indexOf(n)===-1)return!1}var a=this.context.view,o=on(a,i);return o&&o.isCategory},e.prototype.allowSetStateByItem=function(t,i){var n=this.ignoreItemStates;if(n.length){var a=n.filter(function(o){return i.hasState(t,o)});return a.length===0}return!0},e.prototype.setStateByElement=function(t,i,n){var a=t.get("field"),o=this.context.view,s=on(o,a),l=He(i,a),u=s.getText(l);this.setItemsState(t,u,n)},e.prototype.setStateEnable=function(t){var i=this,n=Xr(this.context);if(n){var a=this.getAllowComponents();C(a,function(u){i.setStateByElement(u,n,t)})}else{var o=Ai(this.context);if(ma(o)){var s=o.item,l=o.component;this.allowSetStateByElement(l)&&this.allowSetStateByItem(s,l)&&this.setItemState(l,s,t)}}},e.prototype.setItemsState=function(t,i,n){var a=this,o=t.getItems();C(o,function(s){s.name===i&&a.setItemState(t,s,n)})},e.prototype.setItemState=function(t,i,n){t.setItemState(i,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var i=t.list,n=t.item,a=this.hasState(i,n);this.setItemState(i,n,!a)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(St),Tk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(Pi),gd="inactive",yd="active";function Ek(r){var e=r.getItems();C(e,function(t){r.hasState(t,yd)&&r.setItemState(t,yd,!1),r.hasState(t,gd)&&r.setItemState(t,gd,!1)})}var On="inactive",ii="active",fh=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=ii,t.ignoreItemStates=["unchecked"],t}return e.prototype.setItemsState=function(t,i,n){this.setHighlightBy(t,function(a){return a.name===i},n)},e.prototype.setItemState=function(t,i,n){t.getItems(),this.setHighlightBy(t,function(a){return a===i},n)},e.prototype.setHighlightBy=function(t,i,n){var a=t.getItems();if(n)C(a,function(l){i(l)?(t.hasState(l,On)&&t.setItemState(l,On,!1),t.setItemState(l,ii,!0)):t.hasState(l,ii)||t.setItemState(l,On,!0)});else{var o=t.getItemsByState(ii),s=!0;C(o,function(l){if(!i(l))return s=!1,!1}),s?this.clear():C(a,function(l){i(l)&&(t.hasState(l,ii)&&t.setItemState(l,ii,!1),t.setItemState(l,On,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)Ek(t.list);else{var i=this.getAllowComponents();C(i,function(n){n.clearItemsState(ii),n.clearItemsState(On)})}},e}(Pi),kk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(Pi),Lk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="unchecked",t}return e.prototype.unchecked=function(){this.setState()},e}(Pi),Gi="unchecked",Co="checked",Ik=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=Co,t}return e.prototype.setItemState=function(t,i,n){this.setCheckedBy(t,function(a){return a===i},n)},e.prototype.setCheckedBy=function(t,i,n){var a=t.getItems();n&&C(a,function(o){i(o)?(t.hasState(o,Gi)&&t.setItemState(o,Gi,!1),t.setItemState(o,Co,!0)):t.hasState(o,Co)||t.setItemState(o,Gi,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var i=t.list,n=t.item,a=!ps(i.getItems(),function(o){return i.hasState(o,Gi)});a||i.hasState(n,Gi)?this.setItemState(i,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();C(t,function(i){i.clearItemsState(Co),i.clearItemsState(Gi)})},e}(Pi),Vi="unchecked",Pk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.toggle=function(){var t,i,n,a,o,s,l,u,c=this.getTriggerListInfo();if(c!=null&&c.item){var h=c.list,f=c.item,v=h.getItems(),d=v.filter(function(k){return!h.hasState(k,Vi)}),p=v.filter(function(k){return h.hasState(k,Vi)}),g=d[0];if(v.length===d.length)try{for(var y=ht(v),x=y.next();!x.done;x=y.next()){var b=x.value;h.setItemState(b,Vi,b.id!==f.id)}}catch(k){t={error:k}}finally{try{x&&!x.done&&(i=y.return)&&i.call(y)}finally{if(t)throw t.error}}else if(v.length-p.length===1)if(g.id===f.id)try{for(var w=ht(v),S=w.next();!S.done;S=w.next()){var b=S.value;h.setItemState(b,Vi,!1)}}catch(k){n={error:k}}finally{try{S&&!S.done&&(a=w.return)&&a.call(w)}finally{if(n)throw n.error}}else try{for(var M=ht(v),F=M.next();!F.done;F=M.next()){var b=F.value;h.setItemState(b,Vi,b.id!==f.id)}}catch(k){o={error:k}}finally{try{F&&!F.done&&(s=M.return)&&s.call(M)}finally{if(o)throw o.error}}else try{for(var T=ht(v),L=T.next();!L.done;L=T.next()){var b=L.value;h.setItemState(b,Vi,b.id!==f.id)}}catch(k){l={error:k}}finally{try{L&&!L.done&&(u=T.return)&&u.call(T)}finally{if(l)throw l.error}}}},e}(Pi),md="showRadio",Hl="legend-radio-tip",Dk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var i=t.list,n=t.item;i.setItemState(n,md,!0)}},e.prototype.hide=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var i=t.list,n=t.item;i.setItemState(n,md,!1)}},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.showTip=function(){var t=this.context,i=t.event,n=this.timeStamp,a=+new Date,o=this.context.event.target;if(a-n>16&&o.get("name")==="legend-item-radio"){var s=this.location,l={x:i.x,y:i.y};this.timeStamp=a,this.location=l,(!s||!Pt(s,l))&&this.showTooltip(l)}},e.prototype.hideTip=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var i=this.context,n=i.event,a=n.target;if(a&&a.get("tip")){this.tooltip||this.renderTooltip();var o=i.view.getCanvas().get("el").getBoundingClientRect(),s=o.x,l=o.y;this.tooltip.update(m(m({title:a.get("tip")},t),{x:t.x+s,y:t.y+l})),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=(t={},t[wr]={padding:"6px 8px",transform:"translate(-50%, -80%)",background:"rgba(0,0,0,0.75)",color:"#fff","border-radius":"2px","z-index":100},t[br]={"font-size":"12px","line-height":"14px","margin-bottom":0,"word-break":"break-all"},t);document.getElementById(Hl)&&document.body.removeChild(document.getElementById(Hl));var n=new $s({parent:document.body,region:null,visible:!1,crosshairs:null,domStyles:i,containerId:Hl});n.init(),n.setCapture(!1),this.tooltip=n},e}(Pi),vh=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShape=null,t.points=[],t.starting=!1,t.moving=!1,t.preMovePoint=null,t.shapeType="path",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var i="mask:".concat(t),n=this.context.view,a=this.context.event;n.emit(i,{target:this.maskShape,shape:this.maskShape,points:this.points,x:a.x,y:a.y})},e.prototype.createMask=function(){var t=this.context.view,i=this.getMaskAttrs(),n=t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:m({fill:"#C5D4EB",opacity:.3},i)});return n},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(t){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(!(!this.moving||!this.maskShape)){var t=this.getCurrentPoint(),i=this.preMovePoint,n=t.x-i.x,a=t.y-i.y,o=this.points;C(o,function(s){s.x+=n,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(t){var i=H({},this.getMaskAttrs(),t);this.maskShape.attr(i)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,r.prototype.destroy.call(this)},e}(St);function Im(r){var e=zt(r),t=0,i=0,n=0;if(r.length){var a=r[0];t=Nc(a,e)/2,i=(e.x+a.x)/2,n=(e.y+a.y)/2}return{x:i,y:n,r:t}}var Ok=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t}return e.prototype.getMaskAttrs=function(){return Im(this.points)},e}(vh);function Pm(r){return{start:be(r),end:zt(r)}}function Dm(r,e){var t=Math.min(r.x,e.x),i=Math.min(r.y,e.y),n=Math.abs(e.x-r.x),a=Math.abs(e.y-r.y);return{x:t,y:i,width:n,height:a}}var Om=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(){return Pm(this.points)},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),i=t.start,n=t.end;return Dm(i,n)},e}(vh);function xd(r){r.x=Ct(r.x,0,1),r.y=Ct(r.y,0,1)}function Bm(r,e,t,i){var n=null,a=null,o=i.invert(be(r)),s=i.invert(zt(r));return t&&(xd(o),xd(s)),e==="x"?(n=i.convert({x:o.x,y:0}),a=i.convert({x:s.x,y:1})):(n=i.convert({x:0,y:o.y}),a=i.convert({x:1,y:s.y})),{start:n,end:a}}var Rm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(){var t=this.context.view.getCoordinate();return Bm(this.points,this.dim,this.inPlot,t)},e}(Om);function dh(r){var e=[];return r.length&&(C(r,function(t,i){i===0?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",r[0].x,r[0].y])),e}function zm(r){return{path:dh(r)}}var Nm=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return dh(this.points)},e.prototype.getMaskAttrs=function(){return zm(this.points)},e.prototype.addPoint=function(){this.resize()},e}(vh);function ph(r){return tF(r,!0)}function Gm(r){return{path:ph(r)}}var Bk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return ph(this.points)},e.prototype.getMaskAttrs=function(){return Gm(this.points)},e}(Nm),gh=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShapes=[],t.starting=!1,t.moving=!1,t.recordPoints=null,t.preMovePoint=null,t.shapeType="path",t.maskType="multi-mask",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var i="".concat(this.maskType,":").concat(t),n=this.context.view,a=this.context.event,o={type:this.shapeType,name:this.maskType,get:function(s){return o.hasOwnProperty(s)?o[s]:void 0}};n.emit(i,{target:o,maskShapes:this.maskShapes,multiPoints:this.recordPoints,x:a.x,y:a.y})},e.prototype.createMask=function(t){var i=this.context.view,n=this.recordPoints[t],a=this.getMaskAttrs(n),o=i.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:m({fill:"#C5D4EB",opacity:.3},a)});this.maskShapes.push(o)},e.prototype.getMaskPath=function(t){return[]},e.prototype.show=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.show()}),this.emitEvent("show"))},e.prototype.start=function(t){this.recordPointStart(),this.starting=!0,this.moving=!1;var i=this.recordPoints.length-1;this.createMask(i),this.updateShapesCapture(!1),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint(),this.updateShapesCapture(!1)},e.prototype.move=function(){if(!(!this.moving||this.maskShapes.length===0)){var t=this.getCurrentPoint(),i=this.preMovePoint,n=t.x-i.x,a=t.y-i.y,o=this.getCurMaskShapeIndex();o>-1&&(this.recordPoints[o].forEach(function(s){s.x+=n,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t)}},e.prototype.updateMask=function(t){var i=this;this.recordPoints.forEach(function(n,a){var o=H({},i.getMaskAttrs(n),t);i.maskShapes[a].attr(o)})},e.prototype.resize=function(){this.starting&&this.maskShapes.length>0&&(this.recordPointContinue(),this.updateMask(),this.emitEvent("change"))},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null,this.updateShapesCapture(!0)},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.updateShapesCapture(!0)},e.prototype.hide=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.hide()}),this.emitEvent("hide"))},e.prototype.remove=function(){var t=this.getCurMaskShapeIndex();t>-1&&(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.updateShapesCapture(!0),this.emitEvent("change"))},e.prototype.clearAll=function(){this.recordPointClear(),this.maskShapes.forEach(function(t){return t.remove()}),this.maskShapes=[],this.preMovePoint=null},e.prototype.clear=function(){var t=this.getCurMaskShapeIndex();t===-1?(this.recordPointClear(),this.maskShapes.forEach(function(i){return i.remove()}),this.maskShapes=[],this.emitEvent("clearAll")):(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.emitEvent("clearSingle")),this.preMovePoint=null},e.prototype.destroy=function(){this.clear(),r.prototype.destroy.call(this)},e.prototype.getRecordPoints=function(){var t;return Z([],q((t=this.recordPoints)!==null&&t!==void 0?t:[]),!1)},e.prototype.recordPointStart=function(){var t=this.getRecordPoints(),i=this.getCurrentPoint();this.recordPoints=Z(Z([],q(t),!1),[[i]],!1)},e.prototype.recordPointContinue=function(){var t=this.getRecordPoints(),i=this.getCurrentPoint(),n=t.splice(-1,1)[0]||[];n.push(i),this.recordPoints=Z(Z([],q(t),!1),[n],!1)},e.prototype.recordPointClear=function(){this.recordPoints=[]},e.prototype.updateShapesCapture=function(t){this.maskShapes.forEach(function(i){return i.set("capture",t)})},e.prototype.getCurMaskShapeIndex=function(){var t=this.getCurrentPoint();return this.maskShapes.findIndex(function(i){var n=i.attrs,a=n.width,o=n.height,s=n.r,l=a===0||o===0||s===0;return!l&&i.isHit(t.x,t.y)})},e}(St),Vm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(t){return Pm(t)},e.prototype.getMaskAttrs=function(t){var i=this.getRegion(t),n=i.start,a=i.end;return Dm(n,a)},e}(gh),Ym=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(t){var i=this.context.view.getCoordinate();return Bm(t,this.dim,this.inPlot,i)},e}(Vm),Rk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t.getMaskAttrs=Im,t}return e}(gh),$m=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=dh,t.getMaskAttrs=zm,t}return e.prototype.addPoint=function(){this.resize()},e}(gh),zk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=ph,t.getMaskAttrs=Gm,t}return e}($m),Nk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.setCursor=function(t){var i=this.context.view;i.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e.prototype.zoomIn=function(){this.setCursor("zoom-in")},e.prototype.zoomOut=function(){this.setCursor("zoom-out")},e}(St),Gk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,i,n){var a=this;t.getScaleByField(i)&&t.filter(i,n),t.views&&t.views.length&&C(t.views,function(o){a.filterView(o,i,n)})},e.prototype.filter=function(){var t=Ai(this.context);if(t){var i=this.context.view,n=t.component,a=n.get("field");if(ma(t)){if(a){var o=n.getItemsByState("unchecked"),s=on(i,a),l=o.map(function(v){return v.name});l.length?this.filterView(i,a,function(v){var d=s.getText(v);return!l.includes(d)}):this.filterView(i,a,null),i.render(!0)}}else if(Cy(t)){var u=n.getValue(),c=q(u,2),h=c[0],f=c[1];this.filterView(i,a,function(v){return v>=h&&v<=f}),i.render(!0)}}},e}(St);function wd(r,e,t,i){var n=Math.min(t[e],i[e]),a=Math.max(t[e],i[e]),o=q(r.range,2),s=o[0],l=o[1];if(nl&&(a=l),n===l&&a===l)return null;var u=r.invert(n),c=r.invert(a);if(r.isCategory){var h=r.values.indexOf(u),f=r.values.indexOf(c),v=r.values.slice(h,f+1);return function(d){return v.includes(d)}}else return function(d){return d>=u&&d<=c}}var ce;(function(r){r.FILTER="brush-filter-processing",r.RESET="brush-filter-reset",r.BEFORE_FILTER="brush-filter:beforefilter",r.AFTER_FILTER="brush-filter:afterfilter",r.BEFORE_RESET="brush-filter:beforereset",r.AFTER_RESET="brush-filter:afterreset"})(ce||(ce={}));var Qs=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=["x","y"],t.startPoint=null,t.isStarted=!1,t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,i;if(xa(this.context)){var n=this.context.event.target,a=n.getCanvasBBox();t={x:a.x,y:a.y},i={x:a.maxX,y:a.maxY}}else{if(!this.isStarted)return;t=this.startPoint,i=this.context.getCurrentPoint()}if(!(Math.abs(t.x-i.x)<5||Math.abs(t.x-i.y)<5)){var o=this.context,s=o.view,l=o.event,u={view:s,event:l,dims:this.dims};s.emit(ce.BEFORE_FILTER,Tt.fromData(s,ce.BEFORE_FILTER,u));var c=s.getCoordinate(),h=c.invert(i),f=c.invert(t);if(this.hasDim("x")){var v=s.getXScale(),d=wd(v,"x",h,f);this.filterView(s,v.field,d)}if(this.hasDim("y")){var p=s.getYScales()[0],d=wd(p,"y",h,f);this.filterView(s,p.field,d)}this.reRender(s,{source:ce.FILTER}),s.emit(ce.AFTER_FILTER,Tt.fromData(s,ce.AFTER_FILTER,u))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(ce.BEFORE_RESET,Tt.fromData(t,ce.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var i=t.getXScale();this.filterView(t,i.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t,{source:ce.RESET}),t.emit(ce.AFTER_RESET,Tt.fromData(t,ce.AFTER_RESET,{}))},e.prototype.filterView=function(t,i,n){t.filter(i,n)},e.prototype.reRender=function(t,i){t.render(!0,i)},e}(St),yh=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,i,n){var a=tr(t);C(a,function(o){o.filter(i,n)})},e.prototype.reRender=function(t){var i=tr(t);C(i,function(n){n.render(!0)})},e}(Qs),Vk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filter=function(){var t=Ai(this.context),i=this.context.view,n=Ut(i);if(xa(this.context)){var a=zc(this.context,10);a&&C(n,function(p){a.includes(p)?p.show():p.hide()})}else if(t){var o=t.component,s=o.get("field");if(ma(t)){if(s){var l=o.getItemsByState("unchecked"),u=on(i,s),c=l.map(function(p){return p.name});C(n,function(p){var g=He(p,s),y=u.getText(g);c.indexOf(y)>=0?p.hide():p.show()})}}else if(Cy(t)){var h=o.getValue(),f=q(h,2),v=f[0],d=f[1];C(n,function(p){var g=He(p,s);g>=v&&g<=d?p.show():p.hide()})}}},e.prototype.clear=function(){var t=Ut(this.context.view);C(t,function(i){i.show()})},e.prototype.reset=function(){this.clear()},e}(St),Hm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.byRecord=!1,t}return e.prototype.filter=function(){xa(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,i=zc(this.context,10);if(i){var n=t.getXScale().field,a=t.getYScales()[0].field,o=i.map(function(l){return l.getModel().data}),s=tr(t);C(s,function(l){var u=Ut(l);C(u,function(c){var h=c.getModel().data;ky(o,h,n,a)?c.show():c.hide()})})}},e.prototype.filterByBBox=function(){var t=this,i=this.context.view,n=tr(i);C(n,function(a){var o=My(t.context,a,10),s=Ut(a);o&&C(s,function(l){o.includes(l)?l.show():l.hide()})})},e.prototype.reset=function(){var t=tr(this.context.view);C(t,function(i){var n=Ut(i);C(n,function(a){a.show()})})},e}(St),Yk=10,$k=5,Hk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.buttonGroup=null,t.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},t}return e.prototype.getButtonCfg=function(){return H(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),i=this.context.view.foregroundGroup.addGroup({name:t.name}),n=i.addShape({type:"text",name:"button-text",attrs:m({text:t.text},t.textStyle)}),a=n.getBBox(),o=Vc(t.padding),s=i.addShape({type:"rect",name:"button-rect",attrs:m({x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2]},t.style)});s.toBack(),i.on("mouseenter",function(){s.attr(t.activeStyle)}),i.on("mouseleave",function(){s.attr(t.style)}),this.buttonGroup=i},e.prototype.resetPosition=function(){var t=this.context.view,i=t.getCoordinate(),n=i.convert({x:1,y:1}),a=this.buttonGroup,o=a.getBBox(),s=Rt(null,[["t",n.x-o.width-Yk,n.y+o.height+$k]]);a.setMatrix(s)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var t=this.buttonGroup;t&&t.remove(),r.prototype.destroy.call(this)},e}(St),Xk=4,Wk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.dragStart=!1,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),i=this.context.view,n=this.context.event;this.dragStart?i.emit("drag",{target:n.target,x:n.x,y:n.y}):Nc(t,this.startPoint)>Xk&&(i.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,i=this.context.event;t.emit("dragend",{target:i.target,x:i.x,y:i.y})}this.starting=!1,this.dragStart=!1},e}(St),_k=5,qk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.isMoving=!1,t.startPoint=null,t.startMatrix=null,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,i=this.context.getCurrentPoint(),n=Nc(t,i);if(n>_k&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var a=this.context.view,o=Rt(this.startMatrix,[["t",i.x-t.x,i.y-t.y]]);a.backgroundGroup.setMatrix(o),a.foregroundGroup.setMatrix(o),a.middleGroup.setMatrix(o)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(St),bd="x",Sd="y",Xm=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=[bd,Sd],t.cfgFields=["dims"],t.cacheScaleDefs={},t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var i=this.context.view;return t==="x"?i.getXScale():i.getYScales()[0]},e.prototype.resetDim=function(t){var i=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);i.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim(bd),this.resetDim(Sd);var t=this.context.view;t.render(!0)},e}(St),Uk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.startPoint=null,t.starting=!1,t.startCache={},t}return e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var i=this.dims;C(i,function(n){var a=t.getScale(n),o=a.min,s=a.max,l=a.values;t.startCache[n]={min:o,max:s,values:l}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var i=this.startPoint,n=this.context.view.getCoordinate(),a=this.context.getCurrentPoint(),o=n.invert(i),s=n.invert(a),l=s.x-o.x,u=s.y-o.y,c=this.context.view,h=this.dims;C(h,function(f){t.translateDim(f,{x:l*-1,y:u*-1})}),c.render(!0)}},e.prototype.translateDim=function(t,i){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,i)}},e.prototype.translateLinear=function(t,i,n){var a=this.context.view,o=this.startCache[t],s=o.min,l=o.max,u=l-s,c=n[t]*u;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:i.nice,min:s,max:l}),a.scale(i.field,{nice:!1,min:s+c,max:l+c})},e.prototype.reset=function(){r.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(Xm),jk=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.zoomRatio=.05,t}return e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var i=this,n=this.dims;C(n,function(a){i.zoomDim(a,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,i){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,i)}},e.prototype.zoomLinear=function(t,i,n){var a=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:i.nice,min:i.min,max:i.max});var o=this.cacheScaleDefs[t],s=o.max-o.min,l=i.min,u=i.max,c=n*s,h=l-c,f=u+c,v=f-h,d=v/s;f>h&&d<100&&d>.01&&a.scale(i.field,{nice:!1,min:l-c,max:u+c})},e}(Xm);function Zk(r){var e=r.gEvent.originalEvent;return e.deltaY>0}var Qk=1,Kk=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.scroll=function(t){var i=this.context,n=i.view,a=i.event;if(n.getOptions().scrollbar){var o=(t==null?void 0:t.wheelDelta)||Qk,s=n.getController("scrollbar"),l=n.getXScale(),u=n.getOptions().data,c=$t($e(u,l.field)),h=$t(l.values),f=s.getValue(),v=Math.floor((c-h)*f),d=v+(Zk(a)?o:-o),p=o/(c-h)/1e4,g=Ct(d/(c-h)+p,0,1);s.setValue(g)}},e}(St),Jk="aixs-description-tooltip",tL=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(){var t=this.context,i=Ai(t).axis,n=i.cfg.title,a=n.description,o=n.text,s=n.descriptionTooltipStyle,l=t.event,u=l.x,c=l.y;this.tooltip||this.renderTooltip(),this.tooltip.update({title:o||"",customContent:function(){return` +
    +
    + 字段说明:`).concat(a,` +
    +
    + `)},x:u,y:c}),this.tooltip.show()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.hide=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=this.context.view,n=i.canvas,a={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},o=new $s({parent:n.get("el").parentNode,region:a,visible:!1,containerId:Jk,domStyles:m({},H({},(t={},t[wr]={"max-width":"50%",padding:"10px","line-height":"15px","font-size":"12px",color:"rgba(0, 0, 0, .65)"},t[br]={"word-break":"break-all","margin-bottom":"3px"},t)))});o.init(),o.setCapture(!1),this.tooltip=o},e}(St);vF("dark",Iy(t2));Ep("canvas",z2);Ep("svg",gT);ar("Polygon",LT);ar("Interval",AT);ar("Schema",IT);ar("Path",Jc);ar("Point",ET);ar("Line",FT);ar("Area",mT);ar("Edge",xT);ar("Heatmap",wT);ar("Violin",DT);za("base",Us);za("interval",jT);za("pie",ZT);za("polar",Cm);me("overlap",cE);me("distribute",KT);me("fixed-overlap",uE);me("hide-overlap",wE);me("limit-in-shape",aE);me("limit-in-canvas",nE);me("limit-in-plot",zE);me("pie-outer",tE);me("adjust-color",SE);me("interval-adjust-position",FE);me("interval-hide-overlap",EE);me("point-adjust-position",IE);me("pie-spider",iE);me("path-adjust-position",OE);Ae("fade-in",NE);Ae("fade-out",GE);Ae("grow-in-x",YE);Ae("grow-in-xy",HE);Ae("grow-in-y",$E);Ae("scale-in-x",_E);Ae("scale-in-y",qE);Ae("wave-in",jE);Ae("zoom-in",ZE);Ae("zoom-out",QE);Ae("position-update",WE);Ae("sector-path-update",UE);Ae("path-in",XE);wn("rect",rk);wn("mirror",ek);wn("list",JE);wn("matrix",tk);wn("circle",KE);wn("tree",ik);Ii("axis",ok);Ii("legend",sk);Ii("tooltip",Ry);Ii("annotation",ak);Ii("slider",lk);Ii("scrollbar",hk);j("tooltip",Em);j("sibling-tooltip",pk);j("ellipsis-text",gk);j("element-active",yk);j("element-single-active",wk);j("element-range-active",xk);j("element-highlight",hh);j("element-highlight-by-x",Sk);j("element-highlight-by-color",bk);j("element-single-highlight",Ck);j("element-range-highlight",Lm);j("element-sibling-highlight",Lm,{effectSiblings:!0,effectByRecord:!0});j("element-selected",Ak);j("element-single-selected",Fk);j("element-range-selected",Mk);j("element-link-by-color",mk);j("active-region",dk);j("list-active",Tk);j("list-selected",kk);j("list-highlight",fh);j("list-unchecked",Lk);j("list-checked",Ik);j("list-focus",Pk);j("list-radio",Dk);j("legend-item-highlight",fh,{componentNames:["legend"]});j("axis-label-highlight",fh,{componentNames:["axis"]});j("axis-description",tL);j("rect-mask",Om);j("x-rect-mask",Rm,{dim:"x"});j("y-rect-mask",Rm,{dim:"y"});j("circle-mask",Ok);j("path-mask",Nm);j("smooth-path-mask",Bk);j("rect-multi-mask",Vm);j("x-rect-multi-mask",Ym,{dim:"x"});j("y-rect-multi-mask",Ym,{dim:"y"});j("circle-multi-mask",Rk);j("path-multi-mask",$m);j("smooth-path-multi-mask",zk);j("cursor",Nk);j("data-filter",Gk);j("brush",Qs);j("brush-x",Qs,{dims:["x"]});j("brush-y",Qs,{dims:["y"]});j("sibling-filter",yh);j("sibling-x-filter",yh,{dims:"x"});j("sibling-y-filter",yh,{dims:"y"});j("element-filter",Vk);j("element-sibling-filter",Hm);j("element-sibling-filter-record",Hm,{byRecord:!0});j("view-drag",Wk);j("view-move",qk);j("scale-translate",Uk);j("scale-zoom",jk);j("reset-button",Hk,{name:"reset-button",text:"reset"});j("mousewheel-scroll",Kk);function gr(r){return r.isInPlot()}it("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]});it("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseout",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]});it("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]});it("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]});it("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]});it("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]});it("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]});it("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]});it("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]});it("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]});it("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]});it("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(r){return!r.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(r){return!r.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]});it("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:gr,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:gr,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:gr,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]});it("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]});it("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:gr,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:gr,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:gr,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]});it("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:gr,action:"path-mask:start"},{trigger:"mousedown",isEnable:gr,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]});it("brush-x-multi",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"mousedown",isEnable:gr,action:["x-rect-multi-mask:start","x-rect-multi-mask:show"]},{trigger:"mask:dragstart",action:["x-rect-multi-mask:moveStart"]}],processing:[{trigger:"mousemove",isEnable:function(r){return!Ws(r)},action:["x-rect-multi-mask:resize"]},{trigger:"multi-mask:change",action:"element-range-highlight:highlight"},{trigger:"mask:drag",action:["x-rect-multi-mask:move"]}],end:[{trigger:"mouseup",action:["x-rect-multi-mask:end"]},{trigger:"mask:dragend",action:["x-rect-multi-mask:moveEnd"]}],rollback:[{trigger:"dblclick",action:["x-rect-multi-mask:clear","cursor:crosshair"]},{trigger:"multi-mask:clearAll",action:["element-range-highlight:clear"]},{trigger:"multi-mask:clearSingle",action:["element-range-highlight:highlight"]}]});it("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]});it("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:["cursor:pointer","list-radio:show"]},{trigger:"legend-item:mouseleave",action:["cursor:default","list-radio:hide"]}],start:[{trigger:"legend-item:click",isEnable:function(r){return!r.isInShape("legend-item-radio")},action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","data-filter:filter","list-radio:show"]},{trigger:"legend-item-radio:mouseenter",action:["list-radio:showTip"]},{trigger:"legend-item-radio:mouseleave",action:["list-radio:hideTip"]},{trigger:"legend-item-radio:click",action:["list-focus:toggle","data-filter:filter","list-radio:show"]}]});it("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]});it("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]});it("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","element-filter:filter"]}]});it("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]});it("axis-description",{start:[{trigger:"axis-description:mousemove",action:"axis-description:show"}],end:[{trigger:"axis-description:mouseleave",action:"axis-description:hide"}]});function Cd(r){return r.gEvent.preventDefault(),r.gEvent.originalEvent.deltaY>0}it("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(r){return Cd(r.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(r){return!Cd(r.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]});it("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]});it("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var de=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask","sync"],Xe;(function(r){r.ERROR="error",r.WARN="warn",r.INFO="log"})(Xe||(Xe={}));var eL="AntV/G2Plot";function rL(r){for(var e=[],t=1;t=0}),n=t.every(function(a){return A(a,[e])<=0});return i?{min:0}:n?{max:0}:{}}function Wm(r,e,t,i,n){if(n===void 0&&(n=[]),!Array.isArray(r))return{nodes:[],links:[]};var a=[],o={},s=-1;return r.forEach(function(l){var u=l[e],c=l[t],h=l[i],f=dt(l,n);o[u]||(o[u]=m({id:++s,name:u},f)),o[c]||(o[c]=m({id:++s,name:c},f)),a.push(m({source:o[u].id,target:o[c].id,value:h},f))}),{nodes:Object.values(o).sort(function(l,u){return l.id-u.id}),links:a}}function un(r,e){var t=jt(r,function(i){var n=i[e];return n===null||typeof n=="number"&&!isNaN(n)});return Cr(Xe.WARN,t.length===r.length,"illegal data existed in chart data."),t}var iL=5,nL={}.toString,_m=function(r,e){return nL.call(r)==="[object "+e+"]"},aL=function(r){return _m(r,"Array")},oL=function(r){return typeof r=="object"&&r!==null},Md=function(r){if(!oL(r)||!_m(r,"Object"))return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e},qm=function(r,e,t,i){t=t||0,i=i||iL;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=e[n];a?Md(a)?(Md(r[n])||(r[n]={}),t=i&&r<=n}function _r(r){if(rt(r))return[r,r,r,r];if(R(r)){var e=r.length;if(e===1)return[r[0],r[0],r[0],r[0]];if(e===2)return[r[0],r[1],r[0],r[1]];if(e===3)return[r[0],r[1],r[2],r[1]];if(e===4)return r}return[0,0,0,0]}function Ks(r,e,t){e===void 0&&(e="bottom"),t===void 0&&(t=25);var i=_r(r),n=[e.startsWith("top")?t:0,e.startsWith("right")?t:0,e.startsWith("bottom")?t:0,e.startsWith("left")?t:0];return[i[0]+n[0],i[1]+n[1],i[2]+n[2],i[3]+n[3]]}function xh(r){var e=r.map(function(i){return _r(i)}),t=[0,0,0,0];return e.length>0&&(t=t.map(function(i,n){return e.forEach(function(a,o){i+=e[o][n]}),i})),t}function cL(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var i=1,n=r.length;i"},key:"".concat(l===0?"top":"bottom","-statistic")},dt(s,["offsetX","offsetY","rotate","style","formatter"])))}})},dL=function(r,e,t){var i=e.statistic,n=i.title,a=i.content;[n,a].forEach(function(o){if(o){var s=X(o.style)?o.style(t):o.style;r.annotation().html(m({position:["50%","100%"],html:function(l,u){var c=u.getCoordinate(),h=u.views[0].getCoordinate(),f=h.getCenter(),v=h.getRadius(),d=Math.max(Math.sin(h.startAngle),Math.sin(h.endAngle))*v,p=f.y+d-c.y.start-parseFloat(A(s,"fontSize",0)),g=c.getRadius()*c.innerRadius*2;jm(l,m({width:"".concat(g,"px"),transform:"translate(-50%, ".concat(p,"px)")},Um(s)));var y=u.getData();if(o.customHtml)return o.customHtml(l,u,t,y);var x=o.content;return o.formatter&&(x=o.formatter(t,y)),x?Q(x)?x:"".concat(x):"
    "}},dt(o,["offsetX","offsetY","rotate","style","formatter"])))}})};function Zm(r,e){return e?ie(e,function(t,i,n){return t.replace(new RegExp("{\\s*".concat(n,"\\s*}"),"g"),i)},r):r}function st(r,e){return r.views.find(function(t){return t.id===e})}function $n(r){var e=r.parent;return e?e.views:[]}function Fd(r){return $n(r).filter(function(e){return e!==r})}function Va(r,e,t){t===void 0&&(t=r.geometries),typeof e=="boolean"?r.animate(e):r.animate(!0),C(t,function(i){var n;X(e)?n=e(i.type||i.shapeType,i)||!0:n=e,i.animate(n)})}function tl(){return typeof window=="object"?window==null?void 0:window.devicePixelRatio:2}function wh(r,e){e===void 0&&(e=r);var t=document.createElement("canvas"),i=tl();t.width=r*i,t.height=e*i,t.style.width="".concat(r,"px"),t.style.height="".concat(e,"px");var n=t.getContext("2d");return n.scale(i,i),t}function bh(r,e,t,i){i===void 0&&(i=t);var n=e.backgroundColor,a=e.opacity;r.globalAlpha=a,r.fillStyle=n,r.beginPath(),r.fillRect(0,0,t,i),r.closePath()}function Qm(r,e,t){var i=r+e;return t?i*2:i}function Km(r,e){var t=e?[[r*.25,r*.25],[r*.75,r*.75]]:[[r*.5,r*.5]];return t}function Sh(r,e){var t=e*Math.PI/180,i={a:Math.cos(t)*(1/r),b:Math.sin(t)*(1/r),c:-Math.sin(t)*(1/r),d:Math.cos(t)*(1/r),e:0,f:0};return i}var pL={size:6,padding:2,backgroundColor:"transparent",opacity:1,rotation:0,fill:"#fff",fillOpacity:.5,stroke:"transparent",lineWidth:0,isStagger:!0};function gL(r,e,t,i){var n=e.size,a=e.fill,o=e.lineWidth,s=e.stroke,l=e.fillOpacity;r.beginPath(),r.globalAlpha=l,r.fillStyle=a,r.strokeStyle=s,r.lineWidth=o,r.arc(t,i,n/2,0,2*Math.PI,!1),r.fill(),o&&r.stroke(),r.closePath()}function yL(r){var e=I({},pL,r),t=e.size,i=e.padding,n=e.isStagger,a=e.rotation,o=Qm(t,i,n),s=Km(o,n),l=wh(o,o),u=l.getContext("2d");bh(u,e,o);for(var c=0,h=s;c1&&arguments[1]!==void 0?arguments[1]:60,a=null;return function(){for(var o=this,s=arguments.length,l=new Array(s),u=0;ub){var S=w/p.length,M=Math.max(1,Math.ceil(b/S)-1),F="".concat(p.slice(0,M),"...");x.attr("text",F)}}}}function dI(r,e,t){fI(r,e,t),vI(r,e,t)}function pI(r,e,t){return e===void 0&&(e=!0),t===void 0&&(t=!1),function(i){var n=i.options,a=i.chart,o=n.conversionTag,s=n.theme;return o&&!t&&(a.theme(I({},pt(s)?s:Qn(s),{columnWidthRatio:1/3})),a.annotation().shape({render:function(l,u){var c=l.addGroup({id:"".concat(a.id,"-conversion-tag-group"),name:"conversion-tag-group"}),h=Ve(a.geometries,function(d){return d.type==="interval"}),f={view:u,geometry:h,group:c,field:r,horizontal:e,options:hI(o,e)},v=h.elements;C(v,function(d,p){p>0&&dI(f,v[p-1],d)})}})),i}}function gI(r){var e=r.options,t=e.legend,i=e.seriesField,n=e.isStack;return i?t!==!1&&(t=m({position:n?"right-top":"top-left"},t)):t=!1,r.options.legend=t,r}function yI(r){var e=r.chart,t=r.options,i=t.data,n=t.columnStyle,a=t.color,o=t.columnWidthRatio,s=t.isPercent,l=t.isGroup,u=t.isStack,c=t.xField,h=t.yField,f=t.seriesField,v=t.groupField,d=t.tooltip,p=t.shape,g=s&&l&&u?ZL(i,h,[c,v],h):$a(i,h,c,h,s),y=[];u&&f&&!l?g.forEach(function(w){var S=y.find(function(M){return M[c]===w[c]&&M[f]===w[f]});S?S[h]+=w[h]||0:y.push(m({},w))}):y=g,e.data(y);var x=s?m({formatter:function(w){var S;return{name:l&&u?"".concat(w[f]," - ").concat(w[v]):(S=w[f])!==null&&S!==void 0?S:w[c],value:(Number(w[h])*100).toFixed(2)+"%"}}},d):d,b=I({},r,{options:{data:y,widthRatio:o,tooltip:x,interval:{shape:p,style:n,color:a}}});return Jt(b),b}function Th(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.xField,s=i.yField,l=i.data,u=i.isPercent,c=u?{max:1,min:0,minLimit:0,maxLimit:1}:{};return J(Lt((e={},e[o]=n,e[s]=a,e),(t={},t[o]={type:"cat"},t[s]=m(m({},mh(l,s)),c),t)))(r)}function mI(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?e.axis(o,!1):e.axis(o,n),r}function xI(r){var e=r.chart,t=r.options,i=t.legend,n=t.seriesField;return i&&n?e.legend(n,i):i===!1&&e.legend(!1),r}function wI(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=t.isRange,o=Kt(e,"interval");if(!i)o.label(!1);else{var s=i.callback,l=yt(i,["callback"]);o.label({fields:[n],callback:s,cfg:m({layout:l!=null&&l.position?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Ht(a?m({content:function(u){var c;return(c=u[n])===null||c===void 0?void 0:c.join("-")}},l):l))})}return r}function bI(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.isGroup,a=t.isStack,o=t.groupField,s=t.data,l=t.xField,u=t.yField,c=t.seriesField;if(i===!1)e.tooltip(!1);else{var h=i;if(n&&a){var f=h.customItems,v=(h==null?void 0:h.formatter)||function(d){return{name:"".concat(d[c]," - ").concat(d[o]),value:d[u]}};h=m(m({},h),{customItems:function(d){var p=[];return C(d,function(g){var y=jt(s,function(x){return gp(x,dt(g.data,[l,c]))});y.forEach(function(x){p.push(m(m(m({},g),{value:x[u],data:x,mappingData:{_origin:x}}),v(x)))})}),f?f(p):p}})}e.tooltip(h)}return r}function ll(r,e){e===void 0&&(e=!1);var t=r.options,i=t.seriesField;return J(gI,ut,Fe("columnStyle"),ti,Jm("rect"),yI,Th,mI,xI,bI,Ya,Ch,wI,c0,At,xt,Et(),pI(t.yField,!e,!!i),cI(!t.isStack),Ei)(r)}function SI(r){var e=r.options,t=e.xField,i=e.yField,n=e.xAxis,a=e.yAxis,o={left:"bottom",right:"top",top:"left",bottom:"right"},s=a!==!1?m({position:o[(a==null?void 0:a.position)||"left"]},a):!1,l=n!==!1?m({position:o[(n==null?void 0:n.position)||"bottom"]},n):!1;return m(m({},r),{options:m(m({},e),{xField:i,yField:t,xAxis:s,yAxis:l})})}function CI(r){var e=r.options,t=e.label;return t&&!t.position&&(t.position="left",t.layout||(t.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}])),I({},r,{options:{label:t}})}function MI(r){var e=r.options,t=e.seriesField,i=e.isStack,n=e.legend;return t?n!==!1&&(n=m({position:i?"top-left":"right-top"},n||{})):n=!1,I({},r,{options:{legend:n}})}function AI(r){var e=r.options,t=[{type:"transpose"},{type:"reflectY"}].concat(e.coordinate||[]);return I({},r,{options:{coordinate:t}})}function FI(r){var e=r.chart,t=r.options,i=t.barStyle,n=t.barWidthRatio,a=t.minBarWidth,o=t.maxBarWidth,s=t.barBackground;return ll({chart:e,options:m(m({},t),{columnStyle:i,columnWidthRatio:n,minColumnWidth:a,maxColumnWidth:o,columnBackground:s})},!0)}function f0(r){return J(SI,CI,MI,Vt,AI,FI)(r)}var TI=I({},nt.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),EI=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bar",t}return e.getDefaultOptions=function(){return TI},e.prototype.changeData=function(t){var i,n;this.updateOption({data:t});var a=this,o=a.chart,s=a.options,l=s.isPercent,u=s.xField,c=s.yField,h=s.xAxis,f=s.yAxis;i=[c,u],u=i[0],c=i[1],n=[f,h],h=n[0],f=n[1];var v=m(m({},s),{xField:u,yField:c,yAxis:f,xAxis:h});Th({chart:o,options:v}),o.changeData($a(t,u,c,u,l))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return f0},e}(nt),kI=I({},nt.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),v0=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="column",t}return e.getDefaultOptions=function(){return kI},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this.options,n=i.yField,a=i.xField,o=i.isPercent,s=this,l=s.chart,u=s.options;Th({chart:l,options:u}),this.chart.changeData($a(t,n,a,n,o))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return ll},e}(nt),Wl,qr="$$percentage$$",Ur="$$mappingValue$$",mr="$$conversion$$",Wu="$$totalPercentage$$",Ca="$$x$$",Ma="$$y$$",LI={appendPadding:[0,80],minSize:0,maxSize:1,meta:(Wl={},Wl[Ur]={min:0,max:1,nice:!1},Wl),label:{style:{fill:"#fff",fontSize:12}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1},conversionTag:{offsetX:10,offsetY:0,style:{fontSize:12,fill:"rgba(0,0,0,0.45)"}}},d0="CONVERSION_TAG_NAME";function Eh(r,e,t){var i=[],n=t.yField,a=t.maxSize,o=t.minSize,s=A(wp(e,n),[n]),l=rt(a)?a:1,u=rt(o)?o:0;return i=Mt(r,function(c,h){var f=(c[n]||0)/s;return c[qr]=f,c[Ur]=(l-u)*f+u,c[mr]=[A(r,[h-1,n]),c[n]],c}),i}function kh(r){return function(e){var t=e.chart,i=e.options,n=i.conversionTag,a=i.filteredData,o=a||t.getOptions().data;if(n){var s=n.formatter;o.forEach(function(l,u){if(!(u<=0||Number.isNaN(l[Ur]))){var c=r(l,u,o,{top:!0,name:d0,text:{content:X(s)?s(l,o):s,offsetX:n.offsetX,offsetY:n.offsetY,position:"end",autoRotate:!1,style:m({textAlign:"start",textBaseline:"middle"},n.style)}});t.annotation().line(c)}})}return e}}function II(r){var e=r.chart,t=r.options,i=t.data,n=i===void 0?[]:i,a=t.yField,o=t.maxSize,s=t.minSize,l=Eh(n,n,{yField:a,maxSize:o,minSize:s});return e.data(l),r}function PI(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.shape,u=l===void 0?"funnel":l,c=t.funnelStyle,h=t.state,f=Re(o,[i,n]),v=f.fields,d=f.formatter;xe({chart:e,options:{type:"interval",xField:i,yField:Ur,colorField:i,tooltipFields:R(v)&&v.concat([qr,mr]),mapping:{shape:u,tooltip:d,color:a,style:c},label:s,state:h}});var p=Kt(r.chart,"interval");return p.adjust("symmetric"),r}function DI(r){var e=r.chart,t=r.options,i=t.isTransposed;return e.coordinate({type:"rect",actions:i?[]:[["transpose"],["scale",1,-1]]}),r}function p0(r){var e=r.options,t=r.chart,i=e.maxSize,n=A(t,["geometries","0","dataArray"],[]),a=A(t,["options","data","length"]),o=Mt(n,function(l){return A(l,["0","nextPoints","0","x"])*a-.5}),s=function(l,u,c,h){var f=i-(i-l[Ur])/2;return m(m({},h),{start:[o[u-1]||u-.5,f],end:[o[u-1]||u-.5,f+.05]})};return kh(s)(r),r}function g0(r){return J(II,PI,DI,p0)(r)}function OI(r){var e,t=r.chart,i=r.options,n=i.data,a=n===void 0?[]:n,o=i.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function BI(r){var e=r.chart,t=r.options,i=t.data,n=t.xField,a=t.yField,o=t.color,s=t.compareField,l=t.isTransposed,u=t.tooltip,c=t.maxSize,h=t.minSize,f=t.label,v=t.funnelStyle,d=t.state,p=t.showFacetTitle;return e.facet("mirror",{fields:[s],transpose:!l,padding:l?0:[32,0,0,0],showTitle:p,eachView:function(g,y){var x=l?y.rowIndex:y.columnIndex;l||g.coordinate({type:"rect",actions:[["transpose"],["scale",x===0?-1:1,-1]]});var b=Eh(y.data,i,{yField:a,maxSize:c,minSize:h});g.data(b);var w=Re(u,[n,a,s]),S=w.fields,M=w.formatter,F=l?{offset:x===0?10:-23,position:x===0?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:x===0?"end":"start"}};xe({chart:g,options:{type:"interval",xField:n,yField:Ur,colorField:n,tooltipFields:R(S)&&S.concat([qr,mr]),mapping:{shape:"funnel",tooltip:M,color:o,style:v},label:f===!1?!1:I({},F,f),state:d}})}}),r}function y0(r){var e=r.chart,t=r.index,i=r.options,n=i.conversionTag,a=i.isTransposed;(rt(t)?[e]:e.views).forEach(function(o,s){var l=A(o,["geometries","0","dataArray"],[]),u=A(o,["options","data","length"]),c=Mt(l,function(f){return A(f,["0","nextPoints","0","x"])*u-.5}),h=function(f,v,d,p){var g=(t||s)===0?-1:1;return I({},p,{start:[c[v-1]||v-.5,f[Ur]],end:[c[v-1]||v-.5,f[Ur]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:n!==!1?g*n.offsetX:0,style:{textAlign:(t||s)===0?"end":"start"}}})};kh(h)(I({},{chart:o,options:i}))})}function RI(r){var e=r.chart;return e.once("beforepaint",function(){return y0(r)}),r}function zI(r){return J(OI,BI,RI)(r)}function NI(r){var e=r.chart,t=r.options,i=t.data,n=i===void 0?[]:i,a=t.yField,o=ie(n,function(u,c){return u+(c[a]||0)},0),s=wp(n,a)[a],l=Mt(n,function(u,c){var h=[],f=[];if(u[Wu]=(u[a]||0)/o,c){var v=n[c-1][Ca],d=n[c-1][Ma];h[0]=v[3],f[0]=d[3],h[1]=v[2],f[1]=d[2]}else h[0]=-.5,f[0]=1,h[1]=.5,f[1]=1;return f[2]=f[1]-u[Wu],h[2]=(f[2]+1)/4,f[3]=f[2],h[3]=-h[2],u[Ca]=h,u[Ma]=f,u[qr]=(u[a]||0)/s,u[mr]=[A(n,[c-1,a]),u[a]],u});return e.data(l),r}function GI(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.funnelStyle,u=t.state,c=Re(o,[i,n]),h=c.fields,f=c.formatter;return xe({chart:e,options:{type:"polygon",xField:Ca,yField:Ma,colorField:i,tooltipFields:R(h)&&h.concat([qr,mr]),label:s,state:u,mapping:{tooltip:f,color:a,style:l}}}),r}function VI(r){var e=r.chart,t=r.options,i=t.isTransposed;return e.coordinate({type:"rect",actions:i?[["transpose"],["reflect","x"]]:[]}),r}function YI(r){var e=function(t,i,n,a){return m(m({},a),{start:[t[Ca][1],t[Ma][1]],end:[t[Ca][1]+.05,t[Ma][1]]})};return kh(e)(r),r}function $I(r){return J(NI,GI,VI,YI)(r)}function HI(r){var e,t=r.chart,i=r.options,n=i.data,a=n===void 0?[]:n,o=i.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function XI(r){var e=r.chart,t=r.options,i=t.seriesField,n=t.isTransposed,a=t.showFacetTitle;return e.facet("rect",{fields:[i],padding:[n?0:32,10,0,10],showTitle:a,eachView:function(o,s){g0(I({},r,{chart:o,options:{data:s.data}}))}}),r}function WI(r){return J(HI,XI)(r)}var _I=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.rendering=!1,t}return e.prototype.change=function(t){var i=this;if(!this.rendering){var n=t.seriesField,a=t.compareField,o=a?y0:p0,s=this.context.view,l=n||a?s.views:[s];Mt(l,function(u,c){var h=u.getController("annotation"),f=jt(A(h,["option"],[]),function(d){var p=d.name;return p!==d0});h.clear(!0),C(f,function(d){typeof d=="object"&&u.annotation()[d.type](d)});var v=A(u,["filteredData"],u.getOptions().data);o({chart:u,index:c,options:m(m({},t),{filteredData:Eh(v,v,t)})}),u.filterData(v),i.rendering=!0,u.render(!0)})}this.rendering=!1},e}(St),m0="funnel-conversion-tag",_u="funnel-afterrender",x0={trigger:"afterrender",action:"".concat(m0,":change")};j(m0,_I);it(_u,{start:[x0]});function qI(r){var e=r.options,t=e.compareField,i=e.xField,n=e.yField,a=e.locale,o=e.funnelStyle,s=e.data,l=el(a),u={label:t?{fields:[i,n,t,qr,mr],formatter:function(h){return"".concat(h[n])}}:{fields:[i,n,qr,mr],offset:0,position:"middle",formatter:function(h){return"".concat(h[i]," ").concat(h[n])}},tooltip:{title:i,formatter:function(h){return{name:h[i],value:h[n]}}},conversionTag:{formatter:function(h){return"".concat(l.get(["conversionTag","label"]),": ").concat(h0.apply(void 0,h[mr]))}}},c;return(t||o)&&(c=function(h){return I({},t&&{lineWidth:1,stroke:"#fff"},X(o)?o(h):o)}),I({options:u},r,{options:{funnelStyle:c,data:ae(s)}})}function UI(r){var e=r.options,t=e.compareField,i=e.dynamicHeight,n=e.seriesField;return n?WI(r):t?zI(r):i?$I(r):g0(r)}function jI(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return J(Lt((e={},e[a]=i,e[o]=n,e)))(r)}function ZI(r){var e=r.chart;return e.axis(!1),r}function QI(r){var e=r.chart,t=r.options,i=t.legend;return i===!1?e.legend(!1):e.legend(i),r}function KI(r){var e=r.chart,t=r.options,i=t.interactions,n=t.dynamicHeight;return C(i,function(a){a.enable===!1?e.removeInteraction(a.type):e.interaction(a.type,a.cfg||{})}),n?e.removeInteraction(_u):e.interaction(_u,{start:[m(m({},x0),{arg:t})]}),r}function w0(r){return J(qI,UI,jI,ZI,Vt,KI,QI,xt,ut,Et())(r)}var JI=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="funnel",t}return e.getDefaultOptions=function(){return LI},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return w0},e.prototype.setState=function(t,i,n){n===void 0&&(n=!0);var a=Sa(this.chart);C(a,function(o){i(o.getData())&&o.setState(t,n)})},e.prototype.getStates=function(){var t=Sa(this.chart),i=[];return C(t,function(n){var a=n.getData(),o=n.getStates();C(o,function(s){i.push({data:a,state:s,geometry:n.geometry,element:n})})}),i},e.CONVERSATION_FIELD=mr,e.PERCENT_FIELD=qr,e.TOTAL_PERCENT_FIELD=Wu,e}(nt),Ao,Lh="range",b0="type",dr="percent",tP="#f0f0f0",S0="indicator-view",C0="range-view",eP={percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:(Ao={},Ao[Lh]={sync:"v"},Ao[dr]={sync:"v",tickCount:5,tickInterval:.2},Ao),animation:!1};function rP(r,e){return r.map(function(t,i){var n;return n={},n[Lh]=t-(r[i-1]||0),n[b0]="".concat(i),n[dr]=e,n})}function M0(r){var e;return[(e={},e[dr]=Ct(r,0,1),e)]}function A0(r,e){var t=A(e,["ticks"],[]),i=$t(t)?Si(t):[0,Ct(r,0,1),1];return i[0]||i.shift(),rP(i,r)}function iP(r){var e=r.chart,t=r.options,i=t.percent,n=t.range,a=t.radius,o=t.innerRadius,s=t.startAngle,l=t.endAngle,u=t.axis,c=t.indicator,h=t.gaugeStyle,f=t.type,v=t.meter,d=n.color,p=n.width;if(c){var g=M0(i),y=e.createView({id:S0});y.data(g),y.point().position("".concat(dr,"*1")).shape(c.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:c}),y.coordinate("polar",{startAngle:s,endAngle:l,radius:o*a}),y.axis(dr,u),y.scale(dr,dt(u,de))}var x=A0(i,t.range),b=e.createView({id:C0});b.data(x);var w=Q(d)?[d,tP]:d,S=Jt({chart:b,options:{xField:"1",yField:Lh,seriesField:b0,rawFields:[dr],isStack:!0,interval:{color:w,style:h,shape:f==="meter"?"meter-gauge":null},args:{zIndexReversed:!0,sortZIndex:!0},minColumnWidth:p,maxColumnWidth:p}}).ext,M=S.geometry;return M.customInfo({meter:v}),b.coordinate("polar",{innerRadius:o,radius:a,startAngle:s,endAngle:l}).transpose(),r}function nP(r){var e;return J(Lt((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[dr]={},e)))(r)}function F0(r,e){var t=r.chart,i=r.options,n=i.statistic,a=i.percent;if(t.getController("annotation").clear(!0),n){var o=n.content,s=void 0;o&&(s=I({},{content:"".concat((a*100).toFixed(2),"%"),style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},o)),dL(t,{statistic:m(m({},n),{content:s})},{percent:a})}return e&&t.render(!0),r}function aP(r){var e=r.chart,t=r.options,i=t.tooltip;return i?e.tooltip(I({showTitle:!1,showMarkers:!1,containerTpl:'
    ',domStyles:{"g2-tooltip":{padding:"4px 8px",fontSize:"10px"}},customContent:function(n,a){var o=A(a,[0,"data",dr],0);return"".concat((o*100).toFixed(2),"%")}},i)):e.tooltip(!1),r}function oP(r){var e=r.chart;return e.legend(!1),r}function T0(r){return J(ut,xt,iP,nP,aP,F0,At,Et(),oP)(r)}ft("point","gauge-indicator",{draw:function(r,e){var t=r.customInfo,i=t.indicator,n=t.defaultColor,a=i,o=a.pointer,s=a.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:m({x1:u.x,y1:u.y,x2:r.x,y2:r.y,stroke:n},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:m({x:u.x,y:u.y,stroke:n},s.style)}),l}});ft("interval","meter-gauge",{draw:function(r,e){var t=r.customInfo.meter,i=t===void 0?{}:t,n=i.steps,a=n===void 0?50:n,o=i.stepRatio,s=o===void 0?.5:o;a=a<1?1:a,s=Ct(s,0,1);var l=this.coordinate,u=l.startAngle,c=l.endAngle,h=0;if(s>0&&s<1){var f=c-u;h=f/a/(s/(1-s)+1-1/a)}for(var v=h/(1-s)*s,d=e.addGroup(),p=this.coordinate.getCenter(),g=this.coordinate.getRadius(),y=ye.getAngle(r,this.coordinate),x=y.startAngle,b=y.endAngle,w=x;w1?l/(i-1):s.max),!t&&!i){var c=lP(o);u=l/c}var h={},f=Se(a,n);ge(f)?C(a,function(d){var p=d[e],g=Ld(p,u,i),y="".concat(g[0],"-").concat(g[1]);Yr(h,y)||(h[y]={range:g,count:0}),h[y].count+=1}):Object.keys(f).forEach(function(d){C(f[d],function(p){var g=p[e],y=Ld(g,u,i),x="".concat(y[0],"-").concat(y[1]),b="".concat(x,"-").concat(d);Yr(h,b)||(h[b]={range:y,count:0},h[b][n]=d),h[b].count+=1})});var v=[];return C(h,function(d){v.push(d)}),v}var us="range",Aa="count",uP=I({},nt.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});function cP(r){var e=r.chart,t=r.options,i=t.data,n=t.binField,a=t.binNumber,o=t.binWidth,s=t.color,l=t.stackField,u=t.legend,c=t.columnStyle,h=E0(i,n,o,a,l);e.data(h);var f=I({},r,{options:{xField:us,yField:Aa,seriesField:l,isStack:!0,interval:{color:s,style:c}}});return Jt(f),u&&l?e.legend(l,u):e.legend(!1),r}function hP(r){var e,t=r.options,i=t.xAxis,n=t.yAxis;return J(Lt((e={},e[us]=i,e[Aa]=n,e)))(r)}function fP(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis;return i===!1?e.axis(us,!1):e.axis(us,i),n===!1?e.axis(Aa,!1):e.axis(Aa,n),r}function vP(r){var e=r.chart,t=r.options,i=t.label,n=Kt(e,"interval");if(!i)n.label(!1);else{var a=i.callback,o=yt(i,["callback"]);n.label({fields:[Aa],callback:a,cfg:Ht(o)})}return r}function k0(r){return J(ut,Fe("columnStyle"),cP,hP,fP,ti,vP,Vt,At,xt)(r)}var dP=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="histogram",t}return e.getDefaultOptions=function(){return uP},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this.options,n=i.binField,a=i.binNumber,o=i.binWidth,s=i.stackField;this.chart.changeData(E0(t,n,o,a,s))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return k0},e}(nt),pP=I({},nt.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left",radio:{}},isStack:!1}),gP=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.active=function(){var t=this.getView(),i=this.context.event;if(i.data){var n=i.data.items,a=t.geometries.filter(function(o){return o.type==="point"});C(a,function(o){C(o.elements,function(s){var l=yp(n,function(u){return u.data===s.data})!==-1;s.setState("active",l)})})}},e.prototype.reset=function(){var t=this.getView(),i=t.geometries.filter(function(n){return n.type==="point"});C(i,function(n){C(n.elements,function(a){a.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(St);j("marker-active",gP);it("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]});var L0=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t}return e.getDefaultOptions=function(){return pP},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;sl({chart:n,options:a}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return l0},e}(nt),I0=I({},nt.getDefaultOptions(),{legend:{position:"right",radio:{}},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}}),yP=[1,0,0,0,1,0,0,0,1];function qu(r,e){var t=e?Z([],e,!0):Z([],yP,!0);return ye.transform(t,r)}var mP=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getActiveElements=function(){var t=ye.getDelegationObject(this.context);if(t){var i=this.context.view,n=t.component,a=t.item,o=n.get("field");if(o){var s=i.geometries[0].elements;return s.filter(function(l){return l.getModel().data[o]===a.value})}}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,i=this.getActiveElements(),n=t.geometries[0].labelsContainer.getChildren();return n.filter(function(a){return i.find(function(o){return Pt(o.getData(),a.get("data"))})})},e.prototype.transfrom=function(t){t===void 0&&(t=7.5);var i=this.getActiveElements(),n=this.getActiveElementLabels();i.forEach(function(a,o){var s=n[o],l=a.geometry.coordinate;if(l.isPolar&&l.isTransposed){var u=ye.getAngle(a.getModel(),l),c=u.startAngle,h=u.endAngle,f=(c+h)/2,v=t,d=v*Math.cos(f),p=v*Math.sin(f);a.shape.setMatrix(qu([["t",d,p]])),s.setMatrix(qu([["t",d,p]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(St);function xP(r){var e=r.event,t,i=e.target;return i&&(t=i.get("element")),t}var wP=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAnnotations=function(t){var i=t||this.context.view;return i.getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,i=this.context.view;i.removeInteraction("tooltip"),i.on("afterchangesize",function(){var n=t.getAnnotations(i);t.initialAnnotation=n})},e.prototype.change=function(t){var i=this.context,n=i.view,a=i.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var o=A(a,["data","data"]);if(a.type.match("legend-item")){var s=ye.getDelegationObject(this.context),l=n.getGroupedFields()[0];if(s&&l){var u=s.item;o=n.getData().find(function(v){return v[l]===u.value})}}if(o){var c=A(t,"annotations",[]),h=A(t,"statistic",{});n.getController("annotation").clear(!0),C(c,function(v){typeof v=="object"&&n.annotation()[v.type](v)}),Js(n,{statistic:h,plotType:"pie"},o),n.render(!0)}var f=xP(this.context);f&&f.shape.toFront()},e.prototype.reset=function(){var t=this.context.view,i=t.getController("annotation");i.clear(!0);var n=this.getInitialAnnotation();C(n,function(a){t.annotation()[a.type](a)}),t.render(!0)},e}(St),P0="pie-statistic";j(P0,wP);it("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]});j("pie-legend",mP);it("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});function bP(r,e){var t=null;return C(r,function(i){typeof i[e]=="number"&&(t+=i[e])}),t}function SP(r,e){var t;switch(r){case"inner":return t="-30%",Q(e)&&e.endsWith("%")?parseFloat(e)*.01>0?t:e:e<0?e:t;case"outer":return t=12,Q(e)&&e.endsWith("%")?parseFloat(e)*.01<0?t:e:e>0?e:t;default:return e}}function cs(r,e){return ac(un(r,e),function(t){return t[e]===0})}function CP(r){var e=r.chart,t=r.options,i=t.data,n=t.angleField,a=t.colorField,o=t.color,s=t.pieStyle,l=t.shape,u=un(i,n);if(cs(u,n)){var c="$$percentage$$";u=u.map(function(f){var v;return m(m({},f),(v={},v[c]=1/u.length,v))}),e.data(u);var h=I({},r,{options:{xField:"1",yField:c,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});Jt(h)}else{e.data(u);var h=I({},r,{options:{xField:"1",yField:n,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});Jt(h)}return r}function MP(r){var e,t=r.chart,i=r.options,n=i.meta,a=i.colorField,o=I({},n);return t.scale(o,(e={},e[a]={type:"cat"},e)),r}function AP(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"theta",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}),r}function FP(r){var e=r.chart,t=r.options,i=t.label,n=t.colorField,a=t.angleField,o=e.geometries[0];if(!i)o.label(!1);else{var s=i.callback,l=yt(i,["callback"]),u=Ht(l);if(u.content){var c=u.content;u.content=function(d,p,g){var y=d[n],x=d[a],b=e.getScaleByField(a),w=b==null?void 0:b.scale(x);return X(c)?c(m(m({},d),{percent:w}),p,g):Q(c)?Zm(c,{value:x,name:y,percentage:rt(w)&&!B(x)?"".concat((w*100).toFixed(2),"%"):null}):c}}var h={inner:"",outer:"pie-outer",spider:"pie-spider"},f=u.type?h[u.type]:"pie-outer",v=u.layout?R(u.layout)?u.layout:[u.layout]:[];u.layout=(f?[{type:f}]:[]).concat(v),o.label({fields:n?[a,n]:[a],callback:s,cfg:m(m({},u),{offset:SP(u.type,u.offset),type:"pie"})})}return r}function D0(r){var e=r.innerRadius,t=r.statistic,i=r.angleField,n=r.colorField,a=r.meta,o=r.locale,s=el(o);if(e&&t){var l=I({},I0.statistic,t),u=l.title,c=l.content;return u!==!1&&(u=I({},{formatter:function(h){var f=h?h[n]:B(u.content)?s.get(["statistic","total"]):u.content,v=A(a,[n,"formatter"])||function(d){return d};return v(f)}},u)),c!==!1&&(c=I({},{formatter:function(h,f){var v=h?h[i]:bP(f,i),d=A(a,[i,"formatter"])||function(p){return p};return h||B(c.content)?d(v):c.content}},c)),I({},{statistic:{title:u,content:c}},r)}return r}function O0(r){var e=r.chart,t=r.options,i=D0(t),n=i.innerRadius,a=i.statistic;return e.getController("annotation").clear(!0),J(Et())(r),n&&a&&Js(e,{statistic:a,plotType:"pie"}),r}function TP(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.colorField,a=t.angleField,o=t.data;if(i===!1)e.tooltip(i);else if(e.tooltip(I({},i,{shared:!1})),cs(o,a)){var s=A(i,"fields"),l=A(i,"formatter");ge(A(i,"fields"))&&(s=[n,a],l=l||function(u){return{name:u[n],value:La(u[a])}}),e.geometries[0].tooltip(s.join("*"),$i(s,l))}return r}function EP(r){var e=r.chart,t=r.options,i=D0(t),n=i.interactions,a=i.statistic,o=i.annotations;return C(n,function(s){var l,u;if(s.enable===!1)e.removeInteraction(s.type);else if(s.type==="pie-statistic-active"){var c=[];!((l=s.cfg)===null||l===void 0)&&l.start||(c=[{trigger:"element:mouseenter",action:"".concat(P0,":change"),arg:{statistic:a,annotations:o}}]),C((u=s.cfg)===null||u===void 0?void 0:u.start,function(h){c.push(m(m({},h),{arg:{statistic:a,annotations:o}}))}),e.interaction(s.type,I({},s.cfg,{start:c}))}else e.interaction(s.type,s.cfg||{})}),r}function B0(r){return J(Fe("pieStyle"),CP,MP,ut,AP,Sn,TP,FP,ti,O0,EP,xt)(r)}var R0=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="pie",t}return e.getDefaultOptions=function(){return I0},e.prototype.changeData=function(t){this.chart.emit(ot.BEFORE_CHANGE_DATA,Tt.fromData(this.chart,ot.BEFORE_CHANGE_DATA,null));var i=this.options,n=this.options.angleField,a=un(i.data,n),o=un(t,n);cs(a,n)||cs(o,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),O0({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(ot.AFTER_CHANGE_DATA,Tt.fromData(this.chart,ot.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return B0},e}(nt),z0=["#FAAD14","#E8EDF3"],kP={percent:.2,color:z0,animation:{}};function Ih(r){var e=Ct(Ti(r)?r:0,0,1);return[{current:"".concat(e),type:"current",percent:e},{current:"".concat(e),type:"target",percent:1}]}function N0(r){var e=r.chart,t=r.options,i=t.percent,n=t.progressStyle,a=t.color,o=t.barWidthRatio;e.data(Ih(i));var s=I({},r,{options:{xField:"current",yField:"percent",seriesField:"type",widthRatio:o,interval:{style:n,color:Q(a)?[a,z0[1]]:a},args:{zIndexReversed:!0,sortZIndex:!0}}});return Jt(s),e.tooltip(!1),e.axis(!1),e.legend(!1),r}function LP(r){var e=r.chart;return e.coordinate("rect").transpose(),r}function G0(r){return J(N0,Lt({}),LP,xt,ut,Et())(r)}var IP=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="process",t}return e.getDefaultOptions=function(){return kP},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Ih(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return G0},e}(nt);function PP(r){var e=r.chart,t=r.options,i=t.innerRadius,n=t.radius;return e.coordinate("theta",{innerRadius:i,radius:n}),r}function V0(r,e){var t=r.chart,i=r.options,n=i.innerRadius,a=i.statistic,o=i.percent,s=i.meta;if(t.getController("annotation").clear(!0),n&&a){var l=A(s,["percent","formatter"])||function(c){return"".concat((c*100).toFixed(2),"%")},u=a.content;u&&(u=I({},u,{content:B(u.content)?l(o):u.content})),Js(t,{statistic:m(m({},a),{content:u}),plotType:"ring-progress"},{percent:o})}return e&&t.render(!0),r}function Y0(r){return J(N0,Lt({}),PP,V0,xt,ut,Et())(r)}var DP={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}},OP=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ring-process",t}return e.getDefaultOptions=function(){return DP},e.prototype.changeData=function(t){this.chart.emit(ot.BEFORE_CHANGE_DATA,Tt.fromData(this.chart,ot.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Ih(t)),V0({chart:this.chart,options:this.options},!0),this.chart.emit(ot.AFTER_CHANGE_DATA,Tt.fromData(this.chart,ot.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Y0},e}(nt);function jr(r,e){return BP(r)||RP(r,e)||zP()}function BP(r){if(Array.isArray(r))return r}function RP(r,e){var t=[],i=!0,n=!1,a=void 0;try{for(var o=r[Symbol.iterator](),s;!(i=(s=o.next()).done)&&(t.push(s.value),!(e&&t.length===e));i=!0);}catch(l){n=!0,a=l}finally{try{!i&&o.return!=null&&o.return()}finally{if(n)throw a}}return t}function zP(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Ph(r,e,t,i){r=r.filter(function(d,p){var g=e(d,p),y=t(d,p);return g!=null&&isFinite(g)&&y!=null&&isFinite(y)}),i&&r.sort(function(d,p){return e(d)-e(p)});for(var n=r.length,a=new Float64Array(n),o=new Float64Array(n),s=0,l=0,u,c,h,f=0;fn&&(c.splice(v+1,0,y),f=!0)}return f}}function Xa(r,e,t,i){var n=i-r*r,a=Math.abs(n)<1e-24?0:(t-r*e)/n,o=e-a*r;return[o,a]}function GP(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=0,o=0,s=0,l=0,u=0,c=0,h=t?+t[0]:1/0,f=t?+t[1]:-1/0;Oi(n,r,e,function(b,w){var S=Math.log(w),M=b*w;++a,o+=(w-o)/a,l+=(M-l)/a,c+=(b*M-c)/a,s+=(w*S-s)/a,u+=(M*S-u)/a,t||(bf&&(f=b))});var v=Xa(l/o,s/o,u/o,c/o),d=jr(v,2),p=d[0],g=d[1];p=Math.exp(p);var y=function(w){return p*Math.exp(g*w)},x=Ha(h,f,y);return x.a=p,x.b=g,x.predict=y,x.rSquared=Mn(n,r,e,o,y),x}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function $0(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=0,o=0,s=0,l=0,u=0,c=t?+t[0]:1/0,h=t?+t[1]:-1/0;Oi(n,r,e,function(x,b){++a,o+=(x-o)/a,s+=(b-s)/a,l+=(x*b-l)/a,u+=(x*x-u)/a,t||(xh&&(h=x))});var f=Xa(o,s,l,u),v=jr(f,2),d=v[0],p=v[1],g=function(b){return p*b+d},y=[[c,g(c)],[h,g(h)]];return y.a=p,y.b=d,y.predict=g,y.rSquared=Mn(n,r,e,s,g),y}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function VP(r){r.sort(function(t,i){return t-i});var e=r.length/2;return e%1===0?(r[e-1]+r[e])/2:r[Math.floor(e)]}var Pd=2,Dd=1e-12;function YP(){var r=function(a){return a[0]},e=function(a){return a[1]},t=.3;function i(n){for(var a=Ph(n,r,e,!0),o=jr(a,4),s=o[0],l=o[1],u=o[2],c=o[3],h=s.length,f=Math.max(2,~~(t*h)),v=new Float64Array(h),d=new Float64Array(h),p=new Float64Array(h).fill(1),g=-1;++g<=Pd;){for(var y=[0,f-1],x=0;xs[S]-b?w:S,F=0,T=0,L=0,k=0,P=0,O=1/Math.abs(s[M]-b||1),z=w;z<=S;++z){var V=s[z],U=l[z],D=$P(Math.abs(b-V)*O)*p[z],N=V*D;F+=D,T+=N,L+=U*D,k+=U*N,P+=V*N}var W=Xa(T/F,L/F,k/F,P/F),$=jr(W,2),Y=$[0],_=$[1];v[x]=Y+_*b,d[x]=Math.abs(l[x]-v[x]),HP(s,x+1,y)}if(g===Pd)break;var et=VP(d);if(Math.abs(et)=1?Dd:(tt=1-K*K)*tt}return XP(s,v,u,c)}return i.bandwidth=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function $P(r){return(r=1-r*r*r)*r*r}function HP(r,e,t){var i=r[e],n=t[0],a=t[1]+1;if(!(a>=r.length))for(;e>n&&r[a]-i<=i-r[n];)t[0]=++n,t[1]=a,++a}function XP(r,e,t,i){for(var n=r.length,a=[],o=0,s=0,l=[],u;of&&(f=w))});var d=Xa(s,l,u,c),p=jr(d,2),g=p[0],y=p[1],x=function(S){return y*Math.log(S)/v+g},b=Ha(h,f,x);return b.a=y,b.b=g,b.predict=x,b.rSquared=Mn(a,r,e,l,x),b}return n.domain=function(a){return arguments.length?(i=a,n):i},n.x=function(a){return arguments.length?(r=a,n):r},n.y=function(a){return arguments.length?(e=a,n):e},n.base=function(a){return arguments.length?(t=a,n):t},n}function H0(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=Ph(n,r,e),o=jr(a,4),s=o[0],l=o[1],u=o[2],c=o[3],h=s.length,f=0,v=0,d=0,p=0,g=0,y,x,b,w;for(y=0;yT&&(T=D))});var L=d-f*f,k=f*L-v*v,P=(g*f-p*v)/k,O=(p*L-g*v)/k,z=-P*f,V=function(N){return N=N-u,P*N*N+O*N+z+c},U=Ha(F,T,V);return U.a=P,U.b=O-2*P*u,U.c=z-O*u+P*u*u+c,U.predict=V,U.rSquared=Mn(n,r,e,S,V),U}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function _P(){var r=function(o){return o[0]},e=function(o){return o[1]},t=3,i;function n(a){if(t===1){var o=$0().x(r).y(e).domain(i)(a);return o.coefficients=[o.b,o.a],delete o.a,delete o.b,o}if(t===2){var s=H0().x(r).y(e).domain(i)(a);return s.coefficients=[s.c,s.b,s.a],delete s.a,delete s.b,delete s.c,s}var l=Ph(a,r,e),u=jr(l,4),c=u[0],h=u[1],f=u[2],v=u[3],d=c.length,p=[],g=[],y=t+1,x=0,b=0,w=i?+i[0]:1/0,S=i?+i[1]:-1/0;Oi(a,r,e,function(V,U){++b,x+=(U-x)/b,i||(VS&&(S=V))});var M,F,T,L,k;for(M=0;M=0;--a)for(s=e[a],l=1,n[a]+=s,o=1;o<=a;++o)l*=(a+1-o)/o,n[a-o]+=s*Math.pow(t,o)*l;return n[0]+=i,n}function UP(r){var e=r.length-1,t=[],i,n,a,o,s;for(i=0;iMath.abs(r[i][o])&&(o=n);for(a=i;a=i;a--)r[a][n]-=r[a][i]*r[i][n]/r[i][i]}for(n=e-1;n>=0;--n){for(s=0,a=n+1;af&&(f=b))});var v=Xa(o,s,l,u),d=jr(v,2),p=d[0],g=d[1];p=Math.exp(p);var y=function(w){return p*Math.pow(w,g)},x=Ha(h,f,y);return x.a=p,x.b=g,x.predict=y,x.rSquared=Mn(n,r,e,c,y),x}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}var ZP={exp:GP,linear:$0,loess:YP,log:WP,poly:_P,pow:jP,quad:H0};function QP(r,e){var t=10,i={regionStyle:[{position:{start:[r,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[r,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[r,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[r,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-t,offsetY:-t,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:-t,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:t,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-t,offsetY:t,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]};return i}var KP=function(r,e){var t=e.view,i=e.options,n=i.xField,a=i.yField,o=t.getScaleByField(n),s=t.getScaleByField(a),l=r.map(function(u){return t.getCoordinate().convert({x:o.scale(u[0]),y:s.scale(u[1])})});return vL(l,!1)},JP=function(r){var e=r.options,t=e.xField,i=e.yField,n=e.data,a=e.regressionLine,o=a.type,s=o===void 0?"linear":o,l=a.algorithm,u=a.equation,c,h=null;if(l)c=R(l)?l:l(n),h=u;else{var f=ZP[s]().x(function(v){return v[t]}).y(function(v){return v[i]});c=f(n),h=eD(s,c)}return[KP(c,r),h]},tD=function(r){var e,t=r.meta,i=t===void 0?{}:t,n=r.xField,a=r.yField,o=r.data,s=o[0][n],l=o[0][a],u=s>0,c=l>0;function h(f,v){var d=A(i,[f]);function p(y){return A(d,y)}var g={};return v==="x"?(rt(s)&&(rt(p("min"))||(g.min=u?0:s*2),rt(p("max"))||(g.max=u?s*2:0)),g):(rt(l)&&(rt(p("min"))||(g.min=c?0:l*2),rt(p("max"))||(g.max=c?l*2:0)),g)}return m(m({},i),(e={},e[n]=m(m({},i[n]),h(n,"x")),e[a]=m(m({},i[a]),h(a,"y")),e))};function eD(r,e){var t,i,n,a=function(u,c){return c===void 0&&(c=4),Math.round(u*Math.pow(10,c))/Math.pow(10,c)},o=function(u){return Number.isFinite(u)?a(u):"?"};switch(r){case"linear":return"y = ".concat(o(e.a),"x + ").concat(o(e.b),", R^2 = ").concat(o(e.rSquared));case"exp":return"y = ".concat(o(e.a),"e^(").concat(o(e.b),"x), R^2 = ").concat(o(e.rSquared));case"log":return"y = ".concat(o(e.a),"ln(x) + ").concat(o(e.b),", R^2 = ").concat(o(e.rSquared));case"quad":return"y = ".concat(o(e.a),"x^2 + ").concat(o(e.b),"x + ").concat(o(e.c),", R^2 = ").concat(o(e.rSquared));case"poly":for(var s="y = ".concat(o((t=e.coefficients)===null||t===void 0?void 0:t[0])," + ").concat(o((i=e.coefficients)===null||i===void 0?void 0:i[1]),"x + ").concat(o((n=e.coefficients)===null||n===void 0?void 0:n[2]),"x^2"),l=3;l
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},xD={appendPadding:2,tooltip:m({},Z0),animation:{}};function wD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.areaStyle,o=t.point,s=t.line,l=o==null?void 0:o.state,u=Bi(i);e.data(u);var c=I({},r,{options:{xField:Ta,yField:Ki,area:{color:n,style:a},line:s,point:o}}),h=I({},c,{options:{tooltip:!1}}),f=I({},c,{options:{tooltip:!1,state:l}});return rl(c),Cn(h),Te(f),e.axis(!1),e.legend(!1),r}function An(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.data,s=Bi(o);return J(Lt((e={},e[Ta]=n,e[Ki]=a,e),(t={},t[Ta]={type:"cat"},t[Ki]=mh(s,Ki),t)))(r)}function Q0(r){return J(Fe("areaStyle"),wD,An,Vt,ut,xt,Et())(r)}var bD={appendPadding:2,tooltip:m({},Z0),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}},SD=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-area",t}return e.getDefaultOptions=function(){return bD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;An({chart:n,options:a}),n.changeData(Bi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Q0},e}(nt);function CD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.columnStyle,o=t.columnWidthRatio,s=Bi(i);e.data(s);var l=I({},r,{options:{xField:Ta,yField:Ki,widthRatio:o,interval:{style:a,color:n}}});return Jt(l),e.axis(!1),e.legend(!1),e.interaction("element-active"),r}function K0(r){return J(ut,Fe("columnStyle"),CD,An,Vt,xt,Et())(r)}var MD={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(r,e){return"".concat(A(e,[0,"data","y"],0))},containerTpl:'
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},AD={appendPadding:2,tooltip:m({},MD),animation:{}},FD=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-column",t}return e.getDefaultOptions=function(){return AD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;An({chart:n,options:a}),n.changeData(Bi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return K0},e}(nt);function TD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.lineStyle,o=t.point,s=o==null?void 0:o.state,l=Bi(i);e.data(l);var u=I({},r,{options:{xField:Ta,yField:Ki,line:{color:n,style:a},point:o}}),c=I({},u,{options:{tooltip:!1,state:s}});return Cn(u),Te(c),e.axis(!1),e.legend(!1),r}function J0(r){return J(TD,An,ut,Vt,xt,Et())(r)}var ED=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-line",t}return e.getDefaultOptions=function(){return xD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;An({chart:n,options:a}),n.changeData(Bi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return J0},e}(nt),kD={line:l0,pie:B0,column:ll,bar:f0,area:u0,gauge:T0,"tiny-line":J0,"tiny-column":K0,"tiny-area":Q0,"ring-progress":Y0,progress:G0,scatter:W0,histogram:k0,funnel:w0,stock:j0},LD={line:L0,pie:R0,column:v0,bar:EI,area:aI,gauge:sP,"tiny-line":ED,"tiny-column":FD,"tiny-area":SD,"ring-progress":OP,progress:IP,scatter:cD,histogram:dP,funnel:JI,stock:mD},ID={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}};function Uu(r,e,t){var i=LD[r];if(!i){console.error("could not find ".concat(r," plot"));return}var n=kD[r];n({chart:e,options:I({},i.getDefaultOptions(),A(ID,r,{}),t)})}function PD(r){var e=r.chart,t=r.options,i=t.views,n=t.legend;return C(i,function(a){var o=a.region,s=a.data,l=a.meta,u=a.axes,c=a.coordinate,h=a.interactions,f=a.annotations,v=a.tooltip,d=a.geometries,p=e.createView({region:o});p.data(s);var g={};u&&C(u,function(y,x){g[x]=dt(y,de)}),g=I({},l,g),p.scale(g),u?C(u,function(y,x){p.axis(x,y)}):p.axis(!1),p.coordinate(c),C(d,function(y){var x=xe({chart:p,options:y}).ext,b=y.adjust;b&&x.geometry.adjust(b)}),C(h,function(y){y.enable===!1?p.removeInteraction(y.type):p.interaction(y.type,y.cfg)}),C(f,function(y){p.annotation()[y.type](m({},y))}),typeof a.animation=="boolean"?p.animate(!1):(p.animate(!0),C(p.geometries,function(y){y.animate(a.animation)})),v&&(p.interaction("tooltip"),p.tooltip(v))}),n?C(n,function(a,o){e.legend(o,a)}):e.legend(!1),e.tooltip(t.tooltip),r}function DD(r){var e=r.chart,t=r.options,i=t.plots,n=t.data,a=n===void 0?[]:n;return C(i,function(o){var s=o.type,l=o.region,u=o.options,c=u===void 0?{}:u,h=o.top,f=c.tooltip;if(h){Uu(s,e,m(m({},c),{data:a}));return}var v=e.createView(m({region:l},dt(c,n0)));f&&v.interaction("tooltip"),Uu(s,v,m({data:a},c))}),r}function OD(r){var e=r.chart,t=r.options;return e.option("slider",t.slider),r}function BD(r){return J(xt,PD,DD,At,xt,ut,Vt,OD,Et())(r)}function RD(r,e){var t=r.getModel(),i=t.data,n;return R(i)?n=i[0][e]:n=i[e],n}function zD(r){var e=os(r);C(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})}var ND=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAssociationItems=function(t,i){var n,a=this.context.event,o=i||{},s=o.linkField,l=o.dim,u=[];if(!((n=a.data)===null||n===void 0)&&n.data){var c=a.data.data;C(t,function(h){var f,v,d=s;if(l==="x"?d=h.getXScale().field:l==="y"?d=(f=h.getYScales().find(function(g){return g.field===d}))===null||f===void 0?void 0:f.field:d||(d=(v=h.getGroupScales()[0])===null||v===void 0?void 0:v.field),!!d){var p=Mt(os(h),function(g){var y=!1,x=!1,b=R(c)?A(c[0],d):A(c,d);return RD(g,d)===b?y=!0:x=!0,{element:g,view:h,active:y,inactive:x}});u.push.apply(u,p)}})}return u},e.prototype.showTooltip=function(t){var i=Fd(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){if(a.active){var o=a.element.shape.getCanvasBBox();a.view.showTooltip({x:o.minX+o.width/2,y:o.minY+o.height/2})}})},e.prototype.hideTooltip=function(){var t=Fd(this.context.view);C(t,function(i){i.hideTooltip()})},e.prototype.active=function(t){var i=$n(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.active,s=a.element;o&&s.setState("active",!0)})},e.prototype.selected=function(t){var i=$n(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.active,s=a.element;o&&s.setState("selected",!0)})},e.prototype.highlight=function(t){var i=$n(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.inactive,s=a.element;o&&s.setState("inactive",!0)})},e.prototype.reset=function(){var t=$n(this.context.view);C(t,function(i){zD(i)})},e}(St);j("association",ND);it("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});it("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});it("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});it("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="mix",t}return e.prototype.getSchemaAdaptor=function(){return BD},e})(nt);var Od;(function(r){r.DEV="DEV",r.BETA="BETA",r.STABLE="STABLE"})(Od||(Od={}));var er="first-axes-view",rr="second-axes-view",fi="series-field-key";function tx(r,e,t,i,n){var a=[];e.forEach(function(h){i.forEach(function(f){var v,d=(v={},v[r]=f[r],v[t]=h,v[h]=f[h],v);a.push(d)})});var o=Object.values(Se(a,t)),s=o[0],l=s===void 0?[]:s,u=o[1],c=u===void 0?[]:u;return n?[l.reverse(),c.reverse()]:[l,c]}function pr(r){return r!=="vertical"}function GD(r,e,t){var i=e[0],n=e[1],a=i.autoPadding,o=n.autoPadding,s=r.__axisPosition,l=s.layout,u=s.position;if(pr(l)&&u==="top"&&(i.autoPadding=t.instance(a.top,0,a.bottom,a.left),n.autoPadding=t.instance(o.top,a.left,o.bottom,0)),pr(l)&&u==="bottom"&&(i.autoPadding=t.instance(a.top,a.right/2+5,a.bottom,a.left),n.autoPadding=t.instance(o.top,o.right,o.bottom,a.right/2+5)),!pr(l)&&u==="bottom"){var c=a.left>=o.left?a.left:o.left;i.autoPadding=t.instance(a.top,a.right,a.bottom/2+5,c),n.autoPadding=t.instance(a.bottom/2+5,o.right,o.bottom,c)}if(!pr(l)&&u==="top"){var c=a.left>=o.left?a.left:o.left;i.autoPadding=t.instance(a.top,a.right,0,c),n.autoPadding=t.instance(0,o.right,a.top,c)}}function VD(r){var e=r.chart,t=r.options,i=t.data,n=t.xField,a=t.yField,o=t.color,s=t.barStyle,l=t.widthRatio,u=t.legend,c=t.layout,h=tx(n,a,fi,i,pr(c));u?e.legend(fi,u):u===!1&&e.legend(!1);var f,v,d=h[0],p=h[1];pr(c)?(f=e.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:er}),f.coordinate().transpose().reflect("x"),v=e.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:rr}),v.coordinate().transpose(),f.data(d),v.data(p)):(f=e.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:er}),v=e.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:rr}),v.coordinate().reflect("y"),f.data(d),v.data(p));var g=I({},r,{chart:f,options:{widthRatio:l,xField:n,yField:a[0],seriesField:fi,interval:{color:o,style:s}}});Jt(g);var y=I({},r,{chart:v,options:{xField:n,yField:a[1],seriesField:fi,widthRatio:l,interval:{color:o,style:s}}});return Jt(y),r}function YD(r){var e,t,i,n=r.options,a=r.chart,o=n.xAxis,s=n.yAxis,l=n.xField,u=n.yField,c=st(a,er),h=st(a,rr),f={};return pn((n==null?void 0:n.meta)||{}).map(function(v){A(n==null?void 0:n.meta,[v,"alias"])&&(f[v]=n.meta[v].alias)}),a.scale((e={},e[fi]={sync:!0,formatter:function(v){return A(f,v,v)}},e)),Lt((t={},t[l]=o,t[u[0]]=s[u[0]],t))(I({},r,{chart:c})),Lt((i={},i[l]=o,i[u[1]]=s[u[1]],i))(I({},r,{chart:h})),r}function $D(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField,s=t.layout,l=st(e,er),u=st(e,rr);return(i==null?void 0:i.position)==="bottom"?u.axis(a,m(m({},i),{label:{formatter:function(){return""}}})):u.axis(a,!1),i===!1?l.axis(a,!1):l.axis(a,m({position:pr(s)?"top":"bottom"},i)),n===!1?(l.axis(o[0],!1),u.axis(o[1],!1)):(l.axis(o[0],n[o[0]]),u.axis(o[1],n[o[1]])),e.__axisPosition={position:l.getOptions().axes[a].position,layout:s},r}function HD(r){var e=r.chart;return At(I({},r,{chart:st(e,er)})),At(I({},r,{chart:st(e,rr)})),r}function XD(r){var e=r.chart,t=r.options,i=t.yField,n=t.yAxis;return Ei(I({},r,{chart:st(e,er),options:{yAxis:n[i[0]]}})),Ei(I({},r,{chart:st(e,rr),options:{yAxis:n[i[1]]}})),r}function WD(r){var e=r.chart;return ut(I({},r,{chart:st(e,er)})),ut(I({},r,{chart:st(e,rr)})),ut(r),r}function _D(r){var e=r.chart;return xt(I({},r,{chart:st(e,er)})),xt(I({},r,{chart:st(e,rr)})),r}function qD(r){var e=this,t,i,n=r.chart,a=r.options,o=a.label,s=a.yField,l=a.layout,u=st(n,er),c=st(n,rr),h=Kt(u,"interval"),f=Kt(c,"interval");if(!o)h.label(!1),f.label(!1);else{var v=o.callback,d=yt(o,["callback"]);d.position||(d.position="middle"),d.offset===void 0&&(d.offset=2);var p=m({},d);if(pr(l)){var g=((t=p.style)===null||t===void 0?void 0:t.textAlign)||(d.position==="middle"?"center":"left");d.style=I({},d.style,{textAlign:g});var y={left:"right",right:"left",center:"center"};p.style=I({},p.style,{textAlign:y[g]})}else{var x={top:"bottom",bottom:"top",middle:"middle"};typeof d.position=="string"?d.position=x[d.position]:typeof d.position=="function"&&(d.position=function(){for(var S=[],M=0;M1?"".concat(e,"_").concat(t):"".concat(e)}function ix(r){var e=r.data,t=r.xField,i=r.measureField,n=r.rangeField,a=r.targetField,o=r.layout,s=[],l=[];e.forEach(function(h,f){var v=[h[n]].flat();v.sort(function(g,y){return g-y}),v.forEach(function(g,y){var x,b=y===0?g:v[y]-v[y-1];s.push((x={rKey:"".concat(n,"_").concat(y)},x[t]=t?h[t]:String(f),x[n]=b,x))});var d=[h[i]].flat();d.forEach(function(g,y){var x;s.push((x={mKey:Bd(d,i,y)},x[t]=t?h[t]:String(f),x[i]=g,x))});var p=[h[a]].flat();p.forEach(function(g,y){var x;s.push((x={tKey:Bd(p,a,y)},x[t]=t?h[t]:String(f),x[a]=g,x))}),l.push(h[n],h[i],h[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,o==="vertical"&&s.reverse(),{min:u,max:c,ds:s}}function nO(r){var e=r.chart,t=r.options,i=t.bulletStyle,n=t.targetField,a=t.rangeField,o=t.measureField,s=t.xField,l=t.color,u=t.layout,c=t.size,h=t.label,f=ix(t),v=f.min,d=f.max,p=f.ds;e.data(p);var g=I({},r,{options:{xField:s,yField:a,seriesField:"rKey",isStack:!0,label:A(h,"range"),interval:{color:A(l,"range"),style:A(i,"range"),size:A(c,"range")}}});Jt(g),e.geometries[0].tooltip(!1);var y=I({},r,{options:{xField:s,yField:o,seriesField:"mKey",isStack:!0,label:A(h,"measure"),interval:{color:A(l,"measure"),style:A(i,"measure"),size:A(c,"measure")}}});Jt(y);var x=I({},r,{options:{xField:s,yField:n,seriesField:"tKey",label:A(h,"target"),point:{color:A(l,"target"),style:A(i,"target"),size:X(A(c,"target"))?function(b){return A(c,"target")(b)/2}:A(c,"target")/2,shape:u==="horizontal"?"line":"hyphen"}}});return Te(x),u==="horizontal"&&e.coordinate().transpose(),m(m({},r),{ext:{data:{min:v,max:d}}})}function nx(r){var e,t,i=r.options,n=r.ext,a=i.xAxis,o=i.yAxis,s=i.targetField,l=i.rangeField,u=i.measureField,c=i.xField,h=n.data;return J(Lt((e={},e[c]=a,e[u]=o,e),(t={},t[u]={min:h==null?void 0:h.min,max:h==null?void 0:h.max,sync:!0},t[s]={sync:"".concat(u)},t[l]={sync:"".concat(u)},t)))(r)}function aO(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.measureField,s=t.rangeField,l=t.targetField;return e.axis("".concat(s),!1),e.axis("".concat(l),!1),i===!1?e.axis("".concat(a),!1):e.axis("".concat(a),i),n===!1?e.axis("".concat(o),!1):e.axis("".concat(o),n),r}function oO(r){var e=r.chart,t=r.options,i=t.legend;return e.removeInteraction("legend-filter"),e.legend(i),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),r}function sO(r){var e=r.chart,t=r.options,i=t.label,n=t.measureField,a=t.targetField,o=t.rangeField,s=e.geometries,l=s[0],u=s[1],c=s[2];return A(i,"range")?l.label("".concat(o),m({layout:[{type:"limit-in-plot"}]},Ht(i.range))):l.label(!1),A(i,"measure")?u.label("".concat(n),m({layout:[{type:"limit-in-plot"}]},Ht(i.measure))):u.label(!1),A(i,"target")?c.label("".concat(a),m({layout:[{type:"limit-in-plot"}]},Ht(i.target))):c.label(!1),r}function lO(r){J(nO,nx,aO,oO,ut,sO,Vt,At,xt)(r)}var uO=I({},nt.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bullet",t}return e.getDefaultOptions=function(){return uO},e.prototype.changeData=function(t){this.updateOption({data:t});var i=ix(this.options),n=i.min,a=i.max,o=i.ds;nx({options:this.options,ext:{data:{min:n,max:a}},chart:this.chart}),this.chart.changeData(o)},e.prototype.getSchemaAdaptor=function(){return lO},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(nt);var cO={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(r){return r.id},source:function(r){return r.source},target:function(r){return r.target},sourceWeight:function(r){return r.value||1},targetWeight:function(r){return r.value||1},sortBy:null};function hO(r,e,t){C(r,function(i,n){i.inEdges=e.filter(function(a){return"".concat(t.target(a))==="".concat(n)}),i.outEdges=e.filter(function(a){return"".concat(t.source(a))==="".concat(n)}),i.edges=i.outEdges.concat(i.inEdges),i.frequency=i.edges.length,i.value=0,i.inEdges.forEach(function(a){i.value+=t.targetWeight(a)}),i.outEdges.forEach(function(a){i.value+=t.sourceWeight(a)})})}function fO(r,e){var t={weight:function(n,a){return a.value-n.value},frequency:function(n,a){return a.frequency-n.frequency},id:function(n,a){return"".concat(e.id(n)).localeCompare("".concat(e.id(a)))}},i=t[e.sortBy];!i&&X(e.sortBy)&&(i=e.sortBy),i&&r.sort(i)}function vO(r,e){var t=r.length;if(!t)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var i=e.nodePaddingRatio;if(i<0||i>=1)throw new TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var n=i/(2*t),a=e.nodeWidthRatio;if(a<=0||a>=1)throw new TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;r.forEach(function(l){o+=l.value}),r.forEach(function(l){l.weight=l.value/o,l.width=l.weight*(1-i),l.height=a}),r.forEach(function(l,u){for(var c=0,h=u-1;h>=0;h--)c+=r[h].width+2*n;var f=l.minX=n+c,v=l.maxX=l.minX+l.width,d=l.minY=e.y-a/2,p=l.maxY=d+a;l.x=[f,v,v,f],l.y=[d,d,p,p]})}else{var s=1/t;r.forEach(function(l,u){l.x=(u+.5)*s,l.y=e.y})}return r}function dO(r,e,t){if(t.weight){var i={};C(r,function(n,a){i[a]=n.value}),e.forEach(function(n){var a=t.source(n),o=t.target(n),s=r[a],l=r[o];if(s&&l){var u=i[a],c=t.sourceWeight(n),h=s.minX+(s.value-u)/s.value*s.width,f=h+c/s.value*s.width;i[a]-=c;var v=i[o],d=t.targetWeight(n),p=l.minX+(l.value-v)/l.value*l.width,g=p+d/l.value*l.width;i[o]-=d;var y=t.y;n.x=[h,f,p,g],n.y=[y,y,y,y],n.source=s,n.target=l}})}else e.forEach(function(n){var a=r[t.source(n)],o=r[t.target(n)];a&&o&&(n.x=[a.x,o.x],n.y=[a.y,o.y],n.source=a,n.target=o)});return e}function pO(r){return mt({},cO,r)}function gO(r,e){var t=pO(r),i={},n=e.nodes,a=e.links;n.forEach(function(l){var u=t.id(l);i[u]=l}),hO(i,a,t),fO(n,t);var o=vO(n,t),s=dO(i,a,t);return{nodes:o,links:s}}var ax="x",ox="y",sx="name",lx="source",yO={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(r,e){var t=(r[0]+r[1])/2,i=t>.5?-4:4;return{offsetX:i,content:e}},labelEmit:!0,style:{fill:"#8c8c8c"}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(r){return!A(r,[0,"data","isNode"])},formatter:function(r){var e=r.source,t=r.target,i=r.value;return{name:"".concat(e," -> ").concat(t),value:i}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05};function mO(r){var e=r.options,t=e.data,i=e.sourceField,n=e.targetField,a=e.weightField,o=e.nodePaddingRatio,s=e.nodeWidthRatio,l=e.rawFields,u=l===void 0?[]:l,c=Wm(t,i,n,a),h=gO({weight:!0,nodePaddingRatio:o,nodeWidthRatio:s},c),f=h.nodes,v=h.links,d=f.map(function(g){return m(m({},dt(g,Z(["id","x","y","name"],u,!0))),{isNode:!0})}),p=v.map(function(g){return m(m({source:g.source.name,target:g.target.name,name:g.source.name||g.target.name},dt(g,Z(["x","y","value"],u,!0))),{isNode:!1})});return m(m({},r),{ext:m(m({},r.ext),{chordData:{nodesData:d,edgesData:p}})})}function xO(r){var e,t=r.chart;return t.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[sx]={sync:"color"},e[lx]={sync:"color"},e)),r}function wO(r){var e=r.chart;return e.axis(!1),r}function bO(r){var e=r.chart;return e.legend(!1),r}function SO(r){var e=r.chart,t=r.options,i=t.tooltip;return e.tooltip(i),r}function CO(r){var e=r.chart;return e.coordinate("polar").reflect("y"),r}function MO(r){var e=r.chart,t=r.options,i=r.ext.chordData.nodesData,n=t.nodeStyle,a=t.label,o=t.tooltip,s=e.createView();return s.data(i),il({chart:s,options:{xField:ax,yField:ox,seriesField:sx,polygon:{style:n},label:a,tooltip:o}}),r}function AO(r){var e=r.chart,t=r.options,i=r.ext.chordData.edgesData,n=t.edgeStyle,a=t.tooltip,o=e.createView();o.data(i);var s={xField:ax,yField:ox,seriesField:lx,edge:{style:n,shape:"arc"},tooltip:a};return e0({chart:o,options:s}),r}function FO(r){var e=r.chart,t=r.options,i=t.animation;return Va(e,i,sL(e)),r}function TO(r){return J(ut,mO,CO,xO,wO,bO,SO,AO,MO,At,ti,FO)(r)}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="chord",t}return e.getDefaultOptions=function(){return yO},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return TO},e})(nt);var EO=["x","y","r","name","value","path","depth"],kO={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}},Rd=4,LO=0,zd=5,Nd="drilldown-bread-crumb",IO={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}},Ea="hierarchy-data-transform-params",PO=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.name="drill-down",t.historyCache=[],t.breadCrumbGroup=null,t.breadCrumbCfg=IO,t}return e.prototype.click=function(){var t=A(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(this.breadCrumbGroup){var t=this.context.view.getCoordinate(),i=this.breadCrumbGroup,n=i.getBBox(),a=this.getButtonCfg().position,o={x:t.start.x,y:t.end.y-(n.height+zd*2)};t.isPolar&&(o={x:0,y:0}),a==="bottom-left"&&(o={x:t.start.x,y:t.start.y});var s=ye.transform(null,[["t",o.x+LO,o.y+n.height+zd]]);i.setMatrix(s)}},e.prototype.back=function(){$t(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var i=this.context.view,n=A(i,["interactions","drill-down","cfg","transformData"],function(u){return u}),a=n(m({data:t.data},t[Ea]));i.changeData(a);for(var o=[],s=t;s;){var l=s.data;o.unshift({id:"".concat(l.name,"_").concat(s.height,"_").concat(s.depth),name:l.name,children:n(m({data:l},t[Ea]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(o)},e.prototype.backTo=function(t){if(!(!t||t.length<=0)){var i=this.context.view,n=zt(t).children;i.changeData(n),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,i=A(t,["interactions","drill-down","cfg","drillDownConfig"]);return I(this.breadCrumbCfg,i==null?void 0:i.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,i=this.getButtonCfg(),n=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:Nd});var a=0;n.forEach(function(o,s){var l=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:"".concat(Nd,"_").concat(o.name,"_text"),attrs:m(m({text:s===0&&!B(i.rootText)?i.rootText:o.name},i.textStyle),{x:a,y:0})}),u=l.getBBox();if(a+=u.width+Rd,l.on("click",function(f){var v,d=f.target.get("id");if(d!==((v=zt(n))===null||v===void 0?void 0:v.id)){var p=n.slice(0,n.findIndex(function(g){return g.id===d})+1);t.backTo(p)}}),l.on("mouseenter",function(f){var v,d=f.target.get("id");d!==((v=zt(n))===null||v===void 0?void 0:v.id)?l.attr(i.activeTextStyle):l.attr({cursor:"default"})}),l.on("mouseleave",function(){l.attr(i.textStyle)}),s=0;)e+=t[i].value;r.value=e}function $O(){return this.eachAfter(YO)}function HO(r,e){let t=-1;for(const i of this)r.call(e,i,++t,this);return this}function XO(r,e){for(var t=this,i=[t],n,a,o=-1;t=i.pop();)if(r.call(e,t,++o,this),n=t.children)for(a=n.length-1;a>=0;--a)i.push(n[a]);return this}function WO(r,e){for(var t=this,i=[t],n=[],a,o,s,l=-1;t=i.pop();)if(n.push(t),a=t.children)for(o=0,s=a.length;o=0;)t+=i[n].value;e.value=t})}function UO(r){return this.eachBefore(function(e){e.children&&e.children.sort(r)})}function jO(r){for(var e=this,t=ZO(e,r),i=[e];e!==t;)e=e.parent,i.push(e);for(var n=i.length;r!==t;)i.splice(n,0,r),r=r.parent;return i}function ZO(r,e){if(r===e)return r;var t=r.ancestors(),i=e.ancestors(),n=null;for(r=t.pop(),e=i.pop();r===e;)n=r,r=t.pop(),e=i.pop();return n}function QO(){for(var r=this,e=[r];r=r.parent;)e.push(r);return e}function KO(){return Array.from(this)}function JO(){var r=[];return this.eachBefore(function(e){e.children||r.push(e)}),r}function tB(){var r=this,e=[];return r.each(function(t){t!==r&&e.push({source:t.parent,target:t})}),e}function*eB(){var r=this,e,t=[r],i,n,a;do for(e=t.reverse(),t=[];r=e.pop();)if(yield r,i=r.children)for(n=0,a=i.length;n=0;--s)n.push(a=o[s]=new fn(o[s])),a.parent=i,a.depth=i.depth+1;return t.eachBefore(ux)}function rB(){return Fn(this).eachBefore(aB)}function iB(r){return r.children}function nB(r){return Array.isArray(r)?r[1]:null}function aB(r){r.data.value!==void 0&&(r.value=r.data.value),r.data=r.data.data}function ux(r){var e=0;do r.height=e;while((r=r.parent)&&r.height<++e)}function fn(r){this.data=r,this.depth=this.height=0,this.parent=null}fn.prototype=Fn.prototype={constructor:fn,count:$O,each:HO,eachAfter:WO,eachBefore:XO,find:_O,sum:qO,sort:UO,path:jO,ancestors:QO,descendants:KO,leaves:JO,links:tB,copy:rB,[Symbol.iterator]:eB};function oB(r){return typeof r=="object"&&"length"in r?r:Array.from(r)}function sB(r){for(var e=r.length,t,i;e;)i=Math.random()*e--|0,t=r[e],r[e]=r[i],r[i]=t;return r}function cx(r){for(var e=0,t=(r=sB(Array.from(r))).length,i=[],n,a;e0&&t*t>i*i+n*n}function ql(r,e){for(var t=0;tl?(n=(u+l-a)/(2*u),s=Math.sqrt(Math.max(0,l/u-n*n)),t.x=r.x-n*i-s*o,t.y=r.y-n*o+s*i):(n=(u+a-l)/(2*u),s=Math.sqrt(Math.max(0,a/u-n*n)),t.x=e.x+n*i-s*o,t.y=e.y+n*o+s*i)):(t.x=e.x+t.r,t.y=e.y)}function Vd(r,e){var t=r.r+e.r-1e-6,i=e.x-r.x,n=e.y-r.y;return t>0&&t*t>i*i+n*n}function Yd(r){var e=r._,t=r.next._,i=e.r+t.r,n=(e.x*t.r+t.x*e.r)/i,a=(e.y*t.r+t.y*e.r)/i;return n*n+a*a}function To(r){this._=r,this.next=null,this.previous=null}function vx(r){if(!(n=(r=oB(r)).length))return 0;var e,t,i,n,a,o,s,l,u,c,h;if(e=r[0],e.x=0,e.y=0,!(n>1))return e.r;if(t=r[1],e.x=-t.r,t.x=e.r,t.y=0,!(n>2))return e.r+t.r;Gd(t,e,i=r[2]),e=new To(e),t=new To(t),i=new To(i),e.next=i.previous=t,t.next=e.previous=i,i.next=t.previous=e;t:for(s=3;s0)throw new Error("cycle");return l}return t.id=function(i){return arguments.length?(r=hs(i),t):r},t.parentId=function(i){return arguments.length?(e=hs(i),t):e},t}function mB(r,e){return r.parent===e.parent?1:2}function jl(r){var e=r.children;return e?e[0]:r.t}function Zl(r){var e=r.children;return e?e[e.length-1]:r.t}function xB(r,e,t){var i=t/(e.i-r.i);e.c-=i,e.s+=t,r.c+=i,e.z+=t,e.m+=t}function wB(r){for(var e=0,t=0,i=r.children,n=i.length,a;--n>=0;)a=i[n],a.z+=e,a.m+=e,e+=a.s+(t+=a.c)}function bB(r,e,t){return r.a.parent===e.parent?r.a:t}function Ro(r,e){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}Ro.prototype=Object.create(fn.prototype);function SB(r){for(var e=new Ro(r,0),t,i=[e],n,a,o,s;t=i.pop();)if(a=t._.children)for(t.children=new Array(s=a.length),o=s-1;o>=0;--o)i.push(n=t.children[o]=new Ro(a[o],o)),n.parent=t;return(e.parent=new Ro(null,0)).children=[e],e}function CB(){var r=mB,e=1,t=1,i=null;function n(u){var c=SB(u);if(c.eachAfter(a),c.parent.m=-c.z,c.eachBefore(o),i)u.eachBefore(l);else{var h=u,f=u,v=u;u.eachBefore(function(x){x.xf.x&&(f=x),x.depth>v.depth&&(v=x)});var d=h===f?1:r(h,f)/2,p=d-h.x,g=e/(f.x+d+p),y=t/(v.depth||1);u.eachBefore(function(x){x.x=(x.x+p)*g,x.y=x.depth*y})}return u}function a(u){var c=u.children,h=u.parent.children,f=u.i?h[u.i-1]:null;if(c){wB(u);var v=(c[0].z+c[c.length-1].z)/2;f?(u.z=f.z+r(u._,f._),u.m=u.z-v):u.z=v}else f&&(u.z=f.z+r(u._,f._));u.parent.A=s(u,f,u.parent.A||h[0])}function o(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function s(u,c,h){if(c){for(var f=u,v=u,d=c,p=f.parent.children[0],g=f.m,y=v.m,x=d.m,b=p.m,w;d=Zl(d),f=jl(f),d&&f;)p=jl(p),v=Zl(v),v.a=u,w=d.z+x-f.z-g+r(d._,f._),w>0&&(xB(bB(d,u,h),u,w),g+=w,y+=w),x+=d.m,g+=f.m,b+=p.m,y+=v.m;d&&!Zl(v)&&(v.t=d,v.m+=x-y),f&&!jl(p)&&(p.t=f,p.m+=g-b,h=u)}return h}function l(u){u.x*=e,u.y=u.depth*t}return n.separation=function(u){return arguments.length?(r=u,n):r},n.size=function(u){return arguments.length?(i=!1,e=+u[0],t=+u[1],n):i?null:[e,t]},n.nodeSize=function(u){return arguments.length?(i=!0,e=+u[0],t=+u[1],n):i?[e,t]:null},n}function cl(r,e,t,i,n){for(var a=r.children,o,s=-1,l=a.length,u=r.value&&(n-t)/r.value;++sx&&(x=u),M=g*g*S,b=Math.max(x/M,M/y),b>w){g-=u;break}w=b}o.push(l={value:g,dice:v1?i:1)},t}(yx);function wx(){var r=xx,e=!1,t=1,i=1,n=[0],a=si,o=si,s=si,l=si,u=si;function c(f){return f.x0=f.y0=0,f.x1=t,f.y1=i,f.eachBefore(h),n=[0],e&&f.eachBefore(px),f}function h(f){var v=n[f.depth],d=f.x0+v,p=f.y0+v,g=f.x1-v,y=f.y1-v;g=f-1){var x=a[h];x.x0=d,x.y0=p,x.x1=g,x.y1=y;return}for(var b=u[h],w=v/2+b,S=h+1,M=f-1;S>>1;u[F]y-p){var k=v?(d*L+g*T)/v:g;c(h,S,T,d,p,k,y),c(S,f,L,k,p,g,y)}else{var P=v?(p*L+y*T)/v:y;c(h,S,T,d,p,g,P),c(S,f,L,d,P,g,y)}}}function AB(r,e,t,i,n){(r.depth&1?cl:Wa)(r,e,t,i,n)}const FB=function r(e){function t(i,n,a,o,s){if((l=i._squarify)&&l.ratio===e)for(var l,u,c,h,f=-1,v,d=l.length,p=i.value;++f1?i:1)},t}(yx),Wd=Object.freeze(Object.defineProperty({__proto__:null,cluster:VO,hierarchy:Fn,pack:dx,packEnclose:cx,packSiblings:hB,partition:gx,stratify:yB,tree:CB,treemap:wx,treemapBinary:MB,treemapDice:Wa,treemapResquarify:FB,treemapSlice:cl,treemapSliceDice:AB,treemapSquarify:xx},Symbol.toStringTag,{value:"Module"}));var bx="nodeIndex",Sx="childNodeCount",Dh="nodeAncestor",Ql="Invalid field: it must be a string!";function Oh(r,e){var t=r.field,i=r.fields;if(Q(t))return t;if(R(t))return console.warn(Ql),t[0];if(console.warn("".concat(Ql," will try to get fields instead.")),Q(i))return i;if(R(i)&&i.length)return i[0];if(e)return e;throw new TypeError(Ql)}function Bh(r){var e=[];if(r&&r.each){var t,i;r.each(function(n){var a,o;n.parent!==t?(t=n.parent,i=0):i+=1;var s=jt((((a=n.ancestors)===null||a===void 0?void 0:a.call(n))||[]).map(function(l){return e.find(function(u){return u.name===l.name})||l}),function(l){var u=l.depth;return u>0&&u1;)c="".concat((u=h.parent.data)===null||u===void 0?void 0:u.name," / ").concat(c),h=h.parent;if(a&&l.depth>2)return null;var f=I({},l.data,m(m(m({},dt(l.data,n)),{path:c}),l));f.ext=t,f[Ea]={hierarchyConfig:t,rawFields:n,enableDrillDown:a},s.push(f)}),s}function Mx(r,e,t){var i=xh([r,e]),n=i[0],a=i[1],o=i[2],s=i[3],l=t.width,u=t.height,c=l-(s+a),h=u-(n+o),f=Math.min(c,h),v=(c-f)/2,d=(h-f)/2,p=n+d,g=a+v,y=o+d,x=s+v,b=[p,g,y,x],w=f<0?0:f;return{finalPadding:b,finalSize:w}}function kB(r){var e=r.chart,t=Math.min(e.viewBBox.width,e.viewBBox.height);return I({options:{size:function(i){var n=i.r;return n*t}}},r)}function LB(r){var e=r.options,t=r.chart,i=t.viewBBox,n=e.padding,a=e.appendPadding,o=e.drilldown,s=a;if(o!=null&&o.enabled){var l=Ks(t.appendPadding,A(o,["breadCrumb","position"]));s=xh([l,a])}var u=Mx(n,s,i).finalPadding;return t.padding=u,t.appendPadding=0,r}function IB(r){var e=r.chart,t=r.options,i=e.padding,n=e.appendPadding,a=t.color,o=t.colorField,s=t.pointStyle,l=t.hierarchyConfig,u=t.sizeField,c=t.rawFields,h=c===void 0?[]:c,f=t.drilldown,v=Cx({data:t.data,hierarchyConfig:l,enableDrillDown:f==null?void 0:f.enabled,rawFields:h});e.data(v);var d=e.viewBBox,p=Mx(i,n,d).finalSize,g=function(y){var x=y.r;return x*p};return u&&(g=function(y){return y[u]*p}),Te(I({},r,{options:{xField:"x",yField:"y",seriesField:o,sizeField:u,rawFields:Z(Z([],EO,!0),h,!0),point:{color:a,style:s,shape:"circle",size:g}}})),r}function PB(r){return J(Lt({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(r)}function DB(r){var e=r.chart,t=r.options,i=t.tooltip;if(i===!1)e.tooltip(!1);else{var n=i;A(i,"fields")||(n=I({},{customItems:function(a){return a.map(function(o){var s=A(e.getOptions(),"scales"),l=A(s,["name","formatter"],function(c){return c}),u=A(s,["value","formatter"],function(c){return c});return m(m({},o),{name:l(o.data.name),value:u(o.data.value)})})}},n)),e.tooltip(n)}return r}function OB(r){var e=r.chart;return e.axis(!1),r}function BB(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t;return e!=null&&e.enabled?I({},r,{interactions:Z(Z([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Cx,enableDrillDown:!0}}],!1)}):r}function RB(r){var e=r.chart,t=r.options;return At({chart:e,options:BB(t)}),r}function zB(r){return J(Fe("pointStyle"),kB,LB,ut,PB,IB,OB,Sn,DB,RB,xt,Et())(r)}function _d(r){var e=A(r,["event","data","data"],{});return R(e.children)&&e.children.length>0}function qd(r){var e=r.view.getCoordinate(),t=e.innerRadius;if(t){var i=r.event,n=i.x,a=i.y,o=e.center,s=o.x,l=o.y,u=e.getRadius()*t,c=Math.sqrt(Math.pow(s-n,2)+Math.pow(l-a,2));return c-1?uL(v,c,h):!0}),r.getRootView().render(!0)}};function YB(r){var e,t=r.options,i=t.geometryOptions,n=i===void 0?[]:i,a=t.xField,o=t.yField,s=ac(n,function(l){var u=l.geometry;return u===ki.Line||u===void 0});return I({},{options:{geometryOptions:[],meta:(e={},e[a]={type:"cat",sync:!0,range:s?[0,1]:void 0},e),tooltip:{showMarkers:s,showCrosshairs:s,shared:!0,crosshairs:{type:"x"}},interactions:s?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},r,{options:{yAxis:jd(o,t.yAxis),geometryOptions:[Ud(a,o[0],n[0]),Ud(a,o[1],n[1])],annotations:jd(o,t.annotations)}})}function $B(r){var e,t,i=r.chart,n=r.options,a=n.geometryOptions,o={line:0,column:1},s=[{type:(e=a[0])===null||e===void 0?void 0:e.geometry,id:Ee},{type:(t=a[1])===null||t===void 0?void 0:t.geometry,id:ke}];return s.sort(function(l,u){return-o[l.type]+o[u.type]}).forEach(function(l){return i.createView({id:l.id})}),r}function HB(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.geometryOptions,o=t.data,s=t.tooltip,l=[m(m({},a[0]),{id:Ee,data:o[0],yField:n[0]}),m(m({},a[1]),{id:ke,data:o[1],yField:n[1]})];return l.forEach(function(u){var c=u.id,h=u.data,f=u.yField,v=Rh(u)&&u.isPercent,d=v?a0(h,f,i,f):h,p=st(e,c).data(d),g=v?m({formatter:function(y){return{name:y[u.seriesField]||f,value:(Number(y[f])*100).toFixed(2)+"%"}}},s):s;VB({chart:p,options:{xField:i,yField:f,tooltip:g,geometryOption:u}})}),r}function XB(r){var e,t=r.chart,i=r.options,n=i.geometryOptions,a=((e=t.getTheme())===null||e===void 0?void 0:e.colors10)||[],o=0;return t.once("beforepaint",function(){C(n,function(s,l){var u=st(t,l===0?Ee:ke);if(!s.color){var c=u.getGroupScales(),h=A(c,[0,"values","length"],1),f=a.slice(o,o+h).concat(l===0?[]:a);u.geometries.forEach(function(v){s.seriesField?v.color(s.seriesField,f):v.color(f[0])}),o+=h}}),t.render(!0)}),r}function WB(r){var e,t,i=r.chart,n=r.options,a=n.xAxis,o=n.yAxis,s=n.xField,l=n.yField;return Lt((e={},e[s]=a,e[l[0]]=o[0],e))(I({},r,{chart:st(i,Ee)})),Lt((t={},t[s]=a,t[l[1]]=o[1],t))(I({},r,{chart:st(i,ke)})),r}function _B(r){var e=r.chart,t=r.options,i=st(e,Ee),n=st(e,ke),a=t.xField,o=t.yField,s=t.xAxis,l=t.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),i.axis(a,s),i.axis(o[0],Zd(l[0],vn.Left)),n.axis(a,!1),n.axis(o[1],Zd(l[1],vn.Right)),r}function qB(r){var e=r.chart,t=r.options,i=t.tooltip,n=st(e,Ee),a=st(e,ke);return e.tooltip(i),n.tooltip({shared:!0}),a.tooltip({shared:!0}),r}function UB(r){var e=r.chart;return At(I({},r,{chart:st(e,Ee)})),At(I({},r,{chart:st(e,ke)})),r}function jB(r){var e=r.chart,t=r.options,i=t.annotations,n=A(i,[0]),a=A(i,[1]);return Et(n)(I({},r,{chart:st(e,Ee),options:{annotations:n}})),Et(a)(I({},r,{chart:st(e,ke),options:{annotations:a}})),r}function ZB(r){var e=r.chart;return ut(I({},r,{chart:st(e,Ee)})),ut(I({},r,{chart:st(e,ke)})),ut(r),r}function QB(r){var e=r.chart;return xt(I({},r,{chart:st(e,Ee)})),xt(I({},r,{chart:st(e,ke)})),r}function KB(r){var e=r.chart,t=r.options,i=t.yAxis;return Ei(I({},r,{chart:st(e,Ee),options:{yAxis:i[0]}})),Ei(I({},r,{chart:st(e,ke),options:{yAxis:i[1]}})),r}function JB(r){var e=r.chart,t=r.options,i=t.legend,n=t.geometryOptions,a=t.yField,o=t.data,s=st(e,Ee),l=st(e,ke);if(i===!1)e.legend(!1);else if(pt(i)&&i.custom===!0)e.legend(i);else{var u=A(n,[0,"legend"],i),c=A(n,[1,"legend"],i);e.once("beforepaint",function(){var h=o[0].length?Qd({view:s,geometryOption:n[0],yField:a[0],legend:u}):[],f=o[1].length?Qd({view:l,geometryOption:n[1],yField:a[1],legend:c}):[];e.legend(I({},i,{custom:!0,items:h.concat(f)}))}),n[0].seriesField&&s.legend(n[0].seriesField,u),n[1].seriesField&&l.legend(n[1].seriesField,c),e.on("legend-item:click",function(h){var f=A(h,"gEvent.delegateObject",{});if(f&&f.item){var v=f.item,d=v.value,p=v.isGeometry,g=v.viewId;if(p){var y=yp(a,function(w){return w===d});if(y>-1){var x=A(st(e,g),"geometries");C(x,function(w){w.changeVisible(!f.item.unchecked)})}}else{var b=A(e.getController("legend"),"option.items",[]);C(e.views,function(w){var S=w.getGroupScales();C(S,function(M){M.values&&M.values.indexOf(d)>-1&&w.filter(M.field,function(F){var T=Ve(b,function(L){return L.value===F});return!T.unchecked})}),e.render(!0)})}}})}return r}function tR(r){var e=r.chart,t=r.options,i=t.slider,n=st(e,Ee),a=st(e,ke);return i&&(n.option("slider",i),n.on("slider:valuechanged",function(o){var s=o.event,l=s.value,u=s.originValue;Pt(l,u)||Kd(a,l)}),e.once("afterpaint",function(){if(!tn(i)){var o=i.start,s=i.end;(o||s)&&Kd(a,[o,s])}})),r}function eR(r){return J(YB,$B,ZB,HB,WB,_B,KB,qB,UB,jB,QB,XB,JB,tR)(r)}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dual-axes",t}return e.prototype.getDefaultOptions=function(){return I({},r.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return eR},e})(nt);function rR(r,e){var t=e.data,i=e.coordinate,n=e.interactions,a=e.annotations,o=e.animation,s=e.tooltip,l=e.axes,u=e.meta,c=e.geometries;t&&r.data(t);var h={};l&&C(l,function(f,v){h[v]=dt(f,de)}),h=I({},u,h),r.scale(h),i&&r.coordinate(i),l===!1?r.axis(!1):C(l,function(f,v){r.axis(v,f)}),C(c,function(f){var v=xe({chart:r,options:f}).ext,d=f.adjust;d&&v.geometry.adjust(d)}),C(n,function(f){f.enable===!1?r.removeInteraction(f.type):r.interaction(f.type,f.cfg)}),C(a,function(f){r.annotation()[f.type](m({},f))}),Va(r,o),s?(r.interaction("tooltip"),r.tooltip(s)):s===!1&&r.removeInteraction("tooltip")}function iR(r){var e=r.chart,t=r.options,i=t.type,n=t.data,a=t.fields,o=t.eachView,s=ys(t,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(n),e.facet(i,m(m({},s),{fields:a,eachView:function(l,u){var c=o(l,u);if(c.geometries)rR(l,c);else{var h=c,f=h.options;f.tooltip&&l.interaction("tooltip"),Uu(h.type,l,f)}}})),r}function nR(r){var e=r.chart,t=r.options,i=t.axes,n=t.meta,a=t.tooltip,o=t.coordinate,s=t.theme,l=t.legend,u=t.interactions,c=t.annotations,h={};return i&&C(i,function(f,v){h[v]=dt(f,de)}),h=I({},n,h),e.scale(h),e.coordinate(o),i?C(i,function(f,v){e.axis(v,f)}):e.axis(!1),a?(e.interaction("tooltip"),e.tooltip(a)):a===!1&&e.removeInteraction("tooltip"),e.legend(l),s&&e.theme(s),C(u,function(f){f.enable===!1?e.removeInteraction(f.type):e.interaction(f.type,f.cfg)}),C(c,function(f){e.annotation()[f.type](m({},f))}),r}function aR(r){return J(ut,iR,nR)(r)}var oR={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}};(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="area",t}return e.getDefaultOptions=function(){return oR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return aR},e})(nt);function sR(r){var e=r.chart,t=r.options,i=t.data,n=t.type,a=t.xField,o=t.yField,s=t.colorField,l=t.sizeField,u=t.sizeRatio,c=t.shape,h=t.color,f=t.tooltip,v=t.heatmapStyle,d=t.meta;e.data(i);var p="polygon";n==="density"&&(p="heatmap");var g=Re(f,[a,o,s]),y=g.fields,x=g.formatter,b=1;return(u||u===0)&&(!c&&!l?console.warn("sizeRatio is not in effect: Must define shape or sizeField first"):u<0||u>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):b=u),xe(I({},r,{options:{type:p,colorField:s,tooltipFields:y,shapeField:l||"",label:void 0,mapping:{tooltip:x,shape:c&&(l?function(w){var S=i.map(function(L){return L[l]}),M=(d==null?void 0:d[l])||{},F=M.min,T=M.max;return F=rt(F)?F:Math.min.apply(Math,S),T=rt(T)?T:Math.max.apply(Math,S),[c,(A(w,l)-F)/(T-F),b]}:function(){return[c,1,b]}),color:h||s&&e.getTheme().sequenceColors.join("-"),style:v}}})),r}function lR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return J(Lt((e={},e[a]=i,e[o]=n,e)))(r)}function uR(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?e.axis(o,!1):e.axis(o,n),r}function cR(r){var e=r.chart,t=r.options,i=t.legend,n=t.colorField,a=t.sizeField,o=t.sizeLegend,s=i!==!1;return n&&e.legend(n,s?i:!1),a&&e.legend(a,o===void 0?i:o),!s&&!o&&e.legend(!1),r}function hR(r){var e=r.chart,t=r.options,i=t.label,n=t.colorField,a=t.type,o=Kt(e,a==="density"?"heatmap":"polygon");if(!i)o.label(!1);else if(n){var s=i.callback,l=yt(i,["callback"]);o.label({fields:[n],callback:s,cfg:Ht(l)})}return r}function fR(r){var e,t,i=r.chart,n=r.options,a=n.coordinate,o=n.reflect,s=I({actions:[]},a??{type:"rect"});return o&&((t=(e=s.actions)===null||e===void 0?void 0:e.push)===null||t===void 0||t.call(e,["reflect",o])),i.coordinate(s),r}function vR(r){return J(ut,Fe("heatmapStyle"),lR,fR,sR,uR,cR,Vt,hR,Et(),At,xt,ti)(r)}var dR=I({},nt.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});ft("polygon","circle",{draw:function(r,e){var t,i,n=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l)/2,c=Number(r.shape[1]),h=Number(r.shape[2]),f=Math.sqrt(h),v=u*f*Math.sqrt(c),d=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((i=r.defaultStyle)===null||i===void 0?void 0:i.fill),p=e.addShape("circle",{attrs:m(m(m({x:n,y:a,r:v},r.defaultStyle),r.style),{fill:d})});return p}});ft("polygon","square",{draw:function(r,e){var t,i,n=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l),c=Number(r.shape[1]),h=Number(r.shape[2]),f=Math.sqrt(h),v=u*f*Math.sqrt(c),d=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((i=r.defaultStyle)===null||i===void 0?void 0:i.fill),p=e.addShape("rect",{attrs:m(m(m({x:n-v/2,y:a-v/2,width:v,height:v},r.defaultStyle),r.style),{fill:d})});return p}});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="heatmap",t}return e.getDefaultOptions=function(){return dR},e.prototype.getSchemaAdaptor=function(){return vR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(nt);var pR="liquid";function Fx(r){return[{percent:r,type:pR}]}function gR(r){var e=r.chart,t=r.options,i=t.percent,n=t.liquidStyle,a=t.radius,o=t.outline,s=t.wave,l=t.shape,u=t.shapeStyle,c=t.animation;e.scale({percent:{min:0,max:1}}),e.data(Fx(i));var h=t.color||e.getTheme().defaultColor,f=I({},r,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:h,style:n,shape:"liquid-fill-gauge"}}}),v=Jt(f).ext,d=v.geometry,p=e.getTheme().background,g={percent:i,radius:a,outline:o,wave:s,shape:l,shapeStyle:u,background:p,animation:c};return d.customInfo(g),e.legend(!1),e.axis(!1),e.tooltip(!1),r}function Tx(r,e){var t=r.chart,i=r.options,n=i.statistic,a=i.percent,o=i.meta;t.getController("annotation").clear(!0);var s=A(o,["percent","formatter"])||function(u){return"".concat((u*100).toFixed(2),"%")},l=n.content;return l&&(l=I({},l,{content:B(l.content)?s(a):l.content})),Js(t,{statistic:m(m({},n),{content:l}),plotType:"liquid"},{percent:a}),e&&t.render(!0),r}function yR(r){return J(ut,Fe("liquidStyle"),gR,Tx,Lt({}),xt,At)(r)}var mR={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"},Jd=5e3;function tp(r,e,t){return r+(e-r)*t}function xR(r){var e=m({opacity:1},r.style);return r.color&&!e.fill&&(e.fill=r.color),e}function wR(r){var e={fill:"#fff",fillOpacity:0,lineWidth:4},t=mt({},e,r.style);return r.color&&!t.stroke&&(t.stroke=r.color),rt(r.opacity)&&(t.opacity=t.strokeOpacity=r.opacity),t}function bR(r,e,t,i){return e===0?[[r+1/2*t/Math.PI/2,i/2],[r+1/2*t/Math.PI,i],[r+t/4,i]]:e===1?[[r+1/2*t/Math.PI/2*(Math.PI-2),i],[r+1/2*t/Math.PI/2*(Math.PI-1),i/2],[r+t/4,0]]:e===2?[[r+1/2*t/Math.PI/2,-i/2],[r+1/2*t/Math.PI,-i],[r+t/4,-i]]:[[r+1/2*t/Math.PI/2*(Math.PI-2),-i],[r+1/2*t/Math.PI/2*(Math.PI-1),-i/2],[r+t/4,0]]}function SR(r,e,t,i,n,a,o){for(var s=Math.ceil(2*r/t*4)*4,l=[],u=i;u<-Math.PI*2;)u+=Math.PI*2;for(;u>0;)u-=Math.PI*2;u=u/Math.PI/2*t;var c=a-r+u-r*2;l.push(["M",c,e]);for(var h=0,f=0;f0){var O=e.addGroup({name:"waves"}),z=O.setClip({type:"path",attrs:{path:P}});CR(b.x,b.y,1-r.points[1].y,g,F,O,z,M*2,y,h)}return e.addShape("path",{name:"distance",attrs:{path:P,fill:"transparent",lineWidth:d+p*2,stroke:c==="transparent"?"#fff":c}}),e.addShape("path",{name:"wrap",attrs:mt(T,{path:P,fill:"transparent",lineWidth:d})}),e}});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="liquid",t}return e.getDefaultOptions=function(){return mR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.chart.emit(ot.BEFORE_CHANGE_DATA,Tt.fromData(this.chart,ot.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Fx(t)),Tx({chart:this.chart,options:this.options},!0),this.chart.emit(ot.AFTER_CHANGE_DATA,Tt.fromData(this.chart,ot.AFTER_CHANGE_DATA,null))},e.prototype.getSchemaAdaptor=function(){return yR},e})(nt);function kR(r){var e=r.chart,t=r.options,i=t.data,n=t.lineStyle,a=t.color,o=t.point,s=t.area;e.data(i);var l=I({},r,{options:{line:{style:n,color:a},point:o&&m({color:a},o),area:s&&m({color:a},s),label:void 0}}),u=I({},l,{options:{tooltip:!1}}),c=(o==null?void 0:o.state)||t.state,h=I({},l,{options:{tooltip:!1,state:c}});return Cn(l),Te(h),rl(u),r}function LR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return J(Lt((e={},e[a]=i,e[o]=n,e)))(r)}function IR(r){var e=r.chart,t=r.options,i=t.radius,n=t.startAngle,a=t.endAngle;return e.coordinate("polar",{radius:i,startAngle:n,endAngle:a}),r}function PR(r){var e=r.chart,t=r.options,i=t.xField,n=t.xAxis,a=t.yField,o=t.yAxis;return e.axis(i,n),e.axis(a,o),r}function DR(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=Kt(e,"line");if(!i)a.label(!1);else{var o=i.callback,s=yt(i,["callback"]);a.label({fields:[n],callback:o,cfg:Ht(s)})}return r}function OR(r){return J(kR,LR,ut,IR,PR,Sn,Vt,DR,At,xt,Et())(r)}var BR=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(t){var i=this.getTooltipCfg(),n=i.shared,a=i.title,o=r.prototype.getTooltipItems.call(this,t);if(o.length>0){var s=this.view.geometries[0],l=s.dataArray,u=o[0].name,c=[];return l.forEach(function(h){h.forEach(function(f){var v=ye.getTooltipItems(f,s),d=v[0];if(!n&&d&&d.name===u){var p=B(a)?u:a;c.push(m(m({},d),{name:d.title,title:p}))}else if(n&&d){var p=B(a)?d.name||u:a;c.push(m(m({},d),{name:d.title,title:p}))}})}),c}return[]},e}(Ry);Ii("radar-tooltip",BR);var RR=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(){var t=this.context.view;t.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event,i=this.getTooltipController();i.showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){var t=this.getTooltipController();t.hideTooltip()},e.prototype.getTooltipController=function(){var t=this.context.view;return t.getController("radar-tooltip")},e}(St);j("radar-tooltip",RR);it("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});var zR=function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radar",t}return e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return I({},r.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return OR},e}(nt);function NR(r,e,t){var i=t.map(function(o){return o[e]}).filter(function(o){return o!==void 0}),n=i.length>0?Math.max.apply(Math,i):0,a=Math.abs(r)%360;return a?n*360/a:n}function GR(r,e,t){var i=[];return r.forEach(function(n){var a=i.find(function(o){return o[e]===n[e]});a?a[t]+=n[t]||null:i.push(m({},n))}),i}function VR(r){var e=r.chart,t=r.options,i=t.barStyle,n=t.color,a=t.tooltip,o=t.colorField,s=t.type,l=t.xField,u=t.yField,c=t.data,h=t.shape,f=un(c,u);e.data(f);var v=I({},r,{options:{tooltip:a,seriesField:o,interval:{style:i,color:n,shape:h||(s==="line"?"line":"intervel")},minColumnWidth:t.minBarWidth,maxColumnWidth:t.maxBarWidth,columnBackground:t.barBackground}});return Jt(v),s==="line"&&Te({chart:e,options:{xField:l,yField:u,seriesField:o,point:{shape:"circle",color:n}}}),r}function Ex(r){var e,t=r.options,i=t.yField,n=t.xField,a=t.data,o=t.isStack,s=t.isGroup,l=t.colorField,u=t.maxAngle,c=o&&!s&&l?GR(a,n,i):a,h=un(c,i);return J(Lt((e={},e[i]={min:0,max:NR(u,i,h)},e)))(r)}function YR(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}).transpose(),r}function $R(r){var e=r.chart,t=r.options,i=t.xField,n=t.xAxis;return e.axis(i,n),r}function HR(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=Kt(e,"interval");if(!i)a.label(!1);else{var o=i.callback,s=yt(i,["callback"]);a.label({fields:[n],callback:o,cfg:m(m({},Ht(s)),{type:"polar"})})}return r}function XR(r){return J(Fe("barStyle"),VR,Ex,$R,YR,At,xt,ut,Vt,Sn,Et(),HR)(r)}var WR=I({},nt.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radial-bar",t}return e.getDefaultOptions=function(){return WR},e.prototype.changeData=function(t){this.updateOption({data:t}),Ex({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return XR},e})(nt);function _R(r){var e=r.chart,t=r.options,i=t.data,n=t.sectorStyle,a=t.shape,o=t.color;return e.data(i),J(Jt)(I({},r,{options:{marginRatio:1,interval:{style:n,color:o,shape:a}}})),r}function qR(r){var e=r.chart,t=r.options,i=t.label,n=t.xField,a=Kt(e,"interval");if(i===!1)a.label(!1);else if(pt(i)){var o=i.callback,s=i.fields,l=yt(i,["callback","fields"]),u=l.offset,c=l.layout;(u===void 0||u>=0)&&(c=c?R(c)?c:[c]:[],l.layout=jt(c,function(h){return h.type!=="limit-in-shape"}),l.layout.length||delete l.layout),a.label({fields:s||[n],callback:o,cfg:Ht(l)})}else Cr(Xe.WARN,i===null,"the label option must be an Object."),a.label({fields:[n]});return r}function UR(r){var e=r.chart,t=r.options,i=t.legend,n=t.seriesField;return i===!1?e.legend(!1):n&&e.legend(n,i),r}function jR(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}),r}function ZR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return J(Lt((e={},e[a]=i,e[o]=n,e)))(r)}function QR(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i?e.axis(a,i):e.axis(a,!1),n?e.axis(o,n):e.axis(o,!1),r}function KR(r){J(Fe("sectorStyle"),_R,ZR,qR,jR,QR,UR,Vt,At,xt,ut,Et(),ti)(r)}var JR=I({},nt.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right",radio:{}},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rose",t}return e.getDefaultOptions=function(){return JR},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return KR},e})(nt);var rp="x",ip="y",np="name",hl="nodes",fl="edges";function tz(r,e,t){var i=[];return r.forEach(function(n){var a=n[e],o=n[t];i.includes(a)||i.push(a),i.includes(o)||i.push(o)}),i}function ez(r,e,t,i){var n={};return e.forEach(function(a){n[a]={},e.forEach(function(o){n[a][o]=0})}),r.forEach(function(a){n[a[t]][a[i]]=1}),n}function rz(r,e,t){if(!R(r))return[];var i=[],n=tz(r,e,t),a=ez(r,n,e,t),o={};n.forEach(function(l){o[l]=0});function s(l){o[l]=1,n.forEach(function(u){if(a[l][u]!=0)if(o[u]==1)i.push("".concat(l,"_").concat(u));else{if(o[u]==-1)return;s(u)}}),o[l]=-1}return n.forEach(function(l){o[l]!=-1&&s(l)}),i.length!==0&&console.warn("sankey data contains circle, ".concat(i.length," records removed."),i),r.filter(function(l){return i.findIndex(function(u){return u==="".concat(l[e],"_").concat(l[t])})<0})}function iz(r){return r.target.depth}function nz(r){return r.depth}function az(r,e){return e-1-r.height}function zh(r,e){return r.sourceLinks.length?r.depth:e-1}function oz(r){return r.targetLinks.length?r.depth:r.sourceLinks.length?xw(r.sourceLinks,iz)-1:0}function Eo(r){return function(){return r}}function Kl(r,e){for(var t=0,i=0;iW)throw new Error("circular link");$=Y,Y=new Set}if(u)for(var et=Math.max(Jl(N,function(tt){return tt.depth})+1,0),at=void 0,K=0;KW)throw new Error("circular link");$=Y,Y=new Set}}function w(D){for(var N=D.nodes,W=Math.max(Jl(N,function(kt){return kt.depth})+1,0),$=(t-r-n)/(W-1),Y=new Array(W).fill(0).map(function(){return[]}),_=0,et=N;_0){var ei=(tt/gt-K.y0)*N;K.y0+=ei,K.y1+=ei,O(K)}}c===void 0&&_.sort(fs),_.length&&L(_,W)}}function T(D,N,W){for(var $=D.length,Y=$-2;Y>=0;--Y){for(var _=D[Y],et=0,at=_;et0){var ei=(tt/gt-K.y0)*N;K.y0+=ei,K.y1+=ei,O(K)}}c===void 0&&_.sort(fs),_.length&&L(_,W)}}function L(D,N){var W=D.length>>1,$=D[W];P(D,$.y0-o,W-1,N),k(D,$.y1+o,W+1,N),P(D,i,D.length-1,N),k(D,e,0,N)}function k(D,N,W,$){for(;W1e-6&&(Y.y0+=_,Y.y1+=_),N=Y.y1+o}}function P(D,N,W,$){for(;W>=0;--W){var Y=D[W],_=(Y.y1-N)*$;_>1e-6&&(Y.y0-=_,Y.y1-=_),N=Y.y0-o}}function O(D){var N=D.sourceLinks,W=D.targetLinks;if(h===void 0){for(var $=0,Y=W;$ "+n,value:a}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var i=kx(this.options,this.chart.width,this.chart.height),n=i.nodes,a=i.edges,o=st(this.chart,hl),s=st(this.chart,fl);o.changeData(n),s.changeData(a)},e.prototype.getSchemaAdaptor=function(){return Az},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(nt);var Nh="ancestor-node",Lx="value",ka="path",Tz=[ka,bx,Dh,Sx,"name","depth","height"],Ez=I({},nt.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},legend:!1,sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}}),kz={field:"value",size:[1,1],round:!1,padding:0,sort:function(r,e){return e.value-r.value},as:["x","y"],ignoreParentValue:!0};function Lz(r,e){e=mt({},kz,e);var t=e.as;if(!R(t)||t.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var i;try{i=Oh(e)}catch(l){console.warn(l)}var n=function(l){return gx().size(e.size).round(e.round).padding(e.padding)(Fn(l).sum(function(u){return $t(u.children)?e.ignoreParentValue?0:u[i]-ie(u.children,function(c,h){return c+h[i]},0):u[i]}).sort(e.sort))},a=n(r),o=t[0],s=t[1];return a.each(function(l){var u,c;l[o]=[l.x0,l.x1,l.x1,l.x0],l[s]=[l.y1,l.y1,l.y0,l.y0],l.name=l.name||((u=l.data)===null||u===void 0?void 0:u.name)||((c=l.data)===null||c===void 0?void 0:c.label),l.data.name=l.name,["x0","x1","y0","y1"].forEach(function(h){t.indexOf(h)===-1&&delete l[h]})}),Bh(a)}var Iz={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(r,e){return e.value-r.value},ratio:.5*(1+Math.sqrt(5))};function Pz(r,e){return r==="treemapSquarify"?Wd[r].ratio(e):Wd[r]}function Ix(r,e){e=mt({},Iz,e);var t=e.as;if(!R(t)||t.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var i;try{i=Oh(e)}catch(u){console.warn(u)}var n=Pz(e.tile,e.ratio),a=function(u){return wx().tile(n).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(Fn(u).sum(function(c){return e.ignoreParentValue&&c.children?0:c[i]}).sort(e.sort))},o=a(r),s=t[0],l=t[1];return o.each(function(u){u[s]=[u.x0,u.x1,u.x1,u.x0],u[l]=[u.y1,u.y1,u.y0,u.y0],["x0","x1","y0","y1"].forEach(function(c){t.indexOf(c)===-1&&delete u[c]})}),Bh(o)}function Px(r){var e=r.data,t=r.colorField,i=r.rawFields,n=r.hierarchyConfig,a=n===void 0?{}:n,o=a.activeDepth,s={partition:Lz,treemap:Ix},l=r.seriesField,u=r.type||"partition",c=s[u](e,m(m({field:l||"value"},ys(a,["activeDepth"])),{type:"hierarchy.".concat(u),as:["x","y"]})),h=[];return c.forEach(function(f){var v,d,p,g,y,x;if(f.depth===0||o>0&&f.depth>o)return null;for(var b=f.data.name,w=m({},f);w.depth>1;)b="".concat((d=w.parent.data)===null||d===void 0?void 0:d.name," / ").concat(b),w=w.parent;var S=m(m(m({},dt(f.data,Z(Z([],i||[],!0),[a.field],!1))),(v={},v[ka]=b,v[Nh]=w.data.name,v)),f);l&&(S[l]=f.data[l]||((g=(p=f.parent)===null||p===void 0?void 0:p.data)===null||g===void 0?void 0:g[l])),t&&(S[t]=f.data[t]||((x=(y=f.parent)===null||y===void 0?void 0:y.data)===null||x===void 0?void 0:x[t])),S.ext=a,S[Ea]={hierarchyConfig:a,colorField:t,rawFields:i},h.push(S)}),h}function Dz(r){var e=r.chart,t=r.options,i=t.color,n=t.colorField,a=n===void 0?Nh:n,o=t.sunburstStyle,s=t.rawFields,l=s===void 0?[]:s,u=t.shape,c=Px(t);e.data(c);var h;return o&&(h=function(f){return I({},{fillOpacity:Math.pow(.85,f.depth)},X(o)?o(f):o)}),il(I({},r,{options:{xField:"x",yField:"y",seriesField:a,rawFields:Si(Z(Z([],Tz,!0),l,!0)),polygon:{color:i,style:h,shape:u}}})),r}function Oz(r){var e=r.chart;return e.axis(!1),r}function Bz(r){var e=r.chart,t=r.options,i=t.label,n=Kt(e,"polygon");if(!i)n.label(!1);else{var a=i.fields,o=a===void 0?["name"]:a,s=i.callback,l=yt(i,["fields","callback"]);n.label({fields:o,callback:s,cfg:Ht(l)})}return r}function Rz(r){var e=r.chart,t=r.options,i=t.innerRadius,n=t.radius,a=t.reflect,o=e.coordinate({type:"polar",cfg:{innerRadius:i,radius:n}});return a&&o.reflect(a),r}function zz(r){var e,t=r.options,i=t.hierarchyConfig,n=t.meta;return J(Lt({},(e={},e[Lx]=A(n,A(i,["field"],"value")),e)))(r)}function Nz(r){var e=r.chart,t=r.options,i=t.tooltip;if(i===!1)e.tooltip(!1);else{var n=i;A(i,"fields")||(n=I({},{customItems:function(a){return a.map(function(o){var s=A(e.getOptions(),"scales"),l=A(s,[ka,"formatter"],function(c){return c}),u=A(s,[Lx,"formatter"],function(c){return c});return m(m({},o),{name:l(o.data[ka]),value:u(o.data.value)})})}},n)),e.tooltip(n)}return r}function Gz(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t;return e!=null&&e.enabled?I({},r,{interactions:Z(Z([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Px}}],!1)}):r}function Vz(r){var e=r.chart,t=r.options,i=t.drilldown;return At({chart:e,options:Gz(t)}),i!=null&&i.enabled&&(e.appendPadding=Ks(e.appendPadding,A(i,["breadCrumb","position"]))),r}function Yz(r){return J(ut,Fe("sunburstStyle"),Dz,Oz,zz,Sn,Rz,Nz,Bz,Vz,xt,Et())(r)}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="sunburst",t}return e.getDefaultOptions=function(){return Ez},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Yz},e.SUNBURST_ANCESTOR_FIELD=Nh,e.SUNBURST_PATH_FIELD=ka,e.NODE_ANCESTORS_FIELD=Dh,e})(nt);function Dx(r,e){if(R(r))return r.find(function(t){return t.type===e})}function Ox(r,e){var t=Dx(r,e);return t&&t.enable!==!1}function Gh(r){var e=r.interactions,t=r.drilldown;return A(t,"enabled")||Ox(e,"treemap-drill-down")}function $z(r){var e=r.interactions["drill-down"];if(e){var t=e.context.actions.find(function(i){return i.name==="drill-down-action"});t.reset()}}function Vh(r){var e=r.data,t=r.colorField,i=r.enableDrillDown,n=r.hierarchyConfig,a=Ix(e,m(m({},n),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),o=[];return a.forEach(function(s){if(s.depth===0||i&&s.depth!==1||!i&&s.children)return null;var l=s.ancestors().map(function(f){return{data:f.data,height:f.height,value:f.value}}),u=i&&R(e.path)?l.concat(e.path.slice(1)):l,c=Object.assign({},s.data,m({x:s.x,y:s.y,depth:s.depth,value:s.value,path:u},s));if(!s.data[t]&&s.parent){var h=s.ancestors().find(function(f){return f.data[t]});c[t]=h==null?void 0:h.data[t]}else c[t]=s.data[t];c[Ea]={hierarchyConfig:n,colorField:t,enableDrillDown:i},o.push(c)}),o}function Hz(r){var e=r.options,t=e.colorField;return I({options:{rawFields:["value"],tooltip:{fields:["name","value",t,"path"],formatter:function(i){return{name:i.name,value:i.value}}}}},r)}function Xz(r){var e=r.chart,t=r.options,i=t.color,n=t.colorField,a=t.rectStyle,o=t.hierarchyConfig,s=t.rawFields,l=Vh({data:t.data,colorField:t.colorField,enableDrillDown:Gh(t),hierarchyConfig:o});return e.data(l),il(I({},r,{options:{xField:"x",yField:"y",seriesField:n,rawFields:s,polygon:{color:i,style:a}}})),e.coordinate().reflect("y"),r}function Wz(r){var e=r.chart;return e.axis(!1),r}function _z(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t,n=Gh(r);return n?I({},r,{interactions:Z(Z([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Vh}}],!1)}):r}function qz(r){var e=r.chart,t=r.options,i=t.interactions,n=t.drilldown;At({chart:e,options:_z(t)});var a=Dx(i,"view-zoom");a&&(a.enable!==!1?e.getCanvas().on("mousewheel",function(s){s.preventDefault()}):e.getCanvas().off("mousewheel"));var o=Gh(t);return o&&(e.appendPadding=Ks(e.appendPadding,A(n,["breadCrumb","position"]))),r}function Uz(r){return J(Hz,ut,Fe("rectStyle"),Xz,Wz,Sn,Vt,qz,xt,Et())(r)}var jz={colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapSquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1,breadCrumb:{position:"bottom-left",rootText:"初始",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}}}};(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="treemap",t}return e.getDefaultOptions=function(){return jz},e.prototype.changeData=function(t){var i=this.options,n=i.colorField,a=i.interactions,o=i.hierarchyConfig;this.updateOption({data:t});var s=Vh({data:t,colorField:n,enableDrillDown:Ox(a,"treemap-drill-down"),hierarchyConfig:o});this.chart.changeData(s),$z(this.chart)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Uz},e})(nt);var xr="id",Zu="path",Zz={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(r){return{name:r.id,value:r.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]};function vl(r){if(r){var e=r.geometries[0].elements;e.forEach(function(t){t.shape.toFront()})}}var Qz=Xs("element-active"),Kz=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){vl(this.context.view)},e.prototype.active=function(){r.prototype.active.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(Qz),Jz=Xs("element-highlight"),tN=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){vl(this.context.view)},e.prototype.highlight=function(){r.prototype.highlight.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.clear=function(){r.prototype.clear.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(Jz),eN=Xs("element-selected"),rN=Xs("element-single-selected"),iN=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){vl(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(eN),nN=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){vl(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(rN);j("venn-element-active",Kz);j("venn-element-highlight",tN);j("venn-element-selected",iN);j("venn-element-single-selected",nN);it("venn-element-active",{start:[{trigger:"element:mouseenter",action:"venn-element-active:active"}],end:[{trigger:"element:mouseleave",action:"venn-element-active:reset"}]});it("venn-element-highlight",{start:[{trigger:"element:mouseenter",action:"venn-element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"venn-element-highlight:reset"}]});it("venn-element-selected",{start:[{trigger:"element:click",action:"venn-element-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-selected:reset"]}]});it("venn-element-single-selected",{start:[{trigger:"element:click",action:"venn-element-single-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-single-selected:reset"]}]});it("venn-legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","venn-element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","venn-element-active:reset"]}]});it("venn-legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","venn-element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","venn-element-highlight:reset"]}]});var aN=function(r){E(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelPoint=function(t,i,n){var a=t.data,o=a.x,s=a.y,l=t.customLabelInfo,u=l.offsetX,c=l.offsetY;return{content:t.content[n],x:o+u,y:s+c}},e}(Us);za("venn",aN);var ea=` +\v\f\r   ᠎              \u2028\u2029`,oN=new RegExp("([a-z])["+ea+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+ea+"]*,?["+ea+"]*)+)","ig"),sN=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+ea+"]*,?["+ea+"]*","ig");function lN(r){if(!r)return null;if(Jx(r))return r;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},t=[];return String(r).replace(oN,function(i,n,a){var o=[],s=n.toLowerCase();if(a.replace(sN,function(l,u){u&&o.push(+u)}),s==="m"&&o.length>2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}function uN(r){return I({},r.defaultStyle,{fill:r.color},r.style)}ft("schema","venn",{draw:function(r,e){var t=r.data,i=lN(t[Zu]),n=uN(r),a=e.addGroup({name:"venn-shape"});a.addShape("path",{attrs:m(m({},n),{path:i}),name:"venn-path"});var o=r.customInfo,s=o.offsetX,l=o.offsetY,u=ye.transform(null,[["t",s,l]]);return a.setMatrix(u),a},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{lineWidth:0,stroke:e,fill:e,r:4}}}});var cN=function(r){return function(e,t){var i=[];return i[0]=r(e[0],t[0]),i[1]=r(e[1],t[1]),i[2]=r(e[2],t[2]),i}},up={normal:function(r){return r},multiply:function(r,e){return r*e/255},screen:function(r,e){return 255*(1-(1-r/255)*(1-e/255))},overlay:function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))},darken:function(r,e){return r>e?e:r},lighten:function(r,e){return r>e?r:e},dodge:function(r,e){return r===255?255:(r=255*(e/255)/(1-r/255),r>255?255:r)},burn:function(r,e){return e===255?255:r===0?0:255*(1-Math.min(1,(1-e/255)/(r/255)))}},hN=function(r){if(!up[r])throw new Error("unknown blend mode "+r);return up[r]};function fN(r,e,t){t===void 0&&(t="normal");var i=cN(hN(t))(ko(r),ko(e)),n=ko(r),a=n[0],o=n[1],s=n[2],l=n[3],u=ko(e),c=u[0],h=u[1],f=u[2],v=u[3],d=Number((l+v*(1-l)).toFixed(2)),p=Math.round((l*(1-v)*(a/255)+l*v*(i[0]/255)+(1-l)*v*(c/255))/d*255),g=Math.round((l*(1-v)*(o/255)+l*v*(i[1]/255)+(1-l)*v*(h/255))/d*255),y=Math.round((l*(1-v)*(s/255)+l*v*(i[2]/255)+(1-l)*v*(f/255))/d*255);return"rgba(".concat(p,", ").concat(g,", ").concat(y,", ").concat(d,")")}function ko(r){var e=r.replace("/s+/g",""),t;return typeof e=="string"&&!e.startsWith("rgba")&&!e.startsWith("#")?t=Gr.rgb2arr(Gr.toRGB(e)).concat([1]):(e.startsWith("rgba")&&(t=e.replace("rgba(","").replace(")","").split(",")),e.startsWith("#")&&(t=Gr.rgb2arr(e).concat([1])),t.map(function(i,n){return n===3?Number(i):i|0}))}function vN(r,e,t,i){i=i||{};var n=i.maxIterations||100,a=i.tolerance||1e-10,o=r(e),s=r(t),l=t-e;if(o*s>0)throw"Initial bisect points must have opposite signs";if(o===0)return e;if(s===0)return t;for(var u=0;u=0&&(e=c),Math.abs(l)=d[v-1].fx){var P=!1;if(w.fx>k.fx?(hr(S,1+c,b,-c,k),S.fx=r(S),S.fx=1)break;for(p=1;ps+a*n*l||u>=y)g=n;else{if(Math.abs(h)<=-o*l)return n;h*(g-p)>=0&&(g=p),p=n,y=u}return 0}for(var d=0;d<10;++d){if(hr(i.x,1,t.x,n,e),u=i.fx=r(i.x,i.fxprime),h=Ji(i.fxprime,e),u>s+a*n*l||d&&u>=c)return v(f,n,c);if(Math.abs(h)<=-o*l)return n;if(h>=0)return v(n,f,u);c=u,f=n,n*=2}return n}function pN(r,e,t){var i={x:e.slice(),fx:0,fxprime:e.slice()},n={x:e.slice(),fx:0,fxprime:e.slice()},a=e.slice(),o,s,l=1,u;t=t||{},u=t.maxIterations||e.length*20,i.fx=r(i.x,i.fxprime),o=i.fxprime.slice(),Ju(o,i.fxprime,-1);for(var c=0;c1){var l=Gx(i);for(o=0;o-1){var p=r[h.parentIndex[d]],g=Math.atan2(h.x-p.x,h.y-p.y),y=Math.atan2(c.x-p.x,c.y-p.y),x=y-g;x<0&&(x+=2*Math.PI);var b=y-x/2,w=Ye(f,{x:p.x+p.radius*Math.sin(b),y:p.y+p.radius*Math.cos(b)});w>p.radius*2&&(w=p.radius*2),(v===null||v.width>w)&&(v={circle:p,width:w,p1:h,p2:c})}v!==null&&(s.push(v),n+=tc(v.circle.radius,v.width),c=h)}}else{var S=r[0];for(o=1;oMath.abs(S.radius-r[o].radius)){M=!0;break}M?n=a=0:(n=S.radius*S.radius*Math.PI,s.push({circle:S,p1:{x:S.x,y:S.y+S.radius},p2:{x:S.x-Rx,y:S.y+S.radius},width:S.radius*2}))}return a/=2,e&&(e.area=n+a,e.arcArea=n,e.polygonArea=a,e.arcs=s,e.innerPoints=i,e.intersectionPoints=t),n+a}function gN(r,e){for(var t=0;te[t].radius+Rx)return!1;return!0}function yN(r){for(var e=[],t=0;t=r+e)return 0;if(t<=Math.abs(r-e))return Math.PI*Math.min(r,e)*Math.min(r,e);var i=r-(t*t-e*e+r*r)/(2*t),n=e-(t*t-r*r+e*e)/(2*t);return tc(r,i)+tc(e,n)}function Nx(r,e){var t=Ye(r,e),i=r.radius,n=e.radius;if(t>=i+n||t<=Math.abs(i-n))return[];var a=(i*i-n*n+t*t)/(2*t),o=Math.sqrt(i*i-a*a),s=r.x+a*(e.x-r.x)/t,l=r.y+a*(e.y-r.y)/t,u=-(e.y-r.y)*(o/t),c=-(e.x-r.x)*(o/t);return[{x:s+u,y:l-c},{x:s-u,y:l+c}]}function Gx(r){for(var e={x:0,y:0},t=0;t=o&&(a=t[i],o=s)}var l=Bx(function(f){return-1*eu({x:f[0],y:f[1]},r,e)},[a.x,a.y],{maxIterations:500,minErrorDelta:1e-10}).x,u={x:l[0],y:l[1]},c=!0;for(i=0;ir[i].radius){c=!1;break}for(i=0;i0&&console.log("WARNING: area "+a+" not represented on screen")}return t}function wN(r,e,t){var i=[],n=r-t,a=e;return i.push("M",n,a),i.push("A",t,t,0,1,0,n+2*t,a),i.push("A",t,t,0,1,0,n,a),i.join(" ")}function bN(r){var e={};Yh(r,e);var t=e.arcs;if(t.length===0)return"M 0 0";if(t.length==1){var i=t[0].circle;return wN(i.x,i.y,i.radius)}else{for(var n=[` +M`,t[0].p2.x,t[0].p2.y],a=0;as;n.push(` +A`,s,s,0,l?1:0,1,o.p1.x,o.p1.y)}return n.join(" ")}}function SN(r,e){e=e||{},e.maxIterations=e.maxIterations||500;var t=e.initialLayout||FN,i=e.lossFunction||$h;r=CN(r);var n=t(r,e),a=[],o=[],s;for(s in n)n.hasOwnProperty(s)&&(a.push(n[s].x),a.push(n[s].y),o.push(s));for(var l=Bx(function(h){for(var f={},v=0;vu?1:-1}),i=0;i=Math.min(e[o].size,e[s].size)?h=1:a.size<=1e-10&&(h=-1),n[o][s]=n[s][o]=h}),{distances:i,constraints:n}}function AN(r,e,t,i){var n=0,a;for(a=0;a0&&d<=h||f<0&&d>=h||(n+=2*p*p,e[2*a]+=4*p*(o-u),e[2*a+1]+=4*p*(s-c),e[2*l]+=4*p*(u-o),e[2*l+1]+=4*p*(c-s))}return n}function FN(r,e){var t=EN(r,e),i=e.lossFunction||$h;if(r.length>=8){var n=TN(r,e),a=i(n,r),o=i(t,r);a+1e-8=Math.min(i[c].size,i[h].size)&&(u=0),n[c].push({set:h,size:l.size,weight:u}),n[h].push({set:c,size:l.size,weight:u})}var f=[];for(a in n)if(n.hasOwnProperty(a)){for(var v=0,o=0;o=y.length)){var z=Math.max(O-h,0),V=O,U=Math.min(O+h,y.length-1),D=z-(O-h),N=O+h-U,W=w[-h-1+D]||0,$=w[-h-1+N]||0,Y=S/(S-W-$);D>0&&(F+=Y*(D-1)*M);var _=Math.max(0,O-h+1);a.inside(0,y.length-1,_)&&(y[_].y+=Y*1*M),a.inside(0,y.length-1,V+1)&&(y[V+1].y-=Y*2*M),a.inside(0,y.length-1,U+1)&&(y[U+1].y+=Y*1*M)}});var T=F,L=0,k=0;return y.forEach(function(P){L+=P.y,T+=L,P.y=T,k+=T}),k>0&&y.forEach(function(P){P.y/=k}),y};function s(l,u){for(var c={},h=0,f=-u;f<=u;f++)h+=l(f/u),c[f]=h;return c}r.exports.getExpectedValueFromPdf=function(l){if(!(!l||l.length===0)){var u=0;return l.forEach(function(c){u+=c.x*c.y}),u}},r.exports.getXWithLeftTailArea=function(l,u){if(!(!l||l.length===0)){for(var c=0,h=0,f=0;f=u));f++);return l[h].x}},r.exports.getPerplexity=function(l){if(!(!l||l.length===0)){var u=0;return l.forEach(function(c){var h=Math.log(c.y);isFinite(h)&&(u+=c.y*h)}),u=-u/i,Math.pow(2,u)}}})(jN);const QN=rc;function hp(r,e){var t=r.length*e;if(r.length===0)throw new Error("quantile requires at least one data point.");if(e<0||e>1)throw new Error("quantiles must be between 0 and 1");return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function Bn(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}function zo(r,e,t,i){for(t=t||0,i=i||r.length-1;i>t;){if(i-t>600){var n=i-t+1,a=e-t+1,o=Math.log(n),s=.5*Math.exp(2*o/3),l=.5*Math.sqrt(o*s*(n-s)/n);a-n/2<0&&(l*=-1);var u=Math.max(t,Math.floor(e-a*s/n+l)),c=Math.min(i,Math.floor(e+(n-a)*s/n+l));zo(r,e,u,c)}var h=r[e],f=t,v=i;for(Bn(r,t,e),r[i]>h&&Bn(r,t,i);fh;)v--}r[t]===h?Bn(r,t,v):(v++,Bn(r,v,i)),v<=e&&(t=v+1),e<=v&&(i=v-1)}}function Rn(r,e){var t=r.slice();if(Array.isArray(e)){KN(t,e);for(var i=[],n=0;n0?c:h},g=I({},r,{options:{xField:n,yField:Pe,seriesField:n,rawFields:[a,dl,nc,Pe],widthRatio:l,interval:{style:u,shape:v||"waterfall",color:p}}}),y=Jt(g).ext,x=y.geometry;return x.customInfo(m(m({},d),{leaderLine:s})),r}function p5(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.xField,s=i.yField,l=i.meta,u=I({},{alias:s},A(l,s));return J(Lt((e={},e[o]=n,e[s]=a,e[Pe]=a,e),I({},l,(t={},t[Pe]=u,t[dl]=u,t[Xh]=u,t))))(r)}function g5(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?(e.axis(o,!1),e.axis(Pe,!1)):(e.axis(o,n),e.axis(Pe,n)),r}function y5(r){var e=r.chart,t=r.options,i=t.legend,n=t.total,a=t.risingFill,o=t.fallingFill,s=t.locale,l=el(s);if(i===!1)e.legend(!1);else{var u=[{name:l.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:l.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:o}}}];n&&u.push({name:n.label||"",value:"total",marker:{symbol:"square",style:I({},{r:5},A(n,"style"))}}),e.legend(I({},{custom:!0,position:"top",items:u},i)),e.removeInteraction("legend-filter")}return r}function m5(r){var e=r.chart,t=r.options,i=t.label,n=t.labelMode,a=t.xField,o=Kt(e,"interval");if(!i)o.label(!1);else{var s=i.callback,l=yt(i,["callback"]);o.label({fields:n==="absolute"?[Xh,a]:[dl,a],callback:s,cfg:Ht(l)})}return r}function x5(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.xField,a=t.yField;if(i!==!1){e.tooltip(m({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[a]},i));var o=e.geometries[0];i!=null&&i.formatter?o.tooltip("".concat(n,"*").concat(a),i.formatter):o.tooltip(a)}else e.tooltip(!1);return r}function w5(r){return J(v5,ut,d5,p5,g5,y5,x5,m5,ti,At,xt,Et())(r)}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="waterfall",t}return e.getDefaultOptions=function(){return u5},e.prototype.changeData=function(t){var i=this.options,n=i.xField,a=i.yField,o=i.total;this.updateOption({data:t}),this.chart.changeData(jx(t,n,a,o))},e.prototype.getSchemaAdaptor=function(){return w5},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(nt);var Wh="color",b5=I({},nt.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",Wh],formatter:function(r){return{name:r.text,value:r.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}}),S5={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function C5(r,e){return e=mt({},S5,e),M5(r,e)}function M5(r,e){var t=z5();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(l){B(e[l])||t[l](e[l])}),t.words(r),e.imageMask&&t.createMask(e.imageMask);var i=t.start(),n=i._tags;n.forEach(function(l){l.x+=e.size[0]/2,l.y+=e.size[1]/2});var a=e.size,o=a[0],s=a[1];return n.push({text:"",value:0,x:0,y:0,opacity:0}),n.push({text:"",value:0,x:o,y:s,opacity:0}),n}var ru=Math.PI/180,Xn=1<<11>>5,Vo=1<<11;function A5(r){return r.text}function F5(){return"serif"}function dp(){return"normal"}function T5(r){return r.value}function E5(){return~~(Math.random()*2)*90}function k5(){return 1}function L5(r,e,t,i){if(!e.sprite){var n=r.context,a=r.ratio;n.clearRect(0,0,(Xn<<5)/a,Vo/a);var o=0,s=0,l=0,u=t.length;for(--i;++i>5<<5,h=~~Math.max(Math.abs(p+g),Math.abs(p-g))}else c=c+31>>5<<5;if(h>l&&(l=h),o+c>=Xn<<5&&(o=0,s+=l,l=0),s+h>=Vo)break;n.translate((o+(c>>1))/a,(s+(h>>1))/a),e.rotate&&n.rotate(e.rotate*ru),n.fillText(e.text,0,0),e.padding&&(n.lineWidth=2*e.padding,n.strokeText(e.text,0,0)),n.restore(),e.width=c,e.height=h,e.xoff=o,e.yoff=s,e.x1=c>>1,e.y1=h>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=c}for(var x=n.getImageData(0,0,(Xn<<5)/a,Vo/a).data,b=[];--i>=0;)if(e=t[i],!!e.hasText){for(var c=e.width,w=c>>5,h=e.y1-e.y0,S=0;S>5),k=x[(s+T)*(Xn<<5)+(o+S)<<2]?1<<31-S%32:0;b[L]|=k,M|=k}M?F=T:(e.y0++,h--,T--,s++)}e.y1=e.y0+F,e.sprite=b.slice(0,(e.y1-e.y0)*w)}}}function I5(r,e,t){t>>=5;for(var i=r.sprite,n=r.width>>5,a=r.x-(n<<4),o=a&127,s=32-o,l=r.y1-r.y0,u=(r.y+r.y0)*t+(a>>5),c,h=0;h>>o:0))&e[u+f])return!0;u+=t}return!1}function P5(r,e){var t=r[0],i=r[1];e.x+e.x0i.x&&(i.x=e.x+e.x1),e.y+e.y1>i.y&&(i.y=e.y+e.y1)}function D5(r,e){return r.x+r.x1>e[0].x&&r.x+r.x0e[0].y&&r.y+r.y0>5)*r[1]),w=l.length,S=[],M=l.map(function(k,P,O){return k.text=c.call(this,k,P,O),k.font=e.call(this,k,P,O),k.style=h.call(this,k,P,O),k.weight=i.call(this,k,P,O),k.rotate=n.call(this,k,P,O),k.size=~~t.call(this,k,P,O),k.padding=a.call(this,k,P,O),k}).sort(function(k,P){return P.size-k.size}),F=-1,T=v.board?[{x:0,y:0},{x:g,y}]:null;L();function L(){for(var k=Date.now();Date.now()-k>1,P.y=y*(s()+.5)>>1,L5(x,P,M,F),P.hasText&&p(b,P,T)&&(S.push(P),T?v.hasImage||P5(T,P):T=[{x:P.x+P.x0,y:P.y+P.y0},{x:P.x+P.x1,y:P.y+P.y1}],P.x-=r[0]>>1,P.y-=r[1]>>1)}v._tags=S,v._bounds=T}return v};function d(g){g.width=g.height=1;var y=Math.sqrt(g.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,1,1).data.length>>2);g.width=(Xn<<5)/y,g.height=Vo/y;var x=g.getContext("2d",{willReadFrequently:!0});return x.fillStyle=x.strokeStyle="red",x.textAlign="center",{context:x,ratio:y}}function p(g,y,x){for(var b=y.x,w=y.y,S=Math.sqrt(r[0]*r[0]+r[1]*r[1]),M=o(r),F=s()<.5?1:-1,T,L=-F,k,P;(T=M(L+=F))&&(k=~~T[0],P=~~T[1],!(Math.min(Math.abs(k),Math.abs(P))>=S));)if(y.x=b+k,y.y=w+P,!(y.x+y.x0<0||y.y+y.y0<0||y.x+y.x1>r[0]||y.y+y.y1>r[1])&&(!x||!I5(y,g,r[0]))&&(!x||D5(y,x))){for(var O=y.sprite,z=y.width>>5,V=r[0]>>5,U=y.x-(z<<4),D=U&127,N=32-D,W=y.y1-y.y0,$=void 0,Y=(y.y+y.y0)*V+(U>>5),_=0;_>>D:0);Y+=V}return delete y.sprite,!0}return!1}return v.createMask=function(g){var y=document.createElement("canvas"),x=r[0],b=r[1];if(!(!x||!b)){var w=x>>5,S=pp((x>>5)*b);y.width=x,y.height=b;var M=y.getContext("2d");M.drawImage(g,0,0,g.width,g.height,0,0,x,b);for(var F=M.getImageData(0,0,x,b).data,T=0;T>5),P=T*x+L<<2,O=F[P]>=250&&F[P+1]>=250&&F[P+2]>=250,z=O?1<<31-L%32:0;S[k]|=z}v.board=S,v.hasImage=!0}},v.timeInterval=function(g){u=g??1/0},v.words=function(g){l=g},v.size=function(g){r=[+g[0],+g[1]]},v.font=function(g){e=je(g)},v.fontWeight=function(g){i=je(g)},v.rotate=function(g){n=je(g)},v.spiral=function(g){o=R5[g]||g},v.fontSize=function(g){t=je(g)},v.padding=function(g){a=je(g)},v.random=function(g){s=je(g)},v}function Qx(r){var e=r.options,t=r.chart,i=t,n=i.width,a=i.height,o=i.padding,s=i.appendPadding,l=i.ele,u=e.data,c=e.imageMask,h=e.wordField,f=e.weightField,v=e.colorField,d=e.wordStyle,p=e.timeInterval,g=e.random,y=e.spiral,x=e.autoFit,b=x===void 0?!0:x,w=e.placementStrategy;if(!u||!u.length)return[];var S=d.fontFamily,M=d.fontWeight,F=d.padding,T=d.fontSize,L=$5(u,f),k=[W5(L),_5(L)],P=u.map(function(V){return{text:V[h],value:V[f],color:V[v],datum:V}}),O={imageMask:c,font:S,fontSize:Y5(T,k),fontWeight:M,size:N5({width:n,height:a,padding:o,appendPadding:s,autoFit:b,container:l}),padding:F,timeInterval:p,random:g,spiral:y,rotate:H5(e)};if(X(w)){var z=P.map(function(V,U,D){return m(m(m({},V),{hasText:!!V.text,font:je(O.font)(V,U,D),weight:je(O.fontWeight)(V,U,D),rotate:je(O.rotate)(V,U,D),size:je(O.fontSize)(V,U,D),style:"normal"}),w.call(t,V,U,D))});return z.push({text:"",value:0,x:0,y:0,opacity:0}),z.push({text:"",value:0,x:O.size[0],y:O.size[1],opacity:0}),z}return C5(P,O)}function N5(r){var e=r.width,t=r.height,i=r.container,n=r.autoFit,a=r.padding,o=r.appendPadding;if(n){var s=Hu(i);e=s.width,t=s.height}e=e||400,t=t||400;var l=G5({padding:a,appendPadding:o}),u=l[0],c=l[1],h=l[2],f=l[3],v=[e-(f+c),t-(u+h)];return v}function G5(r){var e=_r(r.padding),t=_r(r.appendPadding),i=e[0]+t[0],n=e[1]+t[1],a=e[2]+t[2],o=e[3]+t[3];return[i,n,a,o]}function V5(r){return new Promise(function(e,t){if(r instanceof HTMLImageElement){e(r);return}if(Q(r)){var i=new Image;i.crossOrigin="anonymous",i.src=r,i.onload=function(){e(i)},i.onerror=function(){Cr(Xe.ERROR,!1,"image %s load failed !!!",r),t()};return}Cr(Xe.WARN,r===void 0,"The type of imageMask option must be String or HTMLImageElement."),t()})}function Y5(r,e){if(X(r))return r;if(R(r)){var t=r[0],i=r[1];if(!e)return function(){return(i+t)/2};var n=e[0],a=e[1];return a===n?function(){return(i+t)/2}:function(s){var l=s.value;return(i-t)/(a-n)*(l-n)+t}}return function(){return r}}function $5(r,e){return r.map(function(t){return t[e]}).filter(function(t){return typeof t=="number"&&!isNaN(t)})}function H5(r){var e=X5(r),t=e.rotation,i=e.rotationSteps;if(!R(t))return t;var n=t[0],a=t[1],o=i===1?0:(a-n)/(i-1);return function(){return a===n?a:Math.floor(Math.random()*i)*o}}function X5(r){var e=r.wordStyle.rotationSteps;return e<1&&(Cr(Xe.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:r.wordStyle.rotation,rotationSteps:e}}function W5(r){return Math.min.apply(Math,r)}function _5(r){return Math.max.apply(Math,r)}function q5(r){var e=r.chart,t=r.options,i=t.colorField,n=t.color,a=Qx(r);e.data(a);var o=I({},r,{options:{xField:"x",yField:"y",seriesField:i&&Wh,rawFields:X(n)&&Z(Z([],A(t,"rawFields",[]),!0),["datum"],!1),point:{color:n,shape:"word-cloud"}}}),s=Te(o).ext;return s.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),r}function U5(r){return J(Lt({x:{nice:!1},y:{nice:!1}}))(r)}function j5(r){var e=r.chart,t=r.options,i=t.legend,n=t.colorField;return i===!1?e.legend(!1):n&&e.legend(Wh,i),r}function Z5(r){J(q5,U5,Vt,j5,At,xt,ut,ti)(r)}ft("point","word-cloud",{draw:function(r,e){var t=r.x,i=r.y,n=e.addShape("text",{attrs:m(m({},Q5(r)),{x:t,y:i})}),a=r.data.rotate;return typeof a=="number"&&ye.rotate(n,a*Math.PI/180),n}});function Q5(r){return{fontSize:r.data.size,text:r.data.text,textAlign:"center",fontFamily:r.data.font,fontWeight:r.data.weight,fill:r.color||r.defaultStyle.stroke,textBaseline:"alphabetic"}}(function(r){E(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="word-cloud",t}return e.getDefaultOptions=function(){return b5},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(Qx({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var t=this;return new Promise(function(i){var n=t.options.imageMask;if(!n){r.prototype.render.call(t),i();return}var a=function(o){t.options=m(m({},t.options),{imageMask:o||null}),r.prototype.render.call(t),i()};V5(n).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return Z5},e.prototype.triggerResize=function(){var t=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){r.prototype.triggerResize.call(t)}))},e})(nt);(function(r){E(e,r);function e(t,i,n,a){var o=r.call(this,t,I({},a,i))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=n,o}return e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e})(nt);t0("en-US",FL);t0("zh-CN",TL);const K5=dn("p",null,"由于 G2 的高度可定置化,导致不同开发者开发出来的图表效果有的好看,有的不好看,G2Plot 解决了这一问题,由官方制定了一套标准设计规范,开发者可以专注于数据,而不用关心最终呈现,当然缺点也很明显,就是自定义上不如 G2 ,所以如果你有更复杂的需求,推荐还是使用 G2 去自行实现。",-1),J5={style:{"margin-bottom":"0"}},tG=dn("div",{id:"chart1",style:{width:"100%",height:"400px"}},null,-1),eG=dn("div",{id:"chart2",style:{width:"100%",height:"400px"}},null,-1),rG=dn("div",{id:"chart3",style:{width:"100%",height:"400px"}},null,-1),iG=dn("div",{id:"chart4",style:{width:"100%",height:"400px"}},null,-1),nG=tw({__name:"g2plot",setup(r){let e,t,i,n;ew(()=>{a(),o(),s(),l()}),rw(()=>{e.destroy(),t.destroy(),i.destroy(),n.destroy()});function a(){const c=[{type:"分类一",values:[76,100]},{type:"分类二",values:[56,108]},{type:"分类三",values:[38,129]},{type:"分类四",values:[58,155]},{type:"分类五",values:[45,120]},{type:"分类六",values:[23,99]},{type:"分类七",values:[18,56]},{type:"分类八",values:[18,34]}];e=new v0("chart1",{data:c,xField:"type",yField:"values",color:"l(90) 0:#3e5bdb 1:#b4d9e4",isRange:!0,columnStyle:{fillOpacity:.8},label:{position:"middle",style:{fill:"#fff"}}}),e.render()}function o(){fetch("https://gw.alipayobjects.com/os/bmw-prod/e00d52f4-2fa6-47ee-a0d7-105dd95bde20.json").then(c=>c.json()).then(c=>{t=new L0("chart2",{data:c,xField:"year",yField:"gdp",seriesField:"name",yAxis:{label:{formatter:h=>`${(parseInt(h)/1e9).toFixed(1)} B`}},legend:{position:"top"},smooth:!0,animation:{appear:{animation:"path-in",duration:5e3}}}),t.render()})}function s(){const c=[{type:"分类一",value:27},{type:"分类二",value:25},{type:"分类三",value:18},{type:"分类四",value:15},{type:"分类五",value:10},{type:"其他",value:5}];i=new R0("chart3",{appendPadding:10,data:c,angleField:"value",colorField:"type",radius:.8,label:{type:"outer",content:"{name} {percentage}"},interactions:[{type:"pie-legend-active"}]}),i.render()}function l(){fetch("https://gw.alipayobjects.com/os/bmw-prod/5c41aa9b-9c8a-425f-9f4d-934b889bb75d.json").then(c=>c.json()).then(c=>{n=new zR("chart4",{data:c,xField:"item",yField:"score",seriesField:"user",xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},point:{shape:"circle"},area:{},legend:{position:"bottom"}}),n.render()})}function u(c){window.open(c,"_blank")}return(c,h)=>{const f=Ri("el-tag"),v=aw,d=Ri("el-icon"),p=Ri("el-button"),g=Ri("el-button-group"),y=ow,x=sw,b=Ri("el-col"),w=Ri("el-row");return iw(),nw("div",null,[Nt(lw),Nt(y,{title:"G2plot"},{content:Gt(()=>[K5,dn("p",J5,[_a(" 安装命令:"),Nt(f,null,{default:Gt(()=>[_a("pnpm add @antv/g2plot")]),_:1})])]),default:Gt(()=>[Nt(g,null,{default:Gt(()=>[Nt(p,{onClick:h[0]||(h[0]=S=>u("https://github.com/antvis/g2"))},{icon:Gt(()=>[Nt(d,null,{default:Gt(()=>[Nt(v,{name:"i-ep:link"})]),_:1})]),default:Gt(()=>[_a(" 访问 G2 ")]),_:1}),Nt(p,{onClick:h[1]||(h[1]=S=>u("https://github.com/antvis/G2Plot"))},{icon:Gt(()=>[Nt(d,null,{default:Gt(()=>[Nt(v,{name:"i-ep:link"})]),_:1})]),default:Gt(()=>[_a(" 访问 G2plot ")]),_:1})]),_:1})]),_:1}),Nt(w,{gutter:20,style:{margin:"-10px 10px"}},{default:Gt(()=>[Nt(b,{md:12},{default:Gt(()=>[Nt(x,{title:"柱状图",style:{margin:"10px 0"}},{default:Gt(()=>[tG]),_:1})]),_:1}),Nt(b,{md:12},{default:Gt(()=>[Nt(x,{title:"折线图",style:{margin:"10px 0"}},{default:Gt(()=>[eG]),_:1})]),_:1})]),_:1}),Nt(w,{gutter:20,style:{margin:"0 10px"}},{default:Gt(()=>[Nt(b,{md:12},{default:Gt(()=>[Nt(x,{title:"饼图",style:{margin:"10px 0"}},{default:Gt(()=>[rG]),_:1})]),_:1}),Nt(b,{md:12},{default:Gt(()=>[Nt(x,{title:"雷达图",style:{margin:"10px 0"}},{default:Gt(()=>[iG]),_:1})]),_:1})]),_:1})])}}});typeof _h=="function"&&_h(nG);export{nG as default}; diff --git a/assets/g2plot-46fc7a8e.js.br b/assets/g2plot-46fc7a8e.js.br new file mode 100644 index 0000000..8b2c97b Binary files /dev/null and b/assets/g2plot-46fc7a8e.js.br differ diff --git a/assets/g2plot-46fc7a8e.js.gz b/assets/g2plot-46fc7a8e.js.gz new file mode 100644 index 0000000..da30c85 Binary files /dev/null and b/assets/g2plot-46fc7a8e.js.gz differ diff --git a/assets/goods-07306500.css b/assets/goods-07306500.css new file mode 100644 index 0000000..8e21bec --- /dev/null +++ b/assets/goods-07306500.css @@ -0,0 +1 @@ +@charset "UTF-8";.goods-card[data-v-915d9734]{position:relative;margin-bottom:20px;text-align:center;cursor:pointer}.goods-card .image[data-v-915d9734]{width:80%}.goods-card .title[data-v-915d9734]{font-size:16px;font-weight:700;margin:8px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goods-card .sub-title[data-v-915d9734]{font-size:14px;color:#808695;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goods-card .price[data-v-915d9734]{margin-top:8px}.goods-card .price .sales[data-v-915d9734],.goods-card .price .original[data-v-915d9734]{font-size:14px;color:#ff6700;margin:0 5px}.goods-card .price .sales[data-v-915d9734]:before,.goods-card .price .original[data-v-915d9734]:before{content:"\ffe5";font-size:14px}.goods-card .price .sales[data-v-915d9734]{font-size:18px}.goods-card .price .original[data-v-915d9734]{color:#c5c8ce;text-decoration:line-through}.goods-card .tags[data-v-915d9734]{position:absolute;top:15px;right:15px} diff --git a/assets/goods-087e2eb4.js b/assets/goods-087e2eb4.js new file mode 100644 index 0000000..80c0e71 --- /dev/null +++ b/assets/goods-087e2eb4.js @@ -0,0 +1 @@ +import{q as m,e as d,o as f,f as v,g as e,w as a,h as s,l as n,x as r,S as u,p as x,n as w}from"./index-17000ae8.js";const p={},t=_=>(x("data-v-915d9734"),_=_(),w(),_),y=t(()=>s("div",{class:"title"}," Dell 显示器 ",-1)),I=t(()=>s("div",{class:"sub-title"}," 高刷新率显示器 ",-1)),b=t(()=>s("div",{class:"price"},[s("span",{class:"sales"},"879.00"),s("span",{class:"original"},"999.00")],-1)),z={class:"tags"},k=t(()=>s("div",{class:"title"}," HHKB 静电容键盘 ",-1)),j=t(()=>s("div",{class:"sub-title"}," 程序员最爱 ",-1)),B=t(()=>s("div",{class:"price"},[s("span",{class:"sales"},"2499.00"),s("span",{class:"original"},"2699.00")],-1)),S={class:"tags"},V=t(()=>s("div",{class:"title"}," 雷蛇鼠标 ",-1)),K=t(()=>s("div",{class:"sub-title"}," 电竞游戏专用 ",-1)),N=t(()=>s("div",{class:"price"},[s("span",{class:"sales"},"109.00"),s("span",{class:"original"},"129.00")],-1)),C=t(()=>s("div",{class:"title"}," 苹果 iPhone 12 ",-1)),H=t(()=>s("div",{class:"sub-title"}," 苹果最新款手机 ",-1)),P=t(()=>s("div",{class:"price"},[s("span",{class:"sales"},"5999.00"),s("span",{class:"original"},"6299.00")],-1)),q=t(()=>s("div",{class:"title"}," 标题要长长长长长长长长长长长长 ",-1)),D=t(()=>s("div",{class:"sub-title"}," 副标题也要长长长长长长长长长长 ",-1)),E=t(()=>s("div",{class:"price"},[s("span",{class:"sales"},"9999.00"),s("span",{class:"original"},"10999.00")],-1));function T(_,U){const g=u,o=d("el-image"),i=d("el-tag"),c=d("el-card"),l=d("el-col"),h=d("el-row");return f(),v("div",null,[e(g,{title:"商品列表",content:"以卡片的形式展现商品或图片信息。"}),e(h,{gutter:20,style:{margin:"0 10px"}},{default:a(()=>[e(l,{lg:6,md:8,sm:12},{default:a(()=>[e(c,{shadow:"hover",class:"goods-card"},{default:a(()=>[e(o,{fit:"cover",src:"https://z3.ax1x.com/2021/02/01/yeIK58.jpg",class:"image"}),y,I,b,s("div",z,[e(i,{type:"warning",size:"small",effect:"dark"},{default:a(()=>[n(" 推荐 ")]),_:1})])]),_:1})]),_:1}),e(l,{lg:6,md:8,sm:12},{default:a(()=>[e(c,{shadow:"hover",class:"goods-card"},{default:a(()=>[e(o,{fit:"cover",src:"https://z3.ax1x.com/2021/02/01/yeInVP.jpg",class:"image"}),k,j,B,s("div",S,[e(i,{type:"danger",size:"small",effect:"dark"},{default:a(()=>[n(" 缺货 ")]),_:1})])]),_:1})]),_:1}),e(l,{lg:6,md:8,sm:12},{default:a(()=>[e(c,{shadow:"hover",class:"goods-card"},{default:a(()=>[e(o,{fit:"cover",src:"https://z3.ax1x.com/2021/02/01/yeIebt.jpg",class:"image"}),V,K,N]),_:1})]),_:1}),e(l,{lg:6,md:8,sm:12},{default:a(()=>[e(c,{shadow:"hover",class:"goods-card"},{default:a(()=>[e(o,{fit:"cover",src:"https://z3.ax1x.com/2021/02/01/yeIuUf.png",class:"image"}),C,H,P]),_:1})]),_:1}),e(l,{lg:6,md:8,sm:12},{default:a(()=>[e(c,{shadow:"hover",class:"goods-card"},{default:a(()=>[e(o,{fit:"cover",src:"https://z3.ax1x.com/2021/02/01/yeIK58.jpg",class:"image"}),q,D,E]),_:1})]),_:1})]),_:1})])}typeof r=="function"&&r(p);const F=m(p,[["render",T],["__scopeId","data-v-915d9734"]]);export{F as default}; diff --git a/assets/goods-087e2eb4.js.br b/assets/goods-087e2eb4.js.br new file mode 100644 index 0000000..5f4419c Binary files /dev/null and b/assets/goods-087e2eb4.js.br differ diff --git a/assets/goods-087e2eb4.js.gz b/assets/goods-087e2eb4.js.gz new file mode 100644 index 0000000..c5b5be5 Binary files /dev/null and b/assets/goods-087e2eb4.js.gz differ diff --git a/assets/i18n-0d00528f.js b/assets/i18n-0d00528f.js new file mode 100644 index 0000000..9f6ad42 --- /dev/null +++ b/assets/i18n-0d00528f.js @@ -0,0 +1 @@ +import{d as U,c as E,r as g,e as c,o as N,f as $,g as l,i as t,w as i,V as _,l as C,h as j,t as B,E as f,c5 as I,c6 as L,S as M,R as q,x as w}from"./index-17000ae8.js";const R=U({__name:"i18n",setup(z){const{t:a}=E(),e=g(1),n=g(100);function k(s){f(`每页 ${s} 条`)}function x(s){f(`当前页: ${s}`)}const u=g({name:"",age:""}),y=g({name:[{required:!0,message:()=>a("formRules.name"),trigger:"blur"}],age:[{required:!0,message:()=>a("formRules.age"),trigger:"blur"}]});function d(s){const o=I(),m=L();s==="zh-cn"?(Object.assign(m["zh-cn"],{hello:{world:"你好,世界!"}}),o.global.setLocaleMessage(s,m["zh-cn"])):(Object.assign(m.en,{hello:{world:"Hello World !"}}),o.global.setLocaleMessage(s,m.en)),f.success("载入成功,你可以切换语言查看效果")}return(s,o)=>{const m=M,S=c("el-pagination"),p=q,b=c("el-input"),V=c("el-form-item"),P=c("el-form"),h=c("el-button");return N(),$("div",null,[l(m,{title:t(a)("route.feature.i18n"),content:t(a)("intro")},null,8,["title","content"]),l(p,{title:"Element 组件"},{default:i(()=>[l(S,{currentPage:t(e),"onUpdate:currentPage":o[0]||(o[0]=r=>_(e)?e.value=r:null),"page-size":t(n),"onUpdate:pageSize":o[1]||(o[1]=r=>_(n)?n.value=r:null),"page-sizes":[100,200,300,400],layout:"total, sizes, prev, pager, next, jumper",total:400,onSizeChange:k,onCurrentChange:x},null,8,["currentPage","page-size"])]),_:1}),l(p,{title:"表单验证"},{default:i(()=>[l(P,{modelValue:t(u),"onUpdate:modelValue":o[4]||(o[4]=r=>_(u)?u.value=r:null),rules:t(y),"label-width":"100px"},{default:i(()=>[l(V,{label:t(a)("form.name"),prop:"name"},{default:i(()=>[l(b,{modelValue:t(u).name,"onUpdate:modelValue":o[2]||(o[2]=r=>t(u).name=r)},null,8,["modelValue"])]),_:1},8,["label"]),l(V,{label:t(a)("form.age"),prop:"age"},{default:i(()=>[l(b,{modelValue:t(u).age,"onUpdate:modelValue":o[3]||(o[3]=r=>t(u).age=r)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["modelValue","rules"])]),_:1}),l(p,{title:"延迟加载"},{default:i(()=>[l(h,{onClick:o[5]||(o[5]=r=>d("zh-cn"))},{default:i(()=>[C(" 载入中文 ")]),_:1}),l(h,{onClick:o[6]||(o[6]=r=>d("en"))},{default:i(()=>[C(" 载入英文 ")]),_:1}),j("p",null,B(t(a)("hello.world")),1)]),_:1})])}}});function v(z){const a=z;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{"zh-cn":{intro:e=>{const{normalize:n}=e;return n(["除了支持全局多语言切换,还支持 Vue 单文件模式语言切换,你可以尝试在这个页面点击右上角的语言切换试试"])},form:{name:e=>{const{normalize:n}=e;return n(["姓名"])},age:e=>{const{normalize:n}=e;return n(["年龄"])}},formRules:{name:e=>{const{normalize:n}=e;return n(["请输入姓名"])},age:e=>{const{normalize:n}=e;return n(["请输入年龄"])}}},"zh-tw":{intro:e=>{const{normalize:n}=e;return n(["除了支持全局多語言切換,還支持 Vue 單文件模式語言切換,你可以嘗試在這個頁面點擊右上角的語言切換試試"])},form:{name:e=>{const{normalize:n}=e;return n(["姓名"])},age:e=>{const{normalize:n}=e;return n(["年齡"])}},formRules:{name:e=>{const{normalize:n}=e;return n(["請輸入姓名"])},age:e=>{const{normalize:n}=e;return n(["請輸入年齡"])}}},en:{intro:e=>{const{normalize:n}=e;return n(["In addition to global multi-language switch, also support Vue single file mode language switch, you can try to click on the top right corner of the page to switch language"])},form:{name:e=>{const{normalize:n}=e;return n(["Name"])},age:e=>{const{normalize:n}=e;return n(["Age"])}},formRules:{name:e=>{const{normalize:n}=e;return n(["Please enter name"])},age:e=>{const{normalize:n}=e;return n(["Please enter age"])}}}}})}typeof w=="function"&&w(R);typeof v=="function"&&v(R);export{R as default}; diff --git a/assets/i18n-0d00528f.js.br b/assets/i18n-0d00528f.js.br new file mode 100644 index 0000000..aad1b28 Binary files /dev/null and b/assets/i18n-0d00528f.js.br differ diff --git a/assets/i18n-0d00528f.js.gz b/assets/i18n-0d00528f.js.gz new file mode 100644 index 0000000..b851f08 Binary files /dev/null and b/assets/i18n-0d00528f.js.gz differ diff --git a/assets/icon-a93f3cf2.js b/assets/icon-a93f3cf2.js new file mode 100644 index 0000000..7b34cea --- /dev/null +++ b/assets/icon-a93f3cf2.js @@ -0,0 +1 @@ +import{d as m,W as v,e as a,o as l,f as s,h as x,g as e,w as n,l as i,Q as h,U as y,i as g,_ as k,q as B}from"./index-17000ae8.js";const C={class:"demo"},N=m({__name:"icon",setup(V){const p=v.filter(c=>c.prefix==="ep")[0];return(c,$)=>{const t=k,o=a("el-icon"),d=a("el-button"),r=a("el-divider"),u=a("el-tooltip");return l(),s("div",null,[x("div",C,[e(o,null,{default:n(()=>[e(t,{name:"i-ep:edit"})]),_:1}),e(o,null,{default:n(()=>[e(t,{name:"i-ep:share"})]),_:1}),e(o,null,{default:n(()=>[e(t,{name:"i-ep:delete"})]),_:1}),e(d,{type:"primary"},{icon:n(()=>[e(o,null,{default:n(()=>[e(t,{name:"i-ep:search"})]),_:1})]),default:n(()=>[i(" 搜索 ")]),_:1})]),e(r,{"content-position":"left"},{default:n(()=>[i(" 图标集合 ")]),_:1}),(l(!0),s(h,null,y(g(p).icons,(_,f)=>(l(),s("div",{key:f,class:"list-icon"},[e(u,{class:"item",effect:"dark",content:`ep:${_}`,placement:"top"},{default:n(()=>[e(o,null,{default:n(()=>[e(t,{name:`ep:${_}`},null,8,["name"])]),_:2},1024)]),_:2},1032,["content"])]))),128))])}}});const w=B(N,[["__scopeId","data-v-e719af91"]]);export{w as default}; diff --git a/assets/icon-a93f3cf2.js.br b/assets/icon-a93f3cf2.js.br new file mode 100644 index 0000000..66416ba Binary files /dev/null and b/assets/icon-a93f3cf2.js.br differ diff --git a/assets/icon-a93f3cf2.js.gz b/assets/icon-a93f3cf2.js.gz new file mode 100644 index 0000000..8878ea9 Binary files /dev/null and b/assets/icon-a93f3cf2.js.gz differ diff --git a/assets/icon-e7927de0.css b/assets/icon-e7927de0.css new file mode 100644 index 0000000..a850a01 --- /dev/null +++ b/assets/icon-e7927de0.css @@ -0,0 +1 @@ +.demo>.el-icon[data-v-e719af91]{color:#606266;margin:0 20px;font-size:1.5em;vertical-align:middle}.demo button[data-v-e719af91]{margin:0 20px}.list-icon[data-v-e719af91]{display:inline-block;margin:10px}.list-icon .el-icon[data-v-e719af91]{font-size:32px;color:#606266} diff --git a/assets/iconfont.1679360988448-749fb6d4.woff b/assets/iconfont.1679360988448-749fb6d4.woff new file mode 100644 index 0000000..1b96a31 Binary files /dev/null and b/assets/iconfont.1679360988448-749fb6d4.woff differ diff --git a/assets/iconfont.1679360988448-eabee844.ttf b/assets/iconfont.1679360988448-eabee844.ttf new file mode 100644 index 0000000..3531e90 Binary files /dev/null and b/assets/iconfont.1679360988448-eabee844.ttf differ diff --git a/assets/iconify-35c02667.css b/assets/iconify-35c02667.css new file mode 100644 index 0000000..49d7ba7 --- /dev/null +++ b/assets/iconify-35c02667.css @@ -0,0 +1 @@ +.el-card[data-v-69094cc6]{margin-bottom:15px}.el-card[data-v-69094cc6] .el-card__body{display:flex;justify-content:center;cursor:pointer}.el-card i[data-v-69094cc6]{font-size:24px}[data-v-69094cc6] .el-dialog .el-dialog__body{padding:0 30px 30px}[data-v-69094cc6] .el-dialog .icon-box{display:flex;justify-content:center;align-items:center;width:80px;height:80px;border:1px solid #e0e8ef}[data-v-69094cc6] .el-dialog .icon-box i{font-size:60px}[data-v-69094cc6] .el-dialog .icon-info{display:flex;flex-direction:column;justify-content:space-between;height:100%}[data-v-69094cc6] .el-dialog .icon-info .title{font-size:24px;font-weight:700} diff --git a/assets/iconify-cb48a0c3.js b/assets/iconify-cb48a0c3.js new file mode 100644 index 0000000..f969bec --- /dev/null +++ b/assets/iconify-cb48a0c3.js @@ -0,0 +1 @@ +import{d as D,a3 as F,r as G,G as M,C as P,E as Q,e as a,o as c,f,g as e,w as n,l as u,Q as y,U as w,L as V,i as t,W as T,h as d,t as W,V as j,S as z,_ as A,R as H,q as J,x as b}from"./index-17000ae8.js";const K={class:"icon-box"},O={class:"icon-info"},X={class:"title"},Y={class:"more-info"},h=D({__name:"iconify",setup(Z){const{text:N,copy:$,copied:k}=F(),l=G({visible:!1,iconName:""}),_=M(()=>``);P(k,i=>{i&&Q.success(`复制成功:${N.value}`)});function C(i){l.value.iconName=i,l.value.visible=!0}return(i,s)=>{const I=z,m=A,p=a("el-icon"),B=a("el-card"),r=a("el-col"),v=a("el-row"),E=H,g=a("el-button"),U=a("el-input"),L=a("el-divider"),R=a("el-dialog");return c(),f("div",null,[e(I,{title:"Iconify"},{content:n(()=>[u(" 本框架支持使用 Iconify 的所有图标集,以下展示部分图标集。 ")]),_:1}),(c(!0),f(y,null,w(t(T),(o,S)=>(c(),V(E,{key:S,title:o.info.name},{default:n(()=>[e(v,{gutter:20},{default:n(()=>[(c(!0),f(y,null,w(o.info.samples,(x,q)=>(c(),V(r,{key:q,xs:6,sm:8,md:3,lg:2},{default:n(()=>[e(B,{shadow:"hover",onClick:ee=>C(`${o.prefix}:${x}`)},{default:n(()=>[e(p,null,{default:n(()=>[e(m,{name:`${o.prefix}:${x}`},null,8,["name"])]),_:2},1024)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),e(R,{modelValue:t(l).visible,"onUpdate:modelValue":s[2]||(s[2]=o=>t(l).visible=o),"show-close":!1,width:"600px"},{default:n(()=>[e(v,{type:"flex"},{default:n(()=>[e(r,{style:{"max-width":"100px"}},{default:n(()=>[d("div",K,[e(p,null,{default:n(()=>[e(m,{name:t(l).iconName},null,8,["name"])]),_:1})])]),_:1}),e(r,{style:{flex:"1"}},{default:n(()=>[d("div",O,[d("div",X,W(t(l).iconName),1),e(U,{modelValue:t(_),"onUpdate:modelValue":s[1]||(s[1]=o=>j(_)?_.value=o:null),readonly:""},{append:n(()=>[e(g,{type:"primary",onClick:s[0]||(s[0]=o=>t($)(t(_)))},{default:n(()=>[u(" 复制 ")]),_:1})]),_:1},8,["modelValue"])])]),_:1})]),_:1}),d("div",Y,[e(L,{"content-position":"left"},{default:n(()=>[u(" 结合 Element Plus 使用场景 ")]),_:1}),e(g,null,{icon:n(()=>[e(p,null,{default:n(()=>[e(m,{name:t(l).iconName},null,8,["name"])]),_:1})]),default:n(()=>[u(" Icon 按钮 ")]),_:1})])]),_:1},8,["modelValue"])])}}});typeof b=="function"&&b(h);const oe=J(h,[["__scopeId","data-v-69094cc6"]]);export{oe as default}; diff --git a/assets/iconify-cb48a0c3.js.br b/assets/iconify-cb48a0c3.js.br new file mode 100644 index 0000000..7c2785b Binary files /dev/null and b/assets/iconify-cb48a0c3.js.br differ diff --git a/assets/iconify-cb48a0c3.js.gz b/assets/iconify-cb48a0c3.js.gz new file mode 100644 index 0000000..b31e9e2 Binary files /dev/null and b/assets/iconify-cb48a0c3.js.gz differ diff --git a/assets/iconpicker.demo-fca281e0.js b/assets/iconpicker.demo-fca281e0.js new file mode 100644 index 0000000..b279024 --- /dev/null +++ b/assets/iconpicker.demo-fca281e0.js @@ -0,0 +1 @@ +import{d as f,r as d,e as x,o as k,f as U,g as n,w as p,h as _,i as t,V as u,l as r,t as c,S as C,R as y,x as V}from"./index-17000ae8.js";import{_ as B}from"./index-a0a5d690.js";const N={style:{"margin-bottom":"15px"}},b=f({name:"ComponentExampleIconpicker"}),w=f({...b,setup(z){const s=d(""),m=d("ep:success-filled"),l=d("");return(E,e)=>{const g=C,a=B,i=y,v=x("el-space");return k(),U("div",null,[n(g,{title:"图标选择器",content:"IconPicker"}),n(i,null,{default:p(()=>[_("div",N,[n(a,{modelValue:t(s),"onUpdate:modelValue":e[0]||(e[0]=o=>u(s)?s.value=o:null)},null,8,["modelValue"]),r(" "+c(t(s)),1)]),_("div",null,[n(a,{modelValue:t(m),"onUpdate:modelValue":e[1]||(e[1]=o=>u(m)?m.value=o:null)},null,8,["modelValue"]),r(" "+c(t(m)),1)])]),_:1}),n(i,{title:"尺寸"},{default:p(()=>[n(v,null,{default:p(()=>[n(a,{modelValue:t(l),"onUpdate:modelValue":e[2]||(e[2]=o=>u(l)?l.value=o:null),size:"small"},null,8,["modelValue"]),n(a,{modelValue:t(l),"onUpdate:modelValue":e[3]||(e[3]=o=>u(l)?l.value=o:null)},null,8,["modelValue"]),n(a,{modelValue:t(l),"onUpdate:modelValue":e[4]||(e[4]=o=>u(l)?l.value=o:null),size:"large"},null,8,["modelValue"])]),_:1})]),_:1})])}}});typeof V=="function"&&V(w);export{w as default}; diff --git a/assets/iconpicker.demo-fca281e0.js.br b/assets/iconpicker.demo-fca281e0.js.br new file mode 100644 index 0000000..9fe70aa Binary files /dev/null and b/assets/iconpicker.demo-fca281e0.js.br differ diff --git a/assets/iconpicker.demo-fca281e0.js.gz b/assets/iconpicker.demo-fca281e0.js.gz new file mode 100644 index 0000000..0819941 Binary files /dev/null and b/assets/iconpicker.demo-fca281e0.js.gz differ diff --git a/assets/iframe-7c00fa4a.js b/assets/iframe-7c00fa4a.js new file mode 100644 index 0000000..76c64ee --- /dev/null +++ b/assets/iframe-7c00fa4a.js @@ -0,0 +1 @@ +import{d,u as l,a0 as u,r as p,C as h,a1 as m,a2 as v,o,f as n,Q as w,U as g,j as _,J as x,i,g as k,w as y,h as C,v as I,T as L,q as V}from"./index-17000ae8.js";const b={class:"iframe-view"},B=["data-path","src"],P=d({name:"IframeView"}),R=d({...P,setup(S){const t=l(),c=u(),f=p();return h(()=>t.fullPath,s=>{m(()=>{var r;(r=f.value)==null||r.forEach(a=>{a.dataset.path===s&&(a.onload=()=>{c.closeLoading(s)})})})},{immediate:!0}),(s,r)=>{const a=v("loading");return o(),n("div",b,[(o(!0),n(w,null,g(i(c).openedList,e=>_((o(),n("div",{key:e.path,class:x(["iframe",{actived:i(t).fullPath===e.path}])},[k(L,{name:"iframe",mode:"out-in",appear:""},{default:y(()=>[_(C("iframe",{ref_for:!0,ref_key:"iframeRef",ref:f,"data-path":e.path,src:e.src,frameborder:"0"},null,8,B),[[I,i(t).fullPath===e.path]])]),_:2},1024)],2)),[[a,e.isLoading]])),128))])}}});const D=V(R,[["__scopeId","data-v-3be12364"]]);export{D as default}; diff --git a/assets/iframe-e7290572.css b/assets/iframe-e7290572.css new file mode 100644 index 0000000..86d80b2 --- /dev/null +++ b/assets/iframe-e7290572.css @@ -0,0 +1 @@ +.iframe-view[data-v-3be12364],.iframe[data-v-3be12364]{display:flex;flex-direction:column;position:absolute;top:0;left:0;width:100%;height:100%}.iframe-view.actived[data-v-3be12364],.iframe.actived[data-v-3be12364]{z-index:1}.iframe-view iframe[data-v-3be12364],.iframe iframe[data-v-3be12364]{flex:1;width:100%;height:100%}.iframe-enter-active[data-v-3be12364]{transition:.2s}.iframe-leave-active[data-v-3be12364]{transition:.15s}.iframe-enter-from[data-v-3be12364]{opacity:0;margin-left:-20px}.iframe-leave-to[data-v-3be12364]{opacity:0;margin-left:20px} diff --git a/assets/image.preview.demo-70ccd480.js b/assets/image.preview.demo-70ccd480.js new file mode 100644 index 0000000..0f1228a --- /dev/null +++ b/assets/image.preview.demo-70ccd480.js @@ -0,0 +1 @@ +import{d as l,G as m,e as c,o as u,L as w,w as o,h as v,g as e,K as y,i as g,_ as x,q as b,f as S,S as N,R as $,x as h}from"./index-17000ae8.js";const G={class:"image-slot"},L=l({name:"ImagePreview"}),k=l({...L,props:{src:{type:String,required:!0},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""}},setup(s){const t=s,_=m(()=>typeof t.width=="string"?t.width:`${t.width}px`),p=m(()=>typeof t.height=="string"?t.height:`${t.height}px`);return(d,i)=>{const a=x,n=c("el-icon"),r=c("el-image");return u(),w(r,{src:s.src,fit:"cover",style:y(`width:${g(_)};height:${g(p)};`),"preview-src-list":[s.src],"preview-teleported":""},{error:o(()=>[v("div",G,[e(n,null,{default:o(()=>[e(a,{name:"image-load-fail"})]),_:1})])]),_:1},8,["src","style","preview-src-list"])}}});const A=b(k,[["__scopeId","data-v-1f5c4505"]]),B=l({__name:"image.preview.demo",setup(s){const t=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://hooray.gitee.io/fantastic-admin/logo.png"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://hooray.gitee.io/fantastic-admin/logo.png"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://hooray.gitee.io/fantastic-admin/logo.png"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://hooray.gitee.io/fantastic-admin/logo.png"}];return(_,p)=>{const d=N,i=A,a=$,n=c("el-table-column"),r=c("el-table");return u(),S("div",null,[e(d,{title:"图片预览",content:"ImagePreview"}),e(a,null,{default:o(()=>[e(i,{src:"https://hooray.gitee.io/fantastic-admin/logo.png",width:200})]),_:1}),e(a,{title:"图片加载失败时"},{default:o(()=>[e(i,{src:"http://www.baidu.com",width:"100px",height:"100px"})]),_:1}),e(a,{title:"结合 el-table 使用"},{default:o(()=>[e(r,{data:t,style:{width:"100%"}},{default:o(()=>[e(n,{prop:"date",label:"日期",width:"180",fixed:"left"}),e(n,{prop:"name",label:"姓名",width:"180"}),e(n,{prop:"address",label:"地址"}),e(n,{label:"图片"},{default:o(({row:f})=>[e(i,{src:f.src,width:"100px",height:"100px"},null,8,["src"])]),_:1})]),_:1})]),_:1})])}}});typeof h=="function"&&h(B);export{B as default}; diff --git a/assets/image.preview.demo-70ccd480.js.br b/assets/image.preview.demo-70ccd480.js.br new file mode 100644 index 0000000..051c64a Binary files /dev/null and b/assets/image.preview.demo-70ccd480.js.br differ diff --git a/assets/image.preview.demo-70ccd480.js.gz b/assets/image.preview.demo-70ccd480.js.gz new file mode 100644 index 0000000..3bc4ce7 Binary files /dev/null and b/assets/image.preview.demo-70ccd480.js.gz differ diff --git a/assets/image.preview.demo-bbd528e5.css b/assets/image.preview.demo-bbd528e5.css new file mode 100644 index 0000000..abe6e50 --- /dev/null +++ b/assets/image.preview.demo-bbd528e5.css @@ -0,0 +1 @@ +.el-image[data-v-1f5c4505]{border-radius:5px;background-color:var(--el-fill-color);box-shadow:var(--el-box-shadow-light);transition:background-color .3s,var(--el-transition-box-shadow)}.el-image[data-v-1f5c4505] .el-image__inner{transition:all .3s;cursor:pointer}.el-image[data-v-1f5c4505] .el-image__inner:hover{transform:scale(1.2)}.el-image[data-v-1f5c4505] .image-slot{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#909399;font-size:30px} diff --git a/assets/index-0158aefa.css b/assets/index-0158aefa.css new file mode 100644 index 0000000..6079051 --- /dev/null +++ b/assets/index-0158aefa.css @@ -0,0 +1 @@ +.tools[data-v-9e62ad43]{display:flex;align-items:center;padding:0 20px;white-space:nowrap}.tools .buttons[data-v-9e62ad43]{margin-right:20px}.tools .buttons .item[data-v-9e62ad43]{display:inline-flex;align-items:center;justify-content:center;height:26px;width:34px;cursor:pointer;vertical-align:middle}.tools .buttons .item .el-icon[data-v-9e62ad43]{color:var(--el-text-color-primary);transition:var(--el-transition-color)}.tools .buttons .item .el-badge[data-v-9e62ad43]{display:flex;align-items:center}.tools[data-v-9e62ad43] .language-container{font-size:16px}.tools[data-v-9e62ad43] .user-container{display:inline-block;height:24px;line-height:24px;cursor:pointer}.tools[data-v-9e62ad43] .user-container .user-wrapper .el-avatar{vertical-align:middle;margin-top:-2px;margin-right:4px} diff --git a/assets/index-038207c0.css b/assets/index-038207c0.css new file mode 100644 index 0000000..1322fa5 --- /dev/null +++ b/assets/index-038207c0.css @@ -0,0 +1 @@ +[data-v-a84c3ae1] .el-drawer__header{margin-bottom:initial;padding-bottom:20px;border-bottom:1px solid var(--el-border-color);transition:var(--el-transition-border)}[data-v-a84c3ae1] .el-drawer__footer{padding:20px;border-top:1px solid var(--el-border-color);transition:var(--el-transition-border)}[data-v-a84c3ae1] .el-drawer__footer .el-button{width:100%}[data-v-a84c3ae1] .el-divider{margin:36px 0 24px;transition:var(--el-transition-border)}[data-v-a84c3ae1] .el-divider .el-divider__text{transition:background-color .3s,var(--el-transition-color)}.menu-mode[data-v-a84c3ae1]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;padding-bottom:10px}.menu-mode .mode[data-v-a84c3ae1]{position:relative;width:80px;height:55px;margin:10px;border-radius:5px;overflow:hidden;cursor:pointer;background-color:var(--g-app-bg);box-shadow:0 0 5px 1px var(--el-border-color-lighter);transition:.2s}.menu-mode .mode[data-v-a84c3ae1]:hover{box-shadow:0 0 5px 1px var(--el-border-color-darker)}.menu-mode .mode.active[data-v-a84c3ae1]{box-shadow:0 0 0 2px var(--el-color-primary)}.menu-mode .mode[data-v-a84c3ae1]:before,.menu-mode .mode[data-v-a84c3ae1]:after,.menu-mode .mode .mode-container[data-v-a84c3ae1]{pointer-events:none;position:absolute;border-radius:3px}.menu-mode .mode .mode-container[data-v-a84c3ae1]:before{content:"";position:absolute;width:100%;height:100%;background-color:var(--g-theme-color);opacity:.2}.menu-mode .mode-side[data-v-a84c3ae1]:before{content:"";top:5px;left:5px;bottom:5px;width:10px;background-color:var(--g-theme-color)}.menu-mode .mode-side[data-v-a84c3ae1]:after{content:"";top:5px;left:20px;bottom:5px;width:15px;background-color:var(--g-theme-color);opacity:.5}.menu-mode .mode-side .mode-container[data-v-a84c3ae1]{inset:5px 5px 5px 40px;border:1px dashed var(--g-theme-color)}.menu-mode .mode-head[data-v-a84c3ae1]:before{content:"";top:5px;left:5px;right:5px;height:10px;background-color:var(--g-theme-color)}.menu-mode .mode-head[data-v-a84c3ae1]:after{content:"";top:20px;left:5px;bottom:5px;width:15px;background-color:var(--g-theme-color);opacity:.5}.menu-mode .mode-head .mode-container[data-v-a84c3ae1]{inset:20px 5px 5px 25px;border:1px dashed var(--g-theme-color)}.menu-mode .mode-single[data-v-a84c3ae1]:before{content:"";position:absolute;top:5px;left:5px;bottom:5px;width:15px;background-color:var(--g-theme-color);opacity:.5}.menu-mode .mode-single .mode-container[data-v-a84c3ae1]{inset:5px 5px 5px 25px;border:1px dashed var(--g-theme-color)}.menu-mode .mode-only-side[data-v-a84c3ae1]:before{content:"";top:5px;left:5px;bottom:5px;width:10px;background-color:var(--g-theme-color)}.menu-mode .mode-only-side .mode-container[data-v-a84c3ae1]{inset:5px 5px 5px 20px;border:1px dashed var(--g-theme-color)}.menu-mode .mode-only-head[data-v-a84c3ae1]:before{content:"";top:5px;left:5px;right:5px;height:10px;background-color:var(--g-theme-color)}.menu-mode .mode-only-head .mode-container[data-v-a84c3ae1]{inset:20px 5px 5px;border:1px dashed var(--g-theme-color)}.menu-mode .mode .el-icon[data-v-a84c3ae1]{position:absolute;right:10px;bottom:10px;display:none}.menu-mode .mode.active .el-icon[data-v-a84c3ae1]{display:block;color:var(--el-color-primary)}.app-width-mode[data-v-a84c3ae1]{display:flex;align-items:center;justify-content:space-around;padding-bottom:10px}.app-width-mode .mode[data-v-a84c3ae1]{position:relative;width:65px;height:50px;border-radius:4px;overflow:hidden;cursor:pointer;color:var(--el-text-color-primary);background-color:var(--el-fill-color-darker);box-shadow:0 0 5px 1px var(--el-border-color-lighter);transition:background-color .3s,var(--el-transition-color),var(--el-transition-box-shadow)}.app-width-mode .mode[data-v-a84c3ae1]:hover{box-shadow:0 0 5px 1px var(--el-border-color-darker)}.app-width-mode .mode.active[data-v-a84c3ae1]{box-shadow:0 0 0 2px var(--el-color-primary)}.app-width-mode .mode-adaption .left[data-v-a84c3ae1],.app-width-mode .mode-adaption .right[data-v-a84c3ae1]{position:absolute;top:50%;margin-top:-8px}.app-width-mode .mode-adaption .left[data-v-a84c3ae1]{left:5px}.app-width-mode .mode-adaption .right[data-v-a84c3ae1]{right:5px}.app-width-mode .mode-adaption-min-width[data-v-a84c3ae1]{background:var(--el-bg-color)}.app-width-mode .mode-adaption-min-width[data-v-a84c3ae1]:before{content:"";position:absolute;left:50%;margin-left:-15px;height:100%;width:30px;background-color:var(--el-fill-color-darker);transition:background-color .3s}.app-width-mode .mode-adaption-min-width .left[data-v-a84c3ae1],.app-width-mode .mode-adaption-min-width .right[data-v-a84c3ae1]{position:absolute;top:50%;margin-top:-8px}.app-width-mode .mode-adaption-min-width .left[data-v-a84c3ae1]{left:0}.app-width-mode .mode-adaption-min-width .right[data-v-a84c3ae1]{right:0}.app-width-mode .mode-center[data-v-a84c3ae1]{background:var(--el-bg-color)}.app-width-mode .mode-center[data-v-a84c3ae1]:before{content:"";position:absolute;left:50%;margin-left:-20px;height:100%;width:40px;background-color:var(--el-fill-color-darker);transition:background-color .3s}.app-width-mode .mode-center-max-width[data-v-a84c3ae1]{background:var(--el-bg-color)}.app-width-mode .mode-center-max-width[data-v-a84c3ae1]:before{content:"";position:absolute;left:50%;margin-left:-20px;height:100%;width:40px;background-color:var(--el-fill-color-darker);transition:background-color .3s}.app-width-mode .mode-center-max-width .left[data-v-a84c3ae1],.app-width-mode .mode-center-max-width .right[data-v-a84c3ae1]{position:absolute;top:50%;margin-top:-8px}.app-width-mode .mode-center-max-width .left[data-v-a84c3ae1]{left:13px}.app-width-mode .mode-center-max-width .right[data-v-a84c3ae1]{right:13px}.app-width-mode .mode .active-icon[data-v-a84c3ae1]{position:absolute;right:2px;bottom:2px;display:none}.app-width-mode .mode.active .active-icon[data-v-a84c3ae1]{display:block;color:var(--el-color-primary)}.menu-style[data-v-a84c3ae1]{display:flex;align-items:center;justify-content:space-around;padding-bottom:10px}.enable-transition[data-v-a84c3ae1]{display:flex;align-items:center;justify-content:center;padding-bottom:10px}.transition-mode[data-v-a84c3ae1]{display:flex;align-items:center;justify-content:space-around;padding-bottom:10px}.transition-mode .mode[data-v-a84c3ae1]{position:relative;width:45px;height:30px;border-radius:4px;overflow:hidden;cursor:pointer;background-color:var(--el-bg-color);box-shadow:0 0 5px 1px var(--el-border-color-lighter);transition:background-color .3s,var(--el-transition-color),var(--el-transition-box-shadow)}.transition-mode .mode[data-v-a84c3ae1]:hover{box-shadow:0 0 5px 1px var(--el-border-color-darker)}.transition-mode .mode.active[data-v-a84c3ae1]{box-shadow:0 0 0 2px var(--el-color-primary)}.transition-mode .mode[data-v-a84c3ae1]:after{content:"";position:absolute;left:15%;top:15%;height:70%;width:70%;border-radius:4px;background-color:var(--el-fill-color-darker);transition:all .3s}.transition-mode .mode.mode-fade[data-v-a84c3ae1]:after{animation:transition-mode-fade-after-a84c3ae1 1.5s infinite}@keyframes transition-mode-fade-after-a84c3ae1{0%{opacity:1}30%,35%{opacity:0}65%{opacity:1}}.transition-mode .mode.mode-slide-left[data-v-a84c3ae1]:after{animation:transition-mode-slide-left-a84c3ae1 1.5s infinite}@keyframes transition-mode-slide-left-a84c3ae1{0%{opacity:1}30%{opacity:0;transform:translate(-30%)}35%{opacity:0;transform:translate(30%)}65%{opacity:1}}.transition-mode .mode.mode-slide-right[data-v-a84c3ae1]:after{animation:transition-mode-slide-right-a84c3ae1 1.5s infinite}@keyframes transition-mode-slide-right-a84c3ae1{0%{opacity:1}30%{opacity:0;transform:translate(30%)}35%{opacity:0;transform:translate(-30%)}to{opacity:1}}.transition-mode .mode.mode-slide-top[data-v-a84c3ae1]:after{animation:transition-mode-slide-top-a84c3ae1 1.5s infinite}@keyframes transition-mode-slide-top-a84c3ae1{0%{opacity:1}30%{opacity:0;transform:translateY(-30%)}35%{opacity:0;transform:translateY(30%)}to{opacity:1}}.transition-mode .mode.mode-slide-bottom[data-v-a84c3ae1]:after{animation:transition-mode-slide-bottom-a84c3ae1 1.5s infinite}@keyframes transition-mode-slide-bottom-a84c3ae1{0%{opacity:1}30%{opacity:0;transform:translateY(30%)}35%{opacity:0;transform:translateY(-30%)}to{opacity:1}}.color-scheme[data-v-a84c3ae1]{display:flex;align-items:center;justify-content:center;padding-bottom:10px}.color-scheme .switch[data-v-a84c3ae1]{width:50px;height:30px;border-radius:15px;cursor:pointer;background-color:var(--el-fill-color-darker);transition:background-color .3s}.color-scheme .switch.dark .icon[data-v-a84c3ae1]{transform:translate(20px)}.color-scheme .switch .icon[data-v-a84c3ae1]{margin:3px;padding:5px;font-size:24px;border-radius:50%;background-color:var(--el-fill-color-lighter);transition:transform .3s,background-color .3s}.theme[data-v-a84c3ae1]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-around;padding-bottom:10px}.theme [data-theme][data-v-a84c3ae1]{display:flex;align-items:center;justify-content:center;width:80px;height:50px;margin:10px;cursor:pointer;border-radius:5px;box-shadow:0 0 5px 1px var(--el-border-color-lighter);transition:.2s}.theme [data-theme][data-v-a84c3ae1]:hover{box-shadow:0 0 5px 1px var(--el-border-color-darker)}.theme [data-theme].active[data-v-a84c3ae1]{box-shadow:0 0 0 2px var(--el-color-primary)}.theme [data-theme].active .content[data-v-a84c3ae1]{transform:rotate(0)}.theme [data-theme] .content[data-v-a84c3ae1]{width:30px;height:16px;border-radius:50%;background-color:var(--g-theme-color);transform:rotate(-45deg);transition:var(--el-transition-md-fade),background-color .3s}.setting-item[data-v-a84c3ae1]{display:flex;align-items:center;justify-content:space-between;margin:5px 0;padding:5px 10px;border-radius:5px;transition:all .3s}.setting-item[data-v-a84c3ae1]:hover{background:var(--el-fill-color)}.setting-item .label[data-v-a84c3ae1]{font-size:14px;color:var(--el-text-color-regular);display:flex;align-items:center}.setting-item .label .el-icon[data-v-a84c3ae1]{margin-left:4px;font-size:17px;color:var(--el-color-warning);cursor:help}.setting-item .el-switch[data-v-a84c3ae1]{height:auto}.setting-item .el-input[data-v-a84c3ae1]{width:150px} diff --git a/assets/index-038207c0.css.br b/assets/index-038207c0.css.br new file mode 100644 index 0000000..fb80ddf Binary files /dev/null and b/assets/index-038207c0.css.br differ diff --git a/assets/index-038207c0.css.gz b/assets/index-038207c0.css.gz new file mode 100644 index 0000000..69a6ab1 Binary files /dev/null and b/assets/index-038207c0.css.gz differ diff --git a/assets/index-03af770c.js b/assets/index-03af770c.js new file mode 100644 index 0000000..5ff6a0a --- /dev/null +++ b/assets/index-03af770c.js @@ -0,0 +1 @@ +import{d as I,r as f,B as S,aa as P,e as r,o as p,L as c,w as g,g as m,i as o,f as U,Q as D,U as R,V as q,q as E}from"./index-17000ae8.js";import{u as F}from"./usePagination-e0d8e4d1.js";const M=I({__name:"index",props:{modelValue:{type:Boolean,default:!1},id:{default:""},info:{default:{}}},emits:["update:modelValue"],setup(_,{emit:b}){const t=_,u=f(t.modelValue),{pagination:s,getParams:h,onSizeChange:v,onCurrentChange:C,onSortChange:x}=F(),e=f({loading:!1,dataList:[],border:!1,stripe:!1,header:!0,columns:[]});S(()=>{i()});function i(){e.value.loading=!0;const l=h();t.id&&(l.id=t.id),t.info.code&&(l.code=t.info.code),P.get("pages_example/table/preview",{baseURL:"/mock/",params:l}).then(a=>{e.value.loading=!1,e.value.dataList=a.data.list,s.value.total=a.data.total,t.id?(e.value.border=a.data.tableInfo.border,e.value.stripe=a.data.tableInfo.stripe,e.value.header=a.data.tableInfo.header,e.value.columns=a.data.tableInfo.columns.filter(d=>d.enable)):(e.value.border=t.info.border,e.value.stripe=t.info.stripe,e.value.header=t.info.header,e.value.columns=t.info.columns.filter(d=>d.enable))})}function w(l){v(l).then(()=>i())}function y(l=1){C(l).then(()=>i())}function V({prop:l,order:a}){x(l,a).then(()=>i())}return(l,a)=>{const d=r("el-table-column"),z=r("el-table"),k=r("el-pagination"),L=r("el-dialog");return p(),c(L,{modelValue:o(u),"onUpdate:modelValue":a[0]||(a[0]=n=>q(u)?u.value=n:null),title:"预览",width:"80%","close-on-click-modal":!1,"append-to-body":"","destroy-on-close":"",onClosed:a[1]||(a[1]=n=>b("update:modelValue",!1))},{default:g(()=>[m(z,{data:o(e).dataList,border:o(e).border,stripe:o(e).stripe,"show-header":o(e).header,onSortChange:V},{default:g(()=>[(p(!0),U(D,null,R(o(e).columns,(n,B)=>(p(),c(d,{key:B,label:n.name,prop:n.field,width:n.width,align:n.align,sortable:n.sortable,fixed:n.fixed?n.fixed:!1},null,8,["label","prop","width","align","sortable","fixed"]))),128))]),_:1},8,["data","border","stripe","show-header"]),m(k,{"current-page":o(s).page,total:o(s).total,"page-size":o(s).size,"page-sizes":o(s).sizes,layout:o(s).layout,"hide-on-single-page":!1,class:"pagination",background:"",onCurrentChange:y,onSizeChange:w},null,8,["current-page","total","page-size","page-sizes","layout"])]),_:1},8,["modelValue"])}}});const T=E(M,[["__scopeId","data-v-3007df9e"]]);export{T as default}; diff --git a/assets/index-03af770c.js.br b/assets/index-03af770c.js.br new file mode 100644 index 0000000..20f3b23 Binary files /dev/null and b/assets/index-03af770c.js.br differ diff --git a/assets/index-03af770c.js.gz b/assets/index-03af770c.js.gz new file mode 100644 index 0000000..2645ab6 Binary files /dev/null and b/assets/index-03af770c.js.gz differ diff --git a/assets/index-04e98486.js b/assets/index-04e98486.js new file mode 100644 index 0000000..5a13e6c --- /dev/null +++ b/assets/index-04e98486.js @@ -0,0 +1 @@ +import{d as k,e,o as t,f as l,g as n,w as o,l as x,Q as C,U as v,L as w,N as B,_ as E,S as N,R as h,x as c}from"./index-17000ae8.js";import L from"./icon-a93f3cf2.js";import P from"./button-91f11ee0.js";import y from"./link-264115a5.js";import{_ as V}from"./radio.vue_vue_type_script_setup_true_lang-a5ebcaf0.js";import{_ as z}from"./checkbox.vue_vue_type_script_setup_true_lang-0c8884a9.js";import{_ as D}from"./input.vue_vue_type_script_setup_true_lang-4edbe0e3.js";import{_ as F}from"./inputnumber.vue_vue_type_script_setup_true_lang-d74a5dad.js";import{_ as I}from"./select.vue_vue_type_script_setup_true_lang-0fb6e2c3.js";import{_ as Q}from"./switch.vue_vue_type_script_setup_true_lang-c578dbf0.js";import{_ as R}from"./slider.vue_vue_type_script_setup_true_lang-71aaee4e.js";import{_ as S}from"./rate.vue_vue_type_script_setup_true_lang-40cedd8e.js";const T=k({__name:"index",setup(U){const r={图标:L,按钮:P,文字链接:y,单选框:V,多选框:z,输入框:D,数字输入框:F,选择器:I,开关:Q,滑块:R,评分:S};function i(_){window.open(_,"_blank")}return(_,a)=>{const p=E,f=e("el-icon"),u=e("el-button"),d=N,b=e("el-tab-pane"),$=e("el-tabs"),g=h;return t(),l("div",null,[n(d,{title:"基础组件",content:"由 Element Plus 提供,本页仅展示部分组件,更多组件及使用说明请查看 Element Plus 官网"},{default:o(()=>[n(u,{onClick:a[0]||(a[0]=s=>i("https://element-plus.org/#/zh-CN"))},{icon:o(()=>[n(f,null,{default:o(()=>[n(p,{name:"i-ep:link"})]),_:1})]),default:o(()=>[x(" Element Plus 官网 ")]),_:1})]),_:1}),n(g,null,{default:o(()=>[n($,{type:"border-card"},{default:o(()=>[(t(),l(C,null,v(r,(s,m)=>n(b,{key:m,label:m},{default:o(()=>[(t(),w(B(s)))]),_:2},1032,["label"])),64))]),_:1})]),_:1})])}}});typeof c=="function"&&c(T);export{T as default}; diff --git a/assets/index-04e98486.js.br b/assets/index-04e98486.js.br new file mode 100644 index 0000000..864ff19 Binary files /dev/null and b/assets/index-04e98486.js.br differ diff --git a/assets/index-04e98486.js.gz b/assets/index-04e98486.js.gz new file mode 100644 index 0000000..44cc549 Binary files /dev/null and b/assets/index-04e98486.js.gz differ diff --git a/assets/index-0c55581d.js b/assets/index-0c55581d.js new file mode 100644 index 0000000..b2a9c8b --- /dev/null +++ b/assets/index-0c55581d.js @@ -0,0 +1 @@ +import{d as i,y as d,r as l,G as p,e as f,o,L as g,w as h,f as r,i as e,O as c,t as k,J as y,q as w}from"./index-17000ae8.js";import{i as x}from"./logo-5973ee4a.js";const B=["src"],C={key:1},L=i({name:"Logo"}),b=i({...L,props:{showLogo:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},setup(s){const n=d(),a=l("Fantastic-admin 专业版"),_=l(x),m=p(()=>{const t={};return n.settings.home.enable&&(t.name="home"),t});return(t,v)=>{const u=f("router-link");return o(),g(u,{to:e(m),class:y(["title",{"is-link":e(n).settings.home.enable}]),title:e(a)},{default:h(()=>[s.showLogo?(o(),r("img",{key:0,src:e(_),class:"logo"},null,8,B)):c("",!0),s.showTitle?(o(),r("span",C,k(e(a)),1)):c("",!0)]),_:1},8,["to","class","title"])}}});const q=w(b,[["__scopeId","data-v-4b23465d"]]);export{q as default}; diff --git a/assets/index-0e0e79d2.js b/assets/index-0e0e79d2.js new file mode 100644 index 0000000..2179440 --- /dev/null +++ b/assets/index-0e0e79d2.js @@ -0,0 +1 @@ +import{d as k,bZ as m,e as C,o as S,f as g,g as e,w as t,l,i,h as c,S as B,R as x,x as d}from"./index-17000ae8.js";const I=c("p",null,"如果目标地址已在标签栏存在,则直接切换并访问。如果目标地址在标签栏不存在,则会在当前标签页后面插入新的标签页。",-1),y=c("p",null,"关闭当前标签页,同时跳转到新页面。",-1),R=c("p",null,"如果当前只有一个标签时,则无法关闭。",-1),L=c("p",null,"如果关闭的是当前标签页,则会在关闭后跳转至紧邻的标签页。",-1),N=c("p",null,"如果关闭的目标页面不存在,则无法关闭。",-1),O=c("p",null,"除了提供关闭非当前标签页的 API 外,还提供了校验 API 。",-1),V=k({__name:"index",setup(v){const o=m();function a(){o.open("/")}function _(){o.close("/")}function u(){o.closeById()}function f(){o.closeById("/")}function p(){o.closeOtherSide()}function r(){o.closeLeftSide()}function h(){o.closeRightSide()}return(w,A)=>{const b=B,n=C("el-button"),s=x;return S(),g("div",null,[e(b,{title:"标签栏",content:"功能类似于浏览器的标签栏,支持右键操作"}),e(s,{title:"打开新标签页"},{default:t(()=>[I,e(n,{onClick:a},{default:t(()=>[l(" 打开主页 ")]),_:1})]),_:1}),e(s,{title:"关闭当前标签页并跳转"},{default:t(()=>[y,e(n,{onClick:_},{default:t(()=>[l(" 关闭当前标签页,并跳转到主页 ")]),_:1})]),_:1}),e(s,{title:"关闭指定标签页"},{default:t(()=>[R,L,N,e(n,{onClick:u},{default:t(()=>[l(" 关闭当前页面 ")]),_:1}),e(n,{onClick:f},{default:t(()=>[l(" 关闭主页 ")]),_:1})]),_:1}),e(s,{title:"关闭非当前标签页"},{default:t(()=>[O,e(n,{disabled:!i(o).checkCloseOtherSide(),onClick:p},{default:t(()=>[l(" 关闭两侧标签页 ")]),_:1},8,["disabled"]),e(n,{disabled:!i(o).checkCloseLeftSide(),onClick:r},{default:t(()=>[l(" 关闭左侧标签页 ")]),_:1},8,["disabled"]),e(n,{disabled:!i(o).checkCloseRightSide(),onClick:h},{default:t(()=>[l(" 关闭右侧标签页 ")]),_:1},8,["disabled"])]),_:1})])}}});typeof d=="function"&&d(V);export{V as default}; diff --git a/assets/index-0e0e79d2.js.br b/assets/index-0e0e79d2.js.br new file mode 100644 index 0000000..4b7ddf4 Binary files /dev/null and b/assets/index-0e0e79d2.js.br differ diff --git a/assets/index-0e0e79d2.js.gz b/assets/index-0e0e79d2.js.gz new file mode 100644 index 0000000..1a2792a Binary files /dev/null and b/assets/index-0e0e79d2.js.gz differ diff --git a/assets/index-143ef6a4.css b/assets/index-143ef6a4.css new file mode 100644 index 0000000..bb0c9ad --- /dev/null +++ b/assets/index-143ef6a4.css @@ -0,0 +1 @@ +#search[data-v-e1ba618a]{position:fixed;z-index:2000;top:0;left:0;width:100%;height:100%;background-image:radial-gradient(transparent 1px,rgba(0,0,0,.3) 1px);background-size:4px 4px;-webkit-backdrop-filter:saturate(50%) blur(4px);backdrop-filter:saturate(50%) blur(4px);transition:all .2s;opacity:0;visibility:hidden}#search.searching[data-v-e1ba618a]{opacity:1;visibility:visible}#search.searching .container[data-v-e1ba618a]{transform:initial;filter:initial}#search .container[data-v-e1ba618a]{display:flex;flex-direction:column;max-width:800px;height:100%;margin:0 auto;transition:all .2s;transform:scale(1.1);filter:blur(10px)}#search .container .search-box[data-v-e1ba618a]{margin:50px 20px 40px;text-align:center}#search .container .search-box .switch-type[data-v-e1ba618a]{margin:-20px 0 20px}#search .container .search-box[data-v-e1ba618a] .el-input__inner{height:52px;line-height:52px}#search .container .search-box .tips[data-v-e1ba618a]{display:flex;justify-content:center;padding-top:20px;font-weight:700}#search .container .search-box .tips .tip[data-v-e1ba618a]{display:flex;align-items:center;justify-content:center;margin:0 20px}#search .container .search-box .tips .tip .el-tag[data-v-e1ba618a]{margin:0 5px}#search .container .search-box .tips .tip .el-tag[data-v-e1ba618a]:first-child{margin-left:0}#search .container .search-box .tips .tip .el-tag[data-v-e1ba618a]:last-child{margin-right:0}#search .container .search-box .tips .tip .el-tag[data-v-e1ba618a] .el-tag__content{display:inline-flex;align-items:center}#search .container .result[data-v-e1ba618a]{position:relative;margin:0 20px 50px;border-radius:5px;overflow:auto;background-color:var(--el-bg-color);box-shadow:0 0 0 1px var(--el-border-color-darker)}#search .container .result .item[data-v-e1ba618a]{display:flex;align-items:center;text-decoration:none;cursor:pointer;transition:all .1s}#search .container .result .item.actived[data-v-e1ba618a]{background-color:var(--el-bg-color-page)}#search .container .result .item.actived .icon .el-icon[data-v-e1ba618a]{color:var(--el-color-primary);transform:scale(1.2)}#search .container .result .item.actived .info[data-v-e1ba618a]{border-left-color:var(--el-border-color)}#search .container .result .item.actived .info .title[data-v-e1ba618a]{color:var(--el-text-color-primary)}#search .container .result .item.actived .info .breadcrumb[data-v-e1ba618a],#search .container .result .item.actived .info .path[data-v-e1ba618a]{color:var(--el-text-color-regular)}#search .container .result .item .icon[data-v-e1ba618a]{flex:0 0 66px;text-align:center}#search .container .result .item .icon .el-icon[data-v-e1ba618a]{color:var(--el-color-info);font-size:20px;transition:all .1s}#search .container .result .item .info[data-v-e1ba618a]{flex:1;height:70px;display:flex;flex-direction:column;justify-content:space-around;border-left:1px solid var(--el-border-color-lighter);padding:5px 10px 7px;transition:all .1s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#search .container .result .item .info .title[data-v-e1ba618a]{font-size:18px;font-weight:700;color:var(--el-text-color-regular);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#search .container .result .item .info .title .el-icon[data-v-e1ba618a]{font-size:14px}#search .container .result .item .info .breadcrumb[data-v-e1ba618a],#search .container .result .item .info .path[data-v-e1ba618a]{font-size:12px;color:var(--el-text-color-secondary);transition:all .1s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#search .container .result .item .info .breadcrumb[data-v-e1ba618a],#search .container .result .item .info .breadcrumb span[data-v-e1ba618a]{display:flex;align-items:center}#search .container .result .item .info .breadcrumb span .el-icon[data-v-e1ba618a]{margin:0 5px}#search .container .result .item .info .breadcrumb span:last-child .el-icon[data-v-e1ba618a]{display:none} diff --git a/assets/index-143ef6a4.css.br b/assets/index-143ef6a4.css.br new file mode 100644 index 0000000..99ca32a Binary files /dev/null and b/assets/index-143ef6a4.css.br differ diff --git a/assets/index-143ef6a4.css.gz b/assets/index-143ef6a4.css.gz new file mode 100644 index 0000000..2fc0795 Binary files /dev/null and b/assets/index-143ef6a4.css.gz differ diff --git a/assets/index-150955f0.js b/assets/index-150955f0.js new file mode 100644 index 0000000..cbd18e9 --- /dev/null +++ b/assets/index-150955f0.js @@ -0,0 +1 @@ +import{d as j,r as v,B as G,aa as C,a1 as T,e as i,o as S,f as H,g as e,w as l,i as r,L as J,h as $,t as O,l as m,E as g,_ as Q,q as W}from"./index-17000ae8.js";import{S as X}from"./sortable.esm-be94e56d.js";const Y={class:"form"},Z={class:"index"},I={class:"action-bottom"},ee=j({__name:"index",props:{id:{default:""}},emits:["success","cancel","preview"],setup(B,{emit:V}){const h=B,w=v(),t=v({id:h.id,name:"",code:"",border:!1,stripe:!1,header:!0,columns:[]}),q=v({name:[{required:!0,message:"请输入表格名称",trigger:"blur"}],code:[{required:!0,message:"请输入表格唯一标识",trigger:"blur"}],columns:[{validator:(n,o,d)=>{o.length===0?d(new Error("请添加列信息")):o.some(s=>s.name==="")?d(new Error("列名称不能为空")):o.some(s=>s.field==="")?d(new Error("列字段不能为空")):d()}}]}),x=v(),k=v(0);G(()=>{h.id!==""&&C.get("pages_example/table/detail",{params:{id:h.id},baseURL:"/mock/"}).then(n=>{t.value.id=n.data.id,t.value.name=n.data.name,t.value.code=n.data.code,t.value.border=n.data.border,t.value.stripe=n.data.stripe,t.value.header=n.data.header,t.value.columns=n.data.columns}),R()});function L(){t.value.columns.push({name:"",field:"",width:"100",align:"left",sortable:!1,fixed:"",enable:!0}),T(()=>{x.value.setScrollTop(t.value.columns.length*50)})}function D(n){t.value.columns.splice(n,1)}function R(){const n=x.value.$el.querySelector(".el-table__body-wrapper tbody");X.create(n,{handle:".sortable",animation:300,ghostClass:"ghost",onEnd:({newIndex:o,oldIndex:d})=>{if(o===void 0||d===void 0)return;const s=t.value.columns.splice(d,1)[0];t.value.columns.splice(o,0,s),k.value+=1,T(()=>R())}})}function F(){var n;(n=w.value)==null||n.validate(o=>{o&&(t.value.id===""?C.post("pages_example/table/create",t.value,{baseURL:"/mock/"}).then(()=>{g.success({message:"模拟新增成功",center:!0}),V("success")}):C.post("pages_example/table/edit",t.value,{baseURL:"/mock/"}).then(()=>{g.success({message:"模拟编辑成功",center:!0}),V("success")}))})}async function N(){var d,s;const n=await((d=w.value)==null?void 0:d.validateField("code",p=>{p||g.error("请先完善表格唯一标识")})),o=await((s=w.value)==null?void 0:s.validateField("columns",p=>{p||g.error("请先完善列信息")}));n&&o&&V("preview",{code:t.value.code,border:t.value.border,stripe:t.value.stripe,header:t.value.header,columns:t.value.columns})}return(n,o)=>{const d=i("el-input"),s=i("el-form-item"),p=i("el-col"),f=i("el-switch"),z=i("el-space"),M=i("el-row"),U=Q,y=i("el-icon"),b=i("el-button"),c=i("el-table-column"),A=i("el-tag"),_=i("el-radio-button"),E=i("el-radio-group"),K=i("el-table"),P=i("el-form");return S(),H("div",Y,[e(P,{ref_key:"formRef",ref:w,model:r(t),rules:r(q),"label-width":"100px","label-position":"top"},{default:l(()=>[e(M,{gutter:20},{default:l(()=>[e(p,{span:8},{default:l(()=>[e(s,{label:"表格名称",prop:"name"},{default:l(()=>[e(d,{modelValue:r(t).name,"onUpdate:modelValue":o[0]||(o[0]=a=>r(t).name=a),placeholder:"请输入中文描述标题"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:8},{default:l(()=>[e(s,{label:"标识",prop:"code"},{default:l(()=>[e(d,{modelValue:r(t).code,"onUpdate:modelValue":o[1]||(o[1]=a=>r(t).code=a),placeholder:"请输入唯一标识"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:8},{default:l(()=>[e(s,{label:"表格样式"},{default:l(()=>[e(z,{wrap:""},{default:l(()=>[e(f,{modelValue:r(t).border,"onUpdate:modelValue":o[2]||(o[2]=a=>r(t).border=a),"active-text":"开启边框","inactive-text":"关闭边框","inline-prompt":""},null,8,["modelValue"]),e(f,{modelValue:r(t).stripe,"onUpdate:modelValue":o[3]||(o[3]=a=>r(t).stripe=a),"active-text":"开启斑马纹","inactive-text":"关闭斑马纹","inline-prompt":""},null,8,["modelValue"]),e(f,{modelValue:r(t).header,"onUpdate:modelValue":o[4]||(o[4]=a=>r(t).header=a),"active-text":"显示表头","inactive-text":"隐藏表头","inline-prompt":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,{label:"列信息",prop:"columns",class:"columns-table"},{default:l(()=>[(S(),J(K,{ref_key:"columnsTableRef",ref:x,key:r(k),data:r(t).columns,border:"",stripe:"","highlight-current-row":""},{default:l(()=>[e(c,{width:"60",align:"center",fixed:""},{header:l(()=>[e(b,{type:"primary",size:"small",plain:"",circle:"",onClick:L},{icon:l(()=>[e(y,null,{default:l(()=>[e(U,{name:"i-ep:plus"})]),_:1})]),_:1})]),default:l(a=>[$("span",Z,O(a.$index+1),1),e(b,{type:"danger",size:"small",plain:"",circle:"",class:"delete",onClick:u=>D(a.$index)},{icon:l(()=>[e(y,null,{default:l(()=>[e(U,{name:"i-ep:delete"})]),_:1})]),_:2},1032,["onClick"])]),_:1}),e(c,{width:"80",align:"center",fixed:""},{header:l(()=>[m(" 排序 ")]),default:l(()=>[e(A,{type:"info",class:"sortable"},{default:l(()=>[e(y,null,{default:l(()=>[e(U,{name:"i-ep:d-caret"})]),_:1})]),_:1})]),_:1}),e(c,{label:"名称","min-width":"200"},{default:l(a=>[e(d,{modelValue:a.row.name,"onUpdate:modelValue":u=>a.row.name=u},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),e(c,{label:"字段",width:"150"},{default:l(a=>[e(d,{modelValue:a.row.field,"onUpdate:modelValue":u=>a.row.field=u},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),e(c,{label:"宽度",width:"120"},{default:l(a=>[e(d,{modelValue:a.row.width,"onUpdate:modelValue":u=>a.row.width=u},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),e(c,{label:"对齐",width:"240",align:"center"},{default:l(a=>[e(E,{modelValue:a.row.align,"onUpdate:modelValue":u=>a.row.align=u},{default:l(()=>[e(_,{label:"left"},{default:l(()=>[m(" 左对齐 ")]),_:1}),e(_,{label:"center"},{default:l(()=>[m(" 居中 ")]),_:1}),e(_,{label:"right"},{default:l(()=>[m(" 右对齐 ")]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:1}),e(c,{label:"固定",width:"260",align:"center"},{default:l(a=>[e(E,{modelValue:a.row.fixed,"onUpdate:modelValue":u=>a.row.fixed=u},{default:l(()=>[e(_,{label:"left"},{default:l(()=>[m(" 固定左侧 ")]),_:1}),e(_,{label:""},{default:l(()=>[m(" 默认 ")]),_:1}),e(_,{label:"right"},{default:l(()=>[m(" 固定右侧 ")]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:1}),e(c,{label:"排序",width:"80",align:"center"},{default:l(a=>[e(f,{modelValue:a.row.sortable,"onUpdate:modelValue":u=>a.row.sortable=u,"inline-prompt":"","active-text":"启用","inactive-text":"禁用"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),e(c,{label:"状态",width:"80",align:"center"},{default:l(a=>[e(f,{modelValue:a.row.enable,"onUpdate:modelValue":u=>a.row.enable=u,"inline-prompt":"","active-text":"显示","inactive-text":"隐藏"},null,8,["modelValue","onUpdate:modelValue"])]),_:1})]),_:1},8,["data"]))]),_:1})]),_:1},8,["model","rules"]),$("div",I,[e(b,{type:"primary",onClick:F},{default:l(()=>[m(" 保存 ")]),_:1}),e(b,{type:"info",onClick:N},{default:l(()=>[m(" 预览 ")]),_:1}),e(b,{onClick:o[5]||(o[5]=a=>V("cancel"))},{default:l(()=>[m(" 取消 ")]),_:1})])])}}});const te=W(ee,[["__scopeId","data-v-c50f4437"]]);export{te as default}; diff --git a/assets/index-150955f0.js.br b/assets/index-150955f0.js.br new file mode 100644 index 0000000..7ad31f0 Binary files /dev/null and b/assets/index-150955f0.js.br differ diff --git a/assets/index-150955f0.js.gz b/assets/index-150955f0.js.gz new file mode 100644 index 0000000..2a0f848 Binary files /dev/null and b/assets/index-150955f0.js.gz differ diff --git a/assets/index-17000ae8.js b/assets/index-17000ae8.js new file mode 100644 index 0000000..e65b5e1 --- /dev/null +++ b/assets/index-17000ae8.js @@ -0,0 +1,454 @@ +(function(){const j=document.createElement("link").relList;if(j&&j.supports&&j.supports("modulepreload"))return;for(const ie of document.querySelectorAll('link[rel="modulepreload"]'))ae(ie);new MutationObserver(ie=>{for(const le of ie)if(le.type==="childList")for(const de of le.addedNodes)de.tagName==="LINK"&&de.rel==="modulepreload"&&ae(de)}).observe(document,{childList:!0,subtree:!0});function oe(ie){const le={};return ie.integrity&&(le.integrity=ie.integrity),ie.referrerPolicy&&(le.referrerPolicy=ie.referrerPolicy),ie.crossOrigin==="use-credentials"?le.credentials="include":ie.crossOrigin==="anonymous"?le.credentials="omit":le.credentials="same-origin",le}function ae(ie){if(ie.ep)return;ie.ep=!0;const le=oe(ie);fetch(ie.href,le)}})();(function(){var oe;const $=document.createElement("script");$.src="https://hm.baidu.com/hm.js?c31a3e8267162de8420bc73e06d62463";const j=document.getElementsByTagName("script")[0];(oe=j.parentNode)==null||oe.insertBefore($,j)})();{const $="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",j=`${$} background: #e24329;`,oe=`${$} background: #707070;`;navigator.language.toLowerCase()==="zh-cn"?console.info("%c由%cFantastic-admin%c驱动",oe,j,oe,` +https://gitee.com/hooray/fantastic-admin`):console.info("%cPowered by%cFantastic-admin",oe,j,` +https://github.com/hooray/fantastic-admin`)}const 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=$=>getComputedStyle($).position==="fixed"?!1:$.offsetParent!==null,obtainAllFocusableElements$1=$=>Array.from($.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(j=>isFocusable(j)&&isVisible(j)),isFocusable=$=>{if($.tabIndex>0||$.tabIndex===0&&$.getAttribute("tabIndex")!==null)return!0;if($.disabled)return!1;switch($.nodeName){case"A":return!!$.href&&$.rel!=="ignore";case"INPUT":return!($.type==="hidden"||$.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent$3=function($,j,...oe){let ae;j.includes("mouse")||j.includes("click")?ae="MouseEvents":j.includes("key")?ae="KeyboardEvent":ae="HTMLEvents";const ie=document.createEvent(ae);return ie.initEvent(j,...oe),$.dispatchEvent(ie),$},isLeaf=$=>!$.getAttribute("aria-owns"),getSibling=($,j,oe)=>{const{parentNode:ae}=$;if(!ae)return null;const ie=ae.querySelectorAll(oe),le=Array.prototype.indexOf.call(ie,$);return ie[le+j]||null},focusNode=$=>{$&&($.focus(),!isLeaf($)&&$.click())},composeEventHandlers=($,j,{checkForDefaultPrevented:oe=!0}={})=>ie=>{const le=$==null?void 0:$(ie);if(oe===!1||!le)return j==null?void 0:j(ie)},whenMouse=$=>j=>j.pointerType==="mouse"?$(j):void 0;function makeMap($,j){const oe=Object.create(null),ae=$.split(",");for(let ie=0;ie!!oe[ie.toLowerCase()]:ie=>!!oe[ie]}const GLOBALS_WHITE_LISTED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",isGloballyWhitelisted=makeMap(GLOBALS_WHITE_LISTED);function normalizeStyle($){if(isArray$x($)){const j={};for(let oe=0;oe<$.length;oe++){const ae=$[oe],ie=isString$d(ae)?parseStringStyle(ae):normalizeStyle(ae);if(ie)for(const le in ie)j[le]=ie[le]}return j}else{if(isString$d($))return $;if(isObject$8($))return $}}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*.*?\*\//gs;function parseStringStyle($){const j={};return $.replace(styleCommentRE,"").split(listDelimiterRE).forEach(oe=>{if(oe){const ae=oe.split(propertyDelimiterRE);ae.length>1&&(j[ae[0].trim()]=ae[1].trim())}}),j}function normalizeClass($){let j="";if(isString$d($))j=$;else if(isArray$x($))for(let oe=0;oe<$.length;oe++){const ae=normalizeClass($[oe]);ae&&(j+=ae+" ")}else if(isObject$8($))for(const oe in $)$[oe]&&(j+=oe+" ");return j.trim()}function normalizeProps($){if(!$)return null;let{class:j,style:oe}=$;return j&&!isString$d(j)&&($.class=normalizeClass(j)),oe&&($.style=normalizeStyle(oe)),$}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr($){return!!$||$===""}function looseCompareArrays($,j){if($.length!==j.length)return!1;let oe=!0;for(let ae=0;oe&&ae<$.length;ae++)oe=looseEqual($[ae],j[ae]);return oe}function looseEqual($,j){if($===j)return!0;let oe=isDate$b($),ae=isDate$b(j);if(oe||ae)return oe&&ae?$.getTime()===j.getTime():!1;if(oe=isSymbol$4($),ae=isSymbol$4(j),oe||ae)return $===j;if(oe=isArray$x($),ae=isArray$x(j),oe||ae)return oe&&ae?looseCompareArrays($,j):!1;if(oe=isObject$8($),ae=isObject$8(j),oe||ae){if(!oe||!ae)return!1;const ie=Object.keys($).length,le=Object.keys(j).length;if(ie!==le)return!1;for(const de in $){const ue=$.hasOwnProperty(de),pe=j.hasOwnProperty(de);if(ue&&!pe||!ue&&pe||!looseEqual($[de],j[de]))return!1}}return String($)===String(j)}function looseIndexOf($,j){return $.findIndex(oe=>looseEqual(oe,j))}const toDisplayString$1=$=>isString$d($)?$:$==null?"":isArray$x($)||isObject$8($)&&($.toString===objectToString$5||!isFunction$h($.toString))?JSON.stringify($,replacer,2):String($),replacer=($,j)=>j&&j.__v_isRef?replacer($,j.value):isMap$4(j)?{[`Map(${j.size})`]:[...j.entries()].reduce((oe,[ae,ie])=>(oe[`${ae} =>`]=ie,oe),{})}:isSet$4(j)?{[`Set(${j.size})`]:[...j.values()]}:isObject$8(j)&&!isArray$x(j)&&!isPlainObject$b(j)?String(j):j,EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=$=>onRE.test($),isModelListener=$=>$.startsWith("onUpdate:"),extend$1=Object.assign,remove$3=($,j)=>{const oe=$.indexOf(j);oe>-1&&$.splice(oe,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$1=($,j)=>hasOwnProperty$g.call($,j),isArray$x=Array.isArray,isMap$4=$=>toTypeString$1($)==="[object Map]",isSet$4=$=>toTypeString$1($)==="[object Set]",isDate$b=$=>toTypeString$1($)==="[object Date]",isRegExp$6=$=>toTypeString$1($)==="[object RegExp]",isFunction$h=$=>typeof $=="function",isString$d=$=>typeof $=="string",isSymbol$4=$=>typeof $=="symbol",isObject$8=$=>$!==null&&typeof $=="object",isPromise=$=>isObject$8($)&&isFunction$h($.then)&&isFunction$h($.catch),objectToString$5=Object.prototype.toString,toTypeString$1=$=>objectToString$5.call($),toRawType=$=>toTypeString$1($).slice(8,-1),isPlainObject$b=$=>toTypeString$1($)==="[object Object]",isIntegerKey=$=>isString$d($)&&$!=="NaN"&&$[0]!=="-"&&""+parseInt($,10)===$,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=$=>{const j=Object.create(null);return oe=>j[oe]||(j[oe]=$(oe))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction($=>$.replace(camelizeRE,(j,oe)=>oe?oe.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction($=>$.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$2=cacheStringFunction($=>$.charAt(0).toUpperCase()+$.slice(1)),toHandlerKey=cacheStringFunction($=>$?`on${capitalize$2($)}`:""),hasChanged=($,j)=>!Object.is($,j),invokeArrayFns=($,j)=>{for(let oe=0;oe<$.length;oe++)$[oe](j)},def=($,j,oe)=>{Object.defineProperty($,j,{configurable:!0,enumerable:!1,value:oe})},looseToNumber=$=>{const j=parseFloat($);return isNaN(j)?$:j},toNumber$9=$=>{const j=isString$d($)?Number($):NaN;return isNaN(j)?$:j};let _globalThis$1;const getGlobalThis$1=()=>_globalThis$1||(_globalThis$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let activeEffectScope;class EffectScope{constructor(j=!1){this.detached=j,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!j&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(j){if(this._active){const oe=activeEffectScope;try{return activeEffectScope=this,j()}finally{activeEffectScope=oe}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(j){if(this._active){let oe,ae;for(oe=0,ae=this.effects.length;oe{const j=new Set($);return j.w=0,j.n=0,j},wasTracked=$=>($.w&trackOpBit)>0,newTracked=$=>($.n&trackOpBit)>0,initDepMarkers=({deps:$})=>{if($.length)for(let j=0;j<$.length;j++)$[j].w|=trackOpBit},finalizeDepMarkers=$=>{const{deps:j}=$;if(j.length){let oe=0;for(let ae=0;ae{(_e==="length"||_e>=pe)&&ue.push(he)})}else switch(oe!==void 0&&ue.push(de.get(oe)),j){case"add":isArray$x($)?isIntegerKey(oe)&&ue.push(de.get("length")):(ue.push(de.get(ITERATE_KEY)),isMap$4($)&&ue.push(de.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$x($)||(ue.push(de.get(ITERATE_KEY)),isMap$4($)&&ue.push(de.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$4($)&&ue.push(de.get(ITERATE_KEY));break}if(ue.length===1)ue[0]&&triggerEffects(ue[0]);else{const pe=[];for(const he of ue)he&&pe.push(...he);triggerEffects(createDep(pe))}}function triggerEffects($,j){const oe=isArray$x($)?$:[...$];for(const ae of oe)ae.computed&&triggerEffect(ae);for(const ae of oe)ae.computed||triggerEffect(ae)}function triggerEffect($,j){($!==activeEffect||$.allowRecurse)&&($.scheduler?$.scheduler():$.run())}function getDepFromReactive($,j){var oe;return(oe=targetMap.get($))===null||oe===void 0?void 0:oe.get(j)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter($=>$!=="arguments"&&$!=="caller").map($=>Symbol[$]).filter(isSymbol$4)),get$1$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),shallowReadonlyGet=createGetter(!0,!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const $={};return["includes","indexOf","lastIndexOf"].forEach(j=>{$[j]=function(...oe){const ae=toRaw(this);for(let le=0,de=this.length;le{$[j]=function(...oe){pauseTracking();const ae=toRaw(this)[j].apply(this,oe);return resetTracking(),ae}}),$}function hasOwnProperty$f($){const j=toRaw(this);return track(j,"has",$),j.hasOwnProperty($)}function createGetter($=!1,j=!1){return function(ae,ie,le){if(ie==="__v_isReactive")return!$;if(ie==="__v_isReadonly")return $;if(ie==="__v_isShallow")return j;if(ie==="__v_raw"&&le===($?j?shallowReadonlyMap:readonlyMap:j?shallowReactiveMap:reactiveMap).get(ae))return ae;const de=isArray$x(ae);if(!$){if(de&&hasOwn$1(arrayInstrumentations,ie))return Reflect.get(arrayInstrumentations,ie,le);if(ie==="hasOwnProperty")return hasOwnProperty$f}const ue=Reflect.get(ae,ie,le);return(isSymbol$4(ie)?builtInSymbols.has(ie):isNonTrackableKeys(ie))||($||track(ae,"get",ie),j)?ue:isRef(ue)?de&&isIntegerKey(ie)?ue:ue.value:isObject$8(ue)?$?readonly(ue):reactive(ue):ue}}const set$1$1=createSetter(),shallowSet=createSetter(!0);function createSetter($=!1){return function(oe,ae,ie,le){let de=oe[ae];if(isReadonly(de)&&isRef(de)&&!isRef(ie))return!1;if(!$&&(!isShallow(ie)&&!isReadonly(ie)&&(de=toRaw(de),ie=toRaw(ie)),!isArray$x(oe)&&isRef(de)&&!isRef(ie)))return de.value=ie,!0;const ue=isArray$x(oe)&&isIntegerKey(ae)?Number(ae)$,getProto=$=>Reflect.getPrototypeOf($);function get$7($,j,oe=!1,ae=!1){$=$.__v_raw;const ie=toRaw($),le=toRaw(j);oe||(j!==le&&track(ie,"get",j),track(ie,"get",le));const{has:de}=getProto(ie),ue=ae?toShallow:oe?toReadonly:toReactive;if(de.call(ie,j))return ue($.get(j));if(de.call(ie,le))return ue($.get(le));$!==ie&&$.get(j)}function has$2($,j=!1){const oe=this.__v_raw,ae=toRaw(oe),ie=toRaw($);return j||($!==ie&&track(ae,"has",$),track(ae,"has",ie)),$===ie?oe.has($):oe.has($)||oe.has(ie)}function size($,j=!1){return $=$.__v_raw,!j&&track(toRaw($),"iterate",ITERATE_KEY),Reflect.get($,"size",$)}function add$2($){$=toRaw($);const j=toRaw(this);return getProto(j).has.call(j,$)||(j.add($),trigger$1(j,"add",$,$)),this}function set$3($,j){j=toRaw(j);const oe=toRaw(this),{has:ae,get:ie}=getProto(oe);let le=ae.call(oe,$);le||($=toRaw($),le=ae.call(oe,$));const de=ie.call(oe,$);return oe.set($,j),le?hasChanged(j,de)&&trigger$1(oe,"set",$,j):trigger$1(oe,"add",$,j),this}function deleteEntry($){const j=toRaw(this),{has:oe,get:ae}=getProto(j);let ie=oe.call(j,$);ie||($=toRaw($),ie=oe.call(j,$)),ae&&ae.call(j,$);const le=j.delete($);return ie&&trigger$1(j,"delete",$,void 0),le}function clear$4(){const $=toRaw(this),j=$.size!==0,oe=$.clear();return j&&trigger$1($,"clear",void 0,void 0),oe}function createForEach($,j){return function(ae,ie){const le=this,de=le.__v_raw,ue=toRaw(de),pe=j?toShallow:$?toReadonly:toReactive;return!$&&track(ue,"iterate",ITERATE_KEY),de.forEach((he,_e)=>ae.call(ie,pe(he),pe(_e),le))}}function createIterableMethod($,j,oe){return function(...ae){const ie=this.__v_raw,le=toRaw(ie),de=isMap$4(le),ue=$==="entries"||$===Symbol.iterator&&de,pe=$==="keys"&&de,he=ie[$](...ae),_e=oe?toShallow:j?toReadonly:toReactive;return!j&&track(le,"iterate",pe?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:xe,done:Ce}=he.next();return Ce?{value:xe,done:Ce}:{value:ue?[_e(xe[0]),_e(xe[1])]:_e(xe),done:Ce}},[Symbol.iterator](){return this}}}}function createReadonlyMethod($){return function(...j){return $==="delete"?!1:this}}function createInstrumentations(){const $={get(le){return get$7(this,le)},get size(){return size(this)},has:has$2,add:add$2,set:set$3,delete:deleteEntry,clear:clear$4,forEach:createForEach(!1,!1)},j={get(le){return get$7(this,le,!1,!0)},get size(){return size(this)},has:has$2,add:add$2,set:set$3,delete:deleteEntry,clear:clear$4,forEach:createForEach(!1,!0)},oe={get(le){return get$7(this,le,!0)},get size(){return size(this,!0)},has(le){return has$2.call(this,le,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},ae={get(le){return get$7(this,le,!0,!0)},get size(){return size(this,!0)},has(le){return has$2.call(this,le,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(le=>{$[le]=createIterableMethod(le,!1,!1),oe[le]=createIterableMethod(le,!0,!1),j[le]=createIterableMethod(le,!1,!0),ae[le]=createIterableMethod(le,!0,!0)}),[$,oe,j,ae]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter($,j){const oe=j?$?shallowReadonlyInstrumentations:shallowInstrumentations:$?readonlyInstrumentations:mutableInstrumentations;return(ae,ie,le)=>ie==="__v_isReactive"?!$:ie==="__v_isReadonly"?$:ie==="__v_raw"?ae:Reflect.get(hasOwn$1(oe,ie)&&ie in ae?oe:ae,ie,le)}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($){switch($){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType($){return $.__v_skip||!Object.isExtensible($)?0:targetTypeMap(toRawType($))}function reactive($){return isReadonly($)?$:createReactiveObject($,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive($){return createReactiveObject($,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly($){return createReactiveObject($,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly($){return createReactiveObject($,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject($,j,oe,ae,ie){if(!isObject$8($)||$.__v_raw&&!(j&&$.__v_isReactive))return $;const le=ie.get($);if(le)return le;const de=getTargetType($);if(de===0)return $;const ue=new Proxy($,de===2?ae:oe);return ie.set($,ue),ue}function isReactive($){return isReadonly($)?isReactive($.__v_raw):!!($&&$.__v_isReactive)}function isReadonly($){return!!($&&$.__v_isReadonly)}function isShallow($){return!!($&&$.__v_isShallow)}function isProxy($){return isReactive($)||isReadonly($)}function toRaw($){const j=$&&$.__v_raw;return j?toRaw(j):$}function markRaw($){return def($,"__v_skip",!0),$}const toReactive=$=>isObject$8($)?reactive($):$,toReadonly=$=>isObject$8($)?readonly($):$;function trackRefValue($){shouldTrack&&activeEffect&&($=toRaw($),trackEffects($.dep||($.dep=createDep())))}function triggerRefValue($,j){$=toRaw($);const oe=$.dep;oe&&triggerEffects(oe)}function isRef($){return!!($&&$.__v_isRef===!0)}function ref($){return createRef($,!1)}function shallowRef($){return createRef($,!0)}function createRef($,j){return isRef($)?$:new RefImpl($,j)}class RefImpl{constructor(j,oe){this.__v_isShallow=oe,this.dep=void 0,this.__v_isRef=!0,this._rawValue=oe?j:toRaw(j),this._value=oe?j:toReactive(j)}get value(){return trackRefValue(this),this._value}set value(j){const oe=this.__v_isShallow||isShallow(j)||isReadonly(j);j=oe?j:toRaw(j),hasChanged(j,this._rawValue)&&(this._rawValue=j,this._value=oe?j:toReactive(j),triggerRefValue(this))}}function triggerRef($){triggerRefValue($)}function unref($){return isRef($)?$.value:$}const shallowUnwrapHandlers={get:($,j,oe)=>unref(Reflect.get($,j,oe)),set:($,j,oe,ae)=>{const ie=$[j];return isRef(ie)&&!isRef(oe)?(ie.value=oe,!0):Reflect.set($,j,oe,ae)}};function proxyRefs($){return isReactive($)?$:new Proxy($,shallowUnwrapHandlers)}class CustomRefImpl{constructor(j){this.dep=void 0,this.__v_isRef=!0;const{get:oe,set:ae}=j(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=oe,this._set=ae}get value(){return this._get()}set value(j){this._set(j)}}function customRef($){return new CustomRefImpl($)}function toRefs($){const j=isArray$x($)?new Array($.length):{};for(const oe in $)j[oe]=toRef($,oe);return j}class ObjectRefImpl{constructor(j,oe,ae){this._object=j,this._key=oe,this._defaultValue=ae,this.__v_isRef=!0}get value(){const j=this._object[this._key];return j===void 0?this._defaultValue:j}set value(j){this._object[this._key]=j}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}function toRef($,j,oe){const ae=$[j];return isRef(ae)?ae:new ObjectRefImpl($,j,oe)}var _a$1;class ComputedRefImpl{constructor(j,oe,ae,ie){this._setter=oe,this.dep=void 0,this.__v_isRef=!0,this[_a$1]=!1,this._dirty=!0,this.effect=new ReactiveEffect(j,()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!ie,this.__v_isReadonly=ae}get value(){const j=toRaw(this);return trackRefValue(j),(j._dirty||!j._cacheable)&&(j._dirty=!1,j._value=j.effect.run()),j._value}set value(j){this._setter(j)}}_a$1="__v_isReadonly";function computed$1($,j,oe=!1){let ae,ie;const le=isFunction$h($);return le?(ae=$,ie=NOOP):(ae=$.get,ie=$.set),new ComputedRefImpl(ae,ie,le||!ie,oe)}function warn$1($,...j){}function assertNumber($,j){}function callWithErrorHandling($,j,oe,ae){let ie;try{ie=ae?$(...ae):$()}catch(le){handleError(le,j,oe)}return ie}function callWithAsyncErrorHandling($,j,oe,ae){if(isFunction$h($)){const le=callWithErrorHandling($,j,oe,ae);return le&&isPromise(le)&&le.catch(de=>{handleError(de,j,oe)}),le}const ie=[];for(let le=0;le<$.length;le++)ie.push(callWithAsyncErrorHandling($[le],j,oe,ae));return ie}function handleError($,j,oe,ae=!0){const ie=j?j.vnode:null;if(j){let le=j.parent;const de=j.proxy,ue=oe;for(;le;){const he=le.ec;if(he){for(let _e=0;_e>>1;getId(queue[ae])<$?j=ae+1:oe=ae}return j}function queueJob($){(!queue.length||!queue.includes($,isFlushing&&$.allowRecurse?flushIndex+1:flushIndex))&&($.id==null?queue.push($):queue.splice(findInsertionIndex($.id),0,$),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob($){const j=queue.indexOf($);j>flushIndex&&queue.splice(j,1)}function queuePostFlushCb($){isArray$x($)?pendingPostFlushCbs.push(...$):(!activePostFlushCbs||!activePostFlushCbs.includes($,$.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push($),queueFlush()}function flushPreFlushCbs($,j=isFlushing?flushIndex+1:0){for(;jgetId(oe)-getId(ae)),postFlushIndex=0;postFlushIndex$.id==null?1/0:$.id,comparator=($,j)=>{const oe=getId($)-getId(j);if(oe===0){if($.pre&&!j.pre)return-1;if(j.pre&&!$.pre)return 1}return oe};function flushJobs($){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);const j=NOOP;try{for(flushIndex=0;flushIndexdevtools$1.emit(ie,...le)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!(!((ae=(oe=window.navigator)===null||oe===void 0?void 0:oe.userAgent)===null||ae===void 0)&&ae.includes("jsdom"))?((j.__VUE_DEVTOOLS_HOOK_REPLAY__=j.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(le=>{setDevtoolsHook(le,j)}),setTimeout(()=>{devtools$1||(j.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit($,j,...oe){if($.isUnmounted)return;const ae=$.vnode.props||EMPTY_OBJ;let ie=oe;const le=j.startsWith("update:"),de=le&&j.slice(7);if(de&&de in ae){const _e=`${de==="modelValue"?"model":de}Modifiers`,{number:xe,trim:Ce}=ae[_e]||EMPTY_OBJ;Ce&&(ie=oe.map(Ie=>isString$d(Ie)?Ie.trim():Ie)),xe&&(ie=oe.map(looseToNumber))}let ue,pe=ae[ue=toHandlerKey(j)]||ae[ue=toHandlerKey(camelize(j))];!pe&&le&&(pe=ae[ue=toHandlerKey(hyphenate(j))]),pe&&callWithAsyncErrorHandling(pe,$,6,ie);const he=ae[ue+"Once"];if(he){if(!$.emitted)$.emitted={};else if($.emitted[ue])return;$.emitted[ue]=!0,callWithAsyncErrorHandling(he,$,6,ie)}}function normalizeEmitsOptions($,j,oe=!1){const ae=j.emitsCache,ie=ae.get($);if(ie!==void 0)return ie;const le=$.emits;let de={},ue=!1;if(!isFunction$h($)){const pe=he=>{const _e=normalizeEmitsOptions(he,j,!0);_e&&(ue=!0,extend$1(de,_e))};!oe&&j.mixins.length&&j.mixins.forEach(pe),$.extends&&pe($.extends),$.mixins&&$.mixins.forEach(pe)}return!le&&!ue?(isObject$8($)&&ae.set($,null),null):(isArray$x(le)?le.forEach(pe=>de[pe]=null):extend$1(de,le),isObject$8($)&&ae.set($,de),de)}function isEmitListener($,j){return!$||!isOn(j)?!1:(j=j.slice(2).replace(/Once$/,""),hasOwn$1($,j[0].toLowerCase()+j.slice(1))||hasOwn$1($,hyphenate(j))||hasOwn$1($,j))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance($){const j=currentRenderingInstance;return currentRenderingInstance=$,currentScopeId=$&&$.type.__scopeId||null,j}function pushScopeId($){currentScopeId=$}function popScopeId(){currentScopeId=null}const withScopeId=$=>withCtx;function withCtx($,j=currentRenderingInstance,oe){if(!j||$._n)return $;const ae=(...ie)=>{ae._d&&setBlockTracking(-1);const le=setCurrentRenderingInstance(j);let de;try{de=$(...ie)}finally{setCurrentRenderingInstance(le),ae._d&&setBlockTracking(1)}return de};return ae._n=!0,ae._c=!0,ae._d=!0,ae}function markAttrsAccessed(){}function renderComponentRoot($){const{type:j,vnode:oe,proxy:ae,withProxy:ie,props:le,propsOptions:[de],slots:ue,attrs:pe,emit:he,render:_e,renderCache:xe,data:Ce,setupState:Ie,ctx:$e,inheritAttrs:Ne}=$;let Ve,Oe;const Fe=setCurrentRenderingInstance($);try{if(oe.shapeFlag&4){const Ue=ie||ae;Ve=normalizeVNode(_e.call(Ue,Ue,xe,le,Ie,Ce,$e)),Oe=pe}else{const Ue=j;Ve=normalizeVNode(Ue.length>1?Ue(le,{attrs:pe,slots:ue,emit:he}):Ue(le,null)),Oe=j.props?pe:getFunctionalFallthrough(pe)}}catch(Ue){blockStack.length=0,handleError(Ue,$,1),Ve=createVNode(Comment)}let ze=Ve;if(Oe&&Ne!==!1){const Ue=Object.keys(Oe),{shapeFlag:qe}=ze;Ue.length&&qe&7&&(de&&Ue.some(isModelListener)&&(Oe=filterModelListeners(Oe,de)),ze=cloneVNode(ze,Oe))}return oe.dirs&&(ze=cloneVNode(ze),ze.dirs=ze.dirs?ze.dirs.concat(oe.dirs):oe.dirs),oe.transition&&(ze.transition=oe.transition),Ve=ze,setCurrentRenderingInstance(Fe),Ve}function filterSingleRoot($){let j;for(let oe=0;oe<$.length;oe++){const ae=$[oe];if(isVNode$1(ae)){if(ae.type!==Comment||ae.children==="v-if"){if(j)return;j=ae}}else return}return j}const getFunctionalFallthrough=$=>{let j;for(const oe in $)(oe==="class"||oe==="style"||isOn(oe))&&((j||(j={}))[oe]=$[oe]);return j},filterModelListeners=($,j)=>{const oe={};for(const ae in $)(!isModelListener(ae)||!(ae.slice(9)in j))&&(oe[ae]=$[ae]);return oe};function shouldUpdateComponent($,j,oe){const{props:ae,children:ie,component:le}=$,{props:de,children:ue,patchFlag:pe}=j,he=le.emitsOptions;if(j.dirs||j.transition)return!0;if(oe&&pe>=0){if(pe&1024)return!0;if(pe&16)return ae?hasPropsChanged(ae,de,he):!!de;if(pe&8){const _e=j.dynamicProps;for(let xe=0;xe<_e.length;xe++){const Ce=_e[xe];if(de[Ce]!==ae[Ce]&&!isEmitListener(he,Ce))return!0}}}else return(ie||ue)&&(!ue||!ue.$stable)?!0:ae===de?!1:ae?de?hasPropsChanged(ae,de,he):!0:!!de;return!1}function hasPropsChanged($,j,oe){const ae=Object.keys(j);if(ae.length!==Object.keys($).length)return!0;for(let ie=0;ie$.__isSuspense,SuspenseImpl={name:"Suspense",__isSuspense:!0,process($,j,oe,ae,ie,le,de,ue,pe,he){$==null?mountSuspense(j,oe,ae,ie,le,de,ue,pe,he):patchSuspense($,j,oe,ae,ie,de,ue,pe,he)},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$2($,j){const oe=$.props&&$.props[j];isFunction$h(oe)&&oe()}function mountSuspense($,j,oe,ae,ie,le,de,ue,pe){const{p:he,o:{createElement:_e}}=pe,xe=_e("div"),Ce=$.suspense=createSuspenseBoundary($,ie,ae,j,xe,oe,le,de,ue,pe);he(null,Ce.pendingBranch=$.ssContent,xe,null,ae,Ce,le,de),Ce.deps>0?(triggerEvent$2($,"onPending"),triggerEvent$2($,"onFallback"),he(null,$.ssFallback,j,oe,ae,null,le,de),setActiveBranch(Ce,$.ssFallback)):Ce.resolve()}function patchSuspense($,j,oe,ae,ie,le,de,ue,{p:pe,um:he,o:{createElement:_e}}){const xe=j.suspense=$.suspense;xe.vnode=j,j.el=$.el;const Ce=j.ssContent,Ie=j.ssFallback,{activeBranch:$e,pendingBranch:Ne,isInFallback:Ve,isHydrating:Oe}=xe;if(Ne)xe.pendingBranch=Ce,isSameVNodeType(Ce,Ne)?(pe(Ne,Ce,xe.hiddenContainer,null,ie,xe,le,de,ue),xe.deps<=0?xe.resolve():Ve&&(pe($e,Ie,oe,ae,ie,null,le,de,ue),setActiveBranch(xe,Ie))):(xe.pendingId++,Oe?(xe.isHydrating=!1,xe.activeBranch=Ne):he(Ne,ie,xe),xe.deps=0,xe.effects.length=0,xe.hiddenContainer=_e("div"),Ve?(pe(null,Ce,xe.hiddenContainer,null,ie,xe,le,de,ue),xe.deps<=0?xe.resolve():(pe($e,Ie,oe,ae,ie,null,le,de,ue),setActiveBranch(xe,Ie))):$e&&isSameVNodeType(Ce,$e)?(pe($e,Ce,oe,ae,ie,xe,le,de,ue),xe.resolve(!0)):(pe(null,Ce,xe.hiddenContainer,null,ie,xe,le,de,ue),xe.deps<=0&&xe.resolve()));else if($e&&isSameVNodeType(Ce,$e))pe($e,Ce,oe,ae,ie,xe,le,de,ue),setActiveBranch(xe,Ce);else if(triggerEvent$2(j,"onPending"),xe.pendingBranch=Ce,xe.pendingId++,pe(null,Ce,xe.hiddenContainer,null,ie,xe,le,de,ue),xe.deps<=0)xe.resolve();else{const{timeout:Fe,pendingId:ze}=xe;Fe>0?setTimeout(()=>{xe.pendingId===ze&&xe.fallback(Ie)},Fe):Fe===0&&xe.fallback(Ie)}}function createSuspenseBoundary($,j,oe,ae,ie,le,de,ue,pe,he,_e=!1){const{p:xe,m:Ce,um:Ie,n:$e,o:{parentNode:Ne,remove:Ve}}=he,Oe=$.props?toNumber$9($.props.timeout):void 0,Fe={vnode:$,parent:j,parentComponent:oe,isSVG:de,container:ae,hiddenContainer:ie,anchor:le,deps:0,pendingId:0,timeout:typeof Oe=="number"?Oe:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:_e,isUnmounted:!1,effects:[],resolve(ze=!1){const{vnode:Ue,activeBranch:qe,pendingBranch:hn,pendingId:vn,effects:bn,parentComponent:_n,container:kn}=Fe;if(Fe.isHydrating)Fe.isHydrating=!1;else if(!ze){const Cn=qe&&hn.transition&&hn.transition.mode==="out-in";Cn&&(qe.transition.afterLeave=()=>{vn===Fe.pendingId&&Ce(hn,kn,En,0)});let{anchor:En}=Fe;qe&&(En=$e(qe),Ie(qe,_n,Fe,!0)),Cn||Ce(hn,kn,En,0)}setActiveBranch(Fe,hn),Fe.pendingBranch=null,Fe.isInFallback=!1;let xn=Fe.parent,$n=!1;for(;xn;){if(xn.pendingBranch){xn.effects.push(...bn),$n=!0;break}xn=xn.parent}$n||queuePostFlushCb(bn),Fe.effects=[],triggerEvent$2(Ue,"onResolve")},fallback(ze){if(!Fe.pendingBranch)return;const{vnode:Ue,activeBranch:qe,parentComponent:hn,container:vn,isSVG:bn}=Fe;triggerEvent$2(Ue,"onFallback");const _n=$e(qe),kn=()=>{Fe.isInFallback&&(xe(null,ze,vn,_n,hn,null,bn,ue,pe),setActiveBranch(Fe,ze))},xn=ze.transition&&ze.transition.mode==="out-in";xn&&(qe.transition.afterLeave=kn),Fe.isInFallback=!0,Ie(qe,hn,null,!0),xn||kn()},move(ze,Ue,qe){Fe.activeBranch&&Ce(Fe.activeBranch,ze,Ue,qe),Fe.container=ze},next(){return Fe.activeBranch&&$e(Fe.activeBranch)},registerDep(ze,Ue){const qe=!!Fe.pendingBranch;qe&&Fe.deps++;const hn=ze.vnode.el;ze.asyncDep.catch(vn=>{handleError(vn,ze,0)}).then(vn=>{if(ze.isUnmounted||Fe.isUnmounted||Fe.pendingId!==ze.suspenseId)return;ze.asyncResolved=!0;const{vnode:bn}=ze;handleSetupResult(ze,vn,!1),hn&&(bn.el=hn);const _n=!hn&&ze.subTree.el;Ue(ze,bn,Ne(hn||ze.subTree.el),hn?null:$e(ze.subTree),Fe,de,pe),_n&&Ve(_n),updateHOCHostEl(ze,bn.el),qe&&--Fe.deps===0&&Fe.resolve()})},unmount(ze,Ue){Fe.isUnmounted=!0,Fe.activeBranch&&Ie(Fe.activeBranch,oe,ze,Ue),Fe.pendingBranch&&Ie(Fe.pendingBranch,oe,ze,Ue)}};return Fe}function hydrateSuspense($,j,oe,ae,ie,le,de,ue,pe){const he=j.suspense=createSuspenseBoundary(j,ae,oe,$.parentNode,document.createElement("div"),null,ie,le,de,ue,!0),_e=pe($,he.pendingBranch=j.ssContent,oe,he,le,de);return he.deps===0&&he.resolve(),_e}function normalizeSuspenseChildren($){const{shapeFlag:j,children:oe}=$,ae=j&32;$.ssContent=normalizeSuspenseSlot(ae?oe.default:oe),$.ssFallback=ae?normalizeSuspenseSlot(oe.fallback):createVNode(Comment)}function normalizeSuspenseSlot($){let j;if(isFunction$h($)){const oe=isBlockTreeEnabled&&$._c;oe&&($._d=!1,openBlock()),$=$(),oe&&($._d=!0,j=currentBlock,closeBlock())}return isArray$x($)&&($=filterSingleRoot($)),$=normalizeVNode($),j&&!$.dynamicChildren&&($.dynamicChildren=j.filter(oe=>oe!==$)),$}function queueEffectWithSuspense($,j){j&&j.pendingBranch?isArray$x($)?j.effects.push(...$):j.effects.push($):queuePostFlushCb($)}function setActiveBranch($,j){$.activeBranch=j;const{vnode:oe,parentComponent:ae}=$,ie=oe.el=j.el;ae&&ae.subTree===oe&&(ae.vnode.el=ie,updateHOCHostEl(ae,ie))}function provide($,j){if(currentInstance){let oe=currentInstance.provides;const ae=currentInstance.parent&¤tInstance.parent.provides;ae===oe&&(oe=currentInstance.provides=Object.create(ae)),oe[$]=j}}function inject($,j,oe=!1){const ae=currentInstance||currentRenderingInstance;if(ae){const ie=ae.parent==null?ae.vnode.appContext&&ae.vnode.appContext.provides:ae.parent.provides;if(ie&&$ in ie)return ie[$];if(arguments.length>1)return oe&&isFunction$h(j)?j.call(ae.proxy):j}}function watchEffect($,j){return doWatch($,null,j)}function watchPostEffect($,j){return doWatch($,null,{flush:"post"})}function watchSyncEffect($,j){return doWatch($,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch($,j,oe){return doWatch($,j,oe)}function doWatch($,j,{immediate:oe,deep:ae,flush:ie,onTrack:le,onTrigger:de}=EMPTY_OBJ){const ue=getCurrentScope()===(currentInstance==null?void 0:currentInstance.scope)?currentInstance:null;let pe,he=!1,_e=!1;if(isRef($)?(pe=()=>$.value,he=isShallow($)):isReactive($)?(pe=()=>$,ae=!0):isArray$x($)?(_e=!0,he=$.some(ze=>isReactive(ze)||isShallow(ze)),pe=()=>$.map(ze=>{if(isRef(ze))return ze.value;if(isReactive(ze))return traverse(ze);if(isFunction$h(ze))return callWithErrorHandling(ze,ue,2)})):isFunction$h($)?j?pe=()=>callWithErrorHandling($,ue,2):pe=()=>{if(!(ue&&ue.isUnmounted))return xe&&xe(),callWithAsyncErrorHandling($,ue,3,[Ce])}:pe=NOOP,j&&ae){const ze=pe;pe=()=>traverse(ze())}let xe,Ce=ze=>{xe=Oe.onStop=()=>{callWithErrorHandling(ze,ue,4)}},Ie;if(isInSSRComponentSetup)if(Ce=NOOP,j?oe&&callWithAsyncErrorHandling(j,ue,3,[pe(),_e?[]:void 0,Ce]):pe(),ie==="sync"){const ze=useSSRContext();Ie=ze.__watcherHandles||(ze.__watcherHandles=[])}else return NOOP;let $e=_e?new Array($.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Ne=()=>{if(Oe.active)if(j){const ze=Oe.run();(ae||he||(_e?ze.some((Ue,qe)=>hasChanged(Ue,$e[qe])):hasChanged(ze,$e)))&&(xe&&xe(),callWithAsyncErrorHandling(j,ue,3,[ze,$e===INITIAL_WATCHER_VALUE?void 0:_e&&$e[0]===INITIAL_WATCHER_VALUE?[]:$e,Ce]),$e=ze)}else Oe.run()};Ne.allowRecurse=!!j;let Ve;ie==="sync"?Ve=Ne:ie==="post"?Ve=()=>queuePostRenderEffect(Ne,ue&&ue.suspense):(Ne.pre=!0,ue&&(Ne.id=ue.uid),Ve=()=>queueJob(Ne));const Oe=new ReactiveEffect(pe,Ve);j?oe?Ne():$e=Oe.run():ie==="post"?queuePostRenderEffect(Oe.run.bind(Oe),ue&&ue.suspense):Oe.run();const Fe=()=>{Oe.stop(),ue&&ue.scope&&remove$3(ue.scope.effects,Oe)};return Ie&&Ie.push(Fe),Fe}function instanceWatch($,j,oe){const ae=this.proxy,ie=isString$d($)?$.includes(".")?createPathGetter(ae,$):()=>ae[$]:$.bind(ae,ae);let le;isFunction$h(j)?le=j:(le=j.handler,oe=j);const de=currentInstance;setCurrentInstance(this);const ue=doWatch(ie,le.bind(ae),oe);return de?setCurrentInstance(de):unsetCurrentInstance(),ue}function createPathGetter($,j){const oe=j.split(".");return()=>{let ae=$;for(let ie=0;ie{traverse(oe,j)});else if(isPlainObject$b($))for(const oe in $)traverse($[oe],j);return $}function useTransitionState(){const $={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{$.isMounted=!0}),onBeforeUnmount(()=>{$.isUnmounting=!0}),$}const TransitionHookValidator=[Function,Array],BaseTransitionImpl={name:"BaseTransition",props:{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},setup($,{slots:j}){const oe=getCurrentInstance(),ae=useTransitionState();let ie;return()=>{const le=j.default&&getTransitionRawChildren(j.default(),!0);if(!le||!le.length)return;let de=le[0];if(le.length>1){for(const Ne of le)if(Ne.type!==Comment){de=Ne;break}}const ue=toRaw($),{mode:pe}=ue;if(ae.isLeaving)return emptyPlaceholder(de);const he=getKeepAliveChild(de);if(!he)return emptyPlaceholder(de);const _e=resolveTransitionHooks(he,ue,ae,oe);setTransitionHooks(he,_e);const xe=oe.subTree,Ce=xe&&getKeepAliveChild(xe);let Ie=!1;const{getTransitionKey:$e}=he.type;if($e){const Ne=$e();ie===void 0?ie=Ne:Ne!==ie&&(ie=Ne,Ie=!0)}if(Ce&&Ce.type!==Comment&&(!isSameVNodeType(he,Ce)||Ie)){const Ne=resolveTransitionHooks(Ce,ue,ae,oe);if(setTransitionHooks(Ce,Ne),pe==="out-in")return ae.isLeaving=!0,Ne.afterLeave=()=>{ae.isLeaving=!1,oe.update.active!==!1&&oe.update()},emptyPlaceholder(de);pe==="in-out"&&he.type!==Comment&&(Ne.delayLeave=(Ve,Oe,Fe)=>{const ze=getLeavingNodesForType(ae,Ce);ze[String(Ce.key)]=Ce,Ve._leaveCb=()=>{Oe(),Ve._leaveCb=void 0,delete _e.delayedLeave},_e.delayedLeave=Fe})}return de}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType($,j){const{leavingVNodes:oe}=$;let ae=oe.get(j.type);return ae||(ae=Object.create(null),oe.set(j.type,ae)),ae}function resolveTransitionHooks($,j,oe,ae){const{appear:ie,mode:le,persisted:de=!1,onBeforeEnter:ue,onEnter:pe,onAfterEnter:he,onEnterCancelled:_e,onBeforeLeave:xe,onLeave:Ce,onAfterLeave:Ie,onLeaveCancelled:$e,onBeforeAppear:Ne,onAppear:Ve,onAfterAppear:Oe,onAppearCancelled:Fe}=j,ze=String($.key),Ue=getLeavingNodesForType(oe,$),qe=(bn,_n)=>{bn&&callWithAsyncErrorHandling(bn,ae,9,_n)},hn=(bn,_n)=>{const kn=_n[1];qe(bn,_n),isArray$x(bn)?bn.every(xn=>xn.length<=1)&&kn():bn.length<=1&&kn()},vn={mode:le,persisted:de,beforeEnter(bn){let _n=ue;if(!oe.isMounted)if(ie)_n=Ne||ue;else return;bn._leaveCb&&bn._leaveCb(!0);const kn=Ue[ze];kn&&isSameVNodeType($,kn)&&kn.el._leaveCb&&kn.el._leaveCb(),qe(_n,[bn])},enter(bn){let _n=pe,kn=he,xn=_e;if(!oe.isMounted)if(ie)_n=Ve||pe,kn=Oe||he,xn=Fe||_e;else return;let $n=!1;const Cn=bn._enterCb=En=>{$n||($n=!0,En?qe(xn,[bn]):qe(kn,[bn]),vn.delayedLeave&&vn.delayedLeave(),bn._enterCb=void 0)};_n?hn(_n,[bn,Cn]):Cn()},leave(bn,_n){const kn=String($.key);if(bn._enterCb&&bn._enterCb(!0),oe.isUnmounting)return _n();qe(xe,[bn]);let xn=!1;const $n=bn._leaveCb=Cn=>{xn||(xn=!0,_n(),Cn?qe($e,[bn]):qe(Ie,[bn]),bn._leaveCb=void 0,Ue[kn]===$&&delete Ue[kn])};Ue[kn]=$,Ce?hn(Ce,[bn,$n]):$n()},clone(bn){return resolveTransitionHooks(bn,j,oe,ae)}};return vn}function emptyPlaceholder($){if(isKeepAlive($))return $=cloneVNode($),$.children=null,$}function getKeepAliveChild($){return isKeepAlive($)?$.children?$.children[0]:void 0:$}function setTransitionHooks($,j){$.shapeFlag&6&&$.component?setTransitionHooks($.component.subTree,j):$.shapeFlag&128?($.ssContent.transition=j.clone($.ssContent),$.ssFallback.transition=j.clone($.ssFallback)):$.transition=j}function getTransitionRawChildren($,j=!1,oe){let ae=[],ie=0;for(let le=0;le<$.length;le++){let de=$[le];const ue=oe==null?de.key:String(oe)+String(de.key!=null?de.key:le);de.type===Fragment?(de.patchFlag&128&&ie++,ae=ae.concat(getTransitionRawChildren(de.children,j,ue))):(j||de.type!==Comment)&&ae.push(ue!=null?cloneVNode(de,{key:ue}):de)}if(ie>1)for(let le=0;le!!$.type.__asyncLoader;function defineAsyncComponent($){isFunction$h($)&&($={loader:$});const{loader:j,loadingComponent:oe,errorComponent:ae,delay:ie=200,timeout:le,suspensible:de=!0,onError:ue}=$;let pe=null,he,_e=0;const xe=()=>(_e++,pe=null,Ce()),Ce=()=>{let Ie;return pe||(Ie=pe=j().catch($e=>{if($e=$e instanceof Error?$e:new Error(String($e)),ue)return new Promise((Ne,Ve)=>{ue($e,()=>Ne(xe()),()=>Ve($e),_e+1)});throw $e}).then($e=>Ie!==pe&&pe?pe:($e&&($e.__esModule||$e[Symbol.toStringTag]==="Module")&&($e=$e.default),he=$e,$e)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:Ce,get __asyncResolved(){return he},setup(){const Ie=currentInstance;if(he)return()=>createInnerComp(he,Ie);const $e=Fe=>{pe=null,handleError(Fe,Ie,13,!ae)};if(de&&Ie.suspense||isInSSRComponentSetup)return Ce().then(Fe=>()=>createInnerComp(Fe,Ie)).catch(Fe=>($e(Fe),()=>ae?createVNode(ae,{error:Fe}):null));const Ne=ref(!1),Ve=ref(),Oe=ref(!!ie);return ie&&setTimeout(()=>{Oe.value=!1},ie),le!=null&&setTimeout(()=>{if(!Ne.value&&!Ve.value){const Fe=new Error(`Async component timed out after ${le}ms.`);$e(Fe),Ve.value=Fe}},le),Ce().then(()=>{Ne.value=!0,Ie.parent&&isKeepAlive(Ie.parent.vnode)&&queueJob(Ie.parent.update)}).catch(Fe=>{$e(Fe),Ve.value=Fe}),()=>{if(Ne.value&&he)return createInnerComp(he,Ie);if(Ve.value&&ae)return createVNode(ae,{error:Ve.value});if(oe&&!Oe.value)return createVNode(oe)}}})}function createInnerComp($,j){const{ref:oe,props:ae,children:ie,ce:le}=j.vnode,de=createVNode($,ae,ie);return de.ref=oe,de.ce=le,delete j.vnode.ce,de}const isKeepAlive=$=>$.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup($,{slots:j}){const oe=getCurrentInstance(),ae=oe.ctx;if(!ae.renderer)return()=>{const Fe=j.default&&j.default();return Fe&&Fe.length===1?Fe[0]:Fe};const ie=new Map,le=new Set;let de=null;const ue=oe.suspense,{renderer:{p:pe,m:he,um:_e,o:{createElement:xe}}}=ae,Ce=xe("div");ae.activate=(Fe,ze,Ue,qe,hn)=>{const vn=Fe.component;he(Fe,ze,Ue,0,ue),pe(vn.vnode,Fe,ze,Ue,vn,ue,qe,Fe.slotScopeIds,hn),queuePostRenderEffect(()=>{vn.isDeactivated=!1,vn.a&&invokeArrayFns(vn.a);const bn=Fe.props&&Fe.props.onVnodeMounted;bn&&invokeVNodeHook(bn,vn.parent,Fe)},ue)},ae.deactivate=Fe=>{const ze=Fe.component;he(Fe,Ce,null,1,ue),queuePostRenderEffect(()=>{ze.da&&invokeArrayFns(ze.da);const Ue=Fe.props&&Fe.props.onVnodeUnmounted;Ue&&invokeVNodeHook(Ue,ze.parent,Fe),ze.isDeactivated=!0},ue)};function Ie(Fe){resetShapeFlag(Fe),_e(Fe,oe,ue,!0)}function $e(Fe){ie.forEach((ze,Ue)=>{const qe=getComponentName$1(ze.type);qe&&(!Fe||!Fe(qe))&&Ne(Ue)})}function Ne(Fe){const ze=ie.get(Fe);!de||!isSameVNodeType(ze,de)?Ie(ze):de&&resetShapeFlag(de),ie.delete(Fe),le.delete(Fe)}watch(()=>[$.include,$.exclude],([Fe,ze])=>{Fe&&$e(Ue=>matches(Fe,Ue)),ze&&$e(Ue=>!matches(ze,Ue))},{flush:"post",deep:!0});let Ve=null;const Oe=()=>{Ve!=null&&ie.set(Ve,getInnerChild(oe.subTree))};return onMounted(Oe),onUpdated(Oe),onBeforeUnmount(()=>{ie.forEach(Fe=>{const{subTree:ze,suspense:Ue}=oe,qe=getInnerChild(ze);if(Fe.type===qe.type&&Fe.key===qe.key){resetShapeFlag(qe);const hn=qe.component.da;hn&&queuePostRenderEffect(hn,Ue);return}Ie(Fe)})}),()=>{if(Ve=null,!j.default)return null;const Fe=j.default(),ze=Fe[0];if(Fe.length>1)return de=null,Fe;if(!isVNode$1(ze)||!(ze.shapeFlag&4)&&!(ze.shapeFlag&128))return de=null,ze;let Ue=getInnerChild(ze);const qe=Ue.type,hn=getComponentName$1(isAsyncWrapper(Ue)?Ue.type.__asyncResolved||{}:qe),{include:vn,exclude:bn,max:_n}=$;if(vn&&(!hn||!matches(vn,hn))||bn&&hn&&matches(bn,hn))return de=Ue,ze;const kn=Ue.key==null?qe:Ue.key,xn=ie.get(kn);return Ue.el&&(Ue=cloneVNode(Ue),ze.shapeFlag&128&&(ze.ssContent=Ue)),Ve=kn,xn?(Ue.el=xn.el,Ue.component=xn.component,Ue.transition&&setTransitionHooks(Ue,Ue.transition),Ue.shapeFlag|=512,le.delete(kn),le.add(kn)):(le.add(kn),_n&&le.size>parseInt(_n,10)&&Ne(le.values().next().value)),Ue.shapeFlag|=256,de=Ue,isSuspense(ze.type)?ze:Ue}}},KeepAlive=KeepAliveImpl;function matches($,j){return isArray$x($)?$.some(oe=>matches(oe,j)):isString$d($)?$.split(",").includes(j):isRegExp$6($)?$.test(j):!1}function onActivated($,j){registerKeepAliveHook($,"a",j)}function onDeactivated($,j){registerKeepAliveHook($,"da",j)}function registerKeepAliveHook($,j,oe=currentInstance){const ae=$.__wdc||($.__wdc=()=>{let ie=oe;for(;ie;){if(ie.isDeactivated)return;ie=ie.parent}return $()});if(injectHook(j,ae,oe),oe){let ie=oe.parent;for(;ie&&ie.parent;)isKeepAlive(ie.parent.vnode)&&injectToKeepAliveRoot(ae,j,oe,ie),ie=ie.parent}}function injectToKeepAliveRoot($,j,oe,ae){const ie=injectHook(j,$,ae,!0);onUnmounted(()=>{remove$3(ae[j],ie)},oe)}function resetShapeFlag($){$.shapeFlag&=-257,$.shapeFlag&=-513}function getInnerChild($){return $.shapeFlag&128?$.ssContent:$}function injectHook($,j,oe=currentInstance,ae=!1){if(oe){const ie=oe[$]||(oe[$]=[]),le=j.__weh||(j.__weh=(...de)=>{if(oe.isUnmounted)return;pauseTracking(),setCurrentInstance(oe);const ue=callWithAsyncErrorHandling(j,oe,$,de);return unsetCurrentInstance(),resetTracking(),ue});return ae?ie.unshift(le):ie.push(le),le}}const createHook=$=>(j,oe=currentInstance)=>(!isInSSRComponentSetup||$==="sp")&&injectHook($,(...ae)=>j(...ae),oe),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($,j=currentInstance){injectHook("ec",$,j)}function withDirectives($,j){const oe=currentRenderingInstance;if(oe===null)return $;const ae=getExposeProxy(oe)||oe.proxy,ie=$.dirs||($.dirs=[]);for(let le=0;lej(de,ue,void 0,le&&le[ue]));else{const de=Object.keys($);ie=new Array(de.length);for(let ue=0,pe=de.length;ue{const le=ae.fn(...ie);return le&&(le.key=ae.key),le}:ae.fn)}return $}function renderSlot($,j,oe={},ae,ie){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return j!=="default"&&(oe.name=j),createVNode("slot",oe,ae&&ae());let le=$[j];le&&le._c&&(le._d=!1),openBlock();const de=le&&ensureValidVNode(le(oe)),ue=createBlock(Fragment,{key:oe.key||de&&de.key||`_${j}`},de||(ae?ae():[]),de&&$._===1?64:-2);return!ie&&ue.scopeId&&(ue.slotScopeIds=[ue.scopeId+"-s"]),le&&le._c&&(le._d=!0),ue}function ensureValidVNode($){return $.some(j=>isVNode$1(j)?!(j.type===Comment||j.type===Fragment&&!ensureValidVNode(j.children)):!0)?$:null}function toHandlers($,j){const oe={};for(const ae in $)oe[j&&/[A-Z]/.test(ae)?`on:${ae}`:toHandlerKey(ae)]=$[ae];return oe}const getPublicInstance=$=>$?isStatefulComponent($)?getExposeProxy($)||$.proxy:getPublicInstance($.parent):null,publicPropertiesMap=extend$1(Object.create(null),{$:$=>$,$el:$=>$.vnode.el,$data:$=>$.data,$props:$=>$.props,$attrs:$=>$.attrs,$slots:$=>$.slots,$refs:$=>$.refs,$parent:$=>getPublicInstance($.parent),$root:$=>getPublicInstance($.root),$emit:$=>$.emit,$options:$=>resolveMergedOptions($),$forceUpdate:$=>$.f||($.f=()=>queueJob($.update)),$nextTick:$=>$.n||($.n=nextTick.bind($.proxy)),$watch:$=>instanceWatch.bind($)}),hasSetupBinding=($,j)=>$!==EMPTY_OBJ&&!$.__isScriptSetup&&hasOwn$1($,j),PublicInstanceProxyHandlers={get({_:$},j){const{ctx:oe,setupState:ae,data:ie,props:le,accessCache:de,type:ue,appContext:pe}=$;let he;if(j[0]!=="$"){const Ie=de[j];if(Ie!==void 0)switch(Ie){case 1:return ae[j];case 2:return ie[j];case 4:return oe[j];case 3:return le[j]}else{if(hasSetupBinding(ae,j))return de[j]=1,ae[j];if(ie!==EMPTY_OBJ&&hasOwn$1(ie,j))return de[j]=2,ie[j];if((he=$.propsOptions[0])&&hasOwn$1(he,j))return de[j]=3,le[j];if(oe!==EMPTY_OBJ&&hasOwn$1(oe,j))return de[j]=4,oe[j];shouldCacheAccess&&(de[j]=0)}}const _e=publicPropertiesMap[j];let xe,Ce;if(_e)return j==="$attrs"&&track($,"get",j),_e($);if((xe=ue.__cssModules)&&(xe=xe[j]))return xe;if(oe!==EMPTY_OBJ&&hasOwn$1(oe,j))return de[j]=4,oe[j];if(Ce=pe.config.globalProperties,hasOwn$1(Ce,j))return Ce[j]},set({_:$},j,oe){const{data:ae,setupState:ie,ctx:le}=$;return hasSetupBinding(ie,j)?(ie[j]=oe,!0):ae!==EMPTY_OBJ&&hasOwn$1(ae,j)?(ae[j]=oe,!0):hasOwn$1($.props,j)||j[0]==="$"&&j.slice(1)in $?!1:(le[j]=oe,!0)},has({_:{data:$,setupState:j,accessCache:oe,ctx:ae,appContext:ie,propsOptions:le}},de){let ue;return!!oe[de]||$!==EMPTY_OBJ&&hasOwn$1($,de)||hasSetupBinding(j,de)||(ue=le[0])&&hasOwn$1(ue,de)||hasOwn$1(ae,de)||hasOwn$1(publicPropertiesMap,de)||hasOwn$1(ie.config.globalProperties,de)},defineProperty($,j,oe){return oe.get!=null?$._.accessCache[j]=0:hasOwn$1(oe,"value")&&this.set($,j,oe.value,null),Reflect.defineProperty($,j,oe)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$1({},PublicInstanceProxyHandlers,{get($,j){if(j!==Symbol.unscopables)return PublicInstanceProxyHandlers.get($,j,$)},has($,j){return j[0]!=="_"&&!isGloballyWhitelisted(j)}});let shouldCacheAccess=!0;function applyOptions($){const j=resolveMergedOptions($),oe=$.proxy,ae=$.ctx;shouldCacheAccess=!1,j.beforeCreate&&callHook$1(j.beforeCreate,$,"bc");const{data:ie,computed:le,methods:de,watch:ue,provide:pe,inject:he,created:_e,beforeMount:xe,mounted:Ce,beforeUpdate:Ie,updated:$e,activated:Ne,deactivated:Ve,beforeDestroy:Oe,beforeUnmount:Fe,destroyed:ze,unmounted:Ue,render:qe,renderTracked:hn,renderTriggered:vn,errorCaptured:bn,serverPrefetch:_n,expose:kn,inheritAttrs:xn,components:$n,directives:Cn,filters:En}=j;if(he&&resolveInjections(he,ae,null,$.appContext.config.unwrapInjectedRef),de)for(const wn in de){const On=de[wn];isFunction$h(On)&&(ae[wn]=On.bind(oe))}if(ie){const wn=ie.call(oe,oe);isObject$8(wn)&&($.data=reactive(wn))}if(shouldCacheAccess=!0,le)for(const wn in le){const On=le[wn],Tn=isFunction$h(On)?On.bind(oe,oe):isFunction$h(On.get)?On.get.bind(oe,oe):NOOP,In=!isFunction$h(On)&&isFunction$h(On.set)?On.set.bind(oe):NOOP,Bn=computed({get:Tn,set:In});Object.defineProperty(ae,wn,{enumerable:!0,configurable:!0,get:()=>Bn.value,set:Dn=>Bn.value=Dn})}if(ue)for(const wn in ue)createWatcher(ue[wn],ae,oe,wn);if(pe){const wn=isFunction$h(pe)?pe.call(oe):pe;Reflect.ownKeys(wn).forEach(On=>{provide(On,wn[On])})}_e&&callHook$1(_e,$,"c");function Sn(wn,On){isArray$x(On)?On.forEach(Tn=>wn(Tn.bind(oe))):On&&wn(On.bind(oe))}if(Sn(onBeforeMount,xe),Sn(onMounted,Ce),Sn(onBeforeUpdate,Ie),Sn(onUpdated,$e),Sn(onActivated,Ne),Sn(onDeactivated,Ve),Sn(onErrorCaptured,bn),Sn(onRenderTracked,hn),Sn(onRenderTriggered,vn),Sn(onBeforeUnmount,Fe),Sn(onUnmounted,Ue),Sn(onServerPrefetch,_n),isArray$x(kn))if(kn.length){const wn=$.exposed||($.exposed={});kn.forEach(On=>{Object.defineProperty(wn,On,{get:()=>oe[On],set:Tn=>oe[On]=Tn})})}else $.exposed||($.exposed={});qe&&$.render===NOOP&&($.render=qe),xn!=null&&($.inheritAttrs=xn),$n&&($.components=$n),Cn&&($.directives=Cn)}function resolveInjections($,j,oe=NOOP,ae=!1){isArray$x($)&&($=normalizeInject($));for(const ie in $){const le=$[ie];let de;isObject$8(le)?"default"in le?de=inject(le.from||ie,le.default,!0):de=inject(le.from||ie):de=inject(le),isRef(de)&&ae?Object.defineProperty(j,ie,{enumerable:!0,configurable:!0,get:()=>de.value,set:ue=>de.value=ue}):j[ie]=de}}function callHook$1($,j,oe){callWithAsyncErrorHandling(isArray$x($)?$.map(ae=>ae.bind(j.proxy)):$.bind(j.proxy),j,oe)}function createWatcher($,j,oe,ae){const ie=ae.includes(".")?createPathGetter(oe,ae):()=>oe[ae];if(isString$d($)){const le=j[$];isFunction$h(le)&&watch(ie,le)}else if(isFunction$h($))watch(ie,$.bind(oe));else if(isObject$8($))if(isArray$x($))$.forEach(le=>createWatcher(le,j,oe,ae));else{const le=isFunction$h($.handler)?$.handler.bind(oe):j[$.handler];isFunction$h(le)&&watch(ie,le,$)}}function resolveMergedOptions($){const j=$.type,{mixins:oe,extends:ae}=j,{mixins:ie,optionsCache:le,config:{optionMergeStrategies:de}}=$.appContext,ue=le.get(j);let pe;return ue?pe=ue:!ie.length&&!oe&&!ae?pe=j:(pe={},ie.length&&ie.forEach(he=>mergeOptions$2(pe,he,de,!0)),mergeOptions$2(pe,j,de)),isObject$8(j)&&le.set(j,pe),pe}function mergeOptions$2($,j,oe,ae=!1){const{mixins:ie,extends:le}=j;le&&mergeOptions$2($,le,oe,!0),ie&&ie.forEach(de=>mergeOptions$2($,de,oe,!0));for(const de in j)if(!(ae&&de==="expose")){const ue=internalOptionMergeStrats[de]||oe&&oe[de];$[de]=ue?ue($[de],j[de]):j[de]}return $}const internalOptionMergeStrats={data:mergeDataFn,props:mergeObjectOptions,emits:mergeObjectOptions,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($,j){return j?$?function(){return extend$1(isFunction$h($)?$.call(this,this):$,isFunction$h(j)?j.call(this,this):j)}:j:$}function mergeInject($,j){return mergeObjectOptions(normalizeInject($),normalizeInject(j))}function normalizeInject($){if(isArray$x($)){const j={};for(let oe=0;oe<$.length;oe++)j[$[oe]]=$[oe];return j}return $}function mergeAsArray($,j){return $?[...new Set([].concat($,j))]:j}function mergeObjectOptions($,j){return $?extend$1(extend$1(Object.create(null),$),j):j}function mergeWatchOptions($,j){if(!$)return j;if(!j)return $;const oe=extend$1(Object.create(null),$);for(const ae in j)oe[ae]=mergeAsArray($[ae],j[ae]);return oe}function initProps($,j,oe,ae=!1){const ie={},le={};def(le,InternalObjectKey,1),$.propsDefaults=Object.create(null),setFullProps($,j,ie,le);for(const de in $.propsOptions[0])de in ie||(ie[de]=void 0);oe?$.props=ae?ie:shallowReactive(ie):$.type.props?$.props=ie:$.props=le,$.attrs=le}function updateProps($,j,oe,ae){const{props:ie,attrs:le,vnode:{patchFlag:de}}=$,ue=toRaw(ie),[pe]=$.propsOptions;let he=!1;if((ae||de>0)&&!(de&16)){if(de&8){const _e=$.vnode.dynamicProps;for(let xe=0;xe<_e.length;xe++){let Ce=_e[xe];if(isEmitListener($.emitsOptions,Ce))continue;const Ie=j[Ce];if(pe)if(hasOwn$1(le,Ce))Ie!==le[Ce]&&(le[Ce]=Ie,he=!0);else{const $e=camelize(Ce);ie[$e]=resolvePropValue(pe,ue,$e,Ie,$,!1)}else Ie!==le[Ce]&&(le[Ce]=Ie,he=!0)}}}else{setFullProps($,j,ie,le)&&(he=!0);let _e;for(const xe in ue)(!j||!hasOwn$1(j,xe)&&((_e=hyphenate(xe))===xe||!hasOwn$1(j,_e)))&&(pe?oe&&(oe[xe]!==void 0||oe[_e]!==void 0)&&(ie[xe]=resolvePropValue(pe,ue,xe,void 0,$,!0)):delete ie[xe]);if(le!==ue)for(const xe in le)(!j||!hasOwn$1(j,xe))&&(delete le[xe],he=!0)}he&&trigger$1($,"set","$attrs")}function setFullProps($,j,oe,ae){const[ie,le]=$.propsOptions;let de=!1,ue;if(j)for(let pe in j){if(isReservedProp(pe))continue;const he=j[pe];let _e;ie&&hasOwn$1(ie,_e=camelize(pe))?!le||!le.includes(_e)?oe[_e]=he:(ue||(ue={}))[_e]=he:isEmitListener($.emitsOptions,pe)||(!(pe in ae)||he!==ae[pe])&&(ae[pe]=he,de=!0)}if(le){const pe=toRaw(oe),he=ue||EMPTY_OBJ;for(let _e=0;_e{pe=!0;const[Ce,Ie]=normalizePropsOptions(xe,j,!0);extend$1(de,Ce),Ie&&ue.push(...Ie)};!oe&&j.mixins.length&&j.mixins.forEach(_e),$.extends&&_e($.extends),$.mixins&&$.mixins.forEach(_e)}if(!le&&!pe)return isObject$8($)&&ae.set($,EMPTY_ARR),EMPTY_ARR;if(isArray$x(le))for(let _e=0;_e-1,Ie[1]=Ne<0||$e-1||hasOwn$1(Ie,"default"))&&ue.push(xe)}}}const he=[de,ue];return isObject$8($)&&ae.set($,he),he}function validatePropName($){return $[0]!=="$"}function getType$2($){const j=$&&$.toString().match(/^\s*(function|class) (\w+)/);return j?j[2]:$===null?"null":""}function isSameType($,j){return getType$2($)===getType$2(j)}function getTypeIndex($,j){return isArray$x(j)?j.findIndex(oe=>isSameType(oe,$)):isFunction$h(j)&&isSameType(j,$)?0:-1}const isInternalKey=$=>$[0]==="_"||$==="$stable",normalizeSlotValue=$=>isArray$x($)?$.map(normalizeVNode):[normalizeVNode($)],normalizeSlot$1=($,j,oe)=>{if(j._n)return j;const ae=withCtx((...ie)=>normalizeSlotValue(j(...ie)),oe);return ae._c=!1,ae},normalizeObjectSlots=($,j,oe)=>{const ae=$._ctx;for(const ie in $){if(isInternalKey(ie))continue;const le=$[ie];if(isFunction$h(le))j[ie]=normalizeSlot$1(ie,le,ae);else if(le!=null){const de=normalizeSlotValue(le);j[ie]=()=>de}}},normalizeVNodeSlots=($,j)=>{const oe=normalizeSlotValue(j);$.slots.default=()=>oe},initSlots=($,j)=>{if($.vnode.shapeFlag&32){const oe=j._;oe?($.slots=toRaw(j),def(j,"_",oe)):normalizeObjectSlots(j,$.slots={})}else $.slots={},j&&normalizeVNodeSlots($,j);def($.slots,InternalObjectKey,1)},updateSlots=($,j,oe)=>{const{vnode:ae,slots:ie}=$;let le=!0,de=EMPTY_OBJ;if(ae.shapeFlag&32){const ue=j._;ue?oe&&ue===1?le=!1:(extend$1(ie,j),!oe&&ue===1&&delete ie._):(le=!j.$stable,normalizeObjectSlots(j,ie)),de=j}else j&&(normalizeVNodeSlots($,j),de={default:1});if(le)for(const ue in ie)!isInternalKey(ue)&&!(ue in de)&&delete ie[ue]};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($,j){return function(ae,ie=null){isFunction$h(ae)||(ae=Object.assign({},ae)),ie!=null&&!isObject$8(ie)&&(ie=null);const le=createAppContext(),de=new Set;let ue=!1;const pe=le.app={_uid:uid$1++,_component:ae,_props:ie,_container:null,_context:le,_instance:null,version:version$1,get config(){return le.config},set config(he){},use(he,..._e){return de.has(he)||(he&&isFunction$h(he.install)?(de.add(he),he.install(pe,..._e)):isFunction$h(he)&&(de.add(he),he(pe,..._e))),pe},mixin(he){return le.mixins.includes(he)||le.mixins.push(he),pe},component(he,_e){return _e?(le.components[he]=_e,pe):le.components[he]},directive(he,_e){return _e?(le.directives[he]=_e,pe):le.directives[he]},mount(he,_e,xe){if(!ue){const Ce=createVNode(ae,ie);return Ce.appContext=le,_e&&j?j(Ce,he):$(Ce,he,xe),ue=!0,pe._container=he,he.__vue_app__=pe,getExposeProxy(Ce.component)||Ce.component.proxy}},unmount(){ue&&($(null,pe._container),delete pe._container.__vue_app__)},provide(he,_e){return le.provides[he]=_e,pe}};return pe}}function setRef($,j,oe,ae,ie=!1){if(isArray$x($)){$.forEach((Ce,Ie)=>setRef(Ce,j&&(isArray$x(j)?j[Ie]:j),oe,ae,ie));return}if(isAsyncWrapper(ae)&&!ie)return;const le=ae.shapeFlag&4?getExposeProxy(ae.component)||ae.component.proxy:ae.el,de=ie?null:le,{i:ue,r:pe}=$,he=j&&j.r,_e=ue.refs===EMPTY_OBJ?ue.refs={}:ue.refs,xe=ue.setupState;if(he!=null&&he!==pe&&(isString$d(he)?(_e[he]=null,hasOwn$1(xe,he)&&(xe[he]=null)):isRef(he)&&(he.value=null)),isFunction$h(pe))callWithErrorHandling(pe,ue,12,[de,_e]);else{const Ce=isString$d(pe),Ie=isRef(pe);if(Ce||Ie){const $e=()=>{if($.f){const Ne=Ce?hasOwn$1(xe,pe)?xe[pe]:_e[pe]:pe.value;ie?isArray$x(Ne)&&remove$3(Ne,le):isArray$x(Ne)?Ne.includes(le)||Ne.push(le):Ce?(_e[pe]=[le],hasOwn$1(xe,pe)&&(xe[pe]=_e[pe])):(pe.value=[le],$.k&&(_e[$.k]=pe.value))}else Ce?(_e[pe]=de,hasOwn$1(xe,pe)&&(xe[pe]=de)):Ie&&(pe.value=de,$.k&&(_e[$.k]=de))};de?($e.id=-1,queuePostRenderEffect($e,oe)):$e()}}}let hasMismatch=!1;const isSVGContainer=$=>/svg/.test($.namespaceURI)&&$.tagName!=="foreignObject",isComment$1=$=>$.nodeType===8;function createHydrationFunctions($){const{mt:j,p:oe,o:{patchProp:ae,createText:ie,nextSibling:le,parentNode:de,remove:ue,insert:pe,createComment:he}}=$,_e=(Oe,Fe)=>{if(!Fe.hasChildNodes()){oe(null,Oe,Fe),flushPostFlushCbs(),Fe._vnode=Oe;return}hasMismatch=!1,xe(Fe.firstChild,Oe,null,null,null),flushPostFlushCbs(),Fe._vnode=Oe,hasMismatch&&console.error("Hydration completed but contains mismatches.")},xe=(Oe,Fe,ze,Ue,qe,hn=!1)=>{const vn=isComment$1(Oe)&&Oe.data==="[",bn=()=>Ne(Oe,Fe,ze,Ue,qe,vn),{type:_n,ref:kn,shapeFlag:xn,patchFlag:$n}=Fe;let Cn=Oe.nodeType;Fe.el=Oe,$n===-2&&(hn=!1,Fe.dynamicChildren=null);let En=null;switch(_n){case Text$2:Cn!==3?Fe.children===""?(pe(Fe.el=ie(""),de(Oe),Oe),En=Oe):En=bn():(Oe.data!==Fe.children&&(hasMismatch=!0,Oe.data=Fe.children),En=le(Oe));break;case Comment:Cn!==8||vn?En=bn():En=le(Oe);break;case Static:if(vn&&(Oe=le(Oe),Cn=Oe.nodeType),Cn===1||Cn===3){En=Oe;const Nn=!Fe.children.length;for(let Sn=0;Sn{hn=hn||!!Fe.dynamicChildren;const{type:vn,props:bn,patchFlag:_n,shapeFlag:kn,dirs:xn}=Fe,$n=vn==="input"&&xn||vn==="option";if($n||_n!==-1){if(xn&&invokeDirectiveHook(Fe,null,ze,"created"),bn)if($n||!hn||_n&48)for(const En in bn)($n&&En.endsWith("value")||isOn(En)&&!isReservedProp(En))&&ae(Oe,En,null,bn[En],!1,void 0,ze);else bn.onClick&&ae(Oe,"onClick",null,bn.onClick,!1,void 0,ze);let Cn;if((Cn=bn&&bn.onVnodeBeforeMount)&&invokeVNodeHook(Cn,ze,Fe),xn&&invokeDirectiveHook(Fe,null,ze,"beforeMount"),((Cn=bn&&bn.onVnodeMounted)||xn)&&queueEffectWithSuspense(()=>{Cn&&invokeVNodeHook(Cn,ze,Fe),xn&&invokeDirectiveHook(Fe,null,ze,"mounted")},Ue),kn&16&&!(bn&&(bn.innerHTML||bn.textContent))){let En=Ie(Oe.firstChild,Fe,Oe,ze,Ue,qe,hn);for(;En;){hasMismatch=!0;const Nn=En;En=En.nextSibling,ue(Nn)}}else kn&8&&Oe.textContent!==Fe.children&&(hasMismatch=!0,Oe.textContent=Fe.children)}return Oe.nextSibling},Ie=(Oe,Fe,ze,Ue,qe,hn,vn)=>{vn=vn||!!Fe.dynamicChildren;const bn=Fe.children,_n=bn.length;for(let kn=0;kn<_n;kn++){const xn=vn?bn[kn]:bn[kn]=normalizeVNode(bn[kn]);if(Oe)Oe=xe(Oe,xn,Ue,qe,hn,vn);else{if(xn.type===Text$2&&!xn.children)continue;hasMismatch=!0,oe(null,xn,ze,null,Ue,qe,isSVGContainer(ze),hn)}}return Oe},$e=(Oe,Fe,ze,Ue,qe,hn)=>{const{slotScopeIds:vn}=Fe;vn&&(qe=qe?qe.concat(vn):vn);const bn=de(Oe),_n=Ie(le(Oe),Fe,bn,ze,Ue,qe,hn);return _n&&isComment$1(_n)&&_n.data==="]"?le(Fe.anchor=_n):(hasMismatch=!0,pe(Fe.anchor=he("]"),bn,_n),_n)},Ne=(Oe,Fe,ze,Ue,qe,hn)=>{if(hasMismatch=!0,Fe.el=null,hn){const _n=Ve(Oe);for(;;){const kn=le(Oe);if(kn&&kn!==_n)ue(kn);else break}}const vn=le(Oe),bn=de(Oe);return ue(Oe),oe(null,Fe,bn,vn,ze,Ue,isSVGContainer(bn),qe),vn},Ve=Oe=>{let Fe=0;for(;Oe;)if(Oe=le(Oe),Oe&&isComment$1(Oe)&&(Oe.data==="["&&Fe++,Oe.data==="]")){if(Fe===0)return le(Oe);Fe--}return Oe};return[_e,xe]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer($){return baseCreateRenderer($)}function createHydrationRenderer($){return baseCreateRenderer($,createHydrationFunctions)}function baseCreateRenderer($,j){const oe=getGlobalThis$1();oe.__VUE__=!0;const{insert:ae,remove:ie,patchProp:le,createElement:de,createText:ue,createComment:pe,setText:he,setElementText:_e,parentNode:xe,nextSibling:Ce,setScopeId:Ie=NOOP,insertStaticContent:$e}=$,Ne=(Ln,Rn,Gn,no=null,bo=null,Wn=null,lo=!1,Qn=null,ro=!!Rn.dynamicChildren)=>{if(Ln===Rn)return;Ln&&!isSameVNodeType(Ln,Rn)&&(no=qn(Ln),Dn(Ln,bo,Wn,!0),Ln=null),Rn.patchFlag===-2&&(ro=!1,Rn.dynamicChildren=null);const{type:Hn,ref:uo,shapeFlag:so}=Rn;switch(Hn){case Text$2:Ve(Ln,Rn,Gn,no);break;case Comment:Oe(Ln,Rn,Gn,no);break;case Static:Ln==null&&Fe(Rn,Gn,no,lo);break;case Fragment:$n(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro);break;default:so&1?qe(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro):so&6?Cn(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro):(so&64||so&128)&&Hn.process(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro,eo)}uo!=null&&bo&&setRef(uo,Ln&&Ln.ref,Wn,Rn||Ln,!Rn)},Ve=(Ln,Rn,Gn,no)=>{if(Ln==null)ae(Rn.el=ue(Rn.children),Gn,no);else{const bo=Rn.el=Ln.el;Rn.children!==Ln.children&&he(bo,Rn.children)}},Oe=(Ln,Rn,Gn,no)=>{Ln==null?ae(Rn.el=pe(Rn.children||""),Gn,no):Rn.el=Ln.el},Fe=(Ln,Rn,Gn,no)=>{[Ln.el,Ln.anchor]=$e(Ln.children,Rn,Gn,no,Ln.el,Ln.anchor)},ze=({el:Ln,anchor:Rn},Gn,no)=>{let bo;for(;Ln&&Ln!==Rn;)bo=Ce(Ln),ae(Ln,Gn,no),Ln=bo;ae(Rn,Gn,no)},Ue=({el:Ln,anchor:Rn})=>{let Gn;for(;Ln&&Ln!==Rn;)Gn=Ce(Ln),ie(Ln),Ln=Gn;ie(Rn)},qe=(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro)=>{lo=lo||Rn.type==="svg",Ln==null?hn(Rn,Gn,no,bo,Wn,lo,Qn,ro):_n(Ln,Rn,bo,Wn,lo,Qn,ro)},hn=(Ln,Rn,Gn,no,bo,Wn,lo,Qn)=>{let ro,Hn;const{type:uo,props:so,shapeFlag:yo,transition:to,dirs:go}=Ln;if(ro=Ln.el=de(Ln.type,Wn,so&&so.is,so),yo&8?_e(ro,Ln.children):yo&16&&bn(Ln.children,ro,null,no,bo,Wn&&uo!=="foreignObject",lo,Qn),go&&invokeDirectiveHook(Ln,null,no,"created"),vn(ro,Ln,Ln.scopeId,lo,no),so){for(const To in so)To!=="value"&&!isReservedProp(To)&&le(ro,To,null,so[To],Wn,Ln.children,no,bo,Yn);"value"in so&&le(ro,"value",null,so.value),(Hn=so.onVnodeBeforeMount)&&invokeVNodeHook(Hn,no,Ln)}go&&invokeDirectiveHook(Ln,null,no,"beforeMount");const _o=(!bo||bo&&!bo.pendingBranch)&&to&&!to.persisted;_o&&to.beforeEnter(ro),ae(ro,Rn,Gn),((Hn=so&&so.onVnodeMounted)||_o||go)&&queuePostRenderEffect(()=>{Hn&&invokeVNodeHook(Hn,no,Ln),_o&&to.enter(ro),go&&invokeDirectiveHook(Ln,null,no,"mounted")},bo)},vn=(Ln,Rn,Gn,no,bo)=>{if(Gn&&Ie(Ln,Gn),no)for(let Wn=0;Wn{for(let Hn=ro;Hn{const Qn=Rn.el=Ln.el;let{patchFlag:ro,dynamicChildren:Hn,dirs:uo}=Rn;ro|=Ln.patchFlag&16;const so=Ln.props||EMPTY_OBJ,yo=Rn.props||EMPTY_OBJ;let to;Gn&&toggleRecurse(Gn,!1),(to=yo.onVnodeBeforeUpdate)&&invokeVNodeHook(to,Gn,Rn,Ln),uo&&invokeDirectiveHook(Rn,Ln,Gn,"beforeUpdate"),Gn&&toggleRecurse(Gn,!0);const go=bo&&Rn.type!=="foreignObject";if(Hn?kn(Ln.dynamicChildren,Hn,Qn,Gn,no,go,Wn):lo||On(Ln,Rn,Qn,null,Gn,no,go,Wn,!1),ro>0){if(ro&16)xn(Qn,Rn,so,yo,Gn,no,bo);else if(ro&2&&so.class!==yo.class&&le(Qn,"class",null,yo.class,bo),ro&4&&le(Qn,"style",so.style,yo.style,bo),ro&8){const _o=Rn.dynamicProps;for(let To=0;To<_o.length;To++){const Un=_o[To],fo=so[Un],vo=yo[Un];(vo!==fo||Un==="value")&&le(Qn,Un,fo,vo,bo,Ln.children,Gn,no,Yn)}}ro&1&&Ln.children!==Rn.children&&_e(Qn,Rn.children)}else!lo&&Hn==null&&xn(Qn,Rn,so,yo,Gn,no,bo);((to=yo.onVnodeUpdated)||uo)&&queuePostRenderEffect(()=>{to&&invokeVNodeHook(to,Gn,Rn,Ln),uo&&invokeDirectiveHook(Rn,Ln,Gn,"updated")},no)},kn=(Ln,Rn,Gn,no,bo,Wn,lo)=>{for(let Qn=0;Qn{if(Gn!==no){if(Gn!==EMPTY_OBJ)for(const Qn in Gn)!isReservedProp(Qn)&&!(Qn in no)&&le(Ln,Qn,Gn[Qn],null,lo,Rn.children,bo,Wn,Yn);for(const Qn in no){if(isReservedProp(Qn))continue;const ro=no[Qn],Hn=Gn[Qn];ro!==Hn&&Qn!=="value"&&le(Ln,Qn,Hn,ro,lo,Rn.children,bo,Wn,Yn)}"value"in no&&le(Ln,"value",Gn.value,no.value)}},$n=(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro)=>{const Hn=Rn.el=Ln?Ln.el:ue(""),uo=Rn.anchor=Ln?Ln.anchor:ue("");let{patchFlag:so,dynamicChildren:yo,slotScopeIds:to}=Rn;to&&(Qn=Qn?Qn.concat(to):to),Ln==null?(ae(Hn,Gn,no),ae(uo,Gn,no),bn(Rn.children,Gn,uo,bo,Wn,lo,Qn,ro)):so>0&&so&64&&yo&&Ln.dynamicChildren?(kn(Ln.dynamicChildren,yo,Gn,bo,Wn,lo,Qn),(Rn.key!=null||bo&&Rn===bo.subTree)&&traverseStaticChildren(Ln,Rn,!0)):On(Ln,Rn,Gn,uo,bo,Wn,lo,Qn,ro)},Cn=(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro)=>{Rn.slotScopeIds=Qn,Ln==null?Rn.shapeFlag&512?bo.ctx.activate(Rn,Gn,no,lo,ro):En(Rn,Gn,no,bo,Wn,lo,ro):Nn(Ln,Rn,ro)},En=(Ln,Rn,Gn,no,bo,Wn,lo)=>{const Qn=Ln.component=createComponentInstance(Ln,no,bo);if(isKeepAlive(Ln)&&(Qn.ctx.renderer=eo),setupComponent(Qn),Qn.asyncDep){if(bo&&bo.registerDep(Qn,Sn),!Ln.el){const ro=Qn.subTree=createVNode(Comment);Oe(null,ro,Rn,Gn)}return}Sn(Qn,Ln,Rn,Gn,bo,Wn,lo)},Nn=(Ln,Rn,Gn)=>{const no=Rn.component=Ln.component;if(shouldUpdateComponent(Ln,Rn,Gn))if(no.asyncDep&&!no.asyncResolved){wn(no,Rn,Gn);return}else no.next=Rn,invalidateJob(no.update),no.update();else Rn.el=Ln.el,no.vnode=Rn},Sn=(Ln,Rn,Gn,no,bo,Wn,lo)=>{const Qn=()=>{if(Ln.isMounted){let{next:uo,bu:so,u:yo,parent:to,vnode:go}=Ln,_o=uo,To;toggleRecurse(Ln,!1),uo?(uo.el=go.el,wn(Ln,uo,lo)):uo=go,so&&invokeArrayFns(so),(To=uo.props&&uo.props.onVnodeBeforeUpdate)&&invokeVNodeHook(To,to,uo,go),toggleRecurse(Ln,!0);const Un=renderComponentRoot(Ln),fo=Ln.subTree;Ln.subTree=Un,Ne(fo,Un,xe(fo.el),qn(fo),Ln,bo,Wn),uo.el=Un.el,_o===null&&updateHOCHostEl(Ln,Un.el),yo&&queuePostRenderEffect(yo,bo),(To=uo.props&&uo.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(To,to,uo,go),bo)}else{let uo;const{el:so,props:yo}=Rn,{bm:to,m:go,parent:_o}=Ln,To=isAsyncWrapper(Rn);if(toggleRecurse(Ln,!1),to&&invokeArrayFns(to),!To&&(uo=yo&&yo.onVnodeBeforeMount)&&invokeVNodeHook(uo,_o,Rn),toggleRecurse(Ln,!0),so&&So){const Un=()=>{Ln.subTree=renderComponentRoot(Ln),So(so,Ln.subTree,Ln,bo,null)};To?Rn.type.__asyncLoader().then(()=>!Ln.isUnmounted&&Un()):Un()}else{const Un=Ln.subTree=renderComponentRoot(Ln);Ne(null,Un,Gn,no,Ln,bo,Wn),Rn.el=Un.el}if(go&&queuePostRenderEffect(go,bo),!To&&(uo=yo&&yo.onVnodeMounted)){const Un=Rn;queuePostRenderEffect(()=>invokeVNodeHook(uo,_o,Un),bo)}(Rn.shapeFlag&256||_o&&isAsyncWrapper(_o.vnode)&&_o.vnode.shapeFlag&256)&&Ln.a&&queuePostRenderEffect(Ln.a,bo),Ln.isMounted=!0,Rn=Gn=no=null}},ro=Ln.effect=new ReactiveEffect(Qn,()=>queueJob(Hn),Ln.scope),Hn=Ln.update=()=>ro.run();Hn.id=Ln.uid,toggleRecurse(Ln,!0),Hn()},wn=(Ln,Rn,Gn)=>{Rn.component=Ln;const no=Ln.vnode.props;Ln.vnode=Rn,Ln.next=null,updateProps(Ln,Rn.props,no,Gn),updateSlots(Ln,Rn.children,Gn),pauseTracking(),flushPreFlushCbs(),resetTracking()},On=(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro=!1)=>{const Hn=Ln&&Ln.children,uo=Ln?Ln.shapeFlag:0,so=Rn.children,{patchFlag:yo,shapeFlag:to}=Rn;if(yo>0){if(yo&128){In(Hn,so,Gn,no,bo,Wn,lo,Qn,ro);return}else if(yo&256){Tn(Hn,so,Gn,no,bo,Wn,lo,Qn,ro);return}}to&8?(uo&16&&Yn(Hn,bo,Wn),so!==Hn&&_e(Gn,so)):uo&16?to&16?In(Hn,so,Gn,no,bo,Wn,lo,Qn,ro):Yn(Hn,bo,Wn,!0):(uo&8&&_e(Gn,""),to&16&&bn(so,Gn,no,bo,Wn,lo,Qn,ro))},Tn=(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro)=>{Ln=Ln||EMPTY_ARR,Rn=Rn||EMPTY_ARR;const Hn=Ln.length,uo=Rn.length,so=Math.min(Hn,uo);let yo;for(yo=0;youo?Yn(Ln,bo,Wn,!0,!1,so):bn(Rn,Gn,no,bo,Wn,lo,Qn,ro,so)},In=(Ln,Rn,Gn,no,bo,Wn,lo,Qn,ro)=>{let Hn=0;const uo=Rn.length;let so=Ln.length-1,yo=uo-1;for(;Hn<=so&&Hn<=yo;){const to=Ln[Hn],go=Rn[Hn]=ro?cloneIfMounted(Rn[Hn]):normalizeVNode(Rn[Hn]);if(isSameVNodeType(to,go))Ne(to,go,Gn,null,bo,Wn,lo,Qn,ro);else break;Hn++}for(;Hn<=so&&Hn<=yo;){const to=Ln[so],go=Rn[yo]=ro?cloneIfMounted(Rn[yo]):normalizeVNode(Rn[yo]);if(isSameVNodeType(to,go))Ne(to,go,Gn,null,bo,Wn,lo,Qn,ro);else break;so--,yo--}if(Hn>so){if(Hn<=yo){const to=yo+1,go=toyo)for(;Hn<=so;)Dn(Ln[Hn],bo,Wn,!0),Hn++;else{const to=Hn,go=Hn,_o=new Map;for(Hn=go;Hn<=yo;Hn++){const No=Rn[Hn]=ro?cloneIfMounted(Rn[Hn]):normalizeVNode(Rn[Hn]);No.key!=null&&_o.set(No.key,Hn)}let To,Un=0;const fo=yo-go+1;let vo=!1,Jn=0;const co=new Array(fo);for(Hn=0;Hn=fo){Dn(No,bo,Wn,!0);continue}let jo;if(No.key!=null)jo=_o.get(No.key);else for(To=go;To<=yo;To++)if(co[To-go]===0&&isSameVNodeType(No,Rn[To])){jo=To;break}jo===void 0?Dn(No,bo,Wn,!0):(co[jo-go]=Hn+1,jo>=Jn?Jn=jo:vo=!0,Ne(No,Rn[jo],Gn,null,bo,Wn,lo,Qn,ro),Un++)}const $o=vo?getSequence(co):EMPTY_ARR;for(To=$o.length-1,Hn=fo-1;Hn>=0;Hn--){const No=go+Hn,jo=Rn[No],wo=No+1{const{el:Wn,type:lo,transition:Qn,children:ro,shapeFlag:Hn}=Ln;if(Hn&6){Bn(Ln.component.subTree,Rn,Gn,no);return}if(Hn&128){Ln.suspense.move(Rn,Gn,no);return}if(Hn&64){lo.move(Ln,Rn,Gn,eo);return}if(lo===Fragment){ae(Wn,Rn,Gn);for(let so=0;soQn.enter(Wn),bo);else{const{leave:so,delayLeave:yo,afterLeave:to}=Qn,go=()=>ae(Wn,Rn,Gn),_o=()=>{so(Wn,()=>{go(),to&&to()})};yo?yo(Wn,go,_o):_o()}else ae(Wn,Rn,Gn)},Dn=(Ln,Rn,Gn,no=!1,bo=!1)=>{const{type:Wn,props:lo,ref:Qn,children:ro,dynamicChildren:Hn,shapeFlag:uo,patchFlag:so,dirs:yo}=Ln;if(Qn!=null&&setRef(Qn,null,Gn,Ln,!0),uo&256){Rn.ctx.deactivate(Ln);return}const to=uo&1&&yo,go=!isAsyncWrapper(Ln);let _o;if(go&&(_o=lo&&lo.onVnodeBeforeUnmount)&&invokeVNodeHook(_o,Rn,Ln),uo&6)Fn(Ln.component,Gn,no);else{if(uo&128){Ln.suspense.unmount(Gn,no);return}to&&invokeDirectiveHook(Ln,null,Rn,"beforeUnmount"),uo&64?Ln.type.remove(Ln,Rn,Gn,bo,eo,no):Hn&&(Wn!==Fragment||so>0&&so&64)?Yn(Hn,Rn,Gn,!1,!0):(Wn===Fragment&&so&384||!bo&&uo&16)&&Yn(ro,Rn,Gn),no&&Xn(Ln)}(go&&(_o=lo&&lo.onVnodeUnmounted)||to)&&queuePostRenderEffect(()=>{_o&&invokeVNodeHook(_o,Rn,Ln),to&&invokeDirectiveHook(Ln,null,Rn,"unmounted")},Gn)},Xn=Ln=>{const{type:Rn,el:Gn,anchor:no,transition:bo}=Ln;if(Rn===Fragment){Zn(Gn,no);return}if(Rn===Static){Ue(Ln);return}const Wn=()=>{ie(Gn),bo&&!bo.persisted&&bo.afterLeave&&bo.afterLeave()};if(Ln.shapeFlag&1&&bo&&!bo.persisted){const{leave:lo,delayLeave:Qn}=bo,ro=()=>lo(Gn,Wn);Qn?Qn(Ln.el,Wn,ro):ro()}else Wn()},Zn=(Ln,Rn)=>{let Gn;for(;Ln!==Rn;)Gn=Ce(Ln),ie(Ln),Ln=Gn;ie(Rn)},Fn=(Ln,Rn,Gn)=>{const{bum:no,scope:bo,update:Wn,subTree:lo,um:Qn}=Ln;no&&invokeArrayFns(no),bo.stop(),Wn&&(Wn.active=!1,Dn(lo,Ln,Rn,Gn)),Qn&&queuePostRenderEffect(Qn,Rn),queuePostRenderEffect(()=>{Ln.isUnmounted=!0},Rn),Rn&&Rn.pendingBranch&&!Rn.isUnmounted&&Ln.asyncDep&&!Ln.asyncResolved&&Ln.suspenseId===Rn.pendingId&&(Rn.deps--,Rn.deps===0&&Rn.resolve())},Yn=(Ln,Rn,Gn,no=!1,bo=!1,Wn=0)=>{for(let lo=Wn;loLn.shapeFlag&6?qn(Ln.component.subTree):Ln.shapeFlag&128?Ln.suspense.next():Ce(Ln.anchor||Ln.el),Vn=(Ln,Rn,Gn)=>{Ln==null?Rn._vnode&&Dn(Rn._vnode,null,null,!0):Ne(Rn._vnode||null,Ln,Rn,null,null,null,Gn),flushPreFlushCbs(),flushPostFlushCbs(),Rn._vnode=Ln},eo={p:Ne,um:Dn,m:Bn,r:Xn,mt:En,mc:bn,pc:On,pbc:kn,n:qn,o:$};let ho,So;return j&&([ho,So]=j(eo)),{render:Vn,hydrate:ho,createApp:createAppAPI(Vn,ho)}}function toggleRecurse({effect:$,update:j},oe){$.allowRecurse=j.allowRecurse=oe}function traverseStaticChildren($,j,oe=!1){const ae=$.children,ie=j.children;if(isArray$x(ae)&&isArray$x(ie))for(let le=0;le>1,$[oe[ue]]0&&(j[ae]=oe[le-1]),oe[le]=ae)}}for(le=oe.length,de=oe[le-1];le-- >0;)oe[le]=de,de=j[de];return oe}const isTeleport=$=>$.__isTeleport,isTeleportDisabled=$=>$&&($.disabled||$.disabled===""),isTargetSVG=$=>typeof SVGElement<"u"&&$ instanceof SVGElement,resolveTarget=($,j)=>{const oe=$&&$.to;return isString$d(oe)?j?j(oe):null:oe},TeleportImpl={__isTeleport:!0,process($,j,oe,ae,ie,le,de,ue,pe,he){const{mc:_e,pc:xe,pbc:Ce,o:{insert:Ie,querySelector:$e,createText:Ne,createComment:Ve}}=he,Oe=isTeleportDisabled(j.props);let{shapeFlag:Fe,children:ze,dynamicChildren:Ue}=j;if($==null){const qe=j.el=Ne(""),hn=j.anchor=Ne("");Ie(qe,oe,ae),Ie(hn,oe,ae);const vn=j.target=resolveTarget(j.props,$e),bn=j.targetAnchor=Ne("");vn&&(Ie(bn,vn),de=de||isTargetSVG(vn));const _n=(kn,xn)=>{Fe&16&&_e(ze,kn,xn,ie,le,de,ue,pe)};Oe?_n(oe,hn):vn&&_n(vn,bn)}else{j.el=$.el;const qe=j.anchor=$.anchor,hn=j.target=$.target,vn=j.targetAnchor=$.targetAnchor,bn=isTeleportDisabled($.props),_n=bn?oe:hn,kn=bn?qe:vn;if(de=de||isTargetSVG(hn),Ue?(Ce($.dynamicChildren,Ue,_n,ie,le,de,ue),traverseStaticChildren($,j,!0)):pe||xe($,j,_n,kn,ie,le,de,ue,!1),Oe)bn||moveTeleport(j,oe,qe,he,1);else if((j.props&&j.props.to)!==($.props&&$.props.to)){const xn=j.target=resolveTarget(j.props,$e);xn&&moveTeleport(j,xn,null,he,0)}else bn&&moveTeleport(j,hn,vn,he,1)}updateCssVars(j)},remove($,j,oe,ae,{um:ie,o:{remove:le}},de){const{shapeFlag:ue,children:pe,anchor:he,targetAnchor:_e,target:xe,props:Ce}=$;if(xe&&le(_e),(de||!isTeleportDisabled(Ce))&&(le(he),ue&16))for(let Ie=0;Ie0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push($),$}function createElementBlock($,j,oe,ae,ie,le){return setupBlock(createBaseVNode($,j,oe,ae,ie,le,!0))}function createBlock($,j,oe,ae,ie){return setupBlock(createVNode($,j,oe,ae,ie,!0))}function isVNode$1($){return $?$.__v_isVNode===!0:!1}function isSameVNodeType($,j){return $.type===j.type&&$.key===j.key}function transformVNodeArgs($){}const InternalObjectKey="__vInternal",normalizeKey=({key:$})=>$??null,normalizeRef=({ref:$,ref_key:j,ref_for:oe})=>$!=null?isString$d($)||isRef($)||isFunction$h($)?{i:currentRenderingInstance,r:$,k:j,f:!!oe}:$:null;function createBaseVNode($,j=null,oe=null,ae=0,ie=null,le=$===Fragment?0:1,de=!1,ue=!1){const pe={__v_isVNode:!0,__v_skip:!0,type:$,props:j,key:j&&normalizeKey(j),ref:j&&normalizeRef(j),scopeId:currentScopeId,slotScopeIds:null,children:oe,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:le,patchFlag:ae,dynamicProps:ie,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return ue?(normalizeChildren(pe,oe),le&128&&$.normalize(pe)):oe&&(pe.shapeFlag|=isString$d(oe)?8:16),isBlockTreeEnabled>0&&!de&¤tBlock&&(pe.patchFlag>0||le&6)&&pe.patchFlag!==32&¤tBlock.push(pe),pe}const createVNode=_createVNode;function _createVNode($,j=null,oe=null,ae=0,ie=null,le=!1){if((!$||$===NULL_DYNAMIC_COMPONENT)&&($=Comment),isVNode$1($)){const ue=cloneVNode($,j,!0);return oe&&normalizeChildren(ue,oe),isBlockTreeEnabled>0&&!le&¤tBlock&&(ue.shapeFlag&6?currentBlock[currentBlock.indexOf($)]=ue:currentBlock.push(ue)),ue.patchFlag|=-2,ue}if(isClassComponent($)&&($=$.__vccOpts),j){j=guardReactiveProps(j);let{class:ue,style:pe}=j;ue&&!isString$d(ue)&&(j.class=normalizeClass(ue)),isObject$8(pe)&&(isProxy(pe)&&!isArray$x(pe)&&(pe=extend$1({},pe)),j.style=normalizeStyle(pe))}const de=isString$d($)?1:isSuspense($)?128:isTeleport($)?64:isObject$8($)?4:isFunction$h($)?2:0;return createBaseVNode($,j,oe,ae,ie,de,le,!0)}function guardReactiveProps($){return $?isProxy($)||InternalObjectKey in $?extend$1({},$):$:null}function cloneVNode($,j,oe=!1){const{props:ae,ref:ie,patchFlag:le,children:de}=$,ue=j?mergeProps(ae||{},j):ae;return{__v_isVNode:!0,__v_skip:!0,type:$.type,props:ue,key:ue&&normalizeKey(ue),ref:j&&j.ref?oe&&ie?isArray$x(ie)?ie.concat(normalizeRef(j)):[ie,normalizeRef(j)]:normalizeRef(j):ie,scopeId:$.scopeId,slotScopeIds:$.slotScopeIds,children:de,target:$.target,targetAnchor:$.targetAnchor,staticCount:$.staticCount,shapeFlag:$.shapeFlag,patchFlag:j&&$.type!==Fragment?le===-1?16:le|16:le,dynamicProps:$.dynamicProps,dynamicChildren:$.dynamicChildren,appContext:$.appContext,dirs:$.dirs,transition:$.transition,component:$.component,suspense:$.suspense,ssContent:$.ssContent&&cloneVNode($.ssContent),ssFallback:$.ssFallback&&cloneVNode($.ssFallback),el:$.el,anchor:$.anchor,ctx:$.ctx,ce:$.ce}}function createTextVNode($=" ",j=0){return createVNode(Text$2,null,$,j)}function createStaticVNode($,j){const oe=createVNode(Static,null,$);return oe.staticCount=j,oe}function createCommentVNode($="",j=!1){return j?(openBlock(),createBlock(Comment,null,$)):createVNode(Comment,null,$)}function normalizeVNode($){return $==null||typeof $=="boolean"?createVNode(Comment):isArray$x($)?createVNode(Fragment,null,$.slice()):typeof $=="object"?cloneIfMounted($):createVNode(Text$2,null,String($))}function cloneIfMounted($){return $.el===null&&$.patchFlag!==-1||$.memo?$:cloneVNode($)}function normalizeChildren($,j){let oe=0;const{shapeFlag:ae}=$;if(j==null)j=null;else if(isArray$x(j))oe=16;else if(typeof j=="object")if(ae&65){const ie=j.default;ie&&(ie._c&&(ie._d=!1),normalizeChildren($,ie()),ie._c&&(ie._d=!0));return}else{oe=32;const ie=j._;!ie&&!(InternalObjectKey in j)?j._ctx=currentRenderingInstance:ie===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?j._=1:(j._=2,$.patchFlag|=1024))}else isFunction$h(j)?(j={default:j,_ctx:currentRenderingInstance},oe=32):(j=String(j),ae&64?(oe=16,j=[createTextVNode(j)]):oe=8);$.children=j,$.shapeFlag|=oe}function mergeProps(...$){const j={};for(let oe=0;oe<$.length;oe++){const ae=$[oe];for(const ie in ae)if(ie==="class")j.class!==ae.class&&(j.class=normalizeClass([j.class,ae.class]));else if(ie==="style")j.style=normalizeStyle([j.style,ae.style]);else if(isOn(ie)){const le=j[ie],de=ae[ie];de&&le!==de&&!(isArray$x(le)&&le.includes(de))&&(j[ie]=le?[].concat(le,de):de)}else ie!==""&&(j[ie]=ae[ie])}return j}function invokeVNodeHook($,j,oe,ae=null){callWithAsyncErrorHandling($,j,7,[oe,ae])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance($,j,oe){const ae=$.type,ie=(j?j.appContext:$.appContext)||emptyAppContext,le={uid:uid$2++,vnode:$,type:ae,parent:j,appContext:ie,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:j?j.provides:Object.create(ie.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(ae,ie),emitsOptions:normalizeEmitsOptions(ae,ie),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:ae.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:oe,suspenseId:oe?oe.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 le.ctx={_:le},le.root=j?j.root:le,le.emit=emit.bind(null,le),$.ce&&$.ce(le),le}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance,setCurrentInstance=$=>{currentInstance=$,$.scope.on()},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),currentInstance=null};function isStatefulComponent($){return $.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent($,j=!1){isInSSRComponentSetup=j;const{props:oe,children:ae}=$.vnode,ie=isStatefulComponent($);initProps($,oe,ie,j),initSlots($,ae);const le=ie?setupStatefulComponent($,j):void 0;return isInSSRComponentSetup=!1,le}function setupStatefulComponent($,j){const oe=$.type;$.accessCache=Object.create(null),$.proxy=markRaw(new Proxy($.ctx,PublicInstanceProxyHandlers));const{setup:ae}=oe;if(ae){const ie=$.setupContext=ae.length>1?createSetupContext($):null;setCurrentInstance($),pauseTracking();const le=callWithErrorHandling(ae,$,0,[$.props,ie]);if(resetTracking(),unsetCurrentInstance(),isPromise(le)){if(le.then(unsetCurrentInstance,unsetCurrentInstance),j)return le.then(de=>{handleSetupResult($,de,j)}).catch(de=>{handleError(de,$,0)});$.asyncDep=le}else handleSetupResult($,le,j)}else finishComponentSetup($,j)}function handleSetupResult($,j,oe){isFunction$h(j)?$.type.__ssrInlineRender?$.ssrRender=j:$.render=j:isObject$8(j)&&($.setupState=proxyRefs(j)),finishComponentSetup($,oe)}let compile$1,installWithProxy;function registerRuntimeCompiler($){compile$1=$,installWithProxy=j=>{j.render._rc&&(j.withProxy=new Proxy(j.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$1;function finishComponentSetup($,j,oe){const ae=$.type;if(!$.render){if(!j&&compile$1&&!ae.render){const ie=ae.template||resolveMergedOptions($).template;if(ie){const{isCustomElement:le,compilerOptions:de}=$.appContext.config,{delimiters:ue,compilerOptions:pe}=ae,he=extend$1(extend$1({isCustomElement:le,delimiters:ue},de),pe);ae.render=compile$1(ie,he)}}$.render=ae.render||NOOP,installWithProxy&&installWithProxy($)}setCurrentInstance($),pauseTracking(),applyOptions($),resetTracking(),unsetCurrentInstance()}function createAttrsProxy($){return new Proxy($.attrs,{get(j,oe){return track($,"get","$attrs"),j[oe]}})}function createSetupContext($){const j=ae=>{$.exposed=ae||{}};let oe;return{get attrs(){return oe||(oe=createAttrsProxy($))},slots:$.slots,emit:$.emit,expose:j}}function getExposeProxy($){if($.exposed)return $.exposeProxy||($.exposeProxy=new Proxy(proxyRefs(markRaw($.exposed)),{get(j,oe){if(oe in j)return j[oe];if(oe in publicPropertiesMap)return publicPropertiesMap[oe]($)},has(j,oe){return oe in j||oe in publicPropertiesMap}}))}function getComponentName$1($,j=!0){return isFunction$h($)?$.displayName||$.name:$.name||j&&$.__name}function isClassComponent($){return isFunction$h($)&&"__vccOpts"in $}const computed=($,j)=>computed$1($,j,isInSSRComponentSetup);function defineProps(){return null}function defineEmits(){return null}function defineExpose($){}function withDefaults($,j){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const $=getCurrentInstance();return $.setupContext||($.setupContext=createSetupContext($))}function mergeDefaults($,j){const oe=isArray$x($)?$.reduce((ae,ie)=>(ae[ie]={},ae),{}):$;for(const ae in j){const ie=oe[ae];ie?isArray$x(ie)||isFunction$h(ie)?oe[ae]={type:ie,default:j[ae]}:ie.default=j[ae]:ie===null&&(oe[ae]={default:j[ae]})}return oe}function createPropsRestProxy($,j){const oe={};for(const ae in $)j.includes(ae)||Object.defineProperty(oe,ae,{enumerable:!0,get:()=>$[ae]});return oe}function withAsyncContext($){const j=getCurrentInstance();let oe=$();return unsetCurrentInstance(),isPromise(oe)&&(oe=oe.catch(ae=>{throw setCurrentInstance(j),ae})),[oe,()=>setCurrentInstance(j)]}function h$2($,j,oe){const ae=arguments.length;return ae===2?isObject$8(j)&&!isArray$x(j)?isVNode$1(j)?createVNode($,null,[j]):createVNode($,j):createVNode($,null,j):(ae>3?oe=Array.prototype.slice.call(arguments,2):ae===3&&isVNode$1(oe)&&(oe=[oe]),createVNode($,j,oe))}const ssrContextKey=Symbol(""),useSSRContext=()=>inject(ssrContextKey);function initCustomFormatter(){}function withMemo($,j,oe,ae){const ie=oe[ae];if(ie&&isMemoSame(ie,$))return ie;const le=j();return le.memo=$.slice(),oe[ae]=le}function isMemoSame($,j){const oe=$.memo;if(oe.length!=j.length)return!1;for(let ae=0;ae0&¤tBlock&¤tBlock.push($),!0}const version$1="3.2.47",_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode:isVNode$1,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,svgNS="http://www.w3.org/2000/svg",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:($,j,oe)=>{j.insertBefore($,oe||null)},remove:$=>{const j=$.parentNode;j&&j.removeChild($)},createElement:($,j,oe,ae)=>{const ie=j?doc.createElementNS(svgNS,$):doc.createElement($,oe?{is:oe}:void 0);return $==="select"&&ae&&ae.multiple!=null&&ie.setAttribute("multiple",ae.multiple),ie},createText:$=>doc.createTextNode($),createComment:$=>doc.createComment($),setText:($,j)=>{$.nodeValue=j},setElementText:($,j)=>{$.textContent=j},parentNode:$=>$.parentNode,nextSibling:$=>$.nextSibling,querySelector:$=>doc.querySelector($),setScopeId($,j){$.setAttribute(j,"")},insertStaticContent($,j,oe,ae,ie,le){const de=oe?oe.previousSibling:j.lastChild;if(ie&&(ie===le||ie.nextSibling))for(;j.insertBefore(ie.cloneNode(!0),oe),!(ie===le||!(ie=ie.nextSibling)););else{templateContainer.innerHTML=ae?`${$}`:$;const ue=templateContainer.content;if(ae){const pe=ue.firstChild;for(;pe.firstChild;)ue.appendChild(pe.firstChild);ue.removeChild(pe)}j.insertBefore(ue,oe)}return[de?de.nextSibling:j.firstChild,oe?oe.previousSibling:j.lastChild]}};function patchClass($,j,oe){const ae=$._vtc;ae&&(j=(j?[j,...ae]:[...ae]).join(" ")),j==null?$.removeAttribute("class"):oe?$.setAttribute("class",j):$.className=j}function patchStyle($,j,oe){const ae=$.style,ie=isString$d(oe);if(oe&&!ie){if(j&&!isString$d(j))for(const le in j)oe[le]==null&&setStyle(ae,le,"");for(const le in oe)setStyle(ae,le,oe[le])}else{const le=ae.display;ie?j!==oe&&(ae.cssText=oe):j&&$.removeAttribute("style"),"_vod"in $&&(ae.display=le)}}const importantRE=/\s*!important$/;function setStyle($,j,oe){if(isArray$x(oe))oe.forEach(ae=>setStyle($,j,ae));else if(oe==null&&(oe=""),j.startsWith("--"))$.setProperty(j,oe);else{const ae=autoPrefix($,j);importantRE.test(oe)?$.setProperty(hyphenate(ae),oe.replace(importantRE,""),"important"):$[ae]=oe}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix($,j){const oe=prefixCache[j];if(oe)return oe;let ae=camelize(j);if(ae!=="filter"&&ae in $)return prefixCache[j]=ae;ae=capitalize$2(ae);for(let ie=0;iecachedNow||(p$2.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker($,j){const oe=ae=>{if(!ae._vts)ae._vts=Date.now();else if(ae._vts<=oe.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(ae,oe.value),j,5,[ae])};return oe.value=$,oe.attached=getNow(),oe}function patchStopImmediatePropagation($,j){if(isArray$x(j)){const oe=$.stopImmediatePropagation;return $.stopImmediatePropagation=()=>{oe.call($),$._stopped=!0},j.map(ae=>ie=>!ie._stopped&&ae&&ae(ie))}else return j}const nativeOnRE=/^on[a-z]/,patchProp=($,j,oe,ae,ie=!1,le,de,ue,pe)=>{j==="class"?patchClass($,ae,ie):j==="style"?patchStyle($,oe,ae):isOn(j)?isModelListener(j)||patchEvent($,j,oe,ae,de):(j[0]==="."?(j=j.slice(1),!0):j[0]==="^"?(j=j.slice(1),!1):shouldSetAsProp($,j,ae,ie))?patchDOMProp($,j,ae,le,de,ue,pe):(j==="true-value"?$._trueValue=ae:j==="false-value"&&($._falseValue=ae),patchAttr($,j,ae,ie))};function shouldSetAsProp($,j,oe,ae){return ae?!!(j==="innerHTML"||j==="textContent"||j in $&&nativeOnRE.test(j)&&isFunction$h(oe)):j==="spellcheck"||j==="draggable"||j==="translate"||j==="form"||j==="list"&&$.tagName==="INPUT"||j==="type"&&$.tagName==="TEXTAREA"||nativeOnRE.test(j)&&isString$d(oe)?!1:j in $}function defineCustomElement($,j){const oe=defineComponent($);class ae extends VueElement{constructor(le){super(oe,le,j)}}return ae.def=oe,ae}const defineSSRCustomElement=$=>defineCustomElement($,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(j,oe={},ae){super(),this._def=j,this._props=oe,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&ae?ae(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(render$2(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let ae=0;ae{for(const ie of ae)this._setAttr(ie.attributeName)}).observe(this,{attributes:!0});const j=(ae,ie=!1)=>{const{props:le,styles:de}=ae;let ue;if(le&&!isArray$x(le))for(const pe in le){const he=le[pe];(he===Number||he&&he.type===Number)&&(pe in this._props&&(this._props[pe]=toNumber$9(this._props[pe])),(ue||(ue=Object.create(null)))[camelize(pe)]=!0)}this._numberProps=ue,ie&&this._resolveProps(ae),this._applyStyles(de),this._update()},oe=this._def.__asyncLoader;oe?oe().then(ae=>j(ae,!0)):j(this._def)}_resolveProps(j){const{props:oe}=j,ae=isArray$x(oe)?oe:Object.keys(oe||{});for(const ie of Object.keys(this))ie[0]!=="_"&&ae.includes(ie)&&this._setProp(ie,this[ie],!0,!1);for(const ie of ae.map(camelize))Object.defineProperty(this,ie,{get(){return this._getProp(ie)},set(le){this._setProp(ie,le)}})}_setAttr(j){let oe=this.getAttribute(j);const ae=camelize(j);this._numberProps&&this._numberProps[ae]&&(oe=toNumber$9(oe)),this._setProp(ae,oe,!1)}_getProp(j){return this._props[j]}_setProp(j,oe,ae=!0,ie=!0){oe!==this._props[j]&&(this._props[j]=oe,ie&&this._instance&&this._update(),ae&&(oe===!0?this.setAttribute(hyphenate(j),""):typeof oe=="string"||typeof oe=="number"?this.setAttribute(hyphenate(j),oe+""):oe||this.removeAttribute(hyphenate(j))))}_update(){render$2(this._createVNode(),this.shadowRoot)}_createVNode(){const j=createVNode(this._def,extend$1({},this._props));return this._instance||(j.ce=oe=>{this._instance=oe,oe.isCE=!0;const ae=(le,de)=>{this.dispatchEvent(new CustomEvent(le,{detail:de}))};oe.emit=(le,...de)=>{ae(le,de),hyphenate(le)!==le&&ae(hyphenate(le),de)};let ie=this;for(;ie=ie&&(ie.parentNode||ie.host);)if(ie instanceof VueElement){oe.parent=ie._instance,oe.provides=ie._instance.provides;break}}),j}_applyStyles(j){j&&j.forEach(oe=>{const ae=document.createElement("style");ae.textContent=oe,this.shadowRoot.appendChild(ae)})}}function useCssModule($="$style"){{const j=getCurrentInstance();if(!j)return EMPTY_OBJ;const oe=j.type.__cssModules;if(!oe)return EMPTY_OBJ;const ae=oe[$];return ae||EMPTY_OBJ}}function useCssVars($){const j=getCurrentInstance();if(!j)return;const oe=j.ut=(ie=$(j.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${j.uid}"]`)).forEach(le=>setVarsOnNode(le,ie))},ae=()=>{const ie=$(j.proxy);setVarsOnVNode(j.subTree,ie),oe(ie)};watchPostEffect(ae),onMounted(()=>{const ie=new MutationObserver(ae);ie.observe(j.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ie.disconnect())})}function setVarsOnVNode($,j){if($.shapeFlag&128){const oe=$.suspense;$=oe.activeBranch,oe.pendingBranch&&!oe.isHydrating&&oe.effects.push(()=>{setVarsOnVNode(oe.activeBranch,j)})}for(;$.component;)$=$.component.subTree;if($.shapeFlag&1&&$.el)setVarsOnNode($.el,j);else if($.type===Fragment)$.children.forEach(oe=>setVarsOnVNode(oe,j));else if($.type===Static){let{el:oe,anchor:ae}=$;for(;oe&&(setVarsOnNode(oe,j),oe!==ae);)oe=oe.nextSibling}}function setVarsOnNode($,j){if($.nodeType===1){const oe=$.style;for(const ae in j)oe.setProperty(`--${ae}`,j[ae])}}const TRANSITION="transition",ANIMATION="animation",Transition=($,{slots:j})=>h$2(BaseTransition,resolveTransitionProps($),j);Transition.displayName="Transition";const 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=Transition.props=extend$1({},BaseTransition.props,DOMTransitionPropsValidators),callHook=($,j=[])=>{isArray$x($)?$.forEach(oe=>oe(...j)):$&&$(...j)},hasExplicitCallback=$=>$?isArray$x($)?$.some(j=>j.length>1):$.length>1:!1;function resolveTransitionProps($){const j={};for(const $n in $)$n in DOMTransitionPropsValidators||(j[$n]=$[$n]);if($.css===!1)return j;const{name:oe="v",type:ae,duration:ie,enterFromClass:le=`${oe}-enter-from`,enterActiveClass:de=`${oe}-enter-active`,enterToClass:ue=`${oe}-enter-to`,appearFromClass:pe=le,appearActiveClass:he=de,appearToClass:_e=ue,leaveFromClass:xe=`${oe}-leave-from`,leaveActiveClass:Ce=`${oe}-leave-active`,leaveToClass:Ie=`${oe}-leave-to`}=$,$e=normalizeDuration(ie),Ne=$e&&$e[0],Ve=$e&&$e[1],{onBeforeEnter:Oe,onEnter:Fe,onEnterCancelled:ze,onLeave:Ue,onLeaveCancelled:qe,onBeforeAppear:hn=Oe,onAppear:vn=Fe,onAppearCancelled:bn=ze}=j,_n=($n,Cn,En)=>{removeTransitionClass($n,Cn?_e:ue),removeTransitionClass($n,Cn?he:de),En&&En()},kn=($n,Cn)=>{$n._isLeaving=!1,removeTransitionClass($n,xe),removeTransitionClass($n,Ie),removeTransitionClass($n,Ce),Cn&&Cn()},xn=$n=>(Cn,En)=>{const Nn=$n?vn:Fe,Sn=()=>_n(Cn,$n,En);callHook(Nn,[Cn,Sn]),nextFrame(()=>{removeTransitionClass(Cn,$n?pe:le),addTransitionClass(Cn,$n?_e:ue),hasExplicitCallback(Nn)||whenTransitionEnds(Cn,ae,Ne,Sn)})};return extend$1(j,{onBeforeEnter($n){callHook(Oe,[$n]),addTransitionClass($n,le),addTransitionClass($n,de)},onBeforeAppear($n){callHook(hn,[$n]),addTransitionClass($n,pe),addTransitionClass($n,he)},onEnter:xn(!1),onAppear:xn(!0),onLeave($n,Cn){$n._isLeaving=!0;const En=()=>kn($n,Cn);addTransitionClass($n,xe),forceReflow(),addTransitionClass($n,Ce),nextFrame(()=>{$n._isLeaving&&(removeTransitionClass($n,xe),addTransitionClass($n,Ie),hasExplicitCallback(Ue)||whenTransitionEnds($n,ae,Ve,En))}),callHook(Ue,[$n,En])},onEnterCancelled($n){_n($n,!1),callHook(ze,[$n])},onAppearCancelled($n){_n($n,!0),callHook(bn,[$n])},onLeaveCancelled($n){kn($n),callHook(qe,[$n])}})}function normalizeDuration($){if($==null)return null;if(isObject$8($))return[NumberOf($.enter),NumberOf($.leave)];{const j=NumberOf($);return[j,j]}}function NumberOf($){return toNumber$9($)}function addTransitionClass($,j){j.split(/\s+/).forEach(oe=>oe&&$.classList.add(oe)),($._vtc||($._vtc=new Set)).add(j)}function removeTransitionClass($,j){j.split(/\s+/).forEach(ae=>ae&&$.classList.remove(ae));const{_vtc:oe}=$;oe&&(oe.delete(j),oe.size||($._vtc=void 0))}function nextFrame($){requestAnimationFrame(()=>{requestAnimationFrame($)})}let endId=0;function whenTransitionEnds($,j,oe,ae){const ie=$._endId=++endId,le=()=>{ie===$._endId&&ae()};if(oe)return setTimeout(le,oe);const{type:de,timeout:ue,propCount:pe}=getTransitionInfo($,j);if(!de)return ae();const he=de+"end";let _e=0;const xe=()=>{$.removeEventListener(he,Ce),le()},Ce=Ie=>{Ie.target===$&&++_e>=pe&&xe()};setTimeout(()=>{_e(oe[$e]||"").split(", "),ie=ae(`${TRANSITION}Delay`),le=ae(`${TRANSITION}Duration`),de=getTimeout(ie,le),ue=ae(`${ANIMATION}Delay`),pe=ae(`${ANIMATION}Duration`),he=getTimeout(ue,pe);let _e=null,xe=0,Ce=0;j===TRANSITION?de>0&&(_e=TRANSITION,xe=de,Ce=le.length):j===ANIMATION?he>0&&(_e=ANIMATION,xe=he,Ce=pe.length):(xe=Math.max(de,he),_e=xe>0?de>he?TRANSITION:ANIMATION:null,Ce=_e?_e===TRANSITION?le.length:pe.length:0);const Ie=_e===TRANSITION&&/\b(transform|all)(,|$)/.test(ae(`${TRANSITION}Property`).toString());return{type:_e,timeout:xe,propCount:Ce,hasTransform:Ie}}function getTimeout($,j){for(;$.lengthtoMs(oe)+toMs($[ae])))}function toMs($){return Number($.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}const positionMap=new WeakMap,newPositionMap=new WeakMap,TransitionGroupImpl={name:"TransitionGroup",props:extend$1({},TransitionPropsValidators,{tag:String,moveClass:String}),setup($,{slots:j}){const oe=getCurrentInstance(),ae=useTransitionState();let ie,le;return onUpdated(()=>{if(!ie.length)return;const de=$.moveClass||`${$.name||"v"}-move`;if(!hasCSSTransform(ie[0].el,oe.vnode.el,de))return;ie.forEach(callPendingCbs),ie.forEach(recordPosition);const ue=ie.filter(applyTranslation);forceReflow(),ue.forEach(pe=>{const he=pe.el,_e=he.style;addTransitionClass(he,de),_e.transform=_e.webkitTransform=_e.transitionDuration="";const xe=he._moveCb=Ce=>{Ce&&Ce.target!==he||(!Ce||/transform$/.test(Ce.propertyName))&&(he.removeEventListener("transitionend",xe),he._moveCb=null,removeTransitionClass(he,de))};he.addEventListener("transitionend",xe)})}),()=>{const de=toRaw($),ue=resolveTransitionProps(de);let pe=de.tag||Fragment;ie=le,le=j.default?getTransitionRawChildren(j.default()):[];for(let he=0;hedelete $.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs($){const j=$.el;j._moveCb&&j._moveCb(),j._enterCb&&j._enterCb()}function recordPosition($){newPositionMap.set($,$.el.getBoundingClientRect())}function applyTranslation($){const j=positionMap.get($),oe=newPositionMap.get($),ae=j.left-oe.left,ie=j.top-oe.top;if(ae||ie){const le=$.el.style;return le.transform=le.webkitTransform=`translate(${ae}px,${ie}px)`,le.transitionDuration="0s",$}}function hasCSSTransform($,j,oe){const ae=$.cloneNode();$._vtc&&$._vtc.forEach(de=>{de.split(/\s+/).forEach(ue=>ue&&ae.classList.remove(ue))}),oe.split(/\s+/).forEach(de=>de&&ae.classList.add(de)),ae.style.display="none";const ie=j.nodeType===1?j:j.parentNode;ie.appendChild(ae);const{hasTransform:le}=getTransitionInfo(ae);return ie.removeChild(ae),le}const getModelAssigner=$=>{const j=$.props["onUpdate:modelValue"]||!1;return isArray$x(j)?oe=>invokeArrayFns(j,oe):j};function onCompositionStart($){$.target.composing=!0}function onCompositionEnd($){const j=$.target;j.composing&&(j.composing=!1,j.dispatchEvent(new Event("input")))}const vModelText={created($,{modifiers:{lazy:j,trim:oe,number:ae}},ie){$._assign=getModelAssigner(ie);const le=ae||ie.props&&ie.props.type==="number";addEventListener($,j?"change":"input",de=>{if(de.target.composing)return;let ue=$.value;oe&&(ue=ue.trim()),le&&(ue=looseToNumber(ue)),$._assign(ue)}),oe&&addEventListener($,"change",()=>{$.value=$.value.trim()}),j||(addEventListener($,"compositionstart",onCompositionStart),addEventListener($,"compositionend",onCompositionEnd),addEventListener($,"change",onCompositionEnd))},mounted($,{value:j}){$.value=j??""},beforeUpdate($,{value:j,modifiers:{lazy:oe,trim:ae,number:ie}},le){if($._assign=getModelAssigner(le),$.composing||document.activeElement===$&&$.type!=="range"&&(oe||ae&&$.value.trim()===j||(ie||$.type==="number")&&looseToNumber($.value)===j))return;const de=j??"";$.value!==de&&($.value=de)}},vModelCheckbox={deep:!0,created($,j,oe){$._assign=getModelAssigner(oe),addEventListener($,"change",()=>{const ae=$._modelValue,ie=getValue$2($),le=$.checked,de=$._assign;if(isArray$x(ae)){const ue=looseIndexOf(ae,ie),pe=ue!==-1;if(le&&!pe)de(ae.concat(ie));else if(!le&&pe){const he=[...ae];he.splice(ue,1),de(he)}}else if(isSet$4(ae)){const ue=new Set(ae);le?ue.add(ie):ue.delete(ie),de(ue)}else de(getCheckboxValue($,le))})},mounted:setChecked,beforeUpdate($,j,oe){$._assign=getModelAssigner(oe),setChecked($,j,oe)}};function setChecked($,{value:j,oldValue:oe},ae){$._modelValue=j,isArray$x(j)?$.checked=looseIndexOf(j,ae.props.value)>-1:isSet$4(j)?$.checked=j.has(ae.props.value):j!==oe&&($.checked=looseEqual(j,getCheckboxValue($,!0)))}const vModelRadio={created($,{value:j},oe){$.checked=looseEqual(j,oe.props.value),$._assign=getModelAssigner(oe),addEventListener($,"change",()=>{$._assign(getValue$2($))})},beforeUpdate($,{value:j,oldValue:oe},ae){$._assign=getModelAssigner(ae),j!==oe&&($.checked=looseEqual(j,ae.props.value))}},vModelSelect={deep:!0,created($,{value:j,modifiers:{number:oe}},ae){const ie=isSet$4(j);addEventListener($,"change",()=>{const le=Array.prototype.filter.call($.options,de=>de.selected).map(de=>oe?looseToNumber(getValue$2(de)):getValue$2(de));$._assign($.multiple?ie?new Set(le):le:le[0])}),$._assign=getModelAssigner(ae)},mounted($,{value:j}){setSelected($,j)},beforeUpdate($,j,oe){$._assign=getModelAssigner(oe)},updated($,{value:j}){setSelected($,j)}};function setSelected($,j){const oe=$.multiple;if(!(oe&&!isArray$x(j)&&!isSet$4(j))){for(let ae=0,ie=$.options.length;ae-1:le.selected=j.has(de);else if(looseEqual(getValue$2(le),j)){$.selectedIndex!==ae&&($.selectedIndex=ae);return}}!oe&&$.selectedIndex!==-1&&($.selectedIndex=-1)}}function getValue$2($){return"_value"in $?$._value:$.value}function getCheckboxValue($,j){const oe=j?"_trueValue":"_falseValue";return oe in $?$[oe]:j}const vModelDynamic={created($,j,oe){callModelHook($,j,oe,null,"created")},mounted($,j,oe){callModelHook($,j,oe,null,"mounted")},beforeUpdate($,j,oe,ae){callModelHook($,j,oe,ae,"beforeUpdate")},updated($,j,oe,ae){callModelHook($,j,oe,ae,"updated")}};function resolveDynamicModel($,j){switch($){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(j){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook($,j,oe,ae,ie){const de=resolveDynamicModel($.tagName,oe.props&&oe.props.type)[ie];de&&de($,j,oe,ae)}function initVModelForSSR(){vModelText.getSSRProps=({value:$})=>({value:$}),vModelRadio.getSSRProps=({value:$},j)=>{if(j.props&&looseEqual(j.props.value,$))return{checked:!0}},vModelCheckbox.getSSRProps=({value:$},j)=>{if(isArray$x($)){if(j.props&&looseIndexOf($,j.props.value)>-1)return{checked:!0}}else if(isSet$4($)){if(j.props&&$.has(j.props.value))return{checked:!0}}else if($)return{checked:!0}},vModelDynamic.getSSRProps=($,j)=>{if(typeof j.type!="string")return;const oe=resolveDynamicModel(j.type.toUpperCase(),j.props&&j.props.type);if(oe.getSSRProps)return oe.getSSRProps($,j)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:$=>$.stopPropagation(),prevent:$=>$.preventDefault(),self:$=>$.target!==$.currentTarget,ctrl:$=>!$.ctrlKey,shift:$=>!$.shiftKey,alt:$=>!$.altKey,meta:$=>!$.metaKey,left:$=>"button"in $&&$.button!==0,middle:$=>"button"in $&&$.button!==1,right:$=>"button"in $&&$.button!==2,exact:($,j)=>systemModifiers.some(oe=>$[`${oe}Key`]&&!j.includes(oe))},withModifiers=($,j)=>(oe,...ae)=>{for(let ie=0;ieoe=>{if(!("key"in oe))return;const ae=hyphenate(oe.key);if(j.some(ie=>ie===ae||keyNames[ie]===ae))return $(oe)},vShow={beforeMount($,{value:j},{transition:oe}){$._vod=$.style.display==="none"?"":$.style.display,oe&&j?oe.beforeEnter($):setDisplay($,j)},mounted($,{value:j},{transition:oe}){oe&&j&&oe.enter($)},updated($,{value:j,oldValue:oe},{transition:ae}){!j!=!oe&&(ae?j?(ae.beforeEnter($),setDisplay($,!0),ae.enter($)):ae.leave($,()=>{setDisplay($,!1)}):setDisplay($,j))},beforeUnmount($,{value:j}){setDisplay($,j)}};function setDisplay($,j){$.style.display=j?$._vod:"none"}function initVShowForSSR(){vShow.getSSRProps=({value:$})=>{if(!$)return{style:{display:"none"}}}}const rendererOptions=extend$1({patchProp},nodeOps);let renderer$1,enabledHydration=!1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer$1=enabledHydration?renderer$1:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer$1}const render$2=(...$)=>{ensureRenderer().render(...$)},hydrate=(...$)=>{ensureHydrationRenderer().hydrate(...$)},createApp=(...$)=>{const j=ensureRenderer().createApp(...$),{mount:oe}=j;return j.mount=ae=>{const ie=normalizeContainer(ae);if(!ie)return;const le=j._component;!isFunction$h(le)&&!le.render&&!le.template&&(le.template=ie.innerHTML),ie.innerHTML="";const de=oe(ie,!1,ie instanceof SVGElement);return ie instanceof Element&&(ie.removeAttribute("v-cloak"),ie.setAttribute("data-v-app","")),de},j},createSSRApp=(...$)=>{const j=ensureHydrationRenderer().createApp(...$),{mount:oe}=j;return j.mount=ae=>{const ie=normalizeContainer(ae);if(ie)return oe(ie,!0,ie instanceof SVGElement)},j};function normalizeContainer($){return isString$d($)?document.querySelector($):$}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())};var isVue2=!1,__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=($,j,oe)=>j in $?__defProp$9($,j,{enumerable:!0,configurable:!0,writable:!0,value:oe}):$[j]=oe,__spreadValues$9=($,j)=>{for(var oe in j||(j={}))__hasOwnProp$b.call(j,oe)&&__defNormalProp$9($,oe,j[oe]);if(__getOwnPropSymbols$b)for(var oe of __getOwnPropSymbols$b(j))__propIsEnum$b.call(j,oe)&&__defNormalProp$9($,oe,j[oe]);return $},__spreadProps$6=($,j)=>__defProps$6($,__getOwnPropDescs$6(j));function computedEager($,j){var oe;const ae=shallowRef();return watchEffect(()=>{ae.value=$()},__spreadProps$6(__spreadValues$9({},j),{flush:(oe=j==null?void 0:j.flush)!=null?oe:"sync"})),readonly(ae)}var _a;const isClient=typeof window<"u",isDef=$=>typeof $<"u",isBoolean$5=$=>typeof $=="boolean",isFunction$g=$=>typeof $=="function",isNumber$d=$=>typeof $=="number",isString$c=$=>typeof $=="string",noop$6=()=>{},isIOS=isClient&&((_a=window==null?void 0:window.navigator)==null?void 0:_a.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref($){return typeof $=="function"?$():unref($)}function createFilterWrapper($,j){function oe(...ae){return new Promise((ie,le)=>{Promise.resolve($(()=>j.apply(this,ae),{fn:j,thisArg:this,args:ae})).then(ie).catch(le)})}return oe}function debounceFilter($,j={}){let oe,ae,ie=noop$6;const le=ue=>{clearTimeout(ue),ie(),ie=noop$6};return ue=>{const pe=resolveUnref($),he=resolveUnref(j.maxWait);return oe&&le(oe),pe<=0||he!==void 0&&he<=0?(ae&&(le(ae),ae=null),Promise.resolve(ue())):new Promise((_e,xe)=>{ie=j.rejectOnCancel?xe:_e,he&&!ae&&(ae=setTimeout(()=>{oe&&le(oe),ae=null,_e(ue())},he)),oe=setTimeout(()=>{ae&&le(ae),ae=null,_e(ue())},pe)})}}function throttleFilter($,j=!0,oe=!0,ae=!1){let ie=0,le,de=!0,ue=noop$6,pe;const he=()=>{le&&(clearTimeout(le),le=void 0,ue(),ue=noop$6)};return xe=>{const Ce=resolveUnref($),Ie=Date.now()-ie,$e=()=>pe=xe();return he(),Ce<=0?(ie=Date.now(),$e()):(Ie>Ce&&(oe||!de)?(ie=Date.now(),$e()):j&&(pe=new Promise((Ne,Ve)=>{ue=ae?Ve:Ne,le=setTimeout(()=>{ie=Date.now(),de=!0,Ne($e()),he()},Math.max(0,Ce-Ie))})),!oe&&!le&&(le=setTimeout(()=>de=!0,Ce)),de=!1,pe)}}function identity$1($){return $}function tryOnScopeDispose($){return getCurrentScope()?(onScopeDispose($),!0):!1}function useDebounceFn($,j=200,oe={}){return createFilterWrapper(debounceFilter(j,oe),$)}function refDebounced($,j=200,oe={}){const ae=ref($.value),ie=useDebounceFn(()=>{ae.value=$.value},j,oe);return watch($,()=>ie()),ae}function useThrottleFn($,j=200,oe=!1,ae=!0,ie=!1){return createFilterWrapper(throttleFilter(j,oe,ae,ie),$)}function tryOnMounted($,j=!0){getCurrentInstance()?onMounted($):j?$():nextTick($)}function useTimeoutFn($,j,oe={}){const{immediate:ae=!0}=oe,ie=ref(!1);let le=null;function de(){le&&(clearTimeout(le),le=null)}function ue(){ie.value=!1,de()}function pe(...he){de(),ie.value=!0,le=setTimeout(()=>{ie.value=!1,le=null,$(...he)},resolveUnref(j))}return ae&&(ie.value=!0,isClient&&pe()),tryOnScopeDispose(ue),{isPending:readonly(ie),start:pe,stop:ue}}function unrefElement($){var j;const oe=resolveUnref($);return(j=oe==null?void 0:oe.$el)!=null?j:oe}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0,defaultNavigator=isClient?window.navigator:void 0;function useEventListener(...$){let j,oe,ae,ie;if(isString$c($[0])||Array.isArray($[0])?([oe,ae,ie]=$,j=defaultWindow):[j,oe,ae,ie]=$,!j)return noop$6;Array.isArray(oe)||(oe=[oe]),Array.isArray(ae)||(ae=[ae]);const le=[],de=()=>{le.forEach(_e=>_e()),le.length=0},ue=(_e,xe,Ce,Ie)=>(_e.addEventListener(xe,Ce,Ie),()=>_e.removeEventListener(xe,Ce,Ie)),pe=watch(()=>[unrefElement(j),resolveUnref(ie)],([_e,xe])=>{de(),_e&&le.push(...oe.flatMap(Ce=>ae.map(Ie=>ue(_e,Ce,Ie,xe))))},{immediate:!0,flush:"post"}),he=()=>{pe(),de()};return tryOnScopeDispose(he),he}let _iOSWorkaround=!1;function onClickOutside($,j,oe={}){const{window:ae=defaultWindow,ignore:ie=[],capture:le=!0,detectIframe:de=!1}=oe;if(!ae)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(ae.document.body.children).forEach(Ce=>Ce.addEventListener("click",noop$6)));let ue=!0;const pe=Ce=>ie.some(Ie=>{if(typeof Ie=="string")return Array.from(ae.document.querySelectorAll(Ie)).some($e=>$e===Ce.target||Ce.composedPath().includes($e));{const $e=unrefElement(Ie);return $e&&(Ce.target===$e||Ce.composedPath().includes($e))}}),_e=[useEventListener(ae,"click",Ce=>{const Ie=unrefElement($);if(!(!Ie||Ie===Ce.target||Ce.composedPath().includes(Ie))){if(Ce.detail===0&&(ue=!pe(Ce)),!ue){ue=!0;return}j(Ce)}},{passive:!0,capture:le}),useEventListener(ae,"pointerdown",Ce=>{const Ie=unrefElement($);Ie&&(ue=!Ce.composedPath().includes(Ie)&&!pe(Ce))},{passive:!0}),de&&useEventListener(ae,"blur",Ce=>{var Ie;const $e=unrefElement($);((Ie=ae.document.activeElement)==null?void 0:Ie.tagName)==="IFRAME"&&!($e!=null&&$e.contains(ae.document.activeElement))&&j(Ce)})].filter(Boolean);return()=>_e.forEach(Ce=>Ce())}function useSupported($,j=!1){const oe=ref(),ae=()=>oe.value=!!$();return ae(),tryOnMounted(ae,j),oe}function useClipboard($={}){const{navigator:j=defaultNavigator,read:oe=!1,source:ae,copiedDuring:ie=1500,legacy:le=!1}=$,de=["copy","cut"],ue=useSupported(()=>j&&"clipboard"in j),pe=computed(()=>ue.value||le),he=ref(""),_e=ref(!1),xe=useTimeoutFn(()=>_e.value=!1,ie);function Ce(){ue.value?j.clipboard.readText().then(Ve=>{he.value=Ve}):he.value=Ne()}if(pe.value&&oe)for(const Ve of de)useEventListener(Ve,Ce);async function Ie(Ve=resolveUnref(ae)){pe.value&&Ve!=null&&(ue.value?await j.clipboard.writeText(Ve):$e(Ve),he.value=Ve,_e.value=!0,xe.start())}function $e(Ve){const Oe=document.createElement("textarea");Oe.value=Ve??"",Oe.style.position="absolute",Oe.style.opacity="0",document.body.appendChild(Oe),Oe.select(),document.execCommand("copy"),Oe.remove()}function Ne(){var Ve,Oe,Fe;return(Fe=(Oe=(Ve=document==null?void 0:document.getSelection)==null?void 0:Ve.call(document))==null?void 0:Oe.toString())!=null?Fe:""}return{isSupported:pe,text:he,copied:_e,copy:Ie}}function cloneFnJSON($){return JSON.parse(JSON.stringify($))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global$1[globalKey]=_global$1[globalKey]||{};function useCssVar($,j,{window:oe=defaultWindow,initialValue:ae=""}={}){const ie=ref(ae),le=computed(()=>{var de;return unrefElement(j)||((de=oe==null?void 0:oe.document)==null?void 0:de.documentElement)});return watch([le,()=>resolveUnref($)],([de,ue])=>{var pe;if(de&&oe){const he=(pe=oe.getComputedStyle(de).getPropertyValue(ue))==null?void 0:pe.trim();ie.value=he||ae}},{immediate:!0}),watch(ie,de=>{var ue;(ue=le.value)!=null&&ue.style&&le.value.style.setProperty(resolveUnref($),de)}),ie}function useDocumentVisibility({document:$=defaultDocument}={}){if(!$)return ref("visible");const j=ref($.visibilityState);return useEventListener($,"visibilitychange",()=>{j.value=$.visibilityState}),j}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=($,j)=>{var oe={};for(var ae in $)__hasOwnProp$g.call($,ae)&&j.indexOf(ae)<0&&(oe[ae]=$[ae]);if($!=null&&__getOwnPropSymbols$g)for(var ae of __getOwnPropSymbols$g($))j.indexOf(ae)<0&&__propIsEnum$g.call($,ae)&&(oe[ae]=$[ae]);return oe};function useResizeObserver($,j,oe={}){const ae=oe,{window:ie=defaultWindow}=ae,le=__objRest$2(ae,["window"]);let de;const ue=useSupported(()=>ie&&"ResizeObserver"in ie),pe=()=>{de&&(de.disconnect(),de=void 0)},he=watch(()=>unrefElement($),xe=>{pe(),ue.value&&ie&&xe&&(de=new ResizeObserver(j),de.observe(xe,le))},{immediate:!0,flush:"post"}),_e=()=>{pe(),he()};return tryOnScopeDispose(_e),{isSupported:ue,stop:_e}}function useElementBounding($,j={}){const{reset:oe=!0,windowResize:ae=!0,windowScroll:ie=!0,immediate:le=!0}=j,de=ref(0),ue=ref(0),pe=ref(0),he=ref(0),_e=ref(0),xe=ref(0),Ce=ref(0),Ie=ref(0);function $e(){const Ne=unrefElement($);if(!Ne){oe&&(de.value=0,ue.value=0,pe.value=0,he.value=0,_e.value=0,xe.value=0,Ce.value=0,Ie.value=0);return}const Ve=Ne.getBoundingClientRect();de.value=Ve.height,ue.value=Ve.bottom,pe.value=Ve.left,he.value=Ve.right,_e.value=Ve.top,xe.value=Ve.width,Ce.value=Ve.x,Ie.value=Ve.y}return useResizeObserver($,$e),watch(()=>unrefElement($),Ne=>!Ne&&$e()),ie&&useEventListener("scroll",$e,{capture:!0,passive:!0}),ae&&useEventListener("resize",$e,{passive:!0}),tryOnMounted(()=>{le&&$e()}),{height:de,bottom:ue,left:pe,right:he,top:_e,width:xe,x:Ce,y:Ie,update:$e}}const functionsMap=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function useFullscreen($,j={}){const{document:oe=defaultDocument,autoExit:ae=!1}=j,ie=$||(oe==null?void 0:oe.querySelector("html")),le=ref(!1);let de=functionsMap[0];const ue=useSupported(()=>{if(oe){for(const Ne of functionsMap)if(Ne[1]in oe)return de=Ne,!0}else return!1;return!1}),[pe,he,_e,,xe]=de;async function Ce(){ue.value&&(oe!=null&&oe[_e]&&await oe[he](),le.value=!1)}async function Ie(){if(!ue.value)return;await Ce();const Ne=unrefElement(ie);Ne&&(await Ne[pe](),le.value=!0)}async function $e(){le.value?await Ce():await Ie()}return oe&&useEventListener(oe,xe,()=>{le.value=!!(oe!=null&&oe[_e])},!1),ae&&tryOnScopeDispose(Ce),{isSupported:ue,isFullscreen:le,enter:Ie,exit:Ce,toggle:$e}}var SwipeDirection;(function($){$.UP="UP",$.RIGHT="RIGHT",$.DOWN="DOWN",$.LEFT="LEFT",$.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=($,j,oe)=>j in $?__defProp($,j,{enumerable:!0,configurable:!0,writable:!0,value:oe}):$[j]=oe,__spreadValues=($,j)=>{for(var oe in j||(j={}))__hasOwnProp.call(j,oe)&&__defNormalProp($,oe,j[oe]);if(__getOwnPropSymbols)for(var oe of __getOwnPropSymbols(j))__propIsEnum.call(j,oe)&&__defNormalProp($,oe,j[oe]);return $};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]};__spreadValues({linear:identity$1},_TransitionPresets);function useVModel($,j,oe,ae={}){var ie,le,de;const{clone:ue=!1,passive:pe=!1,eventName:he,deep:_e=!1,defaultValue:xe}=ae,Ce=getCurrentInstance(),Ie=oe||(Ce==null?void 0:Ce.emit)||((ie=Ce==null?void 0:Ce.$emit)==null?void 0:ie.bind(Ce))||((de=(le=Ce==null?void 0:Ce.proxy)==null?void 0:le.$emit)==null?void 0:de.bind(Ce==null?void 0:Ce.proxy));let $e=he;j||(j="modelValue"),$e=he||$e||`update:${j.toString()}`;const Ne=Oe=>ue?isFunction$g(ue)?ue(Oe):cloneFnJSON(Oe):Oe,Ve=()=>isDef($[j])?Ne($[j]):xe;if(pe){const Oe=Ve(),Fe=ref(Oe);return watch(()=>$[j],ze=>Fe.value=Ne(ze)),watch(Fe,ze=>{(ze!==$[j]||_e)&&Ie($e,ze)},{deep:_e}),Fe}else return computed({get(){return Ve()},set(Oe){Ie($e,Oe)}})}function useWindowFocus({window:$=defaultWindow}={}){if(!$)return ref(!1);const j=ref($.document.hasFocus());return useEventListener($,"blur",()=>{j.value=!1}),useEventListener($,"focus",()=>{j.value=!0}),j}function useWindowSize($={}){const{window:j=defaultWindow,initialWidth:oe=1/0,initialHeight:ae=1/0,listenOrientation:ie=!0,includeScrollbar:le=!0}=$,de=ref(oe),ue=ref(ae),pe=()=>{j&&(le?(de.value=j.innerWidth,ue.value=j.innerHeight):(de.value=j.document.documentElement.clientWidth,ue.value=j.document.documentElement.clientHeight))};return pe(),tryOnMounted(pe),useEventListener("resize",pe,{passive:!0}),ie&&useEventListener("orientationchange",pe,{passive:!0}),{width:de,height:ue}}const isInContainer=($,j)=>{if(!isClient||!$||!j)return!1;const oe=$.getBoundingClientRect();let ae;return j instanceof Element?ae=j.getBoundingClientRect():ae={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},oe.topae.top&&oe.right>ae.left&&oe.left{let j=0,oe=$;for(;oe;)j+=oe.offsetTop,oe=oe.offsetParent;return j},getOffsetTopDistance=($,j)=>Math.abs(getOffsetTop($)-getOffsetTop(j)),getClientXY=$=>{let j,oe;return $.type==="touchend"?(oe=$.changedTouches[0].clientY,j=$.changedTouches[0].clientX):$.type.startsWith("touch")?(oe=$.touches[0].clientY,j=$.touches[0].clientX):(oe=$.clientY,j=$.clientX),{clientX:j,clientY:oe}};var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")();const root$1=root;var Symbol$1=root$1.Symbol;const Symbol$2=Symbol$1;var objectProto$f=Object.prototype,hasOwnProperty$e=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag($){var j=hasOwnProperty$e.call($,symToStringTag$1),oe=$[symToStringTag$1];try{$[symToStringTag$1]=void 0;var ae=!0}catch{}var ie=nativeObjectToString$1.call($);return ae&&(j?$[symToStringTag$1]=oe:delete $[symToStringTag$1]),ie}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString$4($){return nativeObjectToString.call($)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag($){return $==null?$===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object($)?getRawTag($):objectToString$4($)}function isObjectLike($){return $!=null&&typeof $=="object"}var symbolTag$3="[object Symbol]";function isSymbol$3($){return typeof $=="symbol"||isObjectLike($)&&baseGetTag($)==symbolTag$3}function arrayMap($,j){for(var oe=-1,ae=$==null?0:$.length,ie=Array(ae);++oe0){if(++j>=HOT_COUNT)return arguments[0]}else j=0;return $.apply(void 0,arguments)}}function constant($){return function(){return $}}var defineProperty=function(){try{var $=getNative(Object,"defineProperty");return $({},"",{}),$}catch{}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function($,j){return defineProperty$1($,"toString",{configurable:!0,enumerable:!1,value:constant(j),writable:!0})}:identity;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach$f($,j){for(var oe=-1,ae=$==null?0:$.length;++oe-1}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex($,j){var oe=typeof $;return j=j??MAX_SAFE_INTEGER$1,!!j&&(oe=="number"||oe!="symbol"&&reIsUint.test($))&&$>-1&&$%1==0&&$-1&&$%1==0&&$<=MAX_SAFE_INTEGER}function isArrayLike($){return $!=null&&isLength($.length)&&!isFunction$f($)}function isIterateeCall($,j,oe){if(!isObject$7(oe))return!1;var ae=typeof j;return(ae=="number"?isArrayLike(oe)&&isIndex(j,oe.length):ae=="string"&&j in oe)?eq(oe[j],$):!1}function createAssigner($){return baseRest(function(j,oe){var ae=-1,ie=oe.length,le=ie>1?oe[ie-1]:void 0,de=ie>2?oe[2]:void 0;for(le=$.length>3&&typeof le=="function"?(ie--,le):void 0,de&&isIterateeCall(oe[0],oe[1],de)&&(le=ie<3?void 0:le,ie=1),j=Object(j);++ae-1}function listCacheSet($,j){var oe=this.__data__,ae=assocIndexOf(oe,$);return ae<0?(++this.size,oe.push([$,j])):oe[ae][1]=j,this}function ListCache($){var j=-1,oe=$==null?0:$.length;for(this.clear();++j0&&oe(ue)?j>1?baseFlatten(ue,j-1,oe,ae,ie):arrayPush(ie,ue):ae||(ie[ie.length]=ue)}return ie}function flatten$2($){var j=$==null?0:$.length;return j?baseFlatten($,1):[]}function flatRest($){return setToString$1(overRest($,void 0,flatten$2),$+"")}var getPrototype=overArg(Object.getPrototypeOf,Object);const getPrototype$1=getPrototype;var objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$5=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$a($){if(!isObjectLike($)||baseGetTag($)!=objectTag$3)return!1;var j=getPrototype$1($);if(j===null)return!0;var oe=hasOwnProperty$5.call(j,"constructor")&&j.constructor;return typeof oe=="function"&&oe instanceof oe&&funcToString.call(oe)==objectCtorString}function castArray$1(){if(!arguments.length)return[];var $=arguments[0];return isArray$w($)?$:[$]}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete($){var j=this.__data__,oe=j.delete($);return this.size=j.size,oe}function stackGet($){return this.__data__.get($)}function stackHas($){return this.__data__.has($)}var LARGE_ARRAY_SIZE$1=200;function stackSet($,j){var oe=this.__data__;if(oe instanceof ListCache){var ae=oe.__data__;if(!Map$2||ae.lengthue))return!1;var he=le.get($),_e=le.get(j);if(he&&_e)return he==j&&_e==$;var xe=-1,Ce=!0,Ie=oe&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(le.set($,j),le.set(j,$);++xe=j||vn<0||xe&&bn>=le}function Oe(){var hn=now$4();if(Ve(hn))return Fe(hn);ue=setTimeout(Oe,Ne(hn))}function Fe(hn){return ue=void 0,Ce&&ae?Ie(hn):(ae=ie=void 0,de)}function ze(){ue!==void 0&&clearTimeout(ue),he=0,ae=pe=ie=ue=void 0}function Ue(){return ue===void 0?de:Fe(now$4())}function qe(){var hn=now$4(),vn=Ve(hn);if(ae=arguments,ie=this,pe=hn,vn){if(ue===void 0)return $e(pe);if(xe)return clearTimeout(ue),ue=setTimeout(Oe,j),Ie(pe)}return ue===void 0&&(ue=setTimeout(Oe,j)),de}return qe.cancel=ze,qe.flush=Ue,qe}function assignMergeValue($,j,oe){(oe!==void 0&&!eq($[j],oe)||oe===void 0&&!(j in $))&&baseAssignValue($,j,oe)}function isArrayLikeObject($){return isObjectLike($)&&isArrayLike($)}function safeGet($,j){if(!(j==="constructor"&&typeof $[j]=="function")&&j!="__proto__")return $[j]}function toPlainObject($){return copyObject($,keysIn($))}function baseMergeDeep($,j,oe,ae,ie,le,de){var ue=safeGet($,oe),pe=safeGet(j,oe),he=de.get(pe);if(he){assignMergeValue($,oe,he);return}var _e=le?le(ue,pe,oe+"",$,j,de):void 0,xe=_e===void 0;if(xe){var Ce=isArray$w(pe),Ie=!Ce&&isBuffer$2(pe),$e=!Ce&&!Ie&&isTypedArray$2(pe);_e=pe,Ce||Ie||$e?isArray$w(ue)?_e=ue:isArrayLikeObject(ue)?_e=copyArray(ue):Ie?(xe=!1,_e=cloneBuffer(pe,!0)):$e?(xe=!1,_e=cloneTypedArray(pe,!0)):_e=[]:isPlainObject$a(pe)||isArguments$3(pe)?(_e=ue,isArguments$3(ue)?_e=toPlainObject(ue):(!isObject$7(ue)||isFunction$f(ue))&&(_e=initCloneObject(pe))):xe=!1}xe&&(de.set(pe,_e),ie(_e,pe,ae,le,de),de.delete(pe)),assignMergeValue($,oe,_e)}function baseMerge($,j,oe,ae,ie){$!==j&&baseFor$1(j,function(le,de){if(ie||(ie=new Stack),isObject$7(le))baseMergeDeep($,j,de,oe,baseMerge,ae,ie);else{var ue=ae?ae(safeGet($,de),le,de+"",$,j,ie):void 0;ue===void 0&&(ue=le),assignMergeValue($,de,ue)}},keysIn)}function customDefaultsMerge($,j,oe,ae,ie,le){return isObject$7($)&&isObject$7(j)&&(le.set(j,$),baseMerge($,j,void 0,customDefaultsMerge,le),le.delete(j)),$}var mergeWith=createAssigner(function($,j,oe,ae){baseMerge($,j,oe,ae)});const mergeWith$1=mergeWith;var defaultsDeep=baseRest(function($){return $.push(void 0,customDefaultsMerge),apply$1(mergeWith$1,void 0,$)});const defaultsDeep$1=defaultsDeep;function arrayIncludesWith($,j,oe){for(var ae=-1,ie=$==null?0:$.length;++ae=LARGE_ARRAY_SIZE){var he=j?null:createSet$1($);if(he)return setToArray(he);de=!1,ie=cacheHas,pe=new SetCache}else pe=j?[]:ue;e:for(;++ae$===void 0,isEmpty$3=$=>!$&&$!==0||isArray$x($)&&$.length===0||isObject$8($)&&!Object.keys($).length,isElement$2=$=>typeof Element>"u"?!1:$ instanceof Element,isPropAbsent=$=>isNil($),isStringNumber=$=>isString$d($)?!Number.isNaN(Number($)):!1,escapeStringRegexp=($="")=>$.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize$1=$=>capitalize$2($),keysOf=$=>Object.keys($),entriesOf=$=>Object.entries($),getProp=($,j,oe)=>({get value(){return get$6($,j,oe)},set value(ae){set$2($,j,ae)}});class ElementPlusError extends Error{constructor(j){super(j),this.name="ElementPlusError"}}function throwError($,j){throw new ElementPlusError(`[${$}] ${j}`)}function debugWarn($,j){}const classNameToArray=($="")=>$.split(" ").filter(j=>!!j.trim()),hasClass$1=($,j)=>{if(!$||!j)return!1;if(j.includes(" "))throw new Error("className should not contain space.");return $.classList.contains(j)},addClass$1=($,j)=>{!$||!j.trim()||$.classList.add(...classNameToArray(j))},removeClass$1=($,j)=>{!$||!j.trim()||$.classList.remove(...classNameToArray(j))},getStyle=($,j)=>{var oe;if(!isClient||!$||!j)return"";let ae=camelize(j);ae==="float"&&(ae="cssFloat");try{const ie=$.style[ae];if(ie)return ie;const le=(oe=document.defaultView)==null?void 0:oe.getComputedStyle($,"");return le?le[ae]:""}catch{return $.style[ae]}};function addUnit($,j="px"){if(!$)return"";if(isNumber$d($)||isStringNumber($))return`${$}${j}`;if(isString$d($))return $}const isScroll=($,j)=>{if(!isClient)return!1;const oe={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(j)],ae=getStyle($,oe);return["scroll","auto","overlay"].some(ie=>ae.includes(ie))},getScrollContainer=($,j)=>{if(!isClient)return;let oe=$;for(;oe;){if([window,document,document.documentElement].includes(oe))return window;if(isScroll(oe,j))return oe;oe=oe.parentNode}return oe};let scrollBarWidth;const getScrollBarWidth=$=>{var j;if(!isClient)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const oe=document.createElement("div");oe.className=`${$}-scrollbar__wrap`,oe.style.visibility="hidden",oe.style.width="100px",oe.style.position="absolute",oe.style.top="-9999px",document.body.appendChild(oe);const ae=oe.offsetWidth;oe.style.overflow="scroll";const ie=document.createElement("div");ie.style.width="100%",oe.appendChild(ie);const le=ie.offsetWidth;return(j=oe.parentNode)==null||j.removeChild(oe),scrollBarWidth=ae-le,scrollBarWidth};function scrollIntoView$1($,j){if(!isClient)return;if(!j){$.scrollTop=0;return}const oe=[];let ae=j.offsetParent;for(;ae!==null&&$!==ae&&$.contains(ae);)oe.push(ae),ae=ae.offsetParent;const ie=j.offsetTop+oe.reduce((pe,he)=>pe+he.offsetTop,0),le=ie+j.offsetHeight,de=$.scrollTop,ue=de+$.clientHeight;ieue&&($.scrollTop=le-$.clientHeight)}/*! Element Plus Icons Vue v2.1.0 */var export_helper_default=($,j)=>{let oe=$.__vccOpts||$;for(let[ae,ie]of j)oe[ae]=ie;return oe},arrow_down_vue_vue_type_script_lang_default={name:"ArrowDown"},_hoisted_16$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_26=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"},null,-1),_hoisted_36=[_hoisted_26];function _sfc_render6($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_16$2,_hoisted_36)}var arrow_down_default=export_helper_default(arrow_down_vue_vue_type_script_lang_default,[["render",_sfc_render6],["__file","arrow-down.vue"]]),arrow_left_vue_vue_type_script_lang_default={name:"ArrowLeft"},_hoisted_18$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_28=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"},null,-1),_hoisted_38=[_hoisted_28];function _sfc_render8($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_18$2,_hoisted_38)}var arrow_left_default=export_helper_default(arrow_left_vue_vue_type_script_lang_default,[["render",_sfc_render8],["__file","arrow-left.vue"]]),arrow_right_vue_vue_type_script_lang_default={name:"ArrowRight"},_hoisted_110={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_210=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"},null,-1),_hoisted_310=[_hoisted_210];function _sfc_render10($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_110,_hoisted_310)}var arrow_right_default=export_helper_default(arrow_right_vue_vue_type_script_lang_default,[["render",_sfc_render10],["__file","arrow-right.vue"]]),arrow_up_vue_vue_type_script_lang_default={name:"ArrowUp"},_hoisted_112={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_212=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 0z"},null,-1),_hoisted_312=[_hoisted_212];function _sfc_render12($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_112,_hoisted_312)}var arrow_up_default=export_helper_default(arrow_up_vue_vue_type_script_lang_default,[["render",_sfc_render12],["__file","arrow-up.vue"]]),back_vue_vue_type_script_lang_default={name:"Back"},_hoisted_114={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_214=createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z"},null,-1),_hoisted_314=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.312L237.248 512z"},null,-1),_hoisted_44=[_hoisted_214,_hoisted_314];function _sfc_render14($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_114,_hoisted_44)}var back_default=export_helper_default(back_vue_vue_type_script_lang_default,[["render",_sfc_render14],["__file","back.vue"]]),calendar_vue_vue_type_script_lang_default={name:"Calendar"},_hoisted_129={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_229=createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-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 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),_hoisted_328=[_hoisted_229];function _sfc_render29($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_129,_hoisted_328)}var calendar_default=export_helper_default(calendar_vue_vue_type_script_lang_default,[["render",_sfc_render29],["__file","calendar.vue"]]),caret_right_vue_vue_type_script_lang_default={name:"CaretRight"},_hoisted_134={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_234=createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"},null,-1),_hoisted_333=[_hoisted_234];function _sfc_render34($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_134,_hoisted_333)}var caret_right_default=export_helper_default(caret_right_vue_vue_type_script_lang_default,[["render",_sfc_render34],["__file","caret-right.vue"]]),caret_top_vue_vue_type_script_lang_default={name:"CaretTop"},_hoisted_135={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_235=createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"},null,-1),_hoisted_334=[_hoisted_235];function _sfc_render35($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_135,_hoisted_334)}var caret_top_default=export_helper_default(caret_top_vue_vue_type_script_lang_default,[["render",_sfc_render35],["__file","caret-top.vue"]]),check_vue_vue_type_script_lang_default={name:"Check"},_hoisted_143={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_243=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"},null,-1),_hoisted_342=[_hoisted_243];function _sfc_render43($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_143,_hoisted_342)}var check_default=export_helper_default(check_vue_vue_type_script_lang_default,[["render",_sfc_render43],["__file","check.vue"]]),circle_check_filled_vue_vue_type_script_lang_default={name:"CircleCheckFilled"},_hoisted_148={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_248=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-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.336L456.192 600.384z"},null,-1),_hoisted_347=[_hoisted_248];function _sfc_render48($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_148,_hoisted_347)}var circle_check_filled_default=export_helper_default(circle_check_filled_vue_vue_type_script_lang_default,[["render",_sfc_render48],["__file","circle-check-filled.vue"]]),circle_check_vue_vue_type_script_lang_default={name:"CircleCheck"},_hoisted_149={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_249=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_348=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"},null,-1),_hoisted_415=[_hoisted_249,_hoisted_348];function _sfc_render49($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_149,_hoisted_415)}var circle_check_default=export_helper_default(circle_check_vue_vue_type_script_lang_default,[["render",_sfc_render49],["__file","circle-check.vue"]]),circle_close_filled_vue_vue_type_script_lang_default={name:"CircleCloseFilled"},_hoisted_150={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_250=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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.336L512 457.664z"},null,-1),_hoisted_349=[_hoisted_250];function _sfc_render50($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_150,_hoisted_349)}var circle_close_filled_default=export_helper_default(circle_close_filled_vue_vue_type_script_lang_default,[["render",_sfc_render50],["__file","circle-close-filled.vue"]]),circle_close_vue_vue_type_script_lang_default={name:"CircleClose"},_hoisted_151={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_251=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.248L466.752 512z"},null,-1),_hoisted_350=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_416=[_hoisted_251,_hoisted_350];function _sfc_render51($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_151,_hoisted_416)}var circle_close_default=export_helper_default(circle_close_vue_vue_type_script_lang_default,[["render",_sfc_render51],["__file","circle-close.vue"]]),clock_vue_vue_type_script_lang_default={name:"Clock"},_hoisted_154={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_254=createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),_hoisted_353=createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),_hoisted_418=createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32z"},null,-1),_hoisted_56=[_hoisted_254,_hoisted_353,_hoisted_418];function _sfc_render54($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_154,_hoisted_56)}var clock_default=export_helper_default(clock_vue_vue_type_script_lang_default,[["render",_sfc_render54],["__file","clock.vue"]]),close_vue_vue_type_script_lang_default={name:"Close"},_hoisted_156={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_256=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"},null,-1),_hoisted_355=[_hoisted_256];function _sfc_render56($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_156,_hoisted_355)}var close_default=export_helper_default(close_vue_vue_type_script_lang_default,[["render",_sfc_render56],["__file","close.vue"]]),d_arrow_left_vue_vue_type_script_lang_default={name:"DArrowLeft"},_hoisted_172={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_272=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"},null,-1),_hoisted_371=[_hoisted_272];function _sfc_render72($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_172,_hoisted_371)}var d_arrow_left_default=export_helper_default(d_arrow_left_vue_vue_type_script_lang_default,[["render",_sfc_render72],["__file","d-arrow-left.vue"]]),d_arrow_right_vue_vue_type_script_lang_default={name:"DArrowRight"},_hoisted_173={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_273=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.688zm-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"},null,-1),_hoisted_372=[_hoisted_273];function _sfc_render73($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_173,_hoisted_372)}var d_arrow_right_default=export_helper_default(d_arrow_right_vue_vue_type_script_lang_default,[["render",_sfc_render73],["__file","d-arrow-right.vue"]]),delete_vue_vue_type_script_lang_default={name:"Delete"},_hoisted_180={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_280=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-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),_hoisted_379=[_hoisted_280];function _sfc_render80($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_180,_hoisted_379)}var delete_default=export_helper_default(delete_vue_vue_type_script_lang_default,[["render",_sfc_render80],["__file","delete.vue"]]),document_vue_vue_type_script_lang_default={name:"Document"},_hoisted_190={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_290=createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1),_hoisted_389=[_hoisted_290];function _sfc_render90($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_190,_hoisted_389)}var document_default=export_helper_default(document_vue_vue_type_script_lang_default,[["render",_sfc_render90],["__file","document.vue"]]),full_screen_vue_vue_type_script_lang_default={name:"FullScreen"},_hoisted_1118={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2118=createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 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-64v-.064z"},null,-1),_hoisted_3117=[_hoisted_2118];function _sfc_render118($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1118,_hoisted_3117)}var full_screen_default=export_helper_default(full_screen_vue_vue_type_script_lang_default,[["render",_sfc_render118],["__file","full-screen.vue"]]),hide_vue_vue_type_script_lang_default={name:"Hide"},_hoisted_1133={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2133=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.2L371.2 588.8ZM889.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"},null,-1),_hoisted_3132=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"},null,-1),_hoisted_438=[_hoisted_2133,_hoisted_3132];function _sfc_render133($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1133,_hoisted_438)}var hide_default=export_helper_default(hide_vue_vue_type_script_lang_default,[["render",_sfc_render133],["__file","hide.vue"]]),info_filled_vue_vue_type_script_lang_default={name:"InfoFilled"},_hoisted_1143={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2143=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.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.344zM590.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"},null,-1),_hoisted_3142=[_hoisted_2143];function _sfc_render143($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1143,_hoisted_3142)}var info_filled_default=export_helper_default(info_filled_vue_vue_type_script_lang_default,[["render",_sfc_render143],["__file","info-filled.vue"]]),loading_vue_vue_type_script_lang_default={name:"Loading"},_hoisted_1150={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2150=createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.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 0zm-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"},null,-1),_hoisted_3149=[_hoisted_2150];function _sfc_render150($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1150,_hoisted_3149)}var loading_default=export_helper_default(loading_vue_vue_type_script_lang_default,[["render",_sfc_render150],["__file","loading.vue"]]),minus_vue_vue_type_script_lang_default={name:"Minus"},_hoisted_1169={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2169=createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),_hoisted_3168=[_hoisted_2169];function _sfc_render169($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1169,_hoisted_3168)}var minus_default=export_helper_default(minus_vue_vue_type_script_lang_default,[["render",_sfc_render169],["__file","minus.vue"]]),more_filled_vue_vue_type_script_lang_default={name:"MoreFilled"},_hoisted_1174={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2174=createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1),_hoisted_3173=[_hoisted_2174];function _sfc_render174($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1174,_hoisted_3173)}var more_filled_default=export_helper_default(more_filled_vue_vue_type_script_lang_default,[["render",_sfc_render174],["__file","more-filled.vue"]]),more_vue_vue_type_script_lang_default={name:"More"},_hoisted_1175={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2175=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-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),_hoisted_3174=[_hoisted_2175];function _sfc_render175($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1175,_hoisted_3174)}var more_default=export_helper_default(more_vue_vue_type_script_lang_default,[["render",_sfc_render175],["__file","more.vue"]]),picture_filled_vue_vue_type_script_lang_default={name:"PictureFilled"},_hoisted_1195={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2195=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 32H96zm315.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.112zM256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384z"},null,-1),_hoisted_3194=[_hoisted_2195];function _sfc_render195($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1195,_hoisted_3194)}var picture_filled_default=export_helper_default(picture_filled_vue_vue_type_script_lang_default,[["render",_sfc_render195],["__file","picture-filled.vue"]]),plus_vue_vue_type_script_lang_default={name:"Plus"},_hoisted_1201={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2201=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-64h352z"},null,-1),_hoisted_3200=[_hoisted_2201];function _sfc_render201($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1201,_hoisted_3200)}var plus_default=export_helper_default(plus_vue_vue_type_script_lang_default,[["render",_sfc_render201],["__file","plus.vue"]]),question_filled_vue_vue_type_script_lang_default={name:"QuestionFilled"},_hoisted_1211={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2211=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.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"},null,-1),_hoisted_3210=[_hoisted_2211];function _sfc_render211($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1211,_hoisted_3210)}var question_filled_default=export_helper_default(question_filled_vue_vue_type_script_lang_default,[["render",_sfc_render211],["__file","question-filled.vue"]]),refresh_left_vue_vue_type_script_lang_default={name:"RefreshLeft"},_hoisted_1215={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2215=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"},null,-1),_hoisted_3214=[_hoisted_2215];function _sfc_render215($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1215,_hoisted_3214)}var refresh_left_default=export_helper_default(refresh_left_vue_vue_type_script_lang_default,[["render",_sfc_render215],["__file","refresh-left.vue"]]),refresh_right_vue_vue_type_script_lang_default={name:"RefreshRight"},_hoisted_1216={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2216=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"},null,-1),_hoisted_3215=[_hoisted_2216];function _sfc_render216($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1216,_hoisted_3215)}var refresh_right_default=export_helper_default(refresh_right_vue_vue_type_script_lang_default,[["render",_sfc_render216],["__file","refresh-right.vue"]]),scale_to_original_vue_vue_type_script_lang_default={name:"ScaleToOriginal"},_hoisted_1222={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2222=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.118zM512 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.412zM512 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 512z"},null,-1),_hoisted_3221=[_hoisted_2222];function _sfc_render222($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1222,_hoisted_3221)}var scale_to_original_default=export_helper_default(scale_to_original_vue_vue_type_script_lang_default,[["render",_sfc_render222],["__file","scale-to-original.vue"]]),search_vue_vue_type_script_lang_default={name:"Search"},_hoisted_1225={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2225=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 704z"},null,-1),_hoisted_3224=[_hoisted_2225];function _sfc_render225($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1225,_hoisted_3224)}var search_default=export_helper_default(search_vue_vue_type_script_lang_default,[["render",_sfc_render225],["__file","search.vue"]]),sort_down_vue_vue_type_script_lang_default={name:"SortDown"},_hoisted_1242={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2242=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 0z"},null,-1),_hoisted_3241=[_hoisted_2242];function _sfc_render242($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1242,_hoisted_3241)}var sort_down_default=export_helper_default(sort_down_vue_vue_type_script_lang_default,[["render",_sfc_render242],["__file","sort-down.vue"]]),sort_up_vue_vue_type_script_lang_default={name:"SortUp"},_hoisted_1243={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2243=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.248z"},null,-1),_hoisted_3242=[_hoisted_2243];function _sfc_render243($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1243,_hoisted_3242)}var sort_up_default=export_helper_default(sort_up_vue_vue_type_script_lang_default,[["render",_sfc_render243],["__file","sort-up.vue"]]),star_filled_vue_vue_type_script_lang_default={name:"StarFilled"},_hoisted_1246={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2246=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"},null,-1),_hoisted_3245=[_hoisted_2246];function _sfc_render246($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1246,_hoisted_3245)}var star_filled_default=export_helper_default(star_filled_vue_vue_type_script_lang_default,[["render",_sfc_render246],["__file","star-filled.vue"]]),star_vue_vue_type_script_lang_default={name:"Star"},_hoisted_1247={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2247=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.72L512 747.84zM313.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"},null,-1),_hoisted_3246=[_hoisted_2247];function _sfc_render247($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1247,_hoisted_3246)}var star_default=export_helper_default(star_vue_vue_type_script_lang_default,[["render",_sfc_render247],["__file","star.vue"]]),success_filled_vue_vue_type_script_lang_default={name:"SuccessFilled"},_hoisted_1249={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2249=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-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.336L456.192 600.384z"},null,-1),_hoisted_3248=[_hoisted_2249];function _sfc_render249($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1249,_hoisted_3248)}var success_filled_default=export_helper_default(success_filled_vue_vue_type_script_lang_default,[["render",_sfc_render249],["__file","success-filled.vue"]]),view_vue_vue_type_script_lang_default={name:"View"},_hoisted_1283={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2283=createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 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-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),_hoisted_3282=[_hoisted_2283];function _sfc_render283($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1283,_hoisted_3282)}var view_default=export_helper_default(view_vue_vue_type_script_lang_default,[["render",_sfc_render283],["__file","view.vue"]]),warning_filled_vue_vue_type_script_lang_default={name:"WarningFilled"},_hoisted_1287={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2287=createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),_hoisted_3286=[_hoisted_2287];function _sfc_render287($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1287,_hoisted_3286)}var warning_filled_default=export_helper_default(warning_filled_vue_vue_type_script_lang_default,[["render",_sfc_render287],["__file","warning-filled.vue"]]),zoom_in_vue_vue_type_script_lang_default={name:"ZoomIn"},_hoisted_1292={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2292=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 704zm-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-64h96z"},null,-1),_hoisted_3291=[_hoisted_2292];function _sfc_render292($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1292,_hoisted_3291)}var zoom_in_default=export_helper_default(zoom_in_vue_vue_type_script_lang_default,[["render",_sfc_render292],["__file","zoom-in.vue"]]),zoom_out_vue_vue_type_script_lang_default={name:"ZoomOut"},_hoisted_1293={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_hoisted_2293=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 704zM352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),_hoisted_3292=[_hoisted_2293];function _sfc_render293($,j,oe,ae,ie,le){return openBlock(),createElementBlock("svg",_hoisted_1293,_hoisted_3292)}var zoom_out_default=export_helper_default(zoom_out_vue_vue_type_script_lang_default,[["render",_sfc_render293],["__file","zoom-out.vue"]]);const epPropKey="__epPropKey",definePropType=$=>$,isEpProp=$=>isObject$8($)&&!!$[epPropKey],buildProp=($,j)=>{if(!isObject$8($)||isEpProp($))return $;const{values:oe,required:ae,default:ie,type:le,validator:de}=$,pe={type:le,required:!!ae,validator:oe||de?he=>{let _e=!1,xe=[];if(oe&&(xe=Array.from(oe),hasOwn$1($,"default")&&xe.push(ie),_e||(_e=xe.includes(he))),de&&(_e||(_e=de(he))),!_e&&xe.length>0){const Ce=[...new Set(xe)].map(Ie=>JSON.stringify(Ie)).join(", ");warn$1(`Invalid prop: validation failed${j?` for prop "${j}"`:""}. Expected one of [${Ce}], got value ${JSON.stringify(he)}.`)}return _e}:void 0,[epPropKey]:!0};return hasOwn$1($,"default")&&(pe.default=ie),pe},buildProps=$=>fromPairs(Object.entries($).map(([j,oe])=>[j,buildProp(oe,j)])),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},withInstall=($,j)=>{if($.install=oe=>{for(const ae of[$,...Object.values(j??{})])oe.component(ae.name,ae)},j)for(const[oe,ae]of Object.entries(j))$[oe]=ae;return $},withInstallFunction=($,j)=>($.install=oe=>{$._context=oe._context,oe.config.globalProperties[j]=$},$),withInstallDirective=($,j)=>($.install=oe=>{oe.directive(j,$)},$),withNoopInstall=$=>($.install=NOOP,$),composeRefs=(...$)=>j=>{$.forEach(oe=>{isFunction$h(oe)?oe(j):oe.value=j})},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"},datePickTypes=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",INSTALLED_KEY=Symbol("INSTALLED_KEY"),componentSizes=["","default","small","large"],componentSizeMap={large:40,default:32,small:24},getComponentSize=$=>componentSizeMap[$||"default"],isValidComponentSize=$=>["",...componentSizes].includes($);var PatchFlags=($=>($[$.TEXT=1]="TEXT",$[$.CLASS=2]="CLASS",$[$.STYLE=4]="STYLE",$[$.PROPS=8]="PROPS",$[$.FULL_PROPS=16]="FULL_PROPS",$[$.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",$[$.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",$[$.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",$[$.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",$[$.NEED_PATCH=512]="NEED_PATCH",$[$.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",$[$.HOISTED=-1]="HOISTED",$[$.BAIL=-2]="BAIL",$))(PatchFlags||{});function isFragment($){return isVNode$1($)&&$.type===Fragment}function isComment($){return isVNode$1($)&&$.type===Comment}function isValidElementNode($){return isVNode$1($)&&!isFragment($)&&!isComment($)}const getNormalizedProps=$=>{if(!isVNode$1($))return{};const j=$.props||{},oe=(isVNode$1($.type)?$.type.props:void 0)||{},ae={};return Object.keys(oe).forEach(ie=>{hasOwn$1(oe[ie],"default")&&(ae[ie]=oe[ie].default)}),Object.keys(j).forEach(ie=>{ae[camelize(ie)]=j[ie]}),ae},ensureOnlyChild=$=>{if(!isArray$x($)||$.length>1)throw new Error("expect to receive a single Vue element child");return $[0]},flattedChildren=$=>{const j=isArray$x($)?$:[$],oe=[];return j.forEach(ae=>{var ie;isArray$x(ae)?oe.push(...flattedChildren(ae)):isVNode$1(ae)&&isArray$x(ae.children)?oe.push(...flattedChildren(ae.children)):(oe.push(ae),isVNode$1(ae)&&((ie=ae.component)!=null&&ie.subTree)&&oe.push(...flattedChildren(ae.component.subTree)))}),oe},unique=$=>[...new Set($)],castArray=$=>!$&&$!==0?[]:Array.isArray($)?$:[$],isFirefox=()=>isClient&&/firefox/i.test(window.navigator.userAgent),isKorean=$=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test($),rAF=$=>isClient?window.requestAnimationFrame($):setTimeout($,16),cAF=$=>isClient?window.cancelAnimationFrame($):clearTimeout($),generateId=()=>Math.floor(Math.random()*1e4),mutable=$=>$,DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=($={})=>{const{excludeListeners:j=!1,excludeKeys:oe}=$,ae=computed(()=>((oe==null?void 0:oe.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),ie=getCurrentInstance();return computed(ie?()=>{var le;return fromPairs(Object.entries((le=ie.proxy)==null?void 0:le.$attrs).filter(([de])=>!ae.value.includes(de)&&!(j&&LISTENER_PREFIX.test(de))))}:()=>({}))},useDeprecated=({from:$,replacement:j,scope:oe,version:ae,ref:ie,type:le="API"},de)=>{watch(()=>unref(de),ue=>{},{immediate:!0})},useDraggable=($,j,oe)=>{let ae={offsetX:0,offsetY:0};const ie=ue=>{const pe=ue.clientX,he=ue.clientY,{offsetX:_e,offsetY:xe}=ae,Ce=$.value.getBoundingClientRect(),Ie=Ce.left,$e=Ce.top,Ne=Ce.width,Ve=Ce.height,Oe=document.documentElement.clientWidth,Fe=document.documentElement.clientHeight,ze=-Ie+_e,Ue=-$e+xe,qe=Oe-Ie-Ne+_e,hn=Fe-$e-Ve+xe,vn=_n=>{const kn=Math.min(Math.max(_e+_n.clientX-pe,ze),qe),xn=Math.min(Math.max(xe+_n.clientY-he,Ue),hn);ae={offsetX:kn,offsetY:xn},$.value.style.transform=`translate(${addUnit(kn)}, ${addUnit(xn)})`},bn=()=>{document.removeEventListener("mousemove",vn),document.removeEventListener("mouseup",bn)};document.addEventListener("mousemove",vn),document.addEventListener("mouseup",bn)},le=()=>{j.value&&$.value&&j.value.addEventListener("mousedown",ie)},de=()=>{j.value&&$.value&&j.value.removeEventListener("mousedown",ie)};onMounted(()=>{watchEffect(()=>{oe.value?le():de()})}),onBeforeUnmount(()=>{de()})},useFocus=$=>({focus:()=>{var j,oe;(oe=(j=$.value)==null?void 0:j.focus)==null||oe.call(j)}});var English={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},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"},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"},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"}}};const buildTranslator=$=>(j,oe)=>translate$1(j,oe,unref($)),translate$1=($,j,oe)=>get$6(oe,$,$).replace(/\{(\w+)\}/g,(ae,ie)=>{var le;return`${(le=j==null?void 0:j[ie])!=null?le:`{${ie}}`}`}),buildLocaleContext=$=>{const j=computed(()=>unref($).name),oe=isRef($)?$:ref($);return{lang:j,locale:oe,t:buildTranslator($)}},localeContextKey=Symbol("localeContextKey"),useLocale=$=>{const j=$||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>j.value||English))},defaultNamespace="el",statePrefix="is-",_bem=($,j,oe,ae,ie)=>{let le=`${$}-${j}`;return oe&&(le+=`-${oe}`),ae&&(le+=`__${ae}`),ie&&(le+=`--${ie}`),le},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=$=>{const j=$||inject(namespaceContextKey,ref(defaultNamespace));return computed(()=>unref(j)||defaultNamespace)},useNamespace=($,j)=>{const oe=useGetDerivedNamespace(j);return{namespace:oe,b:(Ne="")=>_bem(oe.value,$,Ne,"",""),e:Ne=>Ne?_bem(oe.value,$,"",Ne,""):"",m:Ne=>Ne?_bem(oe.value,$,"","",Ne):"",be:(Ne,Ve)=>Ne&&Ve?_bem(oe.value,$,Ne,Ve,""):"",em:(Ne,Ve)=>Ne&&Ve?_bem(oe.value,$,"",Ne,Ve):"",bm:(Ne,Ve)=>Ne&&Ve?_bem(oe.value,$,Ne,"",Ve):"",bem:(Ne,Ve,Oe)=>Ne&&Ve&&Oe?_bem(oe.value,$,Ne,Ve,Oe):"",is:(Ne,...Ve)=>{const Oe=Ve.length>=1?Ve[0]:!0;return Ne&&Oe?`${statePrefix}${Ne}`:""},cssVar:Ne=>{const Ve={};for(const Oe in Ne)Ne[Oe]&&(Ve[`--${oe.value}-${Oe}`]=Ne[Oe]);return Ve},cssVarName:Ne=>`--${oe.value}-${Ne}`,cssVarBlock:Ne=>{const Ve={};for(const Oe in Ne)Ne[Oe]&&(Ve[`--${oe.value}-${$}-${Oe}`]=Ne[Oe]);return Ve},cssVarBlockName:Ne=>`--${oe.value}-${$}-${Ne}`}},useLockscreen=($,j={})=>{isRef($)||throwError("[useLockscreen]","You need to pass a ref param to this function");const oe=j.ns||useNamespace("popup"),ae=computed$1(()=>oe.bm("parent","hidden"));if(!isClient||hasClass$1(document.body,ae.value))return;let ie=0,le=!1,de="0";const ue=()=>{setTimeout(()=>{removeClass$1(document==null?void 0:document.body,ae.value),le&&document&&(document.body.style.width=de)},200)};watch($,pe=>{if(!pe){ue();return}le=!hasClass$1(document.body,ae.value),le&&(de=document.body.style.width),ie=getScrollBarWidth(oe.namespace.value);const he=document.documentElement.clientHeight0&&(he||_e==="scroll")&&le&&(document.body.style.width=`calc(100% - ${ie}px)`),addClass$1(document.body,ae.value)}),onScopeDispose(()=>ue())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=$=>{const j=`update:${$}`,oe=`onUpdate:${$}`,ae=[j],ie={[$]:_prop,[oe]:_event};return{useModelToggle:({indicator:de,toggleReason:ue,shouldHideWhenRouteChanges:pe,shouldProceed:he,onShow:_e,onHide:xe})=>{const Ce=getCurrentInstance(),{emit:Ie}=Ce,$e=Ce.props,Ne=computed(()=>isFunction$h($e[oe])),Ve=computed(()=>$e[$]===null),Oe=vn=>{de.value!==!0&&(de.value=!0,ue&&(ue.value=vn),isFunction$h(_e)&&_e(vn))},Fe=vn=>{de.value!==!1&&(de.value=!1,ue&&(ue.value=vn),isFunction$h(xe)&&xe(vn))},ze=vn=>{if($e.disabled===!0||isFunction$h(he)&&!he())return;const bn=Ne.value&&isClient;bn&&Ie(j,!0),(Ve.value||!bn)&&Oe(vn)},Ue=vn=>{if($e.disabled===!0||!isClient)return;const bn=Ne.value&&isClient;bn&&Ie(j,!1),(Ve.value||!bn)&&Fe(vn)},qe=vn=>{isBoolean$5(vn)&&($e.disabled&&vn?Ne.value&&Ie(j,!1):de.value!==vn&&(vn?Oe():Fe()))},hn=()=>{de.value?Ue():ze()};return watch(()=>$e[$],qe),pe&&Ce.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...Ce.proxy.$route}),()=>{pe.value&&de.value&&Ue()}),onMounted(()=>{qe($e[$])}),{hide:Ue,show:ze,toggle:hn,hasUpdateHandler:Ne}},useModelToggleProps:ie,useModelToggleEmits:ae}};createModelToggleComposable("modelValue");const useProp=$=>{const j=getCurrentInstance();return computed(()=>{var oe,ae;return(ae=(oe=j==null?void 0:j.proxy)==null?void 0:oe.$props)==null?void 0:ae[$]})};var E$2="top",R$1="bottom",W$1="right",P$1="left",me="auto",G=[E$2,R$1,W$1,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function($,j){return $.concat([j+"-"+U$1,j+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function($,j){return $.concat([j,j+"-"+U$1,j+"-"+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$1($){return $?($.nodeName||"").toLowerCase():null}function H$1($){if($==null)return window;if($.toString()!=="[object Window]"){var j=$.ownerDocument;return j&&j.defaultView||window}return $}function Q($){var j=H$1($).Element;return $ instanceof j||$ instanceof Element}function B($){var j=H$1($).HTMLElement;return $ instanceof j||$ instanceof HTMLElement}function Pe($){if(typeof ShadowRoot>"u")return!1;var j=H$1($).ShadowRoot;return $ instanceof j||$ instanceof ShadowRoot}function Mt($){var j=$.state;Object.keys(j.elements).forEach(function(oe){var ae=j.styles[oe]||{},ie=j.attributes[oe]||{},le=j.elements[oe];!B(le)||!C$1(le)||(Object.assign(le.style,ae),Object.keys(ie).forEach(function(de){var ue=ie[de];ue===!1?le.removeAttribute(de):le.setAttribute(de,ue===!0?"":ue)}))})}function Rt($){var j=$.state,oe={popper:{position:j.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(j.elements.popper.style,oe.popper),j.styles=oe,j.elements.arrow&&Object.assign(j.elements.arrow.style,oe.arrow),function(){Object.keys(j.elements).forEach(function(ae){var ie=j.elements[ae],le=j.attributes[ae]||{},de=Object.keys(j.styles.hasOwnProperty(ae)?j.styles[ae]:oe[ae]),ue=de.reduce(function(pe,he){return pe[he]="",pe},{});!B(ie)||!C$1(ie)||(Object.assign(ie.style,ue),Object.keys(le).forEach(function(pe){ie.removeAttribute(pe)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q($){return $.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee($,j){j===void 0&&(j=!1);var oe=$.getBoundingClientRect(),ae=1,ie=1;if(B($)&&j){var le=$.offsetHeight,de=$.offsetWidth;de>0&&(ae=Z(oe.width)/de||1),le>0&&(ie=Z(oe.height)/le||1)}return{width:oe.width/ae,height:oe.height/ie,top:oe.top/ie,right:oe.right/ae,bottom:oe.bottom/ie,left:oe.left/ae,x:oe.left/ae,y:oe.top/ie}}function ke($){var j=ee($),oe=$.offsetWidth,ae=$.offsetHeight;return Math.abs(j.width-oe)<=1&&(oe=j.width),Math.abs(j.height-ae)<=1&&(ae=j.height),{x:$.offsetLeft,y:$.offsetTop,width:oe,height:ae}}function it($,j){var oe=j.getRootNode&&j.getRootNode();if($.contains(j))return!0;if(oe&&Pe(oe)){var ae=j;do{if(ae&&$.isSameNode(ae))return!0;ae=ae.parentNode||ae.host}while(ae)}return!1}function N$1($){return H$1($).getComputedStyle($)}function Wt($){return["table","td","th"].indexOf(C$1($))>=0}function I$1($){return((Q($)?$.ownerDocument:$.document)||window.document).documentElement}function ge($){return C$1($)==="html"?$:$.assignedSlot||$.parentNode||(Pe($)?$.host:null)||I$1($)}function at($){return!B($)||N$1($).position==="fixed"?null:$.offsetParent}function Bt($){var j=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,oe=navigator.userAgent.indexOf("Trident")!==-1;if(oe&&B($)){var ae=N$1($);if(ae.position==="fixed")return null}var ie=ge($);for(Pe(ie)&&(ie=ie.host);B(ie)&&["html","body"].indexOf(C$1(ie))<0;){var le=N$1(ie);if(le.transform!=="none"||le.perspective!=="none"||le.contain==="paint"||["transform","perspective"].indexOf(le.willChange)!==-1||j&&le.willChange==="filter"||j&&le.filter&&le.filter!=="none")return ie;ie=ie.parentNode}return null}function se($){for(var j=H$1($),oe=at($);oe&&Wt(oe)&&N$1(oe).position==="static";)oe=at(oe);return oe&&(C$1(oe)==="html"||C$1(oe)==="body"&&N$1(oe).position==="static")?j:oe||Bt($)||j}function Le($){return["top","bottom"].indexOf($)>=0?"x":"y"}function fe($,j,oe){return X$1($,ve(j,oe))}function St($,j,oe){var ae=fe($,j,oe);return ae>oe?oe:ae}function st(){return{top:0,right:0,bottom:0,left:0}}function ft($){return Object.assign({},st(),$)}function ct($,j){return j.reduce(function(oe,ae){return oe[ae]=$,oe},{})}var Tt=function($,j){return $=typeof $=="function"?$(Object.assign({},j.rects,{placement:j.placement})):$,ft(typeof $!="number"?$:ct($,G))};function Ht($){var j,oe=$.state,ae=$.name,ie=$.options,le=oe.elements.arrow,de=oe.modifiersData.popperOffsets,ue=q(oe.placement),pe=Le(ue),he=[P$1,W$1].indexOf(ue)>=0,_e=he?"height":"width";if(!(!le||!de)){var xe=Tt(ie.padding,oe),Ce=ke(le),Ie=pe==="y"?E$2:P$1,$e=pe==="y"?R$1:W$1,Ne=oe.rects.reference[_e]+oe.rects.reference[pe]-de[pe]-oe.rects.popper[_e],Ve=de[pe]-oe.rects.reference[pe],Oe=se(le),Fe=Oe?pe==="y"?Oe.clientHeight||0:Oe.clientWidth||0:0,ze=Ne/2-Ve/2,Ue=xe[Ie],qe=Fe-Ce[_e]-xe[$e],hn=Fe/2-Ce[_e]/2+ze,vn=fe(Ue,hn,qe),bn=pe;oe.modifiersData[ae]=(j={},j[bn]=vn,j.centerOffset=vn-hn,j)}}function Ct($){var j=$.state,oe=$.options,ae=oe.element,ie=ae===void 0?"[data-popper-arrow]":ae;ie!=null&&(typeof ie=="string"&&(ie=j.elements.popper.querySelector(ie),!ie)||!it(j.elements.popper,ie)||(j.elements.arrow=ie))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te($){return $.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt($){var j=$.x,oe=$.y,ae=window,ie=ae.devicePixelRatio||1;return{x:Z(j*ie)/ie||0,y:Z(oe*ie)/ie||0}}function ut($){var j,oe=$.popper,ae=$.popperRect,ie=$.placement,le=$.variation,de=$.offsets,ue=$.position,pe=$.gpuAcceleration,he=$.adaptive,_e=$.roundOffsets,xe=$.isFixed,Ce=de.x,Ie=Ce===void 0?0:Ce,$e=de.y,Ne=$e===void 0?0:$e,Ve=typeof _e=="function"?_e({x:Ie,y:Ne}):{x:Ie,y:Ne};Ie=Ve.x,Ne=Ve.y;var Oe=de.hasOwnProperty("x"),Fe=de.hasOwnProperty("y"),ze=P$1,Ue=E$2,qe=window;if(he){var hn=se(oe),vn="clientHeight",bn="clientWidth";if(hn===H$1(oe)&&(hn=I$1(oe),N$1(hn).position!=="static"&&ue==="absolute"&&(vn="scrollHeight",bn="scrollWidth")),hn=hn,ie===E$2||(ie===P$1||ie===W$1)&&le===J){Ue=R$1;var _n=xe&&hn===qe&&qe.visualViewport?qe.visualViewport.height:hn[vn];Ne-=_n-ae.height,Ne*=pe?1:-1}if(ie===P$1||(ie===E$2||ie===R$1)&&le===J){ze=W$1;var kn=xe&&hn===qe&&qe.visualViewport?qe.visualViewport.width:hn[bn];Ie-=kn-ae.width,Ie*=pe?1:-1}}var xn=Object.assign({position:ue},he&&qt),$n=_e===!0?Vt({x:Ie,y:Ne}):{x:Ie,y:Ne};if(Ie=$n.x,Ne=$n.y,pe){var Cn;return Object.assign({},xn,(Cn={},Cn[Ue]=Fe?"0":"",Cn[ze]=Oe?"0":"",Cn.transform=(qe.devicePixelRatio||1)<=1?"translate("+Ie+"px, "+Ne+"px)":"translate3d("+Ie+"px, "+Ne+"px, 0)",Cn))}return Object.assign({},xn,(j={},j[Ue]=Fe?Ne+"px":"",j[ze]=Oe?Ie+"px":"",j.transform="",j))}function Nt($){var j=$.state,oe=$.options,ae=oe.gpuAcceleration,ie=ae===void 0?!0:ae,le=oe.adaptive,de=le===void 0?!0:le,ue=oe.roundOffsets,pe=ue===void 0?!0:ue,he={placement:q(j.placement),variation:te(j.placement),popper:j.elements.popper,popperRect:j.rects.popper,gpuAcceleration:ie,isFixed:j.options.strategy==="fixed"};j.modifiersData.popperOffsets!=null&&(j.styles.popper=Object.assign({},j.styles.popper,ut(Object.assign({},he,{offsets:j.modifiersData.popperOffsets,position:j.options.strategy,adaptive:de,roundOffsets:pe})))),j.modifiersData.arrow!=null&&(j.styles.arrow=Object.assign({},j.styles.arrow,ut(Object.assign({},he,{offsets:j.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:pe})))),j.attributes.popper=Object.assign({},j.attributes.popper,{"data-popper-placement":j.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It($){var j=$.state,oe=$.instance,ae=$.options,ie=ae.scroll,le=ie===void 0?!0:ie,de=ae.resize,ue=de===void 0?!0:de,pe=H$1(j.elements.popper),he=[].concat(j.scrollParents.reference,j.scrollParents.popper);return le&&he.forEach(function(_e){_e.addEventListener("scroll",oe.update,ye)}),ue&&pe.addEventListener("resize",oe.update,ye),function(){le&&he.forEach(function(_e){_e.removeEventListener("scroll",oe.update,ye)}),ue&&pe.removeEventListener("resize",oe.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t$1={left:"right",right:"left",bottom:"top",top:"bottom"};function be($){return $.replace(/left|right|bottom|top/g,function(j){return _t$1[j]})}var zt={start:"end",end:"start"};function lt($){return $.replace(/start|end/g,function(j){return zt[j]})}function We($){var j=H$1($),oe=j.pageXOffset,ae=j.pageYOffset;return{scrollLeft:oe,scrollTop:ae}}function Be($){return ee(I$1($)).left+We($).scrollLeft}function Ft($){var j=H$1($),oe=I$1($),ae=j.visualViewport,ie=oe.clientWidth,le=oe.clientHeight,de=0,ue=0;return ae&&(ie=ae.width,le=ae.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(de=ae.offsetLeft,ue=ae.offsetTop)),{width:ie,height:le,x:de+Be($),y:ue}}function Ut($){var j,oe=I$1($),ae=We($),ie=(j=$.ownerDocument)==null?void 0:j.body,le=X$1(oe.scrollWidth,oe.clientWidth,ie?ie.scrollWidth:0,ie?ie.clientWidth:0),de=X$1(oe.scrollHeight,oe.clientHeight,ie?ie.scrollHeight:0,ie?ie.clientHeight:0),ue=-ae.scrollLeft+Be($),pe=-ae.scrollTop;return N$1(ie||oe).direction==="rtl"&&(ue+=X$1(oe.clientWidth,ie?ie.clientWidth:0)-le),{width:le,height:de,x:ue,y:pe}}function Se($){var j=N$1($),oe=j.overflow,ae=j.overflowX,ie=j.overflowY;return/auto|scroll|overlay|hidden/.test(oe+ie+ae)}function dt($){return["html","body","#document"].indexOf(C$1($))>=0?$.ownerDocument.body:B($)&&Se($)?$:dt(ge($))}function ce($,j){var oe;j===void 0&&(j=[]);var ae=dt($),ie=ae===((oe=$.ownerDocument)==null?void 0:oe.body),le=H$1(ae),de=ie?[le].concat(le.visualViewport||[],Se(ae)?ae:[]):ae,ue=j.concat(de);return ie?ue:ue.concat(ce(ge(de)))}function Te($){return Object.assign({},$,{left:$.x,top:$.y,right:$.x+$.width,bottom:$.y+$.height})}function Xt($){var j=ee($);return j.top=j.top+$.clientTop,j.left=j.left+$.clientLeft,j.bottom=j.top+$.clientHeight,j.right=j.left+$.clientWidth,j.width=$.clientWidth,j.height=$.clientHeight,j.x=j.left,j.y=j.top,j}function ht($,j){return j===je?Te(Ft($)):Q(j)?Xt(j):Te(Ut(I$1($)))}function Yt($){var j=ce(ge($)),oe=["absolute","fixed"].indexOf(N$1($).position)>=0,ae=oe&&B($)?se($):$;return Q(ae)?j.filter(function(ie){return Q(ie)&&it(ie,ae)&&C$1(ie)!=="body"}):[]}function Gt($,j,oe){var ae=j==="clippingParents"?Yt($):[].concat(j),ie=[].concat(ae,[oe]),le=ie[0],de=ie.reduce(function(ue,pe){var he=ht($,pe);return ue.top=X$1(he.top,ue.top),ue.right=ve(he.right,ue.right),ue.bottom=ve(he.bottom,ue.bottom),ue.left=X$1(he.left,ue.left),ue},ht($,le));return de.width=de.right-de.left,de.height=de.bottom-de.top,de.x=de.left,de.y=de.top,de}function mt($){var j=$.reference,oe=$.element,ae=$.placement,ie=ae?q(ae):null,le=ae?te(ae):null,de=j.x+j.width/2-oe.width/2,ue=j.y+j.height/2-oe.height/2,pe;switch(ie){case E$2:pe={x:de,y:j.y-oe.height};break;case R$1:pe={x:de,y:j.y+j.height};break;case W$1:pe={x:j.x+j.width,y:ue};break;case P$1:pe={x:j.x-oe.width,y:ue};break;default:pe={x:j.x,y:j.y}}var he=ie?Le(ie):null;if(he!=null){var _e=he==="y"?"height":"width";switch(le){case U$1:pe[he]=pe[he]-(j[_e]/2-oe[_e]/2);break;case J:pe[he]=pe[he]+(j[_e]/2-oe[_e]/2);break}}return pe}function ne($,j){j===void 0&&(j={});var oe=j,ae=oe.placement,ie=ae===void 0?$.placement:ae,le=oe.boundary,de=le===void 0?Xe:le,ue=oe.rootBoundary,pe=ue===void 0?je:ue,he=oe.elementContext,_e=he===void 0?K:he,xe=oe.altBoundary,Ce=xe===void 0?!1:xe,Ie=oe.padding,$e=Ie===void 0?0:Ie,Ne=ft(typeof $e!="number"?$e:ct($e,G)),Ve=_e===K?Ye:K,Oe=$.rects.popper,Fe=$.elements[Ce?Ve:_e],ze=Gt(Q(Fe)?Fe:Fe.contextElement||I$1($.elements.popper),de,pe),Ue=ee($.elements.reference),qe=mt({reference:Ue,element:Oe,strategy:"absolute",placement:ie}),hn=Te(Object.assign({},Oe,qe)),vn=_e===K?hn:Ue,bn={top:ze.top-vn.top+Ne.top,bottom:vn.bottom-ze.bottom+Ne.bottom,left:ze.left-vn.left+Ne.left,right:vn.right-ze.right+Ne.right},_n=$.modifiersData.offset;if(_e===K&&_n){var kn=_n[ie];Object.keys(bn).forEach(function(xn){var $n=[W$1,R$1].indexOf(xn)>=0?1:-1,Cn=[E$2,R$1].indexOf(xn)>=0?"y":"x";bn[xn]+=kn[Cn]*$n})}return bn}function Jt($,j){j===void 0&&(j={});var oe=j,ae=oe.placement,ie=oe.boundary,le=oe.rootBoundary,de=oe.padding,ue=oe.flipVariations,pe=oe.allowedAutoPlacements,he=pe===void 0?Ee:pe,_e=te(ae),xe=_e?ue?De:De.filter(function($e){return te($e)===_e}):G,Ce=xe.filter(function($e){return he.indexOf($e)>=0});Ce.length===0&&(Ce=xe);var Ie=Ce.reduce(function($e,Ne){return $e[Ne]=ne($,{placement:Ne,boundary:ie,rootBoundary:le,padding:de})[q(Ne)],$e},{});return Object.keys(Ie).sort(function($e,Ne){return Ie[$e]-Ie[Ne]})}function Kt($){if(q($)===me)return[];var j=be($);return[lt($),j,lt(j)]}function Qt($){var j=$.state,oe=$.options,ae=$.name;if(!j.modifiersData[ae]._skip){for(var ie=oe.mainAxis,le=ie===void 0?!0:ie,de=oe.altAxis,ue=de===void 0?!0:de,pe=oe.fallbackPlacements,he=oe.padding,_e=oe.boundary,xe=oe.rootBoundary,Ce=oe.altBoundary,Ie=oe.flipVariations,$e=Ie===void 0?!0:Ie,Ne=oe.allowedAutoPlacements,Ve=j.options.placement,Oe=q(Ve),Fe=Oe===Ve,ze=pe||(Fe||!$e?[be(Ve)]:Kt(Ve)),Ue=[Ve].concat(ze).reduce(function(Zn,Fn){return Zn.concat(q(Fn)===me?Jt(j,{placement:Fn,boundary:_e,rootBoundary:xe,padding:he,flipVariations:$e,allowedAutoPlacements:Ne}):Fn)},[]),qe=j.rects.reference,hn=j.rects.popper,vn=new Map,bn=!0,_n=Ue[0],kn=0;kn=0,Nn=En?"width":"height",Sn=ne(j,{placement:xn,boundary:_e,rootBoundary:xe,altBoundary:Ce,padding:he}),wn=En?Cn?W$1:P$1:Cn?R$1:E$2;qe[Nn]>hn[Nn]&&(wn=be(wn));var On=be(wn),Tn=[];if(le&&Tn.push(Sn[$n]<=0),ue&&Tn.push(Sn[wn]<=0,Sn[On]<=0),Tn.every(function(Zn){return Zn})){_n=xn,bn=!1;break}vn.set(xn,Tn)}if(bn)for(var In=$e?3:1,Bn=function(Zn){var Fn=Ue.find(function(Yn){var qn=vn.get(Yn);if(qn)return qn.slice(0,Zn).every(function(Vn){return Vn})});if(Fn)return _n=Fn,"break"},Dn=In;Dn>0;Dn--){var Xn=Bn(Dn);if(Xn==="break")break}j.placement!==_n&&(j.modifiersData[ae]._skip=!0,j.placement=_n,j.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt($,j,oe){return oe===void 0&&(oe={x:0,y:0}),{top:$.top-j.height-oe.y,right:$.right-j.width+oe.x,bottom:$.bottom-j.height+oe.y,left:$.left-j.width-oe.x}}function yt($){return[E$2,W$1,R$1,P$1].some(function(j){return $[j]>=0})}function Zt($){var j=$.state,oe=$.name,ae=j.rects.reference,ie=j.rects.popper,le=j.modifiersData.preventOverflow,de=ne(j,{elementContext:"reference"}),ue=ne(j,{altBoundary:!0}),pe=gt(de,ae),he=gt(ue,ie,le),_e=yt(pe),xe=yt(he);j.modifiersData[oe]={referenceClippingOffsets:pe,popperEscapeOffsets:he,isReferenceHidden:_e,hasPopperEscaped:xe},j.attributes.popper=Object.assign({},j.attributes.popper,{"data-popper-reference-hidden":_e,"data-popper-escaped":xe})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en$1($,j,oe){var ae=q($),ie=[P$1,E$2].indexOf(ae)>=0?-1:1,le=typeof oe=="function"?oe(Object.assign({},j,{placement:$})):oe,de=le[0],ue=le[1];return de=de||0,ue=(ue||0)*ie,[P$1,W$1].indexOf(ae)>=0?{x:ue,y:de}:{x:de,y:ue}}function tn($){var j=$.state,oe=$.options,ae=$.name,ie=oe.offset,le=ie===void 0?[0,0]:ie,de=Ee.reduce(function(_e,xe){return _e[xe]=en$1(xe,j.rects,le),_e},{}),ue=de[j.placement],pe=ue.x,he=ue.y;j.modifiersData.popperOffsets!=null&&(j.modifiersData.popperOffsets.x+=pe,j.modifiersData.popperOffsets.y+=he),j.modifiersData[ae]=de}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn($){var j=$.state,oe=$.name;j.modifiersData[oe]=mt({reference:j.rects.reference,element:j.rects.popper,strategy:"absolute",placement:j.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn($){return $==="x"?"y":"x"}function on($){var j=$.state,oe=$.options,ae=$.name,ie=oe.mainAxis,le=ie===void 0?!0:ie,de=oe.altAxis,ue=de===void 0?!1:de,pe=oe.boundary,he=oe.rootBoundary,_e=oe.altBoundary,xe=oe.padding,Ce=oe.tether,Ie=Ce===void 0?!0:Ce,$e=oe.tetherOffset,Ne=$e===void 0?0:$e,Ve=ne(j,{boundary:pe,rootBoundary:he,padding:xe,altBoundary:_e}),Oe=q(j.placement),Fe=te(j.placement),ze=!Fe,Ue=Le(Oe),qe=rn(Ue),hn=j.modifiersData.popperOffsets,vn=j.rects.reference,bn=j.rects.popper,_n=typeof Ne=="function"?Ne(Object.assign({},j.rects,{placement:j.placement})):Ne,kn=typeof _n=="number"?{mainAxis:_n,altAxis:_n}:Object.assign({mainAxis:0,altAxis:0},_n),xn=j.modifiersData.offset?j.modifiersData.offset[j.placement]:null,$n={x:0,y:0};if(hn){if(le){var Cn,En=Ue==="y"?E$2:P$1,Nn=Ue==="y"?R$1:W$1,Sn=Ue==="y"?"height":"width",wn=hn[Ue],On=wn+Ve[En],Tn=wn-Ve[Nn],In=Ie?-bn[Sn]/2:0,Bn=Fe===U$1?vn[Sn]:bn[Sn],Dn=Fe===U$1?-bn[Sn]:-vn[Sn],Xn=j.elements.arrow,Zn=Ie&&Xn?ke(Xn):{width:0,height:0},Fn=j.modifiersData["arrow#persistent"]?j.modifiersData["arrow#persistent"].padding:st(),Yn=Fn[En],qn=Fn[Nn],Vn=fe(0,vn[Sn],Zn[Sn]),eo=ze?vn[Sn]/2-In-Vn-Yn-kn.mainAxis:Bn-Vn-Yn-kn.mainAxis,ho=ze?-vn[Sn]/2+In+Vn+qn+kn.mainAxis:Dn+Vn+qn+kn.mainAxis,So=j.elements.arrow&&se(j.elements.arrow),Ln=So?Ue==="y"?So.clientTop||0:So.clientLeft||0:0,Rn=(Cn=xn==null?void 0:xn[Ue])!=null?Cn:0,Gn=wn+eo-Rn-Ln,no=wn+ho-Rn,bo=fe(Ie?ve(On,Gn):On,wn,Ie?X$1(Tn,no):Tn);hn[Ue]=bo,$n[Ue]=bo-wn}if(ue){var Wn,lo=Ue==="x"?E$2:P$1,Qn=Ue==="x"?R$1:W$1,ro=hn[qe],Hn=qe==="y"?"height":"width",uo=ro+Ve[lo],so=ro-Ve[Qn],yo=[E$2,P$1].indexOf(Oe)!==-1,to=(Wn=xn==null?void 0:xn[qe])!=null?Wn:0,go=yo?uo:ro-vn[Hn]-bn[Hn]-to+kn.altAxis,_o=yo?ro+vn[Hn]+bn[Hn]-to-kn.altAxis:so,To=Ie&&yo?St(go,ro,_o):fe(Ie?go:uo,ro,Ie?_o:so);hn[qe]=To,$n[qe]=To-ro}j.modifiersData[ae]=$n}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an($){return{scrollLeft:$.scrollLeft,scrollTop:$.scrollTop}}function sn($){return $===H$1($)||!B($)?We($):an($)}function fn($){var j=$.getBoundingClientRect(),oe=Z(j.width)/$.offsetWidth||1,ae=Z(j.height)/$.offsetHeight||1;return oe!==1||ae!==1}function cn($,j,oe){oe===void 0&&(oe=!1);var ae=B(j),ie=B(j)&&fn(j),le=I$1(j),de=ee($,ie),ue={scrollLeft:0,scrollTop:0},pe={x:0,y:0};return(ae||!ae&&!oe)&&((C$1(j)!=="body"||Se(le))&&(ue=sn(j)),B(j)?(pe=ee(j,!0),pe.x+=j.clientLeft,pe.y+=j.clientTop):le&&(pe.x=Be(le))),{x:de.left+ue.scrollLeft-pe.x,y:de.top+ue.scrollTop-pe.y,width:de.width,height:de.height}}function pn($){var j=new Map,oe=new Set,ae=[];$.forEach(function(le){j.set(le.name,le)});function ie(le){oe.add(le.name);var de=[].concat(le.requires||[],le.requiresIfExists||[]);de.forEach(function(ue){if(!oe.has(ue)){var pe=j.get(ue);pe&&ie(pe)}}),ae.push(le)}return $.forEach(function(le){oe.has(le.name)||ie(le)}),ae}function un($){var j=pn($);return ot.reduce(function(oe,ae){return oe.concat(j.filter(function(ie){return ie.phase===ae}))},[])}function ln($){var j;return function(){return j||(j=new Promise(function(oe){Promise.resolve().then(function(){j=void 0,oe($())})})),j}}function dn($){var j=$.reduce(function(oe,ae){var ie=oe[ae.name];return oe[ae.name]=ie?Object.assign({},ie,ae,{options:Object.assign({},ie.options,ae.options),data:Object.assign({},ie.data,ae.data)}):ae,oe},{});return Object.keys(j).map(function(oe){return j[oe]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var $=arguments.length,j=new Array($),oe=0;oe<$;oe++)j[oe]=arguments[oe];return!j.some(function(ae){return!(ae&&typeof ae.getBoundingClientRect=="function")})}function we($){$===void 0&&($={});var j=$,oe=j.defaultModifiers,ae=oe===void 0?[]:oe,ie=j.defaultOptions,le=ie===void 0?Ot:ie;return function(de,ue,pe){pe===void 0&&(pe=le);var he={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,le),modifiersData:{},elements:{reference:de,popper:ue},attributes:{},styles:{}},_e=[],xe=!1,Ce={state:he,setOptions:function(Ne){var Ve=typeof Ne=="function"?Ne(he.options):Ne;$e(),he.options=Object.assign({},le,he.options,Ve),he.scrollParents={reference:Q(de)?ce(de):de.contextElement?ce(de.contextElement):[],popper:ce(ue)};var Oe=un(dn([].concat(ae,he.options.modifiers)));return he.orderedModifiers=Oe.filter(function(Fe){return Fe.enabled}),Ie(),Ce.update()},forceUpdate:function(){if(!xe){var Ne=he.elements,Ve=Ne.reference,Oe=Ne.popper;if($t(Ve,Oe)){he.rects={reference:cn(Ve,se(Oe),he.options.strategy==="fixed"),popper:ke(Oe)},he.reset=!1,he.placement=he.options.placement,he.orderedModifiers.forEach(function(bn){return he.modifiersData[bn.name]=Object.assign({},bn.data)});for(var Fe=0;Fe{const ae={name:"updateState",enabled:!0,phase:"write",fn:({state:pe})=>{const he=deriveState(pe);Object.assign(de.value,he)},requires:["computeStyles"]},ie=computed(()=>{const{onFirstUpdate:pe,placement:he,strategy:_e,modifiers:xe}=unref(oe);return{onFirstUpdate:pe,placement:he||"bottom",strategy:_e||"absolute",modifiers:[...xe||[],ae,{name:"applyStyles",enabled:!1}]}}),le=shallowRef(),de=ref({styles:{popper:{position:unref(ie).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),ue=()=>{le.value&&(le.value.destroy(),le.value=void 0)};return watch(ie,pe=>{const he=unref(le);he&&he.setOptions(pe)},{deep:!0}),watch([$,j],([pe,he])=>{ue(),!(!pe||!he)&&(le.value=yn(pe,he,unref(ie)))}),onBeforeUnmount(()=>{ue()}),{state:computed(()=>{var pe;return{...((pe=unref(le))==null?void 0:pe.state)||{}}}),styles:computed(()=>unref(de).styles),attributes:computed(()=>unref(de).attributes),update:()=>{var pe;return(pe=unref(le))==null?void 0:pe.update()},forceUpdate:()=>{var pe;return(pe=unref(le))==null?void 0:pe.forceUpdate()},instanceRef:computed(()=>unref(le))}};function deriveState($){const j=Object.keys($.elements),oe=fromPairs(j.map(ie=>[ie,$.styles[ie]||{}])),ae=fromPairs(j.map(ie=>[ie,$.attributes[ie]]));return{styles:oe,attributes:ae}}const useRestoreActive=($,j)=>{let oe;watch(()=>$.value,ae=>{var ie,le;ae?(oe=document.activeElement,isRef(j)&&((le=(ie=j.value).focus)==null||le.call(ie))):oe.focus()})},useSameTarget=$=>{if(!$)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let j=!1,oe=!1;return{onClick:de=>{j&&oe&&$(de),j=oe=!1},onMousedown:de=>{j=de.target===de.currentTarget},onMouseup:de=>{oe=de.target===de.currentTarget}}},useThrottleRender=($,j=0)=>{if(j===0)return $;const oe=ref(!1);let ae=0;const ie=()=>{ae&&clearTimeout(ae),ae=window.setTimeout(()=>{oe.value=$.value},j)};return onMounted(ie),watch(()=>$.value,le=>{le?ie():oe.value=le}),oe};function useTimeout(){let $;const j=(ae,ie)=>{oe(),$=window.setTimeout(ae,ie)},oe=()=>window.clearTimeout($);return tryOnScopeDispose(()=>oe()),{registerTimeout:j,cancelTimeout:oe}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=$=>{const j=useIdInjection(),oe=useGetDerivedNamespace();return computed(()=>unref($)||`${oe.value}-id-${j.prefix}-${j.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=$=>{const j=$;j.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(oe=>oe(j))},useEscapeKeydown=$=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient&®isteredEscapeHandlers.push($)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(j=>j!==$),registeredEscapeHandlers.length===0&&isClient&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const $=useGetDerivedNamespace(),j=useIdInjection(),oe=computed(()=>`${$.value}-popper-container-${j.prefix}`),ae=computed(()=>`#${oe.value}`);return{id:oe,selector:ae}},createContainer=$=>{const j=document.createElement("div");return j.id=$,document.body.appendChild(j),j},usePopperContainer=()=>{const{id:$,selector:j}=usePopperContainerId();return onBeforeMount(()=>{isClient&&!cachedContainer&&!document.body.querySelector(j.value)&&(cachedContainer=createContainer($.value))}),{id:$,selector:j}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:$,hideAfter:j,autoClose:oe,open:ae,close:ie})=>{const{registerTimeout:le}=useTimeout(),{registerTimeout:de,cancelTimeout:ue}=useTimeout();return{onOpen:_e=>{le(()=>{ae(_e);const xe=unref(oe);isNumber$d(xe)&&xe>0&&de(()=>{ie(_e)},xe)},unref($))},onClose:_e=>{ue(),le(()=>{ie(_e)},unref(j))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=$=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:oe=>{$.value=oe}})},useForwardRefDirective=$=>({mounted(j){$(j)},updated(j){$(j)},unmounted(){$(null)}}),zIndex=ref(0),defaultInitialZIndex=2e3,zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=$=>{const j=$||inject(zIndexContextKey,void 0),oe=computed(()=>{const le=unref(j);return isNumber$d(le)?le:defaultInitialZIndex}),ae=computed(()=>oe.value+zIndex.value);return{initialZIndex:oe,currentZIndex:ae,nextZIndex:()=>(zIndex.value++,ae.value)}};function t$1($){return $.split("-")[1]}function e($){return $==="y"?"height":"width"}function n$1($){return $.split("-")[0]}function o$2($){return["top","bottom"].includes(n$1($))?"x":"y"}function i$2($,j,oe){let{reference:ae,floating:ie}=$;const le=ae.x+ae.width/2-ie.width/2,de=ae.y+ae.height/2-ie.height/2,ue=o$2(j),pe=e(ue),he=ae[pe]/2-ie[pe]/2,_e=ue==="x";let xe;switch(n$1(j)){case"top":xe={x:le,y:ae.y-ie.height};break;case"bottom":xe={x:le,y:ae.y+ae.height};break;case"right":xe={x:ae.x+ae.width,y:de};break;case"left":xe={x:ae.x-ie.width,y:de};break;default:xe={x:ae.x,y:ae.y}}switch(t$1(j)){case"start":xe[ue]-=he*(oe&&_e?-1:1);break;case"end":xe[ue]+=he*(oe&&_e?-1:1)}return xe}const r$1=async($,j,oe)=>{const{placement:ae="bottom",strategy:ie="absolute",middleware:le=[],platform:de}=oe,ue=le.filter(Boolean),pe=await(de.isRTL==null?void 0:de.isRTL(j));let he=await de.getElementRects({reference:$,floating:j,strategy:ie}),{x:_e,y:xe}=i$2(he,ae,pe),Ce=ae,Ie={},$e=0;for(let Ne=0;Ne({name:"arrow",options:$,async fn(j){const{element:oe,padding:ae=0}=$||{},{x:ie,y:le,placement:de,rects:ue,platform:pe,elements:he}=j;if(oe==null)return{};const _e=a$3(ae),xe={x:ie,y:le},Ce=o$2(de),Ie=e(Ce),$e=await pe.getDimensions(oe),Ne=Ce==="y",Ve=Ne?"top":"left",Oe=Ne?"bottom":"right",Fe=Ne?"clientHeight":"clientWidth",ze=ue.reference[Ie]+ue.reference[Ce]-xe[Ce]-ue.floating[Ie],Ue=xe[Ce]-ue.reference[Ce],qe=await(pe.getOffsetParent==null?void 0:pe.getOffsetParent(oe));let hn=qe?qe[Fe]:0;hn&&await(pe.isElement==null?void 0:pe.isElement(qe))||(hn=he.floating[Fe]||ue.floating[Ie]);const vn=ze/2-Ue/2,bn=_e[Ve],_n=hn-$e[Ie]-_e[Oe],kn=hn/2-$e[Ie]/2+vn,xn=m$2(bn,kn,_n),$n=t$1(de)!=null&&kn!=xn&&ue.reference[Ie]/2-(kn$.concat(j,j+"-start",j+"-end"),[]);const D$2=function($){return $===void 0&&($=0),{name:"offset",options:$,async fn(j){const{x:oe,y:ae}=j,ie=await async function(le,de){const{placement:ue,platform:pe,elements:he}=le,_e=await(pe.isRTL==null?void 0:pe.isRTL(he.floating)),xe=n$1(ue),Ce=t$1(ue),Ie=o$2(ue)==="x",$e=["left","top"].includes(xe)?-1:1,Ne=_e&&Ie?-1:1,Ve=typeof de=="function"?de(le):de;let{mainAxis:Oe,crossAxis:Fe,alignmentAxis:ze}=typeof Ve=="number"?{mainAxis:Ve,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...Ve};return Ce&&typeof ze=="number"&&(Fe=Ce==="end"?-1*ze:ze),Ie?{x:Fe*Ne,y:Oe*$e}:{x:Oe*$e,y:Fe*Ne}}(j,$);return{x:oe+ie.x,y:ae+ie.y,data:ie}}}};function n($){var j;return((j=$.ownerDocument)==null?void 0:j.defaultView)||window}function o$1($){return n($).getComputedStyle($)}function i$1($){return $ instanceof n($).Node}function r($){return i$1($)?($.nodeName||"").toLowerCase():""}let l$1;function c$1(){if(l$1)return l$1;const $=navigator.userAgentData;return $&&Array.isArray($.brands)?(l$1=$.brands.map(j=>j.brand+"/"+j.version).join(" "),l$1):navigator.userAgent}function s$1($){return $ instanceof n($).HTMLElement}function f$1($){return $ instanceof n($).Element}function u$1($){return typeof ShadowRoot>"u"?!1:$ instanceof n($).ShadowRoot||$ instanceof ShadowRoot}function a$2($){const{overflow:j,overflowX:oe,overflowY:ae,display:ie}=o$1($);return/auto|scroll|overlay|hidden|clip/.test(j+ae+oe)&&!["inline","contents"].includes(ie)}function d$1($){return["table","td","th"].includes(r($))}function h$1($){const j=/firefox/i.test(c$1()),oe=o$1($),ae=oe.backdropFilter||oe.WebkitBackdropFilter;return oe.transform!=="none"||oe.perspective!=="none"||!!ae&&ae!=="none"||j&&oe.willChange==="filter"||j&&!!oe.filter&&oe.filter!=="none"||["transform","perspective"].some(ie=>oe.willChange.includes(ie))||["paint","layout","strict","content"].some(ie=>{const le=oe.contain;return le!=null&&le.includes(ie)})}function p$1(){return/^((?!chrome|android).)*safari/i.test(c$1())}function g($){return["html","body","#document"].includes(r($))}const m$1=Math.min,y=Math.max,x$1=Math.round;function w$1($){const j=o$1($);let oe=parseFloat(j.width),ae=parseFloat(j.height);const ie=s$1($),le=ie?$.offsetWidth:oe,de=ie?$.offsetHeight:ae,ue=x$1(oe)!==le||x$1(ae)!==de;return ue&&(oe=le,ae=de),{width:oe,height:ae,fallback:ue}}function v$2($){return f$1($)?$:$.contextElement}const b$1={x:1,y:1};function L($){const j=v$2($);if(!s$1(j))return b$1;const oe=j.getBoundingClientRect(),{width:ae,height:ie,fallback:le}=w$1(j);let de=(le?x$1(oe.width):oe.width)/ae,ue=(le?x$1(oe.height):oe.height)/ie;return de&&Number.isFinite(de)||(de=1),ue&&Number.isFinite(ue)||(ue=1),{x:de,y:ue}}function E$1($,j,oe,ae){var ie,le;j===void 0&&(j=!1),oe===void 0&&(oe=!1);const de=$.getBoundingClientRect(),ue=v$2($);let pe=b$1;j&&(ae?f$1(ae)&&(pe=L(ae)):pe=L($));const he=ue?n(ue):window,_e=p$1()&&oe;let xe=(de.left+(_e&&((ie=he.visualViewport)==null?void 0:ie.offsetLeft)||0))/pe.x,Ce=(de.top+(_e&&((le=he.visualViewport)==null?void 0:le.offsetTop)||0))/pe.y,Ie=de.width/pe.x,$e=de.height/pe.y;if(ue){const Ne=n(ue),Ve=ae&&f$1(ae)?n(ae):ae;let Oe=Ne.frameElement;for(;Oe&&ae&&Ve!==Ne;){const Fe=L(Oe),ze=Oe.getBoundingClientRect(),Ue=getComputedStyle(Oe);ze.x+=(Oe.clientLeft+parseFloat(Ue.paddingLeft))*Fe.x,ze.y+=(Oe.clientTop+parseFloat(Ue.paddingTop))*Fe.y,xe*=Fe.x,Ce*=Fe.y,Ie*=Fe.x,$e*=Fe.y,xe+=ze.x,Ce+=ze.y,Oe=n(Oe).frameElement}}return l$2({width:Ie,height:$e,x:xe,y:Ce})}function T$1($){return((i$1($)?$.ownerDocument:$.document)||window.document).documentElement}function R($){return f$1($)?{scrollLeft:$.scrollLeft,scrollTop:$.scrollTop}:{scrollLeft:$.pageXOffset,scrollTop:$.pageYOffset}}function C($){return E$1(T$1($)).left+R($).scrollLeft}function F$1($){if(r($)==="html")return $;const j=$.assignedSlot||$.parentNode||u$1($)&&$.host||T$1($);return u$1(j)?j.host:j}function W($){const j=F$1($);return g(j)?j.ownerDocument.body:s$1(j)&&a$2(j)?j:W(j)}function D$1($,j){var oe;j===void 0&&(j=[]);const ae=W($),ie=ae===((oe=$.ownerDocument)==null?void 0:oe.body),le=n(ae);return ie?j.concat(le,le.visualViewport||[],a$2(ae)?ae:[]):j.concat(ae,D$1(ae))}function S$1($,j,oe){let ae;if(j==="viewport")ae=function(de,ue){const pe=n(de),he=T$1(de),_e=pe.visualViewport;let xe=he.clientWidth,Ce=he.clientHeight,Ie=0,$e=0;if(_e){xe=_e.width,Ce=_e.height;const Ne=p$1();(!Ne||Ne&&ue==="fixed")&&(Ie=_e.offsetLeft,$e=_e.offsetTop)}return{width:xe,height:Ce,x:Ie,y:$e}}($,oe);else if(j==="document")ae=function(de){const ue=T$1(de),pe=R(de),he=de.ownerDocument.body,_e=y(ue.scrollWidth,ue.clientWidth,he.scrollWidth,he.clientWidth),xe=y(ue.scrollHeight,ue.clientHeight,he.scrollHeight,he.clientHeight);let Ce=-pe.scrollLeft+C(de);const Ie=-pe.scrollTop;return o$1(he).direction==="rtl"&&(Ce+=y(ue.clientWidth,he.clientWidth)-_e),{width:_e,height:xe,x:Ce,y:Ie}}(T$1($));else if(f$1(j))ae=function(de,ue){const pe=E$1(de,!0,ue==="fixed"),he=pe.top+de.clientTop,_e=pe.left+de.clientLeft,xe=s$1(de)?L(de):{x:1,y:1};return{width:de.clientWidth*xe.x,height:de.clientHeight*xe.y,x:_e*xe.x,y:he*xe.y}}(j,oe);else{const de={...j};if(p$1()){var ie,le;const ue=n($);de.x-=((ie=ue.visualViewport)==null?void 0:ie.offsetLeft)||0,de.y-=((le=ue.visualViewport)==null?void 0:le.offsetTop)||0}ae=de}return l$2(ae)}function A$1($,j){return s$1($)&&o$1($).position!=="fixed"?j?j($):$.offsetParent:null}function H($,j){const oe=n($);if(!s$1($))return oe;let ae=A$1($,j);for(;ae&&d$1(ae)&&o$1(ae).position==="static";)ae=A$1(ae,j);return ae&&(r(ae)==="html"||r(ae)==="body"&&o$1(ae).position==="static"&&!h$1(ae))?oe:ae||function(ie){let le=F$1(ie);for(;s$1(le)&&!g(le);){if(h$1(le))return le;le=F$1(le)}return null}($)||oe}function V($,j,oe){const ae=s$1(j),ie=T$1(j),le=E$1($,!0,oe==="fixed",j);let de={scrollLeft:0,scrollTop:0};const ue={x:0,y:0};if(ae||!ae&&oe!=="fixed")if((r(j)!=="body"||a$2(ie))&&(de=R(j)),s$1(j)){const pe=E$1(j,!0);ue.x=pe.x+j.clientLeft,ue.y=pe.y+j.clientTop}else ie&&(ue.x=C(ie));return{x:le.left+de.scrollLeft-ue.x,y:le.top+de.scrollTop-ue.y,width:le.width,height:le.height}}const O$1={getClippingRect:function($){let{element:j,boundary:oe,rootBoundary:ae,strategy:ie}=$;const le=oe==="clippingAncestors"?function(he,_e){const xe=_e.get(he);if(xe)return xe;let Ce=D$1(he).filter(Ve=>f$1(Ve)&&r(Ve)!=="body"),Ie=null;const $e=o$1(he).position==="fixed";let Ne=$e?F$1(he):he;for(;f$1(Ne)&&!g(Ne);){const Ve=o$1(Ne),Oe=h$1(Ne);Ve.position==="fixed"&&(Ie=null),($e?Oe||Ie:Oe||Ve.position!=="static"||!Ie||!["absolute","fixed"].includes(Ie.position))?Ie=Ve:Ce=Ce.filter(Fe=>Fe!==Ne),Ne=F$1(Ne)}return _e.set(he,Ce),Ce}(j,this._c):[].concat(oe),de=[...le,ae],ue=de[0],pe=de.reduce((he,_e)=>{const xe=S$1(j,_e,ie);return he.top=y(xe.top,he.top),he.right=m$1(xe.right,he.right),he.bottom=m$1(xe.bottom,he.bottom),he.left=y(xe.left,he.left),he},S$1(j,ue,ie));return{width:pe.right-pe.left,height:pe.bottom-pe.top,x:pe.left,y:pe.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function($){let{rect:j,offsetParent:oe,strategy:ae}=$;const ie=s$1(oe),le=T$1(oe);if(oe===le)return j;let de={scrollLeft:0,scrollTop:0},ue={x:1,y:1};const pe={x:0,y:0};if((ie||!ie&&ae!=="fixed")&&((r(oe)!=="body"||a$2(le))&&(de=R(oe)),s$1(oe))){const he=E$1(oe);ue=L(oe),pe.x=he.x+oe.clientLeft,pe.y=he.y+oe.clientTop}return{width:j.width*ue.x,height:j.height*ue.y,x:j.x*ue.x-de.scrollLeft*ue.x+pe.x,y:j.y*ue.y-de.scrollTop*ue.y+pe.y}},isElement:f$1,getDimensions:function($){return w$1($)},getOffsetParent:H,getDocumentElement:T$1,getScale:L,async getElementRects($){let{reference:j,floating:oe,strategy:ae}=$;const ie=this.getOffsetParent||H,le=this.getDimensions;return{reference:V(j,await ie(oe),ae),floating:{x:0,y:0,...await le(oe)}}},getClientRects:$=>Array.from($.getClientRects()),isRTL:$=>o$1($).direction==="rtl"},z=($,j,oe)=>{const ae=new Map,ie={platform:O$1,...oe},le={...ie.platform,_c:ae};return r$1($,j,{...ie,platform:le})};buildProps({});const unrefReference=$=>{if(!isClient)return;if(!$)return $;const j=unrefElement($);return j||(isRef($)?j:$)},useFloating=({middleware:$,placement:j,strategy:oe})=>{const ae=ref(),ie=ref(),le=ref(),de=ref(),ue=ref({}),pe={x:le,y:de,placement:j,strategy:oe,middlewareData:ue},he=async()=>{if(!isClient)return;const _e=unrefReference(ae),xe=unrefElement(ie);if(!_e||!xe)return;const Ce=await z(_e,xe,{placement:unref(j),strategy:unref(oe),middleware:unref($)});keysOf(pe).forEach(Ie=>{pe[Ie].value=Ce[Ie]})};return onMounted(()=>{watchEffect(()=>{he()})}),{...pe,update:he,referenceRef:ae,contentRef:ie}},arrowMiddleware=({arrowRef:$,padding:j})=>({name:"arrow",options:{element:$,padding:j},fn(oe){const ae=unref($);return ae?u$2({element:ae,padding:j}).fn(oe):{}}});function useCursor($){const j=ref();function oe(){if($.value==null)return;const{selectionStart:ie,selectionEnd:le,value:de}=$.value;if(ie==null||le==null)return;const ue=de.slice(0,Math.max(0,ie)),pe=de.slice(Math.max(0,le));j.value={selectionStart:ie,selectionEnd:le,value:de,beforeTxt:ue,afterTxt:pe}}function ae(){if($.value==null||j.value==null)return;const{value:ie}=$.value,{beforeTxt:le,afterTxt:de,selectionStart:ue}=j.value;if(le==null||de==null||ue==null)return;let pe=ie.length;if(ie.endsWith(de))pe=ie.length-de.length;else if(ie.startsWith(le))pe=le.length;else{const he=le[ue-1],_e=ie.indexOf(he,ue-1);_e!==-1&&(pe=_e+1)}$.value.setSelectionRange(pe,pe)}return[oe,ae]}const getOrderedChildren=($,j,oe)=>flattedChildren($.subTree).filter(le=>{var de;return isVNode$1(le)&&((de=le.type)==null?void 0:de.name)===j&&!!le.component}).map(le=>le.component.uid).map(le=>oe[le]).filter(le=>!!le),useOrderedChildren=($,j)=>{const oe={},ae=shallowRef([]);return{children:ae,addChild:de=>{oe[de.uid]=de,ae.value=getOrderedChildren($,j,oe)},removeChild:de=>{delete oe[de],ae.value=ae.value.filter(ue=>ue.uid!==de)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const $=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref($.size)||"")},configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig($,j=void 0){const oe=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return $?computed(()=>{var ae,ie;return(ie=(ae=oe.value)==null?void 0:ae[$])!=null?ie:j}):oe}function useGlobalComponentSettings($,j){const oe=useGlobalConfig(),ae=useNamespace($,computed(()=>{var ue;return((ue=oe.value)==null?void 0:ue.namespace)||defaultNamespace})),ie=useLocale(computed(()=>{var ue;return(ue=oe.value)==null?void 0:ue.locale})),le=useZIndex(computed(()=>{var ue;return((ue=oe.value)==null?void 0:ue.zIndex)||defaultInitialZIndex})),de=computed(()=>{var ue;return unref(j)||((ue=oe.value)==null?void 0:ue.size)||""});return provideGlobalConfig(computed(()=>unref(oe)||{})),{ns:ae,locale:ie,zIndex:le,size:de}}const provideGlobalConfig=($,j,oe=!1)=>{var ae;const ie=!!getCurrentInstance(),le=ie?useGlobalConfig():void 0,de=(ae=j==null?void 0:j.provide)!=null?ae:ie?provide:void 0;if(!de)return;const ue=computed(()=>{const pe=unref($);return le!=null&&le.value?mergeConfig$1(le.value,pe):pe});return de(configProviderContextKey,ue),de(localeContextKey,computed(()=>ue.value.locale)),de(namespaceContextKey,computed(()=>ue.value.namespace)),de(zIndexContextKey,computed(()=>ue.value.zIndex)),de(SIZE_INJECTION_KEY,{size:computed(()=>ue.value.size||"")}),(oe||!globalConfig.value)&&(globalConfig.value=ue.value),ue},mergeConfig$1=($,j)=>{var oe;const ae=[...new Set([...keysOf($),...keysOf(j)])],ie={};for(const le of ae)ie[le]=(oe=j[le])!=null?oe:$[le];return ie},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"}}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup($,{slots:j}){watch(()=>$.message,ae=>{Object.assign(messageConfig,ae??{})},{immediate:!0,deep:!0});const oe=provideGlobalConfig($);return()=>renderSlot(j,"default",{config:oe==null?void 0:oe.value})}}),ElConfigProvider=withInstall(ConfigProvider),version="2.3.3",makeInstaller=($=[])=>({version,install:(oe,ae)=>{oe[INSTALLED_KEY]||(oe[INSTALLED_KEY]=!0,$.forEach(ie=>oe.use(ie)),ae&&provideGlobalConfig(ae,oe,!0))}}),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:$,fixed:j})=>isNumber$d($)&&isBoolean$5(j),[CHANGE_EVENT]:$=>isBoolean$5($)};var _export_sfc$1=($,j)=>{const oe=$.__vccOpts||$;for(const[ae,ie]of j)oe[ae]=ie;return oe};const COMPONENT_NAME$n="ElAffix",__default__$1F=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2p=defineComponent({...__default__$1F,props:affixProps,emits:affixEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useNamespace("affix"),le=shallowRef(),de=shallowRef(),ue=shallowRef(),{height:pe}=useWindowSize(),{height:he,width:_e,top:xe,bottom:Ce,update:Ie}=useElementBounding(de,{windowScroll:!1}),$e=useElementBounding(le),Ne=ref(!1),Ve=ref(0),Oe=ref(0),Fe=computed(()=>({height:Ne.value?`${he.value}px`:"",width:Ne.value?`${_e.value}px`:""})),ze=computed(()=>{if(!Ne.value)return{};const hn=ae.offset?addUnit(ae.offset):0;return{height:`${he.value}px`,width:`${_e.value}px`,top:ae.position==="top"?hn:"",bottom:ae.position==="bottom"?hn:"",transform:Oe.value?`translateY(${Oe.value}px)`:"",zIndex:ae.zIndex}}),Ue=()=>{if(ue.value)if(Ve.value=ue.value instanceof Window?document.documentElement.scrollTop:ue.value.scrollTop||0,ae.position==="top")if(ae.target){const hn=$e.bottom.value-ae.offset-he.value;Ne.value=ae.offset>xe.value&&$e.bottom.value>0,Oe.value=hn<0?hn:0}else Ne.value=ae.offset>xe.value;else if(ae.target){const hn=pe.value-$e.top.value-ae.offset-he.value;Ne.value=pe.value-ae.offset$e.top.value,Oe.value=hn<0?-hn:0}else Ne.value=pe.value-ae.offset{Ie(),oe("scroll",{scrollTop:Ve.value,fixed:Ne.value})};return watch(Ne,hn=>oe("change",hn)),onMounted(()=>{var hn;ae.target?(le.value=(hn=document.querySelector(ae.target))!=null?hn:void 0,le.value||throwError(COMPONENT_NAME$n,`Target is not existed: ${ae.target}`)):le.value=document.documentElement,ue.value=getScrollContainer(de.value,!0),Ie()}),useEventListener(ue,"scroll",qe),watchEffect(Ue),j({update:Ue,updateRoot:Ie}),(hn,vn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:de,class:normalizeClass(unref(ie).b()),style:normalizeStyle(unref(Fe))},[createBaseVNode("div",{class:normalizeClass({[unref(ie).m("fixed")]:Ne.value}),style:normalizeStyle(unref(ze))},[renderSlot(hn.$slots,"default")],6)],6))}});var Affix=_export_sfc$1(_sfc_main$2p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1E=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2o=defineComponent({...__default__$1E,props:iconProps,setup($){const j=$,oe=useNamespace("icon"),ae=computed(()=>{const{size:ie,color:le}=j;return!ie&&!le?{}:{fontSize:isUndefined$c(ie)?void 0:addUnit(ie),"--color":le}});return(ie,le)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(oe).b(),style:unref(ae)},ie.$attrs),[renderSlot(ie.$slots,"default")],16))}});var Icon$2=_export_sfc$1(_sfc_main$2o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ElIcon=withInstall(Icon$2),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:$=>$ instanceof MouseEvent},__default__$1D=defineComponent({name:"ElAlert"}),_sfc_main$2n=defineComponent({...__default__$1D,props:alertProps,emits:alertEmits,setup($,{emit:j}){const oe=$,{Close:ae}=TypeComponents,ie=useSlots(),le=useNamespace("alert"),de=ref(!0),ue=computed(()=>TypeComponentsMap[oe.type]),pe=computed(()=>[le.e("icon"),{[le.is("big")]:!!oe.description||!!ie.default}]),he=computed(()=>({[le.is("bold")]:oe.description||ie.default})),_e=xe=>{de.value=!1,j("close",xe)};return(xe,Ce)=>(openBlock(),createBlock(Transition,{name:unref(le).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(le).b(),unref(le).m(xe.type),unref(le).is("center",xe.center),unref(le).is(xe.effect)]),role:"alert"},[xe.showIcon&&unref(ue)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(pe))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ue))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).e("content"))},[xe.title||xe.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(le).e("title"),unref(he)])},[renderSlot(xe.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(xe.title),1)])],2)):createCommentVNode("v-if",!0),xe.$slots.default||xe.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(le).e("description"))},[renderSlot(xe.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(xe.description),1)])],2)):createCommentVNode("v-if",!0),xe.closable?(openBlock(),createElementBlock(Fragment,{key:2},[xe.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(le).e("close-btn"),unref(le).is("customed")]),onClick:_e},toDisplayString$1(xe.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(le).e("close-btn")),onClick:_e},{default:withCtx(()=>[createVNode(unref(ae))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,de.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$2n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=($,j={})=>{const oe=ref(void 0),ae=j.prop?oe:useProp("size"),ie=j.global?oe:useGlobalSize(),le=j.form?{size:void 0}:inject(formContextKey,void 0),de=j.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>ae.value||unref($)||(de==null?void 0:de.size)||(le==null?void 0:le.size)||ie.value||"")},useFormDisabled=$=>{const j=useProp("disabled"),oe=inject(formContextKey,void 0);return computed(()=>j.value||unref($)||(oe==null?void 0:oe.disabled)||!1)},useFormItem=()=>{const $=inject(formContextKey,void 0),j=inject(formItemContextKey,void 0);return{form:$,formItem:j}},useFormItemInputId=($,{formItemContext:j,disableIdGeneration:oe,disableIdManagement:ae})=>{oe||(oe=ref(!1)),ae||(ae=ref(!1));const ie=ref();let le;const de=computed(()=>{var ue;return!!(!$.label&&j&&j.inputIds&&((ue=j.inputIds)==null?void 0:ue.length)<=1)});return onMounted(()=>{le=watch([toRef($,"id"),oe],([ue,pe])=>{const he=ue??(pe?void 0:useId().value);he!==ie.value&&(j!=null&&j.removeInputId&&(ie.value&&j.removeInputId(ie.value),!(ae!=null&&ae.value)&&!pe&&he&&j.addInputId(he)),ie.value=he)},{immediate:!0})}),onUnmounted(()=>{le&&le(),j!=null&&j.removeInputId&&ie.value&&j.removeInputId(ie.value)}),{isLabeledByFormItem:de,inputId:ie}},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:{type:Boolean,default:!1},scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:($,j,oe)=>(isArray$x($)||isString$d($))&&isBoolean$5(j)&&isString$d(oe)};function useFormLabelWidth(){const $=ref([]),j=computed(()=>{if(!$.value.length)return"0";const le=Math.max(...$.value);return le?`${le}px`:""});function oe(le){const de=$.value.indexOf(le);return de===-1&&j.value,de}function ae(le,de){if(le&&de){const ue=oe(de);$.value.splice(ue,1,le)}else le&&$.value.push(le)}function ie(le){const de=oe(le);de>-1&&$.value.splice(de,1)}return{autoLabelWidth:j,registerLabelWidth:ae,deregisterLabelWidth:ie}}const filterFields=($,j)=>{const oe=castArray$1(j);return oe.length>0?$.filter(ae=>ae.prop&&oe.includes(ae.prop)):$},COMPONENT_NAME$m="ElForm",__default__$1C=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2m=defineComponent({...__default__$1C,props:formProps,emits:formEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=[],le=useFormSize(),de=useNamespace("form"),ue=computed(()=>{const{labelPosition:Fe,inline:ze}=ae;return[de.b(),de.m(le.value||"default"),{[de.m(`label-${Fe}`)]:Fe,[de.m("inline")]:ze}]}),pe=Fe=>{ie.push(Fe)},he=Fe=>{Fe.prop&&ie.splice(ie.indexOf(Fe),1)},_e=(Fe=[])=>{ae.model&&filterFields(ie,Fe).forEach(ze=>ze.resetField())},xe=(Fe=[])=>{filterFields(ie,Fe).forEach(ze=>ze.clearValidate())},Ce=computed(()=>!!ae.model),Ie=Fe=>{if(ie.length===0)return[];const ze=filterFields(ie,Fe);return ze.length?ze:[]},$e=async Fe=>Ve(void 0,Fe),Ne=async(Fe=[])=>{if(!Ce.value)return!1;const ze=Ie(Fe);if(ze.length===0)return!0;let Ue={};for(const qe of ze)try{await qe.validate("")}catch(hn){Ue={...Ue,...hn}}return Object.keys(Ue).length===0?!0:Promise.reject(Ue)},Ve=async(Fe=[],ze)=>{const Ue=!isFunction$h(ze);try{const qe=await Ne(Fe);return qe===!0&&(ze==null||ze(qe)),qe}catch(qe){if(qe instanceof Error)throw qe;const hn=qe;return ae.scrollToError&&Oe(Object.keys(hn)[0]),ze==null||ze(!1,hn),Ue&&Promise.reject(hn)}},Oe=Fe=>{var ze;const Ue=filterFields(ie,Fe)[0];Ue&&((ze=Ue.$el)==null||ze.scrollIntoView(ae.scrollIntoViewOptions))};return watch(()=>ae.rules,()=>{ae.validateOnRuleChange&&$e().catch(Fe=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(ae),emit:oe,resetFields:_e,clearValidate:xe,validateField:Ve,addField:pe,removeField:he,...useFormLabelWidth()})),j({validate:$e,validateField:Ve,resetFields:_e,clearValidate:xe,scrollToField:Oe}),(Fe,ze)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(ue))},[renderSlot(Fe.$slots,"default")],2))}});var Form$1=_export_sfc$1(_sfc_main$2m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function _extends(){return _extends=Object.assign?Object.assign.bind():function($){for(var j=1;j"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct($,j,oe){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(ie,le,de){var ue=[null];ue.push.apply(ue,le);var pe=Function.bind.apply(ie,ue),he=new pe;return de&&_setPrototypeOf(he,de.prototype),he},_construct.apply(null,arguments)}function _isNativeFunction($){return Function.toString.call($).indexOf("[native code]")!==-1}function _wrapNativeSuper($){var j=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(ae){if(ae===null||!_isNativeFunction(ae))return ae;if(typeof ae!="function")throw new TypeError("Super expression must either be null or a function");if(typeof j<"u"){if(j.has(ae))return j.get(ae);j.set(ae,ie)}function ie(){return _construct(ae,arguments,_getPrototypeOf(this).constructor)}return ie.prototype=Object.create(ae.prototype,{constructor:{value:ie,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(ie,ae)},_wrapNativeSuper($)}var formatRegExp=/%[sdj%]/g,warning=function(){};typeof process<"u"&&process.env;function convertFieldsError($){if(!$||!$.length)return null;var j={};return $.forEach(function(oe){var ae=oe.field;j[ae]=j[ae]||[],j[ae].push(oe)}),j}function format$1($){for(var j=arguments.length,oe=new Array(j>1?j-1:0),ae=1;ae=le)return ue;switch(ue){case"%s":return String(oe[ie++]);case"%d":return Number(oe[ie++]);case"%j":try{return JSON.stringify(oe[ie++])}catch{return"[Circular]"}break;default:return ue}});return de}return $}function isNativeStringType($){return $==="string"||$==="url"||$==="hex"||$==="email"||$==="date"||$==="pattern"}function isEmptyValue$1($,j){return!!($==null||j==="array"&&Array.isArray($)&&!$.length||isNativeStringType(j)&&typeof $=="string"&&!$)}function asyncParallelArray($,j,oe){var ae=[],ie=0,le=$.length;function de(ue){ae.push.apply(ae,ue||[]),ie++,ie===le&&oe(ae)}$.forEach(function(ue){j(ue,de)})}function asyncSerialArray($,j,oe){var ae=0,ie=$.length;function le(de){if(de&&de.length){oe(de);return}var ue=ae;ae=ae+1,ue()\[\]\\.,;:\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(j){return types.number(j)&&parseInt(j,10)===j},float:function(j){return types.number(j)&&!types.integer(j)},array:function(j){return Array.isArray(j)},regexp:function(j){if(j instanceof RegExp)return!0;try{return!!new RegExp(j)}catch{return!1}},date:function(j){return typeof j.getTime=="function"&&typeof j.getMonth=="function"&&typeof j.getYear=="function"&&!isNaN(j.getTime())},number:function(j){return isNaN(j)?!1:typeof j=="number"},object:function(j){return typeof j=="object"&&!types.array(j)},method:function(j){return typeof j=="function"},email:function(j){return typeof j=="string"&&j.length<=320&&!!j.match(pattern$2.email)},url:function(j){return typeof j=="string"&&j.length<=2048&&!!j.match(getUrlRegex())},hex:function(j){return typeof j=="string"&&!!j.match(pattern$2.hex)}},type$1=function(j,oe,ae,ie,le){if(j.required&&oe===void 0){required$1(j,oe,ae,ie,le);return}var de=["integer","float","array","regexp","object","method","email","number","date","url","hex"],ue=j.type;de.indexOf(ue)>-1?types[ue](oe)||ie.push(format$1(le.messages.types[ue],j.fullField,j.type)):ue&&typeof oe!==j.type&&ie.push(format$1(le.messages.types[ue],j.fullField,j.type))},range$2=function(j,oe,ae,ie,le){var de=typeof j.len=="number",ue=typeof j.min=="number",pe=typeof j.max=="number",he=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_e=oe,xe=null,Ce=typeof oe=="number",Ie=typeof oe=="string",$e=Array.isArray(oe);if(Ce?xe="number":Ie?xe="string":$e&&(xe="array"),!xe)return!1;$e&&(_e=oe.length),Ie&&(_e=oe.replace(he,"_").length),de?_e!==j.len&&ie.push(format$1(le.messages[xe].len,j.fullField,j.len)):ue&&!pe&&_ej.max?ie.push(format$1(le.messages[xe].max,j.fullField,j.max)):ue&&pe&&(_ej.max)&&ie.push(format$1(le.messages[xe].range,j.fullField,j.min,j.max))},ENUM$1="enum",enumerable$1=function(j,oe,ae,ie,le){j[ENUM$1]=Array.isArray(j[ENUM$1])?j[ENUM$1]:[],j[ENUM$1].indexOf(oe)===-1&&ie.push(format$1(le.messages[ENUM$1],j.fullField,j[ENUM$1].join(", ")))},pattern$1=function(j,oe,ae,ie,le){if(j.pattern){if(j.pattern instanceof RegExp)j.pattern.lastIndex=0,j.pattern.test(oe)||ie.push(format$1(le.messages.pattern.mismatch,j.fullField,oe,j.pattern));else if(typeof j.pattern=="string"){var de=new RegExp(j.pattern);de.test(oe)||ie.push(format$1(le.messages.pattern.mismatch,j.fullField,oe,j.pattern))}}},rules={required:required$1,whitespace,type:type$1,range:range$2,enum:enumerable$1,pattern:pattern$1},string=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe,"string")&&!j.required)return ae();rules.required(j,oe,ie,de,le,"string"),isEmptyValue$1(oe,"string")||(rules.type(j,oe,ie,de,le),rules.range(j,oe,ie,de,le),rules.pattern(j,oe,ie,de,le),j.whitespace===!0&&rules.whitespace(j,oe,ie,de,le))}ae(de)},method=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le),oe!==void 0&&rules.type(j,oe,ie,de,le)}ae(de)},number$1=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(oe===""&&(oe=void 0),isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le),oe!==void 0&&(rules.type(j,oe,ie,de,le),rules.range(j,oe,ie,de,le))}ae(de)},_boolean=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le),oe!==void 0&&rules.type(j,oe,ie,de,le)}ae(de)},regexp=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le),isEmptyValue$1(oe)||rules.type(j,oe,ie,de,le)}ae(de)},integer=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le),oe!==void 0&&(rules.type(j,oe,ie,de,le),rules.range(j,oe,ie,de,le))}ae(de)},floatFn=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le),oe!==void 0&&(rules.type(j,oe,ie,de,le),rules.range(j,oe,ie,de,le))}ae(de)},array=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(oe==null&&!j.required)return ae();rules.required(j,oe,ie,de,le,"array"),oe!=null&&(rules.type(j,oe,ie,de,le),rules.range(j,oe,ie,de,le))}ae(de)},object=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le),oe!==void 0&&rules.type(j,oe,ie,de,le)}ae(de)},ENUM="enum",enumerable=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le),oe!==void 0&&rules[ENUM](j,oe,ie,de,le)}ae(de)},pattern=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe,"string")&&!j.required)return ae();rules.required(j,oe,ie,de,le),isEmptyValue$1(oe,"string")||rules.pattern(j,oe,ie,de,le)}ae(de)},date$1=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe,"date")&&!j.required)return ae();if(rules.required(j,oe,ie,de,le),!isEmptyValue$1(oe,"date")){var pe;oe instanceof Date?pe=oe:pe=new Date(oe),rules.type(j,pe,ie,de,le),pe&&rules.range(j,pe.getTime(),ie,de,le)}}ae(de)},required=function(j,oe,ae,ie,le){var de=[],ue=Array.isArray(oe)?"array":typeof oe;rules.required(j,oe,ie,de,le,ue),ae(de)},type=function(j,oe,ae,ie,le){var de=j.type,ue=[],pe=j.required||!j.required&&ie.hasOwnProperty(j.field);if(pe){if(isEmptyValue$1(oe,de)&&!j.required)return ae();rules.required(j,oe,ie,ue,le,de),isEmptyValue$1(oe,de)||rules.type(j,oe,ie,ue,le)}ae(ue)},any=function(j,oe,ae,ie,le){var de=[],ue=j.required||!j.required&&ie.hasOwnProperty(j.field);if(ue){if(isEmptyValue$1(oe)&&!j.required)return ae();rules.required(j,oe,ie,de,le)}ae(de)},validators$2={string,method,number:number$1,boolean:_boolean,regexp,integer,float:floatFn,array,object,enum:enumerable,pattern,date:date$1,url:type,hex:type,email:type,required,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 j=JSON.parse(JSON.stringify(this));return j.clone=this.clone,j}}}var messages$1=newMessages(),Schema=function(){function $(oe){this.rules=null,this._messages=messages$1,this.define(oe)}var j=$.prototype;return j.define=function(ae){var ie=this;if(!ae)throw new Error("Cannot configure a schema with no rules");if(typeof ae!="object"||Array.isArray(ae))throw new Error("Rules must be an object");this.rules={},Object.keys(ae).forEach(function(le){var de=ae[le];ie.rules[le]=Array.isArray(de)?de:[de]})},j.messages=function(ae){return ae&&(this._messages=deepMerge(newMessages(),ae)),this._messages},j.validate=function(ae,ie,le){var de=this;ie===void 0&&(ie={}),le===void 0&&(le=function(){});var ue=ae,pe=ie,he=le;if(typeof pe=="function"&&(he=pe,pe={}),!this.rules||Object.keys(this.rules).length===0)return he&&he(null,ue),Promise.resolve(ue);function _e(Ne){var Ve=[],Oe={};function Fe(Ue){if(Array.isArray(Ue)){var qe;Ve=(qe=Ve).concat.apply(qe,Ue)}else Ve.push(Ue)}for(var ze=0;ze");const ie=useNamespace("form"),le=ref(),de=ref(0),ue=()=>{var _e;if((_e=le.value)!=null&&_e.firstElementChild){const xe=window.getComputedStyle(le.value.firstElementChild).width;return Math.ceil(Number.parseFloat(xe))}else return 0},pe=(_e="update")=>{nextTick(()=>{j.default&&$.isAutoWidth&&(_e==="update"?de.value=ue():_e==="remove"&&(oe==null||oe.deregisterLabelWidth(de.value)))})},he=()=>pe("update");return onMounted(()=>{he()}),onBeforeUnmount(()=>{pe("remove")}),onUpdated(()=>he()),watch(de,(_e,xe)=>{$.updateAll&&(oe==null||oe.registerLabelWidth(_e,xe))}),useResizeObserver(computed(()=>{var _e,xe;return(xe=(_e=le.value)==null?void 0:_e.firstElementChild)!=null?xe:null}),he),()=>{var _e,xe;if(!j)return null;const{isAutoWidth:Ce}=$;if(Ce){const Ie=oe==null?void 0:oe.autoLabelWidth,$e=ae==null?void 0:ae.hasLabel,Ne={};if($e&&Ie&&Ie!=="auto"){const Ve=Math.max(0,Number.parseInt(Ie,10)-de.value),Oe=oe.labelPosition==="left"?"marginRight":"marginLeft";Ve&&(Ne[Oe]=`${Ve}px`)}return createVNode("div",{ref:le,class:[ie.be("item","label-wrap")],style:Ne},[(_e=j.default)==null?void 0:_e.call(j)])}else return createVNode(Fragment,{ref:le},[(xe=j.default)==null?void 0:xe.call(j)])}}});const _hoisted_1$18=["role","aria-labelledby"],__default__$1B=defineComponent({name:"ElFormItem"}),_sfc_main$2l=defineComponent({...__default__$1B,props:formItemProps$1,setup($,{expose:j}){const oe=$,ae=useSlots(),ie=inject(formContextKey,void 0),le=inject(formItemContextKey,void 0),de=useFormSize(void 0,{formItem:!1}),ue=useNamespace("form-item"),pe=useId().value,he=ref([]),_e=ref(""),xe=refDebounced(_e,100),Ce=ref(""),Ie=ref();let $e,Ne=!1;const Ve=computed(()=>{if((ie==null?void 0:ie.labelPosition)==="top")return{};const qn=addUnit(oe.labelWidth||(ie==null?void 0:ie.labelWidth)||"");return qn?{width:qn}:{}}),Oe=computed(()=>{if((ie==null?void 0:ie.labelPosition)==="top"||ie!=null&&ie.inline)return{};if(!oe.label&&!oe.labelWidth&&_n)return{};const qn=addUnit(oe.labelWidth||(ie==null?void 0:ie.labelWidth)||"");return!oe.label&&!ae.label?{marginLeft:qn}:{}}),Fe=computed(()=>[ue.b(),ue.m(de.value),ue.is("error",_e.value==="error"),ue.is("validating",_e.value==="validating"),ue.is("success",_e.value==="success"),ue.is("required",En.value||oe.required),ue.is("no-asterisk",ie==null?void 0:ie.hideRequiredAsterisk),(ie==null?void 0:ie.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[ue.m("feedback")]:ie==null?void 0:ie.statusIcon}]),ze=computed(()=>isBoolean$5(oe.inlineMessage)?oe.inlineMessage:(ie==null?void 0:ie.inlineMessage)||!1),Ue=computed(()=>[ue.e("error"),{[ue.em("error","inline")]:ze.value}]),qe=computed(()=>oe.prop?isString$d(oe.prop)?oe.prop:oe.prop.join("."):""),hn=computed(()=>!!(oe.label||ae.label)),vn=computed(()=>oe.for||he.value.length===1?he.value[0]:void 0),bn=computed(()=>!vn.value&&hn.value),_n=!!le,kn=computed(()=>{const qn=ie==null?void 0:ie.model;if(!(!qn||!oe.prop))return getProp(qn,oe.prop).value}),xn=computed(()=>{const{required:qn}=oe,Vn=[];oe.rules&&Vn.push(...castArray$1(oe.rules));const eo=ie==null?void 0:ie.rules;if(eo&&oe.prop){const ho=getProp(eo,oe.prop).value;ho&&Vn.push(...castArray$1(ho))}if(qn!==void 0){const ho=Vn.map((So,Ln)=>[So,Ln]).filter(([So])=>Object.keys(So).includes("required"));if(ho.length>0)for(const[So,Ln]of ho)So.required!==qn&&(Vn[Ln]={...So,required:qn});else Vn.push({required:qn})}return Vn}),$n=computed(()=>xn.value.length>0),Cn=qn=>xn.value.filter(eo=>!eo.trigger||!qn?!0:Array.isArray(eo.trigger)?eo.trigger.includes(qn):eo.trigger===qn).map(({trigger:eo,...ho})=>ho),En=computed(()=>xn.value.some(qn=>qn.required)),Nn=computed(()=>{var qn;return xe.value==="error"&&oe.showMessage&&((qn=ie==null?void 0:ie.showMessage)!=null?qn:!0)}),Sn=computed(()=>`${oe.label||""}${(ie==null?void 0:ie.labelSuffix)||""}`),wn=qn=>{_e.value=qn},On=qn=>{var Vn,eo;const{errors:ho,fields:So}=qn;(!ho||!So)&&console.error(qn),wn("error"),Ce.value=ho?(eo=(Vn=ho==null?void 0:ho[0])==null?void 0:Vn.message)!=null?eo:`${oe.prop} is required`:"",ie==null||ie.emit("validate",oe.prop,!1,Ce.value)},Tn=()=>{wn("success"),ie==null||ie.emit("validate",oe.prop,!0,"")},In=async qn=>{const Vn=qe.value;return new Schema({[Vn]:qn}).validate({[Vn]:kn.value},{firstFields:!0}).then(()=>(Tn(),!0)).catch(ho=>(On(ho),Promise.reject(ho)))},Bn=async(qn,Vn)=>{if(Ne||!oe.prop)return!1;const eo=isFunction$h(Vn);if(!$n.value)return Vn==null||Vn(!1),!1;const ho=Cn(qn);return ho.length===0?(Vn==null||Vn(!0),!0):(wn("validating"),In(ho).then(()=>(Vn==null||Vn(!0),!0)).catch(So=>{const{fields:Ln}=So;return Vn==null||Vn(!1,Ln),eo?!1:Promise.reject(Ln)}))},Dn=()=>{wn(""),Ce.value="",Ne=!1},Xn=async()=>{const qn=ie==null?void 0:ie.model;if(!qn||!oe.prop)return;const Vn=getProp(qn,oe.prop);Ne=!0,Vn.value=clone$4($e),await nextTick(),Dn(),Ne=!1},Zn=qn=>{he.value.includes(qn)||he.value.push(qn)},Fn=qn=>{he.value=he.value.filter(Vn=>Vn!==qn)};watch(()=>oe.error,qn=>{Ce.value=qn||"",wn(qn?"error":"")},{immediate:!0}),watch(()=>oe.validateStatus,qn=>wn(qn||""));const Yn=reactive({...toRefs(oe),$el:Ie,size:de,validateState:_e,labelId:pe,inputIds:he,isGroup:bn,hasLabel:hn,addInputId:Zn,removeInputId:Fn,resetField:Xn,clearValidate:Dn,validate:Bn});return provide(formItemContextKey,Yn),onMounted(()=>{oe.prop&&(ie==null||ie.addField(Yn),$e=clone$4(kn.value))}),onBeforeUnmount(()=>{ie==null||ie.removeField(Yn)}),j({size:de,validateMessage:Ce,validateState:_e,validate:Bn,clearValidate:Dn,resetField:Xn}),(qn,Vn)=>{var eo;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:Ie,class:normalizeClass(unref(Fe)),role:unref(bn)?"group":void 0,"aria-labelledby":unref(bn)?unref(pe):void 0},[createVNode(unref(FormLabelWrap),{"is-auto-width":unref(Ve).width==="auto","update-all":((eo=unref(ie))==null?void 0:eo.labelWidth)==="auto"},{default:withCtx(()=>[unref(hn)?(openBlock(),createBlock(resolveDynamicComponent(unref(vn)?"label":"div"),{key:0,id:unref(pe),for:unref(vn),class:normalizeClass(unref(ue).e("label")),style:normalizeStyle(unref(Ve))},{default:withCtx(()=>[renderSlot(qn.$slots,"label",{label:unref(Sn)},()=>[createTextVNode(toDisplayString$1(unref(Sn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(ue).e("content")),style:normalizeStyle(unref(Oe))},[renderSlot(qn.$slots,"default"),createVNode(TransitionGroup,{name:`${unref(ue).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Nn)?renderSlot(qn.$slots,"error",{key:0,error:Ce.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue))},toDisplayString$1(Ce.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$18)}}});var FormItem$1=_export_sfc$1(_sfc_main$2l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const ElForm=withInstall(Form$1,{FormItem:FormItem$1}),ElFormItem=withNoopInstall(FormItem$1);let hiddenTextarea;const HIDDEN_STYLE=` + height:0 !important; + visibility:hidden !important; + ${isFirefox()?"":"overflow:hidden !important;"} + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; +`,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($){const j=window.getComputedStyle($),oe=j.getPropertyValue("box-sizing"),ae=Number.parseFloat(j.getPropertyValue("padding-bottom"))+Number.parseFloat(j.getPropertyValue("padding-top")),ie=Number.parseFloat(j.getPropertyValue("border-bottom-width"))+Number.parseFloat(j.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(de=>`${de}:${j.getPropertyValue(de)}`).join(";"),paddingSize:ae,borderSize:ie,boxSizing:oe}}function calcTextareaHeight($,j=1,oe){var ae;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:ie,borderSize:le,boxSizing:de,contextStyle:ue}=calculateNodeStyling($);hiddenTextarea.setAttribute("style",`${ue};${HIDDEN_STYLE}`),hiddenTextarea.value=$.value||$.placeholder||"";let pe=hiddenTextarea.scrollHeight;const he={};de==="border-box"?pe=pe+le:de==="content-box"&&(pe=pe-ie),hiddenTextarea.value="";const _e=hiddenTextarea.scrollHeight-ie;if(isNumber$d(j)){let xe=_e*j;de==="border-box"&&(xe=xe+ie+le),pe=Math.max(xe,pe),he.minHeight=`${xe}px`}if(isNumber$d(oe)){let xe=_e*oe;de==="border-box"&&(xe=xe+ie+le),pe=Math.min(xe,pe)}return he.height=`${pe}px`,(ae=hiddenTextarea.parentNode)==null||ae.removeChild(hiddenTextarea),hiddenTextarea=void 0,he}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},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:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})}}),inputEmits={[UPDATE_MODEL_EVENT]:$=>isString$d($),input:$=>isString$d($),change:$=>isString$d($),focus:$=>$ instanceof FocusEvent,blur:$=>$ instanceof FocusEvent,clear:()=>!0,mouseleave:$=>$ instanceof MouseEvent,mouseenter:$=>$ instanceof MouseEvent,keydown:$=>$ instanceof Event,compositionstart:$=>$ instanceof CompositionEvent,compositionupdate:$=>$ instanceof CompositionEvent,compositionend:$=>$ instanceof CompositionEvent},_hoisted_1$17=["role"],_hoisted_2$J=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],_hoisted_3$o=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],__default__$1A=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2k=defineComponent({...__default__$1A,props:inputProps,emits:inputEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useAttrs$1(),le=useSlots(),de=computed(()=>{const yo={};return ae.containerRole==="combobox"&&(yo["aria-haspopup"]=ie["aria-haspopup"],yo["aria-owns"]=ie["aria-owns"],yo["aria-expanded"]=ie["aria-expanded"]),yo}),ue=computed(()=>[ae.type==="textarea"?Ve.b():Ne.b(),Ne.m(Ie.value),Ne.is("disabled",$e.value),Ne.is("exceed",Bn.value),{[Ne.b("group")]:le.prepend||le.append,[Ne.bm("group","append")]:le.append,[Ne.bm("group","prepend")]:le.prepend,[Ne.m("prefix")]:le.prefix||ae.prefixIcon,[Ne.m("suffix")]:le.suffix||ae.suffixIcon||ae.clearable||ae.showPassword,[Ne.bm("suffix","password-clear")]:wn.value&&On.value},ie.class]),pe=computed(()=>[Ne.e("wrapper"),Ne.is("focus",ze.value)]),he=useAttrs({excludeKeys:computed(()=>Object.keys(de.value))}),{form:_e,formItem:xe}=useFormItem(),{inputId:Ce}=useFormItemInputId(ae,{formItemContext:xe}),Ie=useFormSize(),$e=useFormDisabled(),Ne=useNamespace("input"),Ve=useNamespace("textarea"),Oe=shallowRef(),Fe=shallowRef(),ze=ref(!1),Ue=ref(!1),qe=ref(!1),hn=ref(!1),vn=ref(),bn=shallowRef(ae.inputStyle),_n=computed(()=>Oe.value||Fe.value),kn=computed(()=>{var yo;return(yo=_e==null?void 0:_e.statusIcon)!=null?yo:!1}),xn=computed(()=>(xe==null?void 0:xe.validateState)||""),$n=computed(()=>xn.value&&ValidateComponentsMap[xn.value]),Cn=computed(()=>hn.value?view_default:hide_default),En=computed(()=>[ie.style,ae.inputStyle]),Nn=computed(()=>[ae.inputStyle,bn.value,{resize:ae.resize}]),Sn=computed(()=>isNil(ae.modelValue)?"":String(ae.modelValue)),wn=computed(()=>ae.clearable&&!$e.value&&!ae.readonly&&!!Sn.value&&(ze.value||Ue.value)),On=computed(()=>ae.showPassword&&!$e.value&&!ae.readonly&&!!Sn.value&&(!!Sn.value||ze.value)),Tn=computed(()=>ae.showWordLimit&&!!he.value.maxlength&&(ae.type==="text"||ae.type==="textarea")&&!$e.value&&!ae.readonly&&!ae.showPassword),In=computed(()=>Sn.value.length),Bn=computed(()=>!!Tn.value&&In.value>Number(he.value.maxlength)),Dn=computed(()=>!!le.suffix||!!ae.suffixIcon||wn.value||ae.showPassword||Tn.value||!!xn.value&&kn.value),[Xn,Zn]=useCursor(Oe);useResizeObserver(Fe,yo=>{if(qn(),!Tn.value||ae.resize!=="both")return;const to=yo[0],{width:go}=to.contentRect;vn.value={right:`calc(100% - ${go+15+6}px)`}});const Fn=()=>{const{type:yo,autosize:to}=ae;if(!(!isClient||yo!=="textarea"||!Fe.value))if(to){const go=isObject$8(to)?to.minRows:void 0,_o=isObject$8(to)?to.maxRows:void 0,To=calcTextareaHeight(Fe.value,go,_o);bn.value={overflowY:"hidden",...To},nextTick(()=>{Fe.value.offsetHeight,bn.value=To})}else bn.value={minHeight:calcTextareaHeight(Fe.value).minHeight}},qn=(yo=>{let to=!1;return()=>{var go;if(to||!ae.autosize)return;((go=Fe.value)==null?void 0:go.offsetParent)===null||(yo(),to=!0)}})(Fn),Vn=()=>{const yo=_n.value;!yo||yo.value===Sn.value||(yo.value=Sn.value)},eo=async yo=>{Xn();let{value:to}=yo.target;if(ae.formatter&&(to=ae.parser?ae.parser(to):to,to=ae.formatter(to)),!qe.value){if(to===Sn.value){Vn();return}oe(UPDATE_MODEL_EVENT,to),oe("input",to),await nextTick(),Vn(),Zn()}},ho=yo=>{oe("change",yo.target.value)},So=yo=>{oe("compositionstart",yo),qe.value=!0},Ln=yo=>{var to;oe("compositionupdate",yo);const go=(to=yo.target)==null?void 0:to.value,_o=go[go.length-1]||"";qe.value=!isKorean(_o)},Rn=yo=>{oe("compositionend",yo),qe.value&&(qe.value=!1,eo(yo))},Gn=()=>{hn.value=!hn.value,no()},no=async()=>{var yo;await nextTick(),(yo=_n.value)==null||yo.focus()},bo=()=>{var yo;return(yo=_n.value)==null?void 0:yo.blur()},Wn=yo=>{ze.value=!0,oe("focus",yo)},lo=yo=>{var to;ze.value=!1,oe("blur",yo),ae.validateEvent&&((to=xe==null?void 0:xe.validate)==null||to.call(xe,"blur").catch(go=>void 0))},Qn=yo=>{Ue.value=!1,oe("mouseleave",yo)},ro=yo=>{Ue.value=!0,oe("mouseenter",yo)},Hn=yo=>{oe("keydown",yo)},uo=()=>{var yo;(yo=_n.value)==null||yo.select()},so=()=>{oe(UPDATE_MODEL_EVENT,""),oe("change",""),oe("clear"),oe("input","")};return watch(()=>ae.modelValue,()=>{var yo;nextTick(()=>Fn()),ae.validateEvent&&((yo=xe==null?void 0:xe.validate)==null||yo.call(xe,"change").catch(to=>void 0))}),watch(Sn,()=>Vn()),watch(()=>ae.type,async()=>{await nextTick(),Vn(),Fn()}),onMounted(()=>{!ae.formatter&&ae.parser,Vn(),nextTick(Fn)}),j({input:Oe,textarea:Fe,ref:_n,textareaStyle:Nn,autosize:toRef(ae,"autosize"),focus:no,blur:bo,select:uo,clear:so,resizeTextarea:Fn}),(yo,to)=>withDirectives((openBlock(),createElementBlock("div",mergeProps(unref(de),{class:unref(ue),style:unref(En),role:yo.containerRole,onMouseenter:ro,onMouseleave:Qn}),[createCommentVNode(" input "),yo.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),yo.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ne).be("group","prepend"))},[renderSlot(yo.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(pe))},[createCommentVNode(" prefix slot "),yo.$slots.prefix||yo.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ne).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(Ne).e("prefix-inner")),onClick:no},[renderSlot(yo.$slots,"prefix"),yo.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ne).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(yo.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(Ce),ref_key:"input",ref:Oe,class:unref(Ne).e("inner")},unref(he),{type:yo.showPassword?hn.value?"text":"password":yo.type,disabled:unref($e),formatter:yo.formatter,parser:yo.parser,readonly:yo.readonly,autocomplete:yo.autocomplete,tabindex:yo.tabindex,"aria-label":yo.label,placeholder:yo.placeholder,style:yo.inputStyle,form:ae.form,onCompositionstart:So,onCompositionupdate:Ln,onCompositionend:Rn,onInput:eo,onFocus:Wn,onBlur:lo,onChange:ho,onKeydown:Hn}),null,16,_hoisted_2$J),createCommentVNode(" suffix slot "),unref(Dn)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Ne).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(Ne).e("suffix-inner")),onClick:no},[!unref(wn)||!unref(On)||!unref(Tn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(yo.$slots,"suffix"),yo.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ne).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(yo.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(wn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ne).e("icon"),unref(Ne).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:so},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(On)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Ne).e("icon"),unref(Ne).e("password")]),onClick:Gn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Cn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Tn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(Ne).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(Ne).e("count-inner"))},toDisplayString$1(unref(In))+" / "+toDisplayString$1(unref(he).maxlength),3)],2)):createCommentVNode("v-if",!0),unref(xn)&&unref($n)&&unref(kn)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(Ne).e("icon"),unref(Ne).e("validateIcon"),unref(Ne).is("loading",unref(xn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref($n))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),yo.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ne).be("group","append"))},[renderSlot(yo.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(Ce),ref_key:"textarea",ref:Fe,class:unref(Ve).e("inner")},unref(he),{tabindex:yo.tabindex,disabled:unref($e),readonly:yo.readonly,autocomplete:yo.autocomplete,style:unref(Nn),"aria-label":yo.label,placeholder:yo.placeholder,form:ae.form,onCompositionstart:So,onCompositionupdate:Ln,onCompositionend:Rn,onInput:eo,onFocus:Wn,onBlur:lo,onChange:ho,onKeydown:Hn}),null,16,_hoisted_3$o),unref(Tn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle(vn.value),class:normalizeClass(unref(Ne).e("count"))},toDisplayString$1(unref(In))+" / "+toDisplayString$1(unref(he).maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$17)),[[vShow,yo.type!=="hidden"]])}});var Input$1=_export_sfc$1(_sfc_main$2k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const ElInput=withInstall(Input$1),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:$,size:j,bar:oe})=>({[oe.size]:j,transform:`translate${oe.axis}(${$}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2j=defineComponent({__name:"thumb",props:thumbProps,setup($){const j=$,oe=inject(scrollbarContextKey),ae=useNamespace("scrollbar");oe||throwError(COMPONENT_NAME$k,"can not inject scrollbar context");const ie=ref(),le=ref(),de=ref({}),ue=ref(!1);let pe=!1,he=!1,_e=isClient?document.onselectstart:null;const xe=computed(()=>BAR_MAP[j.vertical?"vertical":"horizontal"]),Ce=computed(()=>renderThumbStyle$1({size:j.size,move:j.move,bar:xe.value})),Ie=computed(()=>ie.value[xe.value.offset]**2/oe.wrapElement[xe.value.scrollSize]/j.ratio/le.value[xe.value.offset]),$e=hn=>{var vn;if(hn.stopPropagation(),hn.ctrlKey||[1,2].includes(hn.button))return;(vn=window.getSelection())==null||vn.removeAllRanges(),Ve(hn);const bn=hn.currentTarget;bn&&(de.value[xe.value.axis]=bn[xe.value.offset]-(hn[xe.value.client]-bn.getBoundingClientRect()[xe.value.direction]))},Ne=hn=>{if(!le.value||!ie.value||!oe.wrapElement)return;const vn=Math.abs(hn.target.getBoundingClientRect()[xe.value.direction]-hn[xe.value.client]),bn=le.value[xe.value.offset]/2,_n=(vn-bn)*100*Ie.value/ie.value[xe.value.offset];oe.wrapElement[xe.value.scroll]=_n*oe.wrapElement[xe.value.scrollSize]/100},Ve=hn=>{hn.stopImmediatePropagation(),pe=!0,document.addEventListener("mousemove",Oe),document.addEventListener("mouseup",Fe),_e=document.onselectstart,document.onselectstart=()=>!1},Oe=hn=>{if(!ie.value||!le.value||pe===!1)return;const vn=de.value[xe.value.axis];if(!vn)return;const bn=(ie.value.getBoundingClientRect()[xe.value.direction]-hn[xe.value.client])*-1,_n=le.value[xe.value.offset]-vn,kn=(bn-_n)*100*Ie.value/ie.value[xe.value.offset];oe.wrapElement[xe.value.scroll]=kn*oe.wrapElement[xe.value.scrollSize]/100},Fe=()=>{pe=!1,de.value[xe.value.axis]=0,document.removeEventListener("mousemove",Oe),document.removeEventListener("mouseup",Fe),qe(),he&&(ue.value=!1)},ze=()=>{he=!1,ue.value=!!j.size},Ue=()=>{he=!0,ue.value=pe};onBeforeUnmount(()=>{qe(),document.removeEventListener("mouseup",Fe)});const qe=()=>{document.onselectstart!==_e&&(document.onselectstart=_e)};return useEventListener(toRef(oe,"scrollbarElement"),"mousemove",ze),useEventListener(toRef(oe,"scrollbarElement"),"mouseleave",Ue),(hn,vn)=>(openBlock(),createBlock(Transition,{name:unref(ae).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:ie,class:normalizeClass([unref(ae).e("bar"),unref(ae).is(unref(xe).key)]),onMousedown:Ne},[createBaseVNode("div",{ref_key:"thumb",ref:le,class:normalizeClass(unref(ae).e("thumb")),style:normalizeStyle(unref(Ce)),onMousedown:$e},null,38)],34),[[vShow,hn.always||ue.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$2j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),_sfc_main$2i=defineComponent({__name:"bar",props:barProps,setup($,{expose:j}){const oe=$,ae=ref(0),ie=ref(0);return j({handleScroll:de=>{if(de){const ue=de.offsetHeight-GAP,pe=de.offsetWidth-GAP;ie.value=de.scrollTop*100/ue*oe.ratioY,ae.value=de.scrollLeft*100/pe*oe.ratioX}}}),(de,ue)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(Thumb,{move:ae.value,ratio:de.ratioX,size:de.width,always:de.always},null,8,["move","ratio","size","always"]),createVNode(Thumb,{move:ie.value,ratio:de.ratioY,size:de.height,vertical:"",always:de.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$2i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/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}}),scrollbarEmits={scroll:({scrollTop:$,scrollLeft:j})=>[$,j].every(isNumber$d)},COMPONENT_NAME$j="ElScrollbar",__default__$1z=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2h=defineComponent({...__default__$1z,props:scrollbarProps,emits:scrollbarEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useNamespace("scrollbar");let le,de;const ue=ref(),pe=ref(),he=ref(),_e=ref("0"),xe=ref("0"),Ce=ref(),Ie=ref(1),$e=ref(1),Ne=computed(()=>{const vn={};return ae.height&&(vn.height=addUnit(ae.height)),ae.maxHeight&&(vn.maxHeight=addUnit(ae.maxHeight)),[ae.wrapStyle,vn]}),Ve=computed(()=>[ae.wrapClass,ie.e("wrap"),{[ie.em("wrap","hidden-default")]:!ae.native}]),Oe=computed(()=>[ie.e("view"),ae.viewClass]),Fe=()=>{var vn;pe.value&&((vn=Ce.value)==null||vn.handleScroll(pe.value),oe("scroll",{scrollTop:pe.value.scrollTop,scrollLeft:pe.value.scrollLeft}))};function ze(vn,bn){isObject$8(vn)?pe.value.scrollTo(vn):isNumber$d(vn)&&isNumber$d(bn)&&pe.value.scrollTo(vn,bn)}const Ue=vn=>{isNumber$d(vn)&&(pe.value.scrollTop=vn)},qe=vn=>{isNumber$d(vn)&&(pe.value.scrollLeft=vn)},hn=()=>{if(!pe.value)return;const vn=pe.value.offsetHeight-GAP,bn=pe.value.offsetWidth-GAP,_n=vn**2/pe.value.scrollHeight,kn=bn**2/pe.value.scrollWidth,xn=Math.max(_n,ae.minSize),$n=Math.max(kn,ae.minSize);Ie.value=_n/(vn-_n)/(xn/(vn-xn)),$e.value=kn/(bn-kn)/($n/(bn-$n)),xe.value=xn+GAPae.noresize,vn=>{vn?(le==null||le(),de==null||de()):({stop:le}=useResizeObserver(he,hn),de=useEventListener("resize",hn))},{immediate:!0}),watch(()=>[ae.maxHeight,ae.height],()=>{ae.native||nextTick(()=>{var vn;hn(),pe.value&&((vn=Ce.value)==null||vn.handleScroll(pe.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:ue,wrapElement:pe})),onMounted(()=>{ae.native||nextTick(()=>{hn()})}),onUpdated(()=>hn()),j({wrapRef:pe,update:hn,scrollTo:ze,setScrollTop:Ue,setScrollLeft:qe,handleScroll:Fe}),(vn,bn)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:ue,class:normalizeClass(unref(ie).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:pe,class:normalizeClass(unref(Ve)),style:normalizeStyle(unref(Ne)),onScroll:Fe},[(openBlock(),createBlock(resolveDynamicComponent(vn.tag),{ref_key:"resizeRef",ref:he,class:normalizeClass(unref(Oe)),style:normalizeStyle(vn.viewStyle)},{default:withCtx(()=>[renderSlot(vn.$slots,"default")]),_:3},8,["class","style"]))],38),vn.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:Ce,height:xe.value,width:_e.value,always:vn.always,"ratio-x":$e.value,"ratio-y":Ie.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$2h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/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__$1y=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2g=defineComponent({...__default__$1y,props:popperProps,setup($,{expose:j}){const oe=$,ae=ref(),ie=ref(),le=ref(),de=ref(),ue=computed(()=>oe.role),pe={triggerRef:ae,popperInstanceRef:ie,contentRef:le,referenceRef:de,role:ue};return j(pe),provide(POPPER_INJECTION_KEY,pe),(he,_e)=>renderSlot(he.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$2g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1x=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2f=defineComponent({...__default__$1x,props:popperArrowProps,setup($,{expose:j}){const oe=$,ae=useNamespace("popper"),{arrowOffset:ie,arrowRef:le,arrowStyle:de}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>oe.arrowOffset,ue=>{ie.value=ue}),onBeforeUnmount(()=>{le.value=void 0}),j({arrowRef:le}),(ue,pe)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:le,class:normalizeClass(unref(ae).e("arrow")),style:normalizeStyle(unref(de)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$2f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup($,{slots:j,attrs:oe}){var ae;const ie=inject(FORWARD_REF_INJECTION_KEY),le=useForwardRefDirective((ae=ie==null?void 0:ie.setForwardRef)!=null?ae:NOOP);return()=>{var de;const ue=(de=j.default)==null?void 0:de.call(j,oe);if(!ue||ue.length>1)return null;const pe=findFirstLegitChild(ue);return pe?withDirectives(cloneVNode(pe,oe),[[le]]):null}}});function findFirstLegitChild($){if(!$)return null;const j=$;for(const oe of j){if(isObject$8(oe))switch(oe.type){case Comment:continue;case Text$2:case"svg":return wrapTextContent(oe);case Fragment:return findFirstLegitChild(oe.children);default:return oe}return wrapTextContent(oe)}return null}function wrapTextContent($){const j=useNamespace("only-child");return createVNode("span",{class:j.e("content")},[$])}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}),__default__$1w=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$2e=defineComponent({...__default__$1w,props:popperTriggerProps,setup($,{expose:j}){const oe=$,{role:ae,triggerRef:ie}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(ie);const le=computed(()=>ue.value?oe.id:void 0),de=computed(()=>{if(ae&&ae.value==="tooltip")return oe.open&&oe.id?oe.id:void 0}),ue=computed(()=>{if(ae&&ae.value!=="tooltip")return ae.value}),pe=computed(()=>ue.value?`${oe.open}`:void 0);let he;return onMounted(()=>{watch(()=>oe.virtualRef,_e=>{_e&&(ie.value=unrefElement(_e))},{immediate:!0}),watch(ie,(_e,xe)=>{he==null||he(),he=void 0,isElement$2(_e)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(Ce=>{var Ie;const $e=oe[Ce];$e&&(_e.addEventListener(Ce.slice(2).toLowerCase(),$e),(Ie=xe==null?void 0:xe.removeEventListener)==null||Ie.call(xe,Ce.slice(2).toLowerCase(),$e))}),he=watch([le,de,ue,pe],Ce=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((Ie,$e)=>{isNil(Ce[$e])?_e.removeAttribute(Ie):_e.setAttribute(Ie,Ce[$e])})},{immediate:!0})),isElement$2(xe)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(Ce=>xe.removeAttribute(Ce))},{immediate:!0})}),onBeforeUnmount(()=>{he==null||he(),he=void 0}),j({triggerRef:ie}),(_e,xe)=>_e.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},_e.$attrs,{"aria-controls":unref(le),"aria-describedby":unref(de),"aria-expanded":unref(pe),"aria-haspopup":unref(ue)}),{default:withCtx(()=>[renderSlot(_e.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$2e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/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=$=>{const j=[],oe=document.createTreeWalker($,NodeFilter.SHOW_ELEMENT,{acceptNode:ae=>{const ie=ae.tagName==="INPUT"&&ae.type==="hidden";return ae.disabled||ae.hidden||ie?NodeFilter.FILTER_SKIP:ae.tabIndex>=0||ae===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;oe.nextNode();)j.push(oe.currentNode);return j},getVisibleElement=($,j)=>{for(const oe of $)if(!isHidden(oe,j))return oe},isHidden=($,j)=>{if(getComputedStyle($).visibility==="hidden")return!0;for(;$;){if(j&&$===j)return!1;if(getComputedStyle($).display==="none")return!0;$=$.parentElement}return!1},getEdges=$=>{const j=obtainAllFocusableElements($),oe=getVisibleElement(j,$),ae=getVisibleElement(j.reverse(),$);return[oe,ae]},isSelectable=$=>$ instanceof HTMLInputElement&&"select"in $,tryFocus=($,j)=>{if($&&$.focus){const oe=document.activeElement;$.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),$!==oe&&isSelectable($)&&j&&$.select()}};function removeFromStack($,j){const oe=[...$],ae=$.indexOf(j);return ae!==-1&&oe.splice(ae,1),oe}const createFocusableStack=()=>{let $=[];return{push:ae=>{const ie=$[0];ie&&ae!==ie&&ie.pause(),$=removeFromStack($,ae),$.unshift(ae)},remove:ae=>{var ie,le;$=removeFromStack($,ae),(le=(ie=$[0])==null?void 0:ie.resume)==null||le.call(ie)}}},focusFirstDescendant=($,j=!1)=>{const oe=document.activeElement;for(const ae of $)if(tryFocus(ae,j),document.activeElement!==oe)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(()=>{focusReasonUserCount===0&&(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,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=$=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:$}),_sfc_main$2d=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($,{emit:j}){const oe=ref();let ae,ie;const{focusReason:le}=useFocusReason();useEscapeKeydown($e=>{$.trapped&&!de.paused&&j("release-requested",$e)});const de={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},ue=$e=>{if(!$.loop&&!$.trapped||de.paused)return;const{key:Ne,altKey:Ve,ctrlKey:Oe,metaKey:Fe,currentTarget:ze,shiftKey:Ue}=$e,{loop:qe}=$,hn=Ne===EVENT_CODE.tab&&!Ve&&!Oe&&!Fe,vn=document.activeElement;if(hn&&vn){const bn=ze,[_n,kn]=getEdges(bn);if(_n&&kn){if(!Ue&&vn===kn){const $n=createFocusOutPreventedEvent({focusReason:le.value});j("focusout-prevented",$n),$n.defaultPrevented||($e.preventDefault(),qe&&tryFocus(_n,!0))}else if(Ue&&[_n,bn].includes(vn)){const $n=createFocusOutPreventedEvent({focusReason:le.value});j("focusout-prevented",$n),$n.defaultPrevented||($e.preventDefault(),qe&&tryFocus(kn,!0))}}else if(vn===bn){const $n=createFocusOutPreventedEvent({focusReason:le.value});j("focusout-prevented",$n),$n.defaultPrevented||$e.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:oe,onKeydown:ue}),watch(()=>$.focusTrapEl,$e=>{$e&&(oe.value=$e)},{immediate:!0}),watch([oe],([$e],[Ne])=>{$e&&($e.addEventListener("keydown",ue),$e.addEventListener("focusin",_e),$e.addEventListener("focusout",xe)),Ne&&(Ne.removeEventListener("keydown",ue),Ne.removeEventListener("focusin",_e),Ne.removeEventListener("focusout",xe))});const pe=$e=>{j(ON_TRAP_FOCUS_EVT,$e)},he=$e=>j(ON_RELEASE_FOCUS_EVT,$e),_e=$e=>{const Ne=unref(oe);if(!Ne)return;const Ve=$e.target,Oe=$e.relatedTarget,Fe=Ve&&Ne.contains(Ve);$.trapped||Oe&&Ne.contains(Oe)||(ae=Oe),Fe&&j("focusin",$e),!de.paused&&$.trapped&&(Fe?ie=Ve:tryFocus(ie,!0))},xe=$e=>{const Ne=unref(oe);if(!(de.paused||!Ne))if($.trapped){const Ve=$e.relatedTarget;!isNil(Ve)&&!Ne.contains(Ve)&&setTimeout(()=>{if(!de.paused&&$.trapped){const Oe=createFocusOutPreventedEvent({focusReason:le.value});j("focusout-prevented",Oe),Oe.defaultPrevented||tryFocus(ie,!0)}},0)}else{const Ve=$e.target;Ve&&Ne.contains(Ve)||j("focusout",$e)}};async function Ce(){await nextTick();const $e=unref(oe);if($e){focusableStack.push(de);const Ne=$e.contains(document.activeElement)?ae:document.activeElement;if(ae=Ne,!$e.contains(Ne)){const Oe=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);$e.addEventListener(FOCUS_AFTER_TRAPPED,pe),$e.dispatchEvent(Oe),Oe.defaultPrevented||nextTick(()=>{let Fe=$.focusStartEl;isString$d(Fe)||(tryFocus(Fe),document.activeElement!==Fe&&(Fe="first")),Fe==="first"&&focusFirstDescendant(obtainAllFocusableElements($e),!0),(document.activeElement===Ne||Fe==="container")&&tryFocus($e)})}}}function Ie(){const $e=unref(oe);if($e){$e.removeEventListener(FOCUS_AFTER_TRAPPED,pe);const Ne=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:le.value}});$e.addEventListener(FOCUS_AFTER_RELEASED,he),$e.dispatchEvent(Ne),!Ne.defaultPrevented&&(le.value=="keyboard"||!isFocusCausedByUserEvent()||$e.contains(document.activeElement))&&tryFocus(ae??document.body),$e.removeEventListener(FOCUS_AFTER_RELEASED,pe),focusableStack.remove(de)}}return onMounted(()=>{$.trapped&&Ce(),watch(()=>$.trapped,$e=>{$e?Ce():Ie()})}),onBeforeUnmount(()=>{$.trapped&&Ie()}),{onKeydown:ue}}});function _sfc_render$v($,j,oe,ae,ie,le){return renderSlot($.$slots,"default",{handleKeydown:$.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$2d,[["render",_sfc_render$v],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const 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,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type: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},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),popperContentEmits={mouseenter:$=>$ instanceof MouseEvent,mouseleave:$=>$ instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=($,j=[])=>{const{placement:oe,strategy:ae,popperOptions:ie}=$,le={placement:oe,strategy:ae,...ie,modifiers:[...genModifiers($),...j]};return deriveExtraModifiers(le,ie==null?void 0:ie.modifiers),le},unwrapMeasurableEl=$=>{if(isClient)return unrefElement($)};function genModifiers($){const{offset:j,gpuAcceleration:oe,fallbackPlacements:ae}=$;return[{name:"offset",options:{offset:[0,j??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:ae}},{name:"computeStyles",options:{gpuAcceleration:oe}}]}function deriveExtraModifiers($,j){j&&($.modifiers=[...$.modifiers,...j??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=$=>{const{popperInstanceRef:j,contentRef:oe,triggerRef:ae,role:ie}=inject(POPPER_INJECTION_KEY,void 0),le=ref(),de=ref(),ue=computed(()=>({name:"eventListeners",enabled:!!$.visible})),pe=computed(()=>{var Oe;const Fe=unref(le),ze=(Oe=unref(de))!=null?Oe:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$d(Fe),options:{element:Fe,padding:ze}}}),he=computed(()=>({onFirstUpdate:()=>{$e()},...buildPopperOptions($,[unref(pe),unref(ue)])})),_e=computed(()=>unwrapMeasurableEl($.referenceEl)||unref(ae)),{attributes:xe,state:Ce,styles:Ie,update:$e,forceUpdate:Ne,instanceRef:Ve}=usePopper(_e,oe,he);return watch(Ve,Oe=>j.value=Oe),onMounted(()=>{watch(()=>{var Oe;return(Oe=unref(_e))==null?void 0:Oe.getBoundingClientRect()},()=>{$e()})}),{attributes:xe,arrowRef:le,contentRef:oe,instanceRef:Ve,state:Ce,styles:Ie,role:ie,forceUpdate:Ne,update:$e}},usePopperContentDOM=($,{attributes:j,styles:oe,role:ae})=>{const{nextZIndex:ie}=useZIndex(),le=useNamespace("popper"),de=computed(()=>unref(j).popper),ue=ref($.zIndex||ie()),pe=computed(()=>[le.b(),le.is("pure",$.pure),le.is($.effect),$.popperClass]),he=computed(()=>[{zIndex:unref(ue)},$.popperStyle||{},unref(oe).popper]),_e=computed(()=>ae.value==="dialog"?"false":void 0),xe=computed(()=>unref(oe).arrow||{});return{ariaModal:_e,arrowStyle:xe,contentAttrs:de,contentClass:pe,contentStyle:he,contentZIndex:ue,updateZIndex:()=>{ue.value=$.zIndex||ie()}}},usePopperContentFocusTrap=($,j)=>{const oe=ref(!1),ae=ref();return{focusStartRef:ae,trapped:oe,onFocusAfterReleased:he=>{var _e;((_e=he.detail)==null?void 0:_e.focusReason)!=="pointer"&&(ae.value="first",j("blur"))},onFocusAfterTrapped:()=>{j("focus")},onFocusInTrap:he=>{$.visible&&!oe.value&&(he.target&&(ae.value=he.target),oe.value=!0)},onFocusoutPrevented:he=>{$.trapping||(he.detail.focusReason==="pointer"&&he.preventDefault(),oe.value=!1)},onReleaseRequested:()=>{oe.value=!1,j("close")}}},__default__$1v=defineComponent({name:"ElPopperContent"}),_sfc_main$2c=defineComponent({...__default__$1v,props:popperContentProps,emits:popperContentEmits,setup($,{expose:j,emit:oe}){const ae=$,{focusStartRef:ie,trapped:le,onFocusAfterReleased:de,onFocusAfterTrapped:ue,onFocusInTrap:pe,onFocusoutPrevented:he,onReleaseRequested:_e}=usePopperContentFocusTrap(ae,oe),{attributes:xe,arrowRef:Ce,contentRef:Ie,styles:$e,instanceRef:Ne,role:Ve,update:Oe}=usePopperContent(ae),{ariaModal:Fe,arrowStyle:ze,contentAttrs:Ue,contentClass:qe,contentStyle:hn,updateZIndex:vn}=usePopperContentDOM(ae,{styles:$e,attributes:xe,role:Ve}),bn=inject(formItemContextKey,void 0),_n=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:ze,arrowRef:Ce,arrowOffset:_n}),bn&&(bn.addInputId||bn.removeInputId)&&provide(formItemContextKey,{...bn,addInputId:NOOP,removeInputId:NOOP});let kn;const xn=(Cn=!0)=>{Oe(),Cn&&vn()},$n=()=>{xn(!1),ae.visible&&ae.focusOnShow?le.value=!0:ae.visible===!1&&(le.value=!1)};return onMounted(()=>{watch(()=>ae.triggerTargetEl,(Cn,En)=>{kn==null||kn(),kn=void 0;const Nn=unref(Cn||Ie.value),Sn=unref(En||Ie.value);isElement$2(Nn)&&(kn=watch([Ve,()=>ae.ariaLabel,Fe,()=>ae.id],wn=>{["role","aria-label","aria-modal","id"].forEach((On,Tn)=>{isNil(wn[Tn])?Nn.removeAttribute(On):Nn.setAttribute(On,wn[Tn])})},{immediate:!0})),Sn!==Nn&&isElement$2(Sn)&&["role","aria-label","aria-modal","id"].forEach(wn=>{Sn.removeAttribute(wn)})},{immediate:!0}),watch(()=>ae.visible,$n,{immediate:!0})}),onBeforeUnmount(()=>{kn==null||kn(),kn=void 0}),j({popperContentRef:Ie,popperInstanceRef:Ne,updatePopper:xn,contentStyle:hn}),(Cn,En)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:Ie},unref(Ue),{style:unref(hn),class:unref(qe),tabindex:"-1",onMouseenter:En[0]||(En[0]=Nn=>Cn.$emit("mouseenter",Nn)),onMouseleave:En[1]||(En[1]=Nn=>Cn.$emit("mouseleave",Nn))}),[createVNode(unref(ElFocusTrap),{trapped:unref(le),"trap-on-focus-in":!0,"focus-trap-el":unref(Ie),"focus-start-el":unref(ie),onFocusAfterTrapped:unref(ue),onFocusAfterReleased:unref(de),onFocusin:unref(pe),onFocusoutPrevented:unref(he),onReleaseRequested:unref(_e)},{default:withCtx(()=>[renderSlot(Cn.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$2c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{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=($,j)=>isArray$x($)?$.includes(j):$===j,whenTrigger=($,j,oe)=>ae=>{isTriggerType(unref($),j)&&oe(ae)},__default__$1u=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$2b=defineComponent({...__default__$1u,props:useTooltipTriggerProps,setup($,{expose:j}){const oe=$,ae=useNamespace("tooltip"),{controlled:ie,id:le,open:de,onOpen:ue,onClose:pe,onToggle:he}=inject(TOOLTIP_INJECTION_KEY,void 0),_e=ref(null),xe=()=>{if(unref(ie)||oe.disabled)return!0},Ce=toRef(oe,"trigger"),Ie=composeEventHandlers(xe,whenTrigger(Ce,"hover",ue)),$e=composeEventHandlers(xe,whenTrigger(Ce,"hover",pe)),Ne=composeEventHandlers(xe,whenTrigger(Ce,"click",Ue=>{Ue.button===0&&he(Ue)})),Ve=composeEventHandlers(xe,whenTrigger(Ce,"focus",ue)),Oe=composeEventHandlers(xe,whenTrigger(Ce,"focus",pe)),Fe=composeEventHandlers(xe,whenTrigger(Ce,"contextmenu",Ue=>{Ue.preventDefault(),he(Ue)})),ze=composeEventHandlers(xe,Ue=>{const{code:qe}=Ue;oe.triggerKeys.includes(qe)&&(Ue.preventDefault(),he(Ue))});return j({triggerRef:_e}),(Ue,qe)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(le),"virtual-ref":Ue.virtualRef,open:unref(de),"virtual-triggering":Ue.virtualTriggering,class:normalizeClass(unref(ae).e("trigger")),onBlur:unref(Oe),onClick:unref(Ne),onContextmenu:unref(Fe),onFocus:unref(Ve),onMouseenter:unref(Ie),onMouseleave:unref($e),onKeydown:unref(ze)},{default:withCtx(()=>[renderSlot(Ue.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$2b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const __default__$1t=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$2a=defineComponent({...__default__$1t,props:useTooltipContentProps,setup($,{expose:j}){const oe=$,{selector:ae}=usePopperContainerId(),ie=useNamespace("tooltip"),le=ref(null),de=ref(!1),{controlled:ue,id:pe,open:he,trigger:_e,onClose:xe,onOpen:Ce,onShow:Ie,onHide:$e,onBeforeShow:Ne,onBeforeHide:Ve}=inject(TOOLTIP_INJECTION_KEY,void 0),Oe=computed(()=>oe.transition||`${ie.namespace.value}-fade-in-linear`),Fe=computed(()=>oe.persistent);onBeforeUnmount(()=>{de.value=!0});const ze=computed(()=>unref(Fe)?!0:unref(he)),Ue=computed(()=>oe.disabled?!1:unref(he)),qe=computed(()=>oe.appendTo||ae.value),hn=computed(()=>{var wn;return(wn=oe.style)!=null?wn:{}}),vn=computed(()=>!unref(he)),bn=()=>{$e()},_n=()=>{if(unref(ue))return!0},kn=composeEventHandlers(_n,()=>{oe.enterable&&unref(_e)==="hover"&&Ce()}),xn=composeEventHandlers(_n,()=>{unref(_e)==="hover"&&xe()}),$n=()=>{var wn,On;(On=(wn=le.value)==null?void 0:wn.updatePopper)==null||On.call(wn),Ne==null||Ne()},Cn=()=>{Ve==null||Ve()},En=()=>{Ie(),Sn=onClickOutside(computed(()=>{var wn;return(wn=le.value)==null?void 0:wn.popperContentRef}),()=>{if(unref(ue))return;unref(_e)!=="hover"&&xe()})},Nn=()=>{oe.virtualTriggering||xe()};let Sn;return watch(()=>unref(he),wn=>{wn||Sn==null||Sn()},{flush:"post"}),watch(()=>oe.content,()=>{var wn,On;(On=(wn=le.value)==null?void 0:wn.updatePopper)==null||On.call(wn)}),j({contentRef:le}),(wn,On)=>(openBlock(),createBlock(Teleport,{disabled:!wn.teleported,to:unref(qe)},[createVNode(Transition,{name:unref(Oe),onAfterLeave:bn,onBeforeEnter:$n,onAfterEnter:En,onBeforeLeave:Cn},{default:withCtx(()=>[unref(ze)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(pe),ref_key:"contentRef",ref:le},wn.$attrs,{"aria-label":wn.ariaLabel,"aria-hidden":unref(vn),"boundaries-padding":wn.boundariesPadding,"fallback-placements":wn.fallbackPlacements,"gpu-acceleration":wn.gpuAcceleration,offset:wn.offset,placement:wn.placement,"popper-options":wn.popperOptions,strategy:wn.strategy,effect:wn.effect,enterable:wn.enterable,pure:wn.pure,"popper-class":wn.popperClass,"popper-style":[wn.popperStyle,unref(hn)],"reference-el":wn.referenceEl,"trigger-target-el":wn.triggerTargetEl,visible:unref(Ue),"z-index":wn.zIndex,onMouseenter:unref(kn),onMouseleave:unref(xn),onBlur:Nn,onClose:unref(xe)}),{default:withCtx(()=>[de.value?createCommentVNode("v-if",!0):renderSlot(wn.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(Ue)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$2a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const _hoisted_1$16=["innerHTML"],_hoisted_2$I={key:1},__default__$1s=defineComponent({name:"ElTooltip"}),_sfc_main$29=defineComponent({...__default__$1s,props:useTooltipProps,emits:tooltipEmits,setup($,{expose:j,emit:oe}){const ae=$;usePopperContainer();const ie=useId(),le=ref(),de=ref(),ue=()=>{var Oe;const Fe=unref(le);Fe&&((Oe=Fe.popperInstanceRef)==null||Oe.update())},pe=ref(!1),he=ref(),{show:_e,hide:xe,hasUpdateHandler:Ce}=useTooltipModelToggle({indicator:pe,toggleReason:he}),{onOpen:Ie,onClose:$e}=useDelayedToggle({showAfter:toRef(ae,"showAfter"),hideAfter:toRef(ae,"hideAfter"),autoClose:toRef(ae,"autoClose"),open:_e,close:xe}),Ne=computed(()=>isBoolean$5(ae.visible)&&!Ce.value);provide(TOOLTIP_INJECTION_KEY,{controlled:Ne,id:ie,open:readonly(pe),trigger:toRef(ae,"trigger"),onOpen:Oe=>{Ie(Oe)},onClose:Oe=>{$e(Oe)},onToggle:Oe=>{unref(pe)?$e(Oe):Ie(Oe)},onShow:()=>{oe("show",he.value)},onHide:()=>{oe("hide",he.value)},onBeforeShow:()=>{oe("before-show",he.value)},onBeforeHide:()=>{oe("before-hide",he.value)},updatePopper:ue}),watch(()=>ae.disabled,Oe=>{Oe&&pe.value&&(pe.value=!1)});const Ve=()=>{var Oe,Fe;const ze=(Fe=(Oe=de.value)==null?void 0:Oe.contentRef)==null?void 0:Fe.popperContentRef;return ze&&ze.contains(document.activeElement)};return onDeactivated(()=>pe.value&&xe()),j({popperRef:le,contentRef:de,isFocusInsideContent:Ve,updatePopper:ue,onOpen:Ie,onClose:$e,hide:xe}),(Oe,Fe)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:le,role:Oe.role},{default:withCtx(()=>[createVNode(ElTooltipTrigger,{disabled:Oe.disabled,trigger:Oe.trigger,"trigger-keys":Oe.triggerKeys,"virtual-ref":Oe.virtualRef,"virtual-triggering":Oe.virtualTriggering},{default:withCtx(()=>[Oe.$slots.default?renderSlot(Oe.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode(ElTooltipContent,{ref_key:"contentRef",ref:de,"aria-label":Oe.ariaLabel,"boundaries-padding":Oe.boundariesPadding,content:Oe.content,disabled:Oe.disabled,effect:Oe.effect,enterable:Oe.enterable,"fallback-placements":Oe.fallbackPlacements,"hide-after":Oe.hideAfter,"gpu-acceleration":Oe.gpuAcceleration,offset:Oe.offset,persistent:Oe.persistent,"popper-class":Oe.popperClass,"popper-style":Oe.popperStyle,placement:Oe.placement,"popper-options":Oe.popperOptions,pure:Oe.pure,"raw-content":Oe.rawContent,"reference-el":Oe.referenceEl,"trigger-target-el":Oe.triggerTargetEl,"show-after":Oe.showAfter,strategy:Oe.strategy,teleported:Oe.teleported,transition:Oe.transition,"virtual-triggering":Oe.virtualTriggering,"z-index":Oe.zIndex,"append-to":Oe.appendTo},{default:withCtx(()=>[renderSlot(Oe.$slots,"content",{},()=>[Oe.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Oe.content},null,8,_hoisted_1$16)):(openBlock(),createElementBlock("span",_hoisted_2$I,toDisplayString$1(Oe.content),1))]),Oe.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":Oe.arrowOffset},null,8,["arrow-offset"])):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","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip$1=_export_sfc$1(_sfc_main$29,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ElTooltip=withInstall(Tooltip$1),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},label:{type:String},teleported:useTooltipContentProps.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String}),autocompleteEmits={[UPDATE_MODEL_EVENT]:$=>isString$d($),[INPUT_EVENT]:$=>isString$d($),[CHANGE_EVENT]:$=>isString$d($),focus:$=>$ instanceof FocusEvent,blur:$=>$ instanceof FocusEvent,clear:()=>!0,select:$=>isObject$8($)},_hoisted_1$15=["aria-expanded","aria-owns"],_hoisted_2$H={key:0},_hoisted_3$n=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1r=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$28=defineComponent({...__default__$1r,props:autocompleteProps,emits:autocompleteEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useAttrs(),le=useAttrs$1(),de=useFormDisabled(),ue=useNamespace("autocomplete"),pe=ref(),he=ref(),_e=ref(),xe=ref();let Ce=!1,Ie=!1;const $e=ref([]),Ne=ref(-1),Ve=ref(""),Oe=ref(!1),Fe=ref(!1),ze=ref(!1),Ue=computed(()=>ue.b(String(generateId()))),qe=computed(()=>le.style),hn=computed(()=>($e.value.length>0||ze.value)&&Oe.value),vn=computed(()=>!ae.hideLoading&&ze.value),bn=computed(()=>pe.value?Array.from(pe.value.$el.querySelectorAll("input")):[]),_n=async()=>{await nextTick(),hn.value&&(Ve.value=`${pe.value.$el.offsetWidth}px`)},kn=()=>{Ne.value=-1},$n=debounce$2(async Yn=>{if(Fe.value)return;const qn=Vn=>{ze.value=!1,!Fe.value&&(isArray$x(Vn)?($e.value=Vn,Ne.value=ae.highlightFirstItem?0:-1):throwError(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(ze.value=!0,isArray$x(ae.fetchSuggestions))qn(ae.fetchSuggestions);else{const Vn=await ae.fetchSuggestions(Yn,qn);isArray$x(Vn)&&qn(Vn)}},ae.debounce),Cn=Yn=>{const qn=!!Yn;if(oe(INPUT_EVENT,Yn),oe(UPDATE_MODEL_EVENT,Yn),Fe.value=!1,Oe.value||(Oe.value=qn),!ae.triggerOnFocus&&!Yn){Fe.value=!0,$e.value=[];return}$n(Yn)},En=Yn=>{var qn;de.value||(((qn=Yn.target)==null?void 0:qn.tagName)!=="INPUT"||bn.value.includes(document.activeElement))&&(Oe.value=!0)},Nn=Yn=>{oe(CHANGE_EVENT,Yn)},Sn=Yn=>{Ie?Ie=!1:(Oe.value=!0,oe("focus",Yn),ae.triggerOnFocus&&!Ce&&$n(String(ae.modelValue)))},wn=Yn=>{setTimeout(()=>{var qn;if((qn=_e.value)!=null&&qn.isFocusInsideContent()){Ie=!0;return}Oe.value&&Bn(),oe("blur",Yn)})},On=()=>{Oe.value=!1,oe(UPDATE_MODEL_EVENT,""),oe("clear")},Tn=async()=>{hn.value&&Ne.value>=0&&Ne.value<$e.value.length?Zn($e.value[Ne.value]):ae.selectWhenUnmatched&&(oe("select",{value:ae.modelValue}),$e.value=[],Ne.value=-1)},In=Yn=>{hn.value&&(Yn.preventDefault(),Yn.stopPropagation(),Bn())},Bn=()=>{Oe.value=!1},Dn=()=>{var Yn;(Yn=pe.value)==null||Yn.focus()},Xn=()=>{var Yn;(Yn=pe.value)==null||Yn.blur()},Zn=async Yn=>{oe(INPUT_EVENT,Yn[ae.valueKey]),oe(UPDATE_MODEL_EVENT,Yn[ae.valueKey]),oe("select",Yn),$e.value=[],Ne.value=-1},Fn=Yn=>{if(!hn.value||ze.value)return;if(Yn<0){Ne.value=-1;return}Yn>=$e.value.length&&(Yn=$e.value.length-1);const qn=he.value.querySelector(`.${ue.be("suggestion","wrap")}`),eo=qn.querySelectorAll(`.${ue.be("suggestion","list")} li`)[Yn],ho=qn.scrollTop,{offsetTop:So,scrollHeight:Ln}=eo;So+Ln>ho+qn.clientHeight&&(qn.scrollTop+=Ln),So{hn.value&&Bn()}),onMounted(()=>{pe.value.ref.setAttribute("role","textbox"),pe.value.ref.setAttribute("aria-autocomplete","list"),pe.value.ref.setAttribute("aria-controls","id"),pe.value.ref.setAttribute("aria-activedescendant",`${Ue.value}-item-${Ne.value}`),Ce=pe.value.ref.hasAttribute("readonly")}),j({highlightedIndex:Ne,activated:Oe,loading:ze,inputRef:pe,popperRef:_e,suggestions:$e,handleSelect:Zn,handleKeyEnter:Tn,focus:Dn,blur:Xn,close:Bn,highlight:Fn}),(Yn,qn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:_e,visible:unref(hn),placement:Yn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(ue).e("popper"),Yn.popperClass],teleported:Yn.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(ue).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:_n,onHide:kn},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:he,class:normalizeClass([unref(ue).b("suggestion"),unref(ue).is("loading",unref(vn))]),style:normalizeStyle({[Yn.fitInputWidth?"width":"minWidth"]:Ve.value,outline:"none"}),role:"region"},[createVNode(unref(ElScrollbar),{id:unref(Ue),tag:"ul","wrap-class":unref(ue).be("suggestion","wrap"),"view-class":unref(ue).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(vn)?(openBlock(),createElementBlock("li",_hoisted_2$H,[createVNode(unref(ElIcon),{class:normalizeClass(unref(ue).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList($e.value,(Vn,eo)=>(openBlock(),createElementBlock("li",{id:`${unref(Ue)}-item-${eo}`,key:eo,class:normalizeClass({highlighted:Ne.value===eo}),role:"option","aria-selected":Ne.value===eo,onClick:ho=>Zn(Vn)},[renderSlot(Yn.$slots,"default",{item:Vn},()=>[createTextVNode(toDisplayString$1(Vn[Yn.valueKey]),1)])],10,_hoisted_3$n))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:xe,class:normalizeClass([unref(ue).b(),Yn.$attrs.class]),style:normalizeStyle(unref(qe)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref(hn),"aria-owns":unref(Ue)},[createVNode(unref(ElInput),mergeProps({ref_key:"inputRef",ref:pe},unref(ie),{clearable:Yn.clearable,disabled:unref(de),name:Yn.name,"model-value":Yn.modelValue,onInput:Cn,onChange:Nn,onFocus:Sn,onBlur:wn,onClear:On,onKeydown:[qn[0]||(qn[0]=withKeys(withModifiers(Vn=>Fn(Ne.value-1),["prevent"]),["up"])),qn[1]||(qn[1]=withKeys(withModifiers(Vn=>Fn(Ne.value+1),["prevent"]),["down"])),withKeys(Tn,["enter"]),withKeys(Bn,["tab"]),withKeys(In,["esc"])],onMousedown:En}),createSlots({_:2},[Yn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(Yn.$slots,"prepend")])}:void 0,Yn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(Yn.$slots,"append")])}:void 0,Yn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Yn.$slots,"prefix")])}:void 0,Yn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Yn.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","onKeydown"])],14,_hoisted_1$15)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$1(_sfc_main$28,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:$=>isNumber$d($)},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:$=>$ instanceof Event},_hoisted_1$14=["src","alt","srcset"],__default__$1q=defineComponent({name:"ElAvatar"}),_sfc_main$27=defineComponent({...__default__$1q,props:avatarProps,emits:avatarEmits,setup($,{emit:j}){const oe=$,ae=useNamespace("avatar"),ie=ref(!1),le=computed(()=>{const{size:he,icon:_e,shape:xe}=oe,Ce=[ae.b()];return isString$d(he)&&Ce.push(ae.m(he)),_e&&Ce.push(ae.m("icon")),xe&&Ce.push(ae.m(xe)),Ce}),de=computed(()=>{const{size:he}=oe;return isNumber$d(he)?ae.cssVarBlock({size:addUnit(he)||""}):void 0}),ue=computed(()=>({objectFit:oe.fit}));watch(()=>oe.src,()=>ie.value=!1);function pe(he){ie.value=!0,j("error",he)}return(he,_e)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(le)),style:normalizeStyle(unref(de))},[(he.src||he.srcSet)&&!ie.value?(openBlock(),createElementBlock("img",{key:0,src:he.src,alt:he.alt,srcset:he.srcSet,style:normalizeStyle(unref(ue)),onError:pe},null,44,_hoisted_1$14)):he.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(he.icon)))]),_:1})):renderSlot(he.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$27,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/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:$=>$ instanceof MouseEvent},useBackTop=($,j,oe)=>{const ae=shallowRef(),ie=shallowRef(),le=ref(!1),de=()=>{ae.value&&(le.value=ae.value.scrollTop>=$.visibilityHeight)},ue=he=>{var _e;(_e=ae.value)==null||_e.scrollTo({top:0,behavior:"smooth"}),j("click",he)},pe=useThrottleFn(de,300,!0);return useEventListener(ie,"scroll",pe),onMounted(()=>{var he;ie.value=document,ae.value=document.documentElement,$.target&&(ae.value=(he=document.querySelector($.target))!=null?he:void 0,ae.value||throwError(oe,`target does not exist: ${$.target}`),ie.value=ae.value)}),{visible:le,handleClick:ue}},COMPONENT_NAME$h="ElBacktop",__default__$1p=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$26=defineComponent({...__default__$1p,props:backtopProps,emits:backtopEmits,setup($,{emit:j}){const oe=$,ae=useNamespace("backtop"),{handleClick:ie,visible:le}=useBackTop(oe,j,COMPONENT_NAME$h),de=computed(()=>({right:`${oe.right}px`,bottom:`${oe.bottom}px`}));return(ue,pe)=>(openBlock(),createBlock(Transition,{name:`${unref(ae).namespace.value}-fade-in`},{default:withCtx(()=>[unref(le)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle(unref(de)),class:normalizeClass(unref(ae).b()),onClick:pe[0]||(pe[0]=withModifiers((...he)=>unref(ie)&&unref(ie)(...he),["stop"]))},[renderSlot(ue.$slots,"default",{},()=>[createVNode(unref(ElIcon),{class:normalizeClass(unref(ae).e("icon"))},{default:withCtx(()=>[createVNode(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc$1(_sfc_main$26,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/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"}}),_hoisted_1$13=["textContent"],__default__$1o=defineComponent({name:"ElBadge"}),_sfc_main$25=defineComponent({...__default__$1o,props:badgeProps,setup($,{expose:j}){const oe=$,ae=useNamespace("badge"),ie=computed(()=>oe.isDot?"":isNumber$d(oe.value)&&isNumber$d(oe.max)?oe.max(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ae).b())},[renderSlot(le.$slots,"default"),createVNode(Transition,{name:`${unref(ae).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(ae).e("content"),unref(ae).em("content",le.type),unref(ae).is("fixed",!!le.$slots.default),unref(ae).is("dot",le.isDot)]),textContent:toDisplayString$1(unref(ie))},null,10,_hoisted_1$13),[[vShow,!le.hidden&&(unref(ie)||le.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$25,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),__default__$1n=defineComponent({name:"ElBreadcrumb"}),_sfc_main$24=defineComponent({...__default__$1n,props:breadcrumbProps,setup($){const j=$,oe=useNamespace("breadcrumb"),ae=ref();return provide(breadcrumbKey,j),onMounted(()=>{const ie=ae.value.querySelectorAll(`.${oe.e("item")}`);ie.length&&ie[ie.length-1].setAttribute("aria-current","page")}),(ie,le)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:ae,class:normalizeClass(unref(oe).b()),"aria-label":"Breadcrumb",role:"navigation"},[renderSlot(ie.$slots,"default")],2))}});var Breadcrumb=_export_sfc$1(_sfc_main$24,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:{type:Boolean,default:!1}}),__default__$1m=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$23=defineComponent({...__default__$1m,props:breadcrumbItemProps,setup($){const j=$,oe=getCurrentInstance(),ae=inject(breadcrumbKey,void 0),ie=useNamespace("breadcrumb"),{separator:le,separatorIcon:de}=toRefs(ae),ue=oe.appContext.config.globalProperties.$router,pe=ref(),he=()=>{!j.to||!ue||(j.replace?ue.replace(j.to):ue.push(j.to))};return(_e,xe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:pe,class:normalizeClass([unref(ie).e("inner"),unref(ie).is("link",!!_e.to)]),role:"link",onClick:he},[renderSlot(_e.$slots,"default")],2),unref(de)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(de))))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(ie).e("separator")),role:"presentation"},toDisplayString$1(unref(le)),3))],2))}});var BreadcrumbItem=_export_sfc$1(_sfc_main$23,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=($,j)=>{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(()=>$.type==="text"));const oe=inject(buttonGroupContextKey,void 0),ae=useGlobalConfig("button"),{form:ie}=useFormItem(),le=useFormSize(computed(()=>oe==null?void 0:oe.size)),de=useFormDisabled(),ue=ref(),pe=useSlots(),he=computed(()=>$.type||(oe==null?void 0:oe.type)||""),_e=computed(()=>{var Ie,$e,Ne;return(Ne=($e=$.autoInsertSpace)!=null?$e:(Ie=ae.value)==null?void 0:Ie.autoInsertSpace)!=null?Ne:!1}),xe=computed(()=>{var Ie;const $e=(Ie=pe.default)==null?void 0:Ie.call(pe);if(_e.value&&($e==null?void 0:$e.length)===1){const Ne=$e[0];if((Ne==null?void 0:Ne.type)===Text$2){const Ve=Ne.children;return/^\p{Unified_Ideograph}{2}$/u.test(Ve.trim())}}return!1});return{_disabled:de,_size:le,_type:he,_ref:ue,shouldAddSpace:xe,handleClick:Ie=>{$.nativeType==="reset"&&(ie==null||ie.resetFields()),j("click",Ie)}}},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}}),buttonEmits={click:$=>$ instanceof MouseEvent};function bound01$1($,j){isOnePointZero$1($)&&($="100%");var oe=isPercentage$1($);return $=j===360?$:Math.min(j,Math.max(0,parseFloat($))),oe&&($=parseInt(String($*j),10)/100),Math.abs($-j)<1e-6?1:(j===360?$=($<0?$%j+j:$%j)/parseFloat(String(j)):$=$%j/parseFloat(String(j)),$)}function clamp01($){return Math.min(1,Math.max(0,$))}function isOnePointZero$1($){return typeof $=="string"&&$.indexOf(".")!==-1&&parseFloat($)===1}function isPercentage$1($){return typeof $=="string"&&$.indexOf("%")!==-1}function boundAlpha($){return $=parseFloat($),(isNaN($)||$<0||$>1)&&($=1),$}function convertToPercentage($){return $<=1?"".concat(Number($)*100,"%"):$}function pad2($){return $.length===1?"0"+$:String($)}function rgbToRgb($,j,oe){return{r:bound01$1($,255)*255,g:bound01$1(j,255)*255,b:bound01$1(oe,255)*255}}function rgbToHsl($,j,oe){$=bound01$1($,255),j=bound01$1(j,255),oe=bound01$1(oe,255);var ae=Math.max($,j,oe),ie=Math.min($,j,oe),le=0,de=0,ue=(ae+ie)/2;if(ae===ie)de=0,le=0;else{var pe=ae-ie;switch(de=ue>.5?pe/(2-ae-ie):pe/(ae+ie),ae){case $:le=(j-oe)/pe+(j1&&(oe-=1),oe<1/6?$+(j-$)*(6*oe):oe<1/2?j:oe<2/3?$+(j-$)*(2/3-oe)*6:$}function hslToRgb($,j,oe){var ae,ie,le;if($=bound01$1($,360),j=bound01$1(j,100),oe=bound01$1(oe,100),j===0)ie=oe,le=oe,ae=oe;else{var de=oe<.5?oe*(1+j):oe+j-oe*j,ue=2*oe-de;ae=hue2rgb(ue,de,$+1/3),ie=hue2rgb(ue,de,$),le=hue2rgb(ue,de,$-1/3)}return{r:ae*255,g:ie*255,b:le*255}}function rgbToHsv($,j,oe){$=bound01$1($,255),j=bound01$1(j,255),oe=bound01$1(oe,255);var ae=Math.max($,j,oe),ie=Math.min($,j,oe),le=0,de=ae,ue=ae-ie,pe=ae===0?0:ue/ae;if(ae===ie)le=0;else{switch(ae){case $:le=(j-oe)/ue+(j>16,g:($&65280)>>8,b:$&255}}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($){var j={r:0,g:0,b:0},oe=1,ae=null,ie=null,le=null,de=!1,ue=!1;return typeof $=="string"&&($=stringInputToObject($)),typeof $=="object"&&(isValidCSSUnit($.r)&&isValidCSSUnit($.g)&&isValidCSSUnit($.b)?(j=rgbToRgb($.r,$.g,$.b),de=!0,ue=String($.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit($.h)&&isValidCSSUnit($.s)&&isValidCSSUnit($.v)?(ae=convertToPercentage($.s),ie=convertToPercentage($.v),j=hsvToRgb($.h,ae,ie),de=!0,ue="hsv"):isValidCSSUnit($.h)&&isValidCSSUnit($.s)&&isValidCSSUnit($.l)&&(ae=convertToPercentage($.s),le=convertToPercentage($.l),j=hslToRgb($.h,ae,le),de=!0,ue="hsl"),Object.prototype.hasOwnProperty.call($,"a")&&(oe=$.a)),oe=boundAlpha(oe),{ok:de,format:$.format||ue,r:Math.min(255,Math.max(j.r,0)),g:Math.min(255,Math.max(j.g,0)),b:Math.min(255,Math.max(j.b,0)),a:oe}}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($){if($=$.trim().toLowerCase(),$.length===0)return!1;var j=!1;if(names[$])$=names[$],j=!0;else if($==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var oe=matchers.rgb.exec($);return oe?{r:oe[1],g:oe[2],b:oe[3]}:(oe=matchers.rgba.exec($),oe?{r:oe[1],g:oe[2],b:oe[3],a:oe[4]}:(oe=matchers.hsl.exec($),oe?{h:oe[1],s:oe[2],l:oe[3]}:(oe=matchers.hsla.exec($),oe?{h:oe[1],s:oe[2],l:oe[3],a:oe[4]}:(oe=matchers.hsv.exec($),oe?{h:oe[1],s:oe[2],v:oe[3]}:(oe=matchers.hsva.exec($),oe?{h:oe[1],s:oe[2],v:oe[3],a:oe[4]}:(oe=matchers.hex8.exec($),oe?{r:parseIntFromHex(oe[1]),g:parseIntFromHex(oe[2]),b:parseIntFromHex(oe[3]),a:convertHexToDecimal(oe[4]),format:j?"name":"hex8"}:(oe=matchers.hex6.exec($),oe?{r:parseIntFromHex(oe[1]),g:parseIntFromHex(oe[2]),b:parseIntFromHex(oe[3]),format:j?"name":"hex"}:(oe=matchers.hex4.exec($),oe?{r:parseIntFromHex(oe[1]+oe[1]),g:parseIntFromHex(oe[2]+oe[2]),b:parseIntFromHex(oe[3]+oe[3]),a:convertHexToDecimal(oe[4]+oe[4]),format:j?"name":"hex8"}:(oe=matchers.hex3.exec($),oe?{r:parseIntFromHex(oe[1]+oe[1]),g:parseIntFromHex(oe[2]+oe[2]),b:parseIntFromHex(oe[3]+oe[3]),format:j?"name":"hex"}:!1)))))))))}function isValidCSSUnit($){return!!matchers.CSS_UNIT.exec(String($))}var TinyColor=function(){function $(j,oe){j===void 0&&(j=""),oe===void 0&&(oe={});var ae;if(j instanceof $)return j;typeof j=="number"&&(j=numberInputToObject(j)),this.originalInput=j;var ie=inputToRGB(j);this.originalInput=j,this.r=ie.r,this.g=ie.g,this.b=ie.b,this.a=ie.a,this.roundA=Math.round(100*this.a)/100,this.format=(ae=oe.format)!==null&&ae!==void 0?ae:ie.format,this.gradientType=oe.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=ie.ok}return $.prototype.isDark=function(){return this.getBrightness()<128},$.prototype.isLight=function(){return!this.isDark()},$.prototype.getBrightness=function(){var j=this.toRgb();return(j.r*299+j.g*587+j.b*114)/1e3},$.prototype.getLuminance=function(){var j=this.toRgb(),oe,ae,ie,le=j.r/255,de=j.g/255,ue=j.b/255;return le<=.03928?oe=le/12.92:oe=Math.pow((le+.055)/1.055,2.4),de<=.03928?ae=de/12.92:ae=Math.pow((de+.055)/1.055,2.4),ue<=.03928?ie=ue/12.92:ie=Math.pow((ue+.055)/1.055,2.4),.2126*oe+.7152*ae+.0722*ie},$.prototype.getAlpha=function(){return this.a},$.prototype.setAlpha=function(j){return this.a=boundAlpha(j),this.roundA=Math.round(100*this.a)/100,this},$.prototype.isMonochrome=function(){var j=this.toHsl().s;return j===0},$.prototype.toHsv=function(){var j=rgbToHsv(this.r,this.g,this.b);return{h:j.h*360,s:j.s,v:j.v,a:this.a}},$.prototype.toHsvString=function(){var j=rgbToHsv(this.r,this.g,this.b),oe=Math.round(j.h*360),ae=Math.round(j.s*100),ie=Math.round(j.v*100);return this.a===1?"hsv(".concat(oe,", ").concat(ae,"%, ").concat(ie,"%)"):"hsva(".concat(oe,", ").concat(ae,"%, ").concat(ie,"%, ").concat(this.roundA,")")},$.prototype.toHsl=function(){var j=rgbToHsl(this.r,this.g,this.b);return{h:j.h*360,s:j.s,l:j.l,a:this.a}},$.prototype.toHslString=function(){var j=rgbToHsl(this.r,this.g,this.b),oe=Math.round(j.h*360),ae=Math.round(j.s*100),ie=Math.round(j.l*100);return this.a===1?"hsl(".concat(oe,", ").concat(ae,"%, ").concat(ie,"%)"):"hsla(".concat(oe,", ").concat(ae,"%, ").concat(ie,"%, ").concat(this.roundA,")")},$.prototype.toHex=function(j){return j===void 0&&(j=!1),rgbToHex(this.r,this.g,this.b,j)},$.prototype.toHexString=function(j){return j===void 0&&(j=!1),"#"+this.toHex(j)},$.prototype.toHex8=function(j){return j===void 0&&(j=!1),rgbaToHex(this.r,this.g,this.b,this.a,j)},$.prototype.toHex8String=function(j){return j===void 0&&(j=!1),"#"+this.toHex8(j)},$.prototype.toHexShortString=function(j){return j===void 0&&(j=!1),this.a===1?this.toHexString(j):this.toHex8String(j)},$.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},$.prototype.toRgbString=function(){var j=Math.round(this.r),oe=Math.round(this.g),ae=Math.round(this.b);return this.a===1?"rgb(".concat(j,", ").concat(oe,", ").concat(ae,")"):"rgba(".concat(j,", ").concat(oe,", ").concat(ae,", ").concat(this.roundA,")")},$.prototype.toPercentageRgb=function(){var j=function(oe){return"".concat(Math.round(bound01$1(oe,255)*100),"%")};return{r:j(this.r),g:j(this.g),b:j(this.b),a:this.a}},$.prototype.toPercentageRgbString=function(){var j=function(oe){return Math.round(bound01$1(oe,255)*100)};return this.a===1?"rgb(".concat(j(this.r),"%, ").concat(j(this.g),"%, ").concat(j(this.b),"%)"):"rgba(".concat(j(this.r),"%, ").concat(j(this.g),"%, ").concat(j(this.b),"%, ").concat(this.roundA,")")},$.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var j="#"+rgbToHex(this.r,this.g,this.b,!1),oe=0,ae=Object.entries(names);oe=0,le=!oe&&ie&&(j.startsWith("hex")||j==="name");return le?j==="name"&&this.a===0?this.toName():this.toRgbString():(j==="rgb"&&(ae=this.toRgbString()),j==="prgb"&&(ae=this.toPercentageRgbString()),(j==="hex"||j==="hex6")&&(ae=this.toHexString()),j==="hex3"&&(ae=this.toHexString(!0)),j==="hex4"&&(ae=this.toHex8String(!0)),j==="hex8"&&(ae=this.toHex8String()),j==="name"&&(ae=this.toName()),j==="hsl"&&(ae=this.toHslString()),j==="hsv"&&(ae=this.toHsvString()),ae||this.toHexString())},$.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},$.prototype.clone=function(){return new $(this.toString())},$.prototype.lighten=function(j){j===void 0&&(j=10);var oe=this.toHsl();return oe.l+=j/100,oe.l=clamp01(oe.l),new $(oe)},$.prototype.brighten=function(j){j===void 0&&(j=10);var oe=this.toRgb();return oe.r=Math.max(0,Math.min(255,oe.r-Math.round(255*-(j/100)))),oe.g=Math.max(0,Math.min(255,oe.g-Math.round(255*-(j/100)))),oe.b=Math.max(0,Math.min(255,oe.b-Math.round(255*-(j/100)))),new $(oe)},$.prototype.darken=function(j){j===void 0&&(j=10);var oe=this.toHsl();return oe.l-=j/100,oe.l=clamp01(oe.l),new $(oe)},$.prototype.tint=function(j){return j===void 0&&(j=10),this.mix("white",j)},$.prototype.shade=function(j){return j===void 0&&(j=10),this.mix("black",j)},$.prototype.desaturate=function(j){j===void 0&&(j=10);var oe=this.toHsl();return oe.s-=j/100,oe.s=clamp01(oe.s),new $(oe)},$.prototype.saturate=function(j){j===void 0&&(j=10);var oe=this.toHsl();return oe.s+=j/100,oe.s=clamp01(oe.s),new $(oe)},$.prototype.greyscale=function(){return this.desaturate(100)},$.prototype.spin=function(j){var oe=this.toHsl(),ae=(oe.h+j)%360;return oe.h=ae<0?360+ae:ae,new $(oe)},$.prototype.mix=function(j,oe){oe===void 0&&(oe=50);var ae=this.toRgb(),ie=new $(j).toRgb(),le=oe/100,de={r:(ie.r-ae.r)*le+ae.r,g:(ie.g-ae.g)*le+ae.g,b:(ie.b-ae.b)*le+ae.b,a:(ie.a-ae.a)*le+ae.a};return new $(de)},$.prototype.analogous=function(j,oe){j===void 0&&(j=6),oe===void 0&&(oe=30);var ae=this.toHsl(),ie=360/oe,le=[this];for(ae.h=(ae.h-(ie*j>>1)+720)%360;--j;)ae.h=(ae.h+ie)%360,le.push(new $(ae));return le},$.prototype.complement=function(){var j=this.toHsl();return j.h=(j.h+180)%360,new $(j)},$.prototype.monochromatic=function(j){j===void 0&&(j=6);for(var oe=this.toHsv(),ae=oe.h,ie=oe.s,le=oe.v,de=[],ue=1/j;j--;)de.push(new $({h:ae,s:ie,v:le})),le=(le+ue)%1;return de},$.prototype.splitcomplement=function(){var j=this.toHsl(),oe=j.h;return[this,new $({h:(oe+72)%360,s:j.s,l:j.l}),new $({h:(oe+216)%360,s:j.s,l:j.l})]},$.prototype.onBackground=function(j){var oe=this.toRgb(),ae=new $(j).toRgb(),ie=oe.a+ae.a*(1-oe.a);return new $({r:(oe.r*oe.a+ae.r*ae.a*(1-oe.a))/ie,g:(oe.g*oe.a+ae.g*ae.a*(1-oe.a))/ie,b:(oe.b*oe.a+ae.b*ae.a*(1-oe.a))/ie,a:ie})},$.prototype.triad=function(){return this.polyad(3)},$.prototype.tetrad=function(){return this.polyad(4)},$.prototype.polyad=function(j){for(var oe=this.toHsl(),ae=oe.h,ie=[this],le=360/j,de=1;de{let ae={};const ie=$.color;if(ie){const le=new TinyColor(ie),de=$.dark?le.tint(20).toString():darken(le,20);if($.plain)ae=oe.cssVarBlock({"bg-color":$.dark?darken(le,90):le.tint(90).toString(),"text-color":ie,"border-color":$.dark?darken(le,50):le.tint(50).toString(),"hover-text-color":`var(${oe.cssVarName("color-white")})`,"hover-bg-color":ie,"hover-border-color":ie,"active-bg-color":de,"active-text-color":`var(${oe.cssVarName("color-white")})`,"active-border-color":de}),j.value&&(ae[oe.cssVarBlockName("disabled-bg-color")]=$.dark?darken(le,90):le.tint(90).toString(),ae[oe.cssVarBlockName("disabled-text-color")]=$.dark?darken(le,50):le.tint(50).toString(),ae[oe.cssVarBlockName("disabled-border-color")]=$.dark?darken(le,80):le.tint(80).toString());else{const ue=$.dark?darken(le,30):le.tint(30).toString(),pe=le.isDark()?`var(${oe.cssVarName("color-white")})`:`var(${oe.cssVarName("color-black")})`;if(ae=oe.cssVarBlock({"bg-color":ie,"text-color":pe,"border-color":ie,"hover-bg-color":ue,"hover-text-color":pe,"hover-border-color":ue,"active-bg-color":de,"active-border-color":de}),j.value){const he=$.dark?darken(le,50):le.tint(50).toString();ae[oe.cssVarBlockName("disabled-bg-color")]=he,ae[oe.cssVarBlockName("disabled-text-color")]=$.dark?"rgba(255, 255, 255, 0.5)":`var(${oe.cssVarName("color-white")})`,ae[oe.cssVarBlockName("disabled-border-color")]=he}}}return ae})}const _hoisted_1$12=["aria-disabled","disabled","autofocus","type"],__default__$1l=defineComponent({name:"ElButton"}),_sfc_main$22=defineComponent({...__default__$1l,props:buttonProps,emits:buttonEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useButtonCustomStyle(ae),le=useNamespace("button"),{_ref:de,_size:ue,_type:pe,_disabled:he,shouldAddSpace:_e,handleClick:xe}=useButton(ae,oe);return j({ref:de,size:ue,type:pe,disabled:he,shouldAddSpace:_e}),(Ce,Ie)=>(openBlock(),createElementBlock("button",{ref_key:"_ref",ref:de,class:normalizeClass([unref(le).b(),unref(le).m(unref(pe)),unref(le).m(unref(ue)),unref(le).is("disabled",unref(he)),unref(le).is("loading",Ce.loading),unref(le).is("plain",Ce.plain),unref(le).is("round",Ce.round),unref(le).is("circle",Ce.circle),unref(le).is("text",Ce.text),unref(le).is("link",Ce.link),unref(le).is("has-bg",Ce.bg)]),"aria-disabled":unref(he)||Ce.loading,disabled:unref(he)||Ce.loading,autofocus:Ce.autofocus,type:Ce.nativeType,style:normalizeStyle(unref(ie)),onClick:Ie[0]||(Ie[0]=(...$e)=>unref(xe)&&unref(xe)(...$e))},[Ce.loading?(openBlock(),createElementBlock(Fragment,{key:0},[Ce.$slots.loading?renderSlot(Ce.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(le).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.loadingIcon)))]),_:1},8,["class"]))],64)):Ce.icon||Ce.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[Ce.icon?(openBlock(),createBlock(resolveDynamicComponent(Ce.icon),{key:0})):renderSlot(Ce.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),Ce.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(le).em("text","expand")]:unref(_e)})},[renderSlot(Ce.$slots,"default")],2)):createCommentVNode("v-if",!0)],14,_hoisted_1$12))}});var Button$1=_export_sfc$1(_sfc_main$22,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1k=defineComponent({name:"ElButtonGroup"}),_sfc_main$21=defineComponent({...__default__$1k,props:buttonGroupProps,setup($){const j=$;provide(buttonGroupContextKey,reactive({size:toRef(j,"size"),type:toRef(j,"type")}));const oe=useNamespace("button");return(ae,ie)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(oe).b("group")}`)},[renderSlot(ae.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$21,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ElButton=withInstall(Button$1,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs($){return $&&$.__esModule&&Object.prototype.hasOwnProperty.call($,"default")?$.default:$}function getAugmentedNamespace($){if($.__esModule)return $;var j=$.default;if(typeof j=="function"){var oe=function ae(){if(this instanceof ae){var ie=[null];ie.push.apply(ie,arguments);var le=Function.bind.apply(j,ie);return new le}return j.apply(this,arguments)};oe.prototype=j.prototype}else oe={};return Object.defineProperty(oe,"__esModule",{value:!0}),Object.keys($).forEach(function(ae){var ie=Object.getOwnPropertyDescriptor($,ae);Object.defineProperty(oe,ae,ie.get?ie:{enumerable:!0,get:function(){return $[ae]}})}),oe}var dayjs_minExports={},dayjs_min={get exports(){return dayjs_minExports},set exports($){dayjs_minExports=$}};(function($,j){(function(oe,ae){$.exports=ae()})(commonjsGlobal,function(){var oe=1e3,ae=6e4,ie=36e5,le="millisecond",de="second",ue="minute",pe="hour",he="day",_e="week",xe="month",Ce="quarter",Ie="year",$e="date",Ne="Invalid Date",Ve=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Oe=/\[([^\]]+)]|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,Fe={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(Cn){var En=["th","st","nd","rd"],Nn=Cn%100;return"["+Cn+(En[(Nn-20)%10]||En[Nn]||En[0])+"]"}},ze=function(Cn,En,Nn){var Sn=String(Cn);return!Sn||Sn.length>=En?Cn:""+Array(En+1-Sn.length).join(Nn)+Cn},Ue={s:ze,z:function(Cn){var En=-Cn.utcOffset(),Nn=Math.abs(En),Sn=Math.floor(Nn/60),wn=Nn%60;return(En<=0?"+":"-")+ze(Sn,2,"0")+":"+ze(wn,2,"0")},m:function Cn(En,Nn){if(En.date()1)return Cn(Tn[0])}else{var In=En.name;hn[In]=En,wn=In}return!Sn&&wn&&(qe=wn),wn||!Sn&&qe},_n=function(Cn,En){if(vn(Cn))return Cn.clone();var Nn=typeof En=="object"?En:{};return Nn.date=Cn,Nn.args=arguments,new xn(Nn)},kn=Ue;kn.l=bn,kn.i=vn,kn.w=function(Cn,En){return _n(Cn,{locale:En.$L,utc:En.$u,x:En.$x,$offset:En.$offset})};var xn=function(){function Cn(Nn){this.$L=bn(Nn.locale,null,!0),this.parse(Nn)}var En=Cn.prototype;return En.parse=function(Nn){this.$d=function(Sn){var wn=Sn.date,On=Sn.utc;if(wn===null)return new Date(NaN);if(kn.u(wn))return new Date;if(wn instanceof Date)return new Date(wn);if(typeof wn=="string"&&!/Z$/i.test(wn)){var Tn=wn.match(Ve);if(Tn){var In=Tn[2]-1||0,Bn=(Tn[7]||"0").substring(0,3);return On?new Date(Date.UTC(Tn[1],In,Tn[3]||1,Tn[4]||0,Tn[5]||0,Tn[6]||0,Bn)):new Date(Tn[1],In,Tn[3]||1,Tn[4]||0,Tn[5]||0,Tn[6]||0,Bn)}}return new Date(wn)}(Nn),this.$x=Nn.x||{},this.init()},En.init=function(){var Nn=this.$d;this.$y=Nn.getFullYear(),this.$M=Nn.getMonth(),this.$D=Nn.getDate(),this.$W=Nn.getDay(),this.$H=Nn.getHours(),this.$m=Nn.getMinutes(),this.$s=Nn.getSeconds(),this.$ms=Nn.getMilliseconds()},En.$utils=function(){return kn},En.isValid=function(){return this.$d.toString()!==Ne},En.isSame=function(Nn,Sn){var wn=_n(Nn);return this.startOf(Sn)<=wn&&wn<=this.endOf(Sn)},En.isAfter=function(Nn,Sn){return _n(Nn)68?1900:2e3)},he=function(Ne){return function(Ve){this[Ne]=+Ve}},_e=[/[+-]\d\d:?(\d\d)?|Z/,function(Ne){(this.zone||(this.zone={})).offset=function(Ve){if(!Ve||Ve==="Z")return 0;var Oe=Ve.match(/([+-]|\d\d)/g),Fe=60*Oe[1]+(+Oe[2]||0);return Fe===0?0:Oe[0]==="+"?-Fe:Fe}(Ne)}],xe=function(Ne){var Ve=ue[Ne];return Ve&&(Ve.indexOf?Ve:Ve.s.concat(Ve.f))},Ce=function(Ne,Ve){var Oe,Fe=ue.meridiem;if(Fe){for(var ze=1;ze<=24;ze+=1)if(Ne.indexOf(Fe(ze,0,Ve))>-1){Oe=ze>12;break}}else Oe=Ne===(Ve?"pm":"PM");return Oe},Ie={A:[de,function(Ne){this.afternoon=Ce(Ne,!1)}],a:[de,function(Ne){this.afternoon=Ce(Ne,!0)}],S:[/\d/,function(Ne){this.milliseconds=100*+Ne}],SS:[ie,function(Ne){this.milliseconds=10*+Ne}],SSS:[/\d{3}/,function(Ne){this.milliseconds=+Ne}],s:[le,he("seconds")],ss:[le,he("seconds")],m:[le,he("minutes")],mm:[le,he("minutes")],H:[le,he("hours")],h:[le,he("hours")],HH:[le,he("hours")],hh:[le,he("hours")],D:[le,he("day")],DD:[ie,he("day")],Do:[de,function(Ne){var Ve=ue.ordinal,Oe=Ne.match(/\d+/);if(this.day=Oe[0],Ve)for(var Fe=1;Fe<=31;Fe+=1)Ve(Fe).replace(/\[|\]/g,"")===Ne&&(this.day=Fe)}],M:[le,he("month")],MM:[ie,he("month")],MMM:[de,function(Ne){var Ve=xe("months"),Oe=(xe("monthsShort")||Ve.map(function(Fe){return Fe.slice(0,3)})).indexOf(Ne)+1;if(Oe<1)throw new Error;this.month=Oe%12||Oe}],MMMM:[de,function(Ne){var Ve=xe("months").indexOf(Ne)+1;if(Ve<1)throw new Error;this.month=Ve%12||Ve}],Y:[/[+-]?\d+/,he("year")],YY:[ie,function(Ne){this.year=pe(Ne)}],YYYY:[/\d{4}/,he("year")],Z:_e,ZZ:_e};function $e(Ne){var Ve,Oe;Ve=Ne,Oe=ue&&ue.formats;for(var Fe=(Ne=Ve.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_n,kn,xn){var $n=xn&&xn.toUpperCase();return kn||Oe[xn]||oe[xn]||Oe[$n].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Cn,En,Nn){return En||Nn.slice(1)})})).match(ae),ze=Fe.length,Ue=0;Ue-1)return new Date((wn==="X"?1e3:1)*Sn);var Tn=$e(wn)(Sn),In=Tn.year,Bn=Tn.month,Dn=Tn.day,Xn=Tn.hours,Zn=Tn.minutes,Fn=Tn.seconds,Yn=Tn.milliseconds,qn=Tn.zone,Vn=new Date,eo=Dn||(In||Bn?1:Vn.getDate()),ho=In||Vn.getFullYear(),So=0;In&&!Bn||(So=Bn>0?Bn-1:Vn.getMonth());var Ln=Xn||0,Rn=Zn||0,Gn=Fn||0,no=Yn||0;return qn?new Date(Date.UTC(ho,So,eo,Ln,Rn,Gn,no+60*qn.offset*1e3)):On?new Date(Date.UTC(ho,So,eo,Ln,Rn,Gn,no)):new Date(ho,So,eo,Ln,Rn,Gn,no)}catch{return new Date("")}}(qe,bn,hn),this.init(),$n&&$n!==!0&&(this.$L=this.locale($n).$L),xn&&qe!=this.format(bn)&&(this.$d=new Date("")),ue={}}else if(bn instanceof Array)for(var Cn=bn.length,En=1;En<=Cn;En+=1){vn[1]=bn[En-1];var Nn=Oe.apply(this,vn);if(Nn.isValid()){this.$d=Nn.$d,this.$L=Nn.$L,this.init();break}En===Cn&&(this.$d=new Date(""))}else ze.call(this,Ue)}}})})(customParseFormat$1);const customParseFormat=customParseFormatExports,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",month:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},buildTimeList=($,j)=>[$>0?$-1:void 0,$,$Array.from(Array.from({length:$}).keys()),extractDateFormat=$=>$.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=$=>$.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function($,j){const oe=isDate$b($),ae=isDate$b(j);return oe&&ae?$.getTime()===j.getTime():!oe&&!ae?$===j:!1},valueEquals=function($,j){const oe=isArray$x($),ae=isArray$x(j);return oe&&ae?$.length!==j.length?!1:$.every((ie,le)=>dateEquals(ie,j[le])):!oe&&!ae?dateEquals($,j):!1},parseDate$1=function($,j,oe){const ae=isEmpty$3(j)||j==="x"?dayjs($).locale(oe):dayjs($,j).locale(oe);return ae.isValid()?ae:void 0},formatter=function($,j,oe){return isEmpty$3(j)?$:j==="x"?+$:dayjs($).locale(oe).format(j)},makeList=($,j)=>{var oe;const ae=[],ie=j==null?void 0:j();for(let le=0;le<$;le++)ae.push((oe=ie==null?void 0:ie.includes(le))!=null?oe:!1);return ae},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]),default:""},popperClass:{type:String,default:""},format:String,valueFormat: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:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},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:{type:Boolean,default:!1},...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean}),_hoisted_1$11=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$G=["id","name","placeholder","value","disabled","readonly"],__default__$1j=defineComponent({name:"Picker"}),_sfc_main$20=defineComponent({...__default__$1j,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup($,{expose:j,emit:oe}){const ae=$,{lang:ie}=useLocale(),le=useNamespace("date"),de=useNamespace("input"),ue=useNamespace("range"),{form:pe,formItem:he}=useFormItem(),_e=inject("ElPopperOptions",{}),xe=ref(),Ce=ref(),Ie=ref(!1),$e=ref(!1),Ne=ref(null);let Ve=!1,Oe=!1;watch(Ie,Jn=>{Jn?nextTick(()=>{Jn&&(Ne.value=ae.modelValue)}):(Wn.value=null,nextTick(()=>{Fe(ae.modelValue)}))});const Fe=(Jn,co)=>{(co||!valueEquals(Jn,Ne.value))&&(oe("change",Jn),ae.validateEvent&&(he==null||he.validate("change").catch($o=>void 0)))},ze=Jn=>{if(!valueEquals(ae.modelValue,Jn)){let co;isArray$x(Jn)?co=Jn.map($o=>formatter($o,ae.valueFormat,ie.value)):Jn&&(co=formatter(Jn,ae.valueFormat,ie.value)),oe("update:modelValue",Jn&&co,ie.value)}},Ue=Jn=>{oe("keydown",Jn)},qe=computed(()=>{if(Ce.value){const Jn=Rn.value?Ce.value:Ce.value.$el;return Array.from(Jn.querySelectorAll("input"))}return[]}),hn=(Jn,co,$o)=>{const No=qe.value;No.length&&(!$o||$o==="min"?(No[0].setSelectionRange(Jn,co),No[0].focus()):$o==="max"&&(No[1].setSelectionRange(Jn,co),No[1].focus()))},vn=()=>{Nn(!0,!0),nextTick(()=>{Oe=!1})},bn=(Jn="",co=!1)=>{co||(Oe=!0),Ie.value=co;let $o;isArray$x(Jn)?$o=Jn.map(No=>No.toDate()):$o=Jn&&Jn.toDate(),Wn.value=null,ze($o)},_n=()=>{$e.value=!0},kn=()=>{oe("visible-change",!0)},xn=Jn=>{(Jn==null?void 0:Jn.key)===EVENT_CODE.esc&&Nn(!0,!0)},$n=()=>{$e.value=!1,Ie.value=!1,Oe=!1,oe("visible-change",!1)},Cn=()=>{Ie.value=!0},En=()=>{Ie.value=!1},Nn=(Jn=!0,co=!1)=>{Oe=co;const[$o,No]=unref(qe);let jo=$o;!Jn&&Rn.value&&(jo=No),jo&&jo.focus()},Sn=Jn=>{ae.readonly||Tn.value||Ie.value||Oe||(Ie.value=!0,oe("focus",Jn))};let wn;const On=Jn=>{const co=async()=>{setTimeout(()=>{var $o;wn===co&&(!(($o=xe.value)!=null&&$o.isFocusInsideContent()&&!Ve)&&qe.value.filter(No=>No.contains(document.activeElement)).length===0&&(lo(),Ie.value=!1,oe("blur",Jn),ae.validateEvent&&(he==null||he.validate("blur").catch(No=>void 0))),Ve=!1)},0)};wn=co,co()},Tn=computed(()=>ae.disabled||(pe==null?void 0:pe.disabled)),In=computed(()=>{let Jn;if(Vn.value?To.value.getDefaultValue&&(Jn=To.value.getDefaultValue()):isArray$x(ae.modelValue)?Jn=ae.modelValue.map(co=>parseDate$1(co,ae.valueFormat,ie.value)):Jn=parseDate$1(ae.modelValue,ae.valueFormat,ie.value),To.value.getRangeAvailableTime){const co=To.value.getRangeAvailableTime(Jn);isEqual$4(co,Jn)||(Jn=co,ze(isArray$x(Jn)?Jn.map($o=>$o.toDate()):Jn.toDate()))}return isArray$x(Jn)&&Jn.some(co=>!co)&&(Jn=[]),Jn}),Bn=computed(()=>{if(!To.value.panelReady)return"";const Jn=ro(In.value);return isArray$x(Wn.value)?[Wn.value[0]||Jn&&Jn[0]||"",Wn.value[1]||Jn&&Jn[1]||""]:Wn.value!==null?Wn.value:!Xn.value&&Vn.value||!Ie.value&&Vn.value?"":Jn?Zn.value?Jn.join(", "):Jn:""}),Dn=computed(()=>ae.type.includes("time")),Xn=computed(()=>ae.type.startsWith("time")),Zn=computed(()=>ae.type==="dates"),Fn=computed(()=>ae.prefixIcon||(Dn.value?clock_default:calendar_default)),Yn=ref(!1),qn=Jn=>{ae.readonly||Tn.value||Yn.value&&(Jn.stopPropagation(),vn(),ze(null),Fe(null,!0),Yn.value=!1,Ie.value=!1,To.value.handleClear&&To.value.handleClear())},Vn=computed(()=>{const{modelValue:Jn}=ae;return!Jn||isArray$x(Jn)&&!Jn.filter(Boolean).length}),eo=async Jn=>{var co;ae.readonly||Tn.value||(((co=Jn.target)==null?void 0:co.tagName)!=="INPUT"||qe.value.includes(document.activeElement))&&(Ie.value=!0)},ho=()=>{ae.readonly||Tn.value||!Vn.value&&ae.clearable&&(Yn.value=!0)},So=()=>{Yn.value=!1},Ln=Jn=>{var co;ae.readonly||Tn.value||(((co=Jn.touches[0].target)==null?void 0:co.tagName)!=="INPUT"||qe.value.includes(document.activeElement))&&(Ie.value=!0)},Rn=computed(()=>ae.type.includes("range")),Gn=useFormSize(),no=computed(()=>{var Jn,co;return(co=(Jn=unref(xe))==null?void 0:Jn.popperRef)==null?void 0:co.contentRef}),bo=computed(()=>{var Jn;return unref(Rn)?unref(Ce):(Jn=unref(Ce))==null?void 0:Jn.$el});onClickOutside(bo,Jn=>{const co=unref(no),$o=unref(bo);co&&(Jn.target===co||Jn.composedPath().includes(co))||Jn.target===$o||Jn.composedPath().includes($o)||(Ie.value=!1)});const Wn=ref(null),lo=()=>{if(Wn.value){const Jn=Qn(Bn.value);Jn&&Hn(Jn)&&(ze(isArray$x(Jn)?Jn.map(co=>co.toDate()):Jn.toDate()),Wn.value=null)}Wn.value===""&&(ze(null),Fe(null),Wn.value=null)},Qn=Jn=>Jn?To.value.parseUserInput(Jn):null,ro=Jn=>Jn?To.value.formatToString(Jn):null,Hn=Jn=>To.value.isValidValue(Jn),uo=async Jn=>{if(ae.readonly||Tn.value)return;const{code:co}=Jn;if(Ue(Jn),co===EVENT_CODE.esc){Ie.value===!0&&(Ie.value=!1,Jn.preventDefault(),Jn.stopPropagation());return}if(co===EVENT_CODE.down&&(To.value.handleFocusPicker&&(Jn.preventDefault(),Jn.stopPropagation()),Ie.value===!1&&(Ie.value=!0,await nextTick()),To.value.handleFocusPicker)){To.value.handleFocusPicker();return}if(co===EVENT_CODE.tab){Ve=!0;return}if(co===EVENT_CODE.enter||co===EVENT_CODE.numpadEnter){(Wn.value===null||Wn.value===""||Hn(Qn(Bn.value)))&&(lo(),Ie.value=!1),Jn.stopPropagation();return}if(Wn.value){Jn.stopPropagation();return}To.value.handleKeydownInput&&To.value.handleKeydownInput(Jn)},so=Jn=>{Wn.value=Jn,Ie.value||(Ie.value=!0)},yo=Jn=>{const co=Jn.target;Wn.value?Wn.value=[co.value,Wn.value[1]]:Wn.value=[co.value,null]},to=Jn=>{const co=Jn.target;Wn.value?Wn.value=[Wn.value[0],co.value]:Wn.value=[null,co.value]},go=()=>{var Jn;const co=Wn.value,$o=Qn(co&&co[0]),No=unref(In);if($o&&$o.isValid()){Wn.value=[ro($o),((Jn=Bn.value)==null?void 0:Jn[1])||null];const jo=[$o,No&&(No[1]||null)];Hn(jo)&&(ze(jo),Wn.value=null)}},_o=()=>{var Jn;const co=unref(Wn),$o=Qn(co&&co[1]),No=unref(In);if($o&&$o.isValid()){Wn.value=[((Jn=unref(Bn))==null?void 0:Jn[0])||null,ro($o)];const jo=[No&&No[0],$o];Hn(jo)&&(ze(jo),Wn.value=null)}},To=ref({}),Un=Jn=>{To.value[Jn[0]]=Jn[1],To.value.panelReady=!0},fo=Jn=>{oe("calendar-change",Jn)},vo=(Jn,co,$o)=>{oe("panel-change",Jn,co,$o)};return provide("EP_PICKER_BASE",{props:ae}),j({focus:Nn,handleFocusInput:Sn,handleBlurInput:On,handleOpen:Cn,handleClose:En,onPick:bn}),(Jn,co)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:xe,visible:Ie.value,effect:"light",pure:"",trigger:"click"},Jn.$attrs,{role:"dialog",teleported:"",transition:`${unref(le).namespace.value}-zoom-in-top`,"popper-class":[`${unref(le).namespace.value}-picker__popper`,Jn.popperClass],"popper-options":unref(_e),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:_n,onShow:kn,onHide:$n}),{default:withCtx(()=>[unref(Rn)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:Ce,class:normalizeClass([unref(le).b("editor"),unref(le).bm("editor",Jn.type),unref(de).e("wrapper"),unref(le).is("disabled",unref(Tn)),unref(le).is("active",Ie.value),unref(ue).b("editor"),unref(Gn)?unref(ue).bm("editor",unref(Gn)):"",Jn.$attrs.class]),style:normalizeStyle(Jn.$attrs.style),onClick:Sn,onMouseenter:ho,onMouseleave:So,onTouchstart:Ln,onKeydown:uo},[unref(Fn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(de).e("icon"),unref(ue).e("icon")]),onMousedown:withModifiers(eo,["prevent"]),onTouchstart:Ln},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fn))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:Jn.id&&Jn.id[0],autocomplete:"off",name:Jn.name&&Jn.name[0],placeholder:Jn.startPlaceholder,value:unref(Bn)&&unref(Bn)[0],disabled:unref(Tn),readonly:!Jn.editable||Jn.readonly,class:normalizeClass(unref(ue).b("input")),onMousedown:eo,onInput:yo,onChange:go,onFocus:Sn,onBlur:On},null,42,_hoisted_1$11),renderSlot(Jn.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(ue).b("separator"))},toDisplayString$1(Jn.rangeSeparator),3)]),createBaseVNode("input",{id:Jn.id&&Jn.id[1],autocomplete:"off",name:Jn.name&&Jn.name[1],placeholder:Jn.endPlaceholder,value:unref(Bn)&&unref(Bn)[1],disabled:unref(Tn),readonly:!Jn.editable||Jn.readonly,class:normalizeClass(unref(ue).b("input")),onMousedown:eo,onFocus:Sn,onBlur:On,onInput:to,onChange:_o},null,42,_hoisted_2$G),Jn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(de).e("icon"),unref(ue).e("close-icon"),{[unref(ue).e("close-icon--hidden")]:!Yn.value}]),onClick:qn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Jn.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:Jn.id,ref_key:"inputRef",ref:Ce,"container-role":"combobox","model-value":unref(Bn),name:Jn.name,size:unref(Gn),disabled:unref(Tn),placeholder:Jn.placeholder,class:normalizeClass([unref(le).b("editor"),unref(le).bm("editor",Jn.type),Jn.$attrs.class]),style:normalizeStyle(Jn.$attrs.style),readonly:!Jn.editable||Jn.readonly||unref(Zn)||Jn.type==="week",label:Jn.label,tabindex:Jn.tabindex,"validate-event":!1,onInput:so,onFocus:Sn,onBlur:On,onKeydown:uo,onChange:lo,onMousedown:eo,onMouseenter:ho,onMouseleave:So,onTouchstart:Ln,onClick:co[0]||(co[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(Fn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(de).e("icon")),onMousedown:withModifiers(eo,["prevent"]),onTouchstart:Ln},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fn))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[Yn.value&&Jn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(de).e("icon")} clear-icon`),onClick:withModifiers(qn,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Jn.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onKeydown"]))]),content:withCtx(()=>[renderSlot(Jn.$slots,"default",{visible:Ie.value,actualVisible:$e.value,parsedValue:unref(In),format:Jn.format,unlinkPanels:Jn.unlinkPanels,type:Jn.type,defaultValue:Jn.defaultValue,onPick:bn,onSelectRange:hn,onSetPickerOption:Un,onCalendarChange:fo,onPanelChange:vo,onKeydown:xn,onMousedown:co[1]||(co[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$1(_sfc_main$20,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:$,getAvailableMinutes:j,getAvailableSeconds:oe})=>{const ae=(de,ue,pe,he)=>{const _e={hour:$,minute:j,second:oe};let xe=de;return["hour","minute","second"].forEach(Ce=>{if(_e[Ce]){let Ie;const $e=_e[Ce];switch(Ce){case"minute":{Ie=$e(xe.hour(),ue,he);break}case"second":{Ie=$e(xe.hour(),xe.minute(),ue,he);break}default:{Ie=$e(ue,he);break}}if(Ie!=null&&Ie.length&&!Ie.includes(xe[Ce]())){const Ne=pe?0:Ie.length-1;xe=xe[Ce](Ie[Ne])}}}),xe},ie={};return{timePickerOptions:ie,getAvailableTime:ae,onSetOption:([de,ue])=>{ie[de]=ue}}},makeAvailableArr=$=>{const j=(ae,ie)=>ae||ie,oe=ae=>ae!==!0;return $.map(j).filter(oe)},getTimeLists=($,j,oe)=>({getHoursList:(de,ue)=>makeList(24,$&&(()=>$==null?void 0:$(de,ue))),getMinutesList:(de,ue,pe)=>makeList(60,j&&(()=>j==null?void 0:j(de,ue,pe))),getSecondsList:(de,ue,pe,he)=>makeList(60,oe&&(()=>oe==null?void 0:oe(de,ue,pe,he)))}),buildAvailableTimeSlotGetter=($,j,oe)=>{const{getHoursList:ae,getMinutesList:ie,getSecondsList:le}=getTimeLists($,j,oe);return{getAvailableHours:(he,_e)=>makeAvailableArr(ae(he,_e)),getAvailableMinutes:(he,_e,xe)=>makeAvailableArr(ie(he,_e,xe)),getAvailableSeconds:(he,_e,xe,Ce)=>makeAvailableArr(le(he,_e,xe,Ce))}},useOldValue=$=>{const j=ref($.parsedValue);return watch(()=>$.visible,oe=>{oe||(j.value=$.parsedValue)}),j},nodeList=new Map;let startClick;isClient&&(document.addEventListener("mousedown",$=>startClick=$),document.addEventListener("mouseup",$=>{for(const j of nodeList.values())for(const{documentHandler:oe}of j)oe($,startClick)}));function createDocumentHandler($,j){let oe=[];return Array.isArray(j.arg)?oe=j.arg:isElement$2(j.arg)&&oe.push(j.arg),function(ae,ie){const le=j.instance.popperRef,de=ae.target,ue=ie==null?void 0:ie.target,pe=!j||!j.instance,he=!de||!ue,_e=$.contains(de)||$.contains(ue),xe=$===de,Ce=oe.length&&oe.some($e=>$e==null?void 0:$e.contains(de))||oe.length&&oe.includes(ue),Ie=le&&(le.contains(de)||le.contains(ue));pe||he||_e||xe||Ce||Ie||j.value(ae,ie)}}const ClickOutside={beforeMount($,j){nodeList.has($)||nodeList.set($,[]),nodeList.get($).push({documentHandler:createDocumentHandler($,j),bindingFn:j.value})},updated($,j){nodeList.has($)||nodeList.set($,[]);const oe=nodeList.get($),ae=oe.findIndex(le=>le.bindingFn===j.oldValue),ie={documentHandler:createDocumentHandler($,j),bindingFn:j.value};ae>=0?oe.splice(ae,1,ie):oe.push(ie)},unmounted($){nodeList.delete($)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount($,j){const oe=j.value,{interval:ae=REPEAT_INTERVAL,delay:ie=REPEAT_DELAY}=isFunction$h(oe)?{}:oe;let le,de;const ue=()=>isFunction$h(oe)?oe():oe.handler(),pe=()=>{de&&(clearTimeout(de),de=void 0),le&&(clearInterval(le),le=void 0)};$.addEventListener("mousedown",he=>{he.button===0&&(pe(),ue(),document.addEventListener("mouseup",()=>pe(),{once:!0}),de=setTimeout(()=>{le=setInterval(()=>{ue()},ae)},ie))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=$=>{if(FOCUS_STACK.length===0)return;const j=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(j.length>0&&$.code===EVENT_CODE.tab){if(j.length===1){$.preventDefault(),document.activeElement!==j[0]&&j[0].focus();return}const oe=$.shiftKey,ae=$.target===j[0],ie=$.target===j[j.length-1];ae&&oe&&($.preventDefault(),j[j.length-1].focus()),ie&&!oe&&($.preventDefault(),j[0].focus())}},TrapFocus={beforeMount($){$[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1($),FOCUS_STACK.push($),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated($){nextTick(()=>{$[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1($)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v$1=!1,o,f,s,u,d,N,l,p,m,w,D,x,E,M,F;function a$1(){if(!v$1){v$1=!0;var $=navigator.userAgent,j=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec($),oe=/(Mac OS X)|(Windows)|(Linux)/.exec($);if(x=/\b(iPhone|iP[ao]d)/.exec($),E=/\b(iP[ao]d)/.exec($),w=/Android/i.exec($),M=/FBAN\/\w+;/i.exec($),F=/Mobile/i.exec($),D=!!/Win64/.exec($),j){o=j[1]?parseFloat(j[1]):j[5]?parseFloat(j[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var ae=/(?:Trident\/(\d+.\d+))/.exec($);N=ae?parseFloat(ae[1])+4:o,f=j[2]?parseFloat(j[2]):NaN,s=j[3]?parseFloat(j[3]):NaN,u=j[4]?parseFloat(j[4]):NaN,u?(j=/(?:Chrome\/(\d+\.\d+))/.exec($),d=j&&j[1]?parseFloat(j[1]):NaN):d=NaN}else o=f=s=d=u=NaN;if(oe){if(oe[1]){var ie=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec($);l=ie?parseFloat(ie[1].replace("_",".")):!0}else l=!1;p=!!oe[2],m=!!oe[3]}else l=p=m=!1}}var _={ie:function(){return a$1()||o},ieCompatibilityMode:function(){return a$1()||N>o},ie64:function(){return _.ie()&&D},firefox:function(){return a$1()||f},opera:function(){return a$1()||s},webkit:function(){return a$1()||u},safari:function(){return _.webkit()},chrome:function(){return a$1()||d},windows:function(){return a$1()||p},osx:function(){return a$1()||l},linux:function(){return a$1()||m},iphone:function(){return a$1()||x},mobile:function(){return a$1()||x||E||w||F},nativeApp:function(){return a$1()||M},android:function(){return a$1()||w},ipad:function(){return a$1()||E}},A=_,c=!!(typeof window<"u"&&window.document&&window.document.createElement),U={canUseDOM:c,canUseWorkers:typeof Worker<"u",canUseEventListeners:c&&!!(window.addEventListener||window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c},h=U,X;h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S($,j){if(!h.canUseDOM||j&&!("addEventListener"in document))return!1;var oe="on"+$,ae=oe in document;if(!ae){var ie=document.createElement("div");ie.setAttribute(oe,"return;"),ae=typeof ie[oe]=="function"}return!ae&&X&&$==="wheel"&&(ae=document.implementation.hasFeature("Events.wheel","3.0")),ae}var b=S,O=10,I=40,P=800;function T($){var j=0,oe=0,ae=0,ie=0;return"detail"in $&&(oe=$.detail),"wheelDelta"in $&&(oe=-$.wheelDelta/120),"wheelDeltaY"in $&&(oe=-$.wheelDeltaY/120),"wheelDeltaX"in $&&(j=-$.wheelDeltaX/120),"axis"in $&&$.axis===$.HORIZONTAL_AXIS&&(j=oe,oe=0),ae=j*O,ie=oe*O,"deltaY"in $&&(ie=$.deltaY),"deltaX"in $&&(ae=$.deltaX),(ae||ie)&&$.deltaMode&&($.deltaMode==1?(ae*=I,ie*=I):(ae*=P,ie*=P)),ae&&!j&&(j=ae<1?-1:1),ie&&!oe&&(oe=ie<1?-1:1),{spinX:j,spinY:oe,pixelX:ae,pixelY:ie}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b("wheel")?"wheel":"mousewheel"};var Y=T;/** +* Checks if an event is supported in the current execution environment. +* +* NOTE: This will not work correctly for non-generic events such as `change`, +* `reset`, `load`, `error`, and `select`. +* +* Borrows from Modernizr. +* +* @param {string} eventNameSuffix Event name, e.g. "click". +* @param {?boolean} capture Check if the capture phase is supported. +* @return {boolean} True if the event is supported. +* @internal +* @license Modernizr 3.0.0pre (Custom Build) | MIT +*/const mousewheel=function($,j){if($&&$.addEventListener){const oe=function(ae){const ie=Y(ae);j&&Reflect.apply(j,this,[ae,ie])};$.addEventListener("wheel",oe,{passive:!0})}},Mousewheel={beforeMount($,j){mousewheel($,j.value)}},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}),_hoisted_1$10=["onClick"],_hoisted_2$F=["onMouseenter"],_sfc_main$1$=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup($,{emit:j}){const oe=$,ae=useNamespace("time"),{getHoursList:ie,getMinutesList:le,getSecondsList:de}=getTimeLists(oe.disabledHours,oe.disabledMinutes,oe.disabledSeconds);let ue=!1;const pe=ref(),he=ref(),_e=ref(),xe=ref(),Ce={hours:he,minutes:_e,seconds:xe},Ie=computed(()=>oe.showSeconds?timeUnits$1:timeUnits$1.slice(0,2)),$e=computed(()=>{const{spinnerDate:Tn}=oe,In=Tn.hour(),Bn=Tn.minute(),Dn=Tn.second();return{hours:In,minutes:Bn,seconds:Dn}}),Ne=computed(()=>{const{hours:Tn,minutes:In}=unref($e);return{hours:ie(oe.role),minutes:le(Tn,oe.role),seconds:de(Tn,In,oe.role)}}),Ve=computed(()=>{const{hours:Tn,minutes:In,seconds:Bn}=unref($e);return{hours:buildTimeList(Tn,23),minutes:buildTimeList(In,59),seconds:buildTimeList(Bn,59)}}),Oe=debounce$2(Tn=>{ue=!1,Ue(Tn)},200),Fe=Tn=>{if(!!!oe.amPmMode)return"";const Bn=oe.amPmMode==="A";let Dn=Tn<12?" am":" pm";return Bn&&(Dn=Dn.toUpperCase()),Dn},ze=Tn=>{let In;switch(Tn){case"hours":In=[0,2];break;case"minutes":In=[3,5];break;case"seconds":In=[6,8];break}const[Bn,Dn]=In;j("select-range",Bn,Dn),pe.value=Tn},Ue=Tn=>{vn(Tn,unref($e)[Tn])},qe=()=>{Ue("hours"),Ue("minutes"),Ue("seconds")},hn=Tn=>Tn.querySelector(`.${ae.namespace.value}-scrollbar__wrap`),vn=(Tn,In)=>{if(oe.arrowControl)return;const Bn=unref(Ce[Tn]);Bn&&Bn.$el&&(hn(Bn.$el).scrollTop=Math.max(0,In*bn(Tn)))},bn=Tn=>{const In=unref(Ce[Tn]);return(In==null?void 0:In.$el.querySelector("li").offsetHeight)||0},_n=()=>{xn(1)},kn=()=>{xn(-1)},xn=Tn=>{pe.value||ze("hours");const In=pe.value,Bn=unref($e)[In],Dn=pe.value==="hours"?24:60,Xn=$n(In,Bn,Tn,Dn);Cn(In,Xn),vn(In,Xn),nextTick(()=>ze(In))},$n=(Tn,In,Bn,Dn)=>{let Xn=(In+Bn+Dn)%Dn;const Zn=unref(Ne)[Tn];for(;Zn[Xn]&&Xn!==In;)Xn=(Xn+Bn+Dn)%Dn;return Xn},Cn=(Tn,In)=>{if(unref(Ne)[Tn][In])return;const{hours:Xn,minutes:Zn,seconds:Fn}=unref($e);let Yn;switch(Tn){case"hours":Yn=oe.spinnerDate.hour(In).minute(Zn).second(Fn);break;case"minutes":Yn=oe.spinnerDate.hour(Xn).minute(In).second(Fn);break;case"seconds":Yn=oe.spinnerDate.hour(Xn).minute(Zn).second(In);break}j("change",Yn)},En=(Tn,{value:In,disabled:Bn})=>{Bn||(Cn(Tn,In),ze(Tn),vn(Tn,In))},Nn=Tn=>{ue=!0,Oe(Tn);const In=Math.min(Math.round((hn(unref(Ce[Tn]).$el).scrollTop-(Sn(Tn)*.5-10)/bn(Tn)+3)/bn(Tn)),Tn==="hours"?23:59);Cn(Tn,In)},Sn=Tn=>unref(Ce[Tn]).$el.offsetHeight,wn=()=>{const Tn=In=>{const Bn=unref(Ce[In]);Bn&&Bn.$el&&(hn(Bn.$el).onscroll=()=>{Nn(In)})};Tn("hours"),Tn("minutes"),Tn("seconds")};onMounted(()=>{nextTick(()=>{!oe.arrowControl&&wn(),qe(),oe.role==="start"&&ze("hours")})});const On=(Tn,In)=>{Ce[In].value=Tn};return j("set-option",[`${oe.role}_scrollDown`,xn]),j("set-option",[`${oe.role}_emitSelectRange`,ze]),watch(()=>oe.spinnerDate,()=>{ue||qe()}),(Tn,In)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ae).b("spinner"),{"has-seconds":Tn.showSeconds}])},[Tn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(Ie),Bn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Bn,ref_for:!0,ref:Dn=>On(Dn,Bn),class:normalizeClass(unref(ae).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(ae).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Dn=>ze(Bn),onMousemove:Dn=>Ue(Bn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ne)[Bn],(Dn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(ae).be("spinner","item"),unref(ae).is("active",Xn===unref($e)[Bn]),unref(ae).is("disabled",Dn)]),onClick:Zn=>En(Bn,{value:Xn,disabled:Dn})},[Bn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(Tn.amPmMode?Xn%12||12:Xn)).slice(-2))+toDisplayString$1(Fe(Xn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Xn).slice(-2)),1)],64))],10,_hoisted_1$10))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),Tn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(Ie),Bn=>(openBlock(),createElementBlock("div",{key:Bn,class:normalizeClass([unref(ae).be("spinner","wrapper"),unref(ae).is("arrow")]),onMouseenter:Dn=>ze(Bn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(ae).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),kn]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(ae).be("spinner","arrow")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),_n]]),createBaseVNode("ul",{class:normalizeClass(unref(ae).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ve)[Bn],(Dn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(ae).be("spinner","item"),unref(ae).is("active",Dn===unref($e)[Bn]),unref(ae).is("disabled",unref(Ne)[Bn][Dn])])},[typeof Dn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Bn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(("0"+(Tn.amPmMode?Dn%12||12:Dn)).slice(-2))+toDisplayString$1(Fe(Dn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString$1(("0"+Dn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$F))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$1(_sfc_main$1$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const _sfc_main$1_=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup($,{emit:j}){const oe=$,ae=inject("EP_PICKER_BASE"),{arrowControl:ie,disabledHours:le,disabledMinutes:de,disabledSeconds:ue,defaultValue:pe}=ae.props,{getAvailableHours:he,getAvailableMinutes:_e,getAvailableSeconds:xe}=buildAvailableTimeSlotGetter(le,de,ue),Ce=useNamespace("time"),{t:Ie,lang:$e}=useLocale(),Ne=ref([0,2]),Ve=useOldValue(oe),Oe=computed(()=>isUndefined$c(oe.actualVisible)?`${Ce.namespace.value}-zoom-in-top`:""),Fe=computed(()=>oe.format.includes("ss")),ze=computed(()=>oe.format.includes("A")?"A":oe.format.includes("a")?"a":""),Ue=On=>{const Tn=dayjs(On).locale($e.value),In=En(Tn);return Tn.isSame(In)},qe=()=>{j("pick",Ve.value,!1)},hn=(On=!1,Tn=!1)=>{Tn||j("pick",oe.parsedValue,On)},vn=On=>{if(!oe.visible)return;const Tn=En(On).millisecond(0);j("pick",Tn,!0)},bn=(On,Tn)=>{j("select-range",On,Tn),Ne.value=[On,Tn]},_n=On=>{const Tn=[0,3].concat(Fe.value?[6]:[]),In=["hours","minutes"].concat(Fe.value?["seconds"]:[]),Dn=(Tn.indexOf(Ne.value[0])+On+Tn.length)%Tn.length;xn.start_emitSelectRange(In[Dn])},kn=On=>{const Tn=On.code,{left:In,right:Bn,up:Dn,down:Xn}=EVENT_CODE;if([In,Bn].includes(Tn)){_n(Tn===In?-1:1),On.preventDefault();return}if([Dn,Xn].includes(Tn)){const Zn=Tn===Dn?-1:1;xn.start_scrollDown(Zn),On.preventDefault();return}},{timePickerOptions:xn,onSetOption:$n,getAvailableTime:Cn}=useTimePanel({getAvailableHours:he,getAvailableMinutes:_e,getAvailableSeconds:xe}),En=On=>Cn(On,oe.datetimeRole||"",!0),Nn=On=>On?dayjs(On,oe.format).locale($e.value):null,Sn=On=>On?On.format(oe.format):null,wn=()=>dayjs(pe).locale($e.value);return j("set-picker-option",["isValidValue",Ue]),j("set-picker-option",["formatToString",Sn]),j("set-picker-option",["parseUserInput",Nn]),j("set-picker-option",["handleKeydownInput",kn]),j("set-picker-option",["getRangeAvailableTime",En]),j("set-picker-option",["getDefaultValue",wn]),(On,Tn)=>(openBlock(),createBlock(Transition,{name:unref(Oe)},{default:withCtx(()=>[On.actualVisible||On.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ce).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(Ce).be("panel","content"),{"has-seconds":unref(Fe)}])},[createVNode(TimeSpinner,{ref:"spinner",role:On.datetimeRole||"start","arrow-control":unref(ie),"show-seconds":unref(Fe),"am-pm-mode":unref(ze),"spinner-date":On.parsedValue,"disabled-hours":unref(le),"disabled-minutes":unref(de),"disabled-seconds":unref(ue),onChange:vn,onSetOption:unref($n),onSelectRange:bn},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(Ce).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ce).be("panel","btn"),"cancel"]),onClick:qe},toDisplayString$1(unref(Ie)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ce).be("panel","btn"),"confirm"]),onClick:Tn[0]||(Tn[0]=In=>hn())},toDisplayString$1(unref(Ie)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$1(_sfc_main$1_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$$=["disabled"],_sfc_main$1Z=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup($,{emit:j}){const oe=$,ae=(eo,ho)=>{const So=[];for(let Ln=eo;Ln<=ho;Ln++)So.push(Ln);return So},{t:ie,lang:le}=useLocale(),de=useNamespace("time"),ue=useNamespace("picker"),pe=inject("EP_PICKER_BASE"),{arrowControl:he,disabledHours:_e,disabledMinutes:xe,disabledSeconds:Ce,defaultValue:Ie}=pe.props,$e=computed(()=>oe.parsedValue[0]),Ne=computed(()=>oe.parsedValue[1]),Ve=useOldValue(oe),Oe=()=>{j("pick",Ve.value,!1)},Fe=computed(()=>oe.format.includes("ss")),ze=computed(()=>oe.format.includes("A")?"A":oe.format.includes("a")?"a":""),Ue=(eo=!1)=>{j("pick",[$e.value,Ne.value],eo)},qe=eo=>{bn(eo.millisecond(0),Ne.value)},hn=eo=>{bn($e.value,eo.millisecond(0))},vn=eo=>{const ho=eo.map(Ln=>dayjs(Ln).locale(le.value)),So=Tn(ho);return ho[0].isSame(So[0])&&ho[1].isSame(So[1])},bn=(eo,ho)=>{j("pick",[eo,ho],!0)},_n=computed(()=>$e.value>Ne.value),kn=ref([0,2]),xn=(eo,ho)=>{j("select-range",eo,ho,"min"),kn.value=[eo,ho]},$n=computed(()=>Fe.value?11:8),Cn=(eo,ho)=>{j("select-range",eo,ho,"max");const So=unref($n);kn.value=[eo+So,ho+So]},En=eo=>{const ho=Fe.value?[0,3,6,11,14,17]:[0,3,8,11],So=["hours","minutes"].concat(Fe.value?["seconds"]:[]),Rn=(ho.indexOf(kn.value[0])+eo+ho.length)%ho.length,Gn=ho.length/2;Rn{const ho=eo.code,{left:So,right:Ln,up:Rn,down:Gn}=EVENT_CODE;if([So,Ln].includes(ho)){En(ho===So?-1:1),eo.preventDefault();return}if([Rn,Gn].includes(ho)){const no=ho===Rn?-1:1,bo=kn.value[0]<$n.value?"start":"end";Xn[`${bo}_scrollDown`](no),eo.preventDefault();return}},Sn=(eo,ho)=>{const So=_e?_e(eo):[],Ln=eo==="start",Gn=(ho||(Ln?Ne.value:$e.value)).hour(),no=Ln?ae(Gn+1,23):ae(0,Gn-1);return union$3(So,no)},wn=(eo,ho,So)=>{const Ln=xe?xe(eo,ho):[],Rn=ho==="start",Gn=So||(Rn?Ne.value:$e.value),no=Gn.hour();if(eo!==no)return Ln;const bo=Gn.minute(),Wn=Rn?ae(bo+1,59):ae(0,bo-1);return union$3(Ln,Wn)},On=(eo,ho,So,Ln)=>{const Rn=Ce?Ce(eo,ho,So):[],Gn=So==="start",no=Ln||(Gn?Ne.value:$e.value),bo=no.hour(),Wn=no.minute();if(eo!==bo||ho!==Wn)return Rn;const lo=no.second(),Qn=Gn?ae(lo+1,59):ae(0,lo-1);return union$3(Rn,Qn)},Tn=([eo,ho])=>[Zn(eo,"start",!0,ho),Zn(ho,"end",!1,eo)],{getAvailableHours:In,getAvailableMinutes:Bn,getAvailableSeconds:Dn}=buildAvailableTimeSlotGetter(Sn,wn,On),{timePickerOptions:Xn,getAvailableTime:Zn,onSetOption:Fn}=useTimePanel({getAvailableHours:In,getAvailableMinutes:Bn,getAvailableSeconds:Dn}),Yn=eo=>eo?isArray$x(eo)?eo.map(ho=>dayjs(ho,oe.format).locale(le.value)):dayjs(eo,oe.format).locale(le.value):null,qn=eo=>eo?isArray$x(eo)?eo.map(ho=>ho.format(oe.format)):eo.format(oe.format):null,Vn=()=>{if(isArray$x(Ie))return Ie.map(ho=>dayjs(ho).locale(le.value));const eo=dayjs(Ie).locale(le.value);return[eo,eo.add(60,"m")]};return j("set-picker-option",["formatToString",qn]),j("set-picker-option",["parseUserInput",Yn]),j("set-picker-option",["isValidValue",vn]),j("set-picker-option",["handleKeydownInput",Nn]),j("set-picker-option",["getDefaultValue",Vn]),j("set-picker-option",["getRangeAvailableTime",Tn]),(eo,ho)=>eo.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(de).b("range-picker"),unref(ue).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(de).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(de).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(de).be("range-picker","header"))},toDisplayString$1(unref(ie)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass([unref(de).be("range-picker","body"),unref(de).be("panel","content"),unref(de).is("arrow",unref(he)),{"has-seconds":unref(Fe)}])},[createVNode(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(Fe),"am-pm-mode":unref(ze),"arrow-control":unref(he),"spinner-date":unref($e),"disabled-hours":Sn,"disabled-minutes":wn,"disabled-seconds":On,onChange:qe,onSetOption:unref(Fn),onSelectRange:xn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(de).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(de).be("range-picker","header"))},toDisplayString$1(unref(ie)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass([unref(de).be("range-picker","body"),unref(de).be("panel","content"),unref(de).is("arrow",unref(he)),{"has-seconds":unref(Fe)}])},[createVNode(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(Fe),"am-pm-mode":unref(ze),"arrow-control":unref(he),"spinner-date":unref(Ne),"disabled-hours":Sn,"disabled-minutes":wn,"disabled-seconds":On,onChange:hn,onSetOption:unref(Fn),onSelectRange:Cn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(de).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(de).be("panel","btn"),"cancel"]),onClick:ho[0]||(ho[0]=So=>Oe())},toDisplayString$1(unref(ie)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(de).be("panel","btn"),"confirm"]),disabled:unref(_n),onClick:ho[1]||(ho[1]=So=>Ue())},toDisplayString$1(unref(ie)("el.datepicker.confirm")),11,_hoisted_1$$)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$1(_sfc_main$1Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup($,j){const oe=ref(),[ae,ie]=$.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],le=de=>j.emit("update:modelValue",de);return provide("ElPopperOptions",$.popperOptions),j.expose({focus:de=>{var ue;(ue=oe.value)==null||ue.handleFocusInput(de)},blur:de=>{var ue;(ue=oe.value)==null||ue.handleBlurInput(de)},handleOpen:()=>{var de;(de=oe.value)==null||de.handleOpen()},handleClose:()=>{var de;(de=oe.value)==null||de.handleClose()}}),()=>{var de;const ue=(de=$.format)!=null?de:DEFAULT_FORMATS_TIME;return createVNode(CommonPicker,mergeProps($,{ref:oe,type:ae,format:ue,"onUpdate:modelValue":le}),{default:pe=>createVNode(ie,pe,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=$=>{$.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=($,j)=>{const oe=$.subtract(1,"month").endOf("month").date();return rangeArr(j).map((ae,ie)=>oe-(j-ie-1))},getMonthDays=$=>{const j=$.daysInMonth();return rangeArr(j).map((oe,ae)=>ae+1)},toNestedArr=$=>rangeArr($.length/7).map(j=>{const oe=j*7;return $.slice(oe,oe+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:$=>isObject$8($)};var localeDataExports={},localeData$1={get exports(){return localeDataExports},set exports($){localeDataExports=$}};(function($,j){(function(oe,ae){$.exports=ae()})(commonjsGlobal,function(){return function(oe,ae,ie){var le=ae.prototype,de=function(xe){return xe&&(xe.indexOf?xe:xe.s)},ue=function(xe,Ce,Ie,$e,Ne){var Ve=xe.name?xe:xe.$locale(),Oe=de(Ve[Ce]),Fe=de(Ve[Ie]),ze=Oe||Fe.map(function(qe){return qe.slice(0,$e)});if(!Ne)return ze;var Ue=Ve.weekStart;return ze.map(function(qe,hn){return ze[(hn+(Ue||0))%7]})},pe=function(){return ie.Ls[ie.locale()]},he=function(xe,Ce){return xe.formats[Ce]||function(Ie){return Ie.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function($e,Ne,Ve){return Ne||Ve.slice(1)})}(xe.formats[Ce.toUpperCase()])},_e=function(){var xe=this;return{months:function(Ce){return Ce?Ce.format("MMMM"):ue(xe,"months")},monthsShort:function(Ce){return Ce?Ce.format("MMM"):ue(xe,"monthsShort","months",3)},firstDayOfWeek:function(){return xe.$locale().weekStart||0},weekdays:function(Ce){return Ce?Ce.format("dddd"):ue(xe,"weekdays")},weekdaysMin:function(Ce){return Ce?Ce.format("dd"):ue(xe,"weekdaysMin","weekdays",2)},weekdaysShort:function(Ce){return Ce?Ce.format("ddd"):ue(xe,"weekdaysShort","weekdays",3)},longDateFormat:function(Ce){return he(xe.$locale(),Ce)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};le.localeData=function(){return _e.bind(this)()},ie.localeData=function(){var xe=pe();return{firstDayOfWeek:function(){return xe.weekStart||0},weekdays:function(){return ie.weekdays()},weekdaysShort:function(){return ie.weekdaysShort()},weekdaysMin:function(){return ie.weekdaysMin()},months:function(){return ie.months()},monthsShort:function(){return ie.monthsShort()},longDateFormat:function(Ce){return he(xe,Ce)},meridiem:xe.meridiem,ordinal:xe.ordinal}},ie.months=function(){return ue(pe(),"months")},ie.monthsShort=function(){return ue(pe(),"monthsShort","months",3)},ie.weekdays=function(xe){return ue(pe(),"weekdays",null,null,xe)},ie.weekdaysShort=function(xe){return ue(pe(),"weekdaysShort","weekdays",3,xe)},ie.weekdaysMin=function(xe){return ue(pe(),"weekdaysMin","weekdays",2,xe)}}})})(localeData$1);const localeData=localeDataExports,useDateTable=($,j)=>{dayjs.extend(localeData);const oe=dayjs.localeData().firstDayOfWeek(),{t:ae,lang:ie}=useLocale(),le=dayjs().locale(ie.value),de=computed(()=>!!$.range&&!!$.range.length),ue=computed(()=>{let Ce=[];if(de.value){const[Ie,$e]=$.range,Ne=rangeArr($e.date()-Ie.date()+1).map(Fe=>({text:Ie.date()+Fe,type:"current"}));let Ve=Ne.length%7;Ve=Ve===0?0:7-Ve;const Oe=rangeArr(Ve).map((Fe,ze)=>({text:ze+1,type:"next"}));Ce=Ne.concat(Oe)}else{const Ie=$.date.startOf("month").day(),$e=getPrevMonthLastDays($.date,(Ie-oe+7)%7).map(Fe=>({text:Fe,type:"prev"})),Ne=getMonthDays($.date).map(Fe=>({text:Fe,type:"current"}));Ce=[...$e,...Ne];const Ve=7-(Ce.length%7||7),Oe=rangeArr(Ve).map((Fe,ze)=>({text:ze+1,type:"next"}));Ce=Ce.concat(Oe)}return toNestedArr(Ce)}),pe=computed(()=>{const Ce=oe;return Ce===0?WEEK_DAYS.map(Ie=>ae(`el.datepicker.weeks.${Ie}`)):WEEK_DAYS.slice(Ce).concat(WEEK_DAYS.slice(0,Ce)).map(Ie=>ae(`el.datepicker.weeks.${Ie}`))}),he=(Ce,Ie)=>{switch(Ie){case"prev":return $.date.startOf("month").subtract(1,"month").date(Ce);case"next":return $.date.startOf("month").add(1,"month").date(Ce);case"current":return $.date.date(Ce)}};return{now:le,isInRange:de,rows:ue,weekDays:pe,getFormattedDate:he,handlePickDay:({text:Ce,type:Ie})=>{const $e=he(Ce,Ie);j("pick",$e)},getSlotData:({text:Ce,type:Ie})=>{const $e=he(Ce,Ie);return{isSelected:$e.isSame($.selectedDay),type:`${Ie}-month`,day:$e.format("YYYY-MM-DD"),date:$e.toDate()}}}},_hoisted_1$_={key:0},_hoisted_2$E=["onClick"],__default__$1i=defineComponent({name:"DateTable"}),_sfc_main$1Y=defineComponent({...__default__$1i,props:dateTableProps,emits:dateTableEmits,setup($,{expose:j,emit:oe}){const ae=$,{isInRange:ie,now:le,rows:de,weekDays:ue,getFormattedDate:pe,handlePickDay:he,getSlotData:_e}=useDateTable(ae,oe),xe=useNamespace("calendar-table"),Ce=useNamespace("calendar-day"),Ie=({text:$e,type:Ne})=>{const Ve=[Ne];if(Ne==="current"){const Oe=pe($e,Ne);Oe.isSame(ae.selectedDay,"day")&&Ve.push(Ce.is("selected")),Oe.isSame(le,"day")&&Ve.push(Ce.is("today"))}return Ve};return j({getFormattedDate:pe}),($e,Ne)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(xe).b(),unref(xe).is("range",unref(ie))]),cellspacing:"0",cellpadding:"0"},[$e.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$_,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ue),Ve=>(openBlock(),createElementBlock("th",{key:Ve},toDisplayString$1(Ve),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(de),(Ve,Oe)=>(openBlock(),createElementBlock("tr",{key:Oe,class:normalizeClass({[unref(xe).e("row")]:!0,[unref(xe).em("row","hide-border")]:Oe===0&&$e.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ve,(Fe,ze)=>(openBlock(),createElementBlock("td",{key:ze,class:normalizeClass(Ie(Fe)),onClick:Ue=>unref(he)(Fe)},[createBaseVNode("div",{class:normalizeClass(unref(Ce).b())},[renderSlot($e.$slots,"date-cell",{data:unref(_e)(Fe)},()=>[createBaseVNode("span",null,toDisplayString$1(Fe.text),1)])],2)],10,_hoisted_2$E))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$1(_sfc_main$1Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const adjacentMonth=($,j)=>{const oe=$.endOf("month"),ae=j.startOf("month"),le=oe.isSame(ae,"week")?ae.add(1,"week"):ae;return[[$,oe],[le.startOf("week"),j]]},threeConsecutiveMonth=($,j)=>{const oe=$.endOf("month"),ae=$.add(1,"month").startOf("month"),ie=oe.isSame(ae,"week")?ae.add(1,"week"):ae,le=ie.endOf("month"),de=j.startOf("month"),ue=le.isSame(de,"week")?de.add(1,"week"):de;return[[$,oe],[ie.startOf("week"),le],[ue.startOf("week"),j]]},useCalendar=($,j,oe)=>{const ae=useSlots(),{lang:ie}=useLocale(),le=ref(),de=dayjs().locale(ie.value),ue=computed({get(){return $.modelValue?he.value:le.value},set(Oe){if(!Oe)return;le.value=Oe;const Fe=Oe.toDate();j(INPUT_EVENT,Fe),j(UPDATE_MODEL_EVENT,Fe)}}),pe=computed(()=>{if(!$.range)return[];const Oe=$.range.map(Ue=>dayjs(Ue).locale(ie.value)),[Fe,ze]=Oe;return Fe.isAfter(ze)?[]:Fe.isSame(ze,"month")?$e(Fe,ze):Fe.add(1,"month").month()!==ze.month()?[]:$e(Fe,ze)}),he=computed(()=>$.modelValue?dayjs($.modelValue).locale(ie.value):ue.value||(pe.value.length?pe.value[0][0]:de)),_e=computed(()=>he.value.subtract(1,"month").date(1)),xe=computed(()=>he.value.add(1,"month").date(1)),Ce=computed(()=>he.value.subtract(1,"year").date(1)),Ie=computed(()=>he.value.add(1,"year").date(1)),$e=(Oe,Fe)=>{const ze=Oe.startOf("week"),Ue=Fe.endOf("week"),qe=ze.get("month"),hn=Ue.get("month");return qe===hn?[[ze,Ue]]:(qe+1)%12===hn?adjacentMonth(ze,Ue):qe+2===hn||(qe+1)%11===hn?threeConsecutiveMonth(ze,Ue):[]},Ne=Oe=>{ue.value=Oe},Ve=Oe=>{const ze={"prev-month":_e.value,"next-month":xe.value,"prev-year":Ce.value,"next-year":Ie.value,today:de}[Oe];ze.isSame(he.value,"day")||Ne(ze)};return useDeprecated({from:'"dateCell"',replacement:'"date-cell"',scope:"ElCalendar",version:"2.3.0",ref:"https://element-plus.org/en-US/component/calendar.html#slots",type:"Slot"},computed(()=>!!ae.dateCell)),{calculateValidatedDateRange:$e,date:he,realSelectedDay:ue,pickDay:Ne,selectDate:Ve,validatedRange:pe}},isValidRange$1=$=>isArray$x($)&&$.length===2&&$.every(j=>isDate$b(j)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:$=>isDate$b($),[INPUT_EVENT]:$=>isDate$b($)},COMPONENT_NAME$g="ElCalendar",__default__$1h=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1X=defineComponent({...__default__$1h,props:calendarProps,emits:calendarEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useNamespace("calendar"),{calculateValidatedDateRange:le,date:de,pickDay:ue,realSelectedDay:pe,selectDate:he,validatedRange:_e}=useCalendar(ae,oe),{t:xe}=useLocale(),Ce=computed(()=>{const Ie=`el.datepicker.month${de.value.format("M")}`;return`${de.value.year()} ${xe("el.datepicker.year")} ${xe(Ie)}`});return j({selectedDay:pe,pickDay:ue,selectDate:he,calculateValidatedDateRange:le}),(Ie,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("header"))},[renderSlot(Ie.$slots,"header",{date:unref(Ce)},()=>[createBaseVNode("div",{class:normalizeClass(unref(ie).e("title"))},toDisplayString$1(unref(Ce)),3),unref(_e).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("button-group"))},[createVNode(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode(unref(ElButton),{size:"small",onClick:$e[0]||($e[0]=Ne=>unref(he)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(xe)("el.datepicker.prevMonth")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:$e[1]||($e[1]=Ne=>unref(he)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(xe)("el.datepicker.today")),1)]),_:1}),createVNode(unref(ElButton),{size:"small",onClick:$e[2]||($e[2]=Ne=>unref(he)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(xe)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(_e).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("body"))},[createVNode(DateTable$1,{date:unref(de),"selected-day":unref(pe),onPick:unref(ue)},createSlots({_:2},[Ie.$slots["date-cell"]||Ie.$slots.dateCell?{name:"date-cell",fn:withCtx(Ne=>[Ie.$slots["date-cell"]?renderSlot(Ie.$slots,"date-cell",normalizeProps(mergeProps({key:0},Ne))):renderSlot(Ie.$slots,"dateCell",normalizeProps(mergeProps({key:1},Ne)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),(Ne,Ve)=>(openBlock(),createBlock(DateTable$1,{key:Ve,date:Ne[0],"selected-day":unref(pe),range:Ne,"hide-header":Ve!==0,onPick:unref(ue)},createSlots({_:2},[Ie.$slots["date-cell"]||Ie.$slots.dateCell?{name:"date-cell",fn:withCtx(Oe=>[Ie.$slots["date-cell"]?renderSlot(Ie.$slots,"date-cell",normalizeProps(mergeProps({key:0},Oe))):renderSlot(Ie.$slots,"dateCell",normalizeProps(mergeProps({key:1},Oe)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar=_export_sfc$1(_sfc_main$1X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const ElCalendar=withInstall(Calendar),cardProps=buildProps({header:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1g=defineComponent({name:"ElCard"}),_sfc_main$1W=defineComponent({...__default__$1g,props:cardProps,setup($){const j=useNamespace("card");return(oe,ae)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(j).b(),unref(j).is(`${oe.shadow}-shadow`)])},[oe.$slots.header||oe.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(j).e("header"))},[renderSlot(oe.$slots,"header",{},()=>[createTextVNode(toDisplayString$1(oe.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(j).e("body")),style:normalizeStyle(oe.bodyStyle)},[renderSlot(oe.$slots,"default")],6)],2))}});var Card=_export_sfc$1(_sfc_main$1W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/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:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0}}),carouselEmits={change:($,j)=>[$,j].every(isNumber$d)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=($,j,oe)=>{const{children:ae,addChild:ie,removeChild:le}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),de=ref(-1),ue=ref(null),pe=ref(!1),he=ref(),_e=computed(()=>$.arrow!=="never"&&!unref(Ie)),xe=computed(()=>ae.value.some(Sn=>Sn.props.label.toString().length>0)),Ce=computed(()=>$.type==="card"),Ie=computed(()=>$.direction==="vertical"),$e=throttle$2(Sn=>{ze(Sn)},THROTTLE_TIME,{trailing:!0}),Ne=throttle$2(Sn=>{xn(Sn)},THROTTLE_TIME);function Ve(){ue.value&&(clearInterval(ue.value),ue.value=null)}function Oe(){$.interval<=0||!$.autoplay||ue.value||(ue.value=setInterval(()=>Fe(),$.interval))}const Fe=()=>{de.valueIn.props.name===Sn);Tn.length>0&&(Sn=ae.value.indexOf(Tn[0]))}if(Sn=Number(Sn),Number.isNaN(Sn)||Sn!==Math.floor(Sn))return;const wn=ae.value.length,On=de.value;Sn<0?de.value=$.loop?wn-1:0:Sn>=wn?de.value=$.loop?0:wn-1:de.value=Sn,On===de.value&&Ue(On),En()}function Ue(Sn){ae.value.forEach((wn,On)=>{wn.translateItem(On,de.value,Sn)})}function qe(Sn,wn){var On,Tn,In,Bn;const Dn=unref(ae),Xn=Dn.length;if(Xn===0||!Sn.states.inStage)return!1;const Zn=wn+1,Fn=wn-1,Yn=Xn-1,qn=Dn[Yn].states.active,Vn=Dn[0].states.active,eo=(Tn=(On=Dn[Zn])==null?void 0:On.states)==null?void 0:Tn.active,ho=(Bn=(In=Dn[Fn])==null?void 0:In.states)==null?void 0:Bn.active;return wn===Yn&&Vn||eo?"left":wn===0&&qn||ho?"right":!1}function hn(){pe.value=!0,$.pauseOnHover&&Ve()}function vn(){pe.value=!1,Oe()}function bn(Sn){unref(Ie)||ae.value.forEach((wn,On)=>{Sn===qe(wn,On)&&(wn.states.hover=!0)})}function _n(){unref(Ie)||ae.value.forEach(Sn=>{Sn.states.hover=!1})}function kn(Sn){de.value=Sn}function xn(Sn){$.trigger==="hover"&&Sn!==de.value&&(de.value=Sn)}function $n(){ze(de.value-1)}function Cn(){ze(de.value+1)}function En(){Ve(),Oe()}watch(()=>de.value,(Sn,wn)=>{Ue(wn),wn>-1&&j("change",Sn,wn)}),watch(()=>$.autoplay,Sn=>{Sn?Oe():Ve()}),watch(()=>$.loop,()=>{ze(de.value)}),watch(()=>$.interval,()=>{En()}),watch(()=>ae.value,()=>{ae.value.length>0&&ze($.initialIndex)});const Nn=shallowRef();return onMounted(()=>{Nn.value=useResizeObserver(he.value,()=>{Ue()}),Oe()}),onBeforeUnmount(()=>{Ve(),he.value&&Nn.value&&Nn.value.stop()}),provide(carouselContextKey,{root:he,isCardType:Ce,isVertical:Ie,items:ae,loop:$.loop,addItem:ie,removeItem:le,setActiveItem:ze}),{root:he,activeIndex:de,arrowDisplay:_e,hasLabel:xe,hover:pe,isCardType:Ce,items:ae,handleButtonEnter:bn,handleButtonLeave:_n,handleIndicatorClick:kn,handleMouseEnter:hn,handleMouseLeave:vn,setActiveItem:ze,prev:$n,next:Cn,throttledArrowClick:$e,throttledIndicatorHover:Ne}},_hoisted_1$Z=["onMouseenter","onClick"],_hoisted_2$D={key:0},COMPONENT_NAME$f="ElCarousel",__default__$1f=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1V=defineComponent({...__default__$1f,props:carouselProps,emits:carouselEmits,setup($,{expose:j,emit:oe}){const ae=$,{root:ie,activeIndex:le,arrowDisplay:de,hasLabel:ue,hover:pe,isCardType:he,items:_e,handleButtonEnter:xe,handleButtonLeave:Ce,handleIndicatorClick:Ie,handleMouseEnter:$e,handleMouseLeave:Ne,setActiveItem:Ve,prev:Oe,next:Fe,throttledArrowClick:ze,throttledIndicatorHover:Ue}=useCarousel(ae,oe),qe=useNamespace("carousel"),hn=computed(()=>{const bn=[qe.b(),qe.m(ae.direction)];return unref(he)&&bn.push(qe.m("card")),bn}),vn=computed(()=>{const bn=[qe.e("indicators"),qe.em("indicators",ae.direction)];return unref(ue)&&bn.push(qe.em("indicators","labels")),(ae.indicatorPosition==="outside"||unref(he))&&bn.push(qe.em("indicators","outside")),bn});return j({setActiveItem:Ve,prev:Oe,next:Fe}),(bn,_n)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:ie,class:normalizeClass(unref(hn)),onMouseenter:_n[6]||(_n[6]=withModifiers((...kn)=>unref($e)&&unref($e)(...kn),["stop"])),onMouseleave:_n[7]||(_n[7]=withModifiers((...kn)=>unref(Ne)&&unref(Ne)(...kn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(unref(qe).e("container")),style:normalizeStyle({height:bn.height})},[unref(de)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(qe).e("arrow"),unref(qe).em("arrow","left")]),onMouseenter:_n[0]||(_n[0]=kn=>unref(xe)("left")),onMouseleave:_n[1]||(_n[1]=(...kn)=>unref(Ce)&&unref(Ce)(...kn)),onClick:_n[2]||(_n[2]=withModifiers(kn=>unref(ze)(unref(le)-1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],34),[[vShow,(bn.arrow==="always"||unref(pe))&&(ae.loop||unref(le)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(de)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(qe).e("arrow"),unref(qe).em("arrow","right")]),onMouseenter:_n[3]||(_n[3]=kn=>unref(xe)("right")),onMouseleave:_n[4]||(_n[4]=(...kn)=>unref(Ce)&&unref(Ce)(...kn)),onClick:_n[5]||(_n[5]=withModifiers(kn=>unref(ze)(unref(le)+1),["stop"]))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],34),[[vShow,(bn.arrow==="always"||unref(pe))&&(ae.loop||unref(le)(openBlock(),createElementBlock("li",{key:xn,class:normalizeClass([unref(qe).e("indicator"),unref(qe).em("indicator",bn.direction),unref(qe).is("active",xn===unref(le))]),onMouseenter:$n=>unref(Ue)(xn),onClick:withModifiers($n=>unref(Ie)(xn),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(qe).e("button"))},[unref(ue)?(openBlock(),createElementBlock("span",_hoisted_2$D,toDisplayString$1(kn.props.label),1)):createCommentVNode("v-if",!0)],2)],42,_hoisted_1$Z))),128))],2)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$1(_sfc_main$1V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=($,j)=>{const oe=inject(carouselContextKey),ae=getCurrentInstance(),ie=.83,le=ref(!1),de=ref(0),ue=ref(1),pe=ref(!1),he=ref(!1),_e=ref(!1),xe=ref(!1),{isCardType:Ce,isVertical:Ie}=oe;function $e(ze,Ue,qe){const hn=qe-1,vn=Ue-1,bn=Ue+1,_n=qe/2;return Ue===0&&ze===hn?-1:Ue===hn&&ze===0?qe:ze=_n?qe+1:ze>bn&&ze-Ue>=_n?-2:ze}function Ne(ze,Ue){var qe;const hn=((qe=oe.root.value)==null?void 0:qe.offsetWidth)||0;return _e.value?hn*((2-ie)*(ze-Ue)+1)/4:ze{var hn;const vn=unref(Ce),bn=(hn=oe.items.value.length)!=null?hn:Number.NaN,_n=ze===Ue;!vn&&!isUndefined$c(qe)&&(xe.value=_n||ze===qe),!_n&&bn>2&&oe.loop&&(ze=$e(ze,Ue,bn));const kn=unref(Ie);pe.value=_n,vn?(_e.value=Math.round(Math.abs(ze-Ue))<=1,de.value=Ne(ze,Ue),ue.value=unref(pe)?1:ie):de.value=Ve(ze,Ue,kn),he.value=!0};function Fe(){if(oe&&unref(Ce)){const ze=oe.items.value.findIndex(({uid:Ue})=>Ue===ae.uid);oe.setActiveItem(ze)}}return onMounted(()=>{oe.addItem({props:$,states:reactive({hover:le,translate:de,scale:ue,active:pe,ready:he,inStage:_e,animating:xe}),uid:ae.uid,translateItem:Oe})}),onUnmounted(()=>{oe.removeItem(ae.uid)}),{active:pe,animating:xe,hover:le,inStage:_e,isVertical:Ie,translate:de,isCardType:Ce,scale:ue,ready:he,handleItemClick:Fe}},__default__$1e=defineComponent({name:"ElCarouselItem"}),_sfc_main$1U=defineComponent({...__default__$1e,props:carouselItemProps,setup($){const j=$,oe=useNamespace("carousel"),{active:ae,animating:ie,hover:le,inStage:de,isVertical:ue,translate:pe,isCardType:he,scale:_e,ready:xe,handleItemClick:Ce}=useCarouselItem(j),Ie=computed(()=>{const Ne=`${`translate${unref(ue)?"Y":"X"}`}(${unref(pe)}px)`,Ve=`scale(${unref(_e)})`;return{transform:[Ne,Ve].join(" ")}});return($e,Ne)=>withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).e("item"),unref(oe).is("active",unref(ae)),unref(oe).is("in-stage",unref(de)),unref(oe).is("hover",unref(le)),unref(oe).is("animating",unref(ie)),{[unref(oe).em("item","card")]:unref(he)}]),style:normalizeStyle(unref(Ie)),onClick:Ne[0]||(Ne[0]=(...Ve)=>unref(Ce)&&unref(Ce)(...Ve))},[unref(he)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("mask"))},null,2)),[[vShow,!unref(ae)]]):createCommentVNode("v-if",!0),renderSlot($e.$slots,"default")],6)),[[vShow,unref(xe)]])}});var CarouselItem=_export_sfc$1(_sfc_main$1U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},checkboxEmits={[UPDATE_MODEL_EVENT]:$=>isString$d($)||isNumber$d($)||isBoolean$5($),change:$=>isString$d($)||isNumber$d($)||isBoolean$5($)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:$,isChecked:j})=>{const oe=inject(checkboxGroupContextKey,void 0),ae=computed(()=>{var le,de;const ue=(le=oe==null?void 0:oe.max)==null?void 0:le.value,pe=(de=oe==null?void 0:oe.min)==null?void 0:de.value;return!isUndefined$c(ue)&&$.value.length>=ue&&!j.value||!isUndefined$c(pe)&&$.value.length<=pe&&j.value});return{isDisabled:useFormDisabled(computed(()=>(oe==null?void 0:oe.disabled.value)||ae.value)),isLimitDisabled:ae}},useCheckboxEvent=($,{model:j,isLimitExceeded:oe,hasOwnLabel:ae,isDisabled:ie,isLabeledByFormItem:le})=>{const de=inject(checkboxGroupContextKey,void 0),{formItem:ue}=useFormItem(),{emit:pe}=getCurrentInstance();function he($e){var Ne,Ve;return $e===$.trueLabel||$e===!0?(Ne=$.trueLabel)!=null?Ne:!0:(Ve=$.falseLabel)!=null?Ve:!1}function _e($e,Ne){pe("change",he($e),Ne)}function xe($e){if(oe.value)return;const Ne=$e.target;pe("change",he(Ne.checked),$e)}async function Ce($e){oe.value||!ae.value&&!ie.value&&le.value&&($e.composedPath().some(Oe=>Oe.tagName==="LABEL")||(j.value=he([!1,$.falseLabel].includes(j.value)),await nextTick(),_e(j.value,$e)))}const Ie=computed(()=>(de==null?void 0:de.validateEvent)||$.validateEvent);return watch(()=>$.modelValue,()=>{Ie.value&&(ue==null||ue.validate("change").catch($e=>void 0))}),{handleChange:xe,onClickRoot:Ce}},useCheckboxModel=$=>{const j=ref(!1),{emit:oe}=getCurrentInstance(),ae=inject(checkboxGroupContextKey,void 0),ie=computed(()=>isUndefined$c(ae)===!1),le=ref(!1);return{model:computed({get(){var ue,pe;return ie.value?(ue=ae==null?void 0:ae.modelValue)==null?void 0:ue.value:(pe=$.modelValue)!=null?pe:j.value},set(ue){var pe,he;ie.value&&isArray$x(ue)?(le.value=((pe=ae==null?void 0:ae.max)==null?void 0:pe.value)!==void 0&&ue.length>(ae==null?void 0:ae.max.value),le.value===!1&&((he=ae==null?void 0:ae.changeEvent)==null||he.call(ae,ue))):(oe(UPDATE_MODEL_EVENT,ue),j.value=ue)}}),isGroup:ie,isLimitExceeded:le}},useCheckboxStatus=($,j,{model:oe})=>{const ae=inject(checkboxGroupContextKey,void 0),ie=ref(!1),le=computed(()=>{const he=oe.value;return isBoolean$5(he)?he:isArray$x(he)?isObject$8($.label)?he.map(toRaw).some(_e=>isEqual$4(_e,$.label)):he.map(toRaw).includes($.label):he!=null?he===$.trueLabel:!!he}),de=useFormSize(computed(()=>{var he;return(he=ae==null?void 0:ae.size)==null?void 0:he.value}),{prop:!0}),ue=useFormSize(computed(()=>{var he;return(he=ae==null?void 0:ae.size)==null?void 0:he.value})),pe=computed(()=>!!(j.default||$.label));return{checkboxButtonSize:de,isChecked:le,isFocused:ie,checkboxSize:ue,hasOwnLabel:pe}},setStoreValue=($,{model:j})=>{function oe(){isArray$x(j.value)&&!j.value.includes($.label)?j.value.push($.label):j.value=$.trueLabel||!0}$.checked&&oe()},useCheckbox=($,j)=>{const{formItem:oe}=useFormItem(),{model:ae,isGroup:ie,isLimitExceeded:le}=useCheckboxModel($),{isFocused:de,isChecked:ue,checkboxButtonSize:pe,checkboxSize:he,hasOwnLabel:_e}=useCheckboxStatus($,j,{model:ae}),{isDisabled:xe}=useCheckboxDisabled({model:ae,isChecked:ue}),{inputId:Ce,isLabeledByFormItem:Ie}=useFormItemInputId($,{formItemContext:oe,disableIdGeneration:_e,disableIdManagement:ie}),{handleChange:$e,onClickRoot:Ne}=useCheckboxEvent($,{model:ae,isLimitExceeded:le,hasOwnLabel:_e,isDisabled:xe,isLabeledByFormItem:Ie});return setStoreValue($,{model:ae}),{inputId:Ce,isLabeledByFormItem:Ie,isChecked:ue,isDisabled:xe,isFocused:de,checkboxButtonSize:pe,checkboxSize:he,hasOwnLabel:_e,model:ae,handleChange:$e,onClickRoot:Ne}},_hoisted_1$Y=["tabindex","role","aria-checked"],_hoisted_2$C=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],_hoisted_3$m=["id","aria-hidden","disabled","value","name","tabindex"],__default__$1d=defineComponent({name:"ElCheckbox"}),_sfc_main$1T=defineComponent({...__default__$1d,props:checkboxProps,emits:checkboxEmits,setup($){const j=$,oe=useSlots(),{inputId:ae,isLabeledByFormItem:ie,isChecked:le,isDisabled:de,isFocused:ue,checkboxSize:pe,hasOwnLabel:he,model:_e,handleChange:xe,onClickRoot:Ce}=useCheckbox(j,oe),Ie=useNamespace("checkbox"),$e=computed(()=>[Ie.b(),Ie.m(pe.value),Ie.is("disabled",de.value),Ie.is("bordered",j.border),Ie.is("checked",le.value)]),Ne=computed(()=>[Ie.e("input"),Ie.is("disabled",de.value),Ie.is("checked",le.value),Ie.is("indeterminate",j.indeterminate),Ie.is("focus",ue.value)]);return(Ve,Oe)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(he)&&unref(ie)?"span":"label"),{class:normalizeClass(unref($e)),"aria-controls":Ve.indeterminate?Ve.controls:null,onClick:unref(Ce)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(Ne)),tabindex:Ve.indeterminate?0:void 0,role:Ve.indeterminate?"checkbox":void 0,"aria-checked":Ve.indeterminate?"mixed":void 0},[Ve.trueLabel||Ve.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(ae),"onUpdate:modelValue":Oe[0]||(Oe[0]=Fe=>isRef(_e)?_e.value=Fe:null),class:normalizeClass(unref(Ie).e("original")),type:"checkbox","aria-hidden":Ve.indeterminate?"true":"false",name:Ve.name,tabindex:Ve.tabindex,disabled:unref(de),"true-value":Ve.trueLabel,"false-value":Ve.falseLabel,onChange:Oe[1]||(Oe[1]=(...Fe)=>unref(xe)&&unref(xe)(...Fe)),onFocus:Oe[2]||(Oe[2]=Fe=>ue.value=!0),onBlur:Oe[3]||(Oe[3]=Fe=>ue.value=!1)},null,42,_hoisted_2$C)),[[vModelCheckbox,unref(_e)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(ae),"onUpdate:modelValue":Oe[4]||(Oe[4]=Fe=>isRef(_e)?_e.value=Fe:null),class:normalizeClass(unref(Ie).e("original")),type:"checkbox","aria-hidden":Ve.indeterminate?"true":"false",disabled:unref(de),value:Ve.label,name:Ve.name,tabindex:Ve.tabindex,onChange:Oe[5]||(Oe[5]=(...Fe)=>unref(xe)&&unref(xe)(...Fe)),onFocus:Oe[6]||(Oe[6]=Fe=>ue.value=!0),onBlur:Oe[7]||(Oe[7]=Fe=>ue.value=!1)},null,42,_hoisted_3$m)),[[vModelCheckbox,unref(_e)]]),createBaseVNode("span",{class:normalizeClass(unref(Ie).e("inner"))},null,2)],10,_hoisted_1$Y),unref(he)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ie).e("label"))},[renderSlot(Ve.$slots,"default"),Ve.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(Ve.label),1)],64))],2)):createCommentVNode("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox$1=_export_sfc$1(_sfc_main$1T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const _hoisted_1$X=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$B=["name","tabindex","disabled","value"],__default__$1c=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1S=defineComponent({...__default__$1c,props:checkboxProps,emits:checkboxEmits,setup($){const j=$,oe=useSlots(),{isFocused:ae,isChecked:ie,isDisabled:le,checkboxButtonSize:de,model:ue,handleChange:pe}=useCheckbox(j,oe),he=inject(checkboxGroupContextKey,void 0),_e=useNamespace("checkbox"),xe=computed(()=>{var Ie,$e,Ne,Ve;const Oe=($e=(Ie=he==null?void 0:he.fill)==null?void 0:Ie.value)!=null?$e:"";return{backgroundColor:Oe,borderColor:Oe,color:(Ve=(Ne=he==null?void 0:he.textColor)==null?void 0:Ne.value)!=null?Ve:"",boxShadow:Oe?`-1px 0 0 0 ${Oe}`:void 0}}),Ce=computed(()=>[_e.b("button"),_e.bm("button",de.value),_e.is("disabled",le.value),_e.is("checked",ie.value),_e.is("focus",ae.value)]);return(Ie,$e)=>(openBlock(),createElementBlock("label",{class:normalizeClass(unref(Ce))},[Ie.trueLabel||Ie.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":$e[0]||($e[0]=Ne=>isRef(ue)?ue.value=Ne:null),class:normalizeClass(unref(_e).be("button","original")),type:"checkbox",name:Ie.name,tabindex:Ie.tabindex,disabled:unref(le),"true-value":Ie.trueLabel,"false-value":Ie.falseLabel,onChange:$e[1]||($e[1]=(...Ne)=>unref(pe)&&unref(pe)(...Ne)),onFocus:$e[2]||($e[2]=Ne=>ae.value=!0),onBlur:$e[3]||($e[3]=Ne=>ae.value=!1)},null,42,_hoisted_1$X)),[[vModelCheckbox,unref(ue)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":$e[4]||($e[4]=Ne=>isRef(ue)?ue.value=Ne:null),class:normalizeClass(unref(_e).be("button","original")),type:"checkbox",name:Ie.name,tabindex:Ie.tabindex,disabled:unref(le),value:Ie.label,onChange:$e[5]||($e[5]=(...Ne)=>unref(pe)&&unref(pe)(...Ne)),onFocus:$e[6]||($e[6]=Ne=>ae.value=!0),onBlur:$e[7]||($e[7]=Ne=>ae.value=!1)},null,42,_hoisted_2$B)),[[vModelCheckbox,unref(ue)]]),Ie.$slots.default||Ie.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(_e).be("button","inner")),style:normalizeStyle(unref(ie)?unref(xe):void 0)},[renderSlot(Ie.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ie.label),1)])],6)):createCommentVNode("v-if",!0)],2))}});var CheckboxButton=_export_sfc$1(_sfc_main$1S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:useSizeProp,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:$=>isArray$x($),change:$=>isArray$x($)},__default__$1b=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1R=defineComponent({...__default__$1b,props:checkboxGroupProps,emits:checkboxGroupEmits,setup($,{emit:j}){const oe=$,ae=useNamespace("checkbox"),{formItem:ie}=useFormItem(),{inputId:le,isLabeledByFormItem:de}=useFormItemInputId(oe,{formItemContext:ie}),ue=async he=>{j(UPDATE_MODEL_EVENT,he),await nextTick(),j("change",he)},pe=computed({get(){return oe.modelValue},set(he){ue(he)}});return provide(checkboxGroupContextKey,{...pick$3(toRefs(oe),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:pe,changeEvent:ue}),watch(()=>oe.modelValue,()=>{oe.validateEvent&&(ie==null||ie.validate("change").catch(he=>void 0))}),(he,_e)=>{var xe;return openBlock(),createBlock(resolveDynamicComponent(he.tag),{id:unref(le),class:normalizeClass(unref(ae).b("group")),role:"group","aria-label":unref(de)?void 0:he.label||"checkbox-group","aria-labelledby":unref(de)?(xe=unref(ie))==null?void 0:xe.labelId:void 0},{default:withCtx(()=>[renderSlot(he.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup$1=_export_sfc$1(_sfc_main$1R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox$1,{CheckboxButton,CheckboxGroup:CheckboxGroup$1}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup$1),radioPropsBase=buildProps({size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),radioProps=buildProps({...radioPropsBase,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:$=>isString$d($)||isNumber$d($)||isBoolean$5($),[CHANGE_EVENT]:$=>isString$d($)||isNumber$d($)||isBoolean$5($)},radioGroupKey=Symbol("radioGroupKey"),useRadio=($,j)=>{const oe=ref(),ae=inject(radioGroupKey,void 0),ie=computed(()=>!!ae),le=computed({get(){return ie.value?ae.modelValue:$.modelValue},set(_e){ie.value?ae.changeEvent(_e):j&&j(UPDATE_MODEL_EVENT,_e),oe.value.checked=$.modelValue===$.label}}),de=useFormSize(computed(()=>ae==null?void 0:ae.size)),ue=useFormDisabled(computed(()=>ae==null?void 0:ae.disabled)),pe=ref(!1),he=computed(()=>ue.value||ie.value&&le.value!==$.label?-1:0);return{radioRef:oe,isGroup:ie,radioGroup:ae,focus:pe,size:de,disabled:ue,tabIndex:he,modelValue:le}},_hoisted_1$W=["value","name","disabled"],__default__$1a=defineComponent({name:"ElRadio"}),_sfc_main$1Q=defineComponent({...__default__$1a,props:radioProps,emits:radioEmits,setup($,{emit:j}){const oe=$,ae=useNamespace("radio"),{radioRef:ie,radioGroup:le,focus:de,size:ue,disabled:pe,modelValue:he}=useRadio(oe,j);function _e(){nextTick(()=>j("change",he.value))}return(xe,Ce)=>{var Ie;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(ae).b(),unref(ae).is("disabled",unref(pe)),unref(ae).is("focus",unref(de)),unref(ae).is("bordered",xe.border),unref(ae).is("checked",unref(he)===xe.label),unref(ae).m(unref(ue))])},[createBaseVNode("span",{class:normalizeClass([unref(ae).e("input"),unref(ae).is("disabled",unref(pe)),unref(ae).is("checked",unref(he)===xe.label)])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:ie,"onUpdate:modelValue":Ce[0]||(Ce[0]=$e=>isRef(he)?he.value=$e:null),class:normalizeClass(unref(ae).e("original")),value:xe.label,name:xe.name||((Ie=unref(le))==null?void 0:Ie.name),disabled:unref(pe),type:"radio",onFocus:Ce[1]||(Ce[1]=$e=>de.value=!0),onBlur:Ce[2]||(Ce[2]=$e=>de.value=!1),onChange:_e},null,42,_hoisted_1$W),[[vModelRadio,unref(he)]]),createBaseVNode("span",{class:normalizeClass(unref(ae).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(ae).e("label")),onKeydown:Ce[3]||(Ce[3]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(xe.label),1)])],34)],2)}}});var Radio$1=_export_sfc$1(_sfc_main$1Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase,name:{type:String,default:""}}),_hoisted_1$V=["value","name","disabled"],__default__$19=defineComponent({name:"ElRadioButton"}),_sfc_main$1P=defineComponent({...__default__$19,props:radioButtonProps,setup($){const j=$,oe=useNamespace("radio"),{radioRef:ae,focus:ie,size:le,disabled:de,modelValue:ue,radioGroup:pe}=useRadio(j),he=computed(()=>({backgroundColor:(pe==null?void 0:pe.fill)||"",borderColor:(pe==null?void 0:pe.fill)||"",boxShadow:pe!=null&&pe.fill?`-1px 0 0 0 ${pe.fill}`:"",color:(pe==null?void 0:pe.textColor)||""}));return(_e,xe)=>{var Ce;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(oe).b("button"),unref(oe).is("active",unref(ue)===_e.label),unref(oe).is("disabled",unref(de)),unref(oe).is("focus",unref(ie)),unref(oe).bm("button",unref(le))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:ae,"onUpdate:modelValue":xe[0]||(xe[0]=Ie=>isRef(ue)?ue.value=Ie:null),class:normalizeClass(unref(oe).be("button","original-radio")),value:_e.label,type:"radio",name:_e.name||((Ce=unref(pe))==null?void 0:Ce.name),disabled:unref(de),onFocus:xe[1]||(xe[1]=Ie=>ie.value=!0),onBlur:xe[2]||(xe[2]=Ie=>ie.value=!1)},null,42,_hoisted_1$V),[[vModelRadio,unref(ue)]]),createBaseVNode("span",{class:normalizeClass(unref(oe).be("button","inner")),style:normalizeStyle(unref(ue)===_e.label?unref(he):{}),onKeydown:xe[3]||(xe[3]=withModifiers(()=>{},["stop"]))},[renderSlot(_e.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(_e.label),1)])],38)],2)}}});var RadioButton$1=_export_sfc$1(_sfc_main$1P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),radioGroupEmits=radioEmits,_hoisted_1$U=["id","aria-label","aria-labelledby"],__default__$18=defineComponent({name:"ElRadioGroup"}),_sfc_main$1O=defineComponent({...__default__$18,props:radioGroupProps,emits:radioGroupEmits,setup($,{emit:j}){const oe=$,ae=useNamespace("radio"),ie=useId(),le=ref(),{formItem:de}=useFormItem(),{inputId:ue,isLabeledByFormItem:pe}=useFormItemInputId(oe,{formItemContext:de}),he=xe=>{j(UPDATE_MODEL_EVENT,xe),nextTick(()=>j("change",xe))};onMounted(()=>{const xe=le.value.querySelectorAll("[type=radio]"),Ce=xe[0];!Array.from(xe).some(Ie=>Ie.checked)&&Ce&&(Ce.tabIndex=0)});const _e=computed(()=>oe.name||ie.value);return provide(radioGroupKey,reactive({...toRefs(oe),changeEvent:he,name:_e})),watch(()=>oe.modelValue,()=>{oe.validateEvent&&(de==null||de.validate("change").catch(xe=>void 0))}),(xe,Ce)=>(openBlock(),createElementBlock("div",{id:unref(ue),ref_key:"radioGroupRef",ref:le,class:normalizeClass(unref(ae).b("group")),role:"radiogroup","aria-label":unref(pe)?void 0:xe.label||"radio-group","aria-labelledby":unref(pe)?unref(de).labelId:void 0},[renderSlot(xe.$slots,"default")],10,_hoisted_1$U))}});var RadioGroup$1=_export_sfc$1(_sfc_main$1O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const ElRadio=withInstall(Radio$1,{RadioButton:RadioButton$1,RadioGroup:RadioGroup$1}),ElRadioGroup=withNoopInstall(RadioGroup$1),ElRadioButton=withNoopInstall(RadioButton$1);var NodeContent$1=defineComponent({name:"NodeContent",setup(){return{ns:useNamespace("cascader-node")}},render(){const{ns:$}=this,{node:j,panel:oe}=this.$parent,{data:ae,label:ie}=j,{renderLabelFn:le}=oe;return h$2("span",{class:$.e("label")},le?le({node:j,data:ae}):ie)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1N=defineComponent({name:"ElCascaderNode",components:{ElCheckbox,ElRadio,NodeContent:NodeContent$1,ElIcon,Check:check_default,Loading:loading_default,ArrowRight:arrow_right_default},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup($,{emit:j}){const oe=inject(CASCADER_PANEL_INJECTION_KEY),ae=useNamespace("cascader-node"),ie=computed(()=>oe.isHoverMenu),le=computed(()=>oe.config.multiple),de=computed(()=>oe.config.checkStrictly),ue=computed(()=>{var hn;return(hn=oe.checkedNodes[0])==null?void 0:hn.uid}),pe=computed(()=>$.node.isDisabled),he=computed(()=>$.node.isLeaf),_e=computed(()=>de.value&&!he.value||!pe.value),xe=computed(()=>Ie(oe.expandingNode)),Ce=computed(()=>de.value&&oe.checkedNodes.some(Ie)),Ie=hn=>{var vn;const{level:bn,uid:_n}=$.node;return((vn=hn==null?void 0:hn.pathNodes[bn-1])==null?void 0:vn.uid)===_n},$e=()=>{xe.value||oe.expandNode($.node)},Ne=hn=>{const{node:vn}=$;hn!==vn.checked&&oe.handleCheckChange(vn,hn)},Ve=()=>{oe.lazyLoad($.node,()=>{he.value||$e()})},Oe=hn=>{ie.value&&(Fe(),!he.value&&j("expand",hn))},Fe=()=>{const{node:hn}=$;!_e.value||hn.loading||(hn.loaded?$e():Ve())},ze=()=>{ie.value&&!he.value||(he.value&&!pe.value&&!de.value&&!le.value?qe(!0):Fe())},Ue=hn=>{de.value?(Ne(hn),$.node.loaded&&$e()):qe(hn)},qe=hn=>{$.node.loaded?(Ne(hn),!de.value&&$e()):Ve()};return{panel:oe,isHoverMenu:ie,multiple:le,checkStrictly:de,checkedNodeId:ue,isDisabled:pe,isLeaf:he,expandable:_e,inExpandingPath:xe,inCheckedPath:Ce,ns:ae,handleHoverExpand:Oe,handleExpand:Fe,handleClick:ze,handleCheck:qe,handleSelectCheck:Ue}}}),_hoisted_1$T=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$A=createBaseVNode("span",null,null,-1);function _sfc_render$u($,j,oe,ae,ie,le){const de=resolveComponent("el-checkbox"),ue=resolveComponent("el-radio"),pe=resolveComponent("check"),he=resolveComponent("el-icon"),_e=resolveComponent("node-content"),xe=resolveComponent("loading"),Ce=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${$.menuId}-${$.node.uid}`,role:"menuitem","aria-haspopup":!$.isLeaf,"aria-owns":$.isLeaf?null:$.menuId,"aria-expanded":$.inExpandingPath,tabindex:$.expandable?-1:void 0,class:normalizeClass([$.ns.b(),$.ns.is("selectable",$.checkStrictly),$.ns.is("active",$.node.checked),$.ns.is("disabled",!$.expandable),$.inExpandingPath&&"in-active-path",$.inCheckedPath&&"in-checked-path"]),onMouseenter:j[2]||(j[2]=(...Ie)=>$.handleHoverExpand&&$.handleHoverExpand(...Ie)),onFocus:j[3]||(j[3]=(...Ie)=>$.handleHoverExpand&&$.handleHoverExpand(...Ie)),onClick:j[4]||(j[4]=(...Ie)=>$.handleClick&&$.handleClick(...Ie))},[createCommentVNode(" prefix "),$.multiple?(openBlock(),createBlock(de,{key:0,"model-value":$.node.checked,indeterminate:$.node.indeterminate,disabled:$.isDisabled,onClick:j[0]||(j[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":$.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):$.checkStrictly?(openBlock(),createBlock(ue,{key:1,"model-value":$.checkedNodeId,label:$.node.uid,disabled:$.isDisabled,"onUpdate:modelValue":$.handleSelectCheck,onClick:j[1]||(j[1]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createCommentVNode(` + Add an empty element to avoid render label, + do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 + `),_hoisted_2$A]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):$.isLeaf&&$.node.checked?(openBlock(),createBlock(he,{key:2,class:normalizeClass($.ns.e("prefix"))},{default:withCtx(()=>[createVNode(pe)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(_e),createCommentVNode(" postfix "),$.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[$.node.loading?(openBlock(),createBlock(he,{key:0,class:normalizeClass([$.ns.is("loading"),$.ns.e("postfix")])},{default:withCtx(()=>[createVNode(xe)]),_:1},8,["class"])):(openBlock(),createBlock(he,{key:1,class:normalizeClass(["arrow-right",$.ns.e("postfix")])},{default:withCtx(()=>[createVNode(Ce)]),_:1},8,["class"]))],64))],42,_hoisted_1$T)}var ElCascaderNode=_export_sfc$1(_sfc_main$1N,[["render",_sfc_render$u],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const _sfc_main$1M=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup($){const j=getCurrentInstance(),oe=useNamespace("cascader-menu"),{t:ae}=useLocale(),ie=generateId();let le=null,de=null;const ue=inject(CASCADER_PANEL_INJECTION_KEY),pe=ref(null),he=computed(()=>!$.nodes.length),_e=computed(()=>!ue.initialLoaded),xe=computed(()=>`cascader-menu-${ie}-${$.index}`),Ce=Ve=>{le=Ve.target},Ie=Ve=>{if(!(!ue.isHoverMenu||!le||!pe.value))if(le.contains(Ve.target)){$e();const Oe=j.vnode.el,{left:Fe}=Oe.getBoundingClientRect(),{offsetWidth:ze,offsetHeight:Ue}=Oe,qe=Ve.clientX-Fe,hn=le.offsetTop,vn=hn+le.offsetHeight;pe.value.innerHTML=` + + + `}else de||(de=window.setTimeout(Ne,ue.config.hoverThreshold))},$e=()=>{de&&(clearTimeout(de),de=null)},Ne=()=>{pe.value&&(pe.value.innerHTML="",$e())};return{ns:oe,panel:ue,hoverZone:pe,isEmpty:he,isLoading:_e,menuId:xe,t:ae,handleExpand:Ce,handleMouseMove:Ie,clearHoverZone:Ne}}});function _sfc_render$t($,j,oe,ae,ie,le){const de=resolveComponent("el-cascader-node"),ue=resolveComponent("loading"),pe=resolveComponent("el-icon"),he=resolveComponent("el-scrollbar");return openBlock(),createBlock(he,{key:$.menuId,tag:"ul",role:"menu",class:normalizeClass($.ns.b()),"wrap-class":$.ns.e("wrap"),"view-class":[$.ns.e("list"),$.ns.is("empty",$.isEmpty)],onMousemove:$.handleMouseMove,onMouseleave:$.clearHoverZone},{default:withCtx(()=>{var _e;return[(openBlock(!0),createElementBlock(Fragment,null,renderList($.nodes,xe=>(openBlock(),createBlock(de,{key:xe.uid,node:xe,"menu-id":$.menuId,onExpand:$.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),$.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass($.ns.e("empty-text"))},[createVNode(pe,{size:"14",class:normalizeClass($.ns.is("loading"))},{default:withCtx(()=>[createVNode(ue)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString$1($.t("el.cascader.loading")),1)],2)):$.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass($.ns.e("empty-text"))},toDisplayString$1($.t("el.cascader.noData")),3)):(_e=$.panel)!=null&&_e.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass($.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$1M,[["render",_sfc_render$t],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);let uid=0;const calculatePathNodes=$=>{const j=[$];let{parent:oe}=$;for(;oe;)j.unshift(oe),oe=oe.parent;return j};let Node$2=class Ic{constructor(j,oe,ae,ie=!1){this.data=j,this.config=oe,this.parent=ae,this.root=ie,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:le,label:de,children:ue}=oe,pe=j[ue],he=calculatePathNodes(this);this.level=ie?0:ae?ae.level+1:1,this.value=j[le],this.label=j[de],this.pathNodes=he,this.pathValues=he.map(_e=>_e.value),this.pathLabels=he.map(_e=>_e.label),this.childrenData=pe,this.children=(pe||[]).map(_e=>new Ic(_e,oe,this)),this.loaded=!oe.lazy||this.isLeaf||!isEmpty$3(pe)}get isDisabled(){const{data:j,parent:oe,config:ae}=this,{disabled:ie,checkStrictly:le}=ae;return(isFunction$h(ie)?ie(j,this):!!j[ie])||!le&&(oe==null?void 0:oe.isDisabled)}get isLeaf(){const{data:j,config:oe,childrenData:ae,loaded:ie}=this,{lazy:le,leaf:de}=oe,ue=isFunction$h(de)?de(j,this):j[de];return isUndefined$c(ue)?le&&!ie?!1:!(Array.isArray(ae)&&ae.length):!!ue}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(j){const{childrenData:oe,children:ae}=this,ie=new Ic(j,this.config,this);return Array.isArray(oe)?oe.push(j):this.childrenData=[j],ae.push(ie),ie}calcText(j,oe){const ae=j?this.pathLabels.join(oe):this.label;return this.text=ae,ae}broadcast(j,...oe){const ae=`onParent${capitalize$1(j)}`;this.children.forEach(ie=>{ie&&(ie.broadcast(j,...oe),ie[ae]&&ie[ae](...oe))})}emit(j,...oe){const{parent:ae}=this,ie=`onChild${capitalize$1(j)}`;ae&&(ae[ie]&&ae[ie](...oe),ae.emit(j,...oe))}onParentCheck(j){this.isDisabled||this.setCheckState(j)}onChildCheck(){const{children:j}=this,oe=j.filter(ie=>!ie.isDisabled),ae=oe.length?oe.every(ie=>ie.checked):!1;this.setCheckState(ae)}setCheckState(j){const oe=this.children.length,ae=this.children.reduce((ie,le)=>{const de=le.checked?1:le.indeterminate?.5:0;return ie+de},0);this.checked=this.loaded&&this.children.filter(ie=>!ie.isDisabled).every(ie=>ie.loaded&&ie.checked)&&j,this.indeterminate=this.loaded&&ae!==oe&&ae>0}doCheck(j){if(this.checked===j)return;const{checkStrictly:oe,multiple:ae}=this.config;oe||!ae?this.checked=j:(this.broadcast("check",j),this.setCheckState(j),this.emit("check"))}};const flatNodes=($,j)=>$.reduce((oe,ae)=>(ae.isLeaf?oe.push(ae):(!j&&oe.push(ae),oe=oe.concat(flatNodes(ae.children,j))),oe),[]);let Store$1=class{constructor(j,oe){this.config=oe;const ae=(j||[]).map(ie=>new Node$2(ie,this.config));this.nodes=ae,this.allNodes=flatNodes(ae,!1),this.leafNodes=flatNodes(ae,!0)}getNodes(){return this.nodes}getFlattedNodes(j){return j?this.leafNodes:this.allNodes}appendNode(j,oe){const ae=oe?oe.appendChild(j):new Node$2(j,this.config);oe||this.nodes.push(ae),this.allNodes.push(ae),ae.isLeaf&&this.leafNodes.push(ae)}appendNodes(j,oe){j.forEach(ae=>this.appendNode(ae,oe))}getNodeByValue(j,oe=!1){return!j&&j!==0?null:this.getFlattedNodes(oe).find(ie=>isEqual$4(ie.value,j)||isEqual$4(ie.pathValues,j))||null}getSameNode(j){return j&&this.getFlattedNodes(!1).find(({value:ae,level:ie})=>isEqual$4(j.value,ae)&&j.level===ie)||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=$=>computed(()=>({...DefaultProps,...$.props})),getMenuIndex=$=>{if(!$)return 0;const j=$.id.split("-");return Number(j[j.length-2])},checkNode=$=>{if(!$)return;const j=$.querySelector("input");j?j.click():isLeaf($)&&$.click()},sortByOriginalOrder=($,j)=>{const oe=j.slice(0),ae=oe.map(le=>le.uid),ie=$.reduce((le,de)=>{const ue=ae.indexOf(de.uid);return ue>-1&&(le.push(de),oe.splice(ue,1),ae.splice(ue,1)),le},[]);return ie.push(...oe),ie},_sfc_main$1L=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup($,{emit:j,slots:oe}){let ae=!1;const ie=useNamespace("cascader"),le=useCascaderConfig($);let de=null;const ue=ref(!0),pe=ref([]),he=ref(null),_e=ref([]),xe=ref(null),Ce=ref([]),Ie=computed(()=>le.value.expandTrigger==="hover"),$e=computed(()=>$.renderLabel||oe.default),Ne=()=>{const{options:$n}=$,Cn=le.value;ae=!1,de=new Store$1($n,Cn),_e.value=[de.getNodes()],Cn.lazy&&isEmpty$3($.options)?(ue.value=!1,Ve(void 0,En=>{En&&(de=new Store$1(En,Cn),_e.value=[de.getNodes()]),ue.value=!0,bn(!1,!0)})):bn(!1,!0)},Ve=($n,Cn)=>{const En=le.value;$n=$n||new Node$2({},En,void 0,!0),$n.loading=!0;const Nn=Sn=>{const wn=$n,On=wn.root?null:wn;Sn&&(de==null||de.appendNodes(Sn,On)),wn.loading=!1,wn.loaded=!0,wn.childrenData=wn.childrenData||[],Cn&&Cn(Sn)};En.lazyLoad($n,Nn)},Oe=($n,Cn)=>{var En;const{level:Nn}=$n,Sn=_e.value.slice(0,Nn);let wn;$n.isLeaf?wn=$n.pathNodes[Nn-2]:(wn=$n,Sn.push($n.children)),((En=xe.value)==null?void 0:En.uid)!==(wn==null?void 0:wn.uid)&&(xe.value=$n,_e.value=Sn,!Cn&&j("expand-change",($n==null?void 0:$n.pathValues)||[]))},Fe=($n,Cn,En=!0)=>{const{checkStrictly:Nn,multiple:Sn}=le.value,wn=Ce.value[0];ae=!0,!Sn&&(wn==null||wn.doCheck(!1)),$n.doCheck(Cn),vn(),En&&!Sn&&!Nn&&j("close"),!En&&!Sn&&!Nn&&ze($n)},ze=$n=>{$n&&($n=$n.parent,ze($n),$n&&Oe($n))},Ue=$n=>de==null?void 0:de.getFlattedNodes($n),qe=$n=>{var Cn;return(Cn=Ue($n))==null?void 0:Cn.filter(En=>En.checked!==!1)},hn=()=>{Ce.value.forEach($n=>$n.doCheck(!1)),vn(),_e.value=_e.value.slice(0,1),xe.value=null,j("expand-change",[])},vn=()=>{var $n;const{checkStrictly:Cn,multiple:En}=le.value,Nn=Ce.value,Sn=qe(!Cn),wn=sortByOriginalOrder(Nn,Sn),On=wn.map(Tn=>Tn.valueByOption);Ce.value=wn,he.value=En?On:($n=On[0])!=null?$n:null},bn=($n=!1,Cn=!1)=>{const{modelValue:En}=$,{lazy:Nn,multiple:Sn,checkStrictly:wn}=le.value,On=!wn;if(!(!ue.value||ae||!Cn&&isEqual$4(En,he.value)))if(Nn&&!$n){const In=unique(flattenDeep$1(castArray(En))).map(Bn=>de==null?void 0:de.getNodeByValue(Bn)).filter(Bn=>!!Bn&&!Bn.loaded&&!Bn.loading);In.length?In.forEach(Bn=>{Ve(Bn,()=>bn(!1,Cn))}):bn(!0,Cn)}else{const Tn=Sn?castArray(En):[En],In=unique(Tn.map(Bn=>de==null?void 0:de.getNodeByValue(Bn,On)));_n(In,Cn),he.value=cloneDeep(En)}},_n=($n,Cn=!0)=>{const{checkStrictly:En}=le.value,Nn=Ce.value,Sn=$n.filter(Tn=>!!Tn&&(En||Tn.isLeaf)),wn=de==null?void 0:de.getSameNode(xe.value),On=Cn&&wn||Sn[0];On?On.pathNodes.forEach(Tn=>Oe(Tn,!0)):xe.value=null,Nn.forEach(Tn=>Tn.doCheck(!1)),Sn.forEach(Tn=>Tn.doCheck(!0)),Ce.value=Sn,nextTick(kn)},kn=()=>{isClient&&pe.value.forEach($n=>{const Cn=$n==null?void 0:$n.$el;if(Cn){const En=Cn.querySelector(`.${ie.namespace.value}-scrollbar__wrap`),Nn=Cn.querySelector(`.${ie.b("node")}.${ie.is("active")}`)||Cn.querySelector(`.${ie.b("node")}.in-active-path`);scrollIntoView$1(En,Nn)}})},xn=$n=>{const Cn=$n.target,{code:En}=$n;switch(En){case EVENT_CODE.up:case EVENT_CODE.down:{$n.preventDefault();const Nn=En===EVENT_CODE.up?-1:1;focusNode(getSibling(Cn,Nn,`.${ie.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{$n.preventDefault();const Nn=pe.value[getMenuIndex(Cn)-1],Sn=Nn==null?void 0:Nn.$el.querySelector(`.${ie.b("node")}[aria-expanded="true"]`);focusNode(Sn);break}case EVENT_CODE.right:{$n.preventDefault();const Nn=pe.value[getMenuIndex(Cn)+1],Sn=Nn==null?void 0:Nn.$el.querySelector(`.${ie.b("node")}[tabindex="-1"]`);focusNode(Sn);break}case EVENT_CODE.enter:checkNode(Cn);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:le,expandingNode:xe,checkedNodes:Ce,isHoverMenu:Ie,initialLoaded:ue,renderLabelFn:$e,lazyLoad:Ve,expandNode:Oe,handleCheckChange:Fe})),watch([le,()=>$.options],Ne,{deep:!0,immediate:!0}),watch(()=>$.modelValue,()=>{ae=!1,bn()},{deep:!0}),watch(()=>he.value,$n=>{isEqual$4($n,$.modelValue)||(j(UPDATE_MODEL_EVENT,$n),j(CHANGE_EVENT,$n))}),onBeforeUpdate(()=>pe.value=[]),onMounted(()=>!isEmpty$3($.modelValue)&&bn()),{ns:ie,menuList:pe,menus:_e,checkedNodes:Ce,handleKeyDown:xn,handleCheckChange:Fe,getFlattedNodes:Ue,getCheckedNodes:qe,clearCheckedNodes:hn,calculateCheckedValue:vn,scrollToExpandingNode:kn}}});function _sfc_render$s($,j,oe,ae,ie,le){const de=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([$.ns.b("panel"),$.ns.is("bordered",$.border)]),onKeydown:j[0]||(j[0]=(...ue)=>$.handleKeyDown&&$.handleKeyDown(...ue))},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.menus,(ue,pe)=>(openBlock(),createBlock(de,{key:pe,ref_for:!0,ref:he=>$.menuList[pe]=he,index:pe,nodes:[...ue]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$1(_sfc_main$1L,[["render",_sfc_render$s],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);CascaderPanel.install=$=>{$.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({closable:Boolean,type:{type:String,values:["success","info","warning","danger",""],default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,values:componentSizes,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:$=>$ instanceof MouseEvent,click:$=>$ instanceof MouseEvent},__default__$17=defineComponent({name:"ElTag"}),_sfc_main$1K=defineComponent({...__default__$17,props:tagProps,emits:tagEmits,setup($,{emit:j}){const oe=$,ae=useFormSize(),ie=useNamespace("tag"),le=computed(()=>{const{type:pe,hit:he,effect:_e,closable:xe,round:Ce}=oe;return[ie.b(),ie.is("closable",xe),ie.m(pe),ie.m(ae.value),ie.m(_e),ie.is("hit",he),ie.is("round",Ce)]}),de=pe=>{j("close",pe)},ue=pe=>{j("click",pe)};return(pe,he)=>pe.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(le)),style:normalizeStyle({backgroundColor:pe.color}),onClick:ue},[createBaseVNode("span",{class:normalizeClass(unref(ie).e("content"))},[renderSlot(pe.$slots,"default")],2),pe.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("close")),onClick:withModifiers(de,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(ie).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(le)),style:normalizeStyle({backgroundColor:pe.color}),onClick:ue},[createBaseVNode("span",{class:normalizeClass(unref(ie).e("content"))},[renderSlot(pe.$slots,"default")],2),pe.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("close")),onClick:withModifiers(de,["stop"])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc$1(_sfc_main$1K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:($,j)=>$.text.includes(j)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),cascaderEmits={[UPDATE_MODEL_EVENT]:$=>!!$||$===null,[CHANGE_EVENT]:$=>!!$||$===null,focus:$=>$ instanceof FocusEvent,blur:$=>$ instanceof FocusEvent,visibleChange:$=>isBoolean$5($),expandChange:$=>!!$,removeTag:$=>!!$},_hoisted_1$S={key:0},_hoisted_2$z=["placeholder","onKeydown"],_hoisted_3$l=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$16=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1J=defineComponent({...__default__$16,props:cascaderProps,emits:cascaderEmits,setup($,{expose:j,emit:oe}){const ae=$,ie={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:vo})=>{const{modifiersData:Jn,placement:co}=vo;["right","left","bottom","top"].includes(co)||(Jn.arrow.x=35)},requires:["arrow"]}]},le=useAttrs$1();let de=0,ue=0;const pe=useNamespace("cascader"),he=useNamespace("input"),{t:_e}=useLocale(),{form:xe,formItem:Ce}=useFormItem(),Ie=ref(null),$e=ref(null),Ne=ref(null),Ve=ref(null),Oe=ref(null),Fe=ref(!1),ze=ref(!1),Ue=ref(!1),qe=ref(!1),hn=ref(""),vn=ref(""),bn=ref([]),_n=ref([]),kn=ref([]),xn=ref(!1),$n=computed(()=>le.style),Cn=computed(()=>ae.disabled||(xe==null?void 0:xe.disabled)),En=computed(()=>ae.placeholder||_e("el.cascader.placeholder")),Nn=computed(()=>vn.value||bn.value.length>0||xn.value?"":En.value),Sn=useFormSize(),wn=computed(()=>["small"].includes(Sn.value)?"small":"default"),On=computed(()=>!!ae.props.multiple),Tn=computed(()=>!ae.filterable||On.value),In=computed(()=>On.value?vn.value:hn.value),Bn=computed(()=>{var vo;return((vo=Ve.value)==null?void 0:vo.checkedNodes)||[]}),Dn=computed(()=>!ae.clearable||Cn.value||Ue.value||!ze.value?!1:!!Bn.value.length),Xn=computed(()=>{const{showAllLevels:vo,separator:Jn}=ae,co=Bn.value;return co.length?On.value?"":co[0].calcText(vo,Jn):""}),Zn=computed({get(){return cloneDeep(ae.modelValue)},set(vo){oe(UPDATE_MODEL_EVENT,vo),oe(CHANGE_EVENT,vo),ae.validateEvent&&(Ce==null||Ce.validate("change").catch(Jn=>void 0))}}),Fn=computed(()=>[pe.b(),pe.m(Sn.value),pe.is("disabled",Cn.value),le.class]),Yn=computed(()=>[he.e("icon"),"icon-arrow-down",pe.is("reverse",Fe.value)]),qn=computed(()=>pe.is("focus",Fe.value||qe.value)),Vn=computed(()=>{var vo,Jn;return(Jn=(vo=Ie.value)==null?void 0:vo.popperRef)==null?void 0:Jn.contentRef}),eo=vo=>{var Jn,co,$o;Cn.value||(vo=vo??!Fe.value,vo!==Fe.value&&(Fe.value=vo,(co=(Jn=$e.value)==null?void 0:Jn.input)==null||co.setAttribute("aria-expanded",`${vo}`),vo?(ho(),nextTick(($o=Ve.value)==null?void 0:$o.scrollToExpandingNode)):ae.filterable&&so(),oe("visibleChange",vo)))},ho=()=>{nextTick(()=>{var vo;(vo=Ie.value)==null||vo.updatePopper()})},So=()=>{Ue.value=!1},Ln=vo=>{const{showAllLevels:Jn,separator:co}=ae;return{node:vo,key:vo.uid,text:vo.calcText(Jn,co),hitState:!1,closable:!Cn.value&&!vo.isDisabled,isCollapseTag:!1}},Rn=vo=>{var Jn;const co=vo.node;co.doCheck(!1),(Jn=Ve.value)==null||Jn.calculateCheckedValue(),oe("removeTag",co.valueByOption)},Gn=()=>{if(!On.value)return;const vo=Bn.value,Jn=[],co=[];if(vo.forEach($o=>co.push(Ln($o))),_n.value=co,vo.length){const[$o,...No]=vo,jo=No.length;Jn.push(Ln($o)),jo&&(ae.collapseTags?Jn.push({key:-1,text:`+ ${jo}`,closable:!1,isCollapseTag:!0}):No.forEach(wo=>Jn.push(Ln(wo))))}bn.value=Jn},no=()=>{var vo,Jn;const{filterMethod:co,showAllLevels:$o,separator:No}=ae,jo=(Jn=(vo=Ve.value)==null?void 0:vo.getFlattedNodes(!ae.props.checkStrictly))==null?void 0:Jn.filter(wo=>wo.isDisabled?!1:(wo.calcText($o,No),co(wo,In.value)));On.value&&(bn.value.forEach(wo=>{wo.hitState=!1}),_n.value.forEach(wo=>{wo.hitState=!1})),Ue.value=!0,kn.value=jo,ho()},bo=()=>{var vo;let Jn;Ue.value&&Oe.value?Jn=Oe.value.$el.querySelector(`.${pe.e("suggestion-item")}`):Jn=(vo=Ve.value)==null?void 0:vo.$el.querySelector(`.${pe.b("node")}[tabindex="-1"]`),Jn&&(Jn.focus(),!Ue.value&&Jn.click())},Wn=()=>{var vo,Jn;const co=(vo=$e.value)==null?void 0:vo.input,$o=Ne.value,No=(Jn=Oe.value)==null?void 0:Jn.$el;if(!(!isClient||!co)){if(No){const jo=No.querySelector(`.${pe.e("suggestion-list")}`);jo.style.minWidth=`${co.offsetWidth}px`}if($o){const{offsetHeight:jo}=$o,wo=bn.value.length>0?`${Math.max(jo+6,de)}px`:`${de}px`;co.style.height=wo,ho()}}},lo=vo=>{var Jn;return(Jn=Ve.value)==null?void 0:Jn.getCheckedNodes(vo)},Qn=vo=>{ho(),oe("expandChange",vo)},ro=vo=>{var Jn;const co=(Jn=vo.target)==null?void 0:Jn.value;if(vo.type==="compositionend")xn.value=!1,nextTick(()=>fo(co));else{const $o=co[co.length-1]||"";xn.value=!isKorean($o)}},Hn=vo=>{if(!xn.value)switch(vo.code){case EVENT_CODE.enter:eo();break;case EVENT_CODE.down:eo(!0),nextTick(bo),vo.preventDefault();break;case EVENT_CODE.esc:Fe.value===!0&&(vo.preventDefault(),vo.stopPropagation(),eo(!1));break;case EVENT_CODE.tab:eo(!1);break}},uo=()=>{var vo;(vo=Ve.value)==null||vo.clearCheckedNodes(),!Fe.value&&ae.filterable&&so(),eo(!1)},so=()=>{const{value:vo}=Xn;hn.value=vo,vn.value=vo},yo=vo=>{var Jn,co;const{checked:$o}=vo;On.value?(Jn=Ve.value)==null||Jn.handleCheckChange(vo,!$o,!1):(!$o&&((co=Ve.value)==null||co.handleCheckChange(vo,!0,!1)),eo(!1))},to=vo=>{const Jn=vo.target,{code:co}=vo;switch(co){case EVENT_CODE.up:case EVENT_CODE.down:{const $o=co===EVENT_CODE.up?-1:1;focusNode(getSibling(Jn,$o,`.${pe.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:Jn.click();break}},go=()=>{const vo=bn.value,Jn=vo[vo.length-1];ue=vn.value?0:ue+1,!(!Jn||!ue||ae.collapseTags&&vo.length>1)&&(Jn.hitState?Rn(Jn):Jn.hitState=!0)},_o=vo=>{const Jn=vo.target,co=pe.e("search-input");Jn.className===co&&(qe.value=!0),oe("focus",vo)},To=vo=>{qe.value=!1,oe("blur",vo)},Un=debounce$2(()=>{const{value:vo}=In;if(!vo)return;const Jn=ae.beforeFilter(vo);isPromise(Jn)?Jn.then(no).catch(()=>{}):Jn!==!1?no():So()},ae.debounce),fo=(vo,Jn)=>{!Fe.value&&eo(!0),!(Jn!=null&&Jn.isComposing)&&(vo?Un():So())};return watch(Ue,ho),watch([Bn,Cn],Gn),watch(bn,()=>{nextTick(()=>Wn())}),watch(Xn,so,{immediate:!0}),onMounted(()=>{const vo=$e.value.input,Jn=Number.parseFloat(useCssVar(he.cssVarName("input-height"),vo).value)-2;de=vo.offsetHeight||Jn,useResizeObserver(vo,Wn)}),j({getCheckedNodes:lo,cascaderPanelRef:Ve,togglePopperVisible:eo,contentRef:Vn}),(vo,Jn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:Ie,visible:Fe.value,teleported:vo.teleported,"popper-class":[unref(pe).e("dropdown"),vo.popperClass],"popper-options":ie,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref(pe).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:So},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fn)),style:normalizeStyle(unref($n)),onClick:Jn[5]||(Jn[5]=()=>eo(unref(Tn)?void 0:!0)),onKeydown:Hn,onMouseenter:Jn[6]||(Jn[6]=co=>ze.value=!0),onMouseleave:Jn[7]||(Jn[7]=co=>ze.value=!1)},[createVNode(unref(ElInput),{ref_key:"input",ref:$e,modelValue:hn.value,"onUpdate:modelValue":Jn[1]||(Jn[1]=co=>hn.value=co),placeholder:unref(Nn),readonly:unref(Tn),disabled:unref(Cn),"validate-event":!1,size:unref(Sn),class:normalizeClass(unref(qn)),tabindex:unref(On)&&vo.filterable&&!unref(Cn)?-1:void 0,onCompositionstart:ro,onCompositionupdate:ro,onCompositionend:ro,onFocus:_o,onBlur:To,onInput:fo},{suffix:withCtx(()=>[unref(Dn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(he).e("icon"),"icon-circle-close"]),onClick:withModifiers(uo,["stop"])},{default:withCtx(()=>[createVNode(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(Yn)),onClick:Jn[0]||(Jn[0]=withModifiers(co=>eo(),["stop"]))},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(On)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:Ne,class:normalizeClass(unref(pe).e("tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(bn.value,co=>(openBlock(),createBlock(unref(ElTag),{key:co.key,type:vo.tagType,size:unref(wn),hit:co.hitState,closable:co.closable,"disable-transitions":"",onClose:$o=>Rn(co)},{default:withCtx(()=>[co.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$S,toDisplayString$1(co.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:Fe.value||!vo.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(co.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(pe).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(_n.value.slice(1),($o,No)=>(openBlock(),createElementBlock("div",{key:No,class:normalizeClass(unref(pe).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:$o.key,class:"in-tooltip",type:vo.tagType,size:unref(wn),hit:$o.hitState,closable:$o.closable,"disable-transitions":"",onClose:jo=>Rn($o)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1($o.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),vo.filterable&&!unref(Cn)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Jn[2]||(Jn[2]=co=>vn.value=co),type:"text",class:normalizeClass(unref(pe).e("search-input")),placeholder:unref(Xn)?"":unref(En),onInput:Jn[3]||(Jn[3]=co=>fo(vn.value,co)),onClick:Jn[4]||(Jn[4]=withModifiers(co=>eo(!0),["stop"])),onKeydown:withKeys(go,["delete"]),onCompositionstart:ro,onCompositionupdate:ro,onCompositionend:ro,onFocus:_o,onBlur:To},null,42,_hoisted_2$z)),[[vModelText,vn.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>eo(!1),unref(Vn)]])]),content:withCtx(()=>[withDirectives(createVNode(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Ve,modelValue:unref(Zn),"onUpdate:modelValue":Jn[8]||(Jn[8]=co=>isRef(Zn)?Zn.value=co:null),options:vo.options,props:ae.props,border:!1,"render-label":vo.$slots.default,onExpandChange:Qn,onClose:Jn[9]||(Jn[9]=co=>vo.$nextTick(()=>eo(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!Ue.value]]),vo.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:Oe,tag:"ul",class:normalizeClass(unref(pe).e("suggestion-panel")),"view-class":unref(pe).e("suggestion-list"),onKeydown:to},{default:withCtx(()=>[kn.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(kn.value,co=>(openBlock(),createElementBlock("li",{key:co.uid,class:normalizeClass([unref(pe).e("suggestion-item"),unref(pe).is("checked",co.checked)]),tabindex:-1,onClick:$o=>yo(co)},[createBaseVNode("span",null,toDisplayString$1(co.text),1),co.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$l))),128)):renderSlot(vo.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(pe).e("empty-text"))},toDisplayString$1(unref(_e)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,Ue.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc$1(_sfc_main$1J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);Cascader.install=$=>{$.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1}}),checkTagEmits={"update:checked":$=>isBoolean$5($),[CHANGE_EVENT]:$=>isBoolean$5($)},__default__$15=defineComponent({name:"ElCheckTag"}),_sfc_main$1I=defineComponent({...__default__$15,props:checkTagProps,emits:checkTagEmits,setup($,{emit:j}){const oe=$,ae=useNamespace("check-tag"),ie=()=>{const le=!oe.checked;j(CHANGE_EVENT,le),j("update:checked",le)};return(le,de)=>(openBlock(),createElementBlock("span",{class:normalizeClass([unref(ae).b(),unref(ae).is("checked",le.checked)]),onClick:ie},[renderSlot(le.$slots,"default")],2))}});var CheckTag=_export_sfc$1(_sfc_main$1I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),rowContextKey=Symbol("rowContextKey"),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:"top"}}),__default__$14=defineComponent({name:"ElRow"}),_sfc_main$1H=defineComponent({...__default__$14,props:rowProps,setup($){const j=$,oe=useNamespace("row"),ae=computed(()=>j.gutter);provide(rowContextKey,{gutter:ae});const ie=computed(()=>{const de={};return j.gutter&&(de.marginRight=de.marginLeft=`-${j.gutter/2}px`),de}),le=computed(()=>[oe.b(),oe.is(`justify-${j.justify}`,j.justify!=="start"),oe.is(`align-${j.align}`,j.align!=="top")]);return(de,ue)=>(openBlock(),createBlock(resolveDynamicComponent(de.tag),{class:normalizeClass(unref(le)),style:normalizeStyle(unref(ie))},{default:withCtx(()=>[renderSlot(de.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$1H,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const ElRow=withInstall(Row),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({})}}),__default__$13=defineComponent({name:"ElCol"}),_sfc_main$1G=defineComponent({...__default__$13,props:colProps,setup($){const j=$,{gutter:oe}=inject(rowContextKey,{gutter:computed(()=>0)}),ae=useNamespace("col"),ie=computed(()=>{const de={};return oe.value&&(de.paddingLeft=de.paddingRight=`${oe.value/2}px`),de}),le=computed(()=>{const de=[];return["span","offset","pull","push"].forEach(he=>{const _e=j[he];isNumber$d(_e)&&(he==="span"?de.push(ae.b(`${j[he]}`)):_e>0&&de.push(ae.b(`${he}-${j[he]}`)))}),["xs","sm","md","lg","xl"].forEach(he=>{isNumber$d(j[he])?de.push(ae.b(`${he}-${j[he]}`)):isObject$8(j[he])&&Object.entries(j[he]).forEach(([_e,xe])=>{de.push(_e!=="span"?ae.b(`${he}-${_e}-${xe}`):ae.b(`${he}-${xe}`))})}),oe.value&&de.push(ae.is("guttered")),[ae.b(),de]});return(de,ue)=>(openBlock(),createBlock(resolveDynamicComponent(de.tag),{class:normalizeClass(unref(le)),style:normalizeStyle(unref(ie))},{default:withCtx(()=>[renderSlot(de.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$1G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=$=>typeof isNumber$d($),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=($,j)=>{const oe=ref(castArray$1($.modelValue)),ae=le=>{oe.value=le;const de=$.accordion?oe.value[0]:oe.value;j(UPDATE_MODEL_EVENT,de),j(CHANGE_EVENT,de)},ie=le=>{if($.accordion)ae([oe.value[0]===le?"":le]);else{const de=[...oe.value],ue=de.indexOf(le);ue>-1?de.splice(ue,1):de.push(le),ae(de)}};return watch(()=>$.modelValue,()=>oe.value=castArray$1($.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:oe,handleItemClick:ie}),{activeNames:oe,setActiveNames:ae}},useCollapseDOM=()=>{const $=useNamespace("collapse");return{rootKls:computed(()=>$.b())}},__default__$12=defineComponent({name:"ElCollapse"}),_sfc_main$1F=defineComponent({...__default__$12,props:collapseProps,emits:collapseEmits,setup($,{expose:j,emit:oe}){const ae=$,{activeNames:ie,setActiveNames:le}=useCollapse(ae,oe),{rootKls:de}=useCollapseDOM();return j({activeNames:ie,setActiveNames:le}),(ue,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(de)),role:"tablist","aria-multiselectable":"true"},[renderSlot(ue.$slots,"default")],2))}});var Collapse=_export_sfc$1(_sfc_main$1F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const __default__$11=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1E=defineComponent({...__default__$11,setup($){const j=useNamespace("collapse-transition"),oe={beforeEnter(ae){ae.dataset||(ae.dataset={}),ae.dataset.oldPaddingTop=ae.style.paddingTop,ae.dataset.oldPaddingBottom=ae.style.paddingBottom,ae.style.maxHeight=0,ae.style.paddingTop=0,ae.style.paddingBottom=0},enter(ae){ae.dataset.oldOverflow=ae.style.overflow,ae.scrollHeight!==0?(ae.style.maxHeight=`${ae.scrollHeight}px`,ae.style.paddingTop=ae.dataset.oldPaddingTop,ae.style.paddingBottom=ae.dataset.oldPaddingBottom):(ae.style.maxHeight=0,ae.style.paddingTop=ae.dataset.oldPaddingTop,ae.style.paddingBottom=ae.dataset.oldPaddingBottom),ae.style.overflow="hidden"},afterEnter(ae){ae.style.maxHeight="",ae.style.overflow=ae.dataset.oldOverflow},beforeLeave(ae){ae.dataset||(ae.dataset={}),ae.dataset.oldPaddingTop=ae.style.paddingTop,ae.dataset.oldPaddingBottom=ae.style.paddingBottom,ae.dataset.oldOverflow=ae.style.overflow,ae.style.maxHeight=`${ae.scrollHeight}px`,ae.style.overflow="hidden"},leave(ae){ae.scrollHeight!==0&&(ae.style.maxHeight=0,ae.style.paddingTop=0,ae.style.paddingBottom=0)},afterLeave(ae){ae.style.maxHeight="",ae.style.overflow=ae.dataset.oldOverflow,ae.style.paddingTop=ae.dataset.oldPaddingTop,ae.style.paddingBottom=ae.dataset.oldPaddingBottom}};return(ae,ie)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(j).b()},toHandlers(oe)),{default:withCtx(()=>[renderSlot(ae.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$1E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);CollapseTransition.install=$=>{$.component(CollapseTransition.name,CollapseTransition)};const _CollapseTransition=CollapseTransition,ElCollapseTransition=_CollapseTransition,collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:()=>generateId()},disabled:Boolean}),useCollapseItem=$=>{const j=inject(collapseContextKey),oe=ref(!1),ae=ref(!1),ie=ref(generateId()),le=computed(()=>j==null?void 0:j.activeNames.value.includes($.name));return{focusing:oe,id:ie,isActive:le,handleFocus:()=>{setTimeout(()=>{ae.value?ae.value=!1:oe.value=!0},50)},handleHeaderClick:()=>{$.disabled||(j==null||j.handleItemClick($.name),oe.value=!1,ae.value=!0)},handleEnterClick:()=>{j==null||j.handleItemClick($.name)}}},useCollapseItemDOM=($,{focusing:j,isActive:oe,id:ae})=>{const ie=useNamespace("collapse"),le=computed(()=>[ie.b("item"),ie.is("active",unref(oe)),ie.is("disabled",$.disabled)]),de=computed(()=>[ie.be("item","header"),ie.is("active",unref(oe)),{focusing:unref(j)&&!$.disabled}]),ue=computed(()=>[ie.be("item","arrow"),ie.is("active",unref(oe))]),pe=computed(()=>ie.be("item","wrap")),he=computed(()=>ie.be("item","content")),_e=computed(()=>ie.b(`content-${unref(ae)}`)),xe=computed(()=>ie.b(`head-${unref(ae)}`));return{arrowKls:ue,headKls:de,rootKls:le,itemWrapperKls:pe,itemContentKls:he,scopedContentId:_e,scopedHeadId:xe}},_hoisted_1$R=["aria-expanded","aria-controls","aria-describedby"],_hoisted_2$y=["id","tabindex"],_hoisted_3$k=["id","aria-hidden","aria-labelledby"],__default__$10=defineComponent({name:"ElCollapseItem"}),_sfc_main$1D=defineComponent({...__default__$10,props:collapseItemProps,setup($,{expose:j}){const oe=$,{focusing:ae,id:ie,isActive:le,handleFocus:de,handleHeaderClick:ue,handleEnterClick:pe}=useCollapseItem(oe),{arrowKls:he,headKls:_e,rootKls:xe,itemWrapperKls:Ce,itemContentKls:Ie,scopedContentId:$e,scopedHeadId:Ne}=useCollapseItemDOM(oe,{focusing:ae,isActive:le,id:ie});return j({isActive:le}),(Ve,Oe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(xe))},[createBaseVNode("div",{role:"tab","aria-expanded":unref(le),"aria-controls":unref($e),"aria-describedby":unref($e)},[createBaseVNode("div",{id:unref(Ne),class:normalizeClass(unref(_e)),role:"button",tabindex:Ve.disabled?-1:0,onClick:Oe[0]||(Oe[0]=(...Fe)=>unref(ue)&&unref(ue)(...Fe)),onKeypress:Oe[1]||(Oe[1]=withKeys(withModifiers((...Fe)=>unref(pe)&&unref(pe)(...Fe),["stop","prevent"]),["space","enter"])),onFocus:Oe[2]||(Oe[2]=(...Fe)=>unref(de)&&unref(de)(...Fe)),onBlur:Oe[3]||(Oe[3]=Fe=>ae.value=!1)},[renderSlot(Ve.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(Ve.title),1)]),createVNode(unref(ElIcon),{class:normalizeClass(unref(he))},{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_2$y)],8,_hoisted_1$R),createVNode(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref($e),class:normalizeClass(unref(Ce)),role:"tabpanel","aria-hidden":!unref(le),"aria-labelledby":unref(Ne)},[createBaseVNode("div",{class:normalizeClass(unref(Ie))},[renderSlot(Ve.$slots,"default")],2)],10,_hoisted_3$k),[[vShow,unref(le)]])]),_:3})],2))}});var CollapseItem=_export_sfc$1(_sfc_main$1D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable($,j){if(!isClient)return;const oe=function(le){var de;(de=j.drag)==null||de.call(j,le)},ae=function(le){var de;document.removeEventListener("mousemove",oe),document.removeEventListener("mouseup",ae),document.removeEventListener("touchmove",oe),document.removeEventListener("touchend",ae),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(de=j.end)==null||de.call(j,le)},ie=function(le){var de;isDragging||(le.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",oe),document.addEventListener("mouseup",ae),document.addEventListener("touchmove",oe),document.addEventListener("touchend",ae),isDragging=!0,(de=j.start)==null||de.call(j,le))};$.addEventListener("mousedown",ie),$.addEventListener("touchstart",ie)}const useAlphaSlider=$=>{const j=getCurrentInstance(),oe=shallowRef(),ae=shallowRef();function ie(de){de.target!==oe.value&&le(de)}function le(de){if(!ae.value||!oe.value)return;const pe=j.vnode.el.getBoundingClientRect(),{clientX:he,clientY:_e}=getClientXY(de);if($.vertical){let xe=_e-pe.top;xe=Math.max(oe.value.offsetHeight/2,xe),xe=Math.min(xe,pe.height-oe.value.offsetHeight/2),$.color.set("alpha",Math.round((xe-oe.value.offsetHeight/2)/(pe.height-oe.value.offsetHeight)*100))}else{let xe=he-pe.left;xe=Math.max(oe.value.offsetWidth/2,xe),xe=Math.min(xe,pe.width-oe.value.offsetWidth/2),$.color.set("alpha",Math.round((xe-oe.value.offsetWidth/2)/(pe.width-oe.value.offsetWidth)*100))}}return{thumb:oe,bar:ae,handleDrag:le,handleClick:ie}},useAlphaSliderDOM=($,{bar:j,thumb:oe,handleDrag:ae})=>{const ie=getCurrentInstance(),le=useNamespace("color-alpha-slider"),de=ref(0),ue=ref(0),pe=ref();function he(){if(!oe.value||$.vertical)return 0;const Fe=ie.vnode.el,ze=$.color.get("alpha");return Fe?Math.round(ze*(Fe.offsetWidth-oe.value.offsetWidth/2)/100):0}function _e(){if(!oe.value)return 0;const Fe=ie.vnode.el;if(!$.vertical)return 0;const ze=$.color.get("alpha");return Fe?Math.round(ze*(Fe.offsetHeight-oe.value.offsetHeight/2)/100):0}function xe(){if($.color&&$.color.value){const{r:Fe,g:ze,b:Ue}=$.color.toRgb();return`linear-gradient(to right, rgba(${Fe}, ${ze}, ${Ue}, 0) 0%, rgba(${Fe}, ${ze}, ${Ue}, 1) 100%)`}return""}function Ce(){de.value=he(),ue.value=_e(),pe.value=xe()}onMounted(()=>{if(!j.value||!oe.value)return;const Fe={drag:ze=>{ae(ze)},end:ze=>{ae(ze)}};draggable(j.value,Fe),draggable(oe.value,Fe),Ce()}),watch(()=>$.color.get("alpha"),()=>Ce()),watch(()=>$.color.value,()=>Ce());const Ie=computed(()=>[le.b(),le.is("vertical",$.vertical)]),$e=computed(()=>le.e("bar")),Ne=computed(()=>le.e("thumb")),Ve=computed(()=>({background:pe.value})),Oe=computed(()=>({left:addUnit(de.value),top:addUnit(ue.value)}));return{rootKls:Ie,barKls:$e,barStyle:Ve,thumbKls:Ne,thumbStyle:Oe,update:Ce}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$$=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1C=defineComponent({...__default__$$,props:alphaSliderProps,setup($,{expose:j}){const oe=$,{bar:ae,thumb:ie,handleDrag:le,handleClick:de}=useAlphaSlider(oe),{rootKls:ue,barKls:pe,barStyle:he,thumbKls:_e,thumbStyle:xe,update:Ce}=useAlphaSliderDOM(oe,{bar:ae,thumb:ie,handleDrag:le});return j({update:Ce,bar:ae,thumb:ie}),(Ie,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue))},[createBaseVNode("div",{ref_key:"bar",ref:ae,class:normalizeClass(unref(pe)),style:normalizeStyle(unref(he)),onClick:$e[0]||($e[0]=(...Ne)=>unref(de)&&unref(de)(...Ne))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:ie,class:normalizeClass(unref(_e)),style:normalizeStyle(unref(xe))},null,6)],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$1C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const _sfc_main$1B=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup($){const j=useNamespace("color-hue-slider"),oe=getCurrentInstance(),ae=ref(),ie=ref(),le=ref(0),de=ref(0),ue=computed(()=>$.color.get("hue"));watch(()=>ue.value,()=>{Ce()});function pe(Ie){Ie.target!==ae.value&&he(Ie)}function he(Ie){if(!ie.value||!ae.value)return;const Ne=oe.vnode.el.getBoundingClientRect(),{clientX:Ve,clientY:Oe}=getClientXY(Ie);let Fe;if($.vertical){let ze=Oe-Ne.top;ze=Math.min(ze,Ne.height-ae.value.offsetHeight/2),ze=Math.max(ae.value.offsetHeight/2,ze),Fe=Math.round((ze-ae.value.offsetHeight/2)/(Ne.height-ae.value.offsetHeight)*360)}else{let ze=Ve-Ne.left;ze=Math.min(ze,Ne.width-ae.value.offsetWidth/2),ze=Math.max(ae.value.offsetWidth/2,ze),Fe=Math.round((ze-ae.value.offsetWidth/2)/(Ne.width-ae.value.offsetWidth)*360)}$.color.set("hue",Fe)}function _e(){if(!ae.value)return 0;const Ie=oe.vnode.el;if($.vertical)return 0;const $e=$.color.get("hue");return Ie?Math.round($e*(Ie.offsetWidth-ae.value.offsetWidth/2)/360):0}function xe(){if(!ae.value)return 0;const Ie=oe.vnode.el;if(!$.vertical)return 0;const $e=$.color.get("hue");return Ie?Math.round($e*(Ie.offsetHeight-ae.value.offsetHeight/2)/360):0}function Ce(){le.value=_e(),de.value=xe()}return onMounted(()=>{if(!ie.value||!ae.value)return;const Ie={drag:$e=>{he($e)},end:$e=>{he($e)}};draggable(ie.value,Ie),draggable(ae.value,Ie),Ce()}),{bar:ie,thumb:ae,thumbLeft:le,thumbTop:de,hueValue:ue,handleClick:pe,update:Ce,ns:j}}});function _sfc_render$r($,j,oe,ae,ie,le){return openBlock(),createElementBlock("div",{class:normalizeClass([$.ns.b(),$.ns.is("vertical",$.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass($.ns.e("bar")),onClick:j[0]||(j[0]=(...de)=>$.handleClick&&$.handleClick(...de))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass($.ns.e("thumb")),style:normalizeStyle({left:$.thumbLeft+"px",top:$.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$1B,[["render",_sfc_render$r],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0}}),colorPickerEmits={[UPDATE_MODEL_EVENT]:$=>isString$d($)||isNil($),[CHANGE_EVENT]:$=>isString$d($)||isNil($),activeChange:$=>isString$d($)||isNil($)},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function($,j,oe){return[$,j*oe/(($=(2-j)*oe)<1?$:2-$)||0,$/2]},isOnePointZero=function($){return typeof $=="string"&&$.includes(".")&&Number.parseFloat($)===1},isPercentage=function($){return typeof $=="string"&&$.includes("%")},bound01=function($,j){isOnePointZero($)&&($="100%");const oe=isPercentage($);return $=Math.min(j,Math.max(0,Number.parseFloat(`${$}`))),oe&&($=Number.parseInt(`${$*j}`,10)/100),Math.abs($-j)<1e-6?1:$%j/Number.parseFloat(j)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=$=>{$=Math.min(Math.round($),255);const j=Math.floor($/16),oe=$%16;return`${INT_HEX_MAP[j]||j}${INT_HEX_MAP[oe]||oe}`},toHex=function({r:$,g:j,b:oe}){return Number.isNaN(+$)||Number.isNaN(+j)||Number.isNaN(+oe)?"":`#${hexOne($)}${hexOne(j)}${hexOne(oe)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function($){return $.length===2?(HEX_INT_MAP[$[0].toUpperCase()]||+$[0])*16+(HEX_INT_MAP[$[1].toUpperCase()]||+$[1]):HEX_INT_MAP[$[1].toUpperCase()]||+$[1]},hsl2hsv=function($,j,oe){j=j/100,oe=oe/100;let ae=j;const ie=Math.max(oe,.01);oe*=2,j*=oe<=1?oe:2-oe,ae*=ie<=1?ie:2-ie;const le=(oe+j)/2,de=oe===0?2*ae/(ie+ae):2*j/(oe+j);return{h:$,s:de*100,v:le*100}},rgb2hsv=($,j,oe)=>{$=bound01($,255),j=bound01(j,255),oe=bound01(oe,255);const ae=Math.max($,j,oe),ie=Math.min($,j,oe);let le;const de=ae,ue=ae-ie,pe=ae===0?0:ue/ae;if(ae===ie)le=0;else{switch(ae){case $:{le=(j-oe)/ue+(j{this._hue=Math.max(0,Math.min(360,ae)),this._saturation=Math.max(0,Math.min(100,ie)),this._value=Math.max(0,Math.min(100,le)),this.doOnChange()};if(j.includes("hsl")){const ae=j.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(ie=>ie!=="").map((ie,le)=>le>2?Number.parseFloat(ie):Number.parseInt(ie,10));if(ae.length===4?this._alpha=Number.parseFloat(ae[3])*100:ae.length===3&&(this._alpha=100),ae.length>=3){const{h:ie,s:le,v:de}=hsl2hsv(ae[0],ae[1],ae[2]);oe(ie,le,de)}}else if(j.includes("hsv")){const ae=j.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(ie=>ie!=="").map((ie,le)=>le>2?Number.parseFloat(ie):Number.parseInt(ie,10));ae.length===4?this._alpha=Number.parseFloat(ae[3])*100:ae.length===3&&(this._alpha=100),ae.length>=3&&oe(ae[0],ae[1],ae[2])}else if(j.includes("rgb")){const ae=j.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(ie=>ie!=="").map((ie,le)=>le>2?Number.parseFloat(ie):Number.parseInt(ie,10));if(ae.length===4?this._alpha=Number.parseFloat(ae[3])*100:ae.length===3&&(this._alpha=100),ae.length>=3){const{h:ie,s:le,v:de}=rgb2hsv(ae[0],ae[1],ae[2]);oe(ie,le,de)}}else if(j.includes("#")){const ae=j.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(ae))return;let ie,le,de;ae.length===3?(ie=parseHexChannel(ae[0]+ae[0]),le=parseHexChannel(ae[1]+ae[1]),de=parseHexChannel(ae[2]+ae[2])):(ae.length===6||ae.length===8)&&(ie=parseHexChannel(ae.slice(0,2)),le=parseHexChannel(ae.slice(2,4)),de=parseHexChannel(ae.slice(4,6))),ae.length===8?this._alpha=parseHexChannel(ae.slice(6))/255*100:(ae.length===3||ae.length===6)&&(this._alpha=100);const{h:ue,s:pe,v:he}=rgb2hsv(ie,le,de);oe(ue,pe,he)}}compare(j){return Math.abs(j._hue-this._hue)<2&&Math.abs(j._saturation-this._saturation)<1&&Math.abs(j._value-this._value)<1&&Math.abs(j._alpha-this._alpha)<1}doOnChange(){const{_hue:j,_saturation:oe,_value:ae,_alpha:ie,format:le}=this;if(this.enableAlpha)switch(le){case"hsl":{const de=hsv2hsl(j,oe/100,ae/100);this.value=`hsla(${j}, ${Math.round(de[1]*100)}%, ${Math.round(de[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${j}, ${Math.round(oe)}%, ${Math.round(ae)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb(j,oe,ae))}${hexOne(ie*255/100)}`;break}default:{const{r:de,g:ue,b:pe}=hsv2rgb(j,oe,ae);this.value=`rgba(${de}, ${ue}, ${pe}, ${this.get("alpha")/100})`}}else switch(le){case"hsl":{const de=hsv2hsl(j,oe/100,ae/100);this.value=`hsl(${j}, ${Math.round(de[1]*100)}%, ${Math.round(de[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${j}, ${Math.round(oe)}%, ${Math.round(ae)}%)`;break}case"rgb":{const{r:de,g:ue,b:pe}=hsv2rgb(j,oe,ae);this.value=`rgb(${de}, ${ue}, ${pe})`;break}default:this.value=toHex(hsv2rgb(j,oe,ae))}}}const _sfc_main$1A=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup($){const j=useNamespace("color-predefine"),{currentColor:oe}=inject(colorPickerContextKey),ae=ref(le($.colors,$.color));watch(()=>oe.value,de=>{const ue=new Color;ue.fromString(de),ae.value.forEach(pe=>{pe.selected=ue.compare(pe)})}),watchEffect(()=>{ae.value=le($.colors,$.color)});function ie(de){$.color.fromString($.colors[de])}function le(de,ue){return de.map(pe=>{const he=new Color;return he.enableAlpha=!0,he.format="rgba",he.fromString(pe),he.selected=he.value===ue.value,he})}return{rgbaColors:ae,handleSelect:ie,ns:j}}}),_hoisted_1$Q=["onClick"];function _sfc_render$q($,j,oe,ae,ie,le){return openBlock(),createElementBlock("div",{class:normalizeClass($.ns.b())},[createBaseVNode("div",{class:normalizeClass($.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.rgbaColors,(de,ue)=>(openBlock(),createElementBlock("div",{key:$.colors[ue],class:normalizeClass([$.ns.e("color-selector"),$.ns.is("alpha",de._alpha<100),{selected:de.selected}]),onClick:pe=>$.handleSelect(ue)},[createBaseVNode("div",{style:normalizeStyle({backgroundColor:de.value})},null,4)],10,_hoisted_1$Q))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$1A,[["render",_sfc_render$q],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const _sfc_main$1z=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup($){const j=useNamespace("color-svpanel"),oe=getCurrentInstance(),ae=ref(0),ie=ref(0),le=ref("hsl(0, 100%, 50%)"),de=computed(()=>{const he=$.color.get("hue"),_e=$.color.get("value");return{hue:he,value:_e}});function ue(){const he=$.color.get("saturation"),_e=$.color.get("value"),xe=oe.vnode.el,{clientWidth:Ce,clientHeight:Ie}=xe;ie.value=he*Ce/100,ae.value=(100-_e)*Ie/100,le.value=`hsl(${$.color.get("hue")}, 100%, 50%)`}function pe(he){const xe=oe.vnode.el.getBoundingClientRect(),{clientX:Ce,clientY:Ie}=getClientXY(he);let $e=Ce-xe.left,Ne=Ie-xe.top;$e=Math.max(0,$e),$e=Math.min($e,xe.width),Ne=Math.max(0,Ne),Ne=Math.min(Ne,xe.height),ie.value=$e,ae.value=Ne,$.color.set({saturation:$e/xe.width*100,value:100-Ne/xe.height*100})}return watch(()=>de.value,()=>{ue()}),onMounted(()=>{draggable(oe.vnode.el,{drag:he=>{pe(he)},end:he=>{pe(he)}}),ue()}),{cursorTop:ae,cursorLeft:ie,background:le,colorValue:de,handleDrag:pe,update:ue,ns:j}}}),_hoisted_1$P=createBaseVNode("div",null,null,-1),_hoisted_2$x=[_hoisted_1$P];function _sfc_render$p($,j,oe,ae,ie,le){return openBlock(),createElementBlock("div",{class:normalizeClass($.ns.b()),style:normalizeStyle({backgroundColor:$.background})},[createBaseVNode("div",{class:normalizeClass($.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass($.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass($.ns.e("cursor")),style:normalizeStyle({top:$.cursorTop+"px",left:$.cursorLeft+"px"})},_hoisted_2$x,6)],6)}var SvPanel=_export_sfc$1(_sfc_main$1z,[["render",_sfc_render$p],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const _hoisted_1$O=["id","aria-label","aria-labelledby","aria-description","tabindex","onKeydown"],__default__$_=defineComponent({name:"ElColorPicker"}),_sfc_main$1y=defineComponent({...__default__$_,props:colorPickerProps,emits:colorPickerEmits,setup($,{expose:j,emit:oe}){const ae=$,{t:ie}=useLocale(),le=useNamespace("color"),{formItem:de}=useFormItem(),ue=useFormSize(),pe=useFormDisabled(),{inputId:he,isLabeledByFormItem:_e}=useFormItemInputId(ae,{formItemContext:de}),xe=ref(),Ce=ref(),Ie=ref(),$e=ref();let Ne=!0;const Ve=reactive(new Color({enableAlpha:ae.showAlpha,format:ae.colorFormat||"",value:ae.modelValue})),Oe=ref(!1),Fe=ref(!1),ze=ref(""),Ue=computed(()=>!ae.modelValue&&!Fe.value?"transparent":_n(Ve,ae.showAlpha)),qe=computed(()=>!ae.modelValue&&!Fe.value?"":Ve.value),hn=computed(()=>_e.value?void 0:ae.label||ie("el.colorpicker.defaultLabel")),vn=computed(()=>_e.value?de==null?void 0:de.labelId:void 0),bn=computed(()=>[le.b("picker"),le.is("disabled",pe.value),le.bm("picker",ue.value)]);function _n(Tn,In){if(!(Tn instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:Bn,g:Dn,b:Xn}=Tn.toRgb();return In?`rgba(${Bn}, ${Dn}, ${Xn}, ${Tn.get("alpha")/100})`:`rgb(${Bn}, ${Dn}, ${Xn})`}function kn(Tn){Oe.value=Tn}const xn=debounce$2(kn,100);function $n(){pe.value||kn(!0)}function Cn(){xn(!1),En()}function En(){nextTick(()=>{ae.modelValue?Ve.fromString(ae.modelValue):(Ve.value="",nextTick(()=>{Fe.value=!1}))})}function Nn(){pe.value||xn(!Oe.value)}function Sn(){Ve.fromString(ze.value)}function wn(){const Tn=Ve.value;oe(UPDATE_MODEL_EVENT,Tn),oe("change",Tn),ae.validateEvent&&(de==null||de.validate("change").catch(In=>void 0)),xn(!1),nextTick(()=>{const In=new Color({enableAlpha:ae.showAlpha,format:ae.colorFormat||"",value:ae.modelValue});Ve.compare(In)||En()})}function On(){xn(!1),oe(UPDATE_MODEL_EVENT,null),oe("change",null),ae.modelValue!==null&&ae.validateEvent&&(de==null||de.validate("change").catch(Tn=>void 0)),En()}return onMounted(()=>{ae.modelValue&&(ze.value=qe.value)}),watch(()=>ae.modelValue,Tn=>{Tn?Tn&&Tn!==Ve.value&&(Ne=!1,Ve.fromString(Tn)):Fe.value=!1}),watch(()=>qe.value,Tn=>{ze.value=Tn,Ne&&oe("activeChange",Tn),Ne=!0}),watch(()=>Ve.value,()=>{!ae.modelValue&&!Fe.value&&(Fe.value=!0)}),watch(()=>Oe.value,()=>{nextTick(()=>{var Tn,In,Bn;(Tn=xe.value)==null||Tn.update(),(In=Ce.value)==null||In.update(),(Bn=Ie.value)==null||Bn.update()})}),provide(colorPickerContextKey,{currentColor:qe}),j({color:Ve,show:$n,hide:Cn}),(Tn,In)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:$e,visible:Oe.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(le).be("picker","panel"),unref(le).b("dropdown"),Tn.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${unref(le).namespace.value}-zoom-in-top`,persistent:""},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",null,[createBaseVNode("div",{class:normalizeClass(unref(le).be("dropdown","main-wrapper"))},[createVNode(HueSlider,{ref_key:"hue",ref:xe,class:"hue-slider",color:unref(Ve),vertical:""},null,8,["color"]),createVNode(SvPanel,{ref:"svPanel",color:unref(Ve)},null,8,["color"])],2),Tn.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:Ie,color:unref(Ve)},null,8,["color"])):createCommentVNode("v-if",!0),Tn.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref(Ve),colors:Tn.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(le).be("dropdown","value"))},[createVNode(unref(ElInput),{modelValue:ze.value,"onUpdate:modelValue":In[0]||(In[0]=Bn=>ze.value=Bn),"validate-event":!1,size:"small",onKeyup:withKeys(Sn,["enter"]),onBlur:Sn},null,8,["modelValue","onKeyup"])],2),createVNode(unref(ElButton),{class:normalizeClass(unref(le).be("dropdown","link-btn")),text:"",size:"small",onClick:On},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(ie)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(le).be("dropdown","btn")),onClick:wn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(ie)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)])),[[unref(ClickOutside),Cn]])]),default:withCtx(()=>[createBaseVNode("div",{id:unref(he),class:normalizeClass(unref(bn)),role:"button","aria-label":unref(hn),"aria-labelledby":unref(vn),"aria-description":unref(ie)("el.colorpicker.description",{color:Tn.modelValue||""}),tabindex:Tn.tabindex,onKeydown:withKeys(Nn,["enter"])},[unref(pe)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(le).be("picker","trigger")),onClick:Nn},[createBaseVNode("span",{class:normalizeClass([unref(le).be("picker","color"),unref(le).is("alpha",Tn.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(le).be("picker","color-inner")),style:normalizeStyle({backgroundColor:unref(Ue)})},[withDirectives(createVNode(unref(ElIcon),{class:normalizeClass([unref(le).be("picker","icon"),unref(le).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,Tn.modelValue||Fe.value]]),!Tn.modelValue&&!Fe.value?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(le).be("picker","empty"),unref(le).is("icon-close")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)],2)],2)],42,_hoisted_1$O)]),_:1},8,["visible","popper-class","transition"]))}});var ColorPicker=_export_sfc$1(_sfc_main$1y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),__default__$Z=defineComponent({name:"ElContainer"}),_sfc_main$1x=defineComponent({...__default__$Z,props:{direction:{type:String}},setup($){const j=$,oe=useSlots(),ae=useNamespace("container"),ie=computed(()=>j.direction==="vertical"?!0:j.direction==="horizontal"?!1:oe&&oe.default?oe.default().some(de=>{const ue=de.type.name;return ue==="ElHeader"||ue==="ElFooter"}):!1);return(le,de)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(ae).b(),unref(ae).is("vertical",unref(ie))])},[renderSlot(le.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$1x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const __default__$Y=defineComponent({name:"ElAside"}),_sfc_main$1w=defineComponent({...__default__$Y,props:{width:{type:String,default:null}},setup($){const j=$,oe=useNamespace("aside"),ae=computed(()=>j.width?oe.cssVarBlock({width:j.width}):{});return(ie,le)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(oe).b()),style:normalizeStyle(unref(ae))},[renderSlot(ie.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$1w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const __default__$X=defineComponent({name:"ElFooter"}),_sfc_main$1v=defineComponent({...__default__$X,props:{height:{type:String,default:null}},setup($){const j=$,oe=useNamespace("footer"),ae=computed(()=>j.height?oe.cssVarBlock({height:j.height}):{});return(ie,le)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(oe).b()),style:normalizeStyle(unref(ae))},[renderSlot(ie.$slots,"default")],6))}});var Footer$3=_export_sfc$1(_sfc_main$1v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const __default__$W=defineComponent({name:"ElHeader"}),_sfc_main$1u=defineComponent({...__default__$W,props:{height:{type:String,default:null}},setup($){const j=$,oe=useNamespace("header"),ae=computed(()=>j.height?oe.cssVarBlock({height:j.height}):{});return(ie,le)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(oe).b()),style:normalizeStyle(unref(ae))},[renderSlot(ie.$slots,"default")],6))}});var Header$1=_export_sfc$1(_sfc_main$1u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const __default__$V=defineComponent({name:"ElMain"}),_sfc_main$1t=defineComponent({...__default__$V,setup($){const j=useNamespace("main");return(oe,ae)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(j).b())},[renderSlot(oe.$slots,"default")],2))}});var Main=_export_sfc$1(_sfc_main$1t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer:Footer$3,Header:Header$1,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$3),ElHeader=withNoopInstall(Header$1),ElMain=withNoopInstall(Main);var advancedFormatExports={},advancedFormat$1={get exports(){return advancedFormatExports},set exports($){advancedFormatExports=$}};(function($,j){(function(oe,ae){$.exports=ae()})(commonjsGlobal,function(){return function(oe,ae){var ie=ae.prototype,le=ie.format;ie.format=function(de){var ue=this,pe=this.$locale();if(!this.isValid())return le.bind(this)(de);var he=this.$utils(),_e=(de||"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(xe){switch(xe){case"Q":return Math.ceil((ue.$M+1)/3);case"Do":return pe.ordinal(ue.$D);case"gggg":return ue.weekYear();case"GGGG":return ue.isoWeekYear();case"wo":return pe.ordinal(ue.week(),"W");case"w":case"ww":return he.s(ue.week(),xe==="w"?1:2,"0");case"W":case"WW":return he.s(ue.isoWeek(),xe==="W"?1:2,"0");case"k":case"kk":return he.s(String(ue.$H===0?24:ue.$H),xe==="k"?1:2,"0");case"X":return Math.floor(ue.$d.getTime()/1e3);case"x":return ue.$d.getTime();case"z":return"["+ue.offsetName()+"]";case"zzz":return"["+ue.offsetName("long")+"]";default:return xe}});return le.bind(this)(_e)}}})})(advancedFormat$1);const advancedFormat=advancedFormatExports;var weekOfYearExports={},weekOfYear$1={get exports(){return weekOfYearExports},set exports($){weekOfYearExports=$}};(function($,j){(function(oe,ae){$.exports=ae()})(commonjsGlobal,function(){var oe="week",ae="year";return function(ie,le,de){var ue=le.prototype;ue.week=function(pe){if(pe===void 0&&(pe=null),pe!==null)return this.add(7*(pe-this.week()),"day");var he=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var _e=de(this).startOf(ae).add(1,ae).date(he),xe=de(this).endOf(oe);if(_e.isBefore(xe))return 1}var Ce=de(this).startOf(ae).date(he).startOf(oe).subtract(1,"millisecond"),Ie=this.diff(Ce,oe,!0);return Ie<0?de(this).startOf("week").week():Math.ceil(Ie)},ue.weeks=function(pe){return pe===void 0&&(pe=null),this.week(pe)}}})})(weekOfYear$1);const weekOfYear=weekOfYearExports;var weekYearExports={},weekYear$1={get exports(){return weekYearExports},set exports($){weekYearExports=$}};(function($,j){(function(oe,ae){$.exports=ae()})(commonjsGlobal,function(){return function(oe,ae){ae.prototype.weekYear=function(){var ie=this.month(),le=this.week(),de=this.year();return le===1&&ie===11?de+1:ie===0&&le>=52?de-1:de}}})})(weekYear$1);const weekYear=weekYearExports;var dayOfYearExports={},dayOfYear$1={get exports(){return dayOfYearExports},set exports($){dayOfYearExports=$}};(function($,j){(function(oe,ae){$.exports=ae()})(commonjsGlobal,function(){return function(oe,ae,ie){ae.prototype.dayOfYear=function(le){var de=Math.round((ie(this).startOf("day")-ie(this).startOf("year"))/864e5)+1;return le==null?de:this.add(le-de,"day")}}})})(dayOfYear$1);const dayOfYear=dayOfYearExports;var isSameOrAfterExports={},isSameOrAfter$1={get exports(){return isSameOrAfterExports},set exports($){isSameOrAfterExports=$}};(function($,j){(function(oe,ae){$.exports=ae()})(commonjsGlobal,function(){return function(oe,ae){ae.prototype.isSameOrAfter=function(ie,le){return this.isSame(ie,le)||this.isAfter(ie,le)}}})})(isSameOrAfter$1);const isSameOrAfter=isSameOrAfterExports;var isSameOrBeforeExports={},isSameOrBefore$1={get exports(){return isSameOrBeforeExports},set exports($){isSameOrBeforeExports=$}};(function($,j){(function(oe,ae){$.exports=ae()})(commonjsGlobal,function(){return function(oe,ae){ae.prototype.isSameOrBefore=function(ie,le){return this.isSame(ie,le)||this.isBefore(ie,le)}}})})(isSameOrBefore$1);const isSameOrBefore=isSameOrBeforeExports,ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({type:{type:definePropType(String),default:"date"}}),selectionModes=["date","dates","year","month","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}}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=$=>({type:String,values:selectionModes,default:$}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),basicDateTableProps=buildProps({...datePickerSharedProps,cellClassName:{type:definePropType(Function)},showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),isValidRange=$=>{if(!isArray$x($))return!1;const[j,oe]=$;return dayjs.isDayjs(j)&&dayjs.isDayjs(oe)&&j.isSameOrBefore(oe)},getDefaultValue=($,{lang:j,unit:oe,unlinkPanels:ae})=>{let ie;if(isArray$x($)){let[le,de]=$.map(ue=>dayjs(ue).locale(j));return ae||(de=le.add(1,oe)),[le,de]}else $?ie=dayjs($):ie=dayjs();return ie=ie.locale(j),[ie,ie.add(1,oe)]},buildPickerTable=($,j,{columnIndexOffset:oe,startDate:ae,nextEndDate:ie,now:le,unit:de,relativeDateGetter:ue,setCellMetadata:pe,setRowMetadata:he})=>{for(let _e=0;_e<$.row;_e++){const xe=j[_e];for(let Ce=0;Ce<$.column;Ce++){let Ie=xe[Ce+oe];Ie||(Ie={row:_e,column:Ce,type:"normal",inRange:!1,start:!1,end:!1});const $e=_e*$.column+Ce,Ne=ue($e);Ie.dayjs=Ne,Ie.date=Ne.toDate(),Ie.timestamp=Ne.valueOf(),Ie.type="normal",Ie.inRange=!!(ae&&Ne.isSameOrAfter(ae,de)&&ie&&Ne.isSameOrBefore(ie,de))||!!(ae&&Ne.isSameOrBefore(ae,de)&&ie&&Ne.isSameOrAfter(ie,de)),ae!=null&&ae.isSameOrAfter(ie)?(Ie.start=!!ie&&Ne.isSame(ie,de),Ie.end=ae&&Ne.isSame(ae,de)):(Ie.start=!!ae&&Ne.isSame(ae,de),Ie.end=!!ie&&Ne.isSame(ie,de)),Ne.isSame(le,de)&&(Ie.type="today"),pe==null||pe(Ie,{rowIndex:_e,columnIndex:Ce}),xe[Ce+oe]=Ie}he==null||he(xe)}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup($){const j=useNamespace("date-table-cell"),{slots:oe}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:ae}=$;if(oe.default){const ie=oe.default(ae).filter(le=>le.patchFlag!==-2&&le.type.toString()!=="Symbol(Comment)");if(ie.length)return ie}return createVNode("div",{class:j.b()},[createVNode("span",{class:j.e("text")},[ae==null?void 0:ae.text])])}}});const _hoisted_1$N=["aria-label","onMousedown"],_hoisted_2$w={key:0,scope:"col"},_hoisted_3$j=["aria-label"],_hoisted_4$e=["aria-current","aria-selected","tabindex"],_sfc_main$1s=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:["changerange","pick","select"],setup($,{expose:j,emit:oe}){const ae=$,ie=useNamespace("date-table"),{t:le,lang:de}=useLocale(),ue=ref(),pe=ref(),he=ref(),_e=ref(),xe=ref([[],[],[],[],[],[]]);let Ce=!1;const Ie=ae.date.$locale().weekStart||7,$e=ae.date.locale("en").localeData().weekdaysShort().map(Dn=>Dn.toLowerCase()),Ne=computed(()=>Ie>3?7-Ie:-Ie),Ve=computed(()=>{const Dn=ae.date.startOf("month");return Dn.subtract(Dn.day()||7,"day")}),Oe=computed(()=>$e.concat($e).slice(Ie,Ie+7)),Fe=computed(()=>flatten$2(bn.value).some(Dn=>Dn.isCurrent)),ze=computed(()=>{const Dn=ae.date.startOf("month"),Xn=Dn.day()||7,Zn=Dn.daysInMonth(),Fn=Dn.subtract(1,"month").daysInMonth();return{startOfMonthDay:Xn,dateCountOfMonth:Zn,dateCountOfLastMonth:Fn}}),Ue=computed(()=>ae.selectionMode==="dates"?castArray(ae.parsedValue):[]),qe=(Dn,{count:Xn,rowIndex:Zn,columnIndex:Fn})=>{const{startOfMonthDay:Yn,dateCountOfMonth:qn,dateCountOfLastMonth:Vn}=unref(ze),eo=unref(Ne);if(Zn>=0&&Zn<=1){const ho=Yn+eo<0?7+Yn+eo:Yn+eo;if(Fn+Zn*7>=ho)return Dn.text=Xn,!0;Dn.text=Vn-(ho-Fn%7)+1+Zn*7,Dn.type="prev-month"}else return Xn<=qn?Dn.text=Xn:(Dn.text=Xn-qn,Dn.type="next-month"),!0;return!1},hn=(Dn,{columnIndex:Xn,rowIndex:Zn},Fn)=>{const{disabledDate:Yn,cellClassName:qn}=ae,Vn=unref(Ue),eo=qe(Dn,{count:Fn,rowIndex:Zn,columnIndex:Xn}),ho=Dn.dayjs.toDate();return Dn.selected=Vn.find(So=>So.valueOf()===Dn.dayjs.valueOf()),Dn.isSelected=!!Dn.selected,Dn.isCurrent=xn(Dn),Dn.disabled=Yn==null?void 0:Yn(ho),Dn.customClass=qn==null?void 0:qn(ho),eo},vn=Dn=>{if(ae.selectionMode==="week"){const[Xn,Zn]=ae.showWeekNumber?[1,7]:[0,6],Fn=Bn(Dn[Xn+1]);Dn[Xn].inRange=Fn,Dn[Xn].start=Fn,Dn[Zn].inRange=Fn,Dn[Zn].end=Fn}},bn=computed(()=>{const{minDate:Dn,maxDate:Xn,rangeState:Zn,showWeekNumber:Fn}=ae,Yn=Ne.value,qn=xe.value,Vn="day";let eo=1;if(Fn)for(let ho=0;ho<6;ho++)qn[ho][0]||(qn[ho][0]={type:"week",text:Ve.value.add(ho*7+1,Vn).week()});return buildPickerTable({row:6,column:7},qn,{startDate:Dn,columnIndexOffset:Fn?1:0,nextEndDate:Zn.endDate||Xn||Zn.selecting&&Dn||null,now:dayjs().locale(unref(de)).startOf(Vn),unit:Vn,relativeDateGetter:ho=>Ve.value.add(ho-Yn,Vn),setCellMetadata:(...ho)=>{hn(...ho,eo)&&(eo+=1)},setRowMetadata:vn}),qn});watch(()=>ae.date,async()=>{var Dn,Xn;(Dn=ue.value)!=null&&Dn.contains(document.activeElement)&&(await nextTick(),(Xn=pe.value)==null||Xn.focus())});const _n=async()=>{var Dn;(Dn=pe.value)==null||Dn.focus()},kn=(Dn="")=>["normal","today"].includes(Dn),xn=Dn=>ae.selectionMode==="date"&&kn(Dn.type)&&$n(Dn,ae.parsedValue),$n=(Dn,Xn)=>Xn?dayjs(Xn).locale(de.value).isSame(ae.date.date(Number(Dn.text)),"day"):!1,Cn=Dn=>{const Xn=[];return kn(Dn.type)&&!Dn.disabled?(Xn.push("available"),Dn.type==="today"&&Xn.push("today")):Xn.push(Dn.type),xn(Dn)&&Xn.push("current"),Dn.inRange&&(kn(Dn.type)||ae.selectionMode==="week")&&(Xn.push("in-range"),Dn.start&&Xn.push("start-date"),Dn.end&&Xn.push("end-date")),Dn.disabled&&Xn.push("disabled"),Dn.selected&&Xn.push("selected"),Dn.customClass&&Xn.push(Dn.customClass),Xn.join(" ")},En=(Dn,Xn)=>{const Zn=Dn*7+(Xn-(ae.showWeekNumber?1:0))-Ne.value;return Ve.value.add(Zn,"day")},Nn=Dn=>{var Xn;if(!ae.rangeState.selecting)return;let Zn=Dn.target;if(Zn.tagName==="SPAN"&&(Zn=(Xn=Zn.parentNode)==null?void 0:Xn.parentNode),Zn.tagName==="DIV"&&(Zn=Zn.parentNode),Zn.tagName!=="TD")return;const Fn=Zn.parentNode.rowIndex-1,Yn=Zn.cellIndex;bn.value[Fn][Yn].disabled||(Fn!==he.value||Yn!==_e.value)&&(he.value=Fn,_e.value=Yn,oe("changerange",{selecting:!0,endDate:En(Fn,Yn)}))},Sn=Dn=>!Fe.value&&(Dn==null?void 0:Dn.text)===1&&Dn.type==="normal"||Dn.isCurrent,wn=Dn=>{Ce||Fe.value||ae.selectionMode!=="date"||In(Dn,!0)},On=Dn=>{Dn.target.closest("td")&&(Ce=!0)},Tn=Dn=>{Dn.target.closest("td")&&(Ce=!1)},In=(Dn,Xn=!1)=>{const Zn=Dn.target.closest("td");if(!Zn)return;const Fn=Zn.parentNode.rowIndex-1,Yn=Zn.cellIndex,qn=bn.value[Fn][Yn];if(qn.disabled||qn.type==="week")return;const Vn=En(Fn,Yn);if(ae.selectionMode==="range")!ae.rangeState.selecting||!ae.minDate?(oe("pick",{minDate:Vn,maxDate:null}),oe("select",!0)):(Vn>=ae.minDate?oe("pick",{minDate:ae.minDate,maxDate:Vn}):oe("pick",{minDate:Vn,maxDate:ae.minDate}),oe("select",!1));else if(ae.selectionMode==="date")oe("pick",Vn,Xn);else if(ae.selectionMode==="week"){const eo=Vn.week(),ho=`${Vn.year()}w${eo}`;oe("pick",{year:Vn.year(),week:eo,value:ho,date:Vn.startOf("week")})}else if(ae.selectionMode==="dates"){const eo=qn.selected?castArray(ae.parsedValue).filter(ho=>(ho==null?void 0:ho.valueOf())!==Vn.valueOf()):castArray(ae.parsedValue).concat([Vn]);oe("pick",eo)}},Bn=Dn=>{if(ae.selectionMode!=="week")return!1;let Xn=ae.date.startOf("day");if(Dn.type==="prev-month"&&(Xn=Xn.subtract(1,"month")),Dn.type==="next-month"&&(Xn=Xn.add(1,"month")),Xn=Xn.date(Number.parseInt(Dn.text,10)),ae.parsedValue&&!Array.isArray(ae.parsedValue)){const Zn=(ae.parsedValue.day()-Ie+7)%7-1;return ae.parsedValue.subtract(Zn,"day").isSame(Xn,"day")}return!1};return j({focus:_n}),(Dn,Xn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(le)("el.datepicker.dateTablePrompt"),cellspacing:"0",cellpadding:"0",class:normalizeClass([unref(ie).b(),{"is-week-mode":Dn.selectionMode==="week"}]),onClick:In,onMousemove:Nn,onMousedown:withModifiers(On,["prevent"]),onMouseup:Tn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:ue},[createBaseVNode("tr",null,[Dn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$w,toDisplayString$1(unref(le)("el.datepicker.week")),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Oe),(Zn,Fn)=>(openBlock(),createElementBlock("th",{key:Fn,scope:"col","aria-label":unref(le)("el.datepicker.weeksFull."+Zn)},toDisplayString$1(unref(le)("el.datepicker.weeks."+Zn)),9,_hoisted_3$j))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(Zn,Fn)=>(openBlock(),createElementBlock("tr",{key:Fn,class:normalizeClass([unref(ie).e("row"),{current:Bn(Zn[1])}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Zn,(Yn,qn)=>(openBlock(),createElementBlock("td",{key:`${Fn}.${qn}`,ref_for:!0,ref:Vn=>Sn(Yn)&&(pe.value=Vn),class:normalizeClass(Cn(Yn)),"aria-current":Yn.isCurrent?"date":void 0,"aria-selected":Yn.isCurrent,tabindex:Sn(Yn)?0:-1,onFocus:wn},[createVNode(unref(ElDatePickerCell),{cell:Yn},null,8,["cell"])],42,_hoisted_4$e))),128))],2))),128))],512)],42,_hoisted_1$N))}});var DateTable=_export_sfc$1(_sfc_main$1s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$M=["aria-label"],_hoisted_2$v=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$i={class:"cell"},_sfc_main$1r=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup($,{expose:j,emit:oe}){const ae=$,ie=(Ue,qe,hn)=>{const vn=dayjs().locale(hn).startOf("month").month(qe).year(Ue),bn=vn.daysInMonth();return rangeArr(bn).map(_n=>vn.add(_n,"day").toDate())},le=useNamespace("month-table"),{t:de,lang:ue}=useLocale(),pe=ref(),he=ref(),_e=ref(ae.date.locale("en").localeData().monthsShort().map(Ue=>Ue.toLowerCase())),xe=ref([[],[],[]]),Ce=ref(),Ie=ref(),$e=computed(()=>{var Ue,qe;const hn=xe.value,vn=dayjs().locale(ue.value).startOf("month");for(let bn=0;bn<3;bn++){const _n=hn[bn];for(let kn=0;kn<4;kn++){const xn=_n[kn]||(_n[kn]={row:bn,column:kn,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});xn.type="normal";const $n=bn*4+kn,Cn=ae.date.startOf("year").month($n),En=ae.rangeState.endDate||ae.maxDate||ae.rangeState.selecting&&ae.minDate||null;xn.inRange=!!(ae.minDate&&Cn.isSameOrAfter(ae.minDate,"month")&&En&&Cn.isSameOrBefore(En,"month"))||!!(ae.minDate&&Cn.isSameOrBefore(ae.minDate,"month")&&En&&Cn.isSameOrAfter(En,"month")),(Ue=ae.minDate)!=null&&Ue.isSameOrAfter(En)?(xn.start=!!(En&&Cn.isSame(En,"month")),xn.end=ae.minDate&&Cn.isSame(ae.minDate,"month")):(xn.start=!!(ae.minDate&&Cn.isSame(ae.minDate,"month")),xn.end=!!(En&&Cn.isSame(En,"month"))),vn.isSame(Cn)&&(xn.type="today"),xn.text=$n,xn.disabled=((qe=ae.disabledDate)==null?void 0:qe.call(ae,Cn.toDate()))||!1}}return hn}),Ne=()=>{var Ue;(Ue=he.value)==null||Ue.focus()},Ve=Ue=>{const qe={},hn=ae.date.year(),vn=new Date,bn=Ue.text;return qe.disabled=ae.disabledDate?ie(hn,bn,ue.value).every(ae.disabledDate):!1,qe.current=castArray(ae.parsedValue).findIndex(_n=>dayjs.isDayjs(_n)&&_n.year()===hn&&_n.month()===bn)>=0,qe.today=vn.getFullYear()===hn&&vn.getMonth()===bn,Ue.inRange&&(qe["in-range"]=!0,Ue.start&&(qe["start-date"]=!0),Ue.end&&(qe["end-date"]=!0)),qe},Oe=Ue=>{const qe=ae.date.year(),hn=Ue.text;return castArray(ae.date).findIndex(vn=>vn.year()===qe&&vn.month()===hn)>=0},Fe=Ue=>{var qe;if(!ae.rangeState.selecting)return;let hn=Ue.target;if(hn.tagName==="A"&&(hn=(qe=hn.parentNode)==null?void 0:qe.parentNode),hn.tagName==="DIV"&&(hn=hn.parentNode),hn.tagName!=="TD")return;const vn=hn.parentNode.rowIndex,bn=hn.cellIndex;$e.value[vn][bn].disabled||(vn!==Ce.value||bn!==Ie.value)&&(Ce.value=vn,Ie.value=bn,oe("changerange",{selecting:!0,endDate:ae.date.startOf("year").month(vn*4+bn)}))},ze=Ue=>{var qe;const hn=(qe=Ue.target)==null?void 0:qe.closest("td");if((hn==null?void 0:hn.tagName)!=="TD"||hasClass$1(hn,"disabled"))return;const vn=hn.cellIndex,_n=hn.parentNode.rowIndex*4+vn,kn=ae.date.startOf("year").month(_n);ae.selectionMode==="range"?ae.rangeState.selecting?(ae.minDate&&kn>=ae.minDate?oe("pick",{minDate:ae.minDate,maxDate:kn}):oe("pick",{minDate:kn,maxDate:ae.minDate}),oe("select",!1)):(oe("pick",{minDate:kn,maxDate:null}),oe("select",!0)):oe("pick",_n)};return watch(()=>ae.date,async()=>{var Ue,qe;(Ue=pe.value)!=null&&Ue.contains(document.activeElement)&&(await nextTick(),(qe=he.value)==null||qe.focus())}),j({focus:Ne}),(Ue,qe)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(de)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(le).b()),onClick:ze,onMousemove:Fe},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:pe},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref($e),(hn,vn)=>(openBlock(),createElementBlock("tr",{key:vn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(hn,(bn,_n)=>(openBlock(),createElementBlock("td",{key:_n,ref_for:!0,ref:kn=>Oe(bn)&&(he.value=kn),class:normalizeClass(Ve(bn)),"aria-selected":`${Oe(bn)}`,"aria-label":unref(de)(`el.datepicker.month${+bn.text+1}`),tabindex:Oe(bn)?0:-1,onKeydown:[withKeys(withModifiers(ze,["prevent","stop"]),["space"]),withKeys(withModifiers(ze,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$i,toDisplayString$1(unref(de)("el.datepicker.months."+_e.value[bn.text])),1)])],42,_hoisted_2$v))),128))]))),128))],512)],42,_hoisted_1$M))}});var MonthTable=_export_sfc$1(_sfc_main$1r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const{date,disabledDate,parsedValue}=datePickerSharedProps,basicYearTableProps=buildProps({date,disabledDate,parsedValue}),_hoisted_1$L=["aria-label"],_hoisted_2$u=["aria-selected","tabindex","onKeydown"],_hoisted_3$h={class:"cell"},_hoisted_4$d={key:1},_sfc_main$1q=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup($,{expose:j,emit:oe}){const ae=$,ie=(Ne,Ve)=>{const Oe=dayjs(String(Ne)).locale(Ve).startOf("year"),ze=Oe.endOf("year").dayOfYear();return rangeArr(ze).map(Ue=>Oe.add(Ue,"day").toDate())},le=useNamespace("year-table"),{t:de,lang:ue}=useLocale(),pe=ref(),he=ref(),_e=computed(()=>Math.floor(ae.date.year()/10)*10),xe=()=>{var Ne;(Ne=he.value)==null||Ne.focus()},Ce=Ne=>{const Ve={},Oe=dayjs().locale(ue.value);return Ve.disabled=ae.disabledDate?ie(Ne,ue.value).every(ae.disabledDate):!1,Ve.current=castArray(ae.parsedValue).findIndex(Fe=>Fe.year()===Ne)>=0,Ve.today=Oe.year()===Ne,Ve},Ie=Ne=>Ne===_e.value&&ae.date.year()<_e.value&&ae.date.year()>_e.value+9||castArray(ae.date).findIndex(Ve=>Ve.year()===Ne)>=0,$e=Ne=>{const Oe=Ne.target.closest("td");if(Oe&&Oe.textContent){if(hasClass$1(Oe,"disabled"))return;const Fe=Oe.textContent||Oe.innerText;oe("pick",Number(Fe))}};return watch(()=>ae.date,async()=>{var Ne,Ve;(Ne=pe.value)!=null&&Ne.contains(document.activeElement)&&(await nextTick(),(Ve=he.value)==null||Ve.focus())}),j({focus:xe}),(Ne,Ve)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(de)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(le).b()),onClick:$e},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:pe},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(Oe,Fe)=>createBaseVNode("tr",{key:Fe},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(ze,Ue)=>(openBlock(),createElementBlock(Fragment,{key:Fe+"_"+Ue},[Fe*4+Ue<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:qe=>Ie(unref(_e)+Fe*4+Ue)&&(he.value=qe),class:normalizeClass(["available",Ce(unref(_e)+Fe*4+Ue)]),"aria-selected":`${Ie(unref(_e)+Fe*4+Ue)}`,tabindex:Ie(unref(_e)+Fe*4+Ue)?0:-1,onKeydown:[withKeys(withModifiers($e,["prevent","stop"]),["space"]),withKeys(withModifiers($e,["prevent","stop"]),["enter"])]},[createBaseVNode("span",_hoisted_3$h,toDisplayString$1(unref(_e)+Fe*4+Ue),1)],42,_hoisted_2$u)):(openBlock(),createElementBlock("td",_hoisted_4$d))],64))),64))])),64))],512)],10,_hoisted_1$L))}});var YearTable=_export_sfc$1(_sfc_main$1q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const _hoisted_1$K=["onClick"],_hoisted_2$t=["aria-label"],_hoisted_3$g=["aria-label"],_hoisted_4$c=["aria-label"],_hoisted_5$9=["aria-label"],_sfc_main$1p=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup($,{emit:j}){const oe=$,ae=(Un,fo,vo)=>!0,ie=useNamespace("picker-panel"),le=useNamespace("date-picker"),de=useAttrs$1(),ue=useSlots(),{t:pe,lang:he}=useLocale(),_e=inject("EP_PICKER_BASE"),xe=inject(TOOLTIP_INJECTION_KEY),{shortcuts:Ce,disabledDate:Ie,cellClassName:$e,defaultTime:Ne,arrowControl:Ve}=_e.props,Oe=toRef(_e.props,"defaultValue"),Fe=ref(),ze=ref(dayjs().locale(he.value)),Ue=ref(!1),qe=computed(()=>dayjs(Ne).locale(he.value)),hn=computed(()=>ze.value.month()),vn=computed(()=>ze.value.year()),bn=ref([]),_n=ref(null),kn=ref(null),xn=Un=>bn.value.length>0?ae(Un,bn.value,oe.format||"HH:mm:ss"):!0,$n=Un=>Ne&&!Ln.value&&!Ue.value?qe.value.year(Un.year()).month(Un.month()).date(Un.date()):Yn.value?Un.millisecond(0):Un.startOf("day"),Cn=(Un,...fo)=>{if(!Un)j("pick",Un,...fo);else if(isArray$x(Un)){const vo=Un.map($n);j("pick",vo,...fo)}else j("pick",$n(Un),...fo);_n.value=null,kn.value=null,Ue.value=!1},En=(Un,fo)=>{if(In.value==="date"){Un=Un;let vo=oe.parsedValue?oe.parsedValue.year(Un.year()).month(Un.month()).date(Un.date()):Un;xn(vo)||(vo=bn.value[0][0].year(Un.year()).month(Un.month()).date(Un.date())),ze.value=vo,Cn(vo,Yn.value||fo)}else In.value==="week"?Cn(Un.date):In.value==="dates"&&Cn(Un,!0)},Nn=Un=>{const fo=Un?"add":"subtract";ze.value=ze.value[fo](1,"month"),To("month")},Sn=Un=>{const fo=ze.value,vo=Un?"add":"subtract";ze.value=wn.value==="year"?fo[vo](10,"year"):fo[vo](1,"year"),To("year")},wn=ref("date"),On=computed(()=>{const Un=pe("el.datepicker.year");if(wn.value==="year"){const fo=Math.floor(vn.value/10)*10;return Un?`${fo} ${Un} - ${fo+9} ${Un}`:`${fo} - ${fo+9}`}return`${vn.value} ${Un}`}),Tn=Un=>{const fo=isFunction$h(Un.value)?Un.value():Un.value;if(fo){Cn(dayjs(fo).locale(he.value));return}Un.onClick&&Un.onClick({attrs:de,slots:ue,emit:j})},In=computed(()=>{const{type:Un}=oe;return["week","month","year","dates"].includes(Un)?Un:"date"}),Bn=computed(()=>In.value==="date"?wn.value:In.value),Dn=computed(()=>!!Ce.length),Xn=async Un=>{ze.value=ze.value.startOf("month").month(Un),In.value==="month"?Cn(ze.value,!1):(wn.value="date",["month","year","date","week"].includes(In.value)&&(Cn(ze.value,!0),await nextTick(),to())),To("month")},Zn=async Un=>{In.value==="year"?(ze.value=ze.value.startOf("year").year(Un),Cn(ze.value,!1)):(ze.value=ze.value.year(Un),wn.value="month",["month","year","date","week"].includes(In.value)&&(Cn(ze.value,!0),await nextTick(),to())),To("year")},Fn=async Un=>{wn.value=Un,await nextTick(),to()},Yn=computed(()=>oe.type==="datetime"||oe.type==="datetimerange"),qn=computed(()=>Yn.value||In.value==="dates"),Vn=()=>{if(In.value==="dates")Cn(oe.parsedValue);else{let Un=oe.parsedValue;if(!Un){const fo=dayjs(Ne).locale(he.value),vo=yo();Un=fo.year(vo.year()).month(vo.month()).date(vo.date())}ze.value=Un,Cn(Un)}},eo=()=>{const fo=dayjs().locale(he.value).toDate();Ue.value=!0,(!Ie||!Ie(fo))&&xn(fo)&&(ze.value=dayjs().locale(he.value),Cn(ze.value))},ho=computed(()=>extractTimeFormat(oe.format)),So=computed(()=>extractDateFormat(oe.format)),Ln=computed(()=>{if(kn.value)return kn.value;if(!(!oe.parsedValue&&!Oe.value))return(oe.parsedValue||ze.value).format(ho.value)}),Rn=computed(()=>{if(_n.value)return _n.value;if(!(!oe.parsedValue&&!Oe.value))return(oe.parsedValue||ze.value).format(So.value)}),Gn=ref(!1),no=()=>{Gn.value=!0},bo=()=>{Gn.value=!1},Wn=Un=>({hour:Un.hour(),minute:Un.minute(),second:Un.second(),year:Un.year(),month:Un.month(),date:Un.date()}),lo=(Un,fo,vo)=>{const{hour:Jn,minute:co,second:$o}=Wn(Un),No=oe.parsedValue?oe.parsedValue.hour(Jn).minute(co).second($o):Un;ze.value=No,Cn(ze.value,!0),vo||(Gn.value=fo)},Qn=Un=>{const fo=dayjs(Un,ho.value).locale(he.value);if(fo.isValid()&&xn(fo)){const{year:vo,month:Jn,date:co}=Wn(ze.value);ze.value=fo.year(vo).month(Jn).date(co),kn.value=null,Gn.value=!1,Cn(ze.value,!0)}},ro=Un=>{const fo=dayjs(Un,So.value).locale(he.value);if(fo.isValid()){if(Ie&&Ie(fo.toDate()))return;const{hour:vo,minute:Jn,second:co}=Wn(ze.value);ze.value=fo.hour(vo).minute(Jn).second(co),_n.value=null,Cn(ze.value,!0)}},Hn=Un=>dayjs.isDayjs(Un)&&Un.isValid()&&(Ie?!Ie(Un.toDate()):!0),uo=Un=>In.value==="dates"?Un.map(fo=>fo.format(oe.format)):Un.format(oe.format),so=Un=>dayjs(Un,oe.format).locale(he.value),yo=()=>{const Un=dayjs(Oe.value).locale(he.value);if(!Oe.value){const fo=qe.value;return dayjs().hour(fo.hour()).minute(fo.minute()).second(fo.second()).locale(he.value)}return Un},to=async()=>{var Un;["week","month","year","date"].includes(In.value)&&((Un=Fe.value)==null||Un.focus(),In.value==="week"&&_o(EVENT_CODE.down))},go=Un=>{const{code:fo}=Un;[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(fo)&&(_o(fo),Un.stopPropagation(),Un.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(fo)&&_n.value===null&&kn.value===null&&(Un.preventDefault(),Cn(ze.value,!1))},_o=Un=>{var fo;const{up:vo,down:Jn,left:co,right:$o,home:No,end:jo,pageUp:wo,pageDown:Kn}=EVENT_CODE,zo={year:{[vo]:-4,[Jn]:4,[co]:-1,[$o]:1,offset:(Yo,Qo)=>Yo.setFullYear(Yo.getFullYear()+Qo)},month:{[vo]:-4,[Jn]:4,[co]:-1,[$o]:1,offset:(Yo,Qo)=>Yo.setMonth(Yo.getMonth()+Qo)},week:{[vo]:-1,[Jn]:1,[co]:-1,[$o]:1,offset:(Yo,Qo)=>Yo.setDate(Yo.getDate()+Qo*7)},date:{[vo]:-7,[Jn]:7,[co]:-1,[$o]:1,[No]:Yo=>-Yo.getDay(),[jo]:Yo=>-Yo.getDay()+6,[wo]:Yo=>-new Date(Yo.getFullYear(),Yo.getMonth(),0).getDate(),[Kn]:Yo=>new Date(Yo.getFullYear(),Yo.getMonth()+1,0).getDate(),offset:(Yo,Qo)=>Yo.setDate(Yo.getDate()+Qo)}},Ro=ze.value.toDate();for(;Math.abs(ze.value.diff(Ro,"year",!0))<1;){const Yo=zo[Bn.value];if(!Yo)return;if(Yo.offset(Ro,isFunction$h(Yo[Un])?Yo[Un](Ro):(fo=Yo[Un])!=null?fo:0),Ie&&Ie(Ro))break;const Qo=dayjs(Ro).locale(he.value);ze.value=Qo,j("pick",Qo,!0);break}},To=Un=>{j("panel-change",ze.value.toDate(),Un,wn.value)};return watch(()=>In.value,Un=>{if(["month","year"].includes(Un)){wn.value=Un;return}wn.value="date"},{immediate:!0}),watch(()=>wn.value,()=>{xe==null||xe.updatePopper()}),watch(()=>Oe.value,Un=>{Un&&(ze.value=yo())},{immediate:!0}),watch(()=>oe.parsedValue,Un=>{if(Un){if(In.value==="dates"||Array.isArray(Un))return;ze.value=Un}else ze.value=yo()},{immediate:!0}),j("set-picker-option",["isValidValue",Hn]),j("set-picker-option",["formatToString",uo]),j("set-picker-option",["parseUserInput",so]),j("set-picker-option",["handleFocusPicker",to]),(Un,fo)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ie).b(),unref(le).b(),{"has-sidebar":Un.$slots.sidebar||unref(Dn),"has-time":unref(Yn)}])},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("body-wrapper"))},[renderSlot(Un.$slots,"sidebar",{class:normalizeClass(unref(ie).e("sidebar"))}),unref(Dn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ce),(vo,Jn)=>(openBlock(),createElementBlock("button",{key:Jn,type:"button",class:normalizeClass(unref(ie).e("shortcut")),onClick:co=>Tn(vo)},toDisplayString$1(vo.text),11,_hoisted_1$K))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("body"))},[unref(Yn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(le).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref(pe)("el.datepicker.selectDate"),"model-value":unref(Rn),size:"small","validate-event":!1,onInput:fo[0]||(fo[0]=vo=>_n.value=vo),onChange:ro},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(le).e("editor-wrap"))},[createVNode(unref(ElInput),{placeholder:unref(pe)("el.datepicker.selectTime"),"model-value":unref(Ln),size:"small","validate-event":!1,onFocus:no,onInput:fo[1]||(fo[1]=vo=>kn.value=vo),onChange:Qn},null,8,["placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:Gn.value,format:unref(ho),"time-arrow-control":unref(Ve),"parsed-value":ze.value,onPick:lo},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),bo]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(le).e("header"),(wn.value==="year"||wn.value==="month")&&unref(le).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(le).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(pe)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(ie).e("icon-btn")]),onClick:fo[2]||(fo[2]=vo=>Sn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$t),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(pe)("el.datepicker.prevMonth"),class:normalizeClass([unref(ie).e("icon-btn"),"arrow-left"]),onClick:fo[3]||(fo[3]=vo=>Nn(!1))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_3$g),[[vShow,wn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(le).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:fo[4]||(fo[4]=withKeys(vo=>Fn("year"),["enter"])),onClick:fo[5]||(fo[5]=vo=>Fn("year"))},toDisplayString$1(unref(On)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(le).e("header-label"),{active:wn.value==="month"}]),onKeydown:fo[6]||(fo[6]=withKeys(vo=>Fn("month"),["enter"])),onClick:fo[7]||(fo[7]=vo=>Fn("month"))},toDisplayString$1(unref(pe)(`el.datepicker.month${unref(hn)+1}`)),35),[[vShow,wn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(le).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(pe)("el.datepicker.nextMonth"),class:normalizeClass([unref(ie).e("icon-btn"),"arrow-right"]),onClick:fo[8]||(fo[8]=vo=>Nn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_4$c),[[vShow,wn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(pe)("el.datepicker.nextYear"),class:normalizeClass([unref(ie).e("icon-btn"),"d-arrow-right"]),onClick:fo[9]||(fo[9]=vo=>Sn(!0))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$9)],2)],2),[[vShow,wn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(ie).e("content")),onKeydown:go},[wn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:Fe,"selection-mode":unref(In),date:ze.value,"parsed-value":Un.parsedValue,"disabled-date":unref(Ie),"cell-class-name":unref($e),onPick:En},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),wn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:Fe,date:ze.value,"disabled-date":unref(Ie),"parsed-value":Un.parsedValue,onPick:Zn},null,8,["date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),wn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:Fe,date:ze.value,"parsed-value":Un.parsedValue,"disabled-date":unref(Ie),onPick:Xn},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(ie).e("footer"))},[withDirectives(createVNode(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(ie).e("link-btn")),onClick:eo},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(pe)("el.datepicker.now")),1)]),_:1},8,["class"]),[[vShow,unref(In)!=="dates"]]),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(ie).e("link-btn")),onClick:Vn},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(pe)("el.datepicker.confirm")),1)]),_:1},8,["class"])],2),[[vShow,unref(qn)&&wn.value==="date"]])],2))}});var DatePickPanel=_export_sfc$1(_sfc_main$1p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=$=>{const{emit:j}=getCurrentInstance(),oe=useAttrs$1(),ae=useSlots();return le=>{const de=isFunction$h(le.value)?le.value():le.value;if(de){j("pick",[dayjs(de[0]).locale($.value),dayjs(de[1]).locale($.value)]);return}le.onClick&&le.onClick({attrs:oe,slots:ae,emit:j})}},useRangePicker=($,{defaultValue:j,leftDate:oe,rightDate:ae,unit:ie,onParsedValueChanged:le})=>{const{emit:de}=getCurrentInstance(),{pickerNs:ue}=inject(ROOT_PICKER_INJECTION_KEY),pe=useNamespace("date-range-picker"),{t:he,lang:_e}=useLocale(),xe=useShortcut(_e),Ce=ref(),Ie=ref(),$e=ref({endDate:null,selecting:!1}),Ne=ze=>{$e.value=ze},Ve=(ze=!1)=>{const Ue=unref(Ce),qe=unref(Ie);isValidRange([Ue,qe])&&de("pick",[Ue,qe],ze)},Oe=ze=>{$e.value.selecting=ze,ze||($e.value.endDate=null)},Fe=()=>{const[ze,Ue]=getDefaultValue(unref(j),{lang:unref(_e),unit:ie,unlinkPanels:$.unlinkPanels});Ce.value=void 0,Ie.value=void 0,oe.value=ze,ae.value=Ue};return watch(j,ze=>{ze&&Fe()},{immediate:!0}),watch(()=>$.parsedValue,ze=>{if(isArray$x(ze)&&ze.length===2){const[Ue,qe]=ze;Ce.value=Ue,oe.value=Ue,Ie.value=qe,le(unref(Ce),unref(Ie))}else Fe()},{immediate:!0}),{minDate:Ce,maxDate:Ie,rangeState:$e,lang:_e,ppNs:ue,drpNs:pe,handleChangeRange:Ne,handleRangeConfirm:Ve,handleShortcutClick:xe,onSelect:Oe,t:he}},_hoisted_1$J=["onClick"],_hoisted_2$s=["disabled"],_hoisted_3$f=["disabled"],_hoisted_4$b=["disabled"],_hoisted_5$8=["disabled"],unit$1="month",_sfc_main$1o=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup($,{emit:j}){const oe=$,ae=inject("EP_PICKER_BASE"),{disabledDate:ie,cellClassName:le,format:de,defaultTime:ue,arrowControl:pe,clearable:he}=ae.props,_e=toRef(ae.props,"shortcuts"),xe=toRef(ae.props,"defaultValue"),{lang:Ce}=useLocale(),Ie=ref(dayjs().locale(Ce.value)),$e=ref(dayjs().locale(Ce.value).add(1,unit$1)),{minDate:Ne,maxDate:Ve,rangeState:Oe,ppNs:Fe,drpNs:ze,handleChangeRange:Ue,handleRangeConfirm:qe,handleShortcutClick:hn,onSelect:vn,t:bn}=useRangePicker(oe,{defaultValue:xe,leftDate:Ie,rightDate:$e,unit:unit$1,onParsedValueChanged:Jn}),_n=ref({min:null,max:null}),kn=ref({min:null,max:null}),xn=computed(()=>`${Ie.value.year()} ${bn("el.datepicker.year")} ${bn(`el.datepicker.month${Ie.value.month()+1}`)}`),$n=computed(()=>`${$e.value.year()} ${bn("el.datepicker.year")} ${bn(`el.datepicker.month${$e.value.month()+1}`)}`),Cn=computed(()=>Ie.value.year()),En=computed(()=>Ie.value.month()),Nn=computed(()=>$e.value.year()),Sn=computed(()=>$e.value.month()),wn=computed(()=>!!_e.value.length),On=computed(()=>_n.value.min!==null?_n.value.min:Ne.value?Ne.value.format(Xn.value):""),Tn=computed(()=>_n.value.max!==null?_n.value.max:Ve.value||Ne.value?(Ve.value||Ne.value).format(Xn.value):""),In=computed(()=>kn.value.min!==null?kn.value.min:Ne.value?Ne.value.format(Dn.value):""),Bn=computed(()=>kn.value.max!==null?kn.value.max:Ve.value||Ne.value?(Ve.value||Ne.value).format(Dn.value):""),Dn=computed(()=>extractTimeFormat(de)),Xn=computed(()=>extractDateFormat(de)),Zn=()=>{Ie.value=Ie.value.subtract(1,"year"),oe.unlinkPanels||($e.value=Ie.value.add(1,"month")),Ln("year")},Fn=()=>{Ie.value=Ie.value.subtract(1,"month"),oe.unlinkPanels||($e.value=Ie.value.add(1,"month")),Ln("month")},Yn=()=>{oe.unlinkPanels?$e.value=$e.value.add(1,"year"):(Ie.value=Ie.value.add(1,"year"),$e.value=Ie.value.add(1,"month")),Ln("year")},qn=()=>{oe.unlinkPanels?$e.value=$e.value.add(1,"month"):(Ie.value=Ie.value.add(1,"month"),$e.value=Ie.value.add(1,"month")),Ln("month")},Vn=()=>{Ie.value=Ie.value.add(1,"year"),Ln("year")},eo=()=>{Ie.value=Ie.value.add(1,"month"),Ln("month")},ho=()=>{$e.value=$e.value.subtract(1,"year"),Ln("year")},So=()=>{$e.value=$e.value.subtract(1,"month"),Ln("month")},Ln=co=>{j("panel-change",[Ie.value.toDate(),$e.value.toDate()],co)},Rn=computed(()=>{const co=(En.value+1)%12,$o=En.value+1>=12?1:0;return oe.unlinkPanels&&new Date(Cn.value+$o,co)oe.unlinkPanels&&Nn.value*12+Sn.value-(Cn.value*12+En.value+1)>=12),no=computed(()=>!(Ne.value&&Ve.value&&!Oe.value.selecting&&isValidRange([Ne.value,Ve.value]))),bo=computed(()=>oe.type==="datetime"||oe.type==="datetimerange"),Wn=(co,$o)=>{if(co)return ue?dayjs(ue[$o]||ue).locale(Ce.value).year(co.year()).month(co.month()).date(co.date()):co},lo=(co,$o=!0)=>{const No=co.minDate,jo=co.maxDate,wo=Wn(No,0),Kn=Wn(jo,1);Ve.value===Kn&&Ne.value===wo||(j("calendar-change",[No.toDate(),jo&&jo.toDate()]),Ve.value=Kn,Ne.value=wo,!(!$o||bo.value)&&qe())},Qn=ref(!1),ro=ref(!1),Hn=()=>{Qn.value=!1},uo=()=>{ro.value=!1},so=(co,$o)=>{_n.value[$o]=co;const No=dayjs(co,Xn.value).locale(Ce.value);if(No.isValid()){if(ie&&ie(No.toDate()))return;$o==="min"?(Ie.value=No,Ne.value=(Ne.value||Ie.value).year(No.year()).month(No.month()).date(No.date()),oe.unlinkPanels||($e.value=No.add(1,"month"),Ve.value=Ne.value.add(1,"month"))):($e.value=No,Ve.value=(Ve.value||$e.value).year(No.year()).month(No.month()).date(No.date()),oe.unlinkPanels||(Ie.value=No.subtract(1,"month"),Ne.value=Ve.value.subtract(1,"month")))}},yo=(co,$o)=>{_n.value[$o]=null},to=(co,$o)=>{kn.value[$o]=co;const No=dayjs(co,Dn.value).locale(Ce.value);No.isValid()&&($o==="min"?(Qn.value=!0,Ne.value=(Ne.value||Ie.value).hour(No.hour()).minute(No.minute()).second(No.second()),(!Ve.value||Ve.value.isBefore(Ne.value))&&(Ve.value=Ne.value)):(ro.value=!0,Ve.value=(Ve.value||$e.value).hour(No.hour()).minute(No.minute()).second(No.second()),$e.value=Ve.value,Ve.value&&Ve.value.isBefore(Ne.value)&&(Ne.value=Ve.value)))},go=(co,$o)=>{kn.value[$o]=null,$o==="min"?(Ie.value=Ne.value,Qn.value=!1):($e.value=Ve.value,ro.value=!1)},_o=(co,$o,No)=>{kn.value.min||(co&&(Ie.value=co,Ne.value=(Ne.value||Ie.value).hour(co.hour()).minute(co.minute()).second(co.second())),No||(Qn.value=$o),(!Ve.value||Ve.value.isBefore(Ne.value))&&(Ve.value=Ne.value,$e.value=co))},To=(co,$o,No)=>{kn.value.max||(co&&($e.value=co,Ve.value=(Ve.value||$e.value).hour(co.hour()).minute(co.minute()).second(co.second())),No||(ro.value=$o),Ve.value&&Ve.value.isBefore(Ne.value)&&(Ne.value=Ve.value))},Un=()=>{Ie.value=getDefaultValue(unref(xe),{lang:unref(Ce),unit:"month",unlinkPanels:oe.unlinkPanels})[0],$e.value=Ie.value.add(1,"month"),j("pick",null)},fo=co=>isArray$x(co)?co.map($o=>$o.format(de)):co.format(de),vo=co=>isArray$x(co)?co.map($o=>dayjs($o,de).locale(Ce.value)):dayjs(co,de).locale(Ce.value);function Jn(co,$o){if(oe.unlinkPanels&&$o){const No=(co==null?void 0:co.year())||0,jo=(co==null?void 0:co.month())||0,wo=$o.year(),Kn=$o.month();$e.value=No===wo&&jo===Kn?$o.add(1,unit$1):$o}else $e.value=Ie.value.add(1,unit$1),$o&&($e.value=$e.value.hour($o.hour()).minute($o.minute()).second($o.second()))}return j("set-picker-option",["isValidValue",isValidRange]),j("set-picker-option",["parseUserInput",vo]),j("set-picker-option",["formatToString",fo]),j("set-picker-option",["handleClear",Un]),(co,$o)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(ze).b(),{"has-sidebar":co.$slots.sidebar||unref(wn),"has-time":unref(bo)}])},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("body-wrapper"))},[renderSlot(co.$slots,"sidebar",{class:normalizeClass(unref(Fe).e("sidebar"))}),unref(wn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),(No,jo)=>(openBlock(),createElementBlock("button",{key:jo,type:"button",class:normalizeClass(unref(Fe).e("shortcut")),onClick:wo=>unref(hn)(No)},toDisplayString$1(No.text),11,_hoisted_1$J))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("body"))},[unref(bo)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ze).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(ze).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(ze).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",disabled:unref(Oe).selecting,placeholder:unref(bn)("el.datepicker.startDate"),class:normalizeClass(unref(ze).e("editor")),"model-value":unref(On),"validate-event":!1,onInput:$o[0]||($o[0]=No=>so(No,"min")),onChange:$o[1]||($o[1]=No=>yo(No,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(ze).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(ze).e("editor")),disabled:unref(Oe).selecting,placeholder:unref(bn)("el.datepicker.startTime"),"model-value":unref(In),"validate-event":!1,onFocus:$o[2]||($o[2]=No=>Qn.value=!0),onInput:$o[3]||($o[3]=No=>to(No,"min")),onChange:$o[4]||($o[4]=No=>go(No,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode(unref(TimePickPanel),{visible:Qn.value,format:unref(Dn),"datetime-role":"start","time-arrow-control":unref(pe),"parsed-value":Ie.value,onPick:_o},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),Hn]])],2),createBaseVNode("span",null,[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(ze).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(ze).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(ze).e("editor")),disabled:unref(Oe).selecting,placeholder:unref(bn)("el.datepicker.endDate"),"model-value":unref(Tn),readonly:!unref(Ne),"validate-event":!1,onInput:$o[5]||($o[5]=No=>so(No,"max")),onChange:$o[6]||($o[6]=No=>yo(No,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(ze).e("time-picker-wrap"))},[createVNode(unref(ElInput),{size:"small",class:normalizeClass(unref(ze).e("editor")),disabled:unref(Oe).selecting,placeholder:unref(bn)("el.datepicker.endTime"),"model-value":unref(Bn),readonly:!unref(Ne),"validate-event":!1,onFocus:$o[7]||($o[7]=No=>unref(Ne)&&(ro.value=!0)),onInput:$o[8]||($o[8]=No=>to(No,"max")),onChange:$o[9]||($o[9]=No=>go(No,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode(unref(TimePickPanel),{"datetime-role":"end",visible:ro.value,format:unref(Dn),"time-arrow-control":unref(pe),"parsed-value":$e.value,onPick:To},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[unref(ClickOutside),uo]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(Fe).e("content"),unref(ze).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(ze).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Fe).e("icon-btn"),"d-arrow-left"]),onClick:Zn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Fe).e("icon-btn"),"arrow-left"]),onClick:Fn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),co.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Gn),class:normalizeClass([[unref(Fe).e("icon-btn"),{"is-disabled":!unref(Gn)}],"d-arrow-right"]),onClick:Vn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$s)):createCommentVNode("v-if",!0),co.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Rn),class:normalizeClass([[unref(Fe).e("icon-btn"),{"is-disabled":!unref(Rn)}],"arrow-right"]),onClick:eo},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],10,_hoisted_3$f)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString$1(unref(xn)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:Ie.value,"min-date":unref(Ne),"max-date":unref(Ve),"range-state":unref(Oe),"disabled-date":unref(ie),"cell-class-name":unref(le),onChangerange:unref(Ue),onPick:lo,onSelect:unref(vn)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Fe).e("content"),unref(ze).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(ze).e("header"))},[co.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Gn),class:normalizeClass([[unref(Fe).e("icon-btn"),{"is-disabled":!unref(Gn)}],"d-arrow-left"]),onClick:ho},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_4$b)):createCommentVNode("v-if",!0),co.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Rn),class:normalizeClass([[unref(Fe).e("icon-btn"),{"is-disabled":!unref(Rn)}],"arrow-left"]),onClick:So},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],10,_hoisted_5$8)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Fe).e("icon-btn"),"d-arrow-right"]),onClick:Yn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Fe).e("icon-btn"),"arrow-right"]),onClick:qn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString$1(unref($n)),1)],2),createVNode(DateTable,{"selection-mode":"range",date:$e.value,"min-date":unref(Ne),"max-date":unref(Ve),"range-state":unref(Oe),"disabled-date":unref(ie),"cell-class-name":unref(le),onChangerange:unref(Ue),onPick:lo,onSelect:unref(vn)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(bo)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("footer"))},[unref(he)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(Fe).e("link-btn")),onClick:Un},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(bn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Fe).e("link-btn")),disabled:unref(no),onClick:$o[10]||($o[10]=No=>unref(qe)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(bn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$1(_sfc_main$1o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option"],useMonthRangeHeader=({unlinkPanels:$,leftDate:j,rightDate:oe})=>{const{t:ae}=useLocale(),ie=()=>{j.value=j.value.subtract(1,"year"),$.value||(oe.value=oe.value.subtract(1,"year"))},le=()=>{$.value||(j.value=j.value.add(1,"year")),oe.value=oe.value.add(1,"year")},de=()=>{j.value=j.value.add(1,"year")},ue=()=>{oe.value=oe.value.subtract(1,"year")},pe=computed(()=>`${j.value.year()} ${ae("el.datepicker.year")}`),he=computed(()=>`${oe.value.year()} ${ae("el.datepicker.year")}`),_e=computed(()=>j.value.year()),xe=computed(()=>oe.value.year()===j.value.year()?j.value.year()+1:oe.value.year());return{leftPrevYear:ie,rightNextYear:le,leftNextYear:de,rightPrevYear:ue,leftLabel:pe,rightLabel:he,leftYear:_e,rightYear:xe}},_hoisted_1$I=["onClick"],_hoisted_2$r=["disabled"],_hoisted_3$e=["disabled"],unit="year",__default__$U=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1n=defineComponent({...__default__$U,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup($,{emit:j}){const oe=$,{lang:ae}=useLocale(),ie=inject("EP_PICKER_BASE"),{shortcuts:le,disabledDate:de,format:ue}=ie.props,pe=toRef(ie.props,"defaultValue"),he=ref(dayjs().locale(ae.value)),_e=ref(dayjs().locale(ae.value).add(1,unit)),{minDate:xe,maxDate:Ce,rangeState:Ie,ppNs:$e,drpNs:Ne,handleChangeRange:Ve,handleRangeConfirm:Oe,handleShortcutClick:Fe,onSelect:ze}=useRangePicker(oe,{defaultValue:pe,leftDate:he,rightDate:_e,unit,onParsedValueChanged:Sn}),Ue=computed(()=>!!le.length),{leftPrevYear:qe,rightNextYear:hn,leftNextYear:vn,rightPrevYear:bn,leftLabel:_n,rightLabel:kn,leftYear:xn,rightYear:$n}=useMonthRangeHeader({unlinkPanels:toRef(oe,"unlinkPanels"),leftDate:he,rightDate:_e}),Cn=computed(()=>oe.unlinkPanels&&$n.value>xn.value+1),En=(wn,On=!0)=>{const Tn=wn.minDate,In=wn.maxDate;Ce.value===In&&xe.value===Tn||(Ce.value=In,xe.value=Tn,On&&Oe())},Nn=wn=>wn.map(On=>On.format(ue));function Sn(wn,On){if(oe.unlinkPanels&&On){const Tn=(wn==null?void 0:wn.year())||0,In=On.year();_e.value=Tn===In?On.add(1,unit):On}else _e.value=he.value.add(1,unit)}return j("set-picker-option",["formatToString",Nn]),(wn,On)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).b(),unref(Ne).b(),{"has-sidebar":!!wn.$slots.sidebar||unref(Ue)}])},[createBaseVNode("div",{class:normalizeClass(unref($e).e("body-wrapper"))},[renderSlot(wn.$slots,"sidebar",{class:normalizeClass(unref($e).e("sidebar"))}),unref(Ue)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($e).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(le),(Tn,In)=>(openBlock(),createElementBlock("button",{key:In,type:"button",class:normalizeClass(unref($e).e("shortcut")),onClick:Bn=>unref(Fe)(Tn)},toDisplayString$1(Tn.text),11,_hoisted_1$I))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref($e).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref($e).e("content"),unref(Ne).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(Ne).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref($e).e("icon-btn"),"d-arrow-left"]),onClick:On[0]||(On[0]=(...Tn)=>unref(qe)&&unref(qe)(...Tn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],2),wn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Cn),class:normalizeClass([[unref($e).e("icon-btn"),{[unref($e).is("disabled")]:!unref(Cn)}],"d-arrow-right"]),onClick:On[1]||(On[1]=(...Tn)=>unref(vn)&&unref(vn)(...Tn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString$1(unref(_n)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:he.value,"min-date":unref(xe),"max-date":unref(Ce),"range-state":unref(Ie),"disabled-date":unref(de),onChangerange:unref(Ve),onPick:En,onSelect:unref(ze)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref($e).e("content"),unref(Ne).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(Ne).e("header"))},[wn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Cn),class:normalizeClass([[unref($e).e("icon-btn"),{"is-disabled":!unref(Cn)}],"d-arrow-left"]),onClick:On[2]||(On[2]=(...Tn)=>unref(bn)&&unref(bn)(...Tn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$e)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref($e).e("icon-btn"),"d-arrow-right"]),onClick:On[3]||(On[3]=(...Tn)=>unref(hn)&&unref(hn)(...Tn))},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString$1(unref(kn)),1)],2),createVNode(MonthTable,{"selection-mode":"range",date:_e.value,"min-date":unref(xe),"max-date":unref(Ce),"range-state":unref(Ie),"disabled-date":unref(de),onChangerange:unref(Ve),onPick:En,onSelect:unref(ze)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc$1(_sfc_main$1n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);const getPanel=function($){switch($){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;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:{...timePickerDefaultProps,...datePickerProps},emits:["update:modelValue"],setup($,{expose:j,emit:oe,slots:ae}){const ie=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef($,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:ae,pickerNs:ie});const le=ref();j({focus:(pe=!0)=>{var he;(he=le.value)==null||he.focus(pe)},handleOpen:()=>{var pe;(pe=le.value)==null||pe.handleOpen()},handleClose:()=>{var pe;(pe=le.value)==null||pe.handleClose()}});const ue=pe=>{oe("update:modelValue",pe)};return()=>{var pe;const he=(pe=$.format)!=null?pe:DEFAULT_FORMATS_DATEPICKER[$.type]||DEFAULT_FORMATS_DATE,_e=getPanel($.type);return createVNode(CommonPicker,mergeProps($,{format:he,type:$.type,ref:le,"onUpdate:modelValue":ue}),{default:xe=>createVNode(_e,xe,null),"range-separator":ae["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=$=>{$.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var $,j,oe,ae,ie,le;const de=getNormalizedProps(this.cell),{border:ue,direction:pe}=this.descriptions,he=pe==="vertical",_e=((oe=(j=($=this.cell)==null?void 0:$.children)==null?void 0:j.label)==null?void 0:oe.call(j))||de.label,xe=(le=(ie=(ae=this.cell)==null?void 0:ae.children)==null?void 0:ie.default)==null?void 0:le.call(ie),Ce=de.span,Ie=de.align?`is-${de.align}`:"",$e=de.labelAlign?`is-${de.labelAlign}`:Ie,Ne=de.className,Ve=de.labelClassName,Oe={width:addUnit(de.width),minWidth:addUnit(de.minWidth)},Fe=useNamespace("descriptions");switch(this.type){case"label":return h$2(this.tag,{style:Oe,class:[Fe.e("cell"),Fe.e("label"),Fe.is("bordered-label",ue),Fe.is("vertical-label",he),$e,Ve],colSpan:he?Ce:1},_e);case"content":return h$2(this.tag,{style:Oe,class:[Fe.e("cell"),Fe.e("content"),Fe.is("bordered-content",ue),Fe.is("vertical-content",he),Ie,Ne],colSpan:he?Ce:Ce*2-1},xe);default:return h$2("td",{style:Oe,class:[Fe.e("cell"),Ie],colSpan:Ce},[isNil(_e)?void 0:h$2("span",{class:[Fe.e("label"),Ve]},_e),h$2("span",{class:[Fe.e("content"),Ne]},xe)])}}});const descriptionsRowProps=buildProps({row:{type:Array,default:()=>[]}}),_hoisted_1$H={key:1},__default__$T=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1m=defineComponent({...__default__$T,props:descriptionsRowProps,setup($){const j=inject(descriptionsKey,{});return(oe,ae)=>unref(j).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.row,(ie,le)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${le}`,cell:ie,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.row,(ie,le)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${le}`,cell:ie,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$H,[(openBlock(!0),createElementBlock(Fragment,null,renderList(oe.row,(ie,le)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${le}`},[unref(j).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(unref(ElDescriptionsCell),{cell:ie,tag:"td",type:"label"},null,8,["cell"]),createVNode(unref(ElDescriptionsCell),{cell:ie,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:ie,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$1(_sfc_main$1m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const descriptionProps=buildProps({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""}}),__default__$S=defineComponent({name:"ElDescriptions"}),_sfc_main$1l=defineComponent({...__default__$S,props:descriptionProps,setup($){const j=$,oe=useNamespace("descriptions"),ae=useFormSize(),ie=useSlots();provide(descriptionsKey,j);const le=computed(()=>[oe.b(),oe.m(ae.value)]),de=(pe,he,_e,xe=!1)=>(pe.props||(pe.props={}),he>_e&&(pe.props.span=_e),xe&&(pe.props.span=he),pe),ue=()=>{var pe;const he=flattedChildren((pe=ie.default)==null?void 0:pe.call(ie)).filter($e=>{var Ne;return((Ne=$e==null?void 0:$e.type)==null?void 0:Ne.name)==="ElDescriptionsItem"}),_e=[];let xe=[],Ce=j.column,Ie=0;return he.forEach(($e,Ne)=>{var Ve;const Oe=((Ve=$e.props)==null?void 0:Ve.span)||1;if(NeCe?Ce:Oe),Ne===he.length-1){const Fe=j.column-Ie%j.column;xe.push(de($e,Fe,Ce,!0)),_e.push(xe);return}Oe(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le))},[pe.title||pe.extra||pe.$slots.title||pe.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("title"))},[renderSlot(pe.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(pe.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(oe).e("extra"))},[renderSlot(pe.$slots,"extra",{},()=>[createTextVNode(toDisplayString$1(pe.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(oe).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(oe).e("table"),unref(oe).is("bordered",pe.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(ue(),(_e,xe)=>(openBlock(),createBlock(ElDescriptionsRow,{key:xe,row:_e},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$1(_sfc_main$1l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]),DescriptionsItem=defineComponent({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const ElDescriptions=withInstall(Descriptions,{DescriptionsItem}),ElDescriptionsItem=withNoopInstall(DescriptionsItem),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:$=>$ instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup($,{slots:j,emit:oe}){const ae=useNamespace(BLOCK),ie=pe=>{oe("click",pe)},{onClick:le,onMousedown:de,onMouseup:ue}=useSameTarget($.customMaskEvent?void 0:ie);return()=>$.mask?createVNode("div",{class:[ae.b(),$.overlayClass],style:{zIndex:$.zIndex},onClick:le,onMousedown:de,onMouseup:ue},[renderSlot(j,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$2("div",{class:$.overlayClass,style:{zIndex:$.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(j,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:{type:Boolean,default:!1},alignCenter:{type:Boolean,default:!1},closeIcon:{type:iconPropType},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),dialogContentEmits={close:()=>!0},_hoisted_1$G=["aria-label"],_hoisted_2$q=["id"],__default__$R=defineComponent({name:"ElDialogContent"}),_sfc_main$1k=defineComponent({...__default__$R,props:dialogContentProps,emits:dialogContentEmits,setup($){const j=$,{t:oe}=useLocale(),{Close:ae}=CloseComponents,{dialogRef:ie,headerRef:le,bodyId:de,ns:ue,style:pe}=inject(dialogInjectionKey),{focusTrapRef:he}=inject(FOCUS_TRAP_INJECTION_KEY),_e=composeRefs(he,ie),xe=computed(()=>j.draggable);return useDraggable(ie,le,xe),(Ce,Ie)=>(openBlock(),createElementBlock("div",{ref:unref(_e),class:normalizeClass([unref(ue).b(),unref(ue).is("fullscreen",Ce.fullscreen),unref(ue).is("draggable",unref(xe)),unref(ue).is("align-center",Ce.alignCenter),{[unref(ue).m("center")]:Ce.center},Ce.customClass]),style:normalizeStyle(unref(pe)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:le,class:normalizeClass(unref(ue).e("header"))},[renderSlot(Ce.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(ue).e("title"))},toDisplayString$1(Ce.title),3)]),Ce.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(oe)("el.dialog.close"),class:normalizeClass(unref(ue).e("headerbtn")),type:"button",onClick:Ie[0]||(Ie[0]=$e=>Ce.$emit("close"))},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ue).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.closeIcon||unref(ae))))]),_:1},8,["class"])],10,_hoisted_1$G)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(de),class:normalizeClass(unref(ue).e("body"))},[renderSlot(Ce.$slots,"default")],10,_hoisted_2$q),Ce.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(ue).e("footer"))},[renderSlot(Ce.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$1(_sfc_main$1k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:{type:Boolean,default:!1},beforeClose:{type:definePropType(Function)},destroyOnClose:{type:Boolean,default:!1},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:{type:Boolean,default:!1},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:$=>isBoolean$5($),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=($,j)=>{const ae=getCurrentInstance().emit,{nextZIndex:ie}=useZIndex();let le="";const de=useId(),ue=useId(),pe=ref(!1),he=ref(!1),_e=ref(!1),xe=ref($.zIndex||ie());let Ce,Ie;const $e=useGlobalConfig("namespace",defaultNamespace),Ne=computed(()=>{const En={},Nn=`--${$e.value}-dialog`;return $.fullscreen||($.top&&(En[`${Nn}-margin-top`]=$.top),$.width&&(En[`${Nn}-width`]=addUnit($.width))),En}),Ve=computed(()=>$.alignCenter?{display:"flex"}:{});function Oe(){ae("opened")}function Fe(){ae("closed"),ae(UPDATE_MODEL_EVENT,!1),$.destroyOnClose&&(_e.value=!1)}function ze(){ae("close")}function Ue(){Ie==null||Ie(),Ce==null||Ce(),$.openDelay&&$.openDelay>0?{stop:Ce}=useTimeoutFn(()=>bn(),$.openDelay):bn()}function qe(){Ce==null||Ce(),Ie==null||Ie(),$.closeDelay&&$.closeDelay>0?{stop:Ie}=useTimeoutFn(()=>_n(),$.closeDelay):_n()}function hn(){function En(Nn){Nn||(he.value=!0,pe.value=!1)}$.beforeClose?$.beforeClose(En):qe()}function vn(){$.closeOnClickModal&&hn()}function bn(){isClient&&(pe.value=!0)}function _n(){pe.value=!1}function kn(){ae("openAutoFocus")}function xn(){ae("closeAutoFocus")}function $n(En){var Nn;((Nn=En.detail)==null?void 0:Nn.focusReason)==="pointer"&&En.preventDefault()}$.lockScroll&&useLockscreen(pe);function Cn(){$.closeOnPressEscape&&hn()}return watch(()=>$.modelValue,En=>{En?(he.value=!1,Ue(),_e.value=!0,xe.value=$.zIndex?xe.value++:ie(),nextTick(()=>{ae("open"),j.value&&(j.value.scrollTop=0)})):pe.value&&qe()}),watch(()=>$.fullscreen,En=>{j.value&&(En?(le=j.value.style.transform,j.value.style.transform=""):j.value.style.transform=le)}),onMounted(()=>{$.modelValue&&(pe.value=!0,_e.value=!0,Ue())}),{afterEnter:Oe,afterLeave:Fe,beforeLeave:ze,handleClose:hn,onModalClick:vn,close:qe,doClose:_n,onOpenAutoFocus:kn,onCloseAutoFocus:xn,onCloseRequested:Cn,onFocusoutPrevented:$n,titleId:de,bodyId:ue,closed:he,style:Ne,overlayDialogStyle:Ve,rendered:_e,visible:pe,zIndex:xe}},_hoisted_1$F=["aria-label","aria-labelledby","aria-describedby"],__default__$Q=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1j=defineComponent({...__default__$Q,props:dialogProps,emits:dialogEmits,setup($,{expose:j}){const oe=$,ae=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(()=>!!ae.title)),useDeprecated({scope:"el-dialog",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/dialog.html#attributes",type:"Attribute"},computed(()=>!!oe.customClass));const ie=useNamespace("dialog"),le=ref(),de=ref(),ue=ref(),{visible:pe,titleId:he,bodyId:_e,style:xe,overlayDialogStyle:Ce,rendered:Ie,zIndex:$e,afterEnter:Ne,afterLeave:Ve,beforeLeave:Oe,handleClose:Fe,onModalClick:ze,onOpenAutoFocus:Ue,onCloseAutoFocus:qe,onCloseRequested:hn,onFocusoutPrevented:vn}=useDialog(oe,le);provide(dialogInjectionKey,{dialogRef:le,headerRef:de,bodyId:_e,ns:ie,rendered:Ie,style:xe});const bn=useSameTarget(ze),_n=computed(()=>oe.draggable&&!oe.fullscreen);return j({visible:pe,dialogContentRef:ue}),(kn,xn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!kn.appendToBody},[createVNode(Transition,{name:"dialog-fade",onAfterEnter:unref(Ne),onAfterLeave:unref(Ve),onBeforeLeave:unref(Oe),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(unref(ElOverlay),{"custom-mask-event":"",mask:kn.modal,"overlay-class":kn.modalClass,"z-index":unref($e)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":kn.title||void 0,"aria-labelledby":kn.title?void 0:unref(he),"aria-describedby":unref(_e),class:normalizeClass(`${unref(ie).namespace.value}-overlay-dialog`),style:normalizeStyle(unref(Ce)),onClick:xn[0]||(xn[0]=(...$n)=>unref(bn).onClick&&unref(bn).onClick(...$n)),onMousedown:xn[1]||(xn[1]=(...$n)=>unref(bn).onMousedown&&unref(bn).onMousedown(...$n)),onMouseup:xn[2]||(xn[2]=(...$n)=>unref(bn).onMouseup&&unref(bn).onMouseup(...$n))},[createVNode(unref(ElFocusTrap),{loop:"",trapped:unref(pe),"focus-start-el":"container",onFocusAfterTrapped:unref(Ue),onFocusAfterReleased:unref(qe),onFocusoutPrevented:unref(vn),onReleaseRequested:unref(hn)},{default:withCtx(()=>[unref(Ie)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:ue},kn.$attrs,{"custom-class":kn.customClass,center:kn.center,"align-center":kn.alignCenter,"close-icon":kn.closeIcon,draggable:unref(_n),fullscreen:kn.fullscreen,"show-close":kn.showClose,title:kn.title,onClose:unref(Fe)}),createSlots({header:withCtx(()=>[kn.$slots.title?renderSlot(kn.$slots,"title",{key:1}):renderSlot(kn.$slots,"header",{key:0,close:unref(Fe),titleId:unref(he),titleClass:unref(ie).e("title")})]),default:withCtx(()=>[renderSlot(kn.$slots,"default")]),_:2},[kn.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(kn.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$F)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(pe)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Dialog=_export_sfc$1(_sfc_main$1j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/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__$P=defineComponent({name:"ElDivider"}),_sfc_main$1i=defineComponent({...__default__$P,props:dividerProps,setup($){const j=$,oe=useNamespace("divider"),ae=computed(()=>oe.cssVar({"border-style":j.borderStyle}));return(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(oe).b(),unref(oe).m(ie.direction)]),style:normalizeStyle(unref(ae)),role:"separator"},[ie.$slots.default&&ie.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(oe).e("text"),unref(oe).is(ie.contentPosition)])},[renderSlot(ie.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$1(_sfc_main$1i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/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}}),drawerEmits=dialogEmits,_sfc_main$1h=defineComponent({name:"ElDrawer",components:{ElOverlay,ElFocusTrap,ElIcon,Close:close_default},inheritAttrs:!1,props:drawerProps,emits:drawerEmits,setup($,{slots:j}){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(()=>!!j.title)),useDeprecated({scope:"el-drawer",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/drawer.html#attributes",type:"Attribute"},computed(()=>!!$.customClass));const oe=ref(),ae=ref(),ie=useNamespace("drawer"),{t:le}=useLocale(),de=computed(()=>$.direction==="rtl"||$.direction==="ltr"),ue=computed(()=>addUnit($.size));return{...useDialog($,oe),drawerRef:oe,focusStartRef:ae,isHorizontal:de,drawerSize:ue,ns:ie,t:le}}}),_hoisted_1$E=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$p=["id"],_hoisted_3$d=["aria-label"],_hoisted_4$a=["id"];function _sfc_render$o($,j,oe,ae,ie,le){const de=resolveComponent("close"),ue=resolveComponent("el-icon"),pe=resolveComponent("el-focus-trap"),he=resolveComponent("el-overlay");return openBlock(),createBlock(Teleport,{to:"body",disabled:!$.appendToBody},[createVNode(Transition,{name:$.ns.b("fade"),onAfterEnter:$.afterEnter,onAfterLeave:$.afterLeave,onBeforeLeave:$.beforeLeave,persisted:""},{default:withCtx(()=>[withDirectives(createVNode(he,{mask:$.modal,"overlay-class":$.modalClass,"z-index":$.zIndex,onClick:$.onModalClick},{default:withCtx(()=>[createVNode(pe,{loop:"",trapped:$.visible,"focus-trap-el":$.drawerRef,"focus-start-el":$.focusStartRef,onReleaseRequested:$.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref:"drawerRef","aria-modal":"true","aria-label":$.title||void 0,"aria-labelledby":$.title?void 0:$.titleId,"aria-describedby":$.bodyId},$.$attrs,{class:[$.ns.b(),$.direction,$.visible&&"open",$.customClass],style:$.isHorizontal?"width: "+$.drawerSize:"height: "+$.drawerSize,role:"dialog",onClick:j[1]||(j[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref:"focusStartRef",class:normalizeClass($.ns.e("sr-focus")),tabindex:"-1"},null,2),$.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass($.ns.e("header"))},[$.$slots.title?renderSlot($.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot($.$slots,"header",{key:0,close:$.handleClose,titleId:$.titleId,titleClass:$.ns.e("title")},()=>[$.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:$.titleId,role:"heading",class:normalizeClass($.ns.e("title"))},toDisplayString$1($.title),11,_hoisted_2$p))]),$.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":$.t("el.drawer.close"),class:normalizeClass($.ns.e("close-btn")),type:"button",onClick:j[0]||(j[0]=(..._e)=>$.handleClose&&$.handleClose(..._e))},[createVNode(ue,{class:normalizeClass($.ns.e("close"))},{default:withCtx(()=>[createVNode(de)]),_:1},8,["class"])],10,_hoisted_3$d)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),$.rendered?(openBlock(),createElementBlock("div",{key:1,id:$.bodyId,class:normalizeClass($.ns.e("body"))},[renderSlot($.$slots,"default")],10,_hoisted_4$a)):createCommentVNode("v-if",!0),$.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass($.ns.e("footer"))},[renderSlot($.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$E)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,$.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var Drawer=_export_sfc$1(_sfc_main$1h,[["render",_sfc_render$o],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1g=defineComponent({inheritAttrs:!1});function _sfc_render$n($,j,oe,ae,ie,le){return renderSlot($.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$1g,[["render",_sfc_render$n],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _sfc_main$1f=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$m($,j,oe,ae,ie,le){return renderSlot($.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$1f,[["render",_sfc_render$m],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=$=>{const j=`El${$}Collection`,oe=`${j}Item`,ae=Symbol(j),ie=Symbol(oe),le={...Collection,name:j,setup(){const ue=ref(null),pe=new Map;provide(ae,{itemMap:pe,getItems:()=>{const _e=unref(ue);if(!_e)return[];const xe=Array.from(_e.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...pe.values()].sort((Ie,$e)=>xe.indexOf(Ie.ref)-xe.indexOf($e.ref))},collectionRef:ue})}},de={...CollectionItem,name:oe,setup(ue,{attrs:pe}){const he=ref(null),_e=inject(ae,void 0);provide(ie,{collectionItemRef:he}),onMounted(()=>{const xe=unref(he);xe&&_e.itemMap.set(xe,{ref:xe,...pe})}),onBeforeUnmount(()=>{const xe=unref(he);_e.itemMap.delete(xe)})}};return{COLLECTION_INJECTION_KEY:ae,COLLECTION_ITEM_INJECTION_KEY:ie,ElCollection:le,ElCollectionItem:de}},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=($,j)=>{if(j!=="rtl")return $;switch($){case EVENT_CODE.right:return EVENT_CODE.left;case EVENT_CODE.left:return EVENT_CODE.right;default:return $}},getFocusIntent=($,j,oe)=>{const ae=getDirectionAwareKey($.key,oe);if(!(j==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(ae))&&!(j==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(ae)))return MAP_KEY_TO_FOCUS_INTENT[ae]},reorderArray=($,j)=>$.map((oe,ae)=>$[(ae+j)%$.length]),focusFirst=$=>{const{activeElement:j}=document;for(const oe of $)if(oe===j||(oe.focus(),j!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1e=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup($,{emit:j}){var oe;const ae=ref((oe=$.currentTabId||$.defaultCurrentTabId)!=null?oe:null),ie=ref(!1),le=ref(!1),de=ref(null),{getItems:ue}=inject(COLLECTION_INJECTION_KEY$1,void 0),pe=computed(()=>[{outline:"none"},$.style]),he=Ne=>{j(CURRENT_TAB_ID_CHANGE_EVT,Ne)},_e=()=>{ie.value=!0},xe=composeEventHandlers(Ne=>{var Ve;(Ve=$.onMousedown)==null||Ve.call($,Ne)},()=>{le.value=!0}),Ce=composeEventHandlers(Ne=>{var Ve;(Ve=$.onFocus)==null||Ve.call($,Ne)},Ne=>{const Ve=!unref(le),{target:Oe,currentTarget:Fe}=Ne;if(Oe===Fe&&Ve&&!unref(ie)){const ze=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(Fe==null||Fe.dispatchEvent(ze),!ze.defaultPrevented){const Ue=ue().filter(_n=>_n.focusable),qe=Ue.find(_n=>_n.active),hn=Ue.find(_n=>_n.id===unref(ae)),bn=[qe,hn,...Ue].filter(Boolean).map(_n=>_n.ref);focusFirst(bn)}}le.value=!1}),Ie=composeEventHandlers(Ne=>{var Ve;(Ve=$.onBlur)==null||Ve.call($,Ne)},()=>{ie.value=!1}),$e=(...Ne)=>{j("entryFocus",...Ne)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(ae),loop:toRef($,"loop"),tabIndex:computed(()=>unref(ie)?-1:0),rovingFocusGroupRef:de,rovingFocusGroupRootStyle:pe,orientation:toRef($,"orientation"),dir:toRef($,"dir"),onItemFocus:he,onItemShiftTab:_e,onBlur:Ie,onFocus:Ce,onMousedown:xe}),watch(()=>$.currentTabId,Ne=>{ae.value=Ne??null}),useEventListener(de,ENTRY_FOCUS_EVT,$e)}});function _sfc_render$l($,j,oe,ae,ie,le){return renderSlot($.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$1e,[["render",_sfc_render$l],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const _sfc_main$1d=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$k($,j,oe,ae,ie,le){const de=resolveComponent("el-roving-focus-group-impl"),ue=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(ue,null,{default:withCtx(()=>[createVNode(de,normalizeProps(guardReactiveProps($.$attrs)),{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$1d,[["render",_sfc_render$k],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const _sfc_main$1c=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup($,{emit:j}){const{currentTabbedId:oe,loop:ae,onItemFocus:ie,onItemShiftTab:le}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:de}=inject(COLLECTION_INJECTION_KEY$1,void 0),ue=useId(),pe=ref(null),he=composeEventHandlers(Ie=>{j("mousedown",Ie)},Ie=>{$.focusable?ie(unref(ue)):Ie.preventDefault()}),_e=composeEventHandlers(Ie=>{j("focus",Ie)},()=>{ie(unref(ue))}),xe=composeEventHandlers(Ie=>{j("keydown",Ie)},Ie=>{const{key:$e,shiftKey:Ne,target:Ve,currentTarget:Oe}=Ie;if($e===EVENT_CODE.tab&&Ne){le();return}if(Ve!==Oe)return;const Fe=getFocusIntent(Ie);if(Fe){Ie.preventDefault();let Ue=de().filter(qe=>qe.focusable).map(qe=>qe.ref);switch(Fe){case"last":{Ue.reverse();break}case"prev":case"next":{Fe==="prev"&&Ue.reverse();const qe=Ue.indexOf(Oe);Ue=ae.value?reorderArray(Ue,qe+1):Ue.slice(qe+1);break}}nextTick(()=>{focusFirst(Ue)})}}),Ce=computed(()=>oe.value===unref(ue));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:pe,tabIndex:computed(()=>unref(Ce)?0:-1),handleMousedown:he,handleFocus:_e,handleKeydown:xe}),{id:ue,handleKeydown:xe,handleFocus:_e,handleMousedown:he}}});function _sfc_render$j($,j,oe,ae,ie,le){const de=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(de,{id:$.id,focusable:$.focusable,active:$.active},{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$j],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const dropdownProps=buildProps({trigger:useTooltipTriggerProps.trigger,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:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported}),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,ElCollectionItem,COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("Dropdown"),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$1b=defineComponent({name:"ElDropdown",components:{ElButton,ElButtonGroup,ElScrollbar,ElDropdownCollection:ElCollection,ElTooltip,ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup($,{emit:j}){const oe=getCurrentInstance(),ae=useNamespace("dropdown"),{t:ie}=useLocale(),le=ref(),de=ref(),ue=ref(null),pe=ref(null),he=ref(null),_e=ref(null),xe=ref(!1),Ce=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],Ie=computed(()=>({maxHeight:addUnit($.maxHeight)})),$e=computed(()=>[ae.m(Ue.value)]),Ne=useId().value,Ve=computed(()=>$.id||Ne);watch([le,toRef($,"trigger")],([Sn,wn],[On])=>{var Tn,In,Bn;const Dn=isArray$x(wn)?wn:[wn];(Tn=On==null?void 0:On.$el)!=null&&Tn.removeEventListener&&On.$el.removeEventListener("pointerenter",hn),(In=Sn==null?void 0:Sn.$el)!=null&&In.removeEventListener&&Sn.$el.removeEventListener("pointerenter",hn),(Bn=Sn==null?void 0:Sn.$el)!=null&&Bn.addEventListener&&Dn.includes("hover")&&Sn.$el.addEventListener("pointerenter",hn)},{immediate:!0}),onBeforeUnmount(()=>{var Sn,wn;(wn=(Sn=le.value)==null?void 0:Sn.$el)!=null&&wn.removeEventListener&&le.value.$el.removeEventListener("pointerenter",hn)});function Oe(){Fe()}function Fe(){var Sn;(Sn=ue.value)==null||Sn.onClose()}function ze(){var Sn;(Sn=ue.value)==null||Sn.onOpen()}const Ue=useFormSize();function qe(...Sn){j("command",...Sn)}function hn(){var Sn,wn;(wn=(Sn=le.value)==null?void 0:Sn.$el)==null||wn.focus()}function vn(){}function bn(){const Sn=unref(pe);Sn==null||Sn.focus(),_e.value=null}function _n(Sn){_e.value=Sn}function kn(Sn){xe.value||(Sn.preventDefault(),Sn.stopImmediatePropagation())}function xn(){j("visible-change",!0)}function $n(Sn){(Sn==null?void 0:Sn.type)==="keydown"&&pe.value.focus()}function Cn(){j("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:pe,role:computed(()=>$.role),triggerId:Ve,isUsingKeyboard:xe,onItemEnter:vn,onItemLeave:bn}),provide("elDropdown",{instance:oe,dropdownSize:Ue,handleClick:Oe,commandHandler:qe,trigger:toRef($,"trigger"),hideOnClick:toRef($,"hideOnClick")}),{t:ie,ns:ae,scrollbar:he,wrapStyle:Ie,dropdownTriggerKls:$e,dropdownSize:Ue,triggerId:Ve,triggerKeys:Ce,currentTabId:_e,handleCurrentTabIdChange:_n,handlerMainButtonClick:Sn=>{j("click",Sn)},handleEntryFocus:kn,handleClose:Fe,handleOpen:ze,handleBeforeShowTooltip:xn,handleShowTooltip:$n,handleBeforeHideTooltip:Cn,onFocusAfterTrapped:Sn=>{var wn,On;Sn.preventDefault(),(On=(wn=pe.value)==null?void 0:wn.focus)==null||On.call(wn,{preventScroll:!0})},popperRef:ue,contentRef:pe,triggeringElementRef:le,referenceElementRef:de}}});function _sfc_render$i($,j,oe,ae,ie,le){var de;const ue=resolveComponent("el-dropdown-collection"),pe=resolveComponent("el-roving-focus-group"),he=resolveComponent("el-scrollbar"),_e=resolveComponent("el-only-child"),xe=resolveComponent("el-tooltip"),Ce=resolveComponent("el-button"),Ie=resolveComponent("arrow-down"),$e=resolveComponent("el-icon"),Ne=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([$.ns.b(),$.ns.is("disabled",$.disabled)])},[createVNode(xe,{ref:"popperRef",role:$.role,effect:$.effect,"fallback-placements":["bottom","top"],"popper-options":$.popperOptions,"gpu-acceleration":!1,"hide-after":$.trigger==="hover"?$.hideTimeout:0,"manual-mode":!0,placement:$.placement,"popper-class":[$.ns.e("popper"),$.popperClass],"reference-element":(de=$.referenceElementRef)==null?void 0:de.$el,trigger:$.trigger,"trigger-keys":$.triggerKeys,"trigger-target-el":$.contentRef,"show-after":$.trigger==="hover"?$.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":$.triggeringElementRef,"virtual-triggering":$.splitButton,disabled:$.disabled,transition:`${$.ns.namespace.value}-zoom-in-top`,teleported:$.teleported,pure:"",persistent:"",onBeforeShow:$.handleBeforeShowTooltip,onShow:$.handleShowTooltip,onBeforeHide:$.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode(he,{ref:"scrollbar","wrap-style":$.wrapStyle,tag:"div","view-class":$.ns.e("list")},{default:withCtx(()=>[createVNode(pe,{loop:$.loop,"current-tab-id":$.currentTabId,orientation:"horizontal",onCurrentTabIdChange:$.handleCurrentTabIdChange,onEntryFocus:$.handleEntryFocus},{default:withCtx(()=>[createVNode(ue,null,{default:withCtx(()=>[renderSlot($.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[$.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode(_e,{id:$.triggerId,ref:"triggeringElementRef",role:"button",tabindex:$.tabindex},{default:withCtx(()=>[renderSlot($.$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","onBeforeShow","onShow","onBeforeHide"]),$.splitButton?(openBlock(),createBlock(Ne,{key:0},{default:withCtx(()=>[createVNode(Ce,mergeProps({ref:"referenceElementRef"},$.buttonProps,{size:$.dropdownSize,type:$.type,disabled:$.disabled,tabindex:$.tabindex,onClick:$.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode(Ce,mergeProps({id:$.triggerId,ref:"triggeringElementRef"},$.buttonProps,{role:"button",size:$.dropdownSize,type:$.type,class:$.ns.e("caret-button"),disabled:$.disabled,tabindex:$.tabindex,"aria-label":$.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode($e,{class:normalizeClass($.ns.e("icon"))},{default:withCtx(()=>[createVNode(Ie)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$i],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const _sfc_main$1a=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup($,{emit:j}){const oe=useNamespace("dropdown"),{role:ae}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:ie}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:le}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:de,tabIndex:ue,handleFocus:pe,handleKeydown:he,handleMousedown:_e}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),xe=composeRefs(ie,le,de),Ce=computed(()=>ae.value==="menu"?"menuitem":ae.value==="navigation"?"link":"button"),Ie=composeEventHandlers($e=>{const{code:Ne}=$e;if(Ne===EVENT_CODE.enter||Ne===EVENT_CODE.space)return $e.preventDefault(),$e.stopImmediatePropagation(),j("clickimpl",$e),!0},he);return{ns:oe,itemRef:xe,dataset:{[COLLECTION_ITEM_SIGN]:""},role:Ce,tabIndex:ue,handleFocus:pe,handleKeydown:Ie,handleMousedown:_e}}}),_hoisted_1$D=["aria-disabled","tabindex","role"];function _sfc_render$h($,j,oe,ae,ie,le){const de=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[$.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:$.ns.bem("menu","item","divided")},$.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:$.itemRef},{...$.dataset,...$.$attrs},{"aria-disabled":$.disabled,class:[$.ns.be("menu","item"),$.ns.is("disabled",$.disabled)],tabindex:$.tabIndex,role:$.role,onClick:j[0]||(j[0]=ue=>$.$emit("clickimpl",ue)),onFocus:j[1]||(j[1]=(...ue)=>$.handleFocus&&$.handleFocus(...ue)),onKeydown:j[2]||(j[2]=withModifiers((...ue)=>$.handleKeydown&&$.handleKeydown(...ue),["self"])),onMousedown:j[3]||(j[3]=(...ue)=>$.handleMousedown&&$.handleMousedown(...ue)),onPointermove:j[4]||(j[4]=ue=>$.$emit("pointermove",ue)),onPointerleave:j[5]||(j[5]=ue=>$.$emit("pointerleave",ue))}),[$.icon?(openBlock(),createBlock(de,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot($.$slots,"default")],16,_hoisted_1$D)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$1a,[["render",_sfc_render$h],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const useDropdown=()=>{const $=inject("elDropdown",{}),j=computed(()=>$==null?void 0:$.dropdownSize);return{elDropdown:$,_elDropdownSize:j}},_sfc_main$19=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup($,{emit:j,attrs:oe}){const{elDropdown:ae}=useDropdown(),ie=getCurrentInstance(),le=ref(null),de=computed(()=>{var Ie,$e;return($e=(Ie=unref(le))==null?void 0:Ie.textContent)!=null?$e:""}),{onItemEnter:ue,onItemLeave:pe}=inject(DROPDOWN_INJECTION_KEY,void 0),he=composeEventHandlers(Ie=>(j("pointermove",Ie),Ie.defaultPrevented),whenMouse(Ie=>{if($.disabled){pe(Ie);return}const $e=Ie.currentTarget;$e===document.activeElement||$e.contains(document.activeElement)||(ue(Ie),Ie.defaultPrevented||$e==null||$e.focus())})),_e=composeEventHandlers(Ie=>(j("pointerleave",Ie),Ie.defaultPrevented),whenMouse(Ie=>{pe(Ie)})),xe=composeEventHandlers(Ie=>{if(!$.disabled)return j("click",Ie),Ie.type!=="keydown"&&Ie.defaultPrevented},Ie=>{var $e,Ne,Ve;if($.disabled){Ie.stopImmediatePropagation();return}($e=ae==null?void 0:ae.hideOnClick)!=null&&$e.value&&((Ne=ae.handleClick)==null||Ne.call(ae)),(Ve=ae.commandHandler)==null||Ve.call(ae,$.command,ie,Ie)}),Ce=computed(()=>({...$,...oe}));return{handleClick:xe,handlePointerMove:he,handlePointerLeave:_e,textContent:de,propsAndAttrs:Ce}}});function _sfc_render$g($,j,oe,ae,ie,le){var de;const ue=resolveComponent("el-dropdown-item-impl"),pe=resolveComponent("el-roving-focus-item"),he=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(he,{disabled:$.disabled,"text-value":(de=$.textValue)!=null?de:$.textContent},{default:withCtx(()=>[createVNode(pe,{focusable:!$.disabled},{default:withCtx(()=>[createVNode(ue,mergeProps($.propsAndAttrs,{onPointerleave:$.handlePointerLeave,onPointermove:$.handlePointerMove,onClickimpl:$.handleClick}),{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc$1(_sfc_main$19,[["render",_sfc_render$g],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const _sfc_main$18=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup($){const j=useNamespace("dropdown"),{_elDropdownSize:oe}=useDropdown(),ae=oe.value,{focusTrapRef:ie,onKeydown:le}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:de,role:ue,triggerId:pe}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:he,getItems:_e}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:xe,rovingFocusGroupRootStyle:Ce,tabIndex:Ie,onBlur:$e,onFocus:Ne,onMousedown:Ve}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:Oe}=inject(COLLECTION_INJECTION_KEY$1,void 0),Fe=computed(()=>[j.b("menu"),j.bm("menu",ae==null?void 0:ae.value)]),ze=composeRefs(de,he,ie,xe,Oe),Ue=composeEventHandlers(hn=>{var vn;(vn=$.onKeydown)==null||vn.call($,hn)},hn=>{const{currentTarget:vn,code:bn,target:_n}=hn;if(vn.contains(_n),EVENT_CODE.tab===bn&&hn.stopImmediatePropagation(),hn.preventDefault(),_n!==unref(de)||!FIRST_LAST_KEYS.includes(bn))return;const xn=_e().filter($n=>!$n.disabled).map($n=>$n.ref);LAST_KEYS.includes(bn)&&xn.reverse(),focusFirst(xn)});return{size:ae,rovingFocusGroupRootStyle:Ce,tabIndex:Ie,dropdownKls:Fe,role:ue,triggerId:pe,dropdownListWrapperRef:ze,handleKeydown:hn=>{Ue(hn),le(hn)},onBlur:$e,onFocus:Ne,onMousedown:Ve}}}),_hoisted_1$C=["role","aria-labelledby"];function _sfc_render$f($,j,oe,ae,ie,le){return openBlock(),createElementBlock("ul",{ref:$.dropdownListWrapperRef,class:normalizeClass($.dropdownKls),style:normalizeStyle($.rovingFocusGroupRootStyle),tabindex:-1,role:$.role,"aria-labelledby":$.triggerId,onBlur:j[0]||(j[0]=(...de)=>$.onBlur&&$.onBlur(...de)),onFocus:j[1]||(j[1]=(...de)=>$.onFocus&&$.onFocus(...de)),onKeydown:j[2]||(j[2]=withModifiers((...de)=>$.handleKeydown&&$.handleKeydown(...de),["self"])),onMousedown:j[3]||(j[3]=withModifiers((...de)=>$.onMousedown&&$.onMousedown(...de),["self"]))},[renderSlot($.$slots,"default")],46,_hoisted_1$C)}var DropdownMenu=_export_sfc$1(_sfc_main$18,[["render",_sfc_render$f],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$B={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_hoisted_2$o=["id"],_hoisted_3$c=["stop-color"],_hoisted_4$9=["stop-color"],_hoisted_5$7=["id"],_hoisted_6$2=["stop-color"],_hoisted_7$1=["stop-color"],_hoisted_8$1=["id"],_hoisted_9$1={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10$1={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},_hoisted_11$1={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},_hoisted_12$1=["fill"],_hoisted_13$1=["fill"],_hoisted_14$1={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},_hoisted_15$1=["fill"],_hoisted_16$1=["fill"],_hoisted_17$1=["fill"],_hoisted_18$1=["fill"],_hoisted_19=["fill"],_hoisted_20={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},_hoisted_21=["fill","xlink:href"],_hoisted_22=["fill","mask"],_hoisted_23=["fill"],__default__$O=defineComponent({name:"ImgEmpty"}),_sfc_main$17=defineComponent({...__default__$O,setup($){const j=useNamespace("empty"),oe=useId();return(ae,ie)=>(openBlock(),createElementBlock("svg",_hoisted_1$B,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(oe)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref(j).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$c),createBaseVNode("stop",{"stop-color":`var(${unref(j).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$9)],8,_hoisted_2$o),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(oe)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref(j).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$2),createBaseVNode("stop",{"stop-color":`var(${unref(j).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7$1)],8,_hoisted_5$7),createBaseVNode("rect",{id:`path-3-${unref(oe)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8$1)]),createBaseVNode("g",_hoisted_9$1,[createBaseVNode("g",_hoisted_10$1,[createBaseVNode("g",_hoisted_11$1,[createBaseVNode("path",{id:"Oval-Copy-2",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(j).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12$1),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref(j).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,_hoisted_13$1),createBaseVNode("g",_hoisted_14$1,[createBaseVNode("polygon",{id:"Rectangle-Copy-10",fill:`var(${unref(j).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,_hoisted_15$1),createBaseVNode("polygon",{id:"Rectangle-Copy-11",fill:`var(${unref(j).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16$1),createBaseVNode("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${unref(oe)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,_hoisted_17$1),createBaseVNode("polygon",{id:"Rectangle-Copy-13",fill:`var(${unref(j).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,_hoisted_18$1)]),createBaseVNode("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${unref(oe)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19),createBaseVNode("g",_hoisted_20,[createBaseVNode("use",{id:"Mask",fill:`var(${unref(j).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(oe)}`},null,8,_hoisted_21),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref(j).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(oe)})`,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,_hoisted_22)]),createBaseVNode("polygon",{id:"Rectangle-Copy-18",fill:`var(${unref(j).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,_hoisted_23)])])])]))}});var ImgEmpty=_export_sfc$1(_sfc_main$17,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$A=["src"],_hoisted_2$n={key:1},__default__$N=defineComponent({name:"ElEmpty"}),_sfc_main$16=defineComponent({...__default__$N,props:emptyProps,setup($){const j=$,{t:oe}=useLocale(),ae=useNamespace("empty"),ie=computed(()=>j.description||oe("el.table.emptyText")),le=computed(()=>({width:addUnit(j.imageSize)}));return(de,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ae).b())},[createBaseVNode("div",{class:normalizeClass(unref(ae).e("image")),style:normalizeStyle(unref(le))},[de.image?(openBlock(),createElementBlock("img",{key:0,src:de.image,ondragstart:"return false"},null,8,_hoisted_1$A)):renderSlot(de.$slots,"image",{key:1},()=>[createVNode(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(ae).e("description"))},[de.$slots.description?renderSlot(de.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$n,toDisplayString$1(unref(ie)),1))],2),de.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ae).e("bottom"))},[renderSlot(de.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$1(_sfc_main$16,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const ElEmpty=withInstall(Empty),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:{type:Boolean,default:!1},teleported:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2}}),imageViewerEmits={close:()=>!0,switch:$=>isNumber$d($)},_hoisted_1$z=["src"],__default__$M=defineComponent({name:"ElImageViewer"}),_sfc_main$15=defineComponent({...__default__$M,props:imageViewerProps,emits:imageViewerEmits,setup($,{expose:j,emit:oe}){const ae=$,ie={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:le}=useLocale(),de=useNamespace("image-viewer"),{nextZIndex:ue}=useZIndex(),pe=ref(),he=ref([]),_e=effectScope(),xe=ref(!0),Ce=ref(ae.initialIndex),Ie=shallowRef(ie.CONTAIN),$e=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Ne=computed(()=>{const{urlList:wn}=ae;return wn.length<=1}),Ve=computed(()=>Ce.value===0),Oe=computed(()=>Ce.value===ae.urlList.length-1),Fe=computed(()=>ae.urlList[Ce.value]),ze=computed(()=>{const{scale:wn,deg:On,offsetX:Tn,offsetY:In,enableTransition:Bn}=$e.value;let Dn=Tn/wn,Xn=In/wn;switch(On%360){case 90:case-270:[Dn,Xn]=[Xn,-Dn];break;case 180:case-180:[Dn,Xn]=[-Dn,-Xn];break;case 270:case-90:[Dn,Xn]=[-Xn,Dn];break}const Zn={transform:`scale(${wn}) rotate(${On}deg) translate(${Dn}px, ${Xn}px)`,transition:Bn?"transform .3s":""};return Ie.value.name===ie.CONTAIN.name&&(Zn.maxWidth=Zn.maxHeight="100%"),Zn}),Ue=computed(()=>isNumber$d(ae.zIndex)?ae.zIndex:ue());function qe(){vn(),oe("close")}function hn(){const wn=throttle$2(Tn=>{switch(Tn.code){case EVENT_CODE.esc:ae.closeOnPressEscape&&qe();break;case EVENT_CODE.space:$n();break;case EVENT_CODE.left:En();break;case EVENT_CODE.up:Sn("zoomIn");break;case EVENT_CODE.right:Nn();break;case EVENT_CODE.down:Sn("zoomOut");break}}),On=throttle$2(Tn=>{const In=Tn.deltaY||Tn.deltaX;Sn(In<0?"zoomIn":"zoomOut",{zoomRate:ae.zoomRate,enableTransition:!1})});_e.run(()=>{useEventListener(document,"keydown",wn),useEventListener(document,"wheel",On)})}function vn(){_e.stop()}function bn(){xe.value=!1}function _n(wn){xe.value=!1,wn.target.alt=le("el.image.error")}function kn(wn){if(xe.value||wn.button!==0||!pe.value)return;$e.value.enableTransition=!1;const{offsetX:On,offsetY:Tn}=$e.value,In=wn.pageX,Bn=wn.pageY,Dn=throttle$2(Zn=>{$e.value={...$e.value,offsetX:On+Zn.pageX-In,offsetY:Tn+Zn.pageY-Bn}}),Xn=useEventListener(document,"mousemove",Dn);useEventListener(document,"mouseup",()=>{Xn()}),wn.preventDefault()}function xn(){$e.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function $n(){if(xe.value)return;const wn=keysOf(ie),On=Object.values(ie),Tn=Ie.value.name,Bn=(On.findIndex(Dn=>Dn.name===Tn)+1)%wn.length;Ie.value=ie[wn[Bn]],xn()}function Cn(wn){const On=ae.urlList.length;Ce.value=(wn+On)%On}function En(){Ve.value&&!ae.infinite||Cn(Ce.value-1)}function Nn(){Oe.value&&!ae.infinite||Cn(Ce.value+1)}function Sn(wn,On={}){if(xe.value)return;const{zoomRate:Tn,rotateDeg:In,enableTransition:Bn}={zoomRate:ae.zoomRate,rotateDeg:90,enableTransition:!0,...On};switch(wn){case"zoomOut":$e.value.scale>.2&&($e.value.scale=Number.parseFloat(($e.value.scale/Tn).toFixed(3)));break;case"zoomIn":$e.value.scale<7&&($e.value.scale=Number.parseFloat(($e.value.scale*Tn).toFixed(3)));break;case"clockwise":$e.value.deg+=In;break;case"anticlockwise":$e.value.deg-=In;break}$e.value.enableTransition=Bn}return watch(Fe,()=>{nextTick(()=>{const wn=he.value[0];wn!=null&&wn.complete||(xe.value=!0)})}),watch(Ce,wn=>{xn(),oe("switch",wn)}),onMounted(()=>{var wn,On;hn(),(On=(wn=pe.value)==null?void 0:wn.focus)==null||On.call(wn)}),j({setActiveItem:Cn}),(wn,On)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!wn.teleported},[createVNode(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:pe,tabindex:-1,class:normalizeClass(unref(de).e("wrapper")),style:normalizeStyle({zIndex:unref(Ue)})},[createBaseVNode("div",{class:normalizeClass(unref(de).e("mask")),onClick:On[0]||(On[0]=withModifiers(Tn=>wn.hideOnClickModal&&qe(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(de).e("btn"),unref(de).e("close")]),onClick:qe},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Ne)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass([unref(de).e("btn"),unref(de).e("prev"),unref(de).is("disabled",!wn.infinite&&unref(Ve))]),onClick:En},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass([unref(de).e("btn"),unref(de).e("next"),unref(de).is("disabled",!wn.infinite&&unref(Oe))]),onClick:Nn},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(de).e("btn"),unref(de).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(de).e("actions__inner"))},[createVNode(unref(ElIcon),{onClick:On[1]||(On[1]=Tn=>Sn("zoomOut"))},{default:withCtx(()=>[createVNode(unref(zoom_out_default))]),_:1}),createVNode(unref(ElIcon),{onClick:On[2]||(On[2]=Tn=>Sn("zoomIn"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(de).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:$n},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ie).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(de).e("actions__divider"))},null,2),createVNode(unref(ElIcon),{onClick:On[3]||(On[3]=Tn=>Sn("anticlockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_left_default))]),_:1}),createVNode(unref(ElIcon),{onClick:On[4]||(On[4]=Tn=>Sn("clockwise"))},{default:withCtx(()=>[createVNode(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(de).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(wn.urlList,(Tn,In)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:Bn=>he.value[In]=Bn,key:Tn,src:Tn,style:normalizeStyle(unref(ze)),class:normalizeClass(unref(de).e("img")),onLoad:bn,onError:_n,onMousedown:kn},null,46,_hoisted_1$z)),[[vShow,In===Ce.value]])),128))],2),renderSlot(wn.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$1(_sfc_main$15,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:{type:Boolean,default:!1},src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:{type:Boolean,default:!1},scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:{type:Boolean,default:!1},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2}}),imageEmits={load:$=>$ instanceof Event,error:$=>$ instanceof Event,switch:$=>isNumber$d($),close:()=>!0,show:()=>!0},_hoisted_1$y=["src","loading"],_hoisted_2$m={key:0},__default__$L=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$14=defineComponent({...__default__$L,props:imageProps,emits:imageEmits,setup($,{emit:j}){const oe=$;let ae="";const{t:ie}=useLocale(),le=useNamespace("image"),de=useAttrs$1(),ue=useAttrs(),pe=ref(),he=ref(!1),_e=ref(!0),xe=ref(!1),Ce=ref(),Ie=ref(),$e=isClient&&"loading"in HTMLImageElement.prototype;let Ne,Ve;const Oe=computed(()=>de.style),Fe=computed(()=>{const{fit:wn}=oe;return isClient&&wn?{objectFit:wn}:{}}),ze=computed(()=>{const{previewSrcList:wn}=oe;return Array.isArray(wn)&&wn.length>0}),Ue=computed(()=>{const{previewSrcList:wn,initialIndex:On}=oe;let Tn=On;return On>wn.length-1&&(Tn=0),Tn}),qe=computed(()=>oe.loading==="eager"?!1:!$e&&oe.loading==="lazy"||oe.lazy),hn=()=>{isClient&&(_e.value=!0,he.value=!1,pe.value=oe.src)};function vn(wn){_e.value=!1,he.value=!1,j("load",wn)}function bn(wn){_e.value=!1,he.value=!0,j("error",wn)}function _n(){isInContainer(Ce.value,Ie.value)&&(hn(),$n())}const kn=useThrottleFn(_n,200);async function xn(){var wn;if(!isClient)return;await nextTick();const{scrollContainer:On}=oe;isElement$2(On)?Ie.value=On:isString$d(On)&&On!==""?Ie.value=(wn=document.querySelector(On))!=null?wn:void 0:Ce.value&&(Ie.value=getScrollContainer(Ce.value)),Ie.value&&(Ne=useEventListener(Ie,"scroll",kn),setTimeout(()=>_n(),100))}function $n(){!isClient||!Ie.value||!kn||(Ne==null||Ne(),Ie.value=void 0)}function Cn(wn){if(wn.ctrlKey){if(wn.deltaY<0)return wn.preventDefault(),!1;if(wn.deltaY>0)return wn.preventDefault(),!1}}function En(){ze.value&&(Ve=useEventListener("wheel",Cn,{passive:!1}),ae=document.body.style.overflow,document.body.style.overflow="hidden",xe.value=!0,j("show"))}function Nn(){Ve==null||Ve(),document.body.style.overflow=ae,xe.value=!1,j("close")}function Sn(wn){j("switch",wn)}return watch(()=>oe.src,()=>{qe.value?(_e.value=!0,he.value=!1,$n(),xn()):hn()}),onMounted(()=>{qe.value?xn():hn()}),(wn,On)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:Ce,class:normalizeClass([unref(le).b(),wn.$attrs.class]),style:normalizeStyle(unref(Oe))},[pe.value!==void 0&&!he.value?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(ue),{src:pe.value,loading:wn.loading,style:unref(Fe),class:[unref(le).e("inner"),unref(ze)&&unref(le).e("preview"),_e.value&&unref(le).is("loading")],onClick:En,onLoad:vn,onError:bn}),null,16,_hoisted_1$y)):createCommentVNode("v-if",!0),_e.value||he.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(le).e("wrapper"))},[_e.value?renderSlot(wn.$slots,"placeholder",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(le).e("placeholder"))},null,2)]):he.value?renderSlot(wn.$slots,"error",{key:1},()=>[createBaseVNode("div",{class:normalizeClass(unref(le).e("error"))},toDisplayString$1(unref(ie)("el.image.error")),3)]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),unref(ze)?(openBlock(),createElementBlock(Fragment,{key:2},[xe.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":wn.zIndex,"initial-index":unref(Ue),infinite:wn.infinite,"zoom-rate":wn.zoomRate,"url-list":wn.previewSrcList,"hide-on-click-modal":wn.hideOnClickModal,teleported:wn.previewTeleported,"close-on-press-escape":wn.closeOnPressEscape,onClose:Nn,onSwitch:Sn},{default:withCtx(()=>[wn.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$m,[renderSlot(wn.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],6))}});var Image$1=_export_sfc$1(_sfc_main$14,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/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:$=>$===null||isNumber$d($)||["min","max"].includes($),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:$=>$>=0&&$===Number.parseInt(`${$}`,10)},validateEvent:{type:Boolean,default:!0}}),inputNumberEmits={[CHANGE_EVENT]:($,j)=>j!==$,blur:$=>$ instanceof FocusEvent,focus:$=>$ instanceof FocusEvent,[INPUT_EVENT]:$=>isNumber$d($)||isNil($),[UPDATE_MODEL_EVENT]:$=>isNumber$d($)||isNil($)},_hoisted_1$x=["aria-label","onKeydown"],_hoisted_2$l=["aria-label","onKeydown"],__default__$K=defineComponent({name:"ElInputNumber"}),_sfc_main$13=defineComponent({...__default__$K,props:inputNumberProps,emits:inputNumberEmits,setup($,{expose:j,emit:oe}){const ae=$,{t:ie}=useLocale(),le=useNamespace("input-number"),de=ref(),ue=reactive({currentValue:ae.modelValue,userInput:null}),{formItem:pe}=useFormItem(),he=computed(()=>isNumber$d(ae.modelValue)&&ae.modelValue<=ae.min),_e=computed(()=>isNumber$d(ae.modelValue)&&ae.modelValue>=ae.max),xe=computed(()=>{const Cn=Oe(ae.step);return isUndefined$c(ae.precision)?Math.max(Oe(ae.modelValue),Cn):(Cn>ae.precision,ae.precision)}),Ce=computed(()=>ae.controls&&ae.controlsPosition==="right"),Ie=useFormSize(),$e=useFormDisabled(),Ne=computed(()=>{if(ue.userInput!==null)return ue.userInput;let Cn=ue.currentValue;if(isNil(Cn))return"";if(isNumber$d(Cn)){if(Number.isNaN(Cn))return"";isUndefined$c(ae.precision)||(Cn=Cn.toFixed(ae.precision))}return Cn}),Ve=(Cn,En)=>{if(isUndefined$c(En)&&(En=xe.value),En===0)return Math.round(Cn);let Nn=String(Cn);const Sn=Nn.indexOf(".");if(Sn===-1||!Nn.replace(".","").split("")[Sn+En])return Cn;const Tn=Nn.length;return Nn.charAt(Tn-1)==="5"&&(Nn=`${Nn.slice(0,Math.max(0,Tn-1))}6`),Number.parseFloat(Number(Nn).toFixed(En))},Oe=Cn=>{if(isNil(Cn))return 0;const En=Cn.toString(),Nn=En.indexOf(".");let Sn=0;return Nn!==-1&&(Sn=En.length-Nn-1),Sn},Fe=(Cn,En=1)=>isNumber$d(Cn)?Ve(Cn+ae.step*En):ue.currentValue,ze=()=>{if(ae.readonly||$e.value||_e.value)return;const Cn=Number(Ne.value)||0,En=Fe(Cn);hn(En),oe(INPUT_EVENT,ue.currentValue)},Ue=()=>{if(ae.readonly||$e.value||he.value)return;const Cn=Number(Ne.value)||0,En=Fe(Cn,-1);hn(En),oe(INPUT_EVENT,ue.currentValue)},qe=(Cn,En)=>{const{max:Nn,min:Sn,step:wn,precision:On,stepStrictly:Tn,valueOnClear:In}=ae;let Bn=Number(Cn);if(isNil(Cn)||Number.isNaN(Bn))return null;if(Cn===""){if(In===null)return null;Bn=isString$d(In)?{min:Sn,max:Nn}[In]:In}return Tn&&(Bn=Ve(Math.round(Bn/wn)*wn,On)),isUndefined$c(On)||(Bn=Ve(Bn,On)),(Bn>Nn||BnNn?Nn:Sn,En&&oe(UPDATE_MODEL_EVENT,Bn)),Bn},hn=(Cn,En=!0)=>{var Nn;const Sn=ue.currentValue,wn=qe(Cn);if(!En){oe(UPDATE_MODEL_EVENT,wn);return}Sn!==wn&&(ue.userInput=null,oe(UPDATE_MODEL_EVENT,wn),oe(CHANGE_EVENT,wn,Sn),ae.validateEvent&&((Nn=pe==null?void 0:pe.validate)==null||Nn.call(pe,"change").catch(On=>void 0)),ue.currentValue=wn)},vn=Cn=>{ue.userInput=Cn;const En=Cn===""?null:Number(Cn);oe(INPUT_EVENT,En),hn(En,!1)},bn=Cn=>{const En=Cn!==""?Number(Cn):"";(isNumber$d(En)&&!Number.isNaN(En)||Cn==="")&&hn(En),ue.userInput=null},_n=()=>{var Cn,En;(En=(Cn=de.value)==null?void 0:Cn.focus)==null||En.call(Cn)},kn=()=>{var Cn,En;(En=(Cn=de.value)==null?void 0:Cn.blur)==null||En.call(Cn)},xn=Cn=>{oe("focus",Cn)},$n=Cn=>{var En;oe("blur",Cn),ae.validateEvent&&((En=pe==null?void 0:pe.validate)==null||En.call(pe,"blur").catch(Nn=>void 0))};return watch(()=>ae.modelValue,Cn=>{const En=qe(ue.userInput),Nn=qe(Cn,!0);!isNumber$d(En)&&(!En||En!==Nn)&&(ue.currentValue=Nn,ue.userInput=null)},{immediate:!0}),onMounted(()=>{var Cn;const{min:En,max:Nn,modelValue:Sn}=ae,wn=(Cn=de.value)==null?void 0:Cn.input;if(wn.setAttribute("role","spinbutton"),Number.isFinite(Nn)?wn.setAttribute("aria-valuemax",String(Nn)):wn.removeAttribute("aria-valuemax"),Number.isFinite(En)?wn.setAttribute("aria-valuemin",String(En)):wn.removeAttribute("aria-valuemin"),wn.setAttribute("aria-valuenow",String(ue.currentValue)),wn.setAttribute("aria-disabled",String($e.value)),!isNumber$d(Sn)&&Sn!=null){let On=Number(Sn);Number.isNaN(On)&&(On=null),oe(UPDATE_MODEL_EVENT,On)}}),onUpdated(()=>{var Cn;const En=(Cn=de.value)==null?void 0:Cn.input;En==null||En.setAttribute("aria-valuenow",`${ue.currentValue}`)}),j({focus:_n,blur:kn}),(Cn,En)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(le).b(),unref(le).m(unref(Ie)),unref(le).is("disabled",unref($e)),unref(le).is("without-controls",!Cn.controls),unref(le).is("controls-right",unref(Ce))]),onDragstart:En[1]||(En[1]=withModifiers(()=>{},["prevent"]))},[Cn.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(ie)("el.inputNumber.decrease"),class:normalizeClass([unref(le).e("decrease"),unref(le).is("disabled",unref(he))]),onKeydown:withKeys(Ue,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Ce)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})],42,_hoisted_1$x)),[[unref(vRepeatClick),Ue]]):createCommentVNode("v-if",!0),Cn.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(ie)("el.inputNumber.increase"),class:normalizeClass([unref(le).e("increase"),unref(le).is("disabled",unref(_e))]),onKeydown:withKeys(ze,["enter"])},[createVNode(unref(ElIcon),null,{default:withCtx(()=>[unref(Ce)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})],42,_hoisted_2$l)),[[unref(vRepeatClick),ze]]):createCommentVNode("v-if",!0),createVNode(unref(ElInput),{id:Cn.id,ref_key:"input",ref:de,type:"number",step:Cn.step,"model-value":unref(Ne),placeholder:Cn.placeholder,readonly:Cn.readonly,disabled:unref($e),size:unref(Ie),max:Cn.max,min:Cn.min,name:Cn.name,label:Cn.label,"validate-event":!1,onWheel:En[0]||(En[0]=withModifiers(()=>{},["prevent"])),onKeydown:[withKeys(withModifiers(ze,["prevent"]),["up"]),withKeys(withModifiers(Ue,["prevent"]),["down"])],onBlur:$n,onFocus:xn,onInput:vn,onChange:bn},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var InputNumber=_export_sfc$1(_sfc_main$13,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},icon:{type:iconPropType}}),linkEmits={click:$=>$ instanceof MouseEvent},_hoisted_1$w=["href"],__default__$J=defineComponent({name:"ElLink"}),_sfc_main$12=defineComponent({...__default__$J,props:linkProps,emits:linkEmits,setup($,{emit:j}){const oe=$,ae=useNamespace("link"),ie=computed(()=>[ae.b(),ae.m(oe.type),ae.is("disabled",oe.disabled),ae.is("underline",oe.underline&&!oe.disabled)]);function le(de){oe.disabled||j("click",de)}return(de,ue)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(ie)),href:de.disabled||!de.href?void 0:de.href,onClick:le},[de.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(de.icon)))]),_:1})):createCommentVNode("v-if",!0),de.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(ae).e("inner"))},[renderSlot(de.$slots,"default")],2)):createCommentVNode("v-if",!0),de.$slots.icon?renderSlot(de.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$w))}});var Link=_export_sfc$1(_sfc_main$12,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor(j,oe){this.parent=j,this.domNode=oe,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(j){j===this.subMenuItems.length?j=0:j<0&&(j=this.subMenuItems.length-1),this.subMenuItems[j].focus(),this.subIndex=j}addListeners(){const j=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,oe=>{oe.addEventListener("keydown",ae=>{let ie=!1;switch(ae.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),ie=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),ie=!0;break}case EVENT_CODE.tab:{triggerEvent$3(j,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{ie=!0,ae.currentTarget.click();break}}return ie&&(ae.preventDefault(),ae.stopPropagation()),!1})})}},MenuItem$1=class{constructor(j,oe){this.domNode=j,this.submenu=null,this.submenu=null,this.init(oe)}init(j){this.domNode.setAttribute("tabindex","0");const oe=this.domNode.querySelector(`.${j}-menu`);oe&&(this.submenu=new SubMenu$1(this,oe)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",j=>{let oe=!1;switch(j.code){case EVENT_CODE.down:{triggerEvent$3(j.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),oe=!0;break}case EVENT_CODE.up:{triggerEvent$3(j.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),oe=!0;break}case EVENT_CODE.tab:{triggerEvent$3(j.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{oe=!0,j.currentTarget.click();break}}oe&&j.preventDefault()})}},Menu$2=class{constructor(j,oe){this.domNode=j,this.init(oe)}init(j){const oe=this.domNode.childNodes;Array.from(oe).forEach(ae=>{ae.nodeType===1&&new MenuItem$1(ae,j)})}};const _sfc_main$11=defineComponent({name:"ElMenuCollapseTransition",setup(){const $=useNamespace("menu");return{listeners:{onBeforeEnter:oe=>oe.style.opacity="0.2",onEnter(oe,ae){addClass$1(oe,`${$.namespace.value}-opacity-transition`),oe.style.opacity="1",ae()},onAfterEnter(oe){removeClass$1(oe,`${$.namespace.value}-opacity-transition`),oe.style.opacity=""},onBeforeLeave(oe){oe.dataset||(oe.dataset={}),hasClass$1(oe,$.m("collapse"))?(removeClass$1(oe,$.m("collapse")),oe.dataset.oldOverflow=oe.style.overflow,oe.dataset.scrollWidth=oe.clientWidth.toString(),addClass$1(oe,$.m("collapse"))):(addClass$1(oe,$.m("collapse")),oe.dataset.oldOverflow=oe.style.overflow,oe.dataset.scrollWidth=oe.clientWidth.toString(),removeClass$1(oe,$.m("collapse"))),oe.style.width=`${oe.scrollWidth}px`,oe.style.overflow="hidden"},onLeave(oe){addClass$1(oe,"horizontal-collapse-transition"),oe.style.width=`${oe.dataset.scrollWidth}px`}}}}});function _sfc_render$e($,j,oe,ae,ie,le){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},$.listeners),{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc$1(_sfc_main$11,[["render",_sfc_render$e],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function useMenu($,j){const oe=computed(()=>{let ie=$.parent;const le=[j.value];for(;ie.type.name!=="ElMenu";)ie.props.index&&le.unshift(ie.props.index),ie=ie.parent;return le});return{parentMenu:computed(()=>{let ie=$.parent;for(;ie&&!["ElMenu","ElSubMenu"].includes(ie.type.name);)ie=ie.parent;return ie}),indexPath:oe}}function useMenuColor($){return computed(()=>{const oe=$.backgroundColor;return oe?new TinyColor(oe).shade(20).toString():""})}const useMenuCssVar=($,j)=>{const oe=useNamespace("menu");return computed(()=>oe.cssVarBlock({"text-color":$.textColor||"","hover-text-color":$.textColor||"","bg-color":$.backgroundColor||"","hover-bg-color":useMenuColor($).value||"","active-color":$.activeTextColor||"",level:`${j}`}))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},teleported:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6},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($,{slots:j,expose:oe}){useDeprecated({from:"popper-append-to-body",replacement:"teleported",scope:COMPONENT_NAME$c,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},computed(()=>$.popperAppendToBody!==void 0));const ae=getCurrentInstance(),{indexPath:ie,parentMenu:le}=useMenu(ae,computed(()=>$.index)),de=useNamespace("menu"),ue=useNamespace("sub-menu"),pe=inject("rootMenu");pe||throwError(COMPONENT_NAME$c,"can not inject root menu");const he=inject(`subMenu:${le.value.uid}`);he||throwError(COMPONENT_NAME$c,"can not inject sub menu");const _e=ref({}),xe=ref({});let Ce;const Ie=ref(!1),$e=ref(),Ne=ref(null),Ve=computed(()=>xn.value==="horizontal"&&Fe.value?"bottom-start":"right-start"),Oe=computed(()=>xn.value==="horizontal"&&Fe.value||xn.value==="vertical"&&!pe.props.collapse?$.expandCloseIcon&&$.expandOpenIcon?hn.value?$.expandOpenIcon:$.expandCloseIcon:arrow_down_default:$.collapseCloseIcon&&$.collapseOpenIcon?hn.value?$.collapseOpenIcon:$.collapseCloseIcon:arrow_right_default),Fe=computed(()=>he.level===0),ze=computed(()=>{var Tn;const In=(Tn=$.teleported)!=null?Tn:$.popperAppendToBody;return In===void 0?Fe.value:In}),Ue=computed(()=>pe.props.collapse?`${de.namespace.value}-zoom-in-left`:`${de.namespace.value}-zoom-in-top`),qe=computed(()=>xn.value==="horizontal"&&Fe.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","left-start","bottom-start","bottom-end","top-start","top-end"]),hn=computed(()=>pe.openedMenus.includes($.index)),vn=computed(()=>{let Tn=!1;return Object.values(_e.value).forEach(In=>{In.active&&(Tn=!0)}),Object.values(xe.value).forEach(In=>{In.active&&(Tn=!0)}),Tn}),bn=computed(()=>pe.props.backgroundColor||""),_n=computed(()=>pe.props.activeTextColor||""),kn=computed(()=>pe.props.textColor||""),xn=computed(()=>pe.props.mode),$n=reactive({index:$.index,indexPath:ie,active:vn}),Cn=computed(()=>xn.value!=="horizontal"?{color:kn.value}:{borderBottomColor:vn.value?pe.props.activeTextColor?_n.value:"":"transparent",color:vn.value?_n.value:kn.value}),En=()=>{var Tn,In,Bn;return(Bn=(In=(Tn=Ne.value)==null?void 0:Tn.popperRef)==null?void 0:In.popperInstanceRef)==null?void 0:Bn.destroy()},Nn=Tn=>{Tn||En()},Sn=()=>{pe.props.menuTrigger==="hover"&&pe.props.mode==="horizontal"||pe.props.collapse&&pe.props.mode==="vertical"||$.disabled||pe.handleSubMenuClick({index:$.index,indexPath:ie.value,active:vn.value})},wn=(Tn,In=$.showTimeout)=>{var Bn;Tn.type!=="focus"&&(pe.props.menuTrigger==="click"&&pe.props.mode==="horizontal"||!pe.props.collapse&&pe.props.mode==="vertical"||$.disabled||(he.mouseInChild.value=!0,Ce==null||Ce(),{stop:Ce}=useTimeoutFn(()=>{pe.openMenu($.index,ie.value)},In),ze.value&&((Bn=le.value.vnode.el)==null||Bn.dispatchEvent(new MouseEvent("mouseenter")))))},On=(Tn=!1)=>{var In,Bn;pe.props.menuTrigger==="click"&&pe.props.mode==="horizontal"||!pe.props.collapse&&pe.props.mode==="vertical"||(Ce==null||Ce(),he.mouseInChild.value=!1,{stop:Ce}=useTimeoutFn(()=>!Ie.value&&pe.closeMenu($.index,ie.value),$.hideTimeout),ze.value&&Tn&&((In=ae.parent)==null?void 0:In.type.name)==="ElSubMenu"&&((Bn=he.handleMouseleave)==null||Bn.call(he,!0)))};watch(()=>pe.props.collapse,Tn=>Nn(!!Tn));{const Tn=Bn=>{xe.value[Bn.index]=Bn},In=Bn=>{delete xe.value[Bn.index]};provide(`subMenu:${ae.uid}`,{addSubMenu:Tn,removeSubMenu:In,handleMouseleave:On,mouseInChild:Ie,level:he.level+1})}return oe({opened:hn}),onMounted(()=>{pe.addSubMenu($n),he.addSubMenu($n)}),onBeforeUnmount(()=>{he.removeSubMenu($n),pe.removeSubMenu($n)}),()=>{var Tn;const In=[(Tn=j.title)==null?void 0:Tn.call(j),h$2(ElIcon,{class:ue.e("icon-arrow"),style:{transform:hn.value?$.expandCloseIcon&&$.expandOpenIcon||$.collapseCloseIcon&&$.collapseOpenIcon&&pe.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$d(Oe.value)?h$2(ae.appContext.components[Oe.value]):h$2(Oe.value)})],Bn=useMenuCssVar(pe.props,he.level+1),Dn=pe.isMenuPopup?h$2(ElTooltip,{ref:Ne,visible:hn.value,effect:"light",pure:!0,offset:$.popperOffset,showArrow:!1,persistent:!0,popperClass:$.popperClass,placement:Ve.value,teleported:ze.value,fallbackPlacements:qe.value,transition:Ue.value,gpuAcceleration:!1},{content:()=>{var Xn;return h$2("div",{class:[de.m(xn.value),de.m("popup-container"),$.popperClass],onMouseenter:Zn=>wn(Zn,100),onMouseleave:()=>On(!0),onFocus:Zn=>wn(Zn,100)},[h$2("ul",{class:[de.b(),de.m("popup"),de.m(`popup-${Ve.value}`)],style:Bn.value},[(Xn=j.default)==null?void 0:Xn.call(j)])])},default:()=>h$2("div",{class:ue.e("title"),style:[Cn.value,{backgroundColor:bn.value}],onClick:Sn},In)}):h$2(Fragment,{},[h$2("div",{class:ue.e("title"),style:[Cn.value,{backgroundColor:bn.value}],ref:$e,onClick:Sn},In),h$2(_CollapseTransition,{},{default:()=>{var Xn;return withDirectives(h$2("ul",{role:"menu",class:[de.b(),de.m("inline")],style:Bn.value},[(Xn=j.default)==null?void 0:Xn.call(j)]),[[vShow,hn.value]])}})]);return h$2("li",{class:[ue.b(),ue.is("active",vn.value),ue.is("opened",hn.value),ue.is("disabled",$.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:hn.value,onMouseenter:wn,onMouseleave:()=>On(!0),onFocus:wn},[Dn])}}});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,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperEffect:{type:String,values:["dark","light"],default:"dark"}}),checkIndexPath=$=>Array.isArray($)&&$.every(j=>isString$d(j)),menuEmits={close:($,j)=>isString$d($)&&checkIndexPath(j),open:($,j)=>isString$d($)&&checkIndexPath(j),select:($,j,oe,ae)=>isString$d($)&&checkIndexPath(j)&&isObject$8(oe)&&(ae===void 0||ae instanceof Promise)};var Menu$1=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup($,{emit:j,slots:oe,expose:ae}){const ie=getCurrentInstance(),le=ie.appContext.config.globalProperties.$router,de=ref(),ue=useNamespace("menu"),pe=useNamespace("sub-menu"),he=ref(-1),_e=ref($.defaultOpeneds&&!$.collapse?$.defaultOpeneds.slice(0):[]),xe=ref($.defaultActive),Ce=ref({}),Ie=ref({}),$e=computed(()=>$.mode==="horizontal"||$.mode==="vertical"&&$.collapse),Ne=()=>{const xn=xe.value&&Ce.value[xe.value];if(!xn||$.mode==="horizontal"||$.collapse)return;xn.indexPath.forEach(Cn=>{const En=Ie.value[Cn];En&&Ve(Cn,En.indexPath)})},Ve=(xn,$n)=>{_e.value.includes(xn)||($.uniqueOpened&&(_e.value=_e.value.filter(Cn=>$n.includes(Cn))),_e.value.push(xn),j("open",xn,$n))},Oe=xn=>{const $n=_e.value.indexOf(xn);$n!==-1&&_e.value.splice($n,1)},Fe=(xn,$n)=>{Oe(xn),j("close",xn,$n)},ze=({index:xn,indexPath:$n})=>{_e.value.includes(xn)?Fe(xn,$n):Ve(xn,$n)},Ue=xn=>{($.mode==="horizontal"||$.collapse)&&(_e.value=[]);const{index:$n,indexPath:Cn}=xn;if(!(isNil($n)||isNil(Cn)))if($.router&&le){const En=xn.route||$n,Nn=le.push(En).then(Sn=>(Sn||(xe.value=$n),Sn));j("select",$n,Cn,{index:$n,indexPath:Cn,route:En},Nn)}else xe.value=$n,j("select",$n,Cn,{index:$n,indexPath:Cn})},qe=xn=>{const $n=Ce.value,Cn=$n[xn]||xe.value&&$n[xe.value]||$n[$.defaultActive];Cn?xe.value=Cn.index:xe.value=xn},hn=()=>{var xn,$n;if(!de.value)return-1;const Cn=Array.from(($n=(xn=de.value)==null?void 0:xn.childNodes)!=null?$n:[]).filter(In=>In.nodeName!=="#text"||In.nodeValue),En=64,Nn=Number.parseInt(getComputedStyle(de.value).paddingLeft,10),Sn=Number.parseInt(getComputedStyle(de.value).paddingRight,10),wn=de.value.clientWidth-Nn-Sn;let On=0,Tn=0;return Cn.forEach((In,Bn)=>{On+=In.offsetWidth||0,On<=wn-En&&(Tn=Bn+1)}),Tn===Cn.length?-1:Tn},vn=(xn,$n=33.34)=>{let Cn;return()=>{Cn&&clearTimeout(Cn),Cn=setTimeout(()=>{xn()},$n)}};let bn=!0;const _n=()=>{const xn=()=>{he.value=-1,nextTick(()=>{he.value=hn()})};bn?xn():vn(xn)(),bn=!1};watch(()=>$.defaultActive,xn=>{Ce.value[xn]||(xe.value=""),qe(xn)}),watch(()=>$.collapse,xn=>{xn&&(_e.value=[])}),watch(Ce.value,Ne);let kn;watchEffect(()=>{$.mode==="horizontal"&&$.ellipsis?kn=useResizeObserver(de,_n).stop:kn==null||kn()});{const xn=Nn=>{Ie.value[Nn.index]=Nn},$n=Nn=>{delete Ie.value[Nn.index]};provide("rootMenu",reactive({props:$,openedMenus:_e,items:Ce,subMenus:Ie,activeIndex:xe,isMenuPopup:$e,addMenuItem:Nn=>{Ce.value[Nn.index]=Nn},removeMenuItem:Nn=>{delete Ce.value[Nn.index]},addSubMenu:xn,removeSubMenu:$n,openMenu:Ve,closeMenu:Fe,handleMenuItemClick:Ue,handleSubMenuClick:ze})),provide(`subMenu:${ie.uid}`,{addSubMenu:xn,removeSubMenu:$n,mouseInChild:ref(!1),level:0})}return onMounted(()=>{$.mode==="horizontal"&&new Menu$2(ie.vnode.el,ue.namespace.value)}),ae({open:$n=>{const{indexPath:Cn}=Ie.value[$n];Cn.forEach(En=>Ve(En,Cn))},close:Oe,handleResize:_n}),()=>{var xn,$n;let Cn=($n=(xn=oe.default)==null?void 0:xn.call(oe))!=null?$n:[];const En=[];if($.mode==="horizontal"&&de.value){const wn=flattedChildren(Cn),On=he.value===-1?wn:wn.slice(0,he.value),Tn=he.value===-1?[]:wn.slice(he.value);Tn!=null&&Tn.length&&$.ellipsis&&(Cn=On,En.push(h$2(SubMenu,{index:"sub-menu-more",class:pe.e("hide-arrow")},{title:()=>h$2(ElIcon,{class:pe.e("icon-more")},{default:()=>h$2(more_default)}),default:()=>Tn})))}const Nn=useMenuCssVar($,0),Sn=h$2("ul",{key:String($.collapse),role:"menubar",ref:de,style:Nn.value,class:{[ue.b()]:!0,[ue.m($.mode)]:!0,[ue.m("collapse")]:$.collapse}},[...Cn,...En]);return $.collapseTransition&&$.mode==="vertical"?h$2(ElMenuCollapseTransition,()=>Sn):Sn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:$=>isString$d($.index)&&Array.isArray($.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$10=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup($,{emit:j}){const oe=getCurrentInstance(),ae=inject("rootMenu"),ie=useNamespace("menu"),le=useNamespace("menu-item");ae||throwError(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:de,indexPath:ue}=useMenu(oe,toRef($,"index")),pe=inject(`subMenu:${de.value.uid}`);pe||throwError(COMPONENT_NAME$b,"can not inject sub menu");const he=computed(()=>$.index===ae.activeIndex),_e=reactive({index:$.index,indexPath:ue,active:he}),xe=()=>{$.disabled||(ae.handleMenuItemClick({index:$.index,indexPath:ue.value,route:$.route}),j("click",_e))};return onMounted(()=>{pe.addSubMenu(_e),ae.addMenuItem(_e)}),onBeforeUnmount(()=>{pe.removeSubMenu(_e),ae.removeMenuItem(_e)}),{parentMenu:de,rootMenu:ae,active:he,nsMenu:ie,nsMenuItem:le,handleClick:xe}}});function _sfc_render$d($,j,oe,ae,ie,le){const de=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([$.nsMenuItem.b(),$.nsMenuItem.is("active",$.active),$.nsMenuItem.is("disabled",$.disabled)]),role:"menuitem",tabindex:"-1",onClick:j[0]||(j[0]=(...ue)=>$.handleClick&&$.handleClick(...ue))},[$.parentMenu.type.name==="ElMenu"&&$.rootMenu.props.collapse&&$.$slots.title?(openBlock(),createBlock(de,{key:0,effect:$.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot($.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass($.nsMenu.be("tooltip","trigger"))},[renderSlot($.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot($.$slots,"default"),renderSlot($.$slots,"title")],64))],2)}var MenuItem=_export_sfc$1(_sfc_main$10,[["render",_sfc_render$d],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME$a="ElMenuItemGroup",_sfc_main$$=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$c($,j,oe,ae,ie,le){return openBlock(),createElementBlock("li",{class:normalizeClass($.ns.b())},[createBaseVNode("div",{class:normalizeClass($.ns.e("title"))},[$.$slots.title?renderSlot($.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1($.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot($.$slots,"default")])],2)}var MenuItemGroup=_export_sfc$1(_sfc_main$$,[["render",_sfc_render$c],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const ElMenu=withInstall(Menu$1,{MenuItem,MenuItemGroup,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},_hoisted_1$v=["aria-label"],__default__$I=defineComponent({name:"ElPageHeader"}),_sfc_main$_=defineComponent({...__default__$I,props:pageHeaderProps,emits:pageHeaderEmits,setup($,{emit:j}){const oe=useSlots(),{t:ae}=useLocale(),ie=useNamespace("page-header"),le=computed(()=>[ie.b(),{[ie.m("has-breadcrumb")]:!!oe.breadcrumb,[ie.m("has-extra")]:!!oe.extra,[ie.is("contentful")]:!!oe.default}]);function de(){j("back")}return(ue,pe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le))},[ue.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("breadcrumb"))},[renderSlot(ue.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("back")),role:"button",tabindex:"0",onClick:de},[ue.icon||ue.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":ue.title||unref(ae)("el.pageHeader.title"),class:normalizeClass(unref(ie).e("icon"))},[renderSlot(ue.$slots,"icon",{},()=>[ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ue.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$v)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ie).e("title"))},[renderSlot(ue.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(ue.title||unref(ae)("el.pageHeader.title")),1)])],2)],2),createVNode(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(ie).e("content"))},[renderSlot(ue.$slots,"content",{},()=>[createTextVNode(toDisplayString$1(ue.content),1)])],2)],2),ue.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).e("extra"))},[renderSlot(ue.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),ue.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).e("main"))},[renderSlot(ue.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$1(_sfc_main$_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/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:$=>$ instanceof MouseEvent},_hoisted_1$u=["disabled","aria-label","aria-disabled"],_hoisted_2$k={key:0},__default__$H=defineComponent({name:"ElPaginationPrev"}),_sfc_main$Z=defineComponent({...__default__$H,props:paginationPrevProps,emits:paginationPrevEmits,setup($){const j=$,{t:oe}=useLocale(),ae=computed(()=>j.disabled||j.currentPage<=1);return(ie,le)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(ae),"aria-label":ie.prevText||unref(oe)("el.pagination.prev"),"aria-disabled":unref(ae),onClick:le[0]||(le[0]=de=>ie.$emit("click",de))},[ie.prevText?(openBlock(),createElementBlock("span",_hoisted_2$k,toDisplayString$1(ie.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ie.prevIcon)))]),_:1}))],8,_hoisted_1$u))}});var Prev=_export_sfc$1(_sfc_main$Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),_hoisted_1$t=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$G=defineComponent({name:"ElPaginationNext"}),_sfc_main$Y=defineComponent({...__default__$G,props:paginationNextProps,emits:["click"],setup($){const j=$,{t:oe}=useLocale(),ae=computed(()=>j.disabled||j.currentPage===j.pageCount||j.pageCount===0);return(ie,le)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(ae),"aria-label":ie.nextText||unref(oe)("el.pagination.next"),"aria-disabled":unref(ae),onClick:le[0]||(le[0]=de=>ie.$emit("click",de))},[ie.nextText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString$1(ie.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ie.nextIcon)))]),_:1}))],8,_hoisted_1$t))}});var Next=_export_sfc$1(_sfc_main$Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption$1($,j){const oe=inject(selectKey),ae=inject(selectGroupKey,{disabled:!1}),ie=computed(()=>Object.prototype.toString.call($.value).toLowerCase()==="[object object]"),le=computed(()=>oe.props.multiple?xe(oe.props.modelValue,$.value):Ce($.value,oe.props.modelValue)),de=computed(()=>{if(oe.props.multiple){const Ne=oe.props.modelValue||[];return!le.value&&Ne.length>=oe.props.multipleLimit&&oe.props.multipleLimit>0}else return!1}),ue=computed(()=>$.label||(ie.value?"":$.value)),pe=computed(()=>$.value||$.label||""),he=computed(()=>$.disabled||j.groupDisabled||de.value),_e=getCurrentInstance(),xe=(Ne=[],Ve)=>{if(ie.value){const Oe=oe.props.valueKey;return Ne&&Ne.some(Fe=>toRaw(get$6(Fe,Oe))===get$6(Ve,Oe))}else return Ne&&Ne.includes(Ve)},Ce=(Ne,Ve)=>{if(ie.value){const{valueKey:Oe}=oe.props;return get$6(Ne,Oe)===get$6(Ve,Oe)}else return Ne===Ve},Ie=()=>{!$.disabled&&!ae.disabled&&(oe.hoverIndex=oe.optionsArray.indexOf(_e.proxy))};watch(()=>ue.value,()=>{!$.created&&!oe.props.remote&&oe.setSelected()}),watch(()=>$.value,(Ne,Ve)=>{const{remote:Oe,valueKey:Fe}=oe.props;if(Object.is(Ne,Ve)||(oe.onOptionDestroy(Ve,_e.proxy),oe.onOptionCreate(_e.proxy)),!$.created&&!Oe){if(Fe&&typeof Ne=="object"&&typeof Ve=="object"&&Ne[Fe]===Ve[Fe])return;oe.setSelected()}}),watch(()=>ae.disabled,()=>{j.groupDisabled=ae.disabled},{immediate:!0});const{queryChange:$e}=toRaw(oe);return watch($e,Ne=>{const{query:Ve}=unref(Ne),Oe=new RegExp(escapeStringRegexp(Ve),"i");j.visible=Oe.test(ue.value)||$.created,j.visible||oe.filteredOptionsCount--},{immediate:!0}),{select:oe,currentLabel:ue,currentValue:pe,itemSelected:le,isDisabled:he,hoverItem:Ie}}const _sfc_main$X=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup($){const j=useNamespace("select"),oe=reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:ae,itemSelected:ie,isDisabled:le,select:de,hoverItem:ue}=useOption$1($,oe),{visible:pe,hover:he}=toRefs(oe),_e=getCurrentInstance().proxy;de.onOptionCreate(_e),onBeforeUnmount(()=>{const Ce=_e.value,{selected:Ie}=de,Ne=(de.props.multiple?Ie:[Ie]).some(Ve=>Ve.value===_e.value);nextTick(()=>{de.cachedOptions.get(Ce)===_e&&!Ne&&de.cachedOptions.delete(Ce)}),de.onOptionDestroy(Ce,_e)});function xe(){$.disabled!==!0&&oe.groupDisabled!==!0&&de.handleOptionSelect(_e,!0)}return{ns:j,currentLabel:ae,itemSelected:ie,isDisabled:le,select:de,hoverItem:ue,visible:pe,hover:he,selectOptionClick:xe,states:oe}}});function _sfc_render$b($,j,oe,ae,ie,le){return withDirectives((openBlock(),createElementBlock("li",{class:normalizeClass([$.ns.be("dropdown","item"),$.ns.is("disabled",$.isDisabled),{selected:$.itemSelected,hover:$.hover}]),onMouseenter:j[0]||(j[0]=(...de)=>$.hoverItem&&$.hoverItem(...de)),onClick:j[1]||(j[1]=withModifiers((...de)=>$.selectOptionClick&&$.selectOptionClick(...de),["stop"]))},[renderSlot($.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString$1($.currentLabel),1)])],34)),[[vShow,$.visible]])}var Option$1=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$b],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const _sfc_main$W=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const $=inject(selectKey),j=useNamespace("select"),oe=computed(()=>$.props.popperClass),ae=computed(()=>$.props.multiple),ie=computed(()=>$.props.fitInputWidth),le=ref("");function de(){var ue;le.value=`${(ue=$.selectWrapper)==null?void 0:ue.offsetWidth}px`}return onMounted(()=>{de(),useResizeObserver($.selectWrapper,de)}),{ns:j,minWidth:le,popperClass:oe,isMultiple:ae,isFitInputWidth:ie}}});function _sfc_render$a($,j,oe,ae,ie,le){return openBlock(),createElementBlock("div",{class:normalizeClass([$.ns.b("dropdown"),$.ns.is("multiple",$.isMultiple),$.popperClass]),style:normalizeStyle({[$.isFitInputWidth?"width":"minWidth"]:$.minWidth})},[renderSlot($.$slots,"default")],6)}var ElSelectMenu$1=_export_sfc$1(_sfc_main$W,[["render",_sfc_render$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function useSelectStates($){const{t:j}=useLocale();return reactive({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:$.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:j("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,prefixWidth:11,tagInMultiLine:!1,mouseEnter:!1})}const useSelect$2=($,j,oe)=>{const{t:ae}=useLocale(),ie=useNamespace("select");useDeprecated({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},computed(()=>$.suffixTransition===!1));const le=ref(null),de=ref(null),ue=ref(null),pe=ref(null),he=ref(null),_e=ref(null),xe=ref(null),Ce=ref(-1),Ie=shallowRef({query:""}),$e=shallowRef(""),Ne=ref([]);let Ve=0;const{form:Oe,formItem:Fe}=useFormItem(),ze=computed(()=>!$.filterable||$.multiple||!j.visible),Ue=computed(()=>$.disabled||(Oe==null?void 0:Oe.disabled)),qe=computed(()=>{const wo=$.multiple?Array.isArray($.modelValue)&&$.modelValue.length>0:$.modelValue!==void 0&&$.modelValue!==null&&$.modelValue!=="";return $.clearable&&!Ue.value&&j.inputHovering&&wo}),hn=computed(()=>$.remote&&$.filterable&&!$.remoteShowSuffix?"":$.suffixIcon),vn=computed(()=>ie.is("reverse",hn.value&&j.visible&&$.suffixTransition)),bn=computed(()=>$.remote?300:0),_n=computed(()=>$.loading?$.loadingText||ae("el.select.loading"):$.remote&&j.query===""&&j.options.size===0?!1:$.filterable&&j.query&&j.options.size>0&&j.filteredOptionsCount===0?$.noMatchText||ae("el.select.noMatch"):j.options.size===0?$.noDataText||ae("el.select.noData"):null),kn=computed(()=>{const wo=Array.from(j.options.values()),Kn=[];return Ne.value.forEach(zo=>{const Ro=wo.findIndex(Yo=>Yo.currentLabel===zo);Ro>-1&&Kn.push(wo[Ro])}),Kn.length?Kn:wo}),xn=computed(()=>Array.from(j.cachedOptions.values())),$n=computed(()=>{const wo=kn.value.filter(Kn=>!Kn.created).some(Kn=>Kn.currentLabel===j.query);return $.filterable&&$.allowCreate&&j.query!==""&&!wo}),Cn=useFormSize(),En=computed(()=>["small"].includes(Cn.value)?"small":"default"),Nn=computed({get(){return j.visible&&_n.value!==!1},set(wo){j.visible=wo}});watch([()=>Ue.value,()=>Cn.value,()=>Oe==null?void 0:Oe.size],()=>{nextTick(()=>{Sn()})}),watch(()=>$.placeholder,wo=>{j.cachedPlaceHolder=j.currentPlaceholder=wo}),watch(()=>$.modelValue,(wo,Kn)=>{$.multiple&&(Sn(),wo&&wo.length>0||de.value&&j.query!==""?j.currentPlaceholder="":j.currentPlaceholder=j.cachedPlaceHolder,$.filterable&&!$.reserveKeyword&&(j.query="",wn(j.query))),In(),$.filterable&&!$.multiple&&(j.inputLength=20),!isEqual$4(wo,Kn)&&$.validateEvent&&(Fe==null||Fe.validate("change").catch(zo=>void 0))},{flush:"post",deep:!0}),watch(()=>j.visible,wo=>{var Kn,zo,Ro,Yo,Qo;wo?((zo=(Kn=pe.value)==null?void 0:Kn.updatePopper)==null||zo.call(Kn),$.filterable&&(j.filteredOptionsCount=j.optionsCount,j.query=$.remote?"":j.selectedLabel,(Yo=(Ro=ue.value)==null?void 0:Ro.focus)==null||Yo.call(Ro),$.multiple?(Qo=de.value)==null||Qo.focus():j.selectedLabel&&(j.currentPlaceholder=`${j.selectedLabel}`,j.selectedLabel=""),wn(j.query),!$.multiple&&!$.remote&&(Ie.value.query="",triggerRef(Ie),triggerRef($e)))):($.filterable&&(isFunction$h($.filterMethod)&&$.filterMethod(""),isFunction$h($.remoteMethod)&&$.remoteMethod("")),de.value&&de.value.blur(),j.query="",j.previousQuery=null,j.selectedLabel="",j.inputLength=20,j.menuVisibleOnFocus=!1,Dn(),nextTick(()=>{de.value&&de.value.value===""&&j.selected.length===0&&(j.currentPlaceholder=j.cachedPlaceHolder)}),$.multiple||(j.selected&&($.filterable&&$.allowCreate&&j.createdSelected&&j.createdLabel?j.selectedLabel=j.createdLabel:j.selectedLabel=j.selected.currentLabel,$.filterable&&(j.query=j.selectedLabel)),$.filterable&&(j.currentPlaceholder=j.cachedPlaceHolder))),oe.emit("visible-change",wo)}),watch(()=>j.options.entries(),()=>{var wo,Kn,zo;if(!isClient)return;(Kn=(wo=pe.value)==null?void 0:wo.updatePopper)==null||Kn.call(wo),$.multiple&&Sn();const Ro=((zo=_e.value)==null?void 0:zo.querySelectorAll("input"))||[];Array.from(Ro).includes(document.activeElement)||In(),$.defaultFirstOption&&($.filterable||$.remote)&&j.filteredOptionsCount&&Tn()},{flush:"post"}),watch(()=>j.hoverIndex,wo=>{isNumber$d(wo)&&wo>-1?Ce.value=kn.value[wo]||{}:Ce.value={},kn.value.forEach(Kn=>{Kn.hover=Ce.value===Kn})});const Sn=()=>{nextTick(()=>{var wo,Kn;if(!le.value)return;const zo=le.value.$el.querySelector("input");Ve=Ve||(zo.clientHeight>0?zo.clientHeight+2:0);const Ro=he.value,Yo=getComponentSize(Cn.value||(Oe==null?void 0:Oe.size)),Qo=Yo===Ve||Ve<=0?Yo:Ve;!(zo.offsetParent===null)&&(zo.style.height=`${(j.selected.length===0?Qo:Math.max(Ro?Ro.clientHeight+(Ro.clientHeight>Qo?6:0):0,Qo))-2}px`),j.tagInMultiLine=Number.parseFloat(zo.style.height)>=Qo,j.visible&&_n.value!==!1&&((Kn=(wo=pe.value)==null?void 0:wo.updatePopper)==null||Kn.call(wo))})},wn=async wo=>{if(!(j.previousQuery===wo||j.isOnComposition)){if(j.previousQuery===null&&(isFunction$h($.filterMethod)||isFunction$h($.remoteMethod))){j.previousQuery=wo;return}j.previousQuery=wo,nextTick(()=>{var Kn,zo;j.visible&&((zo=(Kn=pe.value)==null?void 0:Kn.updatePopper)==null||zo.call(Kn))}),j.hoverIndex=-1,$.multiple&&$.filterable&&nextTick(()=>{const Kn=de.value.value.length*15+20;j.inputLength=$.collapseTags?Math.min(50,Kn):Kn,On(),Sn()}),$.remote&&isFunction$h($.remoteMethod)?(j.hoverIndex=-1,$.remoteMethod(wo)):isFunction$h($.filterMethod)?($.filterMethod(wo),triggerRef($e)):(j.filteredOptionsCount=j.optionsCount,Ie.value.query=wo,triggerRef(Ie),triggerRef($e)),$.defaultFirstOption&&($.filterable||$.remote)&&j.filteredOptionsCount&&(await nextTick(),Tn())}},On=()=>{j.currentPlaceholder!==""&&(j.currentPlaceholder=de.value.value?"":j.cachedPlaceHolder)},Tn=()=>{const wo=kn.value.filter(Ro=>Ro.visible&&!Ro.disabled&&!Ro.states.groupDisabled),Kn=wo.find(Ro=>Ro.created),zo=wo[0];j.hoverIndex=Rn(kn.value,Kn||zo)},In=()=>{var wo;if($.multiple)j.selectedLabel="";else{const zo=Bn($.modelValue);(wo=zo.props)!=null&&wo.created?(j.createdLabel=zo.props.value,j.createdSelected=!0):j.createdSelected=!1,j.selectedLabel=zo.currentLabel,j.selected=zo,$.filterable&&(j.query=j.selectedLabel);return}const Kn=[];Array.isArray($.modelValue)&&$.modelValue.forEach(zo=>{Kn.push(Bn(zo))}),j.selected=Kn,nextTick(()=>{Sn()})},Bn=wo=>{let Kn;const zo=toRawType(wo).toLowerCase()==="object",Ro=toRawType(wo).toLowerCase()==="null",Yo=toRawType(wo).toLowerCase()==="undefined";for(let Lo=j.cachedOptions.size-1;Lo>=0;Lo--){const Wo=xn.value[Lo];if(zo?get$6(Wo.value,$.valueKey)===get$6(wo,$.valueKey):Wo.value===wo){Kn={value:wo,currentLabel:Wo.currentLabel,isDisabled:Wo.isDisabled};break}}if(Kn)return Kn;const Qo=zo?wo.label:!Ro&&!Yo?wo:"",da={value:wo,currentLabel:Qo};return $.multiple&&(da.hitState=!1),da},Dn=()=>{setTimeout(()=>{const wo=$.valueKey;$.multiple?j.selected.length>0?j.hoverIndex=Math.min.apply(null,j.selected.map(Kn=>kn.value.findIndex(zo=>get$6(zo,wo)===get$6(Kn,wo)))):j.hoverIndex=-1:j.hoverIndex=kn.value.findIndex(Kn=>fo(Kn)===fo(j.selected))},300)},Xn=()=>{var wo,Kn;Zn(),(Kn=(wo=pe.value)==null?void 0:wo.updatePopper)==null||Kn.call(wo),$.multiple&&Sn()},Zn=()=>{var wo;j.inputWidth=(wo=le.value)==null?void 0:wo.$el.offsetWidth},Fn=()=>{$.filterable&&j.query!==j.selectedLabel&&(j.query=j.selectedLabel,wn(j.query))},Yn=debounce$2(()=>{Fn()},bn.value),qn=debounce$2(wo=>{wn(wo.target.value)},bn.value),Vn=wo=>{isEqual$4($.modelValue,wo)||oe.emit(CHANGE_EVENT,wo)},eo=wo=>{if(wo.target.value.length<=0&&!Qn()){const Kn=$.modelValue.slice();Kn.pop(),oe.emit(UPDATE_MODEL_EVENT,Kn),Vn(Kn)}wo.target.value.length===1&&$.modelValue.length===0&&(j.currentPlaceholder=j.cachedPlaceHolder)},ho=(wo,Kn)=>{const zo=j.selected.indexOf(Kn);if(zo>-1&&!Ue.value){const Ro=$.modelValue.slice();Ro.splice(zo,1),oe.emit(UPDATE_MODEL_EVENT,Ro),Vn(Ro),oe.emit("remove-tag",Kn.value)}wo.stopPropagation()},So=wo=>{wo.stopPropagation();const Kn=$.multiple?[]:"";if(!isString$d(Kn))for(const zo of j.selected)zo.isDisabled&&Kn.push(zo.value);oe.emit(UPDATE_MODEL_EVENT,Kn),Vn(Kn),j.hoverIndex=-1,j.visible=!1,oe.emit("clear")},Ln=(wo,Kn)=>{var zo;if($.multiple){const Ro=($.modelValue||[]).slice(),Yo=Rn(Ro,wo.value);Yo>-1?Ro.splice(Yo,1):($.multipleLimit<=0||Ro.length<$.multipleLimit)&&Ro.push(wo.value),oe.emit(UPDATE_MODEL_EVENT,Ro),Vn(Ro),wo.created&&(j.query="",wn(""),j.inputLength=20),$.filterable&&((zo=de.value)==null||zo.focus())}else oe.emit(UPDATE_MODEL_EVENT,wo.value),Vn(wo.value),j.visible=!1;j.isSilentBlur=Kn,Gn(),!j.visible&&nextTick(()=>{no(wo)})},Rn=(wo=[],Kn)=>{if(!isObject$8(Kn))return wo.indexOf(Kn);const zo=$.valueKey;let Ro=-1;return wo.some((Yo,Qo)=>toRaw(get$6(Yo,zo))===get$6(Kn,zo)?(Ro=Qo,!0):!1),Ro},Gn=()=>{j.softFocus=!0;const wo=de.value||le.value;wo&&(wo==null||wo.focus())},no=wo=>{var Kn,zo,Ro,Yo,Qo;const da=Array.isArray(wo)?wo[0]:wo;let Lo=null;if(da!=null&&da.value){const Wo=kn.value.filter(ra=>ra.value===da.value);Wo.length>0&&(Lo=Wo[0].$el)}if(pe.value&&Lo){const Wo=(Yo=(Ro=(zo=(Kn=pe.value)==null?void 0:Kn.popperRef)==null?void 0:zo.contentRef)==null?void 0:Ro.querySelector)==null?void 0:Yo.call(Ro,`.${ie.be("dropdown","wrap")}`);Wo&&scrollIntoView$1(Wo,Lo)}(Qo=xe.value)==null||Qo.handleScroll()},bo=wo=>{j.optionsCount++,j.filteredOptionsCount++,j.options.set(wo.value,wo),j.cachedOptions.set(wo.value,wo)},Wn=(wo,Kn)=>{j.options.get(wo)===Kn&&(j.optionsCount--,j.filteredOptionsCount--,j.options.delete(wo))},lo=wo=>{wo.code!==EVENT_CODE.backspace&&Qn(!1),j.inputLength=de.value.value.length*15+20,Sn()},Qn=wo=>{if(!Array.isArray(j.selected))return;const Kn=j.selected[j.selected.length-1];if(Kn)return wo===!0||wo===!1?(Kn.hitState=wo,wo):(Kn.hitState=!Kn.hitState,Kn.hitState)},ro=wo=>{const Kn=wo.target.value;if(wo.type==="compositionend")j.isOnComposition=!1,nextTick(()=>wn(Kn));else{const zo=Kn[Kn.length-1]||"";j.isOnComposition=!isKorean(zo)}},Hn=()=>{nextTick(()=>no(j.selected))},uo=wo=>{j.softFocus?j.softFocus=!1:(($.automaticDropdown||$.filterable)&&($.filterable&&!j.visible&&(j.menuVisibleOnFocus=!0),j.visible=!0),oe.emit("focus",wo))},so=()=>{var wo,Kn,zo;j.visible=!1,(wo=le.value)==null||wo.blur(),(zo=(Kn=ue.value)==null?void 0:Kn.blur)==null||zo.call(Kn)},yo=wo=>{nextTick(()=>{j.isSilentBlur?j.isSilentBlur=!1:oe.emit("blur",wo)}),j.softFocus=!1},to=wo=>{So(wo)},go=()=>{j.visible=!1},_o=wo=>{j.visible&&(wo.preventDefault(),wo.stopPropagation(),j.visible=!1)},To=wo=>{var Kn;wo&&!j.mouseEnter||Ue.value||(j.menuVisibleOnFocus?j.menuVisibleOnFocus=!1:(!pe.value||!pe.value.isFocusInsideContent())&&(j.visible=!j.visible),j.visible&&((Kn=de.value||le.value)==null||Kn.focus()))},Un=()=>{j.visible?kn.value[j.hoverIndex]&&Ln(kn.value[j.hoverIndex],void 0):To()},fo=wo=>isObject$8(wo.value)?get$6(wo.value,$.valueKey):wo.value,vo=computed(()=>kn.value.filter(wo=>wo.visible).every(wo=>wo.disabled)),Jn=computed(()=>j.selected.slice(0,$.maxCollapseTags)),co=computed(()=>j.selected.slice($.maxCollapseTags)),$o=wo=>{if(!j.visible){j.visible=!0;return}if(!(j.options.size===0||j.filteredOptionsCount===0)&&!j.isOnComposition&&!vo.value){wo==="next"?(j.hoverIndex++,j.hoverIndex===j.options.size&&(j.hoverIndex=0)):wo==="prev"&&(j.hoverIndex--,j.hoverIndex<0&&(j.hoverIndex=j.options.size-1));const Kn=kn.value[j.hoverIndex];(Kn.disabled===!0||Kn.states.groupDisabled===!0||!Kn.visible)&&$o(wo),nextTick(()=>no(Ce.value))}};return{optionList:Ne,optionsArray:kn,selectSize:Cn,handleResize:Xn,debouncedOnInputChange:Yn,debouncedQueryChange:qn,deletePrevTag:eo,deleteTag:ho,deleteSelected:So,handleOptionSelect:Ln,scrollToOption:no,readonly:ze,resetInputHeight:Sn,showClose:qe,iconComponent:hn,iconReverse:vn,showNewOption:$n,collapseTagSize:En,setSelected:In,managePlaceholder:On,selectDisabled:Ue,emptyText:_n,toggleLastOptionHitState:Qn,resetInputState:lo,handleComposition:ro,onOptionCreate:bo,onOptionDestroy:Wn,handleMenuEnter:Hn,handleFocus:uo,blur:so,handleBlur:yo,handleClearClick:to,handleClose:go,handleKeydownEscape:_o,toggleMenu:To,selectOption:Un,getValueKey:fo,navigateOptions:$o,dropMenuVisible:Nn,queryChange:Ie,groupQueryChange:$e,showTagList:Jn,collapseTagList:co,reference:le,input:de,iOSInput:ue,tooltipRef:pe,tags:he,selectWrapper:_e,scrollbar:xe,handleMouseEnter:()=>{j.mouseEnter=!0},handleMouseLeave:()=>{j.mouseEnter=!1}}};var ElOptions=defineComponent({name:"ElOptions",emits:["update-options"],setup($,{slots:j,emit:oe}){let ae=[];function ie(le,de){if(le.length!==de.length)return!1;for(const[ue]of le.entries())if(le[ue]!=de[ue])return!1;return!0}return()=>{var le,de;const ue=(le=j.default)==null?void 0:le.call(j),pe=[];function he(_e){Array.isArray(_e)&&_e.forEach(xe=>{var Ce,Ie,$e,Ne;const Ve=(Ce=(xe==null?void 0:xe.type)||{})==null?void 0:Ce.name;Ve==="ElOptionGroup"?he(!isString$d(xe.children)&&!Array.isArray(xe.children)&&isFunction$h((Ie=xe.children)==null?void 0:Ie.default)?($e=xe.children)==null?void 0:$e.default():xe.children):Ve==="ElOption"?pe.push((Ne=xe.props)==null?void 0:Ne.label):Array.isArray(xe.children)&&he(xe.children)})}return ue.length&&he((de=ue[0])==null?void 0:de.children),ie(pe,ae)||(ae=pe,oe("update-options",pe)),ue}}});const COMPONENT_NAME$9="ElSelect",_sfc_main$V=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElInput,ElSelectMenu:ElSelectMenu$1,ElOption:Option$1,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:isValidComponentSize},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type: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:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:{type:Boolean,default:!1},suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:Ee,default:"bottom-start"}},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup($,j){const oe=useNamespace("select"),ae=useNamespace("input"),{t:ie}=useLocale(),le=useSelectStates($),{optionList:de,optionsArray:ue,selectSize:pe,readonly:he,handleResize:_e,collapseTagSize:xe,debouncedOnInputChange:Ce,debouncedQueryChange:Ie,deletePrevTag:$e,deleteTag:Ne,deleteSelected:Ve,handleOptionSelect:Oe,scrollToOption:Fe,setSelected:ze,resetInputHeight:Ue,managePlaceholder:qe,showClose:hn,selectDisabled:vn,iconComponent:bn,iconReverse:_n,showNewOption:kn,emptyText:xn,toggleLastOptionHitState:$n,resetInputState:Cn,handleComposition:En,onOptionCreate:Nn,onOptionDestroy:Sn,handleMenuEnter:wn,handleFocus:On,blur:Tn,handleBlur:In,handleClearClick:Bn,handleClose:Dn,handleKeydownEscape:Xn,toggleMenu:Zn,selectOption:Fn,getValueKey:Yn,navigateOptions:qn,dropMenuVisible:Vn,reference:eo,input:ho,iOSInput:So,tooltipRef:Ln,tags:Rn,selectWrapper:Gn,scrollbar:no,queryChange:bo,groupQueryChange:Wn,handleMouseEnter:lo,handleMouseLeave:Qn,showTagList:ro,collapseTagList:Hn}=useSelect$2($,le,j),{focus:uo}=useFocus(eo),{inputWidth:so,selected:yo,inputLength:to,filteredOptionsCount:go,visible:_o,softFocus:To,selectedLabel:Un,hoverIndex:fo,query:vo,inputHovering:Jn,currentPlaceholder:co,menuVisibleOnFocus:$o,isOnComposition:No,isSilentBlur:jo,options:wo,cachedOptions:Kn,optionsCount:zo,prefixWidth:Ro,tagInMultiLine:Yo}=toRefs(le),Qo=computed(()=>{const pa=[oe.b()],aa=unref(pe);return aa&&pa.push(oe.m(aa)),$.disabled&&pa.push(oe.m("disabled")),pa}),da=computed(()=>({maxWidth:`${unref(so)-32}px`,width:"100%"})),Lo=computed(()=>({maxWidth:`${unref(so)>123?unref(so)-123:unref(so)-75}px`}));provide(selectKey,reactive({props:$,options:wo,optionsArray:ue,cachedOptions:Kn,optionsCount:zo,filteredOptionsCount:go,hoverIndex:fo,handleOptionSelect:Oe,onOptionCreate:Nn,onOptionDestroy:Sn,selectWrapper:Gn,selected:yo,setSelected:ze,queryChange:bo,groupQueryChange:Wn})),onMounted(()=>{le.cachedPlaceHolder=co.value=$.placeholder||(()=>ie("el.select.placeholder")),$.multiple&&Array.isArray($.modelValue)&&$.modelValue.length>0&&(co.value=""),useResizeObserver(Gn,_e),$.remote&&$.multiple&&Ue(),nextTick(()=>{const pa=eo.value&&eo.value.$el;if(pa&&(so.value=pa.getBoundingClientRect().width,j.slots.prefix)){const aa=pa.querySelector(`.${ae.e("prefix")}`);Ro.value=Math.max(aa.getBoundingClientRect().width+5,30)}}),ze()}),$.multiple&&!Array.isArray($.modelValue)&&j.emit(UPDATE_MODEL_EVENT,[]),!$.multiple&&Array.isArray($.modelValue)&&j.emit(UPDATE_MODEL_EVENT,"");const Wo=computed(()=>{var pa,aa;return(aa=(pa=Ln.value)==null?void 0:pa.popperRef)==null?void 0:aa.contentRef});return{isIOS,onOptionsRendered:pa=>{de.value=pa},tagInMultiLine:Yo,prefixWidth:Ro,selectSize:pe,readonly:he,handleResize:_e,collapseTagSize:xe,debouncedOnInputChange:Ce,debouncedQueryChange:Ie,deletePrevTag:$e,deleteTag:Ne,deleteSelected:Ve,handleOptionSelect:Oe,scrollToOption:Fe,inputWidth:so,selected:yo,inputLength:to,filteredOptionsCount:go,visible:_o,softFocus:To,selectedLabel:Un,hoverIndex:fo,query:vo,inputHovering:Jn,currentPlaceholder:co,menuVisibleOnFocus:$o,isOnComposition:No,isSilentBlur:jo,options:wo,resetInputHeight:Ue,managePlaceholder:qe,showClose:hn,selectDisabled:vn,iconComponent:bn,iconReverse:_n,showNewOption:kn,emptyText:xn,toggleLastOptionHitState:$n,resetInputState:Cn,handleComposition:En,handleMenuEnter:wn,handleFocus:On,blur:Tn,handleBlur:In,handleClearClick:Bn,handleClose:Dn,handleKeydownEscape:Xn,toggleMenu:Zn,selectOption:Fn,getValueKey:Yn,navigateOptions:qn,dropMenuVisible:Vn,focus:uo,reference:eo,input:ho,iOSInput:So,tooltipRef:Ln,popperPaneRef:Wo,tags:Rn,selectWrapper:Gn,scrollbar:no,wrapperKls:Qo,selectTagsStyle:da,nsSelect:oe,tagTextStyle:Lo,handleMouseEnter:lo,handleMouseLeave:Qn,showTagList:ro,collapseTagList:Hn}}}),_hoisted_1$s=["disabled","autocomplete"],_hoisted_2$i=["disabled"],_hoisted_3$b={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function _sfc_render$9($,j,oe,ae,ie,le){const de=resolveComponent("el-tag"),ue=resolveComponent("el-tooltip"),pe=resolveComponent("el-icon"),he=resolveComponent("el-input"),_e=resolveComponent("el-option"),xe=resolveComponent("el-options"),Ce=resolveComponent("el-scrollbar"),Ie=resolveComponent("el-select-menu"),$e=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectWrapper",class:normalizeClass($.wrapperKls),onMouseenter:j[21]||(j[21]=(...Ne)=>$.handleMouseEnter&&$.handleMouseEnter(...Ne)),onMouseleave:j[22]||(j[22]=(...Ne)=>$.handleMouseLeave&&$.handleMouseLeave(...Ne)),onClick:j[23]||(j[23]=withModifiers((...Ne)=>$.toggleMenu&&$.toggleMenu(...Ne),["stop"]))},[createVNode(ue,{ref:"tooltipRef",visible:$.dropMenuVisible,placement:$.placement,teleported:$.teleported,"popper-class":[$.nsSelect.e("popper"),$.popperClass],"popper-options":$.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:$.effect,pure:"",trigger:"click",transition:`${$.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:$.persistent,onShow:$.handleMenuEnter},{default:withCtx(()=>[createBaseVNode("div",{class:"select-trigger",onMouseenter:j[19]||(j[19]=Ne=>$.inputHovering=!0),onMouseleave:j[20]||(j[20]=Ne=>$.inputHovering=!1)},[$.multiple?(openBlock(),createElementBlock("div",{key:0,ref:"tags",class:normalizeClass([$.nsSelect.e("tags"),$.nsSelect.is("disabled",$.selectDisabled)]),style:normalizeStyle($.selectTagsStyle)},[$.collapseTags&&$.selected.length?(openBlock(),createBlock(Transition,{key:0,onAfterLeave:$.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass([$.nsSelect.b("tags-wrapper"),{"has-prefix":$.prefixWidth&&$.selected.length}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.showTagList,Ne=>(openBlock(),createBlock(de,{key:$.getValueKey(Ne),closable:!$.selectDisabled&&!Ne.isDisabled,size:$.collapseTagSize,hit:Ne.hitState,type:$.tagType,"disable-transitions":"",onClose:Ve=>$.deleteTag(Ve,Ne)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelect.e("tags-text")),style:normalizeStyle($.tagTextStyle)},toDisplayString$1(Ne.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),$.selected.length>$.maxCollapseTags?(openBlock(),createBlock(de,{key:0,closable:!1,size:$.collapseTagSize,type:$.tagType,"disable-transitions":""},{default:withCtx(()=>[$.collapseTagsTooltip?(openBlock(),createBlock(ue,{key:0,disabled:$.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:$.effect,placement:"bottom",teleported:$.teleported},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelect.e("tags-text"))},"+ "+toDisplayString$1($.selected.length-$.maxCollapseTags),3)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass($.nsSelect.e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.collapseTagList,Ne=>(openBlock(),createElementBlock("div",{key:$.getValueKey(Ne),class:normalizeClass($.nsSelect.e("collapse-tag"))},[createVNode(de,{class:"in-tooltip",closable:!$.selectDisabled&&!Ne.isDisabled,size:$.collapseTagSize,hit:Ne.hitState,type:$.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:Ve=>$.deleteTag(Ve,Ne)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelect.e("tags-text")),style:normalizeStyle({maxWidth:$.inputWidth-75+"px"})},toDisplayString$1(Ne.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass($.nsSelect.e("tags-text"))},"+ "+toDisplayString$1($.selected.length-$.maxCollapseTags),3))]),_:1},8,["size","type"])):createCommentVNode("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):createCommentVNode("v-if",!0),$.collapseTags?createCommentVNode("v-if",!0):(openBlock(),createBlock(Transition,{key:1,onAfterLeave:$.resetInputHeight},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass([$.nsSelect.b("tags-wrapper"),{"has-prefix":$.prefixWidth&&$.selected.length}])},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.selected,Ne=>(openBlock(),createBlock(de,{key:$.getValueKey(Ne),closable:!$.selectDisabled&&!Ne.isDisabled,size:$.collapseTagSize,hit:Ne.hitState,type:$.tagType,"disable-transitions":"",onClose:Ve=>$.deleteTag(Ve,Ne)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelect.e("tags-text")),style:normalizeStyle({maxWidth:$.inputWidth-75+"px"})},toDisplayString$1(Ne.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),$.filterable?withDirectives((openBlock(),createElementBlock("input",{key:2,ref:"input","onUpdate:modelValue":j[0]||(j[0]=Ne=>$.query=Ne),type:"text",class:normalizeClass([$.nsSelect.e("input"),$.nsSelect.is($.selectSize),$.nsSelect.is("disabled",$.selectDisabled)]),disabled:$.selectDisabled,autocomplete:$.autocomplete,style:normalizeStyle({marginLeft:$.prefixWidth&&!$.selected.length||$.tagInMultiLine?`${$.prefixWidth}px`:"",flexGrow:1,width:`${$.inputLength/($.inputWidth-32)}%`,maxWidth:`${$.inputWidth-42}px`}),onFocus:j[1]||(j[1]=(...Ne)=>$.handleFocus&&$.handleFocus(...Ne)),onBlur:j[2]||(j[2]=(...Ne)=>$.handleBlur&&$.handleBlur(...Ne)),onKeyup:j[3]||(j[3]=(...Ne)=>$.managePlaceholder&&$.managePlaceholder(...Ne)),onKeydown:[j[4]||(j[4]=(...Ne)=>$.resetInputState&&$.resetInputState(...Ne)),j[5]||(j[5]=withKeys(withModifiers(Ne=>$.navigateOptions("next"),["prevent"]),["down"])),j[6]||(j[6]=withKeys(withModifiers(Ne=>$.navigateOptions("prev"),["prevent"]),["up"])),j[7]||(j[7]=withKeys((...Ne)=>$.handleKeydownEscape&&$.handleKeydownEscape(...Ne),["esc"])),j[8]||(j[8]=withKeys(withModifiers((...Ne)=>$.selectOption&&$.selectOption(...Ne),["stop","prevent"]),["enter"])),j[9]||(j[9]=withKeys((...Ne)=>$.deletePrevTag&&$.deletePrevTag(...Ne),["delete"])),j[10]||(j[10]=withKeys(Ne=>$.visible=!1,["tab"]))],onCompositionstart:j[11]||(j[11]=(...Ne)=>$.handleComposition&&$.handleComposition(...Ne)),onCompositionupdate:j[12]||(j[12]=(...Ne)=>$.handleComposition&&$.handleComposition(...Ne)),onCompositionend:j[13]||(j[13]=(...Ne)=>$.handleComposition&&$.handleComposition(...Ne)),onInput:j[14]||(j[14]=(...Ne)=>$.debouncedQueryChange&&$.debouncedQueryChange(...Ne))},null,46,_hoisted_1$s)),[[vModelText,$.query]]):createCommentVNode("v-if",!0)],6)):createCommentVNode("v-if",!0),createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),$.isIOS&&!$.multiple&&$.filterable&&$.readonly?(openBlock(),createElementBlock("input",{key:1,ref:"iOSInput",class:normalizeClass([$.nsSelect.e("input"),$.nsSelect.is($.selectSize),$.nsSelect.em("input","iOS")]),disabled:$.selectDisabled,type:"text"},null,10,_hoisted_2$i)):createCommentVNode("v-if",!0),createVNode(he,{id:$.id,ref:"reference",modelValue:$.selectedLabel,"onUpdate:modelValue":j[15]||(j[15]=Ne=>$.selectedLabel=Ne),type:"text",placeholder:typeof $.currentPlaceholder=="function"?$.currentPlaceholder():$.currentPlaceholder,name:$.name,autocomplete:$.autocomplete,size:$.selectSize,disabled:$.selectDisabled,readonly:$.readonly,"validate-event":!1,class:normalizeClass([$.nsSelect.is("focus",$.visible)]),tabindex:$.multiple&&$.filterable?-1:void 0,onFocus:$.handleFocus,onBlur:$.handleBlur,onInput:$.debouncedOnInputChange,onPaste:$.debouncedOnInputChange,onCompositionstart:$.handleComposition,onCompositionupdate:$.handleComposition,onCompositionend:$.handleComposition,onKeydown:[j[16]||(j[16]=withKeys(withModifiers(Ne=>$.navigateOptions("next"),["stop","prevent"]),["down"])),j[17]||(j[17]=withKeys(withModifiers(Ne=>$.navigateOptions("prev"),["stop","prevent"]),["up"])),withKeys(withModifiers($.selectOption,["stop","prevent"]),["enter"]),withKeys($.handleKeydownEscape,["esc"]),j[18]||(j[18]=withKeys(Ne=>$.visible=!1,["tab"]))]},createSlots({suffix:withCtx(()=>[$.iconComponent&&!$.showClose?(openBlock(),createBlock(pe,{key:0,class:normalizeClass([$.nsSelect.e("caret"),$.nsSelect.e("icon"),$.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),$.showClose&&$.clearIcon?(openBlock(),createBlock(pe,{key:1,class:normalizeClass([$.nsSelect.e("caret"),$.nsSelect.e("icon")]),onClick:$.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:2},[$.$slots.prefix?{name:"prefix",fn:withCtx(()=>[createBaseVNode("div",_hoisted_3$b,[renderSlot($.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]),content:withCtx(()=>[createVNode(Ie,null,{default:withCtx(()=>[withDirectives(createVNode(Ce,{ref:"scrollbar",tag:"ul","wrap-class":$.nsSelect.be("dropdown","wrap"),"view-class":$.nsSelect.be("dropdown","list"),class:normalizeClass([$.nsSelect.is("empty",!$.allowCreate&&!!$.query&&$.filteredOptionsCount===0)])},{default:withCtx(()=>[$.showNewOption?(openBlock(),createBlock(_e,{key:0,value:$.query,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode(xe,{onUpdateOptions:$.onOptionsRendered},{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["wrap-class","view-class","class"]),[[vShow,$.options.size>0&&!$.loading]]),$.emptyText&&(!$.allowCreate||$.loading||$.allowCreate&&$.options.size===0)?(openBlock(),createElementBlock(Fragment,{key:0},[$.$slots.empty?renderSlot($.$slots,"empty",{key:0}):(openBlock(),createElementBlock("p",{key:1,class:normalizeClass($.nsSelect.be("dropdown","empty"))},toDisplayString$1($.emptyText),3))],64)):createCommentVNode("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[$e,$.handleClose,$.popperPaneRef]])}var Select$2=_export_sfc$1(_sfc_main$V,[["render",_sfc_render$9],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const _sfc_main$U=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup($){const j=useNamespace("select"),oe=ref(!0),ae=getCurrentInstance(),ie=ref([]);provide(selectGroupKey,reactive({...toRefs($)}));const le=inject(selectKey);onMounted(()=>{ie.value=de(ae.subTree)});const de=pe=>{const he=[];return Array.isArray(pe.children)&&pe.children.forEach(_e=>{var xe;_e.type&&_e.type.name==="ElOption"&&_e.component&&_e.component.proxy?he.push(_e.component.proxy):(xe=_e.children)!=null&&xe.length&&he.push(...de(_e))}),he},{groupQueryChange:ue}=toRaw(le);return watch(ue,()=>{oe.value=ie.value.some(pe=>pe.visible===!0)},{flush:"post"}),{visible:oe,ns:j}}});function _sfc_render$8($,j,oe,ae,ie,le){return withDirectives((openBlock(),createElementBlock("ul",{class:normalizeClass($.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass($.ns.be("group","title"))},toDisplayString$1($.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass($.ns.b("group"))},[renderSlot($.$slots,"default")],2)])],2)),[[vShow,$.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$U,[["render",_sfc_render$8],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const ElSelect=withInstall(Select$2,{Option:Option$1,OptionGroup}),ElOption=withNoopInstall(Option$1),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,size:{type:String,values:componentSizes}}),__default__$F=defineComponent({name:"ElPaginationSizes"}),_sfc_main$T=defineComponent({...__default__$F,props:paginationSizesProps,emits:["page-size-change"],setup($,{emit:j}){const oe=$,{t:ae}=useLocale(),ie=useNamespace("pagination"),le=usePagination(),de=ref(oe.pageSize);watch(()=>oe.pageSizes,(he,_e)=>{if(!isEqual$4(he,_e)&&Array.isArray(he)){const xe=he.includes(oe.pageSize)?oe.pageSize:oe.pageSizes[0];j("page-size-change",xe)}}),watch(()=>oe.pageSize,he=>{de.value=he});const ue=computed(()=>oe.pageSizes);function pe(he){var _e;he!==de.value&&(de.value=he,(_e=le.handleSizeChange)==null||_e.call(le,Number(he)))}return(he,_e)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(ie).e("sizes"))},[createVNode(unref(ElSelect),{"model-value":de.value,disabled:he.disabled,"popper-class":he.popperClass,size:he.size,"validate-event":!1,onChange:pe},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ue),xe=>(openBlock(),createBlock(unref(ElOption),{key:xe,value:xe,label:xe+unref(ae)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size"])],2))}});var Sizes=_export_sfc$1(_sfc_main$T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$r=["disabled"],__default__$E=defineComponent({name:"ElPaginationJumper"}),_sfc_main$S=defineComponent({...__default__$E,props:paginationJumperProps,setup($){const{t:j}=useLocale(),oe=useNamespace("pagination"),{pageCount:ae,disabled:ie,currentPage:le,changeEvent:de}=usePagination(),ue=ref(),pe=computed(()=>{var xe;return(xe=ue.value)!=null?xe:le==null?void 0:le.value});function he(xe){ue.value=xe?+xe:""}function _e(xe){xe=Math.trunc(+xe),de==null||de(xe),ue.value=void 0}return(xe,Ce)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(oe).e("jump")),disabled:unref(ie)},[createBaseVNode("span",{class:normalizeClass([unref(oe).e("goto")])},toDisplayString$1(unref(j)("el.pagination.goto")),3),createVNode(unref(ElInput),{size:xe.size,class:normalizeClass([unref(oe).e("editor"),unref(oe).is("in-pagination")]),min:1,max:unref(ae),disabled:unref(ie),"model-value":unref(pe),"validate-event":!1,label:unref(j)("el.pagination.page"),type:"number","onUpdate:modelValue":he,onChange:_e},null,8,["size","class","max","disabled","model-value","label"]),createBaseVNode("span",{class:normalizeClass([unref(oe).e("classifier")])},toDisplayString$1(unref(j)("el.pagination.pageClassifier")),3)],10,_hoisted_1$r))}});var Jumper=_export_sfc$1(_sfc_main$S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$q=["disabled"],__default__$D=defineComponent({name:"ElPaginationTotal"}),_sfc_main$R=defineComponent({...__default__$D,props:paginationTotalProps,setup($){const{t:j}=useLocale(),oe=useNamespace("pagination"),{disabled:ae}=usePagination();return(ie,le)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(oe).e("total")),disabled:unref(ae)},toDisplayString$1(unref(j)("el.pagination.total",{total:ie.total})),11,_hoisted_1$q))}});var Total=_export_sfc$1(_sfc_main$R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$p=["onKeyup"],_hoisted_2$h=["aria-current","aria-label","tabindex"],_hoisted_3$a=["tabindex","aria-label"],_hoisted_4$8=["aria-current","aria-label","tabindex"],_hoisted_5$6=["tabindex","aria-label"],_hoisted_6$1=["aria-current","aria-label","tabindex"],__default__$C=defineComponent({name:"ElPaginationPager"}),_sfc_main$Q=defineComponent({...__default__$C,props:paginationPagerProps,emits:["change"],setup($,{emit:j}){const oe=$,ae=useNamespace("pager"),ie=useNamespace("icon"),{t:le}=useLocale(),de=ref(!1),ue=ref(!1),pe=ref(!1),he=ref(!1),_e=ref(!1),xe=ref(!1),Ce=computed(()=>{const Fe=oe.pagerCount,ze=(Fe-1)/2,Ue=Number(oe.currentPage),qe=Number(oe.pageCount);let hn=!1,vn=!1;qe>Fe&&(Ue>Fe-ze&&(hn=!0),Ueoe.disabled?-1:0);watchEffect(()=>{const Fe=(oe.pagerCount-1)/2;de.value=!1,ue.value=!1,oe.pageCount>oe.pagerCount&&(oe.currentPage>oe.pagerCount-Fe&&(de.value=!0),oe.currentPageqe&&(Ue=qe)),Ue!==hn&&j("change",Ue)}return(Fe,ze)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(ae).b()),onClick:Oe,onKeyup:withKeys(Ve,["enter"])},[Fe.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(ae).is("active",Fe.currentPage===1),unref(ae).is("disabled",Fe.disabled)],"number"]),"aria-current":Fe.currentPage===1,"aria-label":unref(le)("el.pagination.currentPage",{pager:1}),tabindex:unref(Ie)}," 1 ",10,_hoisted_2$h)):createCommentVNode("v-if",!0),de.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(["more","btn-quickprev",unref(ie).b(),unref(ae).is("disabled",Fe.disabled)]),tabindex:unref(Ie),"aria-label":unref(le)("el.pagination.prevPages",{pager:Fe.pagerCount-2}),onMouseenter:ze[0]||(ze[0]=Ue=>$e(!0)),onMouseleave:ze[1]||(ze[1]=Ue=>pe.value=!1),onFocus:ze[2]||(ze[2]=Ue=>Ne(!0)),onBlur:ze[3]||(ze[3]=Ue=>_e.value=!1)},[(pe.value||_e.value)&&!Fe.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$a)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ce),Ue=>(openBlock(),createElementBlock("li",{key:Ue,class:normalizeClass([[unref(ae).is("active",Fe.currentPage===Ue),unref(ae).is("disabled",Fe.disabled)],"number"]),"aria-current":Fe.currentPage===Ue,"aria-label":unref(le)("el.pagination.currentPage",{pager:Ue}),tabindex:unref(Ie)},toDisplayString$1(Ue),11,_hoisted_4$8))),128)),ue.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(["more","btn-quicknext",unref(ie).b(),unref(ae).is("disabled",Fe.disabled)]),tabindex:unref(Ie),"aria-label":unref(le)("el.pagination.nextPages",{pager:Fe.pagerCount-2}),onMouseenter:ze[4]||(ze[4]=Ue=>$e()),onMouseleave:ze[5]||(ze[5]=Ue=>he.value=!1),onFocus:ze[6]||(ze[6]=Ue=>Ne()),onBlur:ze[7]||(ze[7]=Ue=>xe.value=!1)},[(he.value||xe.value)&&!Fe.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$6)):createCommentVNode("v-if",!0),Fe.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(ae).is("active",Fe.currentPage===Fe.pageCount),unref(ae).is("disabled",Fe.disabled)],"number"]),"aria-current":Fe.currentPage===Fe.pageCount,"aria-label":unref(le)("el.pagination.currentPage",{pager:Fe.pageCount}),tabindex:unref(Ie)},toDisplayString$1(Fe.pageCount),11,_hoisted_6$1)):createCommentVNode("v-if",!0)],42,_hoisted_1$p))}});var Pager$1=_export_sfc$1(_sfc_main$Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const isAbsent=$=>typeof $!="number",paginationProps=buildProps({total:Number,pageSize:Number,defaultPageSize:Number,currentPage:Number,defaultCurrentPage:Number,pageCount:Number,pagerCount:{type:Number,validator:$=>isNumber$d($)&&Math.trunc($)===$&&$>4&&$<22&&$%2===1,default:7},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},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":$=>isNumber$d($),"update:page-size":$=>isNumber$d($),"size-change":$=>isNumber$d($),"current-change":$=>isNumber$d($),"prev-click":$=>isNumber$d($),"next-click":$=>isNumber$d($)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup($,{emit:j,slots:oe}){const{t:ae}=useLocale(),ie=useNamespace("pagination"),le=getCurrentInstance().vnode.props||{},de="onUpdate:currentPage"in le||"onUpdate:current-page"in le||"onCurrentChange"in le,ue="onUpdate:pageSize"in le||"onUpdate:page-size"in le||"onSizeChange"in le,pe=computed(()=>{if(isAbsent($.total)&&isAbsent($.pageCount)||!isAbsent($.currentPage)&&!de)return!1;if($.layout.includes("sizes")){if(isAbsent($.pageCount)){if(!isAbsent($.total)&&!isAbsent($.pageSize)&&!ue)return!1}else if(!ue)return!1}return!0}),he=ref(isAbsent($.defaultPageSize)?10:$.defaultPageSize),_e=ref(isAbsent($.defaultCurrentPage)?1:$.defaultCurrentPage),xe=computed({get(){return isAbsent($.pageSize)?he.value:$.pageSize},set(ze){isAbsent($.pageSize)&&(he.value=ze),ue&&(j("update:page-size",ze),j("size-change",ze))}}),Ce=computed(()=>{let ze=0;return isAbsent($.pageCount)?isAbsent($.total)||(ze=Math.max(1,Math.ceil($.total/xe.value))):ze=$.pageCount,ze}),Ie=computed({get(){return isAbsent($.currentPage)?_e.value:$.currentPage},set(ze){let Ue=ze;ze<1?Ue=1:ze>Ce.value&&(Ue=Ce.value),isAbsent($.currentPage)&&(_e.value=Ue),de&&(j("update:current-page",Ue),j("current-change",Ue))}});watch(Ce,ze=>{Ie.value>ze&&(Ie.value=ze)});function $e(ze){Ie.value=ze}function Ne(ze){xe.value=ze;const Ue=Ce.value;Ie.value>Ue&&(Ie.value=Ue)}function Ve(){$.disabled||(Ie.value-=1,j("prev-click",Ie.value))}function Oe(){$.disabled||(Ie.value+=1,j("next-click",Ie.value))}function Fe(ze,Ue){ze&&(ze.props||(ze.props={}),ze.props.class=[ze.props.class,Ue].join(" "))}return provide(elPaginationKey,{pageCount:Ce,disabled:computed(()=>$.disabled),currentPage:Ie,changeEvent:$e,handleSizeChange:Ne}),()=>{var ze,Ue;if(!pe.value)return ae("el.pagination.deprecationWarning"),null;if(!$.layout||$.hideOnSinglePage&&Ce.value<=1)return null;const qe=[],hn=[],vn=h$2("div",{class:ie.e("rightwrapper")},hn),bn={prev:h$2(Prev,{disabled:$.disabled,currentPage:Ie.value,prevText:$.prevText,prevIcon:$.prevIcon,onClick:Ve}),jumper:h$2(Jumper,{size:$.small?"small":"default"}),pager:h$2(Pager$1,{currentPage:Ie.value,pageCount:Ce.value,pagerCount:$.pagerCount,onChange:$e,disabled:$.disabled}),next:h$2(Next,{disabled:$.disabled,currentPage:Ie.value,pageCount:Ce.value,nextText:$.nextText,nextIcon:$.nextIcon,onClick:Oe}),sizes:h$2(Sizes,{pageSize:xe.value,pageSizes:$.pageSizes,popperClass:$.popperClass,disabled:$.disabled,size:$.small?"small":"default"}),slot:(Ue=(ze=oe==null?void 0:oe.default)==null?void 0:ze.call(oe))!=null?Ue:null,total:h$2(Total,{total:isAbsent($.total)?0:$.total})},_n=$.layout.split(",").map(xn=>xn.trim());let kn=!1;return _n.forEach(xn=>{if(xn==="->"){kn=!0;return}kn?hn.push(bn[xn]):qe.push(bn[xn])}),Fe(qe[0],ie.is("first")),Fe(qe[qe.length-1],ie.is("last")),kn&&hn.length>0&&(Fe(hn[0],ie.is("first")),Fe(hn[hn.length-1],ie.is("last")),qe.push(vn)),h$2("div",{class:[ie.b(),ie.is("background",$.background),{[ie.m("small")]:$.small}]},qe)}}});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:$=>$ instanceof MouseEvent,cancel:$=>$ instanceof MouseEvent},__default__$B=defineComponent({name:"ElPopconfirm"}),_sfc_main$P=defineComponent({...__default__$B,props:popconfirmProps,emits:popconfirmEmits,setup($,{emit:j}){const oe=$,{t:ae}=useLocale(),ie=useNamespace("popconfirm"),le=ref(),de=()=>{var Ce,Ie;(Ie=(Ce=le.value)==null?void 0:Ce.onClose)==null||Ie.call(Ce)},ue=computed(()=>({width:addUnit(oe.width)})),pe=Ce=>{j("confirm",Ce),de()},he=Ce=>{j("cancel",Ce),de()},_e=computed(()=>oe.confirmButtonText||ae("el.popconfirm.confirmButtonText")),xe=computed(()=>oe.cancelButtonText||ae("el.popconfirm.cancelButtonText"));return(Ce,Ie)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:le,trigger:"click",effect:"light"},Ce.$attrs,{"popper-class":`${unref(ie).namespace.value}-popover`,"popper-style":unref(ue),teleported:Ce.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":Ce.hideAfter,persistent:Ce.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("main"))},[!Ce.hideIcon&&Ce.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("icon")),style:normalizeStyle({color:Ce.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString$1(Ce.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(ie).e("action"))},[createVNode(unref(ElButton),{size:"small",type:Ce.cancelButtonType==="text"?"":Ce.cancelButtonType,text:Ce.cancelButtonType==="text",onClick:he},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(xe)),1)]),_:1},8,["type","text"]),createVNode(unref(ElButton),{size:"small",type:Ce.confirmButtonType==="text"?"":Ce.confirmButtonType,text:Ce.confirmButtonType==="text",onClick:pe},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(_e)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[Ce.$slots.reference?renderSlot(Ce.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc$1(_sfc_main$P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,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,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":$=>isBoolean$5($),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$A=defineComponent({name:"ElPopover"}),_sfc_main$O=defineComponent({...__default__$A,props:popoverProps,emits:popoverEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=computed(()=>ae[updateEventKeyRaw]),le=useNamespace("popover"),de=ref(),ue=computed(()=>{var Ve;return(Ve=unref(de))==null?void 0:Ve.popperRef}),pe=computed(()=>[{width:addUnit(ae.width)},ae.popperStyle]),he=computed(()=>[le.b(),ae.popperClass,{[le.m("plain")]:!!ae.content}]),_e=computed(()=>ae.transition===`${le.namespace.value}-fade-in-linear`),xe=()=>{var Ve;(Ve=de.value)==null||Ve.hide()},Ce=()=>{oe("before-enter")},Ie=()=>{oe("before-leave")},$e=()=>{oe("after-enter")},Ne=()=>{oe("update:visible",!1),oe("after-leave")};return j({popperRef:ue,hide:xe}),(Ve,Oe)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:de},Ve.$attrs,{trigger:Ve.trigger,placement:Ve.placement,disabled:Ve.disabled,visible:Ve.visible,transition:Ve.transition,"popper-options":Ve.popperOptions,tabindex:Ve.tabindex,content:Ve.content,offset:Ve.offset,"show-after":Ve.showAfter,"hide-after":Ve.hideAfter,"auto-close":Ve.autoClose,"show-arrow":Ve.showArrow,"aria-label":Ve.title,effect:Ve.effect,enterable:Ve.enterable,"popper-class":unref(he),"popper-style":unref(pe),teleported:Ve.teleported,persistent:Ve.persistent,"gpu-acceleration":unref(_e),"onUpdate:visible":unref(ie),onBeforeShow:Ce,onBeforeHide:Ie,onShow:$e,onHide:Ne}),{content:withCtx(()=>[Ve.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(le).e("title")),role:"title"},toDisplayString$1(Ve.title),3)):createCommentVNode("v-if",!0),renderSlot(Ve.$slots,"default",{},()=>[createTextVNode(toDisplayString$1(Ve.content),1)])]),default:withCtx(()=>[Ve.$slots.reference?renderSlot(Ve.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["trigger","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","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc$1(_sfc_main$O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const attachEvents=($,j)=>{const oe=j.arg||j.value,ae=oe==null?void 0:oe.popperRef;ae&&(ae.triggerRef=$)};var PopoverDirective={mounted($,j){attachEvents($,j)},updated($,j){attachEvents($,j)}};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:$=>$>=0&&$<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},format:{type:definePropType(Function),default:$=>`${$}%`}}),_hoisted_1$o=["aria-valuenow"],_hoisted_2$g={viewBox:"0 0 100 100"},_hoisted_3$9=["d","stroke","stroke-width"],_hoisted_4$7=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$5={key:0},__default__$z=defineComponent({name:"ElProgress"}),_sfc_main$N=defineComponent({...__default__$z,props:progressProps,setup($){const j=$,oe={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},ae=useNamespace("progress"),ie=computed(()=>({width:`${j.percentage}%`,animationDuration:`${j.duration}s`,backgroundColor:Fe(j.percentage)})),le=computed(()=>(j.strokeWidth/j.width*100).toFixed(1)),de=computed(()=>["circle","dashboard"].includes(j.type)?Number.parseInt(`${50-Number.parseFloat(le.value)/2}`,10):0),ue=computed(()=>{const ze=de.value,Ue=j.type==="dashboard";return` + M 50 50 + m 0 ${Ue?"":"-"}${ze} + a ${ze} ${ze} 0 1 1 0 ${Ue?"-":""}${ze*2} + a ${ze} ${ze} 0 1 1 0 ${Ue?"":"-"}${ze*2} + `}),pe=computed(()=>2*Math.PI*de.value),he=computed(()=>j.type==="dashboard"?.75:1),_e=computed(()=>`${-1*pe.value*(1-he.value)/2}px`),xe=computed(()=>({strokeDasharray:`${pe.value*he.value}px, ${pe.value}px`,strokeDashoffset:_e.value})),Ce=computed(()=>({strokeDasharray:`${pe.value*he.value*(j.percentage/100)}px, ${pe.value}px`,strokeDashoffset:_e.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),Ie=computed(()=>{let ze;return j.color?ze=Fe(j.percentage):ze=oe[j.status]||oe.default,ze}),$e=computed(()=>j.status==="warning"?warning_filled_default:j.type==="line"?j.status==="success"?circle_check_default:circle_close_default:j.status==="success"?check_default:close_default),Ne=computed(()=>j.type==="line"?12+j.strokeWidth*.4:j.width*.111111+2),Ve=computed(()=>j.format(j.percentage));function Oe(ze){const Ue=100/ze.length;return ze.map((hn,vn)=>isString$d(hn)?{color:hn,percentage:(vn+1)*Ue}:hn).sort((hn,vn)=>hn.percentage-vn.percentage)}const Fe=ze=>{var Ue;const{color:qe}=j;if(isFunction$h(qe))return qe(ze);if(isString$d(qe))return qe;{const hn=Oe(qe);for(const vn of hn)if(vn.percentage>ze)return vn.color;return(Ue=hn[hn.length-1])==null?void 0:Ue.color}};return(ze,Ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ae).b(),unref(ae).m(ze.type),unref(ae).is(ze.status),{[unref(ae).m("without-text")]:!ze.showText,[unref(ae).m("text-inside")]:ze.textInside}]),role:"progressbar","aria-valuenow":ze.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[ze.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ae).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(ae).be("bar","outer")),style:normalizeStyle({height:`${ze.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(ae).be("bar","inner"),{[unref(ae).bem("bar","inner","indeterminate")]:ze.indeterminate}]),style:normalizeStyle(unref(ie))},[(ze.showText||ze.$slots.default)&&ze.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ae).be("bar","innerText"))},[renderSlot(ze.$slots,"default",{percentage:ze.percentage},()=>[createBaseVNode("span",null,toDisplayString$1(unref(Ve)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ae).b("circle")),style:normalizeStyle({height:`${ze.width}px`,width:`${ze.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$g,[createBaseVNode("path",{class:normalizeClass(unref(ae).be("circle","track")),d:unref(ue),stroke:`var(${unref(ae).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-width":unref(le),fill:"none",style:normalizeStyle(unref(xe))},null,14,_hoisted_3$9),createBaseVNode("path",{class:normalizeClass(unref(ae).be("circle","path")),d:unref(ue),stroke:unref(Ie),fill:"none",opacity:ze.percentage?1:0,"stroke-linecap":ze.strokeLinecap,"stroke-width":unref(le),style:normalizeStyle(unref(Ce))},null,14,_hoisted_4$7)]))],6)),(ze.showText||ze.$slots.default)&&!ze.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(ae).e("text")),style:normalizeStyle({fontSize:`${unref(Ne)}px`})},[renderSlot(ze.$slots,"default",{percentage:ze.percentage},()=>[ze.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref($e))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$5,toDisplayString$1(unref(Ve)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$o))}});var Progress=_export_sfc$1(_sfc_main$N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/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,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1}}),rateEmits={[CHANGE_EVENT]:$=>isNumber$d($),[UPDATE_MODEL_EVENT]:$=>isNumber$d($)},_hoisted_1$n=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$f=["onMousemove","onClick"],__default__$y=defineComponent({name:"ElRate"}),_sfc_main$M=defineComponent({...__default__$y,props:rateProps,emits:rateEmits,setup($,{expose:j,emit:oe}){const ae=$;function ie(Sn,wn){const On=Bn=>isObject$8(Bn),Tn=Object.keys(wn).map(Bn=>+Bn).filter(Bn=>{const Dn=wn[Bn];return(On(Dn)?Dn.excluded:!1)?SnBn-Dn),In=wn[Tn[0]];return On(In)&&In.value||In}const le=inject(formContextKey,void 0),de=inject(formItemContextKey,void 0),ue=useFormSize(),pe=useNamespace("rate"),{inputId:he,isLabeledByFormItem:_e}=useFormItemInputId(ae,{formItemContext:de}),xe=ref(ae.modelValue),Ce=ref(-1),Ie=ref(!0),$e=computed(()=>[pe.b(),pe.m(ue.value)]),Ne=computed(()=>ae.disabled||(le==null?void 0:le.disabled)),Ve=computed(()=>pe.cssVarBlock({"void-color":ae.voidColor,"disabled-void-color":ae.disabledVoidColor,"fill-color":Ue.value})),Oe=computed(()=>{let Sn="";return ae.showScore?Sn=ae.scoreTemplate.replace(/\{\s*value\s*\}/,Ne.value?`${ae.modelValue}`:`${xe.value}`):ae.showText&&(Sn=ae.texts[Math.ceil(xe.value)-1]),Sn}),Fe=computed(()=>ae.modelValue*100-Math.floor(ae.modelValue)*100),ze=computed(()=>isArray$x(ae.colors)?{[ae.lowThreshold]:ae.colors[0],[ae.highThreshold]:{value:ae.colors[1],excluded:!0},[ae.max]:ae.colors[2]}:ae.colors),Ue=computed(()=>{const Sn=ie(xe.value,ze.value);return isObject$8(Sn)?"":Sn}),qe=computed(()=>{let Sn="";return Ne.value?Sn=`${Fe.value}%`:ae.allowHalf&&(Sn="50%"),{color:Ue.value,width:Sn}}),hn=computed(()=>{let Sn=isArray$x(ae.icons)?[...ae.icons]:{...ae.icons};return Sn=markRaw(Sn),isArray$x(Sn)?{[ae.lowThreshold]:Sn[0],[ae.highThreshold]:{value:Sn[1],excluded:!0},[ae.max]:Sn[2]}:Sn}),vn=computed(()=>ie(ae.modelValue,hn.value)),bn=computed(()=>Ne.value?isString$d(ae.disabledVoidIcon)?ae.disabledVoidIcon:markRaw(ae.disabledVoidIcon):isString$d(ae.voidIcon)?ae.voidIcon:markRaw(ae.voidIcon)),_n=computed(()=>ie(xe.value,hn.value));function kn(Sn){const wn=Ne.value&&Fe.value>0&&Sn-1ae.modelValue,On=ae.allowHalf&&Ie.value&&Sn-.5<=xe.value&&Sn>xe.value;return wn||On}function xn(Sn){ae.clearable&&Sn===ae.modelValue&&(Sn=0),oe(UPDATE_MODEL_EVENT,Sn),ae.modelValue!==Sn&&oe("change",Sn)}function $n(Sn){Ne.value||(ae.allowHalf&&Ie.value?xn(xe.value):xn(Sn))}function Cn(Sn){if(Ne.value)return;let wn=xe.value;const On=Sn.code;return On===EVENT_CODE.up||On===EVENT_CODE.right?(ae.allowHalf?wn+=.5:wn+=1,Sn.stopPropagation(),Sn.preventDefault()):(On===EVENT_CODE.left||On===EVENT_CODE.down)&&(ae.allowHalf?wn-=.5:wn-=1,Sn.stopPropagation(),Sn.preventDefault()),wn=wn<0?0:wn,wn=wn>ae.max?ae.max:wn,oe(UPDATE_MODEL_EVENT,wn),oe("change",wn),wn}function En(Sn,wn){if(!Ne.value){if(ae.allowHalf&&wn){let On=wn.target;hasClass$1(On,pe.e("item"))&&(On=On.querySelector(`.${pe.e("icon")}`)),(On.clientWidth===0||hasClass$1(On,pe.e("decimal")))&&(On=On.parentNode),Ie.value=wn.offsetX*2<=On.clientWidth,xe.value=Ie.value?Sn-.5:Sn}else xe.value=Sn;Ce.value=Sn}}function Nn(){Ne.value||(ae.allowHalf&&(Ie.value=ae.modelValue!==Math.floor(ae.modelValue)),xe.value=ae.modelValue,Ce.value=-1)}return watch(()=>ae.modelValue,Sn=>{xe.value=Sn,Ie.value=ae.modelValue!==Math.floor(ae.modelValue)}),ae.modelValue||oe(UPDATE_MODEL_EVENT,0),j({setCurrentValue:En,resetCurrentValue:Nn}),(Sn,wn)=>{var On;return openBlock(),createElementBlock("div",{id:unref(he),class:normalizeClass([unref($e),unref(pe).is("disabled",unref(Ne))]),role:"slider","aria-label":unref(_e)?void 0:Sn.label||"rating","aria-labelledby":unref(_e)?(On=unref(de))==null?void 0:On.labelId:void 0,"aria-valuenow":xe.value,"aria-valuetext":unref(Oe)||void 0,"aria-valuemin":"0","aria-valuemax":Sn.max,tabindex:"0",style:normalizeStyle(unref(Ve)),onKeydown:Cn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Sn.max,(Tn,In)=>(openBlock(),createElementBlock("span",{key:In,class:normalizeClass(unref(pe).e("item")),onMousemove:Bn=>En(Tn,Bn),onMouseleave:Nn,onClick:Bn=>$n(Tn)},[createVNode(unref(ElIcon),{class:normalizeClass([unref(pe).e("icon"),{hover:Ce.value===Tn},unref(pe).is("active",Tn<=xe.value)])},{default:withCtx(()=>[kn(Tn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(_n)),null,null,512)),[[vShow,Tn<=xe.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(bn)),null,null,512)),[[vShow,!(Tn<=xe.value)]])],64)),kn(Tn)?(openBlock(),createBlock(unref(ElIcon),{key:1,style:normalizeStyle(unref(qe)),class:normalizeClass([unref(pe).e("icon"),unref(pe).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(vn))))]),_:1},8,["style","class"])):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$f))),128)),Sn.showText||Sn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(pe).e("text"))},toDisplayString$1(unref(Oe)),3)):createCommentVNode("v-if",!0)],46,_hoisted_1$n)}}});var Rate=_export_sfc$1(_sfc_main$M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/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__$x=defineComponent({name:"ElResult"}),_sfc_main$L=defineComponent({...__default__$x,props:resultProps,setup($){const j=$,oe=useNamespace("result"),ae=computed(()=>{const ie=j.icon,le=ie&&IconMap[ie]?IconMap[ie]:"icon-info",de=IconComponentMap[le]||IconComponentMap["icon-info"];return{class:le,component:de}});return(ie,le)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(oe).b())},[createBaseVNode("div",{class:normalizeClass(unref(oe).e("icon"))},[renderSlot(ie.$slots,"icon",{},()=>[unref(ae).component?(openBlock(),createBlock(resolveDynamicComponent(unref(ae).component),{key:0,class:normalizeClass(unref(ae).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),ie.title||ie.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("title"))},[renderSlot(ie.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString$1(ie.title),1)])],2)):createCommentVNode("v-if",!0),ie.subTitle||ie.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(oe).e("subtitle"))},[renderSlot(ie.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString$1(ie.subTitle),1)])],2)):createCommentVNode("v-if",!0),ie.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(oe).e("extra"))},[renderSlot(ie.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$1(_sfc_main$L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const ElResult=withInstall(Result);var safeIsNaN=Number.isNaN||function(j){return typeof j=="number"&&j!==j};function isEqual$3($,j){return!!($===j||safeIsNaN($)&&safeIsNaN(j))}function areInputsEqual($,j){if($.length!==j.length)return!1;for(var oe=0;oe<$.length;oe++)if(!isEqual$3($[oe],j[oe]))return!1;return!0}function memoizeOne($,j){j===void 0&&(j=areInputsEqual);var oe=null;function ae(){for(var ie=[],le=0;le{const j=getCurrentInstance().proxy.$props;return computed(()=>{const oe=(ae,ie,le)=>({});return j.perfMode?memoize(oe):memoizeOne(oe)})},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:$,atStartEdge:j,layout:oe},ae)=>{let ie,le=0;const de=pe=>pe<0&&j.value||pe>0&&$.value;return{hasReachedEdge:de,onWheel:pe=>{cAF(ie);const he=pe[LayoutKeys[oe.value]];de(le)&&de(le+he)||(le+=he,isFirefox()||pe.preventDefault(),ie=rAF(()=>{ae(le),le=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache$1=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,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$1,estimatedItemSize,layout,initScrollOffset,total,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache$1,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:$,rowIndex:j})=>`${j}:${$}`},rowCache:cache$1,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,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=($,j)=>$$===LTR||$===RTL||$===HORIZONTAL,isRTL=$=>$===RTL;let cachedRTLResult=null;function getRTLOffsetType($=!1){if(cachedRTLResult===null||$){const j=document.createElement("div"),oe=j.style;oe.width="50px",oe.height="50px",oe.overflow="scroll",oe.direction="rtl";const ae=document.createElement("div"),ie=ae.style;return ie.width="100px",ie.height="100px",j.appendChild(ae),document.body.appendChild(j),j.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:(j.scrollLeft=1,j.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild(j),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:$,size:j,bar:oe},ae){const ie={},le=`translate${oe.axis}(${$}px)`;return ie[oe.size]=j,ie.transform=le,ie.msTransform=le,ie.webkitTransform=le,ae==="horizontal"?ie.height="100%":ie.width="100%",ie}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup($,{emit:j}){const oe=computed(()=>$.startGap+$.endGap),ae=useNamespace("virtual-scrollbar"),ie=useNamespace("scrollbar"),le=ref(),de=ref();let ue=null,pe=null;const he=reactive({isDragging:!1,traveled:0}),_e=computed(()=>BAR_MAP[$.layout]),xe=computed(()=>$.clientSize-unref(oe)),Ce=computed(()=>({position:"absolute",width:`${HORIZONTAL===$.layout?xe.value:$.scrollbarSize}px`,height:`${HORIZONTAL===$.layout?$.scrollbarSize:xe.value}px`,[ScrollbarDirKey[$.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),Ie=computed(()=>{const hn=$.ratio,vn=$.clientSize;if(hn>=100)return Number.POSITIVE_INFINITY;if(hn>=50)return hn*vn/100;const bn=vn/3;return Math.floor(Math.min(Math.max(hn*vn,SCROLLBAR_MIN_SIZE),bn))}),$e=computed(()=>{if(!Number.isFinite(Ie.value))return{display:"none"};const hn=`${Ie.value}px`;return renderThumbStyle({bar:_e.value,size:hn,move:he.traveled},$.layout)}),Ne=computed(()=>Math.floor($.clientSize-Ie.value-unref(oe))),Ve=()=>{window.addEventListener("mousemove",Ue),window.addEventListener("mouseup",ze);const hn=unref(de);hn&&(pe=document.onselectstart,document.onselectstart=()=>!1,hn.addEventListener("touchmove",Ue),hn.addEventListener("touchend",ze))},Oe=()=>{window.removeEventListener("mousemove",Ue),window.removeEventListener("mouseup",ze),document.onselectstart=pe,pe=null;const hn=unref(de);hn&&(hn.removeEventListener("touchmove",Ue),hn.removeEventListener("touchend",ze))},Fe=hn=>{hn.stopImmediatePropagation(),!(hn.ctrlKey||[1,2].includes(hn.button))&&(he.isDragging=!0,he[_e.value.axis]=hn.currentTarget[_e.value.offset]-(hn[_e.value.client]-hn.currentTarget.getBoundingClientRect()[_e.value.direction]),j("start-move"),Ve())},ze=()=>{he.isDragging=!1,he[_e.value.axis]=0,j("stop-move"),Oe()},Ue=hn=>{const{isDragging:vn}=he;if(!vn||!de.value||!le.value)return;const bn=he[_e.value.axis];if(!bn)return;cAF(ue);const _n=(le.value.getBoundingClientRect()[_e.value.direction]-hn[_e.value.client])*-1,kn=de.value[_e.value.offset]-bn,xn=_n-kn;ue=rAF(()=>{he.traveled=Math.max($.startGap,Math.min(xn,Ne.value)),j("scroll",xn,Ne.value)})},qe=hn=>{const vn=Math.abs(hn.target.getBoundingClientRect()[_e.value.direction]-hn[_e.value.client]),bn=de.value[_e.value.offset]/2,_n=vn-bn;he.traveled=Math.max(0,Math.min(_n,Ne.value)),j("scroll",_n,Ne.value)};return watch(()=>$.scrollFrom,hn=>{he.isDragging||(he.traveled=Math.ceil(hn*Ne.value))}),onBeforeUnmount(()=>{Oe()}),()=>h$2("div",{role:"presentation",ref:le,class:[ae.b(),$.class,($.alwaysOn||he.isDragging)&&"always-on"],style:Ce.value,onMousedown:withModifiers(qe,["stop","prevent"]),onTouchstartPrevent:Fe},h$2("div",{ref:de,class:ie.e("thumb"),style:$e.value,onMousedown:Fe},[]))}}),createList=({name:$,getOffset:j,getItemSize:oe,getItemOffset:ae,getEstimatedTotalSize:ie,getStartIndexForOffset:le,getStopIndexForStartIndex:de,initCache:ue,clearCache:pe,validateProps:he})=>defineComponent({name:$??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(_e,{emit:xe,expose:Ce}){he(_e);const Ie=getCurrentInstance(),$e=useNamespace("vl"),Ne=ref(ue(_e,Ie)),Ve=useCache(),Oe=ref(),Fe=ref(),ze=ref(),Ue=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$d(_e.initScrollOffset)?_e.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:_e.scrollbarAlwaysOn}),qe=computed(()=>{const{total:Xn,cache:Zn}=_e,{isScrolling:Fn,scrollDir:Yn,scrollOffset:qn}=unref(Ue);if(Xn===0)return[0,0,0,0];const Vn=le(_e,qn,unref(Ne)),eo=de(_e,Vn,qn,unref(Ne)),ho=!Fn||Yn===BACKWARD?Math.max(1,Zn):1,So=!Fn||Yn===FORWARD?Math.max(1,Zn):1;return[Math.max(0,Vn-ho),Math.max(0,Math.min(Xn-1,eo+So)),Vn,eo]}),hn=computed(()=>ie(_e,unref(Ne))),vn=computed(()=>isHorizontal(_e.layout)),bn=computed(()=>[{position:"relative",[`overflow-${vn.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:_e.direction,height:isNumber$d(_e.height)?`${_e.height}px`:_e.height,width:isNumber$d(_e.width)?`${_e.width}px`:_e.width},_e.style]),_n=computed(()=>{const Xn=unref(hn),Zn=unref(vn);return{height:Zn?"100%":`${Xn}px`,pointerEvents:unref(Ue).isScrolling?"none":void 0,width:Zn?`${Xn}px`:"100%"}}),kn=computed(()=>vn.value?_e.width:_e.height),{onWheel:xn}=useWheel({atStartEdge:computed(()=>Ue.value.scrollOffset<=0),atEndEdge:computed(()=>Ue.value.scrollOffset>=hn.value),layout:computed(()=>_e.layout)},Xn=>{var Zn,Fn;(Fn=(Zn=ze.value).onMouseUp)==null||Fn.call(Zn),wn(Math.min(Ue.value.scrollOffset+Xn,hn.value-kn.value))}),$n=()=>{const{total:Xn}=_e;if(Xn>0){const[qn,Vn,eo,ho]=unref(qe);xe(ITEM_RENDER_EVT,qn,Vn,eo,ho)}const{scrollDir:Zn,scrollOffset:Fn,updateRequested:Yn}=unref(Ue);xe(SCROLL_EVT,Zn,Fn,Yn)},Cn=Xn=>{const{clientHeight:Zn,scrollHeight:Fn,scrollTop:Yn}=Xn.currentTarget,qn=unref(Ue);if(qn.scrollOffset===Yn)return;const Vn=Math.max(0,Math.min(Yn,Fn-Zn));Ue.value={...qn,isScrolling:!0,scrollDir:getScrollDir(qn.scrollOffset,Vn),scrollOffset:Vn,updateRequested:!1},nextTick(In)},En=Xn=>{const{clientWidth:Zn,scrollLeft:Fn,scrollWidth:Yn}=Xn.currentTarget,qn=unref(Ue);if(qn.scrollOffset===Fn)return;const{direction:Vn}=_e;let eo=Fn;if(Vn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{eo=-Fn;break}case RTL_OFFSET_POS_DESC:{eo=Yn-Zn-Fn;break}}eo=Math.max(0,Math.min(eo,Yn-Zn)),Ue.value={...qn,isScrolling:!0,scrollDir:getScrollDir(qn.scrollOffset,eo),scrollOffset:eo,updateRequested:!1},nextTick(In)},Nn=Xn=>{unref(vn)?En(Xn):Cn(Xn),$n()},Sn=(Xn,Zn)=>{const Fn=(hn.value-kn.value)/Zn*Xn;wn(Math.min(hn.value-kn.value,Fn))},wn=Xn=>{Xn=Math.max(Xn,0),Xn!==unref(Ue).scrollOffset&&(Ue.value={...unref(Ue),scrollOffset:Xn,scrollDir:getScrollDir(unref(Ue).scrollOffset,Xn),updateRequested:!0},nextTick(In))},On=(Xn,Zn=AUTO_ALIGNMENT)=>{const{scrollOffset:Fn}=unref(Ue);Xn=Math.max(0,Math.min(Xn,_e.total-1)),wn(j(_e,Xn,Zn,Fn,unref(Ne)))},Tn=Xn=>{const{direction:Zn,itemSize:Fn,layout:Yn}=_e,qn=Ve.value(pe&&Fn,pe&&Yn,pe&&Zn);let Vn;if(hasOwn$1(qn,String(Xn)))Vn=qn[Xn];else{const eo=ae(_e,Xn,unref(Ne)),ho=oe(_e,Xn,unref(Ne)),So=unref(vn),Ln=Zn===RTL,Rn=So?eo:0;qn[Xn]=Vn={position:"absolute",left:Ln?void 0:`${Rn}px`,right:Ln?`${Rn}px`:void 0,top:So?0:`${eo}px`,height:So?"100%":`${ho}px`,width:So?`${ho}px`:"100%"}}return Vn},In=()=>{Ue.value.isScrolling=!1,nextTick(()=>{Ve.value(-1,null,null)})},Bn=()=>{const Xn=Oe.value;Xn&&(Xn.scrollTop=0)};onMounted(()=>{if(!isClient)return;const{initScrollOffset:Xn}=_e,Zn=unref(Oe);isNumber$d(Xn)&&Zn&&(unref(vn)?Zn.scrollLeft=Xn:Zn.scrollTop=Xn),$n()}),onUpdated(()=>{const{direction:Xn,layout:Zn}=_e,{scrollOffset:Fn,updateRequested:Yn}=unref(Ue),qn=unref(Oe);if(Yn&&qn)if(Zn===HORIZONTAL)if(Xn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{qn.scrollLeft=-Fn;break}case RTL_OFFSET_POS_ASC:{qn.scrollLeft=Fn;break}default:{const{clientWidth:Vn,scrollWidth:eo}=qn;qn.scrollLeft=eo-Vn-Fn;break}}else qn.scrollLeft=Fn;else qn.scrollTop=Fn});const Dn={ns:$e,clientSize:kn,estimatedTotalSize:hn,windowStyle:bn,windowRef:Oe,innerRef:Fe,innerStyle:_n,itemsToRender:qe,scrollbarRef:ze,states:Ue,getItemStyle:Tn,onScroll:Nn,onScrollbarScroll:Sn,onWheel:xn,scrollTo:wn,scrollToItem:On,resetScrollTop:Bn};return Ce({windowRef:Oe,innerRef:Fe,getItemStyleCache:Ve,scrollTo:wn,scrollToItem:On,resetScrollTop:Bn,states:Ue}),Dn},render(_e){var xe;const{$slots:Ce,className:Ie,clientSize:$e,containerElement:Ne,data:Ve,getItemStyle:Oe,innerElement:Fe,itemsToRender:ze,innerStyle:Ue,layout:qe,total:hn,onScroll:vn,onScrollbarScroll:bn,onWheel:_n,states:kn,useIsScrolling:xn,windowStyle:$n,ns:Cn}=_e,[En,Nn]=ze,Sn=resolveDynamicComponent(Ne),wn=resolveDynamicComponent(Fe),On=[];if(hn>0)for(let Dn=En;Dn<=Nn;Dn++)On.push((xe=Ce.default)==null?void 0:xe.call(Ce,{data:Ve,key:Dn,index:Dn,isScrolling:xn?kn.isScrolling:void 0,style:Oe(Dn)}));const Tn=[h$2(wn,{style:Ue,ref:"innerRef"},isString$d(wn)?On:{default:()=>On})],In=h$2(ScrollBar,{ref:"scrollbarRef",clientSize:$e,layout:qe,onScroll:bn,ratio:$e*100/this.estimatedTotalSize,scrollFrom:kn.scrollOffset/(this.estimatedTotalSize-$e),total:hn}),Bn=h$2(Sn,{class:[Cn.e("window"),Ie],style:$n,onScroll:vn,onWheel:_n,ref:"windowRef",key:0},isString$d(Sn)?[Tn]:{default:()=>[Tn]});return h$2("div",{key:0,class:[Cn.e("wrapper"),kn.scrollbarAlwaysOn?"always-on":""]},[Bn,In])}}),FixedSizeList=createList({name:"ElFixedSizeList",getItemOffset:({itemSize:$},j)=>j*$,getItemSize:({itemSize:$})=>$,getEstimatedTotalSize:({total:$,itemSize:j})=>j*$,getOffset:({height:$,total:j,itemSize:oe,layout:ae,width:ie},le,de,ue)=>{const pe=isHorizontal(ae)?ie:$,he=Math.max(0,j*oe-pe),_e=Math.min(he,le*oe),xe=Math.max(0,(le+1)*oe-pe);switch(de===SMART_ALIGNMENT&&(ue>=xe-pe&&ue<=_e+pe?de=AUTO_ALIGNMENT:de=CENTERED_ALIGNMENT),de){case START_ALIGNMENT:return _e;case END_ALIGNMENT:return xe;case CENTERED_ALIGNMENT:{const Ce=Math.round(xe+(_e-xe)/2);return Cehe+Math.floor(pe/2)?he:Ce}case AUTO_ALIGNMENT:default:return ue>=xe&&ue<=_e?ue:ueMath.max(0,Math.min($-1,Math.floor(oe/j))),getStopIndexForStartIndex:({height:$,total:j,itemSize:oe,layout:ae,width:ie},le,de)=>{const ue=le*oe,pe=isHorizontal(ae)?ie:$,he=Math.ceil((pe+de-ue)/oe);return Math.max(0,Math.min(j-1,le+he-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=($,j,oe)=>{const{itemSize:ae}=$,{items:ie,lastVisitedIndex:le}=oe;if(j>le){let de=0;if(le>=0){const ue=ie[le];de=ue.offset+ue.size}for(let ue=le+1;ue<=j;ue++){const pe=ae(ue);ie[ue]={offset:de,size:pe},de+=pe}oe.lastVisitedIndex=j}return ie[j]},findItem$1=($,j,oe)=>{const{items:ae,lastVisitedIndex:ie}=j;return(ie>0?ae[ie].offset:0)>=oe?bs$1($,j,0,ie,oe):es$1($,j,Math.max(0,ie),oe)},bs$1=($,j,oe,ae,ie)=>{for(;oe<=ae;){const le=oe+Math.floor((ae-oe)/2),de=getItemFromCache$1($,le,j).offset;if(de===ie)return le;deie&&(ae=le-1)}return Math.max(0,oe-1)},es$1=($,j,oe,ae)=>{const{total:ie}=$;let le=1;for(;oe{let ie=0;if(ae>=$&&(ae=$-1),ae>=0){const ue=j[ae];ie=ue.offset+ue.size}const de=($-ae-1)*oe;return ie+de},DynamicSizeList=createList({name:"ElDynamicSizeList",getItemOffset:($,j,oe)=>getItemFromCache$1($,j,oe).offset,getItemSize:($,j,{items:oe})=>oe[j].size,getEstimatedTotalSize,getOffset:($,j,oe,ae,ie)=>{const{height:le,layout:de,width:ue}=$,pe=isHorizontal(de)?ue:le,he=getItemFromCache$1($,j,ie),_e=getEstimatedTotalSize($,ie),xe=Math.max(0,Math.min(_e-pe,he.offset)),Ce=Math.max(0,he.offset-pe+he.size);switch(oe===SMART_ALIGNMENT&&(ae>=Ce-pe&&ae<=xe+pe?oe=AUTO_ALIGNMENT:oe=CENTERED_ALIGNMENT),oe){case START_ALIGNMENT:return xe;case END_ALIGNMENT:return Ce;case CENTERED_ALIGNMENT:return Math.round(Ce+(xe-Ce)/2);case AUTO_ALIGNMENT:default:return ae>=Ce&&ae<=xe?ae:aefindItem$1($,oe,j),getStopIndexForStartIndex:($,j,oe,ae)=>{const{height:ie,total:le,layout:de,width:ue}=$,pe=isHorizontal(de)?ue:ie,he=getItemFromCache$1($,j,ae),_e=oe+pe;let xe=he.offset+he.size,Ce=j;for(;Ce{var le,de;oe.lastVisitedIndex=Math.min(oe.lastVisitedIndex,ae-1),(le=j.exposed)==null||le.getItemStyleCache(-1),ie&&((de=j.proxy)==null||de.$forceUpdate())},oe},clearCache:!1,validateProps:({itemSize:$})=>{}}),useGridWheel=({atXEndEdge:$,atXStartEdge:j,atYEndEdge:oe,atYStartEdge:ae},ie)=>{let le=null,de=0,ue=0;const pe=(_e,xe)=>{const Ce=_e<=0&&j.value||_e>=0&&$.value,Ie=xe<=0&&ae.value||xe>=0&&oe.value;return Ce&&Ie};return{hasReachedEdge:pe,onWheel:_e=>{cAF(le);let xe=_e.deltaX,Ce=_e.deltaY;Math.abs(xe)>Math.abs(Ce)?Ce=0:xe=0,_e.shiftKey&&Ce!==0&&(xe=Ce,Ce=0),!(pe(de,ue)&&pe(de+xe,ue+Ce))&&(de+=xe,ue+=Ce,_e.preventDefault(),le=rAF(()=>{ie(de,ue),de=0,ue=0}))}}},createGrid=({name:$,clearCache:j,getColumnPosition:oe,getColumnStartIndexForOffset:ae,getColumnStopIndexForStartIndex:ie,getEstimatedTotalHeight:le,getEstimatedTotalWidth:de,getColumnOffset:ue,getRowOffset:pe,getRowPosition:he,getRowStartIndexForOffset:_e,getRowStopIndexForStartIndex:xe,initCache:Ce,injectToInstance:Ie,validateProps:$e})=>defineComponent({name:$??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(Ne,{emit:Ve,expose:Oe,slots:Fe}){const ze=useNamespace("vl");$e(Ne);const Ue=getCurrentInstance(),qe=ref(Ce(Ne,Ue));Ie==null||Ie(Ue,qe);const hn=ref(),vn=ref(),bn=ref(),_n=ref(null),kn=ref({isScrolling:!1,scrollLeft:isNumber$d(Ne.initScrollLeft)?Ne.initScrollLeft:0,scrollTop:isNumber$d(Ne.initScrollTop)?Ne.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),xn=useCache(),$n=computed(()=>Number.parseInt(`${Ne.height}`,10)),Cn=computed(()=>Number.parseInt(`${Ne.width}`,10)),En=computed(()=>{const{totalColumn:Wn,totalRow:lo,columnCache:Qn}=Ne,{isScrolling:ro,xAxisScrollDir:Hn,scrollLeft:uo}=unref(kn);if(Wn===0||lo===0)return[0,0,0,0];const so=ae(Ne,uo,unref(qe)),yo=ie(Ne,so,uo,unref(qe)),to=!ro||Hn===BACKWARD?Math.max(1,Qn):1,go=!ro||Hn===FORWARD?Math.max(1,Qn):1;return[Math.max(0,so-to),Math.max(0,Math.min(Wn-1,yo+go)),so,yo]}),Nn=computed(()=>{const{totalColumn:Wn,totalRow:lo,rowCache:Qn}=Ne,{isScrolling:ro,yAxisScrollDir:Hn,scrollTop:uo}=unref(kn);if(Wn===0||lo===0)return[0,0,0,0];const so=_e(Ne,uo,unref(qe)),yo=xe(Ne,so,uo,unref(qe)),to=!ro||Hn===BACKWARD?Math.max(1,Qn):1,go=!ro||Hn===FORWARD?Math.max(1,Qn):1;return[Math.max(0,so-to),Math.max(0,Math.min(lo-1,yo+go)),so,yo]}),Sn=computed(()=>le(Ne,unref(qe))),wn=computed(()=>de(Ne,unref(qe))),On=computed(()=>{var Wn;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:Ne.direction,height:isNumber$d(Ne.height)?`${Ne.height}px`:Ne.height,width:isNumber$d(Ne.width)?`${Ne.width}px`:Ne.width},(Wn=Ne.style)!=null?Wn:{}]}),Tn=computed(()=>{const Wn=`${unref(wn)}px`;return{height:`${unref(Sn)}px`,pointerEvents:unref(kn).isScrolling?"none":void 0,width:Wn}}),In=()=>{const{totalColumn:Wn,totalRow:lo}=Ne;if(Wn>0&&lo>0){const[yo,to,go,_o]=unref(En),[To,Un,fo,vo]=unref(Nn);Ve(ITEM_RENDER_EVT,{columnCacheStart:yo,columnCacheEnd:to,rowCacheStart:To,rowCacheEnd:Un,columnVisibleStart:go,columnVisibleEnd:_o,rowVisibleStart:fo,rowVisibleEnd:vo})}const{scrollLeft:Qn,scrollTop:ro,updateRequested:Hn,xAxisScrollDir:uo,yAxisScrollDir:so}=unref(kn);Ve(SCROLL_EVT,{xAxisScrollDir:uo,scrollLeft:Qn,yAxisScrollDir:so,scrollTop:ro,updateRequested:Hn})},Bn=Wn=>{const{clientHeight:lo,clientWidth:Qn,scrollHeight:ro,scrollLeft:Hn,scrollTop:uo,scrollWidth:so}=Wn.currentTarget,yo=unref(kn);if(yo.scrollTop===uo&&yo.scrollLeft===Hn)return;let to=Hn;if(isRTL(Ne.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:to=-Hn;break;case RTL_OFFSET_POS_DESC:to=so-Qn-Hn;break}kn.value={...yo,isScrolling:!0,scrollLeft:to,scrollTop:Math.max(0,Math.min(uo,ro-lo)),updateRequested:!0,xAxisScrollDir:getScrollDir(yo.scrollLeft,to),yAxisScrollDir:getScrollDir(yo.scrollTop,uo)},nextTick(()=>Vn()),eo(),In()},Dn=(Wn,lo)=>{const Qn=unref($n),ro=(Sn.value-Qn)/lo*Wn;Fn({scrollTop:Math.min(Sn.value-Qn,ro)})},Xn=(Wn,lo)=>{const Qn=unref(Cn),ro=(wn.value-Qn)/lo*Wn;Fn({scrollLeft:Math.min(wn.value-Qn,ro)})},{onWheel:Zn}=useGridWheel({atXStartEdge:computed(()=>kn.value.scrollLeft<=0),atXEndEdge:computed(()=>kn.value.scrollLeft>=wn.value-unref(Cn)),atYStartEdge:computed(()=>kn.value.scrollTop<=0),atYEndEdge:computed(()=>kn.value.scrollTop>=Sn.value-unref($n))},(Wn,lo)=>{var Qn,ro,Hn,uo;(ro=(Qn=vn.value)==null?void 0:Qn.onMouseUp)==null||ro.call(Qn),(uo=(Hn=vn.value)==null?void 0:Hn.onMouseUp)==null||uo.call(Hn);const so=unref(Cn),yo=unref($n);Fn({scrollLeft:Math.min(kn.value.scrollLeft+Wn,wn.value-so),scrollTop:Math.min(kn.value.scrollTop+lo,Sn.value-yo)})}),Fn=({scrollLeft:Wn=kn.value.scrollLeft,scrollTop:lo=kn.value.scrollTop})=>{Wn=Math.max(Wn,0),lo=Math.max(lo,0);const Qn=unref(kn);lo===Qn.scrollTop&&Wn===Qn.scrollLeft||(kn.value={...Qn,xAxisScrollDir:getScrollDir(Qn.scrollLeft,Wn),yAxisScrollDir:getScrollDir(Qn.scrollTop,lo),scrollLeft:Wn,scrollTop:lo,updateRequested:!0},nextTick(()=>Vn()),eo(),In())},Yn=(Wn=0,lo=0,Qn=AUTO_ALIGNMENT)=>{const ro=unref(kn);lo=Math.max(0,Math.min(lo,Ne.totalColumn-1)),Wn=Math.max(0,Math.min(Wn,Ne.totalRow-1));const Hn=getScrollBarWidth(ze.namespace.value),uo=unref(qe),so=le(Ne,uo),yo=de(Ne,uo);Fn({scrollLeft:ue(Ne,lo,Qn,ro.scrollLeft,uo,yo>Ne.width?Hn:0),scrollTop:pe(Ne,Wn,Qn,ro.scrollTop,uo,so>Ne.height?Hn:0)})},qn=(Wn,lo)=>{const{columnWidth:Qn,direction:ro,rowHeight:Hn}=Ne,uo=xn.value(j&&Qn,j&&Hn,j&&ro),so=`${Wn},${lo}`;if(hasOwn$1(uo,so))return uo[so];{const[,yo]=oe(Ne,lo,unref(qe)),to=unref(qe),go=isRTL(ro),[_o,To]=he(Ne,Wn,to),[Un]=oe(Ne,lo,to);return uo[so]={position:"absolute",left:go?void 0:`${yo}px`,right:go?`${yo}px`:void 0,top:`${To}px`,height:`${_o}px`,width:`${Un}px`},uo[so]}},Vn=()=>{kn.value.isScrolling=!1,nextTick(()=>{xn.value(-1,null,null)})};onMounted(()=>{if(!isClient)return;const{initScrollLeft:Wn,initScrollTop:lo}=Ne,Qn=unref(hn);Qn&&(isNumber$d(Wn)&&(Qn.scrollLeft=Wn),isNumber$d(lo)&&(Qn.scrollTop=lo)),In()});const eo=()=>{const{direction:Wn}=Ne,{scrollLeft:lo,scrollTop:Qn,updateRequested:ro}=unref(kn),Hn=unref(hn);if(ro&&Hn){if(Wn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Hn.scrollLeft=-lo;break}case RTL_OFFSET_POS_ASC:{Hn.scrollLeft=lo;break}default:{const{clientWidth:uo,scrollWidth:so}=Hn;Hn.scrollLeft=so-uo-lo;break}}else Hn.scrollLeft=Math.max(0,lo);Hn.scrollTop=Math.max(0,Qn)}},{resetAfterColumnIndex:ho,resetAfterRowIndex:So,resetAfter:Ln}=Ue.proxy;Oe({windowRef:hn,innerRef:_n,getItemStyleCache:xn,scrollTo:Fn,scrollToItem:Yn,states:kn,resetAfterColumnIndex:ho,resetAfterRowIndex:So,resetAfter:Ln});const Rn=()=>{const{scrollbarAlwaysOn:Wn,scrollbarStartGap:lo,scrollbarEndGap:Qn,totalColumn:ro,totalRow:Hn}=Ne,uo=unref(Cn),so=unref($n),yo=unref(wn),to=unref(Sn),{scrollLeft:go,scrollTop:_o}=unref(kn),To=h$2(ScrollBar,{ref:vn,alwaysOn:Wn,startGap:lo,endGap:Qn,class:ze.e("horizontal"),clientSize:uo,layout:"horizontal",onScroll:Xn,ratio:uo*100/yo,scrollFrom:go/(yo-uo),total:Hn,visible:!0}),Un=h$2(ScrollBar,{ref:bn,alwaysOn:Wn,startGap:lo,endGap:Qn,class:ze.e("vertical"),clientSize:so,layout:"vertical",onScroll:Dn,ratio:so*100/to,scrollFrom:_o/(to-so),total:ro,visible:!0});return{horizontalScrollbar:To,verticalScrollbar:Un}},Gn=()=>{var Wn;const[lo,Qn]=unref(En),[ro,Hn]=unref(Nn),{data:uo,totalColumn:so,totalRow:yo,useIsScrolling:to,itemKey:go}=Ne,_o=[];if(yo>0&&so>0)for(let To=ro;To<=Hn;To++)for(let Un=lo;Un<=Qn;Un++)_o.push((Wn=Fe.default)==null?void 0:Wn.call(Fe,{columnIndex:Un,data:uo,key:go({columnIndex:Un,data:uo,rowIndex:To}),isScrolling:to?unref(kn).isScrolling:void 0,style:qn(To,Un),rowIndex:To}));return _o},no=()=>{const Wn=resolveDynamicComponent(Ne.innerElement),lo=Gn();return[h$2(Wn,{style:unref(Tn),ref:_n},isString$d(Wn)?lo:{default:()=>lo})]};return()=>{const Wn=resolveDynamicComponent(Ne.containerElement),{horizontalScrollbar:lo,verticalScrollbar:Qn}=Rn(),ro=no();return h$2("div",{key:0,class:ze.e("wrapper"),role:Ne.role},[h$2(Wn,{class:Ne.className,style:unref(On),onScroll:Bn,onWheel:Zn,ref:hn},isString$d(Wn)?ro:{default:()=>ro}),lo,Qn])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:$},j)=>[$,j*$],getRowPosition:({rowHeight:$},j)=>[$,j*$],getEstimatedTotalHeight:({totalRow:$,rowHeight:j})=>j*$,getEstimatedTotalWidth:({totalColumn:$,columnWidth:j})=>j*$,getColumnOffset:({totalColumn:$,columnWidth:j,width:oe},ae,ie,le,de,ue)=>{oe=Number(oe);const pe=Math.max(0,$*j-oe),he=Math.min(pe,ae*j),_e=Math.max(0,ae*j-oe+ue+j);switch(ie==="smart"&&(le>=_e-oe&&le<=he+oe?ie=AUTO_ALIGNMENT:ie=CENTERED_ALIGNMENT),ie){case START_ALIGNMENT:return he;case END_ALIGNMENT:return _e;case CENTERED_ALIGNMENT:{const xe=Math.round(_e+(he-_e)/2);return xepe+Math.floor(oe/2)?pe:xe}case AUTO_ALIGNMENT:default:return le>=_e&&le<=he?le:_e>he||le<_e?_e:he}},getRowOffset:({rowHeight:$,height:j,totalRow:oe},ae,ie,le,de,ue)=>{j=Number(j);const pe=Math.max(0,oe*$-j),he=Math.min(pe,ae*$),_e=Math.max(0,ae*$-j+ue+$);switch(ie===SMART_ALIGNMENT&&(le>=_e-j&&le<=he+j?ie=AUTO_ALIGNMENT:ie=CENTERED_ALIGNMENT),ie){case START_ALIGNMENT:return he;case END_ALIGNMENT:return _e;case CENTERED_ALIGNMENT:{const xe=Math.round(_e+(he-_e)/2);return xepe+Math.floor(j/2)?pe:xe}case AUTO_ALIGNMENT:default:return le>=_e&&le<=he?le:_e>he||le<_e?_e:he}},getColumnStartIndexForOffset:({columnWidth:$,totalColumn:j},oe)=>Math.max(0,Math.min(j-1,Math.floor(oe/$))),getColumnStopIndexForStartIndex:({columnWidth:$,totalColumn:j,width:oe},ae,ie)=>{const le=ae*$,de=Math.ceil((oe+ie-le)/$);return Math.max(0,Math.min(j-1,ae+de-1))},getRowStartIndexForOffset:({rowHeight:$,totalRow:j},oe)=>Math.max(0,Math.min(j-1,Math.floor(oe/$))),getRowStopIndexForStartIndex:({rowHeight:$,totalRow:j,height:oe},ae,ie)=>{const le=ae*$,de=Math.ceil((oe+ie-le)/$);return Math.max(0,Math.min(j-1,ae+de-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:$,rowHeight:j})=>{}}),{max:max$3,min:min$2,floor:floor$3}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=($,j,oe,ae)=>{const[ie,le,de]=[oe[ae],$[ACCESS_SIZER_KEY_MAP[ae]],oe[ACCESS_LAST_VISITED_KEY_MAP[ae]]];if(j>de){let ue=0;if(de>=0){const pe=ie[de];ue=pe.offset+pe.size}for(let pe=de+1;pe<=j;pe++){const he=le(pe);ie[pe]={offset:ue,size:he},ue+=he}oe[ACCESS_LAST_VISITED_KEY_MAP[ae]]=j}return ie[j]},bs=($,j,oe,ae,ie,le)=>{for(;oe<=ae;){const de=oe+floor$3((ae-oe)/2),ue=getItemFromCache($,de,j,le).offset;if(ue===ie)return de;ue{const le=ie==="column"?$.totalColumn:$.totalRow;let de=1;for(;oe{const[ie,le]=[j[ae],j[ACCESS_LAST_VISITED_KEY_MAP[ae]]];return(le>0?ie[le].offset:0)>=oe?bs($,j,0,le,oe,ae):es($,j,max$3(0,le),oe,ae)},getEstimatedTotalHeight=({totalRow:$},{estimatedRowHeight:j,lastVisitedRowIndex:oe,row:ae})=>{let ie=0;if(oe>=$&&(oe=$-1),oe>=0){const ue=ae[oe];ie=ue.offset+ue.size}const de=($-oe-1)*j;return ie+de},getEstimatedTotalWidth=({totalColumn:$},{column:j,estimatedColumnWidth:oe,lastVisitedColumnIndex:ae})=>{let ie=0;if(ae>$&&(ae=$-1),ae>=0){const ue=j[ae];ie=ue.offset+ue.size}const de=($-ae-1)*oe;return ie+de},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=($,j,oe,ae,ie,le,de)=>{const[ue,pe]=[le==="row"?$.height:$.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[le]],he=getItemFromCache($,j,ie,le),_e=pe($,ie),xe=max$3(0,min$2(_e-ue,he.offset)),Ce=max$3(0,he.offset-ue+de+he.size);switch(oe===SMART_ALIGNMENT&&(ae>=Ce-ue&&ae<=xe+ue?oe=AUTO_ALIGNMENT:oe=CENTERED_ALIGNMENT),oe){case START_ALIGNMENT:return xe;case END_ALIGNMENT:return Ce;case CENTERED_ALIGNMENT:return Math.round(Ce+(xe-Ce)/2);case AUTO_ALIGNMENT:default:return ae>=Ce&&ae<=xe?ae:Ce>xe||ae{const ae=getItemFromCache($,j,oe,"column");return[ae.size,ae.offset]},getRowPosition:($,j,oe)=>{const ae=getItemFromCache($,j,oe,"row");return[ae.size,ae.offset]},getColumnOffset:($,j,oe,ae,ie,le)=>getOffset$1($,j,oe,ae,ie,"column",le),getRowOffset:($,j,oe,ae,ie,le)=>getOffset$1($,j,oe,ae,ie,"row",le),getColumnStartIndexForOffset:($,j,oe)=>findItem($,oe,j,"column"),getColumnStopIndexForStartIndex:($,j,oe,ae)=>{const ie=getItemFromCache($,j,ae,"column"),le=oe+$.width;let de=ie.offset+ie.size,ue=j;for(;ue<$.totalColumn-1&&defindItem($,oe,j,"row"),getRowStopIndexForStartIndex:($,j,oe,ae)=>{const{totalRow:ie,height:le}=$,de=getItemFromCache($,j,ae,"row"),ue=oe+le;let pe=de.size+de.offset,he=j;for(;he{const oe=({columnIndex:le,rowIndex:de},ue)=>{var pe,he;ue=isUndefined$c(ue)?!0:ue,isNumber$d(le)&&(j.value.lastVisitedColumnIndex=Math.min(j.value.lastVisitedColumnIndex,le-1)),isNumber$d(de)&&(j.value.lastVisitedRowIndex=Math.min(j.value.lastVisitedRowIndex,de-1)),(pe=$.exposed)==null||pe.getItemStyleCache.value(-1,null,null),ue&&((he=$.proxy)==null||he.$forceUpdate())},ae=(le,de)=>{oe({columnIndex:le},de)},ie=(le,de)=>{oe({rowIndex:le},de)};Object.assign($.proxy,{resetAfterColumnIndex:ae,resetAfterRowIndex:ie,resetAfter:oe})},initCache:({estimatedColumnWidth:$=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:j=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:$,estimatedRowHeight:j,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:$,rowHeight:j})=>{}}),_sfc_main$K=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$7($,j,oe,ae,ie,le){return $.item.isTitle?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass($.ns.be("group","title")),style:normalizeStyle([$.style,{lineHeight:`${$.height}px`}])},toDisplayString$1($.item.label),7)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass($.ns.be("group","split")),style:normalizeStyle($.style)},[createBaseVNode("span",{class:normalizeClass($.ns.be("group","split-dash")),style:normalizeStyle({top:`${$.height/2}px`})},null,6)],6))}var GroupItem=_export_sfc$1(_sfc_main$K,[["render",_sfc_render$7],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function useOption($,{emit:j}){return{hoverItem:()=>{$.disabled||j("hover",$.index)},selectOptionClick:()=>{$.disabled||j("select",$.item,$.index)}}}const SelectProps={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object],default:circle_close_default},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:[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:Array,required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String,validator:isValidComponentSize},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"}},OptionProps={data:Array,disabled:Boolean,hovering:Boolean,item:Object,index:Number,style:Object,selected:Boolean,created:Boolean},_sfc_main$J=defineComponent({props:OptionProps,emits:["select","hover"],setup($,{emit:j}){const oe=useNamespace("select"),{hoverItem:ae,selectOptionClick:ie}=useOption($,{emit:j});return{ns:oe,hoverItem:ae,selectOptionClick:ie}}}),_hoisted_1$m=["aria-selected"];function _sfc_render$6($,j,oe,ae,ie,le){return openBlock(),createElementBlock("li",{"aria-selected":$.selected,style:normalizeStyle($.style),class:normalizeClass([$.ns.be("dropdown","option-item"),$.ns.is("selected",$.selected),$.ns.is("disabled",$.disabled),$.ns.is("created",$.created),{hover:$.hovering}]),onMouseenter:j[0]||(j[0]=(...de)=>$.hoverItem&&$.hoverItem(...de)),onClick:j[1]||(j[1]=withModifiers((...de)=>$.selectOptionClick&&$.selectOptionClick(...de),["stop"]))},[renderSlot($.$slots,"default",{item:$.item,index:$.index,disabled:$.disabled},()=>[createBaseVNode("span",null,toDisplayString$1($.item.label),1)])],46,_hoisted_1$m)}var OptionItem=_export_sfc$1(_sfc_main$J,[["render",_sfc_render$6],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]);const selectV2InjectionKey=Symbol("ElSelectV2Injection");var ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup($,{slots:j,expose:oe}){const ae=inject(selectV2InjectionKey),ie=useNamespace("select"),le=ref([]),de=ref(),ue=computed(()=>$.data.length);watch(()=>ue.value,()=>{var bn,_n;(_n=(bn=ae.popper.value).updatePopper)==null||_n.call(bn)});const pe=computed(()=>isUndefined$c(ae.props.estimatedOptionHeight)),he=computed(()=>pe.value?{itemSize:ae.props.itemHeight}:{estimatedSize:ae.props.estimatedOptionHeight,itemSize:bn=>le.value[bn]}),_e=(bn=[],_n)=>{const{props:{valueKey:kn}}=ae;return isObject$8(_n)?bn&&bn.some(xn=>get$6(xn,kn)===get$6(_n,kn)):bn.includes(_n)},xe=(bn,_n)=>{if(isObject$8(_n)){const{valueKey:kn}=ae.props;return get$6(bn,kn)===get$6(_n,kn)}else return bn===_n},Ce=(bn,_n)=>{const{valueKey:kn}=ae.props;return ae.props.multiple?_e(bn,get$6(_n,kn)):xe(bn,get$6(_n,kn))},Ie=(bn,_n)=>{const{disabled:kn,multiple:xn,multipleLimit:$n}=ae.props;return kn||!_n&&(xn?$n>0&&bn.length>=$n:!1)},$e=bn=>$.hoveringIndex===bn;oe({listRef:de,isSized:pe,isItemDisabled:Ie,isItemHovering:$e,isItemSelected:Ce,scrollToItem:bn=>{const _n=de.value;_n&&_n.scrollToItem(bn)},resetScrollTop:()=>{const bn=de.value;bn&&bn.resetScrollTop()}});const Oe=bn=>{const{index:_n,data:kn,style:xn}=bn,$n=unref(pe),{itemSize:Cn,estimatedSize:En}=unref(he),{modelValue:Nn}=ae.props,{onSelect:Sn,onHover:wn}=ae,On=kn[_n];if(On.type==="Group")return createVNode(GroupItem,{item:On,style:xn,height:$n?Cn:En},null);const Tn=Ce(Nn,On),In=Ie(Nn,Tn),Bn=$e(_n);return createVNode(OptionItem,mergeProps(bn,{selected:Tn,disabled:On.disabled||In,created:!!On.created,hovering:Bn,item:On,onSelect:Sn,onHover:wn}),{default:Dn=>{var Xn;return((Xn=j.default)==null?void 0:Xn.call(j,Dn))||createVNode("span",null,[On.label])}})},{onKeyboardNavigate:Fe,onKeyboardSelect:ze}=ae,Ue=()=>{Fe("forward")},qe=()=>{Fe("backward")},hn=()=>{ae.expanded=!1},vn=bn=>{const{code:_n}=bn,{tab:kn,esc:xn,down:$n,up:Cn,enter:En}=EVENT_CODE;switch(_n!==kn&&(bn.preventDefault(),bn.stopPropagation()),_n){case kn:case xn:{hn();break}case $n:{Ue();break}case Cn:{qe();break}case En:{ze();break}}};return()=>{var bn;const{data:_n,width:kn}=$,{height:xn,multiple:$n,scrollbarAlwaysOn:Cn}=ae.props;if(_n.length===0)return createVNode("div",{class:ie.b("dropdown"),style:{width:`${kn}px`}},[(bn=j.empty)==null?void 0:bn.call(j)]);const En=unref(pe)?FixedSizeList:DynamicSizeList;return createVNode("div",{class:[ie.b("dropdown"),ie.is("multiple",$n)]},[createVNode(En,mergeProps({ref:de},unref(he),{className:ie.be("dropdown","list"),scrollbarAlwaysOn:Cn,data:_n,height:xn,width:kn,total:_n.length,onKeydown:vn}),{default:Nn=>createVNode(Oe,Nn,null)})])}}});function useAllowCreate($,j){const oe=ref(0),ae=ref(null),ie=computed(()=>$.allowCreate&&$.filterable);function le(_e){const xe=Ce=>Ce.value===_e;return $.options&&$.options.some(xe)||j.createdOptions.some(xe)}function de(_e){ie.value&&($.multiple&&_e.created?oe.value++:ae.value=_e)}function ue(_e){if(ie.value)if(_e&&_e.length>0&&!le(_e)){const xe={value:_e,label:_e,created:!0,disabled:!1};j.createdOptions.length>=oe.value?j.createdOptions[oe.value]=xe:j.createdOptions.push(xe)}else if($.multiple)j.createdOptions.length=oe.value;else{const xe=ae.value;j.createdOptions.length=0,xe&&xe.created&&j.createdOptions.push(xe)}}function pe(_e){if(!ie.value||!_e||!_e.created||_e.created&&$.reserveKeyword&&j.inputValue===_e.label)return;const xe=j.createdOptions.findIndex(Ce=>Ce.value===_e.value);~xe&&(j.createdOptions.splice(xe,1),oe.value--)}function he(){ie.value&&(j.createdOptions.length=0,oe.value=0)}return{createNewOption:ue,removeNewOption:pe,selectNewOption:de,clearAllNewOption:he}}const flattenOptions=$=>{const j=[];return $.forEach(oe=>{isArray$x(oe.options)?(j.push({label:oe.label,isTitle:!0,type:"Group"}),oe.options.forEach(ae=>{j.push(ae)}),j.push({type:"Group"})):j.push(oe)}),j};function useInput($){const j=ref(!1);return{handleCompositionStart:()=>{j.value=!0},handleCompositionUpdate:le=>{const de=le.target.value,ue=de[de.length-1]||"";j.value=!isKorean(ue)},handleCompositionEnd:le=>{j.value&&(j.value=!1,isFunction$h($)&&$(le))}}}const DEFAULT_INPUT_PLACEHOLDER="",MINIMUM_INPUT_WIDTH=11,TAG_BASE_WIDTH={larget:51,default:42,small:33},useSelect$1=($,j)=>{const{t:oe}=useLocale(),ae=useNamespace("select-v2"),ie=useNamespace("input"),{form:le,formItem:de}=useFormItem(),ue=reactive({inputValue:DEFAULT_INPUT_PLACEHOLDER,displayInputValue:DEFAULT_INPUT_PLACEHOLDER,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:void 0,query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),pe=ref(-1),he=ref(-1),_e=ref(null),xe=ref(null),Ce=ref(null),Ie=ref(null),$e=ref(null),Ne=ref(null),Ve=ref(null),Oe=ref(!1),Fe=computed(()=>$.disabled||(le==null?void 0:le.disabled)),ze=computed(()=>{const Lo=$n.value.length*34;return Lo>$.height?$.height:Lo}),Ue=computed(()=>!isNil($.modelValue)),qe=computed(()=>{const Lo=$.multiple?Array.isArray($.modelValue)&&$.modelValue.length>0:Ue.value;return $.clearable&&!Fe.value&&ue.comboBoxHovering&&Lo}),hn=computed(()=>$.remote&&$.filterable?"":arrow_up_default),vn=computed(()=>hn.value&&ae.is("reverse",Oe.value)),bn=computed(()=>(de==null?void 0:de.validateState)||""),_n=computed(()=>ValidateComponentsMap[bn.value]),kn=computed(()=>$.remote?300:0),xn=computed(()=>{const Lo=$n.value;return $.loading?$.loadingText||oe("el.select.loading"):$.remote&&ue.inputValue===""&&Lo.length===0?!1:$.filterable&&ue.inputValue&&Lo.length>0?$.noMatchText||oe("el.select.noMatch"):Lo.length===0?$.noDataText||oe("el.select.noData"):null}),$n=computed(()=>{const Lo=Wo=>{const ra=ue.inputValue,pa=new RegExp(escapeStringRegexp(ra),"i");return ra?pa.test(Wo.label||""):!0};return $.loading?[]:flattenOptions($.options.concat(ue.createdOptions).map(Wo=>{if(isArray$x(Wo.options)){const ra=Wo.options.filter(Lo);if(ra.length>0)return{...Wo,options:ra}}else if($.remote||Lo(Wo))return Wo;return null}).filter(Wo=>Wo!==null))}),Cn=computed(()=>$n.value.every(Lo=>Lo.disabled)),En=useFormSize(),Nn=computed(()=>En.value==="small"?"small":"default"),Sn=computed(()=>{const Lo=Ne.value,Wo=Nn.value||"default",ra=Lo?Number.parseInt(getComputedStyle(Lo).paddingLeft):0,pa=Lo?Number.parseInt(getComputedStyle(Lo).paddingRight):0;return ue.selectWidth-pa-ra-TAG_BASE_WIDTH[Wo]}),wn=()=>{var Lo;he.value=((Lo=$e.value)==null?void 0:Lo.offsetWidth)||200},On=computed(()=>({width:`${ue.calculatedWidth===0?MINIMUM_INPUT_WIDTH:Math.ceil(ue.calculatedWidth)+MINIMUM_INPUT_WIDTH}px`})),Tn=computed(()=>isArray$x($.modelValue)?$.modelValue.length===0&&!ue.displayInputValue:$.filterable?ue.displayInputValue.length===0:!0),In=computed(()=>{const Lo=$.placeholder||oe("el.select.placeholder");return $.multiple||isNil($.modelValue)?Lo:ue.selectedLabel}),Bn=computed(()=>{var Lo,Wo;return(Wo=(Lo=Ie.value)==null?void 0:Lo.popperRef)==null?void 0:Wo.contentRef}),Dn=computed(()=>{if($.multiple){const Lo=$.modelValue.length;if($.modelValue.length>0)return $n.value.findIndex(Wo=>Wo.value===$.modelValue[Lo-1])}else if($.modelValue)return $n.value.findIndex(Lo=>Lo.value===$.modelValue);return-1}),Xn=computed({get(){return Oe.value&&xn.value!==!1},set(Lo){Oe.value=Lo}}),Zn=computed(()=>ue.cachedOptions.slice(0,$.maxCollapseTags)),Fn=computed(()=>ue.cachedOptions.slice($.maxCollapseTags)),{createNewOption:Yn,removeNewOption:qn,selectNewOption:Vn,clearAllNewOption:eo}=useAllowCreate($,ue),{handleCompositionStart:ho,handleCompositionUpdate:So,handleCompositionEnd:Ln}=useInput(Lo=>zo(Lo)),Rn=()=>{var Lo,Wo,ra;(Wo=(Lo=xe.value)==null?void 0:Lo.focus)==null||Wo.call(Lo),(ra=Ie.value)==null||ra.updatePopper()},Gn=()=>{if(!$.automaticDropdown&&!Fe.value)return ue.isComposing&&(ue.softFocus=!0),nextTick(()=>{var Lo,Wo;Oe.value=!Oe.value,(Wo=(Lo=xe.value)==null?void 0:Lo.focus)==null||Wo.call(Lo)})},no=()=>($.filterable&&ue.inputValue!==ue.selectedLabel&&(ue.query=ue.selectedLabel),Wn(ue.inputValue),nextTick(()=>{Yn(ue.inputValue)})),bo=debounce$2(no,kn.value),Wn=Lo=>{ue.previousQuery!==Lo&&(ue.previousQuery=Lo,$.filterable&&isFunction$h($.filterMethod)?$.filterMethod(Lo):$.filterable&&$.remote&&isFunction$h($.remoteMethod)&&$.remoteMethod(Lo))},lo=Lo=>{isEqual$4($.modelValue,Lo)||j(CHANGE_EVENT,Lo)},Qn=Lo=>{j(UPDATE_MODEL_EVENT,Lo),lo(Lo),ue.previousValue=Lo==null?void 0:Lo.toString()},ro=(Lo=[],Wo)=>{if(!isObject$8(Wo))return Lo.indexOf(Wo);const ra=$.valueKey;let pa=-1;return Lo.some((aa,Ha)=>get$6(aa,ra)===get$6(Wo,ra)?(pa=Ha,!0):!1),pa},Hn=Lo=>isObject$8(Lo)?get$6(Lo,$.valueKey):Lo,uo=Lo=>isObject$8(Lo)?Lo.label:Lo,so=()=>nextTick(()=>{var Lo,Wo;if(!xe.value)return;const ra=Ne.value;$e.value.height=ra.offsetHeight,Oe.value&&xn.value!==!1&&((Wo=(Lo=Ie.value)==null?void 0:Lo.updatePopper)==null||Wo.call(Lo))}),yo=()=>{var Lo,Wo;if(to(),wn(),(Wo=(Lo=Ie.value)==null?void 0:Lo.updatePopper)==null||Wo.call(Lo),$.multiple)return so()},to=()=>{const Lo=Ne.value;Lo&&(ue.selectWidth=Lo.getBoundingClientRect().width)},go=(Lo,Wo,ra=!0)=>{var pa,aa;if($.multiple){let Ha=$.modelValue.slice();const Ja=ro(Ha,Hn(Lo));Ja>-1?(Ha=[...Ha.slice(0,Ja),...Ha.slice(Ja+1)],ue.cachedOptions.splice(Ja,1),qn(Lo)):($.multipleLimit<=0||Ha.length<$.multipleLimit)&&(Ha=[...Ha,Hn(Lo)],ue.cachedOptions.push(Lo),Vn(Lo),jo(Wo)),Qn(Ha),Lo.created&&(ue.query="",Wn(""),ue.inputLength=20),$.filterable&&!$.reserveKeyword&&((aa=(pa=xe.value).focus)==null||aa.call(pa),co("")),$.filterable&&(ue.calculatedWidth=Ve.value.getBoundingClientRect().width),so(),Kn()}else pe.value=Wo,ue.selectedLabel=Lo.label,Qn(Hn(Lo)),Oe.value=!1,ue.isComposing=!1,ue.isSilentBlur=ra,Vn(Lo),Lo.created||eo(),jo(Wo)},_o=(Lo,Wo)=>{const{valueKey:ra}=$,pa=$.modelValue.indexOf(get$6(Wo,ra));if(pa>-1&&!Fe.value){const aa=[...$.modelValue.slice(0,pa),...$.modelValue.slice(pa+1)];return ue.cachedOptions.splice(pa,1),Qn(aa),j("remove-tag",get$6(Wo,ra)),ue.softFocus=!0,qn(Wo),nextTick(Rn)}Lo.stopPropagation()},To=Lo=>{const Wo=ue.isComposing;ue.isComposing=!0,ue.softFocus?ue.softFocus=!1:Wo||j("focus",Lo)},Un=Lo=>(ue.softFocus=!1,nextTick(()=>{var Wo,ra;(ra=(Wo=xe.value)==null?void 0:Wo.blur)==null||ra.call(Wo),Ve.value&&(ue.calculatedWidth=Ve.value.getBoundingClientRect().width),ue.isSilentBlur?ue.isSilentBlur=!1:ue.isComposing&&j("blur",Lo),ue.isComposing=!1})),fo=()=>{ue.displayInputValue.length>0?co(""):Oe.value=!1},vo=Lo=>{if(ue.displayInputValue.length===0){Lo.preventDefault();const Wo=$.modelValue.slice();Wo.pop(),qn(ue.cachedOptions.pop()),Qn(Wo)}},Jn=()=>{let Lo;return isArray$x($.modelValue)?Lo=[]:Lo=void 0,ue.softFocus=!0,$.multiple?ue.cachedOptions=[]:ue.selectedLabel="",Oe.value=!1,Qn(Lo),j("clear"),eo(),nextTick(Rn)},co=Lo=>{ue.displayInputValue=Lo,ue.inputValue=Lo},$o=(Lo,Wo=void 0)=>{const ra=$n.value;if(!["forward","backward"].includes(Lo)||Fe.value||ra.length<=0||Cn.value)return;if(!Oe.value)return Gn();Wo===void 0&&(Wo=ue.hoveringIndex);let pa=-1;Lo==="forward"?(pa=Wo+1,pa>=ra.length&&(pa=0)):Lo==="backward"&&(pa=Wo-1,(pa<0||pa>=ra.length)&&(pa=ra.length-1));const aa=ra[pa];if(aa.disabled||aa.type==="Group")return $o(Lo,pa);jo(pa),Qo(pa)},No=()=>{if(Oe.value)~ue.hoveringIndex&&$n.value[ue.hoveringIndex]&&go($n.value[ue.hoveringIndex],ue.hoveringIndex,!1);else return Gn()},jo=Lo=>{ue.hoveringIndex=Lo},wo=()=>{ue.hoveringIndex=-1},Kn=()=>{var Lo;const Wo=xe.value;Wo&&((Lo=Wo.focus)==null||Lo.call(Wo))},zo=Lo=>{const Wo=Lo.target.value;if(co(Wo),ue.displayInputValue.length>0&&!Oe.value&&(Oe.value=!0),ue.calculatedWidth=Ve.value.getBoundingClientRect().width,$.multiple&&so(),$.remote)bo();else return no()},Ro=()=>(Oe.value=!1,Un()),Yo=()=>(ue.inputValue=ue.displayInputValue,nextTick(()=>{~Dn.value&&(jo(Dn.value),Qo(ue.hoveringIndex))})),Qo=Lo=>{Ce.value.scrollToItem(Lo)},da=()=>{if(wo(),$.multiple)if($.modelValue.length>0){let Lo=!1;ue.cachedOptions.length=0,ue.previousValue=$.modelValue.toString(),$.modelValue.forEach(Wo=>{const ra=$n.value.findIndex(pa=>Hn(pa)===Wo);~ra&&(ue.cachedOptions.push($n.value[ra]),Lo||jo(ra),Lo=!0)})}else ue.cachedOptions=[],ue.previousValue=void 0;else if(Ue.value){ue.previousValue=$.modelValue;const Lo=$n.value,Wo=Lo.findIndex(ra=>Hn(ra)===Hn($.modelValue));~Wo?(ue.selectedLabel=Lo[Wo].label,jo(Wo)):ue.selectedLabel=`${$.modelValue}`}else ue.selectedLabel="",ue.previousValue=void 0;eo(),wn()};return watch(Oe,Lo=>{var Wo,ra;j("visible-change",Lo),Lo?(ra=(Wo=Ie.value).update)==null||ra.call(Wo):(ue.displayInputValue="",ue.previousQuery=null,Yn(""))}),watch(()=>$.modelValue,(Lo,Wo)=>{var ra;(!Lo||Lo.toString()!==ue.previousValue)&&da(),!isEqual$4(Lo,Wo)&&$.validateEvent&&((ra=de==null?void 0:de.validate)==null||ra.call(de,"change").catch(pa=>void 0))},{deep:!0}),watch(()=>$.options,()=>{const Lo=xe.value;(!Lo||Lo&&document.activeElement!==Lo)&&da()},{deep:!0}),watch($n,()=>nextTick(Ce.value.resetScrollTop)),watch(()=>Xn.value,Lo=>{Lo||wo()}),onMounted(()=>{da()}),useResizeObserver($e,yo),{collapseTagSize:Nn,currentPlaceholder:In,expanded:Oe,emptyText:xn,popupHeight:ze,debounce:kn,filteredOptions:$n,iconComponent:hn,iconReverse:vn,inputWrapperStyle:On,popperSize:he,dropdownMenuVisible:Xn,hasModelValue:Ue,shouldShowPlaceholder:Tn,selectDisabled:Fe,selectSize:En,showClearBtn:qe,states:ue,tagMaxWidth:Sn,nsSelectV2:ae,nsInput:ie,calculatorRef:Ve,controlRef:_e,inputRef:xe,menuRef:Ce,popper:Ie,selectRef:$e,selectionRef:Ne,popperRef:Bn,validateState:bn,validateIcon:_n,showTagList:Zn,collapseTagList:Fn,debouncedOnInputChange:bo,deleteTag:_o,getLabel:uo,getValueKey:Hn,handleBlur:Un,handleClear:Jn,handleClickOutside:Ro,handleDel:vo,handleEsc:fo,handleFocus:To,handleMenuEnter:Yo,handleResize:yo,toggleMenu:Gn,scrollTo:Qo,onInput:zo,onKeyboardNavigate:$o,onKeyboardSelect:No,onSelect:go,onHover:jo,onUpdateInputValue:co,handleCompositionStart:ho,handleCompositionEnd:Ln,handleCompositionUpdate:So}},_sfc_main$I=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside,ModelText:vModelText},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup($,{emit:j}){const oe=computed(()=>{const{modelValue:ie,multiple:le}=$,de=le?[]:void 0;return isArray$x(ie)?le?ie:de:le?de:ie}),ae=useSelect$1(reactive({...toRefs($),modelValue:oe}),j);return provide(selectV2InjectionKey,{props:reactive({...toRefs($),height:ae.popupHeight,modelValue:oe}),popper:ae.popper,onSelect:ae.onSelect,onHover:ae.onHover,onKeyboardNavigate:ae.onKeyboardNavigate,onKeyboardSelect:ae.onKeyboardSelect}),{...ae,modelValue:oe}}}),_hoisted_1$l={key:0},_hoisted_2$e=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],_hoisted_3$8=["textContent"],_hoisted_4$6=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],_hoisted_5$4=["textContent"];function _sfc_render$5($,j,oe,ae,ie,le){const de=resolveComponent("el-tag"),ue=resolveComponent("el-tooltip"),pe=resolveComponent("el-icon"),he=resolveComponent("el-select-menu"),_e=resolveDirective("model-text"),xe=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([$.nsSelectV2.b(),$.nsSelectV2.m($.selectSize)]),onClick:j[24]||(j[24]=withModifiers((...Ce)=>$.toggleMenu&&$.toggleMenu(...Ce),["stop"])),onMouseenter:j[25]||(j[25]=Ce=>$.states.comboBoxHovering=!0),onMouseleave:j[26]||(j[26]=Ce=>$.states.comboBoxHovering=!1)},[createVNode(ue,{ref:"popper",visible:$.dropdownMenuVisible,teleported:$.teleported,"popper-class":[$.nsSelectV2.e("popper"),$.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":$.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:$.effect,placement:$.placement,pure:"",transition:`${$.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:$.persistent,onBeforeShow:$.handleMenuEnter,onHide:j[23]||(j[23]=Ce=>$.states.inputValue=$.states.displayInputValue)},{default:withCtx(()=>[createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([$.nsSelectV2.e("wrapper"),$.nsSelectV2.is("focused",$.states.isComposing||$.expanded),$.nsSelectV2.is("hovering",$.states.comboBoxHovering),$.nsSelectV2.is("filterable",$.filterable),$.nsSelectV2.is("disabled",$.selectDisabled)])},[$.$slots.prefix?(openBlock(),createElementBlock("div",_hoisted_1$l,[renderSlot($.$slots,"prefix")])):createCommentVNode("v-if",!0),$.multiple?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass($.nsSelectV2.e("selection"))},[$.collapseTags&&$.modelValue.length>0?(openBlock(),createElementBlock(Fragment,{key:0},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.showTagList,Ce=>(openBlock(),createElementBlock("div",{key:$.getValueKey(Ce),class:normalizeClass($.nsSelectV2.e("selected-item"))},[createVNode(de,{closable:!$.selectDisabled&&!(Ce!=null&&Ce.disable),size:$.collapseTagSize,type:"info","disable-transitions":"",onClose:Ie=>$.deleteTag(Ie,Ce)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${$.tagMaxWidth}px`})},toDisplayString$1(Ce==null?void 0:Ce.label),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass($.nsSelectV2.e("selected-item"))},[$.modelValue.length>$.maxCollapseTags?(openBlock(),createBlock(de,{key:0,closable:!1,size:$.collapseTagSize,type:"info","disable-transitions":""},{default:withCtx(()=>[$.collapseTagsTooltip?(openBlock(),createBlock(ue,{key:0,disabled:$.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:$.effect,placement:"bottom",teleported:!1},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${$.tagMaxWidth}px`})},"+ "+toDisplayString$1($.modelValue.length-$.maxCollapseTags),7)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass($.nsSelectV2.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.collapseTagList,Ce=>(openBlock(),createElementBlock("div",{key:$.getValueKey(Ce),class:normalizeClass($.nsSelectV2.e("selected-item"))},[createVNode(de,{closable:!$.selectDisabled&&!Ce.disabled,size:$.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:Ie=>$.deleteTag(Ie,Ce)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${$.tagMaxWidth}px`})},toDisplayString$1($.getLabel(Ce)),7)]),_:2},1032,["closable","size","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${$.tagMaxWidth}px`})},"+ "+toDisplayString$1($.modelValue.length-$.maxCollapseTags),7))]),_:1},8,["size"])):createCommentVNode("v-if",!0)],2)],64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList($.states.cachedOptions,Ce=>(openBlock(),createElementBlock("div",{key:$.getValueKey(Ce),class:normalizeClass($.nsSelectV2.e("selected-item"))},[createVNode(de,{closable:!$.selectDisabled&&!Ce.disabled,size:$.collapseTagSize,type:"info","disable-transitions":"",onClose:Ie=>$.deleteTag(Ie,Ce)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("tags-text")),style:normalizeStyle({maxWidth:`${$.tagMaxWidth}px`})},toDisplayString$1($.getLabel(Ce)),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),createBaseVNode("div",{class:normalizeClass([$.nsSelectV2.e("selected-item"),$.nsSelectV2.e("input-wrapper")]),style:normalizeStyle($.inputWrapperStyle)},[withDirectives(createBaseVNode("input",{id:$.id,ref:"inputRef",autocomplete:$.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":$.expanded,"aria-labelledby":$.label,class:normalizeClass([$.nsSelectV2.is($.selectSize),$.nsSelectV2.e("combobox-input")]),disabled:$.disabled,role:"combobox",readonly:!$.filterable,spellcheck:"false",type:"text",name:$.name,unselectable:$.expanded?"on":void 0,"onUpdate:modelValue":j[0]||(j[0]=(...Ce)=>$.onUpdateInputValue&&$.onUpdateInputValue(...Ce)),onFocus:j[1]||(j[1]=(...Ce)=>$.handleFocus&&$.handleFocus(...Ce)),onBlur:j[2]||(j[2]=(...Ce)=>$.handleBlur&&$.handleBlur(...Ce)),onInput:j[3]||(j[3]=(...Ce)=>$.onInput&&$.onInput(...Ce)),onCompositionstart:j[4]||(j[4]=(...Ce)=>$.handleCompositionStart&&$.handleCompositionStart(...Ce)),onCompositionupdate:j[5]||(j[5]=(...Ce)=>$.handleCompositionUpdate&&$.handleCompositionUpdate(...Ce)),onCompositionend:j[6]||(j[6]=(...Ce)=>$.handleCompositionEnd&&$.handleCompositionEnd(...Ce)),onKeydown:[j[7]||(j[7]=withKeys(withModifiers(Ce=>$.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),j[8]||(j[8]=withKeys(withModifiers(Ce=>$.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),j[9]||(j[9]=withKeys(withModifiers((...Ce)=>$.onKeyboardSelect&&$.onKeyboardSelect(...Ce),["stop","prevent"]),["enter"])),j[10]||(j[10]=withKeys(withModifiers((...Ce)=>$.handleEsc&&$.handleEsc(...Ce),["stop","prevent"]),["esc"])),j[11]||(j[11]=withKeys(withModifiers((...Ce)=>$.handleDel&&$.handleDel(...Ce),["stop"]),["delete"]))]},null,42,_hoisted_2$e),[[_e,$.states.displayInputValue]]),$.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass($.nsSelectV2.e("input-calculator")),textContent:toDisplayString$1($.states.displayInputValue)},null,10,_hoisted_3$8)):createCommentVNode("v-if",!0)],6)],2)):(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",{class:normalizeClass([$.nsSelectV2.e("selected-item"),$.nsSelectV2.e("input-wrapper")])},[withDirectives(createBaseVNode("input",{id:$.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":$.label,"aria-expanded":$.expanded,autocapitalize:"off",autocomplete:$.autocomplete,class:normalizeClass($.nsSelectV2.e("combobox-input")),disabled:$.disabled,name:$.name,role:"combobox",readonly:!$.filterable,spellcheck:"false",type:"text",unselectable:$.expanded?"on":void 0,onCompositionstart:j[12]||(j[12]=(...Ce)=>$.handleCompositionStart&&$.handleCompositionStart(...Ce)),onCompositionupdate:j[13]||(j[13]=(...Ce)=>$.handleCompositionUpdate&&$.handleCompositionUpdate(...Ce)),onCompositionend:j[14]||(j[14]=(...Ce)=>$.handleCompositionEnd&&$.handleCompositionEnd(...Ce)),onFocus:j[15]||(j[15]=(...Ce)=>$.handleFocus&&$.handleFocus(...Ce)),onBlur:j[16]||(j[16]=(...Ce)=>$.handleBlur&&$.handleBlur(...Ce)),onInput:j[17]||(j[17]=(...Ce)=>$.onInput&&$.onInput(...Ce)),onKeydown:[j[18]||(j[18]=withKeys(withModifiers(Ce=>$.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),j[19]||(j[19]=withKeys(withModifiers(Ce=>$.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),j[20]||(j[20]=withKeys(withModifiers((...Ce)=>$.onKeyboardSelect&&$.onKeyboardSelect(...Ce),["stop","prevent"]),["enter"])),j[21]||(j[21]=withKeys(withModifiers((...Ce)=>$.handleEsc&&$.handleEsc(...Ce),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":j[22]||(j[22]=(...Ce)=>$.onUpdateInputValue&&$.onUpdateInputValue(...Ce))},null,42,_hoisted_4$6),[[_e,$.states.displayInputValue]])],2),$.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass([$.nsSelectV2.e("selected-item"),$.nsSelectV2.e("input-calculator")]),textContent:toDisplayString$1($.states.displayInputValue)},null,10,_hoisted_5$4)):createCommentVNode("v-if",!0)],64)),$.shouldShowPlaceholder?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass([$.nsSelectV2.e("placeholder"),$.nsSelectV2.is("transparent",$.multiple?$.modelValue.length===0:!$.hasModelValue)])},toDisplayString$1($.currentPlaceholder),3)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass($.nsSelectV2.e("suffix"))},[$.iconComponent?withDirectives((openBlock(),createBlock(pe,{key:0,class:normalizeClass([$.nsSelectV2.e("caret"),$.nsInput.e("icon"),$.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.iconComponent)))]),_:1},8,["class"])),[[vShow,!$.showClearBtn]]):createCommentVNode("v-if",!0),$.showClearBtn&&$.clearIcon?(openBlock(),createBlock(pe,{key:1,class:normalizeClass([$.nsSelectV2.e("caret"),$.nsInput.e("icon")]),onClick:withModifiers($.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),$.validateState&&$.validateIcon?(openBlock(),createBlock(pe,{key:2,class:normalizeClass([$.nsInput.e("icon"),$.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode(he,{ref:"menuRef",data:$.filteredOptions,width:$.popperSize,"hovering-index":$.states.hoveringIndex,"scrollbar-always-on":$.scrollbarAlwaysOn},{default:withCtx(Ce=>[renderSlot($.$slots,"default",normalizeProps(guardReactiveProps(Ce)))]),empty:withCtx(()=>[renderSlot($.$slots,"empty",{},()=>[createBaseVNode("p",{class:normalizeClass($.nsSelectV2.e("empty"))},toDisplayString$1($.emptyText?$.emptyText:""),3)])]),_:3},8,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","effect","placement","transition","persistent","onBeforeShow"])],34)),[[xe,$.handleClickOutside,$.popperRef]])}var Select$1=_export_sfc$1(_sfc_main$I,[["render",_sfc_render$5],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);Select$1.install=$=>{$.component(Select$1.name,Select$1)};const _Select=Select$1,ElSelectV2=_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:Number}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),__default__$w=defineComponent({name:"ElSkeletonItem"}),_sfc_main$H=defineComponent({...__default__$w,props:skeletonItemProps,setup($){const j=useNamespace("skeleton");return(oe,ae)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(j).e("item"),unref(j).e(oe.variant)])},[oe.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$1(_sfc_main$H,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const __default__$v=defineComponent({name:"ElSkeleton"}),_sfc_main$G=defineComponent({...__default__$v,props:skeletonProps,setup($,{expose:j}){const oe=$,ae=useNamespace("skeleton"),ie=useThrottleRender(toRef(oe,"loading"),oe.throttle);return j({uiLoading:ie}),(le,de)=>unref(ie)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(ae).b(),unref(ae).is("animated",le.animated)]},le.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.count,ue=>(openBlock(),createElementBlock(Fragment,{key:ue},[le.loading?renderSlot(le.$slots,"template",{key:ue},()=>[createVNode(SkeletonItem,{class:normalizeClass(unref(ae).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(le.rows,pe=>(openBlock(),createBlock(SkeletonItem,{key:pe,class:normalizeClass([unref(ae).e("paragraph"),unref(ae).is("last",pe===le.rows&&le.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(le.$slots,"default",normalizeProps(mergeProps({key:1},le.$attrs)))}});var Skeleton=_export_sfc$1(_sfc_main$G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton,{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},label:{type:String,default:void 0},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}}),isValidValue$1=$=>isNumber$d($)||isArray$x($)&&$.every(isNumber$d),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=($,j,oe)=>{const ae=ref();return onMounted(async()=>{$.range?(Array.isArray($.modelValue)?(j.firstValue=Math.max($.min,$.modelValue[0]),j.secondValue=Math.min($.max,$.modelValue[1])):(j.firstValue=$.min,j.secondValue=$.max),j.oldValue=[j.firstValue,j.secondValue]):(typeof $.modelValue!="number"||Number.isNaN($.modelValue)?j.firstValue=$.min:j.firstValue=Math.min($.max,Math.max($.min,$.modelValue)),j.oldValue=j.firstValue),useEventListener(window,"resize",oe),await nextTick(),oe()}),{sliderWrapper:ae}},useMarks=$=>computed(()=>$.marks?Object.keys($.marks).map(Number.parseFloat).sort((oe,ae)=>oe-ae).filter(oe=>oe<=$.max&&oe>=$.min).map(oe=>({point:oe,position:(oe-$.min)*100/($.max-$.min),mark:$.marks[oe]})):[]),useSlide=($,j,oe)=>{const{form:ae,formItem:ie}=useFormItem(),le=shallowRef(),de=ref(),ue=ref(),pe={firstButton:de,secondButton:ue},he=computed(()=>$.disabled||(ae==null?void 0:ae.disabled)||!1),_e=computed(()=>Math.min(j.firstValue,j.secondValue)),xe=computed(()=>Math.max(j.firstValue,j.secondValue)),Ce=computed(()=>$.range?`${100*(xe.value-_e.value)/($.max-$.min)}%`:`${100*(j.firstValue-$.min)/($.max-$.min)}%`),Ie=computed(()=>$.range?`${100*(_e.value-$.min)/($.max-$.min)}%`:"0%"),$e=computed(()=>$.vertical?{height:$.height}:{}),Ne=computed(()=>$.vertical?{height:Ce.value,bottom:Ie.value}:{width:Ce.value,left:Ie.value}),Ve=()=>{le.value&&(j.sliderSize=le.value[`client${$.vertical?"Height":"Width"}`])},Oe=xn=>{const $n=$.min+xn*($.max-$.min)/100;if(!$.range)return de;let Cn;return Math.abs(_e.value-$n)j.secondValue?"firstButton":"secondButton",pe[Cn]},Fe=xn=>{const $n=Oe(xn);return $n.value.setPosition(xn),$n},ze=xn=>{j.firstValue=xn,qe($.range?[_e.value,xe.value]:xn)},Ue=xn=>{j.secondValue=xn,$.range&&qe([_e.value,xe.value])},qe=xn=>{oe(UPDATE_MODEL_EVENT,xn),oe(INPUT_EVENT,xn)},hn=async()=>{await nextTick(),oe(CHANGE_EVENT,$.range?[_e.value,xe.value]:$.modelValue)},vn=xn=>{var $n,Cn,En,Nn,Sn,wn;if(he.value||j.dragging)return;Ve();let On=0;if($.vertical){const Tn=(En=(Cn=($n=xn.touches)==null?void 0:$n.item(0))==null?void 0:Cn.clientY)!=null?En:xn.clientY;On=(le.value.getBoundingClientRect().bottom-Tn)/j.sliderSize*100}else{const Tn=(wn=(Sn=(Nn=xn.touches)==null?void 0:Nn.item(0))==null?void 0:Sn.clientX)!=null?wn:xn.clientX,In=le.value.getBoundingClientRect().left;On=(Tn-In)/j.sliderSize*100}if(!(On<0||On>100))return Fe(On)};return{elFormItem:ie,slider:le,firstButton:de,secondButton:ue,sliderDisabled:he,minValue:_e,maxValue:xe,runwayStyle:$e,barStyle:Ne,resetSize:Ve,setPosition:Fe,emitChange:hn,onSliderWrapperPrevent:xn=>{var $n,Cn;(($n=pe.firstButton.value)!=null&&$n.dragging||(Cn=pe.secondButton.value)!=null&&Cn.dragging)&&xn.preventDefault()},onSliderClick:xn=>{vn(xn)&&hn()},onSliderDown:async xn=>{const $n=vn(xn);$n&&(await nextTick(),$n.value.onButtonDown(xn))},setFirstValue:ze,setSecondValue:Ue}},{left,down,right,up,home,end,pageUp,pageDown}=EVENT_CODE,useTooltip=($,j,oe)=>{const ae=ref(),ie=ref(!1),le=computed(()=>j.value instanceof Function),de=computed(()=>le.value&&j.value($.modelValue)||$.modelValue),ue=debounce$2(()=>{oe.value&&(ie.value=!0)},50),pe=debounce$2(()=>{oe.value&&(ie.value=!1)},50);return{tooltip:ae,tooltipVisible:ie,formatValue:de,displayTooltip:ue,hideTooltip:pe}},useSliderButton=($,j,oe)=>{const{disabled:ae,min:ie,max:le,step:de,showTooltip:ue,precision:pe,sliderSize:he,formatTooltip:_e,emitChange:xe,resetSize:Ce,updateDragging:Ie}=inject(sliderContextKey),{tooltip:$e,tooltipVisible:Ne,formatValue:Ve,displayTooltip:Oe,hideTooltip:Fe}=useTooltip($,_e,ue),ze=ref(),Ue=computed(()=>`${($.modelValue-ie.value)/(le.value-ie.value)*100}%`),qe=computed(()=>$.vertical?{bottom:Ue.value}:{left:Ue.value}),hn=()=>{j.hovering=!0,Oe()},vn=()=>{j.hovering=!1,j.dragging||Fe()},bn=Dn=>{ae.value||(Dn.preventDefault(),On(Dn),window.addEventListener("mousemove",Tn),window.addEventListener("touchmove",Tn),window.addEventListener("mouseup",In),window.addEventListener("touchend",In),window.addEventListener("contextmenu",In),ze.value.focus())},_n=Dn=>{ae.value||(j.newPosition=Number.parseFloat(Ue.value)+Dn/(le.value-ie.value)*100,Bn(j.newPosition),xe())},kn=()=>{_n(-de.value)},xn=()=>{_n(de.value)},$n=()=>{_n(-de.value*4)},Cn=()=>{_n(de.value*4)},En=()=>{ae.value||(Bn(0),xe())},Nn=()=>{ae.value||(Bn(100),xe())},Sn=Dn=>{let Xn=!0;[left,down].includes(Dn.key)?kn():[right,up].includes(Dn.key)?xn():Dn.key===home?En():Dn.key===end?Nn():Dn.key===pageDown?$n():Dn.key===pageUp?Cn():Xn=!1,Xn&&Dn.preventDefault()},wn=Dn=>{let Xn,Zn;return Dn.type.startsWith("touch")?(Zn=Dn.touches[0].clientY,Xn=Dn.touches[0].clientX):(Zn=Dn.clientY,Xn=Dn.clientX),{clientX:Xn,clientY:Zn}},On=Dn=>{j.dragging=!0,j.isClick=!0;const{clientX:Xn,clientY:Zn}=wn(Dn);$.vertical?j.startY=Zn:j.startX=Xn,j.startPosition=Number.parseFloat(Ue.value),j.newPosition=j.startPosition},Tn=Dn=>{if(j.dragging){j.isClick=!1,Oe(),Ce();let Xn;const{clientX:Zn,clientY:Fn}=wn(Dn);$.vertical?(j.currentY=Fn,Xn=(j.startY-j.currentY)/he.value*100):(j.currentX=Zn,Xn=(j.currentX-j.startX)/he.value*100),j.newPosition=j.startPosition+Xn,Bn(j.newPosition)}},In=()=>{j.dragging&&(setTimeout(()=>{j.dragging=!1,j.hovering||Fe(),j.isClick||Bn(j.newPosition),xe()},0),window.removeEventListener("mousemove",Tn),window.removeEventListener("touchmove",Tn),window.removeEventListener("mouseup",In),window.removeEventListener("touchend",In),window.removeEventListener("contextmenu",In))},Bn=async Dn=>{if(Dn===null||Number.isNaN(+Dn))return;Dn<0?Dn=0:Dn>100&&(Dn=100);const Xn=100/((le.value-ie.value)/de.value);let Fn=Math.round(Dn/Xn)*Xn*(le.value-ie.value)*.01+ie.value;Fn=Number.parseFloat(Fn.toFixed(pe.value)),Fn!==$.modelValue&&oe(UPDATE_MODEL_EVENT,Fn),!j.dragging&&$.modelValue!==j.oldValue&&(j.oldValue=$.modelValue),await nextTick(),j.dragging&&Oe(),$e.value.updatePopper()};return watch(()=>j.dragging,Dn=>{Ie(Dn)}),{disabled:ae,button:ze,tooltip:$e,tooltipVisible:Ne,showTooltip:ue,wrapperStyle:qe,formatValue:Ve,handleMouseEnter:hn,handleMouseLeave:vn,onButtonDown:bn,onKeyDown:Sn,setPosition:Bn}},useStops=($,j,oe,ae)=>({stops:computed(()=>{if(!$.showStops||$.min>$.max)return[];if($.step===0)return[];const de=($.max-$.min)/$.step,ue=100*$.step/($.max-$.min),pe=Array.from({length:de-1}).map((he,_e)=>(_e+1)*ue);return $.range?pe.filter(he=>he<100*(oe.value-$.min)/($.max-$.min)||he>100*(ae.value-$.min)/($.max-$.min)):pe.filter(he=>he>100*(j.firstValue-$.min)/($.max-$.min))}),getStopStyle:de=>$.vertical?{bottom:`${de}%`}:{left:`${de}%`}}),useWatch=($,j,oe,ae,ie,le)=>{const de=he=>{ie(UPDATE_MODEL_EVENT,he),ie(INPUT_EVENT,he)},ue=()=>$.range?![oe.value,ae.value].every((he,_e)=>he===j.oldValue[_e]):$.modelValue!==j.oldValue,pe=()=>{var he,_e;$.min>$.max&&throwError("Slider","min should not be greater than max.");const xe=$.modelValue;$.range&&Array.isArray(xe)?xe[1]<$.min?de([$.min,$.min]):xe[0]>$.max?de([$.max,$.max]):xe[0]<$.min?de([$.min,xe[1]]):xe[1]>$.max?de([xe[0],$.max]):(j.firstValue=xe[0],j.secondValue=xe[1],ue()&&($.validateEvent&&((he=le==null?void 0:le.validate)==null||he.call(le,"change").catch(Ce=>void 0)),j.oldValue=xe.slice())):!$.range&&typeof xe=="number"&&!Number.isNaN(xe)&&(xe<$.min?de($.min):xe>$.max?de($.max):(j.firstValue=xe,ue()&&($.validateEvent&&((_e=le==null?void 0:le.validate)==null||_e.call(le,"change").catch(Ce=>void 0)),j.oldValue=xe)))};pe(),watch(()=>j.dragging,he=>{he||pe()}),watch(()=>$.modelValue,(he,_e)=>{j.dragging||Array.isArray(he)&&Array.isArray(_e)&&he.every((xe,Ce)=>xe===_e[Ce])&&j.firstValue===he[0]&&j.secondValue===he[1]||pe()},{deep:!0}),watch(()=>[$.min,$.max],()=>{pe()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:$=>isNumber$d($)},_hoisted_1$k=["tabindex"],__default__$u=defineComponent({name:"ElSliderButton"}),_sfc_main$F=defineComponent({...__default__$u,props:sliderButtonProps,emits:sliderButtonEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useNamespace("slider"),le=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:ae.modelValue}),{disabled:de,button:ue,tooltip:pe,showTooltip:he,tooltipVisible:_e,wrapperStyle:xe,formatValue:Ce,handleMouseEnter:Ie,handleMouseLeave:$e,onButtonDown:Ne,onKeyDown:Ve,setPosition:Oe}=useSliderButton(ae,le,oe),{hovering:Fe,dragging:ze}=toRefs(le);return j({onButtonDown:Ne,onKeyDown:Ve,setPosition:Oe,hovering:Fe,dragging:ze}),(Ue,qe)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:ue,class:normalizeClass([unref(ie).e("button-wrapper"),{hover:unref(Fe),dragging:unref(ze)}]),style:normalizeStyle(unref(xe)),tabindex:unref(de)?-1:0,onMouseenter:qe[0]||(qe[0]=(...hn)=>unref(Ie)&&unref(Ie)(...hn)),onMouseleave:qe[1]||(qe[1]=(...hn)=>unref($e)&&unref($e)(...hn)),onMousedown:qe[2]||(qe[2]=(...hn)=>unref(Ne)&&unref(Ne)(...hn)),onTouchstart:qe[3]||(qe[3]=(...hn)=>unref(Ne)&&unref(Ne)(...hn)),onFocus:qe[4]||(qe[4]=(...hn)=>unref(Ie)&&unref(Ie)(...hn)),onBlur:qe[5]||(qe[5]=(...hn)=>unref($e)&&unref($e)(...hn)),onKeydown:qe[6]||(qe[6]=(...hn)=>unref(Ve)&&unref(Ve)(...hn))},[createVNode(unref(ElTooltip),{ref_key:"tooltip",ref:pe,visible:unref(_e),placement:Ue.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":Ue.tooltipClass,disabled:!unref(he),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString$1(unref(Ce)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(ie).e("button"),{hover:unref(Fe),dragging:unref(ze)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$k))}});var SliderButton=_export_sfc$1(_sfc_main$F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup($){const j=useNamespace("slider"),oe=computed(()=>isString$d($.mark)?$.mark:$.mark.label),ae=computed(()=>isString$d($.mark)?void 0:$.mark.style);return()=>h$2("div",{class:j.e("marks-text"),style:ae.value},oe.value)}});const _hoisted_1$j=["id","role","aria-label","aria-labelledby"],_hoisted_2$d={key:1},__default__$t=defineComponent({name:"ElSlider"}),_sfc_main$E=defineComponent({...__default__$t,props:sliderProps,emits:sliderEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useNamespace("slider"),{t:le}=useLocale(),de=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:ue,slider:pe,firstButton:he,secondButton:_e,sliderDisabled:xe,minValue:Ce,maxValue:Ie,runwayStyle:$e,barStyle:Ne,resetSize:Ve,emitChange:Oe,onSliderWrapperPrevent:Fe,onSliderClick:ze,onSliderDown:Ue,setFirstValue:qe,setSecondValue:hn}=useSlide(ae,de,oe),{stops:vn,getStopStyle:bn}=useStops(ae,de,Ce,Ie),{inputId:_n,isLabeledByFormItem:kn}=useFormItemInputId(ae,{formItemContext:ue}),xn=useFormSize(),$n=computed(()=>ae.inputSize||xn.value),Cn=computed(()=>ae.label||le("el.slider.defaultLabel",{min:ae.min,max:ae.max})),En=computed(()=>ae.range?ae.rangeStartLabel||le("el.slider.defaultRangeStartLabel"):Cn.value),Nn=computed(()=>ae.formatValueText?ae.formatValueText(Dn.value):`${Dn.value}`),Sn=computed(()=>ae.rangeEndLabel||le("el.slider.defaultRangeEndLabel")),wn=computed(()=>ae.formatValueText?ae.formatValueText(Xn.value):`${Xn.value}`),On=computed(()=>[ie.b(),ie.m(xn.value),ie.is("vertical",ae.vertical),{[ie.m("with-input")]:ae.showInput}]),Tn=useMarks(ae);useWatch(ae,de,Ce,Ie,oe,ue);const In=computed(()=>{const Yn=[ae.min,ae.max,ae.step].map(qn=>{const Vn=`${qn}`.split(".")[1];return Vn?Vn.length:0});return Math.max.apply(null,Yn)}),{sliderWrapper:Bn}=useLifecycle(ae,de,Ve),{firstValue:Dn,secondValue:Xn,sliderSize:Zn}=toRefs(de),Fn=Yn=>{de.dragging=Yn};return provide(sliderContextKey,{...toRefs(ae),sliderSize:Zn,disabled:xe,precision:In,emitChange:Oe,resetSize:Ve,updateDragging:Fn}),j({onSliderClick:ze}),(Yn,qn)=>{var Vn,eo;return openBlock(),createElementBlock("div",{id:Yn.range?unref(_n):void 0,ref_key:"sliderWrapper",ref:Bn,class:normalizeClass(unref(On)),role:Yn.range?"group":void 0,"aria-label":Yn.range&&!unref(kn)?unref(Cn):void 0,"aria-labelledby":Yn.range&&unref(kn)?(Vn=unref(ue))==null?void 0:Vn.labelId:void 0,onTouchstart:qn[2]||(qn[2]=(...ho)=>unref(Fe)&&unref(Fe)(...ho)),onTouchmove:qn[3]||(qn[3]=(...ho)=>unref(Fe)&&unref(Fe)(...ho))},[createBaseVNode("div",{ref_key:"slider",ref:pe,class:normalizeClass([unref(ie).e("runway"),{"show-input":Yn.showInput&&!Yn.range},unref(ie).is("disabled",unref(xe))]),style:normalizeStyle(unref($e)),onMousedown:qn[0]||(qn[0]=(...ho)=>unref(Ue)&&unref(Ue)(...ho)),onTouchstart:qn[1]||(qn[1]=(...ho)=>unref(Ue)&&unref(Ue)(...ho))},[createBaseVNode("div",{class:normalizeClass(unref(ie).e("bar")),style:normalizeStyle(unref(Ne))},null,6),createVNode(SliderButton,{id:Yn.range?void 0:unref(_n),ref_key:"firstButton",ref:he,"model-value":unref(Dn),vertical:Yn.vertical,"tooltip-class":Yn.tooltipClass,placement:Yn.placement,role:"slider","aria-label":Yn.range||!unref(kn)?unref(En):void 0,"aria-labelledby":!Yn.range&&unref(kn)?(eo=unref(ue))==null?void 0:eo.labelId:void 0,"aria-valuemin":Yn.min,"aria-valuemax":Yn.range?unref(Xn):Yn.max,"aria-valuenow":unref(Dn),"aria-valuetext":unref(Nn),"aria-orientation":Yn.vertical?"vertical":"horizontal","aria-disabled":unref(xe),"onUpdate:modelValue":unref(qe)},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"]),Yn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:_e,"model-value":unref(Xn),vertical:Yn.vertical,"tooltip-class":Yn.tooltipClass,placement:Yn.placement,role:"slider","aria-label":unref(Sn),"aria-valuemin":unref(Dn),"aria-valuemax":Yn.max,"aria-valuenow":unref(Xn),"aria-valuetext":unref(wn),"aria-orientation":Yn.vertical?"vertical":"horizontal","aria-disabled":unref(xe),"onUpdate:modelValue":unref(hn)},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),Yn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$d,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(vn),(ho,So)=>(openBlock(),createElementBlock("div",{key:So,class:normalizeClass(unref(ie).e("stop")),style:normalizeStyle(unref(bn)(ho))},null,6))),128))])):createCommentVNode("v-if",!0),unref(Tn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Tn),(ho,So)=>(openBlock(),createElementBlock("div",{key:So,style:normalizeStyle(unref(bn)(ho.position)),class:normalizeClass([unref(ie).e("stop"),unref(ie).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(ie).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Tn),(ho,So)=>(openBlock(),createBlock(unref(SliderMarker),{key:So,mark:ho.mark,style:normalizeStyle(unref(bn)(ho.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),Yn.showInput&&!Yn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Dn),class:normalizeClass(unref(ie).e("input")),step:Yn.step,disabled:unref(xe),controls:Yn.showInputControls,min:Yn.min,max:Yn.max,debounce:Yn.debounce,size:unref($n),"onUpdate:modelValue":unref(qe),onChange:unref(Oe)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$j)}}});var Slider=_export_sfc$1(_sfc_main$E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup($,{slots:j}){const oe=useNamespace("space"),ae=computed(()=>`${$.prefixCls||oe.b()}__item`);return()=>h$2("div",{class:ae.value},renderSlot(j,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace($){const j=useNamespace("space"),oe=computed(()=>[j.b(),j.m($.direction),$.class]),ae=ref(0),ie=ref(0),le=computed(()=>{const ue=$.wrap||$.fill?{flexWrap:"wrap",marginBottom:`-${ie.value}px`}:{},pe={alignItems:$.alignment};return[ue,pe,$.style]}),de=computed(()=>{const ue={paddingBottom:`${ie.value}px`,marginRight:`${ae.value}px`},pe=$.fill?{flexGrow:1,minWidth:`${$.fillRatio}%`}:{};return[ue,pe]});return watchEffect(()=>{const{size:ue="small",wrap:pe,direction:he,fill:_e}=$;if(isArray$x(ue)){const[xe=0,Ce=0]=ue;ae.value=xe,ie.value=Ce}else{let xe;isNumber$d(ue)?xe=ue:xe=SIZE_MAP[ue||"small"]||SIZE_MAP.small,(pe||_e)&&he==="horizontal"?ae.value=ie.value=xe:he==="horizontal"?(ae.value=xe,ie.value=0):(ie.value=xe,ae.value=0)}}),{classes:oe,containerStyle:le,itemStyle:de}}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:$=>isVNode$1($)||isNumber$d($)||isString$d($)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:$=>isNumber$d($)||isArray$x($)&&$.length===2&&$.every(isNumber$d)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup($,{slots:j}){const{classes:oe,containerStyle:ae,itemStyle:ie}=useSpace($);function le(de,ue="",pe=[]){const{prefixCls:he}=$;return de.forEach((_e,xe)=>{isFragment(_e)?isArray$x(_e.children)&&_e.children.forEach((Ce,Ie)=>{isFragment(Ce)&&isArray$x(Ce.children)?le(Ce.children,`${ue+Ie}-`,pe):pe.push(createVNode(SpaceItem,{style:ie.value,prefixCls:he,key:`nested-${ue+Ie}`},{default:()=>[Ce]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(_e)&&pe.push(createVNode(SpaceItem,{style:ie.value,prefixCls:he,key:`LoopKey${ue+xe}`},{default:()=>[_e]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),pe}return()=>{var de;const{spacer:ue,direction:pe}=$,he=renderSlot(j,"default",{key:0},()=>[]);if(((de=he.children)!=null?de:[]).length===0)return null;if(isArray$x(he.children)){let _e=le(he.children);if(ue){const xe=_e.length-1;_e=_e.reduce((Ce,Ie,$e)=>{const Ne=[...Ce,Ie];return $e!==xe&&Ne.push(createVNode("span",{style:[ie.value,pe==="vertical"?"width: 100%":null],key:$e},[isVNode$1(ue)?ue:createTextVNode(ue,PatchFlags.TEXT)],PatchFlags.STYLE)),Ne},[])}return createVNode("div",{class:oe.value,style:ae.value},_e,PatchFlags.STYLE|PatchFlags.CLASS)}return he.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__$s=defineComponent({name:"ElStatistic"}),_sfc_main$D=defineComponent({...__default__$s,props:statisticProps,setup($,{expose:j}){const oe=$,ae=useNamespace("statistic"),ie=computed(()=>{const{value:le,formatter:de,precision:ue,decimalSeparator:pe,groupSeparator:he}=oe;if(isFunction$h(de))return de(le);if(!isNumber$d(le))return le;let[_e,xe=""]=String(le).split(".");return xe=xe.padEnd(ue,"0").slice(0,ue>0?ue:0),_e=_e.replace(/\B(?=(\d{3})+(?!\d))/g,he),[_e,xe].join(xe?pe:"")});return j({displayValue:ie}),(le,de)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ae).b())},[le.$slots.title||le.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ae).e("head"))},[renderSlot(le.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(le.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ae).e("content"))},[le.$slots.prefix||le.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ae).e("prefix"))},[renderSlot(le.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString$1(le.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(ae).e("number")),style:normalizeStyle(le.valueStyle)},toDisplayString$1(unref(ie)),7),le.$slots.suffix||le.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ae).e("suffix"))},[renderSlot(le.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString$1(le.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$1(_sfc_main$D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/statistic/src/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]:$=>isNumber$d($)},timeUnits=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],getTime=$=>isNumber$d($)?new Date($).getTime():$.valueOf(),formatTime$1=($,j)=>{let oe=$;const ae=/\[([^\]]*)]/g;return timeUnits.reduce((le,[de,ue])=>{const pe=new RegExp(`${de}+(?![^\\[\\]]*\\])`,"g");if(pe.test(le)){const he=Math.floor(oe/ue);return oe-=he*ue,le.replace(pe,_e=>String(he).padStart(_e.length,"0"))}return le},j).replace(ae,"$1")},__default__$r=defineComponent({name:"ElCountdown"}),_sfc_main$C=defineComponent({...__default__$r,props:countdownProps,emits:countdownEmits,setup($,{expose:j,emit:oe}){const ae=$;let ie;const le=ref(getTime(ae.value)-Date.now()),de=computed(()=>formatTime$1(le.value,ae.format)),ue=_e=>formatTime$1(_e,ae.format),pe=()=>{ie&&(cAF(ie),ie=void 0)},he=()=>{const _e=getTime(ae.value),xe=()=>{let Ce=_e-Date.now();oe("change",Ce),Ce<=0?(Ce=0,pe(),oe("finish")):ie=rAF(xe),le.value=Ce};ie=rAF(xe)};return watch(()=>[ae.value,ae.format],()=>{pe(),he()},{immediate:!0}),onBeforeUnmount(()=>{pe()}),j({displayValue:de}),(_e,xe)=>(openBlock(),createBlock(unref(ElStatistic),{value:le.value,title:_e.title,prefix:_e.prefix,suffix:_e.suffix,"value-style":_e.valueStyle,formatter:ue},createSlots({_:2},[renderList(_e.$slots,(Ce,Ie)=>({name:Ie,fn:withCtx(()=>[renderSlot(_e.$slots,Ie)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$1(_sfc_main$C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/countdown/src/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]:($,j)=>[$,j].every(isNumber$d)},__default__$q=defineComponent({name:"ElSteps"}),_sfc_main$B=defineComponent({...__default__$q,props:stepsProps,emits:stepsEmits,setup($,{emit:j}){const oe=$,ae=useNamespace("steps"),ie=ref([]);return watch(ie,()=>{ie.value.forEach((le,de)=>{le.setIndex(de)})}),provide("ElSteps",{props:oe,steps:ie}),watch(()=>oe.active,(le,de)=>{j(CHANGE_EVENT,le,de)}),(le,de)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ae).b(),unref(ae).m(le.simple?"simple":le.direction)])},[renderSlot(le.$slots,"default")],2))}});var Steps=_export_sfc$1(_sfc_main$B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/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__$p=defineComponent({name:"ElStep"}),_sfc_main$A=defineComponent({...__default__$p,props:stepProps,setup($){const j=$,oe=useNamespace("step"),ae=ref(-1),ie=ref({}),le=ref(""),de=inject("ElSteps"),ue=getCurrentInstance();onMounted(()=>{watch([()=>de.props.active,()=>de.props.processStatus,()=>de.props.finishStatus],([qe])=>{ze(qe)},{immediate:!0})}),onBeforeUnmount(()=>{de.steps.value=de.steps.value.filter(qe=>qe.uid!==(ue==null?void 0:ue.uid))});const pe=computed(()=>j.status||le.value),he=computed(()=>{const qe=de.steps.value[ae.value-1];return qe?qe.currentStatus:"wait"}),_e=computed(()=>de.props.alignCenter),xe=computed(()=>de.props.direction==="vertical"),Ce=computed(()=>de.props.simple),Ie=computed(()=>de.steps.value.length),$e=computed(()=>{var qe;return((qe=de.steps.value[Ie.value-1])==null?void 0:qe.uid)===(ue==null?void 0:ue.uid)}),Ne=computed(()=>Ce.value?"":de.props.space),Ve=computed(()=>{const qe={flexBasis:isNumber$d(Ne.value)?`${Ne.value}px`:Ne.value?Ne.value:`${100/(Ie.value-(_e.value?0:1))}%`};return xe.value||$e.value&&(qe.maxWidth=`${100/Ie.value}%`),qe}),Oe=qe=>{ae.value=qe},Fe=qe=>{const hn=qe==="wait",vn={transitionDelay:`${hn?"-":""}${150*ae.value}ms`},bn=qe===de.props.processStatus||hn?0:100;vn.borderWidth=bn&&!Ce.value?"1px":0,vn[de.props.direction==="vertical"?"height":"width"]=`${bn}%`,ie.value=vn},ze=qe=>{qe>ae.value?le.value=de.props.finishStatus:qe===ae.value&&he.value!=="error"?le.value=de.props.processStatus:le.value="wait";const hn=de.steps.value[ae.value-1];hn&&hn.calcProgress(le.value)},Ue=reactive({uid:computed(()=>ue==null?void 0:ue.uid),currentStatus:pe,setIndex:Oe,calcProgress:Fe});return de.steps.value=[...de.steps.value,Ue],(qe,hn)=>(openBlock(),createElementBlock("div",{style:normalizeStyle(unref(Ve)),class:normalizeClass([unref(oe).b(),unref(oe).is(unref(Ce)?"simple":unref(de).props.direction),unref(oe).is("flex",unref($e)&&!unref(Ne)&&!unref(_e)),unref(oe).is("center",unref(_e)&&!unref(xe)&&!unref(Ce))])},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(oe).e("head"),unref(oe).is(unref(pe))])},[unref(Ce)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(oe).e("line-inner")),style:normalizeStyle(ie.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(oe).e("icon"),unref(oe).is(qe.icon||qe.$slots.icon?"icon":"text")])},[renderSlot(qe.$slots,"icon",{},()=>[qe.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(oe).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(qe.icon)))]),_:1},8,["class"])):unref(pe)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(oe).e("icon-inner"),unref(oe).is("status")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):unref(pe)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(oe).e("icon-inner"),unref(oe).is("status")])},{default:withCtx(()=>[createVNode(unref(close_default))]),_:1},8,["class"])):unref(Ce)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(oe).e("icon-inner"))},toDisplayString$1(ae.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(oe).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(oe).e("title"),unref(oe).is(unref(pe))])},[renderSlot(qe.$slots,"title",{},()=>[createTextVNode(toDisplayString$1(qe.title),1)])],2),unref(Ce)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(oe).e("description"),unref(oe).is(unref(pe))])},[renderSlot(qe.$slots,"description",{},()=>[createTextVNode(toDisplayString$1(qe.description),1)])],2))],2)],6))}});var Step=_export_sfc$1(_sfc_main$A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String,loading:{type:Boolean,default:!1},beforeChange:{type:definePropType(Function)},size:{type:String,validator:isValidComponentSize},tabindex:{type:[String,Number]}}),switchEmits={[UPDATE_MODEL_EVENT]:$=>isBoolean$5($)||isString$d($)||isNumber$d($),[CHANGE_EVENT]:$=>isBoolean$5($)||isString$d($)||isNumber$d($),[INPUT_EVENT]:$=>isBoolean$5($)||isString$d($)||isNumber$d($)},_hoisted_1$i=["onClick"],_hoisted_2$c=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$7=["aria-hidden"],_hoisted_4$5=["aria-hidden"],_hoisted_5$3=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$o=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$z=defineComponent({...__default__$o,props:switchProps,emits:switchEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=getCurrentInstance(),{formItem:le}=useFormItem(),de=useFormSize(),ue=useNamespace("switch");useDeprecated({from:'"value"',replacement:'"model-value" or "v-model"',scope:COMPONENT_NAME$8,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},computed(()=>{var qe;return!!((qe=ie.vnode.props)!=null&&qe.value)}));const{inputId:pe}=useFormItemInputId(ae,{formItemContext:le}),he=useFormDisabled(computed(()=>ae.loading)),_e=ref(ae.modelValue!==!1),xe=ref(),Ce=ref(),Ie=computed(()=>[ue.b(),ue.m(de.value),ue.is("disabled",he.value),ue.is("checked",Ve.value)]),$e=computed(()=>({width:addUnit(ae.width)}));watch(()=>ae.modelValue,()=>{_e.value=!0}),watch(()=>ae.value,()=>{_e.value=!1});const Ne=computed(()=>_e.value?ae.modelValue:ae.value),Ve=computed(()=>Ne.value===ae.activeValue);[ae.activeValue,ae.inactiveValue].includes(Ne.value)||(oe(UPDATE_MODEL_EVENT,ae.inactiveValue),oe(CHANGE_EVENT,ae.inactiveValue),oe(INPUT_EVENT,ae.inactiveValue)),watch(Ve,qe=>{var hn;xe.value.checked=qe,ae.validateEvent&&((hn=le==null?void 0:le.validate)==null||hn.call(le,"change").catch(vn=>void 0))});const Oe=()=>{const qe=Ve.value?ae.inactiveValue:ae.activeValue;oe(UPDATE_MODEL_EVENT,qe),oe(CHANGE_EVENT,qe),oe(INPUT_EVENT,qe),nextTick(()=>{xe.value.checked=Ve.value})},Fe=()=>{if(he.value)return;const{beforeChange:qe}=ae;if(!qe){Oe();return}const hn=qe();[isPromise(hn),isBoolean$5(hn)].includes(!0)||throwError(COMPONENT_NAME$8,"beforeChange must return type `Promise` or `boolean`"),isPromise(hn)?hn.then(bn=>{bn&&Oe()}).catch(bn=>{}):hn&&Oe()},ze=computed(()=>ue.cssVarBlock({...ae.activeColor?{"on-color":ae.activeColor}:null,...ae.inactiveColor?{"off-color":ae.inactiveColor}:null,...ae.borderColor?{"border-color":ae.borderColor}:null})),Ue=()=>{var qe,hn;(hn=(qe=xe.value)==null?void 0:qe.focus)==null||hn.call(qe)};return onMounted(()=>{xe.value.checked=Ve.value}),j({focus:Ue,checked:Ve}),(qe,hn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ie)),style:normalizeStyle(unref(ze)),onClick:withModifiers(Fe,["prevent"])},[createBaseVNode("input",{id:unref(pe),ref_key:"input",ref:xe,class:normalizeClass(unref(ue).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Ve),"aria-disabled":unref(he),name:qe.name,"true-value":qe.activeValue,"false-value":qe.inactiveValue,disabled:unref(he),tabindex:qe.tabindex,onChange:Oe,onKeydown:withKeys(Fe,["enter"])},null,42,_hoisted_2$c),!qe.inlinePrompt&&(qe.inactiveIcon||qe.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(ue).e("label"),unref(ue).em("label","left"),unref(ue).is("active",!unref(Ve))])},[qe.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(qe.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!qe.inactiveIcon&&qe.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Ve)},toDisplayString$1(qe.inactiveText),9,_hoisted_3$7)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:Ce,class:normalizeClass(unref(ue).e("core")),style:normalizeStyle(unref($e))},[qe.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ue).e("inner"))},[qe.activeIcon||qe.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ve)?qe.activeIcon:qe.inactiveIcon)))]),_:1},8,["class"])):qe.activeText||qe.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(ue).is("text")),"aria-hidden":!unref(Ve)},toDisplayString$1(unref(Ve)?qe.activeText:qe.inactiveText),11,_hoisted_4$5)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ue).e("action"))},[qe.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ue).is("loading"))},{default:withCtx(()=>[createVNode(unref(loading_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],6),!qe.inlinePrompt&&(qe.activeIcon||qe.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass([unref(ue).e("label"),unref(ue).em("label","right"),unref(ue).is("active",unref(Ve))])},[qe.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(qe.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!qe.activeIcon&&qe.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Ve)},toDisplayString$1(qe.activeText),9,_hoisted_5$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],14,_hoisted_1$i))}});var Switch$1=_export_sfc$1(_sfc_main$z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const ElSwitch=withInstall(Switch$1);/*! + * escape-html + * Copyright(c) 2012-2013 TJ Holowaychuk + * Copyright(c) 2015 Andreas Lubbe + * Copyright(c) 2015 Tiancheng "Timothy" Gu + * MIT Licensed + */var matchHtmlRegExp=/["'&<>]/,escapeHtml_1=escapeHtml$1;function escapeHtml$1($){var j=""+$,oe=matchHtmlRegExp.exec(j);if(!oe)return j;var ae,ie="",le=0,de=0;for(le=oe.index;letypeof he=="string"?get$6(ue,he):he(ue,pe,$))):(j!=="$key"&&isObject$8(ue)&&"$value"in ue&&(ue=ue.$value),[isObject$8(ue)?get$6(ue,j):ue])},de=function(ue,pe){if(ae)return ae(ue.value,pe.value);for(let he=0,_e=ue.key.length;he<_e;he++){if(ue.key[he]pe.key[he])return 1}return 0};return $.map((ue,pe)=>({value:ue,index:pe,key:le?le(ue,pe):null})).sort((ue,pe)=>{let he=de(ue,pe);return he||(he=ue.index-pe.index),he*+oe}).map(ue=>ue.value)},getColumnById=function($,j){let oe=null;return $.columns.forEach(ae=>{ae.id===j&&(oe=ae)}),oe},getColumnByKey=function($,j){let oe=null;for(let ae=0;ae<$.columns.length;ae++){const ie=$.columns[ae];if(ie.columnKey===j){oe=ie;break}}return oe||throwError("ElTable",`No column matching with column-key: ${j}`),oe},getColumnByCell=function($,j,oe){const ae=(j.className||"").match(new RegExp(`${oe}-table_[^\\s]+`,"gm"));return ae?getColumnById($,ae[0]):null},getRowIdentity=($,j)=>{if(!$)throw new Error("Row is required when get row identity");if(typeof j=="string"){if(!j.includes("."))return`${$[j]}`;const oe=j.split(".");let ae=$;for(const ie of oe)ae=ae[ie];return`${ae}`}else if(typeof j=="function")return j.call(null,$)},getKeysMap=function($,j){const oe={};return($||[]).forEach((ae,ie)=>{oe[getRowIdentity(ae,j)]={row:ae,index:ie}}),oe};function mergeOptions$1($,j){const oe={};let ae;for(ae in $)oe[ae]=$[ae];for(ae in j)if(hasOwn$1(j,ae)){const ie=j[ae];typeof ie<"u"&&(oe[ae]=ie)}return oe}function parseWidth($){return $===""||$!==void 0&&($=Number.parseInt($,10),Number.isNaN($)&&($="")),$}function parseMinWidth($){return $===""||$!==void 0&&($=parseWidth($),Number.isNaN($)&&($=80)),$}function parseHeight($){return typeof $=="number"?$:typeof $=="string"?/^\d+(?:px)?$/.test($)?Number.parseInt($,10):$:null}function compose(...$){return $.length===0?j=>j:$.length===1?$[0]:$.reduce((j,oe)=>(...ae)=>j(oe(...ae)))}function toggleRowStatus($,j,oe){let ae=!1;const ie=$.indexOf(j),le=ie!==-1,de=ue=>{ue==="add"?$.push(j):$.splice(ie,1),ae=!0,isArray$x(j.children)&&j.children.forEach(pe=>{toggleRowStatus($,pe,oe??!le)})};return isBoolean$5(oe)?oe&&!le?de("add"):!oe&&le&&de("remove"):de(le?"remove":"add"),ae}function walkTreeNode($,j,oe="children",ae="hasChildren"){const ie=de=>!(Array.isArray(de)&&de.length);function le(de,ue,pe){j(de,ue,pe),ue.forEach(he=>{if(he[ae]){j(he,null,pe+1);return}const _e=he[oe];ie(_e)||le(he,_e,pe+1)})}$.forEach(de=>{if(de[ae]){j(de,null,0);return}const ue=de[oe];ie(ue)||le(de,ue,0)})}let removePopper;function createTablePopper($,j,oe,ae,ie){ie=merge$4({enterable:!0,showArrow:!0},ie);const le=$==null?void 0:$.dataset.prefix,de=$==null?void 0:$.querySelector(`.${le}-scrollbar__wrap`);function ue(){const Ve=ie.effect==="light",Oe=document.createElement("div");return Oe.className=[`${le}-popper`,Ve?"is-light":"is-dark",ie.popperClass||""].join(" "),oe=escapeHtml_1(oe),Oe.innerHTML=oe,Oe.style.zIndex=String(ae()),$==null||$.appendChild(Oe),Oe}function pe(){const Ve=document.createElement("div");return Ve.className=`${le}-popper__arrow`,Ve}function he(){_e&&_e.update()}removePopper==null||removePopper(),removePopper=()=>{try{_e&&_e.destroy(),Ie&&($==null||$.removeChild(Ie)),j.removeEventListener("mouseenter",xe),j.removeEventListener("mouseleave",Ce),de==null||de.removeEventListener("scroll",removePopper),removePopper=void 0}catch{}};let _e=null,xe=he,Ce=removePopper;ie.enterable&&({onOpen:xe,onClose:Ce}=useDelayedToggle({showAfter:ie.showAfter,hideAfter:ie.hideAfter,open:he,close:removePopper}));const Ie=ue();Ie.onmouseenter=xe,Ie.onmouseleave=Ce;const $e=[];if(ie.offset&&$e.push({name:"offset",options:{offset:[0,ie.offset]}}),ie.showArrow){const Ve=Ie.appendChild(pe());$e.push({name:"arrow",options:{element:Ve,padding:10}})}const Ne=ie.popperOptions||{};return _e=yn(j,Ie,{placement:ie.placement||"top",strategy:"fixed",...Ne,modifiers:Ne.modifiers?$e.concat(Ne.modifiers):$e}),j.addEventListener("mouseenter",xe),j.addEventListener("mouseleave",Ce),de==null||de.addEventListener("scroll",removePopper),_e}function getCurrentColumns($){return $.children?flatMap($.children,getCurrentColumns):[$]}function getColSpan($,j){return $+j.colSpan}const isFixedColumn=($,j,oe,ae)=>{let ie=0,le=$;const de=oe.states.columns.value;if(ae){const pe=getCurrentColumns(ae[$]);ie=de.slice(0,de.indexOf(pe[0])).reduce(getColSpan,0),le=ie+pe.reduce(getColSpan,0)-1}else ie=$;let ue;switch(j){case"left":le=de.length-oe.states.rightFixedLeafColumnsLength.value&&(ue="right");break;default:le=de.length-oe.states.rightFixedLeafColumnsLength.value&&(ue="right")}return ue?{direction:ue,start:ie,after:le}:{}},getFixedColumnsClass=($,j,oe,ae,ie,le=0)=>{const de=[],{direction:ue,start:pe,after:he}=isFixedColumn(j,oe,ae,ie);if(ue){const _e=ue==="left";de.push(`${$}-fixed-column--${ue}`),_e&&he+le===ae.states.fixedLeafColumnsLength.value-1?de.push("is-last-column"):!_e&&pe-le===ae.states.columns.value.length-ae.states.rightFixedLeafColumnsLength.value&&de.push("is-first-column")}return de};function getOffset($,j){return $+(j.realWidth===null||Number.isNaN(j.realWidth)?Number(j.width):j.realWidth)}const getFixedColumnOffset=($,j,oe,ae)=>{const{direction:ie,start:le=0,after:de=0}=isFixedColumn($,j,oe,ae);if(!ie)return;const ue={},pe=ie==="left",he=oe.states.columns.value;return pe?ue.left=he.slice(0,le).reduce(getOffset,0):ue.right=he.slice(de+1).reverse().reduce(getOffset,0),ue},ensurePosition=($,j)=>{$&&(Number.isNaN($[j])||($[j]=`${$[j]}px`))};function useExpand($){const j=getCurrentInstance(),oe=ref(!1),ae=ref([]);return{updateExpandRows:()=>{const pe=$.data.value||[],he=$.rowKey.value;if(oe.value)ae.value=pe.slice();else if(he){const _e=getKeysMap(ae.value,he);ae.value=pe.reduce((xe,Ce)=>{const Ie=getRowIdentity(Ce,he);return _e[Ie]&&xe.push(Ce),xe},[])}else ae.value=[]},toggleRowExpansion:(pe,he)=>{toggleRowStatus(ae.value,pe,he)&&j.emit("expand-change",pe,ae.value.slice())},setExpandRowKeys:pe=>{j.store.assertRowKey();const he=$.data.value||[],_e=$.rowKey.value,xe=getKeysMap(he,_e);ae.value=pe.reduce((Ce,Ie)=>{const $e=xe[Ie];return $e&&Ce.push($e.row),Ce},[])},isRowExpanded:pe=>{const he=$.rowKey.value;return he?!!getKeysMap(ae.value,he)[getRowIdentity(pe,he)]:ae.value.includes(pe)},states:{expandRows:ae,defaultExpandAll:oe}}}function useCurrent($){const j=getCurrentInstance(),oe=ref(null),ae=ref(null),ie=he=>{j.store.assertRowKey(),oe.value=he,de(he)},le=()=>{oe.value=null},de=he=>{const{data:_e,rowKey:xe}=$;let Ce=null;xe.value&&(Ce=(unref(_e)||[]).find(Ie=>getRowIdentity(Ie,xe.value)===he)),ae.value=Ce,j.emit("current-change",ae.value,null)};return{setCurrentRowKey:ie,restoreCurrentRowKey:le,setCurrentRowByKey:de,updateCurrentRow:he=>{const _e=ae.value;if(he&&he!==_e){ae.value=he,j.emit("current-change",ae.value,_e);return}!he&&_e&&(ae.value=null,j.emit("current-change",null,_e))},updateCurrentRowData:()=>{const he=$.rowKey.value,_e=$.data.value||[],xe=ae.value;if(!_e.includes(xe)&&xe){if(he){const Ce=getRowIdentity(xe,he);de(Ce)}else ae.value=null;ae.value===null&&j.emit("current-change",null,xe)}else oe.value&&(de(oe.value),le())},states:{_currentRowKey:oe,currentRow:ae}}}function useTree$2($){const j=ref([]),oe=ref({}),ae=ref(16),ie=ref(!1),le=ref({}),de=ref("hasChildren"),ue=ref("children"),pe=getCurrentInstance(),he=computed(()=>{if(!$.rowKey.value)return{};const Oe=$.data.value||[];return xe(Oe)}),_e=computed(()=>{const Oe=$.rowKey.value,Fe=Object.keys(le.value),ze={};return Fe.length&&Fe.forEach(Ue=>{if(le.value[Ue].length){const qe={children:[]};le.value[Ue].forEach(hn=>{const vn=getRowIdentity(hn,Oe);qe.children.push(vn),hn[de.value]&&!ze[vn]&&(ze[vn]={children:[]})}),ze[Ue]=qe}}),ze}),xe=Oe=>{const Fe=$.rowKey.value,ze={};return walkTreeNode(Oe,(Ue,qe,hn)=>{const vn=getRowIdentity(Ue,Fe);Array.isArray(qe)?ze[vn]={children:qe.map(bn=>getRowIdentity(bn,Fe)),level:hn}:ie.value&&(ze[vn]={children:[],lazy:!0,level:hn})},ue.value,de.value),ze},Ce=(Oe=!1,Fe=(ze=>(ze=pe.store)==null?void 0:ze.states.defaultExpandAll.value)())=>{var ze;const Ue=he.value,qe=_e.value,hn=Object.keys(Ue),vn={};if(hn.length){const bn=unref(oe),_n=[],kn=($n,Cn)=>{if(Oe)return j.value?Fe||j.value.includes(Cn):!!(Fe||$n!=null&&$n.expanded);{const En=Fe||j.value&&j.value.includes(Cn);return!!($n!=null&&$n.expanded||En)}};hn.forEach($n=>{const Cn=bn[$n],En={...Ue[$n]};if(En.expanded=kn(Cn,$n),En.lazy){const{loaded:Nn=!1,loading:Sn=!1}=Cn||{};En.loaded=!!Nn,En.loading=!!Sn,_n.push($n)}vn[$n]=En});const xn=Object.keys(qe);ie.value&&xn.length&&_n.length&&xn.forEach($n=>{const Cn=bn[$n],En=qe[$n].children;if(_n.includes($n)){if(vn[$n].children.length!==0)throw new Error("[ElTable]children must be an empty array.");vn[$n].children=En}else{const{loaded:Nn=!1,loading:Sn=!1}=Cn||{};vn[$n]={lazy:!0,loaded:!!Nn,loading:!!Sn,expanded:kn(Cn,$n),children:En,level:""}}})}oe.value=vn,(ze=pe.store)==null||ze.updateTableScrollY()};watch(()=>j.value,()=>{Ce(!0)}),watch(()=>he.value,()=>{Ce()}),watch(()=>_e.value,()=>{Ce()});const Ie=Oe=>{j.value=Oe,Ce()},$e=(Oe,Fe)=>{pe.store.assertRowKey();const ze=$.rowKey.value,Ue=getRowIdentity(Oe,ze),qe=Ue&&oe.value[Ue];if(Ue&&qe&&"expanded"in qe){const hn=qe.expanded;Fe=typeof Fe>"u"?!qe.expanded:Fe,oe.value[Ue].expanded=Fe,hn!==Fe&&pe.emit("expand-change",Oe,Fe),pe.store.updateTableScrollY()}},Ne=Oe=>{pe.store.assertRowKey();const Fe=$.rowKey.value,ze=getRowIdentity(Oe,Fe),Ue=oe.value[ze];ie.value&&Ue&&"loaded"in Ue&&!Ue.loaded?Ve(Oe,ze,Ue):$e(Oe,void 0)},Ve=(Oe,Fe,ze)=>{const{load:Ue}=pe.props;Ue&&!oe.value[Fe].loaded&&(oe.value[Fe].loading=!0,Ue(Oe,ze,qe=>{if(!Array.isArray(qe))throw new TypeError("[ElTable] data must be an array");oe.value[Fe].loading=!1,oe.value[Fe].loaded=!0,oe.value[Fe].expanded=!0,qe.length&&(le.value[Fe]=qe),pe.emit("expand-change",Oe,!0)}))};return{loadData:Ve,loadOrToggle:Ne,toggleTreeExpansion:$e,updateTreeExpandKeys:Ie,updateTreeData:Ce,normalize:xe,states:{expandRowKeys:j,treeData:oe,indent:ae,lazy:ie,lazyTreeNodeMap:le,lazyColumnIdentifier:de,childrenColumnName:ue}}}const sortData=($,j)=>{const oe=j.sortingColumn;return!oe||typeof oe.sortable=="string"?$:orderBy$4($,j.sortProp,j.sortOrder,oe.sortMethod,oe.sortBy)},doFlattenColumns=$=>{const j=[];return $.forEach(oe=>{oe.children?j.push.apply(j,doFlattenColumns(oe.children)):j.push(oe)}),j};function useWatcher$1(){var $;const j=getCurrentInstance(),{size:oe}=toRefs(($=j.proxy)==null?void 0:$.$props),ae=ref(null),ie=ref([]),le=ref([]),de=ref(!1),ue=ref([]),pe=ref([]),he=ref([]),_e=ref([]),xe=ref([]),Ce=ref([]),Ie=ref([]),$e=ref([]),Ne=[],Ve=ref(0),Oe=ref(0),Fe=ref(0),ze=ref(!1),Ue=ref([]),qe=ref(!1),hn=ref(!1),vn=ref(null),bn=ref({}),_n=ref(null),kn=ref(null),xn=ref(null),$n=ref(null),Cn=ref(null);watch(ie,()=>j.state&&wn(!1),{deep:!0});const En=()=>{if(!ae.value)throw new Error("[ElTable] prop row-key is required")},Nn=fo=>{var vo;(vo=fo.children)==null||vo.forEach(Jn=>{Jn.fixed=fo.fixed,Nn(Jn)})},Sn=()=>{ue.value.forEach($o=>{Nn($o)}),_e.value=ue.value.filter($o=>$o.fixed===!0||$o.fixed==="left"),xe.value=ue.value.filter($o=>$o.fixed==="right"),_e.value.length>0&&ue.value[0]&&ue.value[0].type==="selection"&&!ue.value[0].fixed&&(ue.value[0].fixed=!0,_e.value.unshift(ue.value[0]));const fo=ue.value.filter($o=>!$o.fixed);pe.value=[].concat(_e.value).concat(fo).concat(xe.value);const vo=doFlattenColumns(fo),Jn=doFlattenColumns(_e.value),co=doFlattenColumns(xe.value);Ve.value=vo.length,Oe.value=Jn.length,Fe.value=co.length,he.value=[].concat(Jn).concat(vo).concat(co),de.value=_e.value.length>0||xe.value.length>0},wn=(fo,vo=!1)=>{fo&&Sn(),vo?j.state.doLayout():j.state.debouncedUpdateLayout()},On=fo=>Ue.value.includes(fo),Tn=()=>{ze.value=!1,Ue.value.length&&(Ue.value=[],j.emit("selection-change",[]))},In=()=>{let fo;if(ae.value){fo=[];const vo=getKeysMap(Ue.value,ae.value),Jn=getKeysMap(ie.value,ae.value);for(const co in vo)hasOwn$1(vo,co)&&!Jn[co]&&fo.push(vo[co].row)}else fo=Ue.value.filter(vo=>!ie.value.includes(vo));if(fo.length){const vo=Ue.value.filter(Jn=>!fo.includes(Jn));Ue.value=vo,j.emit("selection-change",vo.slice())}},Bn=()=>(Ue.value||[]).slice(),Dn=(fo,vo=void 0,Jn=!0)=>{if(toggleRowStatus(Ue.value,fo,vo)){const $o=(Ue.value||[]).slice();Jn&&j.emit("select",$o,fo),j.emit("selection-change",$o)}},Xn=()=>{var fo,vo;const Jn=hn.value?!ze.value:!(ze.value||Ue.value.length);ze.value=Jn;let co=!1,$o=0;const No=(vo=(fo=j==null?void 0:j.store)==null?void 0:fo.states)==null?void 0:vo.rowKey.value;ie.value.forEach((jo,wo)=>{const Kn=wo+$o;vn.value?vn.value.call(null,jo,Kn)&&toggleRowStatus(Ue.value,jo,Jn)&&(co=!0):toggleRowStatus(Ue.value,jo,Jn)&&(co=!0),$o+=Yn(getRowIdentity(jo,No))}),co&&j.emit("selection-change",Ue.value?Ue.value.slice():[]),j.emit("select-all",Ue.value)},Zn=()=>{const fo=getKeysMap(Ue.value,ae.value);ie.value.forEach(vo=>{const Jn=getRowIdentity(vo,ae.value),co=fo[Jn];co&&(Ue.value[co.index]=vo)})},Fn=()=>{var fo,vo,Jn;if(((fo=ie.value)==null?void 0:fo.length)===0){ze.value=!1;return}let co;ae.value&&(co=getKeysMap(Ue.value,ae.value));const $o=function(Kn){return co?!!co[getRowIdentity(Kn,ae.value)]:Ue.value.includes(Kn)};let No=!0,jo=0,wo=0;for(let Kn=0,zo=(ie.value||[]).length;Kn{var vo;if(!j||!j.store)return 0;const{treeData:Jn}=j.store.states;let co=0;const $o=(vo=Jn.value[fo])==null?void 0:vo.children;return $o&&(co+=$o.length,$o.forEach(No=>{co+=Yn(No)})),co},qn=(fo,vo)=>{Array.isArray(fo)||(fo=[fo]);const Jn={};return fo.forEach(co=>{bn.value[co.id]=vo,Jn[co.columnKey||co.id]=vo}),Jn},Vn=(fo,vo,Jn)=>{kn.value&&kn.value!==fo&&(kn.value.order=null),kn.value=fo,xn.value=vo,$n.value=Jn},eo=()=>{let fo=unref(le);Object.keys(bn.value).forEach(vo=>{const Jn=bn.value[vo];if(!Jn||Jn.length===0)return;const co=getColumnById({columns:he.value},vo);co&&co.filterMethod&&(fo=fo.filter($o=>Jn.some(No=>co.filterMethod.call(null,No,$o,co))))}),_n.value=fo},ho=()=>{ie.value=sortData(_n.value,{sortingColumn:kn.value,sortProp:xn.value,sortOrder:$n.value})},So=(fo=void 0)=>{fo&&fo.filter||eo(),ho()},Ln=fo=>{const{tableHeaderRef:vo}=j.refs;if(!vo)return;const Jn=Object.assign({},vo.filterPanels),co=Object.keys(Jn);if(co.length)if(typeof fo=="string"&&(fo=[fo]),Array.isArray(fo)){const $o=fo.map(No=>getColumnByKey({columns:he.value},No));co.forEach(No=>{const jo=$o.find(wo=>wo.id===No);jo&&(jo.filteredValue=[])}),j.store.commit("filterChange",{column:$o,values:[],silent:!0,multi:!0})}else co.forEach($o=>{const No=he.value.find(jo=>jo.id===$o);No&&(No.filteredValue=[])}),bn.value={},j.store.commit("filterChange",{column:{},values:[],silent:!0})},Rn=()=>{kn.value&&(Vn(null,null,null),j.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Gn,toggleRowExpansion:no,updateExpandRows:bo,states:Wn,isRowExpanded:lo}=useExpand({data:ie,rowKey:ae}),{updateTreeExpandKeys:Qn,toggleTreeExpansion:ro,updateTreeData:Hn,loadOrToggle:uo,states:so}=useTree$2({data:ie,rowKey:ae}),{updateCurrentRowData:yo,updateCurrentRow:to,setCurrentRowKey:go,states:_o}=useCurrent({data:ie,rowKey:ae});return{assertRowKey:En,updateColumns:Sn,scheduleLayout:wn,isSelected:On,clearSelection:Tn,cleanSelection:In,getSelectionRows:Bn,toggleRowSelection:Dn,_toggleAllSelection:Xn,toggleAllSelection:null,updateSelectionByRowKey:Zn,updateAllSelected:Fn,updateFilters:qn,updateCurrentRow:to,updateSort:Vn,execFilter:eo,execSort:ho,execQuery:So,clearFilter:Ln,clearSort:Rn,toggleRowExpansion:no,setExpandRowKeysAdapter:fo=>{Gn(fo),Qn(fo)},setCurrentRowKey:go,toggleRowExpansionAdapter:(fo,vo)=>{he.value.some(({type:co})=>co==="expand")?no(fo,vo):ro(fo,vo)},isRowExpanded:lo,updateExpandRows:bo,updateCurrentRowData:yo,loadOrToggle:uo,updateTreeData:Hn,states:{tableSize:oe,rowKey:ae,data:ie,_data:le,isComplex:de,_columns:ue,originColumns:pe,columns:he,fixedColumns:_e,rightFixedColumns:xe,leafColumns:Ce,fixedLeafColumns:Ie,rightFixedLeafColumns:$e,updateOrderFns:Ne,leafColumnsLength:Ve,fixedLeafColumnsLength:Oe,rightFixedLeafColumnsLength:Fe,isAllSelected:ze,selection:Ue,reserveSelection:qe,selectOnIndeterminate:hn,selectable:vn,filters:bn,filteredData:_n,sortingColumn:kn,sortProp:xn,sortOrder:$n,hoverRow:Cn,...Wn,...so,..._o}}}function replaceColumn($,j){return $.map(oe=>{var ae;return oe.id===j.id?j:((ae=oe.children)!=null&&ae.length&&(oe.children=replaceColumn(oe.children,j)),oe)})}function sortColumn($){$.forEach(j=>{var oe,ae;j.no=(oe=j.getColumnIndex)==null?void 0:oe.call(j),(ae=j.children)!=null&&ae.length&&sortColumn(j.children)}),$.sort((j,oe)=>j.no-oe.no)}function useStore(){const $=getCurrentInstance(),j=useWatcher$1();return{ns:useNamespace("table"),...j,mutations:{setData(de,ue){const pe=unref(de._data)!==ue;de.data.value=ue,de._data.value=ue,$.store.execQuery(),$.store.updateCurrentRowData(),$.store.updateExpandRows(),$.store.updateTreeData($.store.states.defaultExpandAll.value),unref(de.reserveSelection)?($.store.assertRowKey(),$.store.updateSelectionByRowKey()):pe?$.store.clearSelection():$.store.cleanSelection(),$.store.updateAllSelected(),$.$ready&&$.store.scheduleLayout()},insertColumn(de,ue,pe,he){const _e=unref(de._columns);let xe=[];pe?(pe&&!pe.children&&(pe.children=[]),pe.children.push(ue),xe=replaceColumn(_e,pe)):(_e.push(ue),xe=_e),sortColumn(xe),de._columns.value=xe,de.updateOrderFns.push(he),ue.type==="selection"&&(de.selectable.value=ue.selectable,de.reserveSelection.value=ue.reserveSelection),$.$ready&&($.store.updateColumns(),$.store.scheduleLayout())},updateColumnOrder(de,ue){var pe;((pe=ue.getColumnIndex)==null?void 0:pe.call(ue))!==ue.no&&(sortColumn(de._columns.value),$.$ready&&$.store.updateColumns())},removeColumn(de,ue,pe,he){const _e=unref(de._columns)||[];if(pe)pe.children.splice(pe.children.findIndex(Ce=>Ce.id===ue.id),1),nextTick(()=>{var Ce;((Ce=pe.children)==null?void 0:Ce.length)===0&&delete pe.children}),de._columns.value=replaceColumn(_e,pe);else{const Ce=_e.indexOf(ue);Ce>-1&&(_e.splice(Ce,1),de._columns.value=_e)}const xe=de.updateOrderFns.indexOf(he);xe>-1&&de.updateOrderFns.splice(xe,1),$.$ready&&($.store.updateColumns(),$.store.scheduleLayout())},sort(de,ue){const{prop:pe,order:he,init:_e}=ue;if(pe){const xe=unref(de.columns).find(Ce=>Ce.property===pe);xe&&(xe.order=he,$.store.updateSort(xe,pe,he),$.store.commit("changeSortCondition",{init:_e}))}},changeSortCondition(de,ue){const{sortingColumn:pe,sortProp:he,sortOrder:_e}=de,xe=unref(pe),Ce=unref(he),Ie=unref(_e);Ie===null&&(de.sortingColumn.value=null,de.sortProp.value=null);const $e={filter:!0};$.store.execQuery($e),(!ue||!(ue.silent||ue.init))&&$.emit("sort-change",{column:xe,prop:Ce,order:Ie}),$.store.updateTableScrollY()},filterChange(de,ue){const{column:pe,values:he,silent:_e}=ue,xe=$.store.updateFilters(pe,he);$.store.execQuery(),_e||$.emit("filter-change",xe),$.store.updateTableScrollY()},toggleAllSelection(){$.store.toggleAllSelection()},rowSelectedChanged(de,ue){$.store.toggleRowSelection(ue),$.store.updateAllSelected()},setHoverRow(de,ue){de.hoverRow.value=ue},setCurrentRow(de,ue){$.store.updateCurrentRow(ue)}},commit:function(de,...ue){const pe=$.store.mutations;if(pe[de])pe[de].apply($,[$.store.states].concat(ue));else throw new Error(`Action not found: ${de}`)},updateTableScrollY:function(){nextTick(()=>$.layout.updateScrollY.apply($.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"}};function createStore($,j){if(!$)throw new Error("Table is required.");const oe=useStore();return oe.toggleAllSelection=debounce$2(oe._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(ae=>{handleValue(getArrKeysValue(j,ae),ae,oe)}),proxyTableProps(oe,j),oe}function proxyTableProps($,j){Object.keys(InitialStateMap).forEach(oe=>{watch(()=>getArrKeysValue(j,oe),ae=>{handleValue(ae,oe,$)})})}function handleValue($,j,oe){let ae=$,ie=InitialStateMap[j];typeof InitialStateMap[j]=="object"&&(ie=ie.key,ae=ae||InitialStateMap[j].default),oe.states[ie].value=ae}function getArrKeysValue($,j){if(j.includes(".")){const oe=j.split(".");let ae=$;return oe.forEach(ie=>{ae=ae[ie]}),ae}else return $[j]}class TableLayout{constructor(j){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 oe in j)hasOwn$1(j,oe)&&(isRef(this[oe])?this[oe].value=j[oe]:this[oe]=j[oe]);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(this.height.value===null)return!1;const oe=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(oe!=null&&oe.wrapRef)){let ae=!0;const ie=this.scrollY.value;return ae=oe.wrapRef.scrollHeight>oe.wrapRef.clientHeight,this.scrollY.value=ae,ie!==ae}return!1}setHeight(j,oe="height"){if(!isClient)return;const ae=this.table.vnode.el;if(j=parseHeight(j),this.height.value=Number(j),!ae&&(j||j===0))return nextTick(()=>this.setHeight(j,oe));typeof j=="number"?(ae.style[oe]=`${j}px`,this.updateElsHeight()):typeof j=="string"&&(ae.style[oe]=j,this.updateElsHeight())}setMaxHeight(j){this.setHeight(j,"max-height")}getFlattenColumns(){const j=[];return this.table.store.states.columns.value.forEach(ae=>{ae.isColumnGroup?j.push.apply(j,ae.columns):j.push(ae)}),j}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(j){if(!j)return!0;let oe=j;for(;oe.tagName!=="DIV";){if(getComputedStyle(oe).display==="none")return!0;oe=oe.parentElement}return!1}updateColumnsWidth(){if(!isClient)return;const j=this.fit,oe=this.table.vnode.el.clientWidth;let ae=0;const ie=this.getFlattenColumns(),le=ie.filter(pe=>typeof pe.width!="number");if(ie.forEach(pe=>{typeof pe.width=="number"&&pe.realWidth&&(pe.realWidth=null)}),le.length>0&&j){if(ie.forEach(pe=>{ae+=Number(pe.width||pe.minWidth||80)}),ae<=oe){this.scrollX.value=!1;const pe=oe-ae;if(le.length===1)le[0].realWidth=Number(le[0].minWidth||80)+pe;else{const he=le.reduce((Ce,Ie)=>Ce+Number(Ie.minWidth||80),0),_e=pe/he;let xe=0;le.forEach((Ce,Ie)=>{if(Ie===0)return;const $e=Math.floor(Number(Ce.minWidth||80)*_e);xe+=$e,Ce.realWidth=Number(Ce.minWidth||80)+$e}),le[0].realWidth=Number(le[0].minWidth||80)+pe-xe}}else this.scrollX.value=!0,le.forEach(pe=>{pe.realWidth=Number(pe.minWidth)});this.bodyWidth.value=Math.max(ae,oe),this.table.state.resizeState.value.width=this.bodyWidth.value}else ie.forEach(pe=>{!pe.width&&!pe.minWidth?pe.realWidth=80:pe.realWidth=Number(pe.width||pe.minWidth),ae+=pe.realWidth}),this.scrollX.value=ae>oe,this.bodyWidth.value=ae;const de=this.store.states.fixedColumns.value;if(de.length>0){let pe=0;de.forEach(he=>{pe+=Number(he.realWidth||he.width)}),this.fixedWidth.value=pe}const ue=this.store.states.rightFixedColumns.value;if(ue.length>0){let pe=0;ue.forEach(he=>{pe+=Number(he.realWidth||he.width)}),this.rightFixedWidth.value=pe}this.notifyObservers("columns")}addObserver(j){this.observers.push(j)}removeObserver(j){const oe=this.observers.indexOf(j);oe!==-1&&this.observers.splice(oe,1)}notifyObservers(j){this.observers.forEach(ae=>{var ie,le;switch(j){case"columns":(ie=ae.state)==null||ie.onColumnsChange(this);break;case"scrollable":(le=ae.state)==null||le.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${j}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$y=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox,ElCheckboxGroup,ElScrollbar,ElTooltip,ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},directives:{ClickOutside},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup($){const j=getCurrentInstance(),{t:oe}=useLocale(),ae=useNamespace("table-filter"),ie=j==null?void 0:j.parent;ie.filterPanels.value[$.column.id]||(ie.filterPanels.value[$.column.id]=j);const le=ref(!1),de=ref(null),ue=computed(()=>$.column&&$.column.filters),pe=computed({get:()=>{var Ue;return(((Ue=$.column)==null?void 0:Ue.filteredValue)||[])[0]},set:Ue=>{he.value&&(typeof Ue<"u"&&Ue!==null?he.value.splice(0,1,Ue):he.value.splice(0,1))}}),he=computed({get(){return $.column?$.column.filteredValue||[]:[]},set(Ue){$.column&&$.upDataColumn("filteredValue",Ue)}}),_e=computed(()=>$.column?$.column.filterMultiple:!0),xe=Ue=>Ue.value===pe.value,Ce=()=>{le.value=!1},Ie=Ue=>{Ue.stopPropagation(),le.value=!le.value},$e=()=>{le.value=!1},Ne=()=>{Fe(he.value),Ce()},Ve=()=>{he.value=[],Fe(he.value),Ce()},Oe=Ue=>{pe.value=Ue,Fe(typeof Ue<"u"&&Ue!==null?he.value:[]),Ce()},Fe=Ue=>{$.store.commit("filterChange",{column:$.column,values:Ue}),$.store.updateAllSelected()};watch(le,Ue=>{$.column&&$.upDataColumn("filterOpened",Ue)},{immediate:!0});const ze=computed(()=>{var Ue,qe;return(qe=(Ue=de.value)==null?void 0:Ue.popperRef)==null?void 0:qe.contentRef});return{tooltipVisible:le,multiple:_e,filteredValue:he,filterValue:pe,filters:ue,handleConfirm:Ne,handleReset:Ve,handleSelect:Oe,isActive:xe,t:oe,ns:ae,showFilterPanel:Ie,hideFilterPanel:$e,popperPaneRef:ze,tooltip:de}}}),_hoisted_1$h={key:0},_hoisted_2$b=["disabled"],_hoisted_3$6=["label","onClick"];function _sfc_render$4($,j,oe,ae,ie,le){const de=resolveComponent("el-checkbox"),ue=resolveComponent("el-checkbox-group"),pe=resolveComponent("el-scrollbar"),he=resolveComponent("arrow-up"),_e=resolveComponent("arrow-down"),xe=resolveComponent("el-icon"),Ce=resolveComponent("el-tooltip"),Ie=resolveDirective("click-outside");return openBlock(),createBlock(Ce,{ref:"tooltip",visible:$.tooltipVisible,offset:0,placement:$.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":$.ns.b(),persistent:""},{content:withCtx(()=>[$.multiple?(openBlock(),createElementBlock("div",_hoisted_1$h,[createBaseVNode("div",{class:normalizeClass($.ns.e("content"))},[createVNode(pe,{"wrap-class":$.ns.e("wrap")},{default:withCtx(()=>[createVNode(ue,{modelValue:$.filteredValue,"onUpdate:modelValue":j[0]||(j[0]=$e=>$.filteredValue=$e),class:normalizeClass($.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList($.filters,$e=>(openBlock(),createBlock(de,{key:$e.value,label:$e.value},{default:withCtx(()=>[createTextVNode(toDisplayString$1($e.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass($.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[$.ns.is("disabled")]:$.filteredValue.length===0}),disabled:$.filteredValue.length===0,type:"button",onClick:j[1]||(j[1]=(...$e)=>$.handleConfirm&&$.handleConfirm(...$e))},toDisplayString$1($.t("el.table.confirmFilter")),11,_hoisted_2$b),createBaseVNode("button",{type:"button",onClick:j[2]||(j[2]=(...$e)=>$.handleReset&&$.handleReset(...$e))},toDisplayString$1($.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass($.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([$.ns.e("list-item"),{[$.ns.is("active")]:$.filterValue===void 0||$.filterValue===null}]),onClick:j[3]||(j[3]=$e=>$.handleSelect(null))},toDisplayString$1($.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList($.filters,$e=>(openBlock(),createElementBlock("li",{key:$e.value,class:normalizeClass([$.ns.e("list-item"),$.ns.is("active",$.isActive($e))]),label:$e.value,onClick:Ne=>$.handleSelect($e.value)},toDisplayString$1($e.text),11,_hoisted_3$6))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${$.ns.namespace.value}-table__column-filter-trigger`,`${$.ns.namespace.value}-none-outline`]),onClick:j[4]||(j[4]=(...$e)=>$.showFilterPanel&&$.showFilterPanel(...$e))},[createVNode(xe,null,{default:withCtx(()=>[$.column.filterOpened?(openBlock(),createBlock(he,{key:0})):(openBlock(),createBlock(_e,{key:1}))]),_:1})],2)),[[Ie,$.hideFilterPanel,$.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$1(_sfc_main$y,[["render",_sfc_render$4],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function useLayoutObserver($){const j=getCurrentInstance();onBeforeMount(()=>{oe.value.addObserver(j)}),onMounted(()=>{ae(oe.value),ie(oe.value)}),onUpdated(()=>{ae(oe.value),ie(oe.value)}),onUnmounted(()=>{oe.value.removeObserver(j)});const oe=computed(()=>{const le=$.layout;if(!le)throw new Error("Can not find table layout.");return le}),ae=le=>{var de;const ue=((de=$.vnode.el)==null?void 0:de.querySelectorAll("colgroup > col"))||[];if(!ue.length)return;const pe=le.getFlattenColumns(),he={};pe.forEach(_e=>{he[_e.id]=_e});for(let _e=0,xe=ue.length;_e{var de,ue;const pe=((de=$.vnode.el)==null?void 0:de.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let _e=0,xe=pe.length;_e{Ne.stopPropagation()},le=(Ne,Ve)=>{!Ve.filters&&Ve.sortable?$e(Ne,Ve,!1):Ve.filterable&&!Ve.sortable&&ie(Ne),ae==null||ae.emit("header-click",Ve,Ne)},de=(Ne,Ve)=>{ae==null||ae.emit("header-contextmenu",Ve,Ne)},ue=ref(null),pe=ref(!1),he=ref({}),_e=(Ne,Ve)=>{if(isClient&&!(Ve.children&&Ve.children.length>0)&&ue.value&&$.border){pe.value=!0;const Oe=ae;j("set-drag-visible",!0);const ze=(Oe==null?void 0:Oe.vnode.el).getBoundingClientRect().left,Ue=oe.vnode.el.querySelector(`th.${Ve.id}`),qe=Ue.getBoundingClientRect(),hn=qe.left-ze+30;addClass$1(Ue,"noclick"),he.value={startMouseLeft:Ne.clientX,startLeft:qe.right-ze,startColumnLeft:qe.left-ze,tableLeft:ze};const vn=Oe==null?void 0:Oe.refs.resizeProxy;vn.style.left=`${he.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const bn=kn=>{const xn=kn.clientX-he.value.startMouseLeft,$n=he.value.startLeft+xn;vn.style.left=`${Math.max(hn,$n)}px`},_n=()=>{if(pe.value){const{startColumnLeft:kn,startLeft:xn}=he.value,Cn=Number.parseInt(vn.style.left,10)-kn;Ve.width=Ve.realWidth=Cn,Oe==null||Oe.emit("header-dragend",Ve.width,xn-kn,Ve,Ne),requestAnimationFrame(()=>{$.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",pe.value=!1,ue.value=null,he.value={},j("set-drag-visible",!1)}document.removeEventListener("mousemove",bn),document.removeEventListener("mouseup",_n),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass$1(Ue,"noclick")},0)};document.addEventListener("mousemove",bn),document.addEventListener("mouseup",_n)}},xe=(Ne,Ve)=>{var Oe;if(Ve.children&&Ve.children.length>0)return;const Fe=(Oe=Ne.target)==null?void 0:Oe.closest("th");if(!(!Ve||!Ve.resizable)&&!pe.value&&$.border){const ze=Fe.getBoundingClientRect(),Ue=document.body.style;ze.width>12&&ze.right-Ne.pageX<8?(Ue.cursor="col-resize",hasClass$1(Fe,"is-sortable")&&(Fe.style.cursor="col-resize"),ue.value=Ve):pe.value||(Ue.cursor="",hasClass$1(Fe,"is-sortable")&&(Fe.style.cursor="pointer"),ue.value=null)}},Ce=()=>{isClient&&(document.body.style.cursor="")},Ie=({order:Ne,sortOrders:Ve})=>{if(Ne==="")return Ve[0];const Oe=Ve.indexOf(Ne||null);return Ve[Oe>Ve.length-2?0:Oe+1]},$e=(Ne,Ve,Oe)=>{var Fe;Ne.stopPropagation();const ze=Ve.order===Oe?null:Oe||Ie(Ve),Ue=(Fe=Ne.target)==null?void 0:Fe.closest("th");if(Ue&&hasClass$1(Ue,"noclick")){removeClass$1(Ue,"noclick");return}if(!Ve.sortable)return;const qe=$.store.states;let hn=qe.sortProp.value,vn;const bn=qe.sortingColumn.value;(bn!==Ve||bn===Ve&&bn.order===null)&&(bn&&(bn.order=null),qe.sortingColumn.value=Ve,hn=Ve.property),ze?vn=Ve.order=ze:vn=Ve.order=null,qe.sortProp.value=hn,qe.sortOrder.value=vn,ae==null||ae.store.commit("changeSortCondition")};return{handleHeaderClick:le,handleHeaderContextMenu:de,handleMouseDown:_e,handleMouseMove:xe,handleMouseOut:Ce,handleSortClick:$e,handleFilterClick:ie}}function useStyle$2($){const j=inject(TABLE_INJECTION_KEY),oe=useNamespace("table");return{getHeaderRowStyle:ue=>{const pe=j==null?void 0:j.props.headerRowStyle;return typeof pe=="function"?pe.call(null,{rowIndex:ue}):pe},getHeaderRowClass:ue=>{const pe=[],he=j==null?void 0:j.props.headerRowClassName;return typeof he=="string"?pe.push(he):typeof he=="function"&&pe.push(he.call(null,{rowIndex:ue})),pe.join(" ")},getHeaderCellStyle:(ue,pe,he,_e)=>{var xe;let Ce=(xe=j==null?void 0:j.props.headerCellStyle)!=null?xe:{};typeof Ce=="function"&&(Ce=Ce.call(null,{rowIndex:ue,columnIndex:pe,row:he,column:_e}));const Ie=getFixedColumnOffset(pe,_e.fixed,$.store,he);return ensurePosition(Ie,"left"),ensurePosition(Ie,"right"),Object.assign({},Ce,Ie)},getHeaderCellClass:(ue,pe,he,_e)=>{const xe=getFixedColumnsClass(oe.b(),pe,_e.fixed,$.store,he),Ce=[_e.id,_e.order,_e.headerAlign,_e.className,_e.labelClassName,...xe];_e.children||Ce.push("is-leaf"),_e.sortable&&Ce.push("is-sortable");const Ie=j==null?void 0:j.props.headerCellClassName;return typeof Ie=="string"?Ce.push(Ie):typeof Ie=="function"&&Ce.push(Ie.call(null,{rowIndex:ue,columnIndex:pe,row:he,column:_e})),Ce.push(oe.e("cell")),Ce.filter($e=>!!$e).join(" ")}}}const getAllColumns$1=$=>{const j=[];return $.forEach(oe=>{oe.children?(j.push(oe),j.push.apply(j,getAllColumns$1(oe.children))):j.push(oe)}),j},convertToRows$2=$=>{let j=1;const oe=(le,de)=>{if(de&&(le.level=de.level+1,j{oe(pe,le),ue+=pe.colSpan}),le.colSpan=ue}else le.colSpan=1};$.forEach(le=>{le.level=1,oe(le,void 0)});const ae=[];for(let le=0;le{le.children?(le.rowSpan=1,le.children.forEach(de=>de.isSubColumn=!0)):le.rowSpan=j-le.level+1,ae[le.level-1].push(le)}),ae};function useUtils$1($){const j=inject(TABLE_INJECTION_KEY),oe=computed(()=>convertToRows$2($.store.states.originColumns.value));return{isGroup:computed(()=>{const le=oe.value.length>1;return le&&j&&(j.state.isGroup.value=!0),le}),toggleAllSelection:le=>{le.stopPropagation(),j==null||j.store.commit("toggleAllSelection")},columnRows:oe}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup($,{emit:j}){const oe=getCurrentInstance(),ae=inject(TABLE_INJECTION_KEY),ie=useNamespace("table"),le=ref({}),{onColumnsChange:de,onScrollableChange:ue}=useLayoutObserver(ae);onMounted(async()=>{await nextTick(),await nextTick();const{prop:hn,order:vn}=$.defaultSort;ae==null||ae.store.commit("sort",{prop:hn,order:vn,init:!0})});const{handleHeaderClick:pe,handleHeaderContextMenu:he,handleMouseDown:_e,handleMouseMove:xe,handleMouseOut:Ce,handleSortClick:Ie,handleFilterClick:$e}=useEvent($,j),{getHeaderRowStyle:Ne,getHeaderRowClass:Ve,getHeaderCellStyle:Oe,getHeaderCellClass:Fe}=useStyle$2($),{isGroup:ze,toggleAllSelection:Ue,columnRows:qe}=useUtils$1($);return oe.state={onColumnsChange:de,onScrollableChange:ue},oe.filterPanels=le,{ns:ie,filterPanels:le,onColumnsChange:de,onScrollableChange:ue,columnRows:qe,getHeaderRowClass:Ve,getHeaderRowStyle:Ne,getHeaderCellClass:Fe,getHeaderCellStyle:Oe,handleHeaderClick:pe,handleHeaderContextMenu:he,handleMouseDown:_e,handleMouseMove:xe,handleMouseOut:Ce,handleSortClick:Ie,handleFilterClick:$e,isGroup:ze,toggleAllSelection:Ue}},render(){const{ns:$,isGroup:j,columnRows:oe,getHeaderCellStyle:ae,getHeaderCellClass:ie,getHeaderRowClass:le,getHeaderRowStyle:de,handleHeaderClick:ue,handleHeaderContextMenu:pe,handleMouseDown:he,handleMouseMove:_e,handleSortClick:xe,handleMouseOut:Ce,store:Ie,$parent:$e}=this;let Ne=1;return h$2("thead",{class:{[$.is("group")]:j}},oe.map((Ve,Oe)=>h$2("tr",{class:le(Oe),key:Oe,style:de(Oe)},Ve.map((Fe,ze)=>(Fe.rowSpan>Ne&&(Ne=Fe.rowSpan),h$2("th",{class:ie(Oe,ze,Ve,Fe),colspan:Fe.colSpan,key:`${Fe.id}-thead`,rowspan:Fe.rowSpan,style:ae(Oe,ze,Ve,Fe),onClick:Ue=>ue(Ue,Fe),onContextmenu:Ue=>pe(Ue,Fe),onMousedown:Ue=>he(Ue,Fe),onMousemove:Ue=>_e(Ue,Fe),onMouseout:Ce},[h$2("div",{class:["cell",Fe.filteredValue&&Fe.filteredValue.length>0?"highlight":""]},[Fe.renderHeader?Fe.renderHeader({column:Fe,$index:ze,store:Ie,_self:$e}):Fe.label,Fe.sortable&&h$2("span",{onClick:Ue=>xe(Ue,Fe),class:"caret-wrapper"},[h$2("i",{onClick:Ue=>xe(Ue,Fe,"ascending"),class:"sort-caret ascending"}),h$2("i",{onClick:Ue=>xe(Ue,Fe,"descending"),class:"sort-caret descending"})]),Fe.filterable&&h$2(FilterPanel,{store:Ie,placement:Fe.filterPlacement||"bottom-start",column:Fe,upDataColumn:(Ue,qe)=>{Fe[Ue]=qe}})])]))))))}});function useEvents($){const j=inject(TABLE_INJECTION_KEY),oe=ref(""),ae=ref(h$2("div")),{nextZIndex:ie}=useZIndex(),le=(Ie,$e,Ne)=>{var Ve;const Oe=j,Fe=getCell(Ie);let ze;const Ue=(Ve=Oe==null?void 0:Oe.vnode.el)==null?void 0:Ve.dataset.prefix;Fe&&(ze=getColumnByCell({columns:$.store.states.columns.value},Fe,Ue),ze&&(Oe==null||Oe.emit(`cell-${Ne}`,$e,ze,Fe,Ie))),Oe==null||Oe.emit(`row-${Ne}`,$e,ze,Ie)},de=(Ie,$e)=>{le(Ie,$e,"dblclick")},ue=(Ie,$e)=>{$.store.commit("setCurrentRow",$e),le(Ie,$e,"click")},pe=(Ie,$e)=>{le(Ie,$e,"contextmenu")},he=debounce$2(Ie=>{$.store.commit("setHoverRow",Ie)},30),_e=debounce$2(()=>{$.store.commit("setHoverRow",null)},30);return{handleDoubleClick:de,handleClick:ue,handleContextMenu:pe,handleMouseEnter:he,handleMouseLeave:_e,handleCellMouseEnter:(Ie,$e,Ne)=>{var Ve;const Oe=j,Fe=getCell(Ie),ze=(Ve=Oe==null?void 0:Oe.vnode.el)==null?void 0:Ve.dataset.prefix;if(Fe){const bn=getColumnByCell({columns:$.store.states.columns.value},Fe,ze),_n=Oe.hoverState={cell:Fe,column:bn,row:$e};Oe==null||Oe.emit("cell-mouse-enter",_n.row,_n.column,_n.cell,Ie)}if(!Ne)return;const Ue=Ie.target.querySelector(".cell");if(!(hasClass$1(Ue,`${ze}-tooltip`)&&Ue.childNodes.length))return;const qe=document.createRange();qe.setStart(Ue,0),qe.setEnd(Ue,Ue.childNodes.length);const hn=Math.round(qe.getBoundingClientRect().width),vn=(Number.parseInt(getStyle(Ue,"paddingLeft"),10)||0)+(Number.parseInt(getStyle(Ue,"paddingRight"),10)||0);(hn+vn>Ue.offsetWidth||Ue.scrollWidth>Ue.offsetWidth)&&createTablePopper(j==null?void 0:j.refs.tableWrapper,Fe,Fe.innerText||Fe.textContent,ie,Ne)},handleCellMouseLeave:Ie=>{if(!getCell(Ie))return;const Ne=j==null?void 0:j.hoverState;j==null||j.emit("cell-mouse-leave",Ne==null?void 0:Ne.row,Ne==null?void 0:Ne.column,Ne==null?void 0:Ne.cell,Ie)},tooltipContent:oe,tooltipTrigger:ae}}function useStyles$1($){const j=inject(TABLE_INJECTION_KEY),oe=useNamespace("table");return{getRowStyle:(he,_e)=>{const xe=j==null?void 0:j.props.rowStyle;return typeof xe=="function"?xe.call(null,{row:he,rowIndex:_e}):xe||null},getRowClass:(he,_e)=>{const xe=[oe.e("row")];j!=null&&j.props.highlightCurrentRow&&he===$.store.states.currentRow.value&&xe.push("current-row"),$.stripe&&_e%2===1&&xe.push(oe.em("row","striped"));const Ce=j==null?void 0:j.props.rowClassName;return typeof Ce=="string"?xe.push(Ce):typeof Ce=="function"&&xe.push(Ce.call(null,{row:he,rowIndex:_e})),xe},getCellStyle:(he,_e,xe,Ce)=>{const Ie=j==null?void 0:j.props.cellStyle;let $e=Ie??{};typeof Ie=="function"&&($e=Ie.call(null,{rowIndex:he,columnIndex:_e,row:xe,column:Ce}));const Ne=getFixedColumnOffset(_e,$==null?void 0:$.fixed,$.store);return ensurePosition(Ne,"left"),ensurePosition(Ne,"right"),Object.assign({},$e,Ne)},getCellClass:(he,_e,xe,Ce,Ie)=>{const $e=getFixedColumnsClass(oe.b(),_e,$==null?void 0:$.fixed,$.store,void 0,Ie),Ne=[Ce.id,Ce.align,Ce.className,...$e],Ve=j==null?void 0:j.props.cellClassName;return typeof Ve=="string"?Ne.push(Ve):typeof Ve=="function"&&Ne.push(Ve.call(null,{rowIndex:he,columnIndex:_e,row:xe,column:Ce})),Ne.push(oe.e("cell")),Ne.filter(Oe=>!!Oe).join(" ")},getSpan:(he,_e,xe,Ce)=>{let Ie=1,$e=1;const Ne=j==null?void 0:j.props.spanMethod;if(typeof Ne=="function"){const Ve=Ne({row:he,column:_e,rowIndex:xe,columnIndex:Ce});Array.isArray(Ve)?(Ie=Ve[0],$e=Ve[1]):typeof Ve=="object"&&(Ie=Ve.rowspan,$e=Ve.colspan)}return{rowspan:Ie,colspan:$e}},getColspanRealWidth:(he,_e,xe)=>{if(_e<1)return he[xe].realWidth;const Ce=he.map(({realWidth:Ie,width:$e})=>Ie||$e).slice(xe,xe+_e);return Number(Ce.reduce((Ie,$e)=>Number(Ie)+Number($e),-1))}}}function useRender$1($){const j=inject(TABLE_INJECTION_KEY),oe=useNamespace("table"),{handleDoubleClick:ae,handleClick:ie,handleContextMenu:le,handleMouseEnter:de,handleMouseLeave:ue,handleCellMouseEnter:pe,handleCellMouseLeave:he,tooltipContent:_e,tooltipTrigger:xe}=useEvents($),{getRowStyle:Ce,getRowClass:Ie,getCellStyle:$e,getCellClass:Ne,getSpan:Ve,getColspanRealWidth:Oe}=useStyles$1($),Fe=computed(()=>$.store.states.columns.value.findIndex(({type:vn})=>vn==="default")),ze=(vn,bn)=>{const _n=j.props.rowKey;return _n?getRowIdentity(vn,_n):bn},Ue=(vn,bn,_n,kn=!1)=>{const{tooltipEffect:xn,tooltipOptions:$n,store:Cn}=$,{indent:En,columns:Nn}=Cn.states,Sn=Ie(vn,bn);let wn=!0;return _n&&(Sn.push(oe.em("row",`level-${_n.level}`)),wn=_n.display),h$2("tr",{style:[wn?null:{display:"none"},Ce(vn,bn)],class:Sn,key:ze(vn,bn),onDblclick:Tn=>ae(Tn,vn),onClick:Tn=>ie(Tn,vn),onContextmenu:Tn=>le(Tn,vn),onMouseenter:()=>de(bn),onMouseleave:ue},Nn.value.map((Tn,In)=>{const{rowspan:Bn,colspan:Dn}=Ve(vn,Tn,bn,In);if(!Bn||!Dn)return null;const Xn={...Tn};Xn.realWidth=Oe(Nn.value,Dn,In);const Zn={store:$.store,_self:$.context||j,column:Xn,row:vn,$index:bn,cellIndex:In,expanded:kn};In===Fe.value&&_n&&(Zn.treeNode={indent:_n.level*En.value,level:_n.level},typeof _n.expanded=="boolean"&&(Zn.treeNode.expanded=_n.expanded,"loading"in _n&&(Zn.treeNode.loading=_n.loading),"noLazyChildren"in _n&&(Zn.treeNode.noLazyChildren=_n.noLazyChildren)));const Fn=`${bn},${In}`,Yn=Xn.columnKey||Xn.rawColumnKey||"",qn=qe(In,Tn,Zn),Vn=Tn.showOverflowTooltip&&merge$4({effect:xn},$n,Tn.showOverflowTooltip);return h$2("td",{style:$e(bn,In,vn,Tn),class:Ne(bn,In,vn,Tn,Dn-1),key:`${Yn}${Fn}`,rowspan:Bn,colspan:Dn,onMouseenter:eo=>pe(eo,vn,Vn),onMouseleave:he},[qn])}))},qe=(vn,bn,_n)=>bn.renderCell(_n);return{wrappedRowRender:(vn,bn)=>{const _n=$.store,{isRowExpanded:kn,assertRowKey:xn}=_n,{treeData:$n,lazyTreeNodeMap:Cn,childrenColumnName:En,rowKey:Nn}=_n.states,Sn=_n.states.columns.value;if(Sn.some(({type:On})=>On==="expand")){const On=kn(vn),Tn=Ue(vn,bn,void 0,On),In=j.renderExpanded;return On?In?[[Tn,h$2("tr",{key:`expanded-row__${Tn.key}`},[h$2("td",{colspan:Sn.length,class:`${oe.e("cell")} ${oe.e("expanded-cell")}`},[In({row:vn,$index:bn,store:_n,expanded:On})])])]]:(console.error("[Element Error]renderExpanded is required."),Tn):[[Tn]]}else if(Object.keys($n.value).length){xn();const On=getRowIdentity(vn,Nn.value);let Tn=$n.value[On],In=null;Tn&&(In={expanded:Tn.expanded,level:Tn.level,display:!0},typeof Tn.lazy=="boolean"&&(typeof Tn.loaded=="boolean"&&Tn.loaded&&(In.noLazyChildren=!(Tn.children&&Tn.children.length)),In.loading=Tn.loading));const Bn=[Ue(vn,bn,In)];if(Tn){let Dn=0;const Xn=(Fn,Yn)=>{Fn&&Fn.length&&Yn&&Fn.forEach(qn=>{const Vn={display:Yn.display&&Yn.expanded,level:Yn.level+1,expanded:!1,noLazyChildren:!1,loading:!1},eo=getRowIdentity(qn,Nn.value);if(eo==null)throw new Error("For nested data item, row-key is required.");if(Tn={...$n.value[eo]},Tn&&(Vn.expanded=Tn.expanded,Tn.level=Tn.level||Vn.level,Tn.display=!!(Tn.expanded&&Vn.display),typeof Tn.lazy=="boolean"&&(typeof Tn.loaded=="boolean"&&Tn.loaded&&(Vn.noLazyChildren=!(Tn.children&&Tn.children.length)),Vn.loading=Tn.loading)),Dn++,Bn.push(Ue(qn,bn+Dn,Vn)),Tn){const ho=Cn.value[eo]||qn[En.value];Xn(ho,Tn)}})};Tn.display=!0;const Zn=Cn.value[On]||vn[En.value];Xn(Zn,Tn)}return Bn}else return Ue(vn,bn,void 0)},tooltipContent:_e,tooltipTrigger:xe}}const defaultProps$2={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$2,setup($){const j=getCurrentInstance(),oe=inject(TABLE_INJECTION_KEY),ae=useNamespace("table"),{wrappedRowRender:ie,tooltipContent:le,tooltipTrigger:de}=useRender$1($),{onColumnsChange:ue,onScrollableChange:pe}=useLayoutObserver(oe);return watch($.store.states.hoverRow,(he,_e)=>{if(!$.store.states.isComplex.value||!isClient)return;let xe=window.requestAnimationFrame;xe||(xe=Ce=>window.setTimeout(Ce,16)),xe(()=>{const Ce=j==null?void 0:j.vnode.el,Ie=Array.from((Ce==null?void 0:Ce.children)||[]).filter(Ve=>Ve==null?void 0:Ve.classList.contains(`${ae.e("row")}`)),$e=Ie[_e],Ne=Ie[he];$e&&removeClass$1($e,"hover-row"),Ne&&addClass$1(Ne,"hover-row")})}),onUnmounted(()=>{var he;(he=removePopper)==null||he()}),{ns:ae,onColumnsChange:ue,onScrollableChange:pe,wrappedRowRender:ie,tooltipContent:le,tooltipTrigger:de}},render(){const{wrappedRowRender:$,store:j}=this,oe=j.states.data.value||[];return h$2("tbody",{},[oe.reduce((ae,ie)=>ae.concat($(ie,ae.length)),[])])}});function hColgroup($){const j=$.tableLayout==="auto";let oe=$.columns||[];j&&oe.every(ie=>ie.width===void 0)&&(oe=[]);const ae=ie=>{const le={key:`${$.tableLayout}_${ie.id}`,style:{},name:void 0};return j?le.style={width:`${ie.width}px`}:le.name=ie.id,le};return h$2("colgroup",{},oe.map(ie=>h$2("col",ae(ie))))}hColgroup.props=["columns","tableLayout"];function useMapState(){const $=inject(TABLE_INJECTION_KEY),j=$==null?void 0:$.store,oe=computed(()=>j.states.fixedLeafColumnsLength.value),ae=computed(()=>j.states.rightFixedColumns.value.length),ie=computed(()=>j.states.columns.value.length),le=computed(()=>j.states.fixedColumns.value.length),de=computed(()=>j.states.rightFixedColumns.value.length);return{leftFixedLeafCount:oe,rightFixedLeafCount:ae,columnsCount:ie,leftFixedCount:le,rightFixedCount:de,columns:j.states.columns}}function useStyle$1($){const{columns:j}=useMapState(),oe=useNamespace("table");return{getCellClasses:(le,de)=>{const ue=le[de],pe=[oe.e("cell"),ue.id,ue.align,ue.labelClassName,...getFixedColumnsClass(oe.b(),de,ue.fixed,$.store)];return ue.className&&pe.push(ue.className),ue.children||pe.push(oe.is("leaf")),pe},getCellStyles:(le,de)=>{const ue=getFixedColumnOffset(de,le.fixed,$.store);return ensurePosition(ue,"left"),ensurePosition(ue,"right"),ue},columns:j}}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($){const{getCellClasses:j,getCellStyles:oe,columns:ae}=useStyle$1($);return{ns:useNamespace("table"),getCellClasses:j,getCellStyles:oe,columns:ae}},render(){const{columns:$,getCellStyles:j,getCellClasses:oe,summaryMethod:ae,sumText:ie,ns:le}=this,de=this.store.states.data.value;let ue=[];return ae?ue=ae({columns:$,data:de}):$.forEach((pe,he)=>{if(he===0){ue[he]=ie;return}const _e=de.map($e=>Number($e[pe.property])),xe=[];let Ce=!0;_e.forEach($e=>{if(!Number.isNaN(+$e)){Ce=!1;const Ne=`${$e}`.split(".")[1];xe.push(Ne?Ne.length:0)}});const Ie=Math.max.apply(null,xe);Ce?ue[he]="":ue[he]=_e.reduce(($e,Ne)=>{const Ve=Number(Ne);return Number.isNaN(+Ve)?$e:Number.parseFloat(($e+Ne).toFixed(Math.min(Ie,20)))},0)}),h$2("table",{class:le.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[hColgroup({columns:$}),h$2("tbody",[h$2("tr",{},[...$.map((pe,he)=>h$2("td",{key:he,colspan:pe.colSpan,rowspan:pe.rowSpan,class:oe($,he),style:j(pe,he)},[h$2("div",{class:["cell",pe.labelClassName]},[ue[he]])]))])])])}});function useUtils($){return{setCurrentRow:_e=>{$.commit("setCurrentRow",_e)},getSelectionRows:()=>$.getSelectionRows(),toggleRowSelection:(_e,xe)=>{$.toggleRowSelection(_e,xe,!1),$.updateAllSelected()},clearSelection:()=>{$.clearSelection()},clearFilter:_e=>{$.clearFilter(_e)},toggleAllSelection:()=>{$.commit("toggleAllSelection")},toggleRowExpansion:(_e,xe)=>{$.toggleRowExpansionAdapter(_e,xe)},clearSort:()=>{$.clearSort()},sort:(_e,xe)=>{$.commit("sort",{prop:_e,order:xe})}}}function useStyle($,j,oe,ae){const ie=ref(!1),le=ref(null),de=ref(!1),ue=On=>{de.value=On},pe=ref({width:null,height:null,headerHeight:null}),he=ref(!1),_e={display:"inline-block",verticalAlign:"middle"},xe=ref(),Ce=ref(0),Ie=ref(0),$e=ref(0),Ne=ref(0);watchEffect(()=>{j.setHeight($.height)}),watchEffect(()=>{j.setMaxHeight($.maxHeight)}),watch(()=>[$.currentRowKey,oe.states.rowKey],([On,Tn])=>{!unref(Tn)||!unref(On)||oe.setCurrentRowKey(`${On}`)},{immediate:!0}),watch(()=>$.data,On=>{ae.store.commit("setData",On)},{immediate:!0,deep:!0}),watchEffect(()=>{$.expandRowKeys&&oe.setExpandRowKeysAdapter($.expandRowKeys)});const Ve=()=>{ae.store.commit("setHoverRow",null),ae.hoverState&&(ae.hoverState=null)},Oe=(On,Tn)=>{const{pixelX:In,pixelY:Bn}=Tn;Math.abs(In)>=Math.abs(Bn)&&(ae.refs.bodyWrapper.scrollLeft+=Tn.pixelX/5)},Fe=computed(()=>$.height||$.maxHeight||oe.states.fixedColumns.value.length>0||oe.states.rightFixedColumns.value.length>0),ze=computed(()=>({width:j.bodyWidth.value?`${j.bodyWidth.value}px`:""})),Ue=()=>{Fe.value&&j.updateElsHeight(),j.updateColumnsWidth(),requestAnimationFrame(bn)};onMounted(async()=>{await nextTick(),oe.updateColumns(),_n(),requestAnimationFrame(Ue);const On=ae.vnode.el,Tn=ae.refs.headerWrapper;$.flexible&&On&&On.parentElement&&(On.parentElement.style.minWidth="0"),pe.value={width:xe.value=On.offsetWidth,height:On.offsetHeight,headerHeight:$.showHeader&&Tn?Tn.offsetHeight:null},oe.states.columns.value.forEach(In=>{In.filteredValue&&In.filteredValue.length&&ae.store.commit("filterChange",{column:In,values:In.filteredValue,silent:!0})}),ae.$ready=!0});const qe=(On,Tn)=>{if(!On)return;const In=Array.from(On.classList).filter(Bn=>!Bn.startsWith("is-scrolling-"));In.push(j.scrollX.value?Tn:"is-scrolling-none"),On.className=In.join(" ")},hn=On=>{const{tableWrapper:Tn}=ae.refs;qe(Tn,On)},vn=On=>{const{tableWrapper:Tn}=ae.refs;return!!(Tn&&Tn.classList.contains(On))},bn=function(){if(!ae.refs.scrollBarRef)return;if(!j.scrollX.value){const Fn="is-scrolling-none";vn(Fn)||hn(Fn);return}const On=ae.refs.scrollBarRef.wrapRef;if(!On)return;const{scrollLeft:Tn,offsetWidth:In,scrollWidth:Bn}=On,{headerWrapper:Dn,footerWrapper:Xn}=ae.refs;Dn&&(Dn.scrollLeft=Tn),Xn&&(Xn.scrollLeft=Tn);const Zn=Bn-In-1;Tn>=Zn?hn("is-scrolling-right"):hn(Tn===0?"is-scrolling-left":"is-scrolling-middle")},_n=()=>{ae.refs.scrollBarRef&&(ae.refs.scrollBarRef.wrapRef&&useEventListener(ae.refs.scrollBarRef.wrapRef,"scroll",bn,{passive:!0}),$.fit?useResizeObserver(ae.vnode.el,kn):useEventListener(window,"resize",kn),useResizeObserver(ae.refs.bodyWrapper,()=>{var On,Tn;kn(),(Tn=(On=ae.refs)==null?void 0:On.scrollBarRef)==null||Tn.update()}))},kn=()=>{var On,Tn,In;const Bn=ae.vnode.el;if(!ae.$ready||!Bn)return;let Dn=!1;const{width:Xn,height:Zn,headerHeight:Fn}=pe.value,Yn=xe.value=Bn.offsetWidth;Xn!==Yn&&(Dn=!0);const qn=Bn.offsetHeight;($.height||Fe.value)&&Zn!==qn&&(Dn=!0);const Vn=$.tableLayout==="fixed"?ae.refs.headerWrapper:(On=ae.refs.tableHeaderRef)==null?void 0:On.$el;$.showHeader&&(Vn==null?void 0:Vn.offsetHeight)!==Fn&&(Dn=!0),Ce.value=((Tn=ae.refs.tableWrapper)==null?void 0:Tn.scrollHeight)||0,$e.value=(Vn==null?void 0:Vn.scrollHeight)||0,Ne.value=((In=ae.refs.footerWrapper)==null?void 0:In.offsetHeight)||0,Ie.value=Ce.value-$e.value-Ne.value,Dn&&(pe.value={width:Yn,height:qn,headerHeight:$.showHeader&&(Vn==null?void 0:Vn.offsetHeight)||0},Ue())},xn=useFormSize(),$n=computed(()=>{const{bodyWidth:On,scrollY:Tn,gutterWidth:In}=j;return On.value?`${On.value-(Tn.value?In:0)}px`:""}),Cn=computed(()=>$.maxHeight?"fixed":$.tableLayout),En=computed(()=>{if($.data&&$.data.length)return null;let On="100%";$.height&&Ie.value&&(On=`${Ie.value}px`);const Tn=xe.value;return{width:Tn?`${Tn}px`:"",height:On}}),Nn=computed(()=>$.height?{height:Number.isNaN(Number($.height))?$.height:`${$.height}px`}:$.maxHeight?{maxHeight:Number.isNaN(Number($.maxHeight))?$.maxHeight:`${$.maxHeight}px`}:{}),Sn=computed(()=>{if($.height)return{height:"100%"};if($.maxHeight){if(Number.isNaN(Number($.maxHeight)))return{maxHeight:`calc(${$.maxHeight} - ${$e.value+Ne.value}px)`};{const On=$.maxHeight;if(Ce.value>=Number(On))return{maxHeight:`${Ce.value-$e.value-Ne.value}px`}}}return{}});return{isHidden:ie,renderExpanded:le,setDragVisible:ue,isGroup:he,handleMouseLeave:Ve,handleHeaderFooterMousewheel:Oe,tableSize:xn,emptyBlockStyle:En,handleFixedMousewheel:(On,Tn)=>{const In=ae.refs.bodyWrapper;if(Math.abs(Tn.spinY)>0){const Bn=In.scrollTop;Tn.pixelY<0&&Bn!==0&&On.preventDefault(),Tn.pixelY>0&&In.scrollHeight-In.clientHeight>Bn&&On.preventDefault(),In.scrollTop+=Math.ceil(Tn.pixelY/5)}else In.scrollLeft+=Math.ceil(Tn.pixelX/5)},resizeProxyVisible:de,bodyWidth:$n,resizeState:pe,doLayout:Ue,tableBodyStyles:ze,tableLayout:Cn,scrollbarViewStyle:_e,tableInnerStyle:Nn,scrollbarStyle:Sn}}function useKeyRender($){const j=ref(),oe=()=>{const ie=$.vnode.el.querySelector(".hidden-columns"),le={childList:!0,subtree:!0},de=$.store.states.updateOrderFns;j.value=new MutationObserver(()=>{de.forEach(ue=>ue())}),j.value.observe(ie,le)};onMounted(()=>{oe()}),onUnmounted(()=>{var ae;(ae=j.value)==null||ae.disconnect()})}var defaultProps$1={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"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean};const useScrollbar$1=()=>{const $=ref(),j=(le,de)=>{const ue=$.value;ue&&ue.scrollTo(le,de)},oe=(le,de)=>{const ue=$.value;ue&&isNumber$d(de)&&["Top","Left"].includes(le)&&ue[`setScroll${le}`](de)};return{scrollBarRef:$,scrollTo:j,setScrollTop:le=>oe("Top",le),setScrollLeft:le=>oe("Left",le)}};let tableIdSeed=1;const _sfc_main$x=defineComponent({name:"ElTable",directives:{Mousewheel},components:{TableHeader,TableBody,TableFooter,ElScrollbar,hColgroup},props:defaultProps$1,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"],setup($){const{t:j}=useLocale(),oe=useNamespace("table"),ae=getCurrentInstance();provide(TABLE_INJECTION_KEY,ae);const ie=createStore(ae,$);ae.store=ie;const le=new TableLayout({store:ae.store,table:ae,fit:$.fit,showHeader:$.showHeader});ae.layout=le;const de=computed(()=>(ie.states.data.value||[]).length===0),{setCurrentRow:ue,getSelectionRows:pe,toggleRowSelection:he,clearSelection:_e,clearFilter:xe,toggleAllSelection:Ce,toggleRowExpansion:Ie,clearSort:$e,sort:Ne}=useUtils(ie),{isHidden:Ve,renderExpanded:Oe,setDragVisible:Fe,isGroup:ze,handleMouseLeave:Ue,handleHeaderFooterMousewheel:qe,tableSize:hn,emptyBlockStyle:vn,handleFixedMousewheel:bn,resizeProxyVisible:_n,bodyWidth:kn,resizeState:xn,doLayout:$n,tableBodyStyles:Cn,tableLayout:En,scrollbarViewStyle:Nn,tableInnerStyle:Sn,scrollbarStyle:wn}=useStyle($,le,ie,ae),{scrollBarRef:On,scrollTo:Tn,setScrollLeft:In,setScrollTop:Bn}=useScrollbar$1(),Dn=debounce$2($n,50),Xn=`${oe.namespace.value}-table_${tableIdSeed++}`;ae.tableId=Xn,ae.state={isGroup:ze,resizeState:xn,doLayout:$n,debouncedUpdateLayout:Dn};const Zn=computed(()=>$.sumText||j("el.table.sumText")),Fn=computed(()=>$.emptyText||j("el.table.emptyText"));return useKeyRender(ae),{ns:oe,layout:le,store:ie,handleHeaderFooterMousewheel:qe,handleMouseLeave:Ue,tableId:Xn,tableSize:hn,isHidden:Ve,isEmpty:de,renderExpanded:Oe,resizeProxyVisible:_n,resizeState:xn,isGroup:ze,bodyWidth:kn,tableBodyStyles:Cn,emptyBlockStyle:vn,debouncedUpdateLayout:Dn,handleFixedMousewheel:bn,setCurrentRow:ue,getSelectionRows:pe,toggleRowSelection:he,clearSelection:_e,clearFilter:xe,toggleAllSelection:Ce,toggleRowExpansion:Ie,clearSort:$e,doLayout:$n,sort:Ne,t:j,setDragVisible:Fe,context:ae,computedSumText:Zn,computedEmptyText:Fn,tableLayout:En,scrollbarViewStyle:Nn,tableInnerStyle:Sn,scrollbarStyle:wn,scrollBarRef:On,scrollTo:Tn,setScrollLeft:In,setScrollTop:Bn}}}),_hoisted_1$g=["data-prefix"],_hoisted_2$a={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$3($,j,oe,ae,ie,le){const de=resolveComponent("hColgroup"),ue=resolveComponent("table-header"),pe=resolveComponent("table-body"),he=resolveComponent("el-scrollbar"),_e=resolveComponent("table-footer"),xe=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[$.ns.m("fit")]:$.fit,[$.ns.m("striped")]:$.stripe,[$.ns.m("border")]:$.border||$.isGroup,[$.ns.m("hidden")]:$.isHidden,[$.ns.m("group")]:$.isGroup,[$.ns.m("fluid-height")]:$.maxHeight,[$.ns.m("scrollable-x")]:$.layout.scrollX.value,[$.ns.m("scrollable-y")]:$.layout.scrollY.value,[$.ns.m("enable-row-hover")]:!$.store.states.isComplex.value,[$.ns.m("enable-row-transition")]:($.store.states.data.value||[]).length!==0&&($.store.states.data.value||[]).length<100,"has-footer":$.showSummary},$.ns.m($.tableSize),$.className,$.ns.b(),$.ns.m(`layout-${$.tableLayout}`)]),style:normalizeStyle($.style),"data-prefix":$.ns.namespace.value,onMouseleave:j[0]||(j[0]=(...Ce)=>$.handleMouseLeave&&$.handleMouseLeave(...Ce))},[createBaseVNode("div",{class:normalizeClass($.ns.e("inner-wrapper")),style:normalizeStyle($.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$a,[renderSlot($.$slots,"default")],512),$.showHeader&&$.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass($.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass($.ns.e("header")),style:normalizeStyle($.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode(de,{columns:$.store.states.columns.value,"table-layout":$.tableLayout},null,8,["columns","table-layout"]),createVNode(ue,{ref:"tableHeaderRef",border:$.border,"default-sort":$.defaultSort,store:$.store,onSetDragVisible:$.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[xe,$.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass($.ns.e("body-wrapper"))},[createVNode(he,{ref:"scrollBarRef","view-style":$.scrollbarViewStyle,"wrap-style":$.scrollbarStyle,always:$.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass($.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle({width:$.bodyWidth,tableLayout:$.tableLayout})},[createVNode(de,{columns:$.store.states.columns.value,"table-layout":$.tableLayout},null,8,["columns","table-layout"]),$.showHeader&&$.tableLayout==="auto"?(openBlock(),createBlock(ue,{key:0,ref:"tableHeaderRef",border:$.border,"default-sort":$.defaultSort,store:$.store,onSetDragVisible:$.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode(pe,{context:$.context,highlight:$.highlightCurrentRow,"row-class-name":$.rowClassName,"tooltip-effect":$.tooltipEffect,"tooltip-options":$.tooltipOptions,"row-style":$.rowStyle,store:$.store,stripe:$.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"])],6),$.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle($.emptyBlockStyle),class:normalizeClass($.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass($.ns.e("empty-text"))},[renderSlot($.$slots,"empty",{},()=>[createTextVNode(toDisplayString$1($.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),$.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass($.ns.e("append-wrapper"))},[renderSlot($.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),$.showSummary?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass($.ns.e("footer-wrapper"))},[createVNode(_e,{border:$.border,"default-sort":$.defaultSort,store:$.store,style:normalizeStyle($.tableBodyStyles),"sum-text":$.computedSumText,"summary-method":$.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[vShow,!$.isEmpty],[xe,$.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),$.border||$.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass($.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass($.ns.e("column-resize-proxy"))},null,2),[[vShow,$.resizeProxyVisible]])],46,_hoisted_1$g)}var Table$1=_export_sfc$1(_sfc_main$x,[["render",_sfc_render$3],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/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=$=>defaultClassNames[$]||"",cellForced={selection:{renderHeader({store:$}){function j(){return $.states.data.value&&$.states.data.value.length===0}return h$2(ElCheckbox,{disabled:j(),size:$.states.tableSize.value,indeterminate:$.states.selection.value.length>0&&!$.states.isAllSelected.value,"onUpdate:modelValue":$.toggleAllSelection,modelValue:$.states.isAllSelected.value})},renderCell({row:$,column:j,store:oe,$index:ae}){return h$2(ElCheckbox,{disabled:j.selectable?!j.selectable.call(null,$,ae):!1,size:oe.states.tableSize.value,onChange:()=>{oe.commit("rowSelectedChanged",$)},onClick:ie=>ie.stopPropagation(),modelValue:oe.isSelected($)})},sortable:!1,resizable:!1},index:{renderHeader({column:$}){return $.label||"#"},renderCell({column:$,$index:j}){let oe=j+1;const ae=$.index;return typeof ae=="number"?oe=j+ae:typeof ae=="function"&&(oe=ae(j)),h$2("div",{},[oe])},sortable:!1},expand:{renderHeader({column:$}){return $.label||""},renderCell({row:$,store:j,expanded:oe}){const{ns:ae}=j,ie=[ae.e("expand-icon")];return oe&&ie.push(ae.em("expand-icon","expanded")),h$2("div",{class:ie,onClick:function(de){de.stopPropagation(),j.toggleRowExpansion($)}},{default:()=>[h$2(ElIcon,null,{default:()=>[h$2(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:$,column:j,$index:oe}){var ae;const ie=j.property,le=ie&&getProp($,ie).value;return j&&j.formatter?j.formatter($,j,le,oe):((ae=le==null?void 0:le.toString)==null?void 0:ae.call(le))||""}function treeCellPrefix({row:$,treeNode:j,store:oe},ae=!1){const{ns:ie}=oe;if(!j)return ae?[h$2("span",{class:ie.e("placeholder")})]:null;const le=[],de=function(ue){ue.stopPropagation(),!j.loading&&oe.loadOrToggle($)};if(j.indent&&le.push(h$2("span",{class:ie.e("indent"),style:{"padding-left":`${j.indent}px`}})),typeof j.expanded=="boolean"&&!j.noLazyChildren){const ue=[ie.e("expand-icon"),j.expanded?ie.em("expand-icon","expanded"):""];let pe=arrow_right_default;j.loading&&(pe=loading_default),le.push(h$2("div",{class:ue,onClick:de},{default:()=>[h$2(ElIcon,{class:{[ie.is("loading")]:j.loading}},{default:()=>[h$2(pe)]})]}))}else le.push(h$2("span",{class:ie.e("placeholder")}));return le}function getAllAliases($,j){return $.reduce((oe,ae)=>(oe[ae]=ae,oe),j)}function useWatcher($,j){const oe=getCurrentInstance();return{registerComplexWatchers:()=>{const le=["fixed"],de={realWidth:"width",realMinWidth:"minWidth"},ue=getAllAliases(le,de);Object.keys(ue).forEach(pe=>{const he=de[pe];hasOwn$1(j,he)&&watch(()=>j[he],_e=>{let xe=_e;he==="width"&&pe==="realWidth"&&(xe=parseWidth(_e)),he==="minWidth"&&pe==="realMinWidth"&&(xe=parseMinWidth(_e)),oe.columnConfig.value[he]=xe,oe.columnConfig.value[pe]=xe;const Ce=he==="fixed";$.value.store.scheduleLayout(Ce)})})},registerNormalWatchers:()=>{const le=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],de={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},ue=getAllAliases(le,de);Object.keys(ue).forEach(pe=>{const he=de[pe];hasOwn$1(j,he)&&watch(()=>j[he],_e=>{oe.columnConfig.value[pe]=_e})})}}}function useRender($,j,oe){const ae=getCurrentInstance(),ie=ref(""),le=ref(!1),de=ref(),ue=ref(),pe=useNamespace("table");watchEffect(()=>{de.value=$.align?`is-${$.align}`:null,de.value}),watchEffect(()=>{ue.value=$.headerAlign?`is-${$.headerAlign}`:de.value,ue.value});const he=computed(()=>{let Ue=ae.vnode.vParent||ae.parent;for(;Ue&&!Ue.tableId&&!Ue.columnId;)Ue=Ue.vnode.vParent||Ue.parent;return Ue}),_e=computed(()=>{const{store:Ue}=ae.parent;if(!Ue)return!1;const{treeData:qe}=Ue.states,hn=qe.value;return hn&&Object.keys(hn).length>0}),xe=ref(parseWidth($.width)),Ce=ref(parseMinWidth($.minWidth)),Ie=Ue=>(xe.value&&(Ue.width=xe.value),Ce.value&&(Ue.minWidth=Ce.value),!xe.value&&Ce.value&&(Ue.width=void 0),Ue.minWidth||(Ue.minWidth=80),Ue.realWidth=Number(Ue.width===void 0?Ue.minWidth:Ue.width),Ue),$e=Ue=>{const qe=Ue.type,hn=cellForced[qe]||{};Object.keys(hn).forEach(bn=>{const _n=hn[bn];bn!=="className"&&_n!==void 0&&(Ue[bn]=_n)});const vn=getDefaultClassName(qe);if(vn){const bn=`${unref(pe.namespace)}-${vn}`;Ue.className=Ue.className?`${Ue.className} ${bn}`:bn}return Ue},Ne=Ue=>{Array.isArray(Ue)?Ue.forEach(hn=>qe(hn)):qe(Ue);function qe(hn){var vn;((vn=hn==null?void 0:hn.type)==null?void 0:vn.name)==="ElTableColumn"&&(hn.vParent=ae)}};return{columnId:ie,realAlign:de,isSubColumn:le,realHeaderAlign:ue,columnOrTableParent:he,setColumnWidth:Ie,setColumnForcedProps:$e,setColumnRenders:Ue=>{$.renderHeader||Ue.type!=="selection"&&(Ue.renderHeader=hn=>{ae.columnConfig.value.label;const vn=j.header;return vn?vn(hn):Ue.label});let qe=Ue.renderCell;return Ue.type==="expand"?(Ue.renderCell=hn=>h$2("div",{class:"cell"},[qe(hn)]),oe.value.renderExpanded=hn=>j.default?j.default(hn):j.default):(qe=qe||defaultRenderCell,Ue.renderCell=hn=>{let vn=null;if(j.default){const Cn=j.default(hn);vn=Cn.some(En=>En.type!==Comment)?Cn:qe(hn)}else vn=qe(hn);const{columns:bn}=oe.value.store.states,_n=bn.value.findIndex(Cn=>Cn.type==="default"),kn=_e.value&&hn.cellIndex===_n,xn=treeCellPrefix(hn,kn),$n={class:"cell",style:{}};return Ue.showOverflowTooltip&&($n.class=`${$n.class} ${unref(pe.namespace)}-tooltip`,$n.style={width:`${(hn.column.realWidth||Number(hn.column.width))-1}px`}),Ne(vn),h$2("div",$n,[xn,vn])}),Ue},getPropsData:(...Ue)=>Ue.reduce((qe,hn)=>(Array.isArray(hn)&&hn.forEach(vn=>{qe[vn]=$[vn]}),qe),{}),getColumnElIndex:(Ue,qe)=>Array.prototype.indexOf.call(Ue,qe),updateColumnOrder:()=>{oe.value.store.commit("updateColumnOrder",ae.columnConfig.value)}}}var defaultProps={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:[Boolean,Object],fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:$=>$.every(j=>["ascending","descending",null].includes(j))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup($,{slots:j}){const oe=getCurrentInstance(),ae=ref({}),ie=computed(()=>{let ze=oe.parent;for(;ze&&!ze.tableId;)ze=ze.parent;return ze}),{registerNormalWatchers:le,registerComplexWatchers:de}=useWatcher(ie,$),{columnId:ue,isSubColumn:pe,realHeaderAlign:he,columnOrTableParent:_e,setColumnWidth:xe,setColumnForcedProps:Ce,setColumnRenders:Ie,getPropsData:$e,getColumnElIndex:Ne,realAlign:Ve,updateColumnOrder:Oe}=useRender($,j,ie),Fe=_e.value;ue.value=`${Fe.tableId||Fe.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{pe.value=ie.value!==Fe;const ze=$.type||"default",Ue=$.sortable===""?!0:$.sortable,qe={...cellStarts[ze],id:ue.value,type:ze,property:$.prop||$.property,align:Ve,headerAlign:he,showOverflowTooltip:$.showOverflowTooltip,filterable:$.filters||$.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:Ue,index:$.index,rawColumnKey:oe.vnode.key};let kn=$e(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);kn=mergeOptions$1(qe,kn),kn=compose(Ie,xe,Ce)(kn),ae.value=kn,le(),de()}),onMounted(()=>{var ze;const Ue=_e.value,qe=pe.value?Ue.vnode.el.children:(ze=Ue.refs.hiddenColumns)==null?void 0:ze.children,hn=()=>Ne(qe||[],oe.vnode.el);ae.value.getColumnIndex=hn,hn()>-1&&ie.value.store.commit("insertColumn",ae.value,pe.value?Ue.columnConfig.value:null,Oe)}),onBeforeUnmount(()=>{ie.value.store.commit("removeColumn",ae.value,pe.value?Fe.columnConfig.value:null,Oe)}),oe.columnId=ue.value,oe.columnConfig=ae},render(){var $,j,oe;try{const ae=(j=($=this.$slots).default)==null?void 0:j.call($,{row:{},column:{},$index:-1}),ie=[];if(Array.isArray(ae))for(const de of ae)((oe=de.type)==null?void 0:oe.name)==="ElTableColumn"||de.shapeFlag&2?ie.push(de):de.type===Fragment&&Array.isArray(de.children)&&de.children.forEach(ue=>{(ue==null?void 0:ue.patchFlag)!==1024&&!isString$d(ue==null?void 0:ue.children)&&ie.push(ue)});return h$2("div",ie)}catch{return h$2("div",[])}}});const ElTable=withInstall(Table$1,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=($=>($.ASC="asc",$.DESC="desc",$))(SortOrder||{}),Alignment=($=>($.CENTER="center",$.RIGHT="right",$))(Alignment||{}),FixedDir=($=>($.LEFT="left",$.RIGHT="right",$))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=($,j,oe)=>{var ae;const ie={flexGrow:0,flexShrink:0,...oe?{}:{flexGrow:$.flexGrow||0,flexShrink:$.flexShrink||1}};oe||(ie.flexShrink=1);const le={...(ae=$.style)!=null?ae:{},...ie,flexBasis:"auto",width:$.width};return j||($.maxWidth&&(le.maxWidth=$.maxWidth),$.minWidth&&(le.minWidth=$.minWidth)),le};function useColumns($,j,oe){const ae=computed(()=>unref(j).filter(Ne=>!Ne.hidden)),ie=computed(()=>unref(ae).filter(Ne=>Ne.fixed==="left"||Ne.fixed===!0)),le=computed(()=>unref(ae).filter(Ne=>Ne.fixed==="right")),de=computed(()=>unref(ae).filter(Ne=>!Ne.fixed)),ue=computed(()=>{const Ne=[];return unref(ie).forEach(Ve=>{Ne.push({...Ve,placeholderSign})}),unref(de).forEach(Ve=>{Ne.push(Ve)}),unref(le).forEach(Ve=>{Ne.push({...Ve,placeholderSign})}),Ne}),pe=computed(()=>unref(ie).length||unref(le).length),he=computed(()=>unref(j).reduce((Ve,Oe)=>(Ve[Oe.key]=calcColumnStyle(Oe,unref(oe),$.fixed),Ve),{})),_e=computed(()=>unref(ae).reduce((Ne,Ve)=>Ne+Ve.width,0)),xe=Ne=>unref(j).find(Ve=>Ve.key===Ne),Ce=Ne=>unref(he)[Ne],Ie=(Ne,Ve)=>{Ne.width=Ve};function $e(Ne){var Ve;const{key:Oe}=Ne.currentTarget.dataset;if(!Oe)return;const{sortState:Fe,sortBy:ze}=$;let Ue=SortOrder.ASC;isObject$8(Fe)?Ue=oppositeOrderMap[Fe[Oe]]:Ue=oppositeOrderMap[ze.order],(Ve=$.onColumnSort)==null||Ve.call($,{column:xe(Oe),key:Oe,order:Ue})}return{columns:j,columnsStyles:he,columnsTotalWidth:_e,fixedColumnsOnLeft:ie,fixedColumnsOnRight:le,hasFixedColumns:pe,mainColumns:ue,normalColumns:de,visibleColumns:ae,getColumn:xe,getColumnStyle:Ce,updateColumnWidth:Ie,onColumnSorted:$e}}const useScrollbar=($,{mainTableRef:j,leftTableRef:oe,rightTableRef:ae,onMaybeEndReached:ie})=>{const le=ref({scrollLeft:0,scrollTop:0});function de(Ie){var $e,Ne,Ve;const{scrollTop:Oe}=Ie;($e=j.value)==null||$e.scrollTo(Ie),(Ne=oe.value)==null||Ne.scrollToTop(Oe),(Ve=ae.value)==null||Ve.scrollToTop(Oe)}function ue(Ie){le.value=Ie,de(Ie)}function pe(Ie){le.value.scrollTop=Ie,de(unref(le))}function he(Ie){var $e,Ne;le.value.scrollLeft=Ie,(Ne=($e=j.value)==null?void 0:$e.scrollTo)==null||Ne.call($e,unref(le))}function _e(Ie){var $e;ue(Ie),($e=$.onScroll)==null||$e.call($,Ie)}function xe({scrollTop:Ie}){const{scrollTop:$e}=unref(le);Ie!==$e&&pe(Ie)}function Ce(Ie,$e="auto"){var Ne;(Ne=j.value)==null||Ne.scrollToRow(Ie,$e)}return watch(()=>unref(le).scrollTop,(Ie,$e)=>{Ie>$e&&ie()}),{scrollPos:le,scrollTo:ue,scrollToLeft:he,scrollToTop:pe,scrollToRow:Ce,onScroll:_e,onVerticalScroll:xe}},useRow=($,{mainTableRef:j,leftTableRef:oe,rightTableRef:ae})=>{const ie=getCurrentInstance(),{emit:le}=ie,de=shallowRef(!1),ue=shallowRef(null),pe=ref($.defaultExpandedRowKeys||[]),he=ref(-1),_e=shallowRef(null),xe=ref({}),Ce=ref({}),Ie=shallowRef({}),$e=shallowRef({}),Ne=shallowRef({}),Ve=computed(()=>isNumber$d($.estimatedRowHeight));function Oe(bn){var _n;(_n=$.onRowsRendered)==null||_n.call($,bn),bn.rowCacheEnd>unref(he)&&(he.value=bn.rowCacheEnd)}function Fe({hovered:bn,rowKey:_n}){ue.value=bn?_n:null}function ze({expanded:bn,rowData:_n,rowIndex:kn,rowKey:xn}){var $n,Cn;const En=[...unref(pe)],Nn=En.indexOf(xn);bn?Nn===-1&&En.push(xn):Nn>-1&&En.splice(Nn,1),pe.value=En,le("update:expandedRowKeys",En),($n=$.onRowExpand)==null||$n.call($,{expanded:bn,rowData:_n,rowIndex:kn,rowKey:xn}),(Cn=$.onExpandedRowsChange)==null||Cn.call($,En)}const Ue=debounce$2(()=>{var bn,_n,kn,xn;de.value=!0,xe.value={...unref(xe),...unref(Ce)},qe(unref(_e),!1),Ce.value={},_e.value=null,(bn=j.value)==null||bn.forceUpdate(),(_n=oe.value)==null||_n.forceUpdate(),(kn=ae.value)==null||kn.forceUpdate(),(xn=ie.proxy)==null||xn.$forceUpdate(),de.value=!1},0);function qe(bn,_n=!1){unref(Ve)&&[j,oe,ae].forEach(kn=>{const xn=unref(kn);xn&&xn.resetAfterRowIndex(bn,_n)})}function hn(bn,_n,kn){const xn=unref(_e);(xn===null||xn>kn)&&(_e.value=kn),Ce.value[bn]=_n}function vn({rowKey:bn,height:_n,rowIndex:kn},xn){xn?xn===FixedDir.RIGHT?Ne.value[bn]=_n:Ie.value[bn]=_n:$e.value[bn]=_n;const $n=Math.max(...[Ie,Ne,$e].map(Cn=>Cn.value[bn]||0));unref(xe)[bn]!==$n&&(hn(bn,$n,kn),Ue())}return{hoveringRowKey:ue,expandedRowKeys:pe,lastRenderedRowIndex:he,isDynamic:Ve,isResetting:de,rowHeights:xe,resetAfterIndex:qe,onRowExpanded:ze,onRowHovered:Fe,onRowsRendered:Oe,onRowHeightChange:vn}},useData=($,{expandedRowKeys:j,lastRenderedRowIndex:oe,resetAfterIndex:ae})=>{const ie=ref({}),le=computed(()=>{const ue={},{data:pe,rowKey:he}=$,_e=unref(j);if(!_e||!_e.length)return pe;const xe=[],Ce=new Set;_e.forEach($e=>Ce.add($e));let Ie=pe.slice();for(Ie.forEach($e=>ue[$e[he]]=0);Ie.length>0;){const $e=Ie.shift();xe.push($e),Ce.has($e[he])&&Array.isArray($e.children)&&$e.children.length>0&&(Ie=[...$e.children,...Ie],$e.children.forEach(Ne=>ue[Ne[he]]=ue[$e[he]]+1))}return ie.value=ue,xe}),de=computed(()=>{const{data:ue,expandColumnKey:pe}=$;return pe?unref(le):ue});return watch(de,(ue,pe)=>{ue!==pe&&(oe.value=-1,ae(0,!0))}),{data:de,depthMap:ie}},sumReducer=($,j)=>$+j,sum$3=$=>isArray$x($)?$.reduce(sumReducer,0):$,tryCall=($,j,oe={})=>isFunction$h($)?$(j):$??oe,enforceUnit=$=>(["width","maxWidth","minWidth","height"].forEach(j=>{$[j]=addUnit($[j])}),$),componentToSlot=$=>isVNode$1($)?j=>h$2($,j):$,useStyles=($,{columnsTotalWidth:j,data:oe,fixedColumnsOnLeft:ae,fixedColumnsOnRight:ie})=>{const le=computed(()=>{const{fixed:ze,width:Ue,vScrollbarSize:qe}=$,hn=Ue-qe;return ze?Math.max(Math.round(unref(j)),hn):hn}),de=computed(()=>unref(le)+($.fixed?$.vScrollbarSize:0)),ue=computed(()=>{const{height:ze=0,maxHeight:Ue=0,footerHeight:qe,hScrollbarSize:hn}=$;if(Ue>0){const vn=unref($e),bn=unref(pe),kn=unref(Ie)+vn+bn+hn;return Math.min(kn,Ue-qe)}return ze-qe}),pe=computed(()=>{const{rowHeight:ze,estimatedRowHeight:Ue}=$,qe=unref(oe);return isNumber$d(Ue)?qe.length*Ue:qe.length*ze}),he=computed(()=>{const{maxHeight:ze}=$,Ue=unref(ue);if(isNumber$d(ze)&&ze>0)return Ue;const qe=unref(pe)+unref(Ie)+unref($e);return Math.min(Ue,qe)}),_e=ze=>ze.width,xe=computed(()=>sum$3(unref(ae).map(_e))),Ce=computed(()=>sum$3(unref(ie).map(_e))),Ie=computed(()=>sum$3($.headerHeight)),$e=computed(()=>{var ze;return(((ze=$.fixedData)==null?void 0:ze.length)||0)*$.rowHeight}),Ne=computed(()=>unref(ue)-unref(Ie)-unref($e)),Ve=computed(()=>{const{style:ze={},height:Ue,width:qe}=$;return enforceUnit({...ze,height:Ue,width:qe})}),Oe=computed(()=>enforceUnit({height:$.footerHeight})),Fe=computed(()=>({top:addUnit(unref(Ie)),bottom:addUnit($.footerHeight),width:addUnit($.width)}));return{bodyWidth:le,fixedTableHeight:he,mainTableHeight:ue,leftTableWidth:xe,rightTableWidth:Ce,headerWidth:de,rowsHeight:pe,windowHeight:Ne,footerHeight:Oe,emptyStyle:Fe,rootStyle:Ve,headerHeight:Ie}},useAutoResize=$=>{const j=ref(),oe=ref(0),ae=ref(0);let ie;return onMounted(()=>{ie=useResizeObserver(j,([le])=>{const{width:de,height:ue}=le.contentRect,{paddingLeft:pe,paddingRight:he,paddingTop:_e,paddingBottom:xe}=getComputedStyle(le.target),Ce=Number.parseInt(pe)||0,Ie=Number.parseInt(he)||0,$e=Number.parseInt(_e)||0,Ne=Number.parseInt(xe)||0;oe.value=de-Ce-Ie,ae.value=ue-$e-Ne}).stop}),onBeforeUnmount(()=>{ie==null||ie()}),watch([oe,ae],([le,de])=>{var ue;(ue=$.onResize)==null||ue.call($,{width:le,height:de})}),{sizer:j,width:oe,height:ae}};function useTable($){const j=ref(),oe=ref(),ae=ref(),{columns:ie,columnsStyles:le,columnsTotalWidth:de,fixedColumnsOnLeft:ue,fixedColumnsOnRight:pe,hasFixedColumns:he,mainColumns:_e,onColumnSorted:xe}=useColumns($,toRef($,"columns"),toRef($,"fixed")),{scrollTo:Ce,scrollToLeft:Ie,scrollToTop:$e,scrollToRow:Ne,onScroll:Ve,onVerticalScroll:Oe,scrollPos:Fe}=useScrollbar($,{mainTableRef:j,leftTableRef:oe,rightTableRef:ae,onMaybeEndReached:Ln}),{expandedRowKeys:ze,hoveringRowKey:Ue,lastRenderedRowIndex:qe,isDynamic:hn,isResetting:vn,rowHeights:bn,resetAfterIndex:_n,onRowExpanded:kn,onRowHeightChange:xn,onRowHovered:$n,onRowsRendered:Cn}=useRow($,{mainTableRef:j,leftTableRef:oe,rightTableRef:ae}),{data:En,depthMap:Nn}=useData($,{expandedRowKeys:ze,lastRenderedRowIndex:qe,resetAfterIndex:_n}),{bodyWidth:Sn,fixedTableHeight:wn,mainTableHeight:On,leftTableWidth:Tn,rightTableWidth:In,headerWidth:Bn,rowsHeight:Dn,windowHeight:Xn,footerHeight:Zn,emptyStyle:Fn,rootStyle:Yn,headerHeight:qn}=useStyles($,{columnsTotalWidth:de,data:En,fixedColumnsOnLeft:ue,fixedColumnsOnRight:pe}),Vn=shallowRef(!1),eo=ref(),ho=computed(()=>{const Rn=unref(En).length===0;return isArray$x($.fixedData)?$.fixedData.length===0&&Rn:Rn});function So(Rn){const{estimatedRowHeight:Gn,rowHeight:no,rowKey:bo}=$;return Gn?unref(bn)[unref(En)[Rn][bo]]||Gn:no}function Ln(){const{onEndReached:Rn}=$;if(!Rn)return;const{scrollTop:Gn}=unref(Fe),no=unref(Dn),bo=unref(Xn),Wn=no-(Gn+bo)+$.hScrollbarSize;unref(qe)>=0&&no===Gn+unref(On)-unref(qn)&&Rn(Wn)}return watch(()=>$.expandedRowKeys,Rn=>ze.value=Rn,{deep:!0}),{columns:ie,containerRef:eo,mainTableRef:j,leftTableRef:oe,rightTableRef:ae,isDynamic:hn,isResetting:vn,isScrolling:Vn,hoveringRowKey:Ue,hasFixedColumns:he,columnsStyles:le,columnsTotalWidth:de,data:En,expandedRowKeys:ze,depthMap:Nn,fixedColumnsOnLeft:ue,fixedColumnsOnRight:pe,mainColumns:_e,bodyWidth:Sn,emptyStyle:Fn,rootStyle:Yn,headerWidth:Bn,footerHeight:Zn,mainTableHeight:On,fixedTableHeight:wn,leftTableWidth:Tn,rightTableWidth:In,showEmpty:ho,getRowHeight:So,onColumnSorted:xe,onRowHovered:$n,onRowExpanded:kn,onRowsRendered:Cn,onRowHeightChange:xn,scrollTo:Ce,scrollToLeft:Ie,scrollToTop:$e,scrollToRow:Ne,onScroll:Ve,onVerticalScroll:Oe}}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,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,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,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,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,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,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,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}),TableV2Cell=($,{slots:j})=>{var oe;const{cellData:ae,style:ie}=$,le=((oe=ae==null?void 0:ae.toString)==null?void 0:oe.call(ae))||"";return createVNode("div",{class:$.class,title:le,style:ie},[j.default?j.default($):le])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=($,{slots:j})=>{var oe,ae;return j.default?j.default($):createVNode("div",{class:$.class,title:(oe=$.column)==null?void 0:oe.title},[(ae=$.column)==null?void 0:ae.title])};HeaderCell.displayName="ElTableV2HeaderCell";HeaderCell.inheritAttrs=!1;const tableV2HeaderRowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup($,{slots:j}){return()=>{const{columns:oe,columnsStyles:ae,headerIndex:ie,style:le}=$;let de=oe.map((ue,pe)=>j.cell({columns:oe,column:ue,columnIndex:pe,headerIndex:ie,style:ae[ue.key]}));return j.header&&(de=j.header({cells:de.map(ue=>isArray$x(ue)&&ue.length===1?ue[0]:ue),columns:oe,headerIndex:ie})),createVNode("div",{class:$.class,style:le,role:"row"},[de])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup($,{slots:j,expose:oe}){const ae=useNamespace("table-v2"),ie=ref(),le=computed(()=>enforceUnit({width:$.width,height:$.height})),de=computed(()=>enforceUnit({width:$.rowWidth,height:$.height})),ue=computed(()=>castArray$1(unref($.headerHeight))),pe=xe=>{const Ce=unref(ie);nextTick(()=>{Ce!=null&&Ce.scroll&&Ce.scroll({left:xe})})},he=()=>{const xe=ae.e("fixed-header-row"),{columns:Ce,fixedHeaderData:Ie,rowHeight:$e}=$;return Ie==null?void 0:Ie.map((Ne,Ve)=>{var Oe;const Fe=enforceUnit({height:$e,width:"100%"});return(Oe=j.fixed)==null?void 0:Oe.call(j,{class:xe,columns:Ce,rowData:Ne,rowIndex:-(Ve+1),style:Fe})})},_e=()=>{const xe=ae.e("dynamic-header-row"),{columns:Ce}=$;return unref(ue).map((Ie,$e)=>{var Ne;const Ve=enforceUnit({width:"100%",height:Ie});return(Ne=j.dynamic)==null?void 0:Ne.call(j,{class:xe,columns:Ce,headerIndex:$e,style:Ve})})};return oe({scrollToLeft:pe}),()=>{if(!($.height<=0))return createVNode("div",{ref:ie,class:$.class,style:unref(le),role:"rowgroup"},[createVNode("div",{style:unref(de),class:ae.e("header")},[_e(),he()])])}}}),useTableRow=$=>{const{isScrolling:j}=inject(TableV2InjectionKey),oe=ref(!1),ae=ref(),ie=computed(()=>isNumber$d($.estimatedRowHeight)&&$.rowIndex>=0),le=(pe=!1)=>{const he=unref(ae);if(!he)return;const{columns:_e,onRowHeightChange:xe,rowKey:Ce,rowIndex:Ie,style:$e}=$,{height:Ne}=he.getBoundingClientRect();oe.value=!0,nextTick(()=>{if(pe||Ne!==Number.parseInt($e.height)){const Ve=_e[0],Oe=(Ve==null?void 0:Ve.placeholderSign)===placeholderSign;xe==null||xe({rowKey:Ce,height:Ne,rowIndex:Ie},Ve&&!Oe&&Ve.fixed)}})},de=computed(()=>{const{rowData:pe,rowIndex:he,rowKey:_e,onRowHover:xe}=$,Ce=$.rowEventHandlers||{},Ie={};return Object.entries(Ce).forEach(([$e,Ne])=>{isFunction$h(Ne)&&(Ie[$e]=Ve=>{Ne({event:Ve,rowData:pe,rowIndex:he,rowKey:_e})})}),xe&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:$e,hovered:Ne})=>{const Ve=Ie[$e];Ie[$e]=Oe=>{xe({event:Oe,hovered:Ne,rowData:pe,rowIndex:he,rowKey:_e}),Ve==null||Ve(Oe)}}),Ie}),ue=pe=>{const{onRowExpand:he,rowData:_e,rowIndex:xe,rowKey:Ce}=$;he==null||he({expanded:pe,rowData:_e,rowIndex:xe,rowKey:Ce})};return onMounted(()=>{unref(ie)&&le(!0)}),{isScrolling:j,measurable:ie,measured:oe,rowRef:ae,eventHandlers:de,onExpand:ue}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup($,{expose:j,slots:oe,attrs:ae}){const{eventHandlers:ie,isScrolling:le,measurable:de,measured:ue,rowRef:pe,onExpand:he}=useTableRow($);return j({onExpand:he}),()=>{const{columns:_e,columnsStyles:xe,expandColumnKey:Ce,depth:Ie,rowData:$e,rowIndex:Ne,style:Ve}=$;let Oe=_e.map((Fe,ze)=>{const Ue=isArray$x($e.children)&&$e.children.length>0&&Fe.key===Ce;return oe.cell({column:Fe,columns:_e,columnIndex:ze,depth:Ie,style:xe[Fe.key],rowData:$e,rowIndex:Ne,isScrolling:unref(le),expandIconProps:Ue?{rowData:$e,rowIndex:Ne,onExpand:he}:void 0})});if(oe.row&&(Oe=oe.row({cells:Oe.map(Fe=>isArray$x(Fe)&&Fe.length===1?Fe[0]:Fe),style:Ve,columns:_e,depth:Ie,rowData:$e,rowIndex:Ne,isScrolling:unref(le)})),unref(de)){const{height:Fe,...ze}=Ve||{},Ue=unref(ue);return createVNode("div",mergeProps({ref:pe,class:$.class,style:Ue?Ve:ze,role:"row"},ae,unref(ie)),[Oe])}return createVNode("div",mergeProps(ae,{ref:pe,class:$.class,style:Ve,role:"row"},unref(ie)),[Oe])}}}),SortIcon=$=>{const{sortOrder:j}=$;return createVNode(ElIcon,{size:14,class:$.class},{default:()=>[j===SortOrder.ASC?createVNode(sort_up_default,null,null):createVNode(sort_down_default,null,null)]})},ExpandIcon=$=>{const{expanded:j,expandable:oe,onExpand:ae,style:ie,size:le}=$,de={onClick:oe?()=>ae(!j):void 0,class:$.class};return createVNode(ElIcon,mergeProps(de,{size:le,style:ie}),{default:()=>[createVNode(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=$=>{const j=ref(),oe=ref(),ae=computed(()=>{const{data:Ne,rowHeight:Ve,estimatedRowHeight:Oe}=$;if(!Oe)return Ne.length*Ve}),ie=computed(()=>{const{fixedData:Ne,rowHeight:Ve}=$;return((Ne==null?void 0:Ne.length)||0)*Ve}),le=computed(()=>sum$3($.headerHeight)),de=computed(()=>{const{height:Ne}=$;return Math.max(0,Ne-unref(le)-unref(ie))}),ue=computed(()=>unref(le)+unref(ie)>0),pe=({data:Ne,rowIndex:Ve})=>Ne[Ve][$.rowKey];function he({rowCacheStart:Ne,rowCacheEnd:Ve,rowVisibleStart:Oe,rowVisibleEnd:Fe}){var ze;(ze=$.onRowsRendered)==null||ze.call($,{rowCacheStart:Ne,rowCacheEnd:Ve,rowVisibleStart:Oe,rowVisibleEnd:Fe})}function _e(Ne,Ve){var Oe;(Oe=oe.value)==null||Oe.resetAfterRowIndex(Ne,Ve)}function xe(Ne,Ve){const Oe=unref(j),Fe=unref(oe);!Oe||!Fe||(isObject$8(Ne)?(Oe.scrollToLeft(Ne.scrollLeft),Fe.scrollTo(Ne)):(Oe.scrollToLeft(Ne),Fe.scrollTo({scrollLeft:Ne,scrollTop:Ve})))}function Ce(Ne){var Ve;(Ve=unref(oe))==null||Ve.scrollTo({scrollTop:Ne})}function Ie(Ne,Ve){var Oe;(Oe=unref(oe))==null||Oe.scrollToItem(Ne,1,Ve)}function $e(){var Ne,Ve;(Ne=unref(oe))==null||Ne.$forceUpdate(),(Ve=unref(j))==null||Ve.$forceUpdate()}return{bodyRef:oe,forceUpdate:$e,fixedRowHeight:ie,gridHeight:de,hasHeader:ue,headerHeight:le,headerRef:j,totalHeight:ae,itemKey:pe,onItemRendered:he,resetAfterRowIndex:_e,scrollTo:xe,scrollToTop:Ce,scrollToRow:Ie}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup($,{slots:j,expose:oe}){const{ns:ae}=inject(TableV2InjectionKey),{bodyRef:ie,fixedRowHeight:le,gridHeight:de,hasHeader:ue,headerRef:pe,headerHeight:he,totalHeight:_e,forceUpdate:xe,itemKey:Ce,onItemRendered:Ie,resetAfterRowIndex:$e,scrollTo:Ne,scrollToTop:Ve,scrollToRow:Oe}=useTableGrid($);oe({forceUpdate:xe,totalHeight:_e,scrollTo:Ne,scrollToTop:Ve,scrollToRow:Oe,resetAfterRowIndex:$e});const Fe=()=>$.bodyWidth;return()=>{const{cache:ze,columns:Ue,data:qe,fixedData:hn,useIsScrolling:vn,scrollbarAlwaysOn:bn,scrollbarEndGap:_n,scrollbarStartGap:kn,style:xn,rowHeight:$n,bodyWidth:Cn,estimatedRowHeight:En,headerWidth:Nn,height:Sn,width:wn,getRowHeight:On,onScroll:Tn}=$,In=isNumber$d(En),Bn=In?DynamicSizeGrid:FixedSizeGrid,Dn=unref(he);return createVNode("div",{role:"table",class:[ae.e("table"),$.class],style:xn},[createVNode(Bn,{ref:ie,data:qe,useIsScrolling:vn,itemKey:Ce,columnCache:0,columnWidth:In?Fe:Cn,totalColumn:1,totalRow:qe.length,rowCache:ze,rowHeight:In?On:$n,width:wn,height:unref(de),class:ae.e("body"),role:"rowgroup",scrollbarStartGap:kn,scrollbarEndGap:_n,scrollbarAlwaysOn:bn,onScroll:Tn,onItemRendered:Ie,perfMode:!1},{default:Xn=>{var Zn;const Fn=qe[Xn.rowIndex];return(Zn=j.row)==null?void 0:Zn.call(j,{...Xn,columns:Ue,rowData:Fn})}}),unref(ue)&&createVNode(TableV2Header,{ref:pe,class:ae.e("header-wrapper"),columns:Ue,headerData:qe,headerHeight:$.headerHeight,fixedHeaderData:hn,rowWidth:Nn,rowHeight:$n,width:wn,height:Math.min(Dn+unref(le),Sn)},{dynamic:j.header,fixed:j.row})])}}});function _isSlot$5($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const MainTable=($,{slots:j})=>{const{mainTableRef:oe,...ae}=$;return createVNode(TableGrid,mergeProps({ref:oe},ae),_isSlot$5(j)?j:{default:()=>[j]})};function _isSlot$4($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const LeftTable$1=($,{slots:j})=>{if(!$.columns.length)return;const{leftTableRef:oe,...ae}=$;return createVNode(TableGrid,mergeProps({ref:oe},ae),_isSlot$4(j)?j:{default:()=>[j]})};function _isSlot$3($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const LeftTable=($,{slots:j})=>{if(!$.columns.length)return;const{rightTableRef:oe,...ae}=$;return createVNode(TableGrid,mergeProps({ref:oe},ae),_isSlot$3(j)?j:{default:()=>[j]})};function _isSlot$2($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const RowRenderer=($,{slots:j})=>{const{columns:oe,columnsStyles:ae,depthMap:ie,expandColumnKey:le,expandedRowKeys:de,estimatedRowHeight:ue,hasFixedColumns:pe,hoveringRowKey:he,rowData:_e,rowIndex:xe,style:Ce,isScrolling:Ie,rowProps:$e,rowClass:Ne,rowKey:Ve,rowEventHandlers:Oe,ns:Fe,onRowHovered:ze,onRowExpanded:Ue}=$,qe=tryCall(Ne,{columns:oe,rowData:_e,rowIndex:xe},""),hn=tryCall($e,{columns:oe,rowData:_e,rowIndex:xe}),vn=_e[Ve],bn=ie[vn]||0,_n=!!le,kn=xe<0,xn=[Fe.e("row"),qe,{[Fe.e(`row-depth-${bn}`)]:_n&&xe>=0,[Fe.is("expanded")]:_n&&de.includes(vn),[Fe.is("hovered")]:!Ie&&vn===he,[Fe.is("fixed")]:!bn&&kn,[Fe.is("customized")]:!!j.row}],$n=pe?ze:void 0,Cn={...hn,columns:oe,columnsStyles:ae,class:xn,depth:bn,expandColumnKey:le,estimatedRowHeight:kn?void 0:ue,isScrolling:Ie,rowIndex:xe,rowData:_e,rowKey:vn,rowEventHandlers:Oe,style:Ce};return createVNode(TableV2Row,mergeProps(Cn,{onRowHover:$n,onRowExpand:Ue}),_isSlot$2(j)?j:{default:()=>[j]})},CellRenderer=({columns:$,column:j,columnIndex:oe,depth:ae,expandIconProps:ie,isScrolling:le,rowData:de,rowIndex:ue,style:pe,expandedRowKeys:he,ns:_e,cellProps:xe,expandColumnKey:Ce,indentSize:Ie,iconSize:$e,rowKey:Ne},{slots:Ve})=>{const Oe=enforceUnit(pe);if(j.placeholderSign===placeholderSign)return createVNode("div",{class:_e.em("row-cell","placeholder"),style:Oe},null);const{cellRenderer:Fe,dataKey:ze,dataGetter:Ue}=j,hn=componentToSlot(Fe)||Ve.default||(Sn=>createVNode(TableV2Cell,Sn,null)),vn=isFunction$h(Ue)?Ue({columns:$,column:j,columnIndex:oe,rowData:de,rowIndex:ue}):get$6(de,ze??""),bn=tryCall(xe,{cellData:vn,columns:$,column:j,columnIndex:oe,rowIndex:ue,rowData:de}),_n={class:_e.e("cell-text"),columns:$,column:j,columnIndex:oe,cellData:vn,isScrolling:le,rowData:de,rowIndex:ue},kn=hn(_n),xn=[_e.e("row-cell"),j.class,j.align===Alignment.CENTER&&_e.is("align-center"),j.align===Alignment.RIGHT&&_e.is("align-right")],$n=ue>=0&&j.key===Ce,Cn=ue>=0&&he.includes(de[Ne]);let En;const Nn=`margin-inline-start: ${ae*Ie}px;`;return $n&&(isObject$8(ie)?En=createVNode(ExpandIcon,mergeProps(ie,{class:[_e.e("expand-icon"),_e.is("expanded",Cn)],size:$e,expanded:Cn,style:Nn,expandable:!0}),null):En=createVNode("div",{style:[Nn,`width: ${$e}px; height: ${$e}px;`].join(" ")},null)),createVNode("div",mergeProps({class:xn,style:Oe},bn,{role:"cell"}),[En,kn])};CellRenderer.inheritAttrs=!1;function _isSlot$1($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const HeaderRenderer=({columns:$,columnsStyles:j,headerIndex:oe,style:ae,headerClass:ie,headerProps:le,ns:de},{slots:ue})=>{const pe={columns:$,headerIndex:oe},he=[de.e("header-row"),tryCall(ie,pe,""),{[de.is("customized")]:!!ue.header}],_e={...tryCall(le,pe),columnsStyles:j,class:he,columns:$,headerIndex:oe,style:ae};return createVNode(TableV2HeaderRow,_e,_isSlot$1(ue)?ue:{default:()=>[ue]})},HeaderCellRenderer=($,{slots:j})=>{const{column:oe,ns:ae,style:ie,onColumnSorted:le}=$,de=enforceUnit(ie);if(oe.placeholderSign===placeholderSign)return createVNode("div",{class:ae.em("header-row-cell","placeholder"),style:de},null);const{headerCellRenderer:ue,headerClass:pe,sortable:he}=oe,_e={...$,class:ae.e("header-cell-text")},Ce=(componentToSlot(ue)||j.default||(Ue=>createVNode(HeaderCell,Ue,null)))(_e),{sortBy:Ie,sortState:$e,headerCellProps:Ne}=$;let Ve,Oe;if($e){const Ue=$e[oe.key];Ve=!!oppositeOrderMap[Ue],Oe=Ve?Ue:SortOrder.ASC}else Ve=oe.key===Ie.key,Oe=Ve?Ie.order:SortOrder.ASC;const Fe=[ae.e("header-cell"),tryCall(pe,$,""),oe.align===Alignment.CENTER&&ae.is("align-center"),oe.align===Alignment.RIGHT&&ae.is("align-right"),he&&ae.is("sortable")],ze={...tryCall(Ne,$),onClick:oe.sortable?le:void 0,class:Fe,style:de,["data-key"]:oe.key};return createVNode("div",mergeProps(ze,{role:"columnheader"}),[Ce,he&&createVNode(SortIcon,{class:[ae.e("sort-icon"),Ve&&ae.is("sorting")],sortOrder:Oe},null)])},Footer$2=($,{slots:j})=>{var oe;return createVNode("div",{class:$.class,style:$.style},[(oe=j.default)==null?void 0:oe.call(j)])};Footer$2.displayName="ElTableV2Footer";const Footer$1=($,{slots:j})=>createVNode("div",{class:$.class,style:$.style},[j.default?j.default():createVNode(ElEmpty,null,null)]);Footer$1.displayName="ElTableV2Empty";const Overlay=($,{slots:j})=>{var oe;return createVNode("div",{class:$.class,style:$.style},[(oe=j.default)==null?void 0:oe.call(j)])};Overlay.displayName="ElTableV2Overlay";function _isSlot($){return typeof $=="function"||Object.prototype.toString.call($)==="[object Object]"&&!isVNode$1($)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup($,{slots:j,expose:oe}){const ae=useNamespace("table-v2"),{columnsStyles:ie,fixedColumnsOnLeft:le,fixedColumnsOnRight:de,mainColumns:ue,mainTableHeight:pe,fixedTableHeight:he,leftTableWidth:_e,rightTableWidth:xe,data:Ce,depthMap:Ie,expandedRowKeys:$e,hasFixedColumns:Ne,hoveringRowKey:Ve,mainTableRef:Oe,leftTableRef:Fe,rightTableRef:ze,isDynamic:Ue,isResetting:qe,isScrolling:hn,bodyWidth:vn,emptyStyle:bn,rootStyle:_n,headerWidth:kn,footerHeight:xn,showEmpty:$n,scrollTo:Cn,scrollToLeft:En,scrollToTop:Nn,scrollToRow:Sn,getRowHeight:wn,onColumnSorted:On,onRowHeightChange:Tn,onRowHovered:In,onRowExpanded:Bn,onRowsRendered:Dn,onScroll:Xn,onVerticalScroll:Zn}=useTable($);return oe({scrollTo:Cn,scrollToLeft:En,scrollToTop:Nn,scrollToRow:Sn}),provide(TableV2InjectionKey,{ns:ae,isResetting:qe,hoveringRowKey:Ve,isScrolling:hn}),()=>{const{cache:Fn,cellProps:Yn,estimatedRowHeight:qn,expandColumnKey:Vn,fixedData:eo,headerHeight:ho,headerClass:So,headerProps:Ln,headerCellProps:Rn,sortBy:Gn,sortState:no,rowHeight:bo,rowClass:Wn,rowEventHandlers:lo,rowKey:Qn,rowProps:ro,scrollbarAlwaysOn:Hn,indentSize:uo,iconSize:so,useIsScrolling:yo,vScrollbarSize:to,width:go}=$,_o=unref(Ce),To={cache:Fn,class:ae.e("main"),columns:unref(ue),data:_o,fixedData:eo,estimatedRowHeight:qn,bodyWidth:unref(vn),headerHeight:ho,headerWidth:unref(kn),height:unref(pe),mainTableRef:Oe,rowKey:Qn,rowHeight:bo,scrollbarAlwaysOn:Hn,scrollbarStartGap:2,scrollbarEndGap:to,useIsScrolling:yo,width:go,getRowHeight:wn,onRowsRendered:Dn,onScroll:Xn},Un=unref(_e),fo=unref(he),vo={cache:Fn,class:ae.e("left"),columns:unref(le),data:_o,estimatedRowHeight:qn,leftTableRef:Fe,rowHeight:bo,bodyWidth:Un,headerWidth:Un,headerHeight:ho,height:fo,rowKey:Qn,scrollbarAlwaysOn:Hn,scrollbarStartGap:2,scrollbarEndGap:to,useIsScrolling:yo,width:Un,getRowHeight:wn,onScroll:Zn},co=unref(xe)+to,$o={cache:Fn,class:ae.e("right"),columns:unref(de),data:_o,estimatedRowHeight:qn,rightTableRef:ze,rowHeight:bo,bodyWidth:co,headerWidth:co,headerHeight:ho,height:fo,rowKey:Qn,scrollbarAlwaysOn:Hn,scrollbarStartGap:2,scrollbarEndGap:to,width:co,style:`--${unref(ae.namespace)}-table-scrollbar-size: ${to}px`,useIsScrolling:yo,getRowHeight:wn,onScroll:Zn},No=unref(ie),jo={ns:ae,depthMap:unref(Ie),columnsStyles:No,expandColumnKey:Vn,expandedRowKeys:unref($e),estimatedRowHeight:qn,hasFixedColumns:unref(Ne),hoveringRowKey:unref(Ve),rowProps:ro,rowClass:Wn,rowKey:Qn,rowEventHandlers:lo,onRowHovered:In,onRowExpanded:Bn,onRowHeightChange:Tn},wo={cellProps:Yn,expandColumnKey:Vn,indentSize:uo,iconSize:so,rowKey:Qn,expandedRowKeys:unref($e),ns:ae},Kn={ns:ae,headerClass:So,headerProps:Ln,columnsStyles:No},zo={ns:ae,sortBy:Gn,sortState:no,headerCellProps:Rn,onColumnSorted:On},Ro={row:da=>createVNode(RowRenderer,mergeProps(da,jo),{row:j.row,cell:Lo=>{let Wo;return j.cell?createVNode(CellRenderer,mergeProps(Lo,wo,{style:No[Lo.column.key]}),_isSlot(Wo=j.cell(Lo))?Wo:{default:()=>[Wo]}):createVNode(CellRenderer,mergeProps(Lo,wo,{style:No[Lo.column.key]}),null)}}),header:da=>createVNode(HeaderRenderer,mergeProps(da,Kn),{header:j.header,cell:Lo=>{let Wo;return j["header-cell"]?createVNode(HeaderCellRenderer,mergeProps(Lo,zo,{style:No[Lo.column.key]}),_isSlot(Wo=j["header-cell"](Lo))?Wo:{default:()=>[Wo]}):createVNode(HeaderCellRenderer,mergeProps(Lo,zo,{style:No[Lo.column.key]}),null)}})},Yo=[$.class,ae.b(),ae.e("root"),{[ae.is("dynamic")]:unref(Ue)}],Qo={class:ae.e("footer"),style:unref(xn)};return createVNode("div",{class:Yo,style:unref(_n)},[createVNode(MainTable,To,_isSlot(Ro)?Ro:{default:()=>[Ro]}),createVNode(LeftTable$1,vo,_isSlot(Ro)?Ro:{default:()=>[Ro]}),createVNode(LeftTable,$o,_isSlot(Ro)?Ro:{default:()=>[Ro]}),j.footer&&createVNode(Footer$2,Qo,{default:j.footer}),unref($n)&&createVNode(Footer$1,{class:ae.e("empty"),style:unref(bn)},{default:j.empty}),j.overlay&&createVNode(Overlay,{class:ae.e("overlay")},{default:j.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup($,{slots:j}){const oe=useNamespace("auto-resizer"),{height:ae,width:ie,sizer:le}=useAutoResize($),de={width:"100%",height:"100%"};return()=>{var ue;return createVNode("div",{ref:le,class:oe.b(),style:de},[(ue=j.default)==null?void 0:ue.call(j,{height:ae.value,width:ie.value})])}}}),ElTableV2=withInstall(TableV2),ElAutoResizer=withInstall(AutoResizer),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$n=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$w=defineComponent({...__default__$n,props:tabBarProps,setup($,{expose:j}){const oe=$,ae=getCurrentInstance(),ie=inject(tabsRootContextKey);ie||throwError(COMPONENT_NAME$3,"");const le=useNamespace("tabs"),de=ref(),ue=ref(),pe=()=>{let _e=0,xe=0;const Ce=["top","bottom"].includes(ie.props.tabPosition)?"width":"height",Ie=Ce==="width"?"x":"y",$e=Ie==="x"?"left":"top";return oe.tabs.every(Ne=>{var Ve,Oe;const Fe=(Oe=(Ve=ae.parent)==null?void 0:Ve.refs)==null?void 0:Oe[`tab-${Ne.uid}`];if(!Fe)return!1;if(!Ne.active)return!0;_e=Fe[`offset${capitalize$1($e)}`],xe=Fe[`client${capitalize$1(Ce)}`];const ze=window.getComputedStyle(Fe);return Ce==="width"&&(oe.tabs.length>1&&(xe-=Number.parseFloat(ze.paddingLeft)+Number.parseFloat(ze.paddingRight)),_e+=Number.parseFloat(ze.paddingLeft)),!1}),{[Ce]:`${xe}px`,transform:`translate${capitalize$1(Ie)}(${_e}px)`}},he=()=>ue.value=pe();return watch(()=>oe.tabs,async()=>{await nextTick(),he()},{immediate:!0}),useResizeObserver(de,()=>he()),j({ref:de,update:he}),(_e,xe)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:de,class:normalizeClass([unref(le).e("active-bar"),unref(le).is(unref(ie).props.tabPosition)]),style:normalizeStyle(ue.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/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:($,j,oe)=>oe instanceof Event,tabRemove:($,j)=>j instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup($,{expose:j,emit:oe}){const ae=getCurrentInstance(),ie=inject(tabsRootContextKey);ie||throwError(COMPONENT_NAME$2,"");const le=useNamespace("tabs"),de=useDocumentVisibility(),ue=useWindowFocus(),pe=ref(),he=ref(),_e=ref(),xe=ref(),Ce=ref(!1),Ie=ref(0),$e=ref(!1),Ne=ref(!0),Ve=computed(()=>["top","bottom"].includes(ie.props.tabPosition)?"width":"height"),Oe=computed(()=>({transform:`translate${Ve.value==="width"?"X":"Y"}(-${Ie.value}px)`})),Fe=()=>{if(!pe.value)return;const _n=pe.value[`offset${capitalize$1(Ve.value)}`],kn=Ie.value;if(!kn)return;const xn=kn>_n?kn-_n:0;Ie.value=xn},ze=()=>{if(!pe.value||!he.value)return;const _n=he.value[`offset${capitalize$1(Ve.value)}`],kn=pe.value[`offset${capitalize$1(Ve.value)}`],xn=Ie.value;if(_n-xn<=kn)return;const $n=_n-xn>kn*2?xn+kn:_n-kn;Ie.value=$n},Ue=async()=>{const _n=he.value;if(!Ce.value||!_e.value||!pe.value||!_n)return;await nextTick();const kn=_e.value.querySelector(".is-active");if(!kn)return;const xn=pe.value,$n=["top","bottom"].includes(ie.props.tabPosition),Cn=kn.getBoundingClientRect(),En=xn.getBoundingClientRect(),Nn=$n?_n.offsetWidth-En.width:_n.offsetHeight-En.height,Sn=Ie.value;let wn=Sn;$n?(Cn.leftEn.right&&(wn=Sn+Cn.right-En.right)):(Cn.topEn.bottom&&(wn=Sn+(Cn.bottom-En.bottom))),wn=Math.max(wn,0),Ie.value=Math.min(wn,Nn)},qe=()=>{var _n;if(!he.value||!pe.value)return;$.stretch&&((_n=xe.value)==null||_n.update());const kn=he.value[`offset${capitalize$1(Ve.value)}`],xn=pe.value[`offset${capitalize$1(Ve.value)}`],$n=Ie.value;xn0&&(Ie.value=0))},hn=_n=>{const kn=_n.code,{up:xn,down:$n,left:Cn,right:En}=EVENT_CODE;if(![xn,$n,Cn,En].includes(kn))return;const Nn=Array.from(_n.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Sn=Nn.indexOf(_n.target);let wn;kn===Cn||kn===xn?Sn===0?wn=Nn.length-1:wn=Sn-1:Sn{Ne.value&&($e.value=!0)},bn=()=>$e.value=!1;return watch(de,_n=>{_n==="hidden"?Ne.value=!1:_n==="visible"&&setTimeout(()=>Ne.value=!0,50)}),watch(ue,_n=>{_n?setTimeout(()=>Ne.value=!0,50):Ne.value=!1}),useResizeObserver(_e,qe),onMounted(()=>setTimeout(()=>Ue(),0)),onUpdated(()=>qe()),j({scrollToActiveTab:Ue,removeFocus:bn}),watch(()=>$.panes,()=>ae.update(),{flush:"post",deep:!0}),()=>{const _n=Ce.value?[createVNode("span",{class:[le.e("nav-prev"),le.is("disabled",!Ce.value.prev)],onClick:Fe},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_left_default,null,null)]})]),createVNode("span",{class:[le.e("nav-next"),le.is("disabled",!Ce.value.next)],onClick:ze},[createVNode(ElIcon,null,{default:()=>[createVNode(arrow_right_default,null,null)]})])]:null,kn=$.panes.map((xn,$n)=>{var Cn,En,Nn,Sn;const wn=xn.uid,On=xn.props.disabled,Tn=(En=(Cn=xn.props.name)!=null?Cn:xn.index)!=null?En:`${$n}`,In=!On&&(xn.isClosable||$.editable);xn.index=`${$n}`;const Bn=In?createVNode(ElIcon,{class:"is-icon-close",onClick:Zn=>oe("tabRemove",xn,Zn)},{default:()=>[createVNode(close_default,null,null)]}):null,Dn=((Sn=(Nn=xn.slots).label)==null?void 0:Sn.call(Nn))||xn.props.label,Xn=!On&&xn.active?0:-1;return createVNode("div",{ref:`tab-${wn}`,class:[le.e("item"),le.is(ie.props.tabPosition),le.is("active",xn.active),le.is("disabled",On),le.is("closable",In),le.is("focus",$e.value)],id:`tab-${Tn}`,key:`tab-${wn}`,"aria-controls":`pane-${Tn}`,role:"tab","aria-selected":xn.active,tabindex:Xn,onFocus:()=>vn(),onBlur:()=>bn(),onClick:Zn=>{bn(),oe("tabClick",xn,Tn,Zn)},onKeydown:Zn=>{In&&(Zn.code===EVENT_CODE.delete||Zn.code===EVENT_CODE.backspace)&&oe("tabRemove",xn,Zn)}},[Dn,Bn])});return createVNode("div",{ref:_e,class:[le.e("nav-wrap"),le.is("scrollable",!!Ce.value),le.is(ie.props.tabPosition)]},[_n,createVNode("div",{class:le.e("nav-scroll"),ref:pe},[createVNode("div",{class:[le.e("nav"),le.is(ie.props.tabPosition),le.is("stretch",$.stretch&&["top","bottom"].includes(ie.props.tabPosition))],ref:he,style:Oe.value,role:"tablist",onKeydown:hn},[$.type?null:createVNode(TabBar,{ref:xe,tabs:[...$.panes]},null),kn])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number]},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=$=>isString$d($)||isNumber$d($),tabsEmits={[UPDATE_MODEL_EVENT]:$=>isPaneName($),tabClick:($,j)=>j instanceof Event,tabChange:$=>isPaneName($),edit:($,j)=>["remove","add"].includes(j),tabRemove:$=>isPaneName($),tabAdd:()=>!0};var Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup($,{emit:j,slots:oe,expose:ae}){var ie,le;const de=useNamespace("tabs"),{children:ue,addChild:pe,removeChild:he}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),_e=ref(),xe=ref((le=(ie=$.modelValue)!=null?ie:$.activeName)!=null?le:"0"),Ce=Oe=>{xe.value=Oe,j(UPDATE_MODEL_EVENT,Oe),j("tabChange",Oe)},Ie=async Oe=>{var Fe,ze,Ue;if(!(xe.value===Oe||isUndefined$c(Oe)))try{await((Fe=$.beforeLeave)==null?void 0:Fe.call($,Oe,xe.value))!==!1&&(Ce(Oe),(Ue=(ze=_e.value)==null?void 0:ze.removeFocus)==null||Ue.call(ze))}catch{}},$e=(Oe,Fe,ze)=>{Oe.props.disabled||(Ie(Fe),j("tabClick",Oe,ze))},Ne=(Oe,Fe)=>{Oe.props.disabled||isUndefined$c(Oe.props.name)||(Fe.stopPropagation(),j("edit",Oe.props.name,"remove"),j("tabRemove",Oe.props.name))},Ve=()=>{j("edit",void 0,"add"),j("tabAdd")};return useDeprecated({from:'"activeName"',replacement:'"model-value" or "v-model"',scope:"ElTabs",version:"2.3.0",ref:"https://element-plus.org/en-US/component/tabs.html#attributes",type:"Attribute"},computed(()=>!!$.activeName)),watch(()=>$.activeName,Oe=>Ie(Oe)),watch(()=>$.modelValue,Oe=>Ie(Oe)),watch(xe,async()=>{var Oe;await nextTick(),(Oe=_e.value)==null||Oe.scrollToActiveTab()}),provide(tabsRootContextKey,{props:$,currentName:xe,registerPane:pe,unregisterPane:he}),ae({currentName:xe}),()=>{const Oe=$.editable||$.addable?createVNode("span",{class:de.e("new-tab"),tabindex:"0",onClick:Ve,onKeydown:Ue=>{Ue.code===EVENT_CODE.enter&&Ve()}},[createVNode(ElIcon,{class:de.is("icon-plus")},{default:()=>[createVNode(plus_default,null,null)]})]):null,Fe=createVNode("div",{class:[de.e("header"),de.is($.tabPosition)]},[Oe,createVNode(TabNav,{ref:_e,currentName:xe.value,editable:$.editable,type:$.type,panes:ue.value,stretch:$.stretch,onTabClick:$e,onTabRemove:Ne},null)]),ze=createVNode("div",{class:de.e("content")},[renderSlot(oe,"default")]);return createVNode("div",{class:[de.b(),de.m($.tabPosition),{[de.m("card")]:$.type==="card",[de.m("border-card")]:$.type==="border-card"}]},[...$.tabPosition!=="bottom"?[Fe,ze]:[ze,Fe]])}}});const tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$f=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$m=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$v=defineComponent({...__default__$m,props:tabPaneProps,setup($){const j=$,oe=getCurrentInstance(),ae=useSlots(),ie=inject(tabsRootContextKey);ie||throwError(COMPONENT_NAME$1,"usage: ");const le=useNamespace("tab-pane"),de=ref(),ue=computed(()=>j.closable||ie.props.closable),pe=computedEager(()=>{var Ie;return ie.currentName.value===((Ie=j.name)!=null?Ie:de.value)}),he=ref(pe.value),_e=computed(()=>{var Ie;return(Ie=j.name)!=null?Ie:de.value}),xe=computedEager(()=>!j.lazy||he.value||pe.value);watch(pe,Ie=>{Ie&&(he.value=!0)});const Ce=reactive({uid:oe.uid,slots:ae,props:j,paneName:_e,active:pe,index:de,isClosable:ue});return onMounted(()=>{ie.registerPane(Ce)}),onUnmounted(()=>{ie.unregisterPane(Ce.uid)}),(Ie,$e)=>unref(xe)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(_e)}`,class:normalizeClass(unref(le).b()),role:"tabpanel","aria-hidden":!unref(pe),"aria-labelledby":`tab-${unref(_e)}`},[renderSlot(Ie.$slots,"default")],10,_hoisted_1$f)),[[vShow,unref(pe)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:{type:Boolean},tag:{type:String,default:"span"}}),__default__$l=defineComponent({name:"ElText"}),_sfc_main$u=defineComponent({...__default__$l,props:textProps,setup($){const j=$,oe=useFormSize(),ae=useNamespace("text"),ie=computed(()=>[ae.b(),ae.m(j.type),ae.m(oe.value),ae.is("truncated",j.truncated)]);return(le,de)=>(openBlock(),createBlock(resolveDynamicComponent(le.tag),{class:normalizeClass(unref(ie))},{default:withCtx(()=>[renderSlot(le.$slots,"default")]),_:3},8,["class"]))}});var Text$1=_export_sfc$1(_sfc_main$u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/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: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,name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default}}),parseTime=$=>{const j=($||"").split(":");if(j.length>=2){let oe=Number.parseInt(j[0],10);const ae=Number.parseInt(j[1],10),ie=$.toUpperCase();return ie.includes("AM")&&oe===12?oe=0:ie.includes("PM")&&oe!==12&&(oe+=12),{hours:oe,minutes:ae}}return null},compareTime=($,j)=>{const oe=parseTime($);if(!oe)return-1;const ae=parseTime(j);if(!ae)return-1;const ie=oe.minutes+oe.hours*60,le=ae.minutes+ae.hours*60;return ie===le?0:ie>le?1:-1},padTime=$=>`${$}`.padStart(2,"0"),formatTime=$=>`${padTime($.hours)}:${padTime($.minutes)}`,nextTime=($,j)=>{const oe=parseTime($);if(!oe)return"";const ae=parseTime(j);if(!ae)return"";const ie={hours:oe.hours,minutes:oe.minutes};return ie.minutes+=ae.minutes,ie.hours+=ae.hours,ie.hours+=Math.floor(ie.minutes/60),ie.minutes=ie.minutes%60,formatTime(ie)},__default__$k=defineComponent({name:"ElTimeSelect"}),_sfc_main$t=defineComponent({...__default__$k,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup($,{expose:j}){const oe=$;dayjs.extend(customParseFormat);const{Option:ae}=ElSelect,ie=useNamespace("input"),le=ref(),de=useFormDisabled(),ue=computed(()=>oe.modelValue),pe=computed(()=>{const Ve=parseTime(oe.start);return Ve?formatTime(Ve):null}),he=computed(()=>{const Ve=parseTime(oe.end);return Ve?formatTime(Ve):null}),_e=computed(()=>{const Ve=parseTime(oe.step);return Ve?formatTime(Ve):null}),xe=computed(()=>{const Ve=parseTime(oe.minTime||"");return Ve?formatTime(Ve):null}),Ce=computed(()=>{const Ve=parseTime(oe.maxTime||"");return Ve?formatTime(Ve):null}),Ie=computed(()=>{const Ve=[];if(oe.start&&oe.end&&oe.step){let Oe=pe.value,Fe;for(;Oe&&he.value&&compareTime(Oe,he.value)<=0;)Fe=dayjs(Oe,"HH:mm").format(oe.format),Ve.push({value:Fe,disabled:compareTime(Oe,xe.value||"-1:-1")<=0||compareTime(Oe,Ce.value||"100:100")>=0}),Oe=nextTime(Oe,_e.value)}return Ve});return j({blur:()=>{var Ve,Oe;(Oe=(Ve=le.value)==null?void 0:Ve.blur)==null||Oe.call(Ve)},focus:()=>{var Ve,Oe;(Oe=(Ve=le.value)==null?void 0:Ve.focus)==null||Oe.call(Ve)}}),(Ve,Oe)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:le,"model-value":unref(ue),disabled:unref(de),clearable:Ve.clearable,"clear-icon":Ve.clearIcon,size:Ve.size,effect:Ve.effect,placeholder:Ve.placeholder,"default-first-option":"",filterable:Ve.editable,"onUpdate:modelValue":Oe[0]||(Oe[0]=Fe=>Ve.$emit("update:modelValue",Fe)),onChange:Oe[1]||(Oe[1]=Fe=>Ve.$emit("change",Fe)),onBlur:Oe[2]||(Oe[2]=Fe=>Ve.$emit("blur",Fe)),onFocus:Oe[3]||(Oe[3]=Fe=>Ve.$emit("focus",Fe))},{prefix:withCtx(()=>[Ve.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ie).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ve.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie),Fe=>(openBlock(),createBlock(unref(ae),{key:Fe.value,label:Fe.value,value:Fe.value,disabled:Fe.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable"]))}});var TimeSelect=_export_sfc$1(_sfc_main$t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);TimeSelect.install=$=>{$.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup($,{slots:j}){const oe=useNamespace("timeline");return provide("timeline",j),()=>h$2("ul",{class:[oe.b()]},[renderSlot(j,"default")])}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},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:{type:Boolean,default:!1}}),__default__$j=defineComponent({name:"ElTimelineItem"}),_sfc_main$s=defineComponent({...__default__$j,props:timelineItemProps,setup($){const j=useNamespace("timeline-item");return(oe,ae)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(j).b(),{[unref(j).e("center")]:oe.center}])},[createBaseVNode("div",{class:normalizeClass(unref(j).e("tail"))},null,2),oe.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(j).e("node"),unref(j).em("node",oe.size||""),unref(j).em("node",oe.type||""),unref(j).is("hollow",oe.hollow)]),style:normalizeStyle({backgroundColor:oe.color})},[oe.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(j).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),oe.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(j).e("dot"))},[renderSlot(oe.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(j).e("wrapper"))},[!oe.hideTimestamp&&oe.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(j).e("timestamp"),unref(j).is("top")])},toDisplayString$1(oe.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(j).e("content"))},[renderSlot(oe.$slots,"default")],2),!oe.hideTimestamp&&oe.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(j).e("timestamp"),unref(j).is("bottom")])},toDisplayString$1(oe.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$1(_sfc_main$s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=($=>($.top="top",$.bottom="bottom",$.left="left",$.right="right",$))(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({ariaLabel:String,arrowPadding:{type:definePropType(Number),default:5},effect:{type:String,default:""},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:{type:Boolean,default:!1}}),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__$i=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$r=defineComponent({...__default__$i,props:tooltipV2RootProps,setup($,{expose:j}){const oe=$,ae=ref(oe.defaultOpen),ie=ref(null),le=computed({get:()=>isPropAbsent(oe.open)?ae.value:oe.open,set:Ve=>{var Oe;ae.value=Ve,(Oe=oe["onUpdate:open"])==null||Oe.call(oe,Ve)}}),de=computed(()=>isNumber$d(oe.delayDuration)&&oe.delayDuration>0),{start:ue,stop:pe}=useTimeoutFn(()=>{le.value=!0},computed(()=>oe.delayDuration),{immediate:!1}),he=useNamespace("tooltip-v2"),_e=useId(),xe=()=>{pe(),le.value=!0},Ce=()=>{unref(de)?ue():xe()},Ie=xe,$e=()=>{pe(),le.value=!1};return watch(le,Ve=>{var Oe;Ve&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),Ie()),(Oe=oe.onOpenChange)==null||Oe.call(oe,Ve)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,$e)}),onBeforeUnmount(()=>{pe(),document.removeEventListener(TOOLTIP_V2_OPEN,$e)}),provide(tooltipV2RootKey,{contentId:_e,triggerRef:ie,ns:he,onClose:$e,onDelayOpen:Ce,onOpen:Ie}),j({onOpen:Ie,onClose:$e}),(Ve,Oe)=>renderSlot(Ve.$slots,"default",{open:unref(le)})}});var TooltipV2Root=_export_sfc$1(_sfc_main$r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const __default__$h=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$q=defineComponent({...__default__$h,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup($){const j=$,{ns:oe}=inject(tooltipV2RootKey),{arrowRef:ae}=inject(tooltipV2ContentKey),ie=computed(()=>{const{style:le,width:de,height:ue}=j,pe=oe.namespace.value;return{[`--${pe}-tooltip-v2-arrow-width`]:`${de}px`,[`--${pe}-tooltip-v2-arrow-height`]:`${ue}px`,[`--${pe}-tooltip-v2-arrow-border-width`]:`${de/2}px`,[`--${pe}-tooltip-v2-arrow-cover-width`]:de/2-1,...le||{}}});return(le,de)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:ae,style:normalizeStyle(unref(ie)),class:normalizeClass(unref(oe).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$1(_sfc_main$q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/arrow.vue"]]);const visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$g=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$p=defineComponent({...__default__$g,props:visualHiddenProps,setup($){const j=$,oe=computed(()=>[j.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(ae,ie)=>(openBlock(),createElementBlock("span",mergeProps(ae.$attrs,{style:unref(oe)}),[renderSlot(ae.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$1(_sfc_main$p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const _hoisted_1$e=["data-side"],__default__$f=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$o=defineComponent({...__default__$f,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup($){const j=$,{triggerRef:oe,contentId:ae}=inject(tooltipV2RootKey),ie=ref(j.placement),le=ref(j.strategy),de=ref(null),{referenceRef:ue,contentRef:pe,middlewareData:he,x:_e,y:xe,update:Ce}=useFloating({placement:ie,strategy:le,middleware:computed(()=>{const ze=[D$2(j.offset)];return j.showArrow&&ze.push(arrowMiddleware({arrowRef:de})),ze})}),Ie=useZIndex().nextZIndex(),$e=useNamespace("tooltip-v2"),Ne=computed(()=>ie.value.split("-")[0]),Ve=computed(()=>({position:unref(le),top:`${unref(xe)||0}px`,left:`${unref(_e)||0}px`,zIndex:Ie})),Oe=computed(()=>{if(!j.showArrow)return{};const{arrow:ze}=unref(he);return{[`--${$e.namespace.value}-tooltip-v2-arrow-x`]:`${ze==null?void 0:ze.x}px`||"",[`--${$e.namespace.value}-tooltip-v2-arrow-y`]:`${ze==null?void 0:ze.y}px`||""}}),Fe=computed(()=>[$e.e("content"),$e.is("dark",j.effect==="dark"),$e.is(unref(le)),j.contentClass]);return watch(de,()=>Ce()),watch(()=>j.placement,ze=>ie.value=ze),onMounted(()=>{watch(()=>j.reference||oe.value,ze=>{ue.value=ze||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:de}),(ze,Ue)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:pe,style:normalizeStyle(unref(Ve)),"data-tooltip-v2-root":""},[ze.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(Ne),class:normalizeClass(unref(Fe))},[renderSlot(ze.$slots,"default",{contentStyle:unref(Ve),contentClass:unref(Fe)}),createVNode(unref(ElVisuallyHidden),{id:unref(ae),role:"tooltip"},{default:withCtx(()=>[ze.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString$1(ze.ariaLabel),1)],64)):renderSlot(ze.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(ze.$slots,"arrow",{style:normalizeStyle(unref(Oe)),side:unref(Ne)})],10,_hoisted_1$e))],4))}});var TooltipV2Content=_export_sfc$1(_sfc_main$o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup($,{slots:j}){const oe=ref(),ae=composeRefs(oe,ie=>{ie?$.setRef(ie.nextElementSibling):$.setRef(null)});return()=>{var ie;const[le]=((ie=j.default)==null?void 0:ie.call(j))||[],de=$.onlyChild?ensureOnlyChild(le.children):le.children;return createVNode(Fragment,{ref:ae},[de])}}});const __default__$e=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$n=defineComponent({...__default__$e,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup($){const j=$,{onClose:oe,onOpen:ae,onDelayOpen:ie,triggerRef:le,contentId:de}=inject(tooltipV2RootKey);let ue=!1;const pe=Fe=>{le.value=Fe},he=()=>{ue=!1},_e=composeEventHandlers(j.onMouseEnter,ie),xe=composeEventHandlers(j.onMouseLeave,oe),Ce=composeEventHandlers(j.onMouseDown,()=>{oe(),ue=!0,document.addEventListener("mouseup",he,{once:!0})}),Ie=composeEventHandlers(j.onFocus,()=>{ue||ae()}),$e=composeEventHandlers(j.onBlur,oe),Ne=composeEventHandlers(j.onClick,Fe=>{Fe.detail===0&&oe()}),Ve={blur:$e,click:Ne,focus:Ie,mousedown:Ce,mouseenter:_e,mouseleave:xe},Oe=(Fe,ze,Ue)=>{Fe&&Object.entries(ze).forEach(([qe,hn])=>{Fe[Ue](qe,hn)})};return watch(le,(Fe,ze)=>{Oe(Fe,Ve,"addEventListener"),Oe(ze,Ve,"removeEventListener"),Fe&&Fe.setAttribute("aria-describedby",de.value)}),onBeforeUnmount(()=>{Oe(le.value,Ve,"removeEventListener"),document.removeEventListener("mouseup",he)}),(Fe,ze)=>Fe.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":pe,"only-child":""},{default:withCtx(()=>[renderSlot(Fe.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:le},Fe.$attrs),[renderSlot(Fe.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$1(_sfc_main$n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const __default__$d=defineComponent({name:"ElTooltipV2"}),_sfc_main$m=defineComponent({...__default__$d,props:tooltipV2Props,setup($){const oe=toRefs($),ae=reactive(pick$3(oe,Object.keys(tooltipV2ArrowProps))),ie=reactive(pick$3(oe,Object.keys(tooltipV2ContentProps))),le=reactive(pick$3(oe,Object.keys(tooltipV2RootProps))),de=reactive(pick$3(oe,Object.keys(tooltipV2TriggerProps)));return(ue,pe)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(le)),{default:withCtx(({open:he})=>[createVNode(TooltipV2Trigger,mergeProps(de,{nowrap:""}),{default:withCtx(()=>[renderSlot(ue.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:ue.to,disabled:!ue.teleported},[ue.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},ue.transitionProps)),{default:withCtx(()=>[ue.alwaysOn||he?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},ie)),{arrow:withCtx(({style:_e,side:xe})=>[ue.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},ae,{style:_e,side:xe}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(ue.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[ue.alwaysOn||he?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},ie)),{arrow:withCtx(({style:_e,side:xe})=>[ue.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},ae,{style:_e,side:xe}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(ue.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$1(_sfc_main$m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/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=($,j)=>[$,j].every(isArray$x)||isArray$x($)&&isNil(j),transferEmits={[CHANGE_EVENT]:($,j,oe)=>[$,oe].every(isArray$x)&&["left","right"].includes(j),[UPDATE_MODEL_EVENT]:$=>isArray$x($),[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=$=>{const j={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...j,...$.props}))},useCheck$1=($,j,oe)=>{const ae=usePropsAlias($),ie=computed(()=>$.data.filter(_e=>isFunction$h($.filterMethod)?$.filterMethod(j.query,_e):String(_e[ae.value.label]||_e[ae.value.key]).toLowerCase().includes(j.query.toLowerCase()))),le=computed(()=>ie.value.filter(_e=>!_e[ae.value.disabled])),de=computed(()=>{const _e=j.checked.length,xe=$.data.length,{noChecked:Ce,hasChecked:Ie}=$.format;return Ce&&Ie?_e>0?Ie.replace(/\${checked}/g,_e.toString()).replace(/\${total}/g,xe.toString()):Ce.replace(/\${total}/g,xe.toString()):`${_e}/${xe}`}),ue=computed(()=>{const _e=j.checked.length;return _e>0&&_e{const _e=le.value.map(xe=>xe[ae.value.key]);j.allChecked=_e.length>0&&_e.every(xe=>j.checked.includes(xe))},he=_e=>{j.checked=_e?le.value.map(xe=>xe[ae.value.key]):[]};return watch(()=>j.checked,(_e,xe)=>{if(pe(),j.checkChangeByUser){const Ce=_e.concat(xe).filter(Ie=>!_e.includes(Ie)||!xe.includes(Ie));oe(CHECKED_CHANGE_EVENT,_e,Ce)}else oe(CHECKED_CHANGE_EVENT,_e),j.checkChangeByUser=!0}),watch(le,()=>{pe()}),watch(()=>$.data,()=>{const _e=[],xe=ie.value.map(Ce=>Ce[ae.value.key]);j.checked.forEach(Ce=>{xe.includes(Ce)&&_e.push(Ce)}),j.checkChangeByUser=!1,j.checked=_e}),watch(()=>$.defaultChecked,(_e,xe)=>{if(xe&&_e.length===xe.length&&_e.every($e=>xe.includes($e)))return;const Ce=[],Ie=le.value.map($e=>$e[ae.value.key]);_e.forEach($e=>{Ie.includes($e)&&Ce.push($e)}),j.checkChangeByUser=!1,j.checked=Ce},{immediate:!0}),{filteredData:ie,checkableData:le,checkedSummary:de,isIndeterminate:ue,updateAllChecked:pe,handleAllCheckedChange:he}},useCheckedChange=($,j)=>({onSourceCheckedChange:(ie,le)=>{$.leftChecked=ie,le&&j(LEFT_CHECK_CHANGE_EVENT,ie,le)},onTargetCheckedChange:(ie,le)=>{$.rightChecked=ie,le&&j(RIGHT_CHECK_CHANGE_EVENT,ie,le)}}),useComputedData=$=>{const j=usePropsAlias($),oe=computed(()=>$.data.reduce((le,de)=>(le[de[j.value.key]]=de)&&le,{})),ae=computed(()=>$.data.filter(le=>!$.modelValue.includes(le[j.value.key]))),ie=computed(()=>$.targetOrder==="original"?$.data.filter(le=>$.modelValue.includes(le[j.value.key])):$.modelValue.reduce((le,de)=>{const ue=oe.value[de];return ue&&le.push(ue),le},[]));return{sourceData:ae,targetData:ie}},useMove=($,j,oe)=>{const ae=usePropsAlias($),ie=(ue,pe,he)=>{oe(UPDATE_MODEL_EVENT,ue),oe(CHANGE_EVENT,ue,pe,he)};return{addToLeft:()=>{const ue=$.modelValue.slice();j.rightChecked.forEach(pe=>{const he=ue.indexOf(pe);he>-1&&ue.splice(he,1)}),ie(ue,"left",j.rightChecked)},addToRight:()=>{let ue=$.modelValue.slice();const pe=$.data.filter(he=>{const _e=he[ae.value.key];return j.leftChecked.includes(_e)&&!$.modelValue.includes(_e)}).map(he=>he[ae.value.key]);ue=$.targetOrder==="unshift"?pe.concat(ue):ue.concat(pe),$.targetOrder==="original"&&(ue=$.data.filter(he=>ue.includes(he[ae.value.key])).map(he=>he[ae.value.key])),ie(ue,"right",j.leftChecked)}}},__default__$c=defineComponent({name:"ElTransferPanel"}),_sfc_main$l=defineComponent({...__default__$c,props:transferPanelProps,emits:transferPanelEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useSlots(),le=({option:ze})=>ze,{t:de}=useLocale(),ue=useNamespace("transfer"),pe=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),he=usePropsAlias(ae),{filteredData:_e,checkedSummary:xe,isIndeterminate:Ce,handleAllCheckedChange:Ie}=useCheck$1(ae,pe,oe),$e=computed(()=>!isEmpty$3(pe.query)&&isEmpty$3(_e.value)),Ne=computed(()=>!isEmpty$3(ie.default()[0].children)),{checked:Ve,allChecked:Oe,query:Fe}=toRefs(pe);return j({query:Fe}),(ze,Ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(ue).be("panel","header"))},[createVNode(unref(ElCheckbox),{modelValue:unref(Oe),"onUpdate:modelValue":Ue[0]||(Ue[0]=qe=>isRef(Oe)?Oe.value=qe:null),indeterminate:unref(Ce),"validate-event":!1,onChange:unref(Ie)},{default:withCtx(()=>[createTextVNode(toDisplayString$1(ze.title)+" ",1),createBaseVNode("span",null,toDisplayString$1(unref(xe)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(ue).be("panel","body"),unref(ue).is("with-footer",unref(Ne))])},[ze.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(Fe),"onUpdate:modelValue":Ue[1]||(Ue[1]=qe=>isRef(Fe)?Fe.value=qe:null),class:normalizeClass(unref(ue).be("panel","filter")),size:"default",placeholder:ze.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode(unref(ElCheckboxGroup$1),{modelValue:unref(Ve),"onUpdate:modelValue":Ue[2]||(Ue[2]=qe=>isRef(Ve)?Ve.value=qe:null),"validate-event":!1,class:normalizeClass([unref(ue).is("filterable",ze.filterable),unref(ue).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_e),qe=>(openBlock(),createBlock(unref(ElCheckbox),{key:qe[unref(he).key],class:normalizeClass(unref(ue).be("panel","item")),label:qe[unref(he).key],disabled:qe[unref(he).disabled],"validate-event":!1},{default:withCtx(()=>{var hn;return[createVNode(le,{option:(hn=ze.optionRender)==null?void 0:hn.call(ze,qe)},null,8,["option"])]}),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref($e)&&!unref(isEmpty$3)(ze.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(ue).be("panel","empty"))},toDisplayString$1(unref($e)?unref(de)("el.transfer.noMatch"):unref(de)("el.transfer.noData")),3),[[vShow,unref($e)||unref(isEmpty$3)(ze.data)]])],2),unref(Ne)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(ue).be("panel","footer"))},[renderSlot(ze.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$1(_sfc_main$l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const _hoisted_1$d={key:0},_hoisted_2$9={key:0},__default__$b=defineComponent({name:"ElTransfer"}),_sfc_main$k=defineComponent({...__default__$b,props:transferProps,emits:transferEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useSlots(),{t:le}=useLocale(),de=useNamespace("transfer"),{formItem:ue}=useFormItem(),pe=reactive({leftChecked:[],rightChecked:[]}),he=usePropsAlias(ae),{sourceData:_e,targetData:xe}=useComputedData(ae),{onSourceCheckedChange:Ce,onTargetCheckedChange:Ie}=useCheckedChange(pe,oe),{addToLeft:$e,addToRight:Ne}=useMove(ae,pe,oe),Ve=ref(),Oe=ref(),Fe=bn=>{switch(bn){case"left":Ve.value.query="";break;case"right":Oe.value.query="";break}},ze=computed(()=>ae.buttonTexts.length===2),Ue=computed(()=>ae.titles[0]||le("el.transfer.titles.0")),qe=computed(()=>ae.titles[1]||le("el.transfer.titles.1")),hn=computed(()=>ae.filterPlaceholder||le("el.transfer.filterPlaceholder"));watch(()=>ae.modelValue,()=>{var bn;ae.validateEvent&&((bn=ue==null?void 0:ue.validate)==null||bn.call(ue,"change").catch(_n=>void 0))});const vn=computed(()=>bn=>ae.renderContent?ae.renderContent(h$2,bn):ie.default?ie.default({option:bn}):h$2("span",bn[he.value.label]||bn[he.value.key]));return j({clearQuery:Fe,leftPanel:Ve,rightPanel:Oe}),(bn,_n)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(de).b())},[createVNode(TransferPanel,{ref_key:"leftPanel",ref:Ve,data:unref(_e),"option-render":unref(vn),placeholder:unref(hn),title:unref(Ue),filterable:bn.filterable,format:bn.format,"filter-method":bn.filterMethod,"default-checked":bn.leftDefaultChecked,props:ae.props,onCheckedChange:unref(Ce)},{default:withCtx(()=>[renderSlot(bn.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(de).e("buttons"))},[createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(de).e("button"),unref(de).is("with-texts",unref(ze))]),disabled:unref(isEmpty$3)(pe.rightChecked),onClick:unref($e)},{default:withCtx(()=>[createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_left_default))]),_:1}),unref(isUndefined$c)(bn.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$d,toDisplayString$1(bn.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode(unref(ElButton),{type:"primary",class:normalizeClass([unref(de).e("button"),unref(de).is("with-texts",unref(ze))]),disabled:unref(isEmpty$3)(pe.leftChecked),onClick:unref(Ne)},{default:withCtx(()=>[unref(isUndefined$c)(bn.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$9,toDisplayString$1(bn.buttonTexts[1]),1)),createVNode(unref(ElIcon),null,{default:withCtx(()=>[createVNode(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode(TransferPanel,{ref_key:"rightPanel",ref:Oe,data:unref(xe),"option-render":unref(vn),placeholder:unref(hn),filterable:bn.filterable,format:bn.format,"filter-method":bn.filterMethod,title:unref(qe),"default-checked":bn.rightDefaultChecked,props:ae.props,onCheckedChange:unref(Ie)},{default:withCtx(()=>[renderSlot(bn.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc$1(_sfc_main$k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function($,j){!j||j[NODE_KEY]||Object.defineProperty(j,NODE_KEY,{value:$.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function($,j){return $?j[$]:j[NODE_KEY]},handleCurrentChange=($,j,oe)=>{const ae=$.value.currentNode;oe();const ie=$.value.currentNode;ae!==ie&&j("current-change",ie?ie.data:null,ie)},getChildState=$=>{let j=!0,oe=!0,ae=!0;for(let ie=0,le=$.length;ie"u"){const le=ae[j];return le===void 0?"":le}};let nodeIdSeed=0,Node$1=class Oc{constructor(j){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 oe in j)hasOwn$1(j,oe)&&(this[oe]=j[oe]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const j=this.store;if(!j)throw new Error("[Node]store is required!");j.registerNode(this);const oe=j.props;if(oe&&typeof oe.isLeaf<"u"){const le=getPropertyFromData(this,"isLeaf");typeof le=="boolean"&&(this.isLeafByUser=le)}if(j.lazy!==!0&&this.data?(this.setData(this.data),j.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&j.lazy&&j.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const ae=j.defaultExpandedKeys,ie=j.key;ie&&ae&&ae.includes(this.key)&&this.expand(null,j.autoExpandParent),ie&&j.currentNodeKey!==void 0&&this.key===j.currentNodeKey&&(j.currentNode=this,j.currentNode.isCurrent=!0),j.lazy&&j._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(j){Array.isArray(j)||markNodeData(this,j),this.data=j,this.childNodes=[];let oe;this.level===0&&Array.isArray(this.data)?oe=this.data:oe=getPropertyFromData(this,"children")||[];for(let ae=0,ie=oe.length;ae-1)return j.childNodes[oe+1]}return null}get previousSibling(){const j=this.parent;if(j){const oe=j.childNodes.indexOf(this);if(oe>-1)return oe>0?j.childNodes[oe-1]:null}return null}contains(j,oe=!0){return(this.childNodes||[]).some(ae=>ae===j||oe&&ae.contains(j))}remove(){const j=this.parent;j&&j.removeChild(this)}insertChild(j,oe,ae){if(!j)throw new Error("InsertChild error: child is required.");if(!(j instanceof Oc)){if(!ae){const ie=this.getChildren(!0);ie.includes(j.data)||(typeof oe>"u"||oe<0?ie.push(j.data):ie.splice(oe,0,j.data))}Object.assign(j,{parent:this,store:this.store}),j=reactive(new Oc(j)),j instanceof Oc&&j.initialize()}j.level=this.level+1,typeof oe>"u"||oe<0?this.childNodes.push(j):this.childNodes.splice(oe,0,j),this.updateLeafState()}insertBefore(j,oe){let ae;oe&&(ae=this.childNodes.indexOf(oe)),this.insertChild(j,ae)}insertAfter(j,oe){let ae;oe&&(ae=this.childNodes.indexOf(oe),ae!==-1&&(ae+=1)),this.insertChild(j,ae)}removeChild(j){const oe=this.getChildren()||[],ae=oe.indexOf(j.data);ae>-1&&oe.splice(ae,1);const ie=this.childNodes.indexOf(j);ie>-1&&(this.store&&this.store.deregisterNode(j),j.parent=null,this.childNodes.splice(ie,1)),this.updateLeafState()}removeChildByData(j){let oe=null;for(let ae=0;ae{if(oe){let ie=this.parent;for(;ie.level>0;)ie.expanded=!0,ie=ie.parent}this.expanded=!0,j&&j(),this.childNodes.forEach(ie=>{ie.canFocus=!0})};this.shouldLoadData()?this.loadData(ie=>{Array.isArray(ie)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),ae())}):ae()}doCreateChildren(j,oe={}){j.forEach(ae=>{this.insertChild(Object.assign({data:ae},oe),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(j=>{j.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const j=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!j||j.length===0;return}this.isLeaf=!1}setChecked(j,oe,ae,ie){if(this.indeterminate=j==="half",this.checked=j===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:de,allWithoutDisable:ue}=getChildState(this.childNodes);!this.isLeaf&&!de&&ue&&(this.checked=!1,j=!1);const pe=()=>{if(oe){const he=this.childNodes;for(let Ce=0,Ie=he.length;Ce{pe(),reInitChecked(this)},{checked:j!==!1});return}else pe()}const le=this.parent;!le||le.level===0||ae||reInitChecked(le)}getChildren(j=!1){if(this.level===0)return this.data;const oe=this.data;if(!oe)return null;const ae=this.store.props;let ie="children";return ae&&(ie=ae.children||"children"),oe[ie]===void 0&&(oe[ie]=null),j&&!oe[ie]&&(oe[ie]=[]),oe[ie]}updateChildren(){const j=this.getChildren()||[],oe=this.childNodes.map(le=>le.data),ae={},ie=[];j.forEach((le,de)=>{const ue=le[NODE_KEY];!!ue&&oe.findIndex(he=>he[NODE_KEY]===ue)>=0?ae[ue]={index:de,data:le}:ie.push({index:de,data:le})}),this.store.lazy||oe.forEach(le=>{ae[le[NODE_KEY]]||this.removeChildByData(le)}),ie.forEach(({index:le,data:de})=>{this.insertChild({data:de},le)}),this.updateLeafState()}loadData(j,oe={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(oe).length)){this.loading=!0;const ae=ie=>{this.childNodes=[],this.doCreateChildren(ie,oe),this.loaded=!0,this.loading=!1,this.updateLeafState(),j&&j.call(this,ie)};this.store.load(this,ae)}else j&&j.call(this)}};class TreeStore{constructor(j){this.currentNode=null,this.currentNodeKey=null;for(const oe in j)hasOwn$1(j,oe)&&(this[oe]=j[oe]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const j=this.load;j(this.root,oe=>{this.root.doCreateChildren(oe),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(j){const oe=this.filterNodeMethod,ae=this.lazy,ie=function(le){const de=le.root?le.root.childNodes:le.childNodes;if(de.forEach(ue=>{ue.visible=oe.call(ue,j,ue.data,ue),ie(ue)}),!le.visible&&de.length){let ue=!0;ue=!de.some(pe=>pe.visible),le.root?le.root.visible=ue===!1:le.visible=ue===!1}j&&le.visible&&!le.isLeaf&&!ae&&le.expand()};ie(this)}setData(j){j!==this.root.data?(this.root.setData(j),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(j){if(j instanceof Node$1)return j;const oe=isObject$8(j)?getNodeKey(this.key,j):j;return this.nodesMap[oe]||null}insertBefore(j,oe){const ae=this.getNode(oe);ae.parent.insertBefore({data:j},ae)}insertAfter(j,oe){const ae=this.getNode(oe);ae.parent.insertAfter({data:j},ae)}remove(j){const oe=this.getNode(j);oe&&oe.parent&&(oe===this.currentNode&&(this.currentNode=null),oe.parent.removeChild(oe))}append(j,oe){const ae=oe?this.getNode(oe):this.root;ae&&ae.insertChild({data:j})}_initDefaultCheckedNodes(){const j=this.defaultCheckedKeys||[],oe=this.nodesMap;j.forEach(ae=>{const ie=oe[ae];ie&&ie.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(j){(this.defaultCheckedKeys||[]).includes(j.key)&&j.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(j){j!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=j,this._initDefaultCheckedNodes())}registerNode(j){const oe=this.key;!j||!j.data||(oe?j.key!==void 0&&(this.nodesMap[j.key]=j):this.nodesMap[j.id]=j)}deregisterNode(j){!this.key||!j||!j.data||(j.childNodes.forEach(ae=>{this.deregisterNode(ae)}),delete this.nodesMap[j.key])}getCheckedNodes(j=!1,oe=!1){const ae=[],ie=function(le){(le.root?le.root.childNodes:le.childNodes).forEach(ue=>{(ue.checked||oe&&ue.indeterminate)&&(!j||j&&ue.isLeaf)&&ae.push(ue.data),ie(ue)})};return ie(this),ae}getCheckedKeys(j=!1){return this.getCheckedNodes(j).map(oe=>(oe||{})[this.key])}getHalfCheckedNodes(){const j=[],oe=function(ae){(ae.root?ae.root.childNodes:ae.childNodes).forEach(le=>{le.indeterminate&&j.push(le.data),oe(le)})};return oe(this),j}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(j=>(j||{})[this.key])}_getAllNodes(){const j=[],oe=this.nodesMap;for(const ae in oe)hasOwn$1(oe,ae)&&j.push(oe[ae]);return j}updateChildren(j,oe){const ae=this.nodesMap[j];if(!ae)return;const ie=ae.childNodes;for(let le=ie.length-1;le>=0;le--){const de=ie[le];this.remove(de.data)}for(let le=0,de=oe.length;lepe.level-ue.level),le=Object.create(null),de=Object.keys(ae);ie.forEach(ue=>ue.setChecked(!1,!1));for(let ue=0,pe=ie.length;ue0;)le[Ce.data[j]]=!0,Ce=Ce.parent;if(he.isLeaf||this.checkStrictly){he.setChecked(!0,!1);continue}if(he.setChecked(!0,!0),oe){he.setChecked(!1,!1);const Ie=function($e){$e.childNodes.forEach(Ve=>{Ve.isLeaf||Ve.setChecked(!1,!1),Ie(Ve)})};Ie(he)}}}setCheckedNodes(j,oe=!1){const ae=this.key,ie={};j.forEach(le=>{ie[(le||{})[ae]]=!0}),this._setCheckedKeys(ae,oe,ie)}setCheckedKeys(j,oe=!1){this.defaultCheckedKeys=j;const ae=this.key,ie={};j.forEach(le=>{ie[le]=!0}),this._setCheckedKeys(ae,oe,ie)}setDefaultExpandedKeys(j){j=j||[],this.defaultExpandedKeys=j,j.forEach(oe=>{const ae=this.getNode(oe);ae&&ae.expand(null,this.autoExpandParent)})}setChecked(j,oe,ae){const ie=this.getNode(j);ie&&ie.setChecked(!!oe,ae)}getCurrentNode(){return this.currentNode}setCurrentNode(j){const oe=this.currentNode;oe&&(oe.isCurrent=!1),this.currentNode=j,this.currentNode.isCurrent=!0}setUserCurrentNode(j,oe=!0){const ae=j[this.key],ie=this.nodesMap[ae];this.setCurrentNode(ie),oe&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(j,oe=!0){if(j==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const ae=this.getNode(j);ae&&(this.setCurrentNode(ae),oe&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$j=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup($){const j=useNamespace("tree"),oe=inject("NodeInstance"),ae=inject("RootTree");return()=>{const ie=$.node,{data:le,store:de}=ie;return $.renderContent?$.renderContent(h$2,{_self:oe,node:ie,data:le,store:de}):ae.ctx.slots.default?ae.ctx.slots.default({node:ie,data:le}):h$2("span",{class:j.be("node","label")},[ie.label])}}});var NodeContent=_export_sfc$1(_sfc_main$j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function useNodeExpandEventBroadcast($){const j=inject("TreeNodeMap",null),oe={treeNodeExpand:ae=>{$.node!==ae&&$.node.collapse()},children:[]};return j&&j.children.push(oe),provide("TreeNodeMap",oe),{broadcastExpanded:ae=>{if($.accordion)for(const ie of oe.children)ie.treeNodeExpand(ae)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:$,ctx:j,el$:oe,dropIndicator$:ae,store:ie}){const le=useNamespace("tree"),de=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:_e,treeNode:xe})=>{if(typeof $.allowDrag=="function"&&!$.allowDrag(xe.node))return _e.preventDefault(),!1;_e.dataTransfer.effectAllowed="move";try{_e.dataTransfer.setData("text/plain","")}catch{}de.value.draggingNode=xe,j.emit("node-drag-start",xe.node,_e)},treeNodeDragOver:({event:_e,treeNode:xe})=>{const Ce=xe,Ie=de.value.dropNode;Ie&&Ie!==Ce&&removeClass$1(Ie.$el,le.is("drop-inner"));const $e=de.value.draggingNode;if(!$e||!Ce)return;let Ne=!0,Ve=!0,Oe=!0,Fe=!0;typeof $.allowDrop=="function"&&(Ne=$.allowDrop($e.node,Ce.node,"prev"),Fe=Ve=$.allowDrop($e.node,Ce.node,"inner"),Oe=$.allowDrop($e.node,Ce.node,"next")),_e.dataTransfer.dropEffect=Ve||Ne||Oe?"move":"none",(Ne||Ve||Oe)&&Ie!==Ce&&(Ie&&j.emit("node-drag-leave",$e.node,Ie.node,_e),j.emit("node-drag-enter",$e.node,Ce.node,_e)),(Ne||Ve||Oe)&&(de.value.dropNode=Ce),Ce.node.nextSibling===$e.node&&(Oe=!1),Ce.node.previousSibling===$e.node&&(Ne=!1),Ce.node.contains($e.node,!1)&&(Ve=!1),($e.node===Ce.node||$e.node.contains(Ce.node))&&(Ne=!1,Ve=!1,Oe=!1);const ze=Ce.$el.getBoundingClientRect(),Ue=oe.value.getBoundingClientRect();let qe;const hn=Ne?Ve?.25:Oe?.45:1:-1,vn=Oe?Ve?.75:Ne?.55:0:1;let bn=-9999;const _n=_e.clientY-ze.top;_nze.height*vn?qe="after":Ve?qe="inner":qe="none";const kn=Ce.$el.querySelector(`.${le.be("node","expand-icon")}`).getBoundingClientRect(),xn=ae.value;qe==="before"?bn=kn.top-Ue.top:qe==="after"&&(bn=kn.bottom-Ue.top),xn.style.top=`${bn}px`,xn.style.left=`${kn.right-Ue.left}px`,qe==="inner"?addClass$1(Ce.$el,le.is("drop-inner")):removeClass$1(Ce.$el,le.is("drop-inner")),de.value.showDropIndicator=qe==="before"||qe==="after",de.value.allowDrop=de.value.showDropIndicator||Fe,de.value.dropType=qe,j.emit("node-drag-over",$e.node,Ce.node,_e)},treeNodeDragEnd:_e=>{const{draggingNode:xe,dropType:Ce,dropNode:Ie}=de.value;if(_e.preventDefault(),_e.dataTransfer.dropEffect="move",xe&&Ie){const $e={data:xe.node.data};Ce!=="none"&&xe.node.remove(),Ce==="before"?Ie.node.parent.insertBefore($e,Ie.node):Ce==="after"?Ie.node.parent.insertAfter($e,Ie.node):Ce==="inner"&&Ie.node.insertChild($e),Ce!=="none"&&ie.value.registerNode($e),removeClass$1(Ie.$el,le.is("drop-inner")),j.emit("node-drag-end",xe.node,Ie.node,Ce,_e),Ce!=="none"&&j.emit("node-drop",xe.node,Ie.node,Ce,_e)}xe&&!Ie&&j.emit("node-drag-end",xe.node,null,Ce,_e),de.value.showDropIndicator=!1,de.value.draggingNode=null,de.value.dropNode=null,de.value.allowDrop=!0}}),{dragState:de}}const _sfc_main$i=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:_CollapseTransition,ElCheckbox,NodeContent,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($,j){const oe=useNamespace("tree"),{broadcastExpanded:ae}=useNodeExpandEventBroadcast($),ie=inject("RootTree"),le=ref(!1),de=ref(!1),ue=ref(null),pe=ref(null),he=ref(null),_e=inject(dragEventsKey),xe=getCurrentInstance();provide("NodeInstance",xe),$.node.expanded&&(le.value=!0,de.value=!0);const Ce=ie.props.children||"children";watch(()=>{const _n=$.node.data[Ce];return _n&&[..._n]},()=>{$.node.updateChildren()}),watch(()=>$.node.indeterminate,_n=>{Ne($.node.checked,_n)}),watch(()=>$.node.checked,_n=>{Ne(_n,$.node.indeterminate)}),watch(()=>$.node.expanded,_n=>{nextTick(()=>le.value=_n),_n&&(de.value=!0)});const Ie=_n=>getNodeKey(ie.props.nodeKey,_n.data),$e=_n=>{const kn=$.props.class;if(!kn)return{};let xn;if(isFunction$h(kn)){const{data:$n}=_n;xn=kn($n,_n)}else xn=kn;return isString$d(xn)?{[xn]:!0}:xn},Ne=(_n,kn)=>{(ue.value!==_n||pe.value!==kn)&&ie.ctx.emit("check-change",$.node.data,_n,kn),ue.value=_n,pe.value=kn},Ve=_n=>{handleCurrentChange(ie.store,ie.ctx.emit,()=>ie.store.value.setCurrentNode($.node)),ie.currentNode.value=$.node,ie.props.expandOnClickNode&&Fe(),ie.props.checkOnClickNode&&!$.node.disabled&&ze(null,{target:{checked:!$.node.checked}}),ie.ctx.emit("node-click",$.node.data,$.node,xe,_n)},Oe=_n=>{ie.instance.vnode.props.onNodeContextmenu&&(_n.stopPropagation(),_n.preventDefault()),ie.ctx.emit("node-contextmenu",_n,$.node.data,$.node,xe)},Fe=()=>{$.node.isLeaf||(le.value?(ie.ctx.emit("node-collapse",$.node.data,$.node,xe),$.node.collapse()):($.node.expand(),j.emit("node-expand",$.node.data,$.node,xe)))},ze=(_n,kn)=>{$.node.setChecked(kn.target.checked,!ie.props.checkStrictly),nextTick(()=>{const xn=ie.store.value;ie.ctx.emit("check",$.node.data,{checkedNodes:xn.getCheckedNodes(),checkedKeys:xn.getCheckedKeys(),halfCheckedNodes:xn.getHalfCheckedNodes(),halfCheckedKeys:xn.getHalfCheckedKeys()})})};return{ns:oe,node$:he,tree:ie,expanded:le,childNodeRendered:de,oldChecked:ue,oldIndeterminate:pe,getNodeKey:Ie,getNodeClass:$e,handleSelectChange:Ne,handleClick:Ve,handleContextMenu:Oe,handleExpandIconClick:Fe,handleCheckChange:ze,handleChildNodeExpand:(_n,kn,xn)=>{ae(kn),ie.ctx.emit("node-expand",_n,kn,xn)},handleDragStart:_n=>{ie.props.draggable&&_e.treeNodeDragStart({event:_n,treeNode:$})},handleDragOver:_n=>{_n.preventDefault(),ie.props.draggable&&_e.treeNodeDragOver({event:_n,treeNode:{$el:he.value,node:$.node}})},handleDrop:_n=>{_n.preventDefault()},handleDragEnd:_n=>{ie.props.draggable&&_e.treeNodeDragEnd(_n)},CaretRight:caret_right_default}}}),_hoisted_1$c=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$8=["aria-expanded"];function _sfc_render$2($,j,oe,ae,ie,le){const de=resolveComponent("el-icon"),ue=resolveComponent("el-checkbox"),pe=resolveComponent("loading"),he=resolveComponent("node-content"),_e=resolveComponent("el-tree-node"),xe=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([$.ns.b("node"),$.ns.is("expanded",$.expanded),$.ns.is("current",$.node.isCurrent),$.ns.is("hidden",!$.node.visible),$.ns.is("focusable",!$.node.disabled),$.ns.is("checked",!$.node.disabled&&$.node.checked),$.getNodeClass($.node)]),role:"treeitem",tabindex:"-1","aria-expanded":$.expanded,"aria-disabled":$.node.disabled,"aria-checked":$.node.checked,draggable:$.tree.props.draggable,"data-key":$.getNodeKey($.node),onClick:j[1]||(j[1]=withModifiers((...Ce)=>$.handleClick&&$.handleClick(...Ce),["stop"])),onContextmenu:j[2]||(j[2]=(...Ce)=>$.handleContextMenu&&$.handleContextMenu(...Ce)),onDragstart:j[3]||(j[3]=withModifiers((...Ce)=>$.handleDragStart&&$.handleDragStart(...Ce),["stop"])),onDragover:j[4]||(j[4]=withModifiers((...Ce)=>$.handleDragOver&&$.handleDragOver(...Ce),["stop"])),onDragend:j[5]||(j[5]=withModifiers((...Ce)=>$.handleDragEnd&&$.handleDragEnd(...Ce),["stop"])),onDrop:j[6]||(j[6]=withModifiers((...Ce)=>$.handleDrop&&$.handleDrop(...Ce),["stop"]))},[createBaseVNode("div",{class:normalizeClass($.ns.be("node","content")),style:normalizeStyle({paddingLeft:($.node.level-1)*$.tree.props.indent+"px"})},[$.tree.props.icon||$.CaretRight?(openBlock(),createBlock(de,{key:0,class:normalizeClass([$.ns.be("node","expand-icon"),$.ns.is("leaf",$.node.isLeaf),{expanded:!$.node.isLeaf&&$.expanded}]),onClick:withModifiers($.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.tree.props.icon||$.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),$.showCheckbox?(openBlock(),createBlock(ue,{key:1,"model-value":$.node.checked,indeterminate:$.node.indeterminate,disabled:!!$.node.disabled,onClick:j[0]||(j[0]=withModifiers(()=>{},["stop"])),onChange:$.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),$.node.loading?(openBlock(),createBlock(de,{key:2,class:normalizeClass([$.ns.be("node","loading-icon"),$.ns.is("loading")])},{default:withCtx(()=>[createVNode(pe)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode(he,{node:$.node,"render-content":$.renderContent},null,8,["node","render-content"])],6),createVNode(xe,null,{default:withCtx(()=>[!$.renderAfterExpand||$.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass($.ns.be("node","children")),role:"group","aria-expanded":$.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.node.childNodes,Ce=>(openBlock(),createBlock(_e,{key:$.getNodeKey(Ce),"render-content":$.renderContent,"render-after-expand":$.renderAfterExpand,"show-checkbox":$.showCheckbox,node:Ce,accordion:$.accordion,props:$.props,onNodeExpand:$.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$8)),[[vShow,$.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$c)),[[vShow,$.node.visible]])}var ElTreeNode$1=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$2],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function useKeydown({el$:$},j){const oe=useNamespace("tree"),ae=shallowRef([]),ie=shallowRef([]);onMounted(()=>{de()}),onUpdated(()=>{ae.value=Array.from($.value.querySelectorAll("[role=treeitem]")),ie.value=Array.from($.value.querySelectorAll("input[type=checkbox]"))}),watch(ie,ue=>{ue.forEach(pe=>{pe.setAttribute("tabindex","-1")})}),useEventListener($,"keydown",ue=>{const pe=ue.target;if(!pe.className.includes(oe.b("node")))return;const he=ue.code;ae.value=Array.from($.value.querySelectorAll(`.${oe.is("focusable")}[role=treeitem]`));const _e=ae.value.indexOf(pe);let xe;if([EVENT_CODE.up,EVENT_CODE.down].includes(he)){if(ue.preventDefault(),he===EVENT_CODE.up){xe=_e===-1?0:_e!==0?_e-1:ae.value.length-1;const Ie=xe;for(;!j.value.getNode(ae.value[xe].dataset.key).canFocus;){if(xe--,xe===Ie){xe=-1;break}xe<0&&(xe=ae.value.length-1)}}else{xe=_e===-1?0:_e=ae.value.length&&(xe=0)}}xe!==-1&&ae.value[xe].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(he)&&(ue.preventDefault(),pe.click());const Ce=pe.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(he)&&Ce&&(ue.preventDefault(),Ce.click())});const de=()=>{var ue;ae.value=Array.from($.value.querySelectorAll(`.${oe.is("focusable")}[role=treeitem]`)),ie.value=Array.from($.value.querySelectorAll("input[type=checkbox]"));const pe=$.value.querySelectorAll(`.${oe.is("checked")}[role=treeitem]`);if(pe.length){pe[0].setAttribute("tabindex","0");return}(ue=ae.value[0])==null||ue.setAttribute("tabindex","0")}}const _sfc_main$h=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,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($,j){const{t:oe}=useLocale(),ae=useNamespace("tree"),ie=ref(new TreeStore({key:$.nodeKey,data:$.data,lazy:$.lazy,props:$.props,load:$.load,currentNodeKey:$.currentNodeKey,checkStrictly:$.checkStrictly,checkDescendants:$.checkDescendants,defaultCheckedKeys:$.defaultCheckedKeys,defaultExpandedKeys:$.defaultExpandedKeys,autoExpandParent:$.autoExpandParent,defaultExpandAll:$.defaultExpandAll,filterNodeMethod:$.filterNodeMethod}));ie.value.initialize();const le=ref(ie.value.root),de=ref(null),ue=ref(null),pe=ref(null),{broadcastExpanded:he}=useNodeExpandEventBroadcast($),{dragState:_e}=useDragNodeHandler({props:$,ctx:j,el$:ue,dropIndicator$:pe,store:ie});useKeydown({el$:ue},ie);const xe=computed(()=>{const{childNodes:wn}=le.value;return!wn||wn.length===0||wn.every(({visible:On})=>!On)});watch(()=>$.currentNodeKey,wn=>{ie.value.setCurrentNodeKey(wn)}),watch(()=>$.defaultCheckedKeys,wn=>{ie.value.setDefaultCheckedKey(wn)}),watch(()=>$.defaultExpandedKeys,wn=>{ie.value.setDefaultExpandedKeys(wn)}),watch(()=>$.data,wn=>{ie.value.setData(wn)},{deep:!0}),watch(()=>$.checkStrictly,wn=>{ie.value.checkStrictly=wn});const Ce=wn=>{if(!$.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");ie.value.filter(wn)},Ie=wn=>getNodeKey($.nodeKey,wn.data),$e=wn=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const On=ie.value.getNode(wn);if(!On)return[];const Tn=[On.data];let In=On.parent;for(;In&&In!==le.value;)Tn.push(In.data),In=In.parent;return Tn.reverse()},Ne=(wn,On)=>ie.value.getCheckedNodes(wn,On),Ve=wn=>ie.value.getCheckedKeys(wn),Oe=()=>{const wn=ie.value.getCurrentNode();return wn?wn.data:null},Fe=()=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const wn=Oe();return wn?wn[$.nodeKey]:null},ze=(wn,On)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");ie.value.setCheckedNodes(wn,On)},Ue=(wn,On)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");ie.value.setCheckedKeys(wn,On)},qe=(wn,On,Tn)=>{ie.value.setChecked(wn,On,Tn)},hn=()=>ie.value.getHalfCheckedNodes(),vn=()=>ie.value.getHalfCheckedKeys(),bn=(wn,On=!0)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(ie,j.emit,()=>ie.value.setUserCurrentNode(wn,On))},_n=(wn,On=!0)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(ie,j.emit,()=>ie.value.setCurrentNodeKey(wn,On))},kn=wn=>ie.value.getNode(wn),xn=wn=>{ie.value.remove(wn)},$n=(wn,On)=>{ie.value.append(wn,On)},Cn=(wn,On)=>{ie.value.insertBefore(wn,On)},En=(wn,On)=>{ie.value.insertAfter(wn,On)},Nn=(wn,On,Tn)=>{he(On),j.emit("node-expand",wn,On,Tn)},Sn=(wn,On)=>{if(!$.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");ie.value.updateChildren(wn,On)};return provide("RootTree",{ctx:j,props:$,store:ie,root:le,currentNode:de,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:ae,store:ie,root:le,currentNode:de,dragState:_e,el$:ue,dropIndicator$:pe,isEmpty:xe,filter:Ce,getNodeKey:Ie,getNodePath:$e,getCheckedNodes:Ne,getCheckedKeys:Ve,getCurrentNode:Oe,getCurrentKey:Fe,setCheckedNodes:ze,setCheckedKeys:Ue,setChecked:qe,getHalfCheckedNodes:hn,getHalfCheckedKeys:vn,setCurrentNode:bn,setCurrentKey:_n,t:oe,getNode:kn,remove:xn,append:$n,insertBefore:Cn,insertAfter:En,handleNodeExpand:Nn,updateKeyChildren:Sn}}});function _sfc_render$1($,j,oe,ae,ie,le){var de;const ue=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([$.ns.b(),$.ns.is("dragging",!!$.dragState.draggingNode),$.ns.is("drop-not-allow",!$.dragState.allowDrop),$.ns.is("drop-inner",$.dragState.dropType==="inner"),{[$.ns.m("highlight-current")]:$.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList($.root.childNodes,pe=>(openBlock(),createBlock(ue,{key:$.getNodeKey(pe),node:pe,props:$.props,accordion:$.accordion,"render-after-expand":$.renderAfterExpand,"show-checkbox":$.showCheckbox,"render-content":$.renderContent,onNodeExpand:$.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),$.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass($.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass($.ns.e("empty-text"))},toDisplayString$1((de=$.emptyText)!=null?de:$.t("el.tree.emptyText")),3)],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass($.ns.e("drop-indicator"))},null,2),[[vShow,$.dragState.showDropIndicator]])],2)}var Tree=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$1],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);Tree.install=$=>{$.component(Tree.name,Tree)};const _Tree=Tree,ElTree=_Tree,useSelect=($,{attrs:j},{tree:oe,key:ae})=>{const ie=useNamespace("tree-select"),le={...pick$3(toRefs($),Object.keys(ElSelect.props)),...j,valueKey:ae,popperClass:computed(()=>{const de=[ie.e("popper")];return $.popperClass&&de.push($.popperClass),de.join(" ")}),filterMethod:(de="")=>{$.filterMethod&&$.filterMethod(de),nextTick(()=>{var ue;(ue=oe.value)==null||ue.filter(de)})},onVisibleChange:de=>{var ue;(ue=j.onVisibleChange)==null||ue.call(j,de),$.filterable&&de&&le.filterMethod()}};return le},component=defineComponent({extends:ElOption,setup($,j){const oe=ElOption.setup($,j);delete oe.selectOptionClick;const ae=getCurrentInstance().proxy;return nextTick(()=>{oe.select.cachedOptions.get(ae.value)||oe.select.onOptionCreate(ae)}),oe},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue($){return $||$===0}function isValidArray($){return Array.isArray($)&&$.length}function toValidArray($){return Array.isArray($)?$:isValidValue($)?[$]:[]}function treeFind($,j,oe,ae,ie){for(let le=0;le<$.length;le++){const de=$[le];if(j(de,le,$,ie))return ae?ae(de,le,$,ie):de;{const ue=oe(de);if(isValidArray(ue)){const pe=treeFind(ue,j,oe,ae,de);if(pe)return pe}}}}function treeEach($,j,oe,ae){for(let ie=0;ie<$.length;ie++){const le=$[ie];j(le,ie,$,ae);const de=oe(le);isValidArray(de)&&treeEach(de,j,oe,le)}}const useTree$1=($,{attrs:j,slots:oe,emit:ae},{select:ie,tree:le,key:de})=>{watch(()=>$.modelValue,()=>{$.showCheckbox&&nextTick(()=>{const xe=le.value;xe&&!isEqual$4(xe.getCheckedKeys(),toValidArray($.modelValue))&&xe.setCheckedKeys(toValidArray($.modelValue))})},{immediate:!0,deep:!0});const ue=computed(()=>({value:de.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...$.props})),pe=(xe,Ce)=>{var Ie;const $e=ue.value[xe];return isFunction$h($e)?$e(Ce,(Ie=le.value)==null?void 0:Ie.getNode(pe("value",Ce))):Ce[$e]},he=toValidArray($.modelValue).map(xe=>treeFind($.data||[],Ce=>pe("value",Ce)===xe,Ce=>pe("children",Ce),(Ce,Ie,$e,Ne)=>Ne&&pe("value",Ne))).filter(xe=>isValidValue(xe)),_e=computed(()=>{if(!$.renderAfterExpand&&!$.lazy)return[];const xe=[];return treeEach($.data.concat($.cacheData),Ce=>{const Ie=pe("value",Ce);xe.push({value:Ie,currentLabel:pe("label",Ce),isDisabled:pe("disabled",Ce)})},Ce=>pe("children",Ce)),xe});return{...pick$3(toRefs($),Object.keys(_Tree.props)),...j,nodeKey:de,expandOnClickNode:computed(()=>!$.checkStrictly&&$.expandOnClickNode),defaultExpandedKeys:computed(()=>$.defaultExpandedKeys?$.defaultExpandedKeys.concat(he):he),renderContent:(xe,{node:Ce,data:Ie,store:$e})=>xe(component,{value:pe("value",Ie),label:pe("label",Ie),disabled:pe("disabled",Ie)},$.renderContent?()=>$.renderContent(xe,{node:Ce,data:Ie,store:$e}):oe.default?()=>oe.default({node:Ce,data:Ie,store:$e}):void 0),filterNodeMethod:(xe,Ce,Ie)=>{var $e;return $.filterNodeMethod?$.filterNodeMethod(xe,Ce,Ie):xe?($e=pe("label",Ce))==null?void 0:$e.includes(xe):!0},onNodeClick:(xe,Ce,Ie)=>{var $e,Ne,Ve;if(($e=j.onNodeClick)==null||$e.call(j,xe,Ce,Ie),!($.showCheckbox&&$.checkOnClickNode))if(!$.showCheckbox&&($.checkStrictly||Ce.isLeaf)){if(!pe("disabled",xe)){const Oe=(Ne=ie.value)==null?void 0:Ne.options.get(pe("value",xe));(Ve=ie.value)==null||Ve.handleOptionSelect(Oe,!0)}}else $.expandOnClickNode&&Ie.proxy.handleExpandIconClick()},onCheck:(xe,Ce)=>{var Ie;(Ie=j.onCheck)==null||Ie.call(j,xe,Ce);const $e=pe("value",xe);if($.checkStrictly)ae(UPDATE_MODEL_EVENT,$.multiple?Ce.checkedKeys:Ce.checkedKeys.includes($e)?$e:void 0);else if($.multiple)ae(UPDATE_MODEL_EVENT,le.value.getCheckedKeys(!0));else{const Ne=treeFind([xe],Fe=>!isValidArray(pe("children",Fe))&&!pe("disabled",Fe),Fe=>pe("children",Fe)),Ve=Ne?pe("value",Ne):void 0,Oe=isValidValue($.modelValue)&&!!treeFind([xe],Fe=>pe("value",Fe)===$.modelValue,Fe=>pe("children",Fe));ae(UPDATE_MODEL_EVENT,Ve===$.modelValue||Oe?void 0:Ve)}},cacheOptions:_e}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup($){const j=inject(selectKey);return watch(()=>$.data,()=>{var oe;$.data.forEach(ie=>{j.cachedOptions.has(ie.value)||j.cachedOptions.set(ie.value,ie)});const ae=((oe=j.selectWrapper)==null?void 0:oe.querySelectorAll("input"))||[];Array.from(ae).includes(document.activeElement)||j.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$g=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup($,j){const{slots:oe,expose:ae}=j,ie=ref(),le=ref(),de=computed(()=>$.nodeKey||$.valueKey||"value"),ue=useSelect($,j,{select:ie,tree:le,key:de}),{cacheOptions:pe,...he}=useTree$1($,j,{select:ie,tree:le,key:de}),_e=reactive({});return ae(_e),onMounted(()=>{Object.assign(_e,{...pick$3(le.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick$3(ie.value,["focus","blur"])})}),()=>h$2(ElSelect,reactive({...ue,ref:xe=>ie.value=xe}),{...oe,default:()=>[h$2(CacheOptions,{data:pe.value}),h$2(_Tree,reactive({...he,ref:xe=>le.value=xe}))]})}});var TreeSelect=_export_sfc$1(_sfc_main$g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);TreeSelect.install=$=>{$.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=($=>($.KEY="id",$.LABEL="label",$.CHILDREN="children",$.DISABLED="disabled",$))(TreeOptionsEnum||{}),SetOperationEnum=($=>($.ADD="add",$.DELETE="delete",$))(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"})},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,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},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}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",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]:($,j,oe)=>$&&j&&oe,[NODE_EXPAND]:($,j)=>$&&j,[NODE_COLLAPSE]:($,j)=>$&&j,[CURRENT_CHANGE]:($,j)=>$&&j,[NODE_CHECK]:($,j)=>$&&j,[NODE_CHECK_CHANGE]:($,j)=>$&&typeof j=="boolean",[NODE_CONTEXTMENU]:($,j,oe)=>$&&j&&oe},treeNodeEmits={click:($,j)=>!!($&&j),toggle:$=>!!$,check:($,j)=>$&&typeof j=="boolean"};function useCheck($,j){const oe=ref(new Set),ae=ref(new Set),{emit:ie}=getCurrentInstance();watch([()=>j.value,()=>$.defaultCheckedKeys],()=>nextTick(()=>{Fe($.defaultCheckedKeys)}),{immediate:!0});const le=()=>{if(!j.value||!$.showCheckbox||$.checkStrictly)return;const{levelTreeNodeMap:ze,maxLevel:Ue}=j.value,qe=oe.value,hn=new Set;for(let vn=Ue-1;vn>=1;--vn){const bn=ze.get(vn);bn&&bn.forEach(_n=>{const kn=_n.children;if(kn){let xn=!0,$n=!1;for(const Cn of kn){const En=Cn.key;if(qe.has(En))$n=!0;else if(hn.has(En)){xn=!1,$n=!0;break}else xn=!1}xn?qe.add(_n.key):$n?(hn.add(_n.key),qe.delete(_n.key)):(qe.delete(_n.key),hn.delete(_n.key))}})}ae.value=hn},de=ze=>oe.value.has(ze.key),ue=ze=>ae.value.has(ze.key),pe=(ze,Ue,qe=!0)=>{const hn=oe.value,vn=(bn,_n)=>{hn[_n?SetOperationEnum.ADD:SetOperationEnum.DELETE](bn.key);const kn=bn.children;!$.checkStrictly&&kn&&kn.forEach(xn=>{xn.disabled||vn(xn,_n)})};vn(ze,Ue),le(),qe&&he(ze,Ue)},he=(ze,Ue)=>{const{checkedNodes:qe,checkedKeys:hn}=$e(),{halfCheckedNodes:vn,halfCheckedKeys:bn}=Ne();ie(NODE_CHECK,ze.data,{checkedKeys:hn,checkedNodes:qe,halfCheckedKeys:bn,halfCheckedNodes:vn}),ie(NODE_CHECK_CHANGE,ze.data,Ue)};function _e(ze=!1){return $e(ze).checkedKeys}function xe(ze=!1){return $e(ze).checkedNodes}function Ce(){return Ne().halfCheckedKeys}function Ie(){return Ne().halfCheckedNodes}function $e(ze=!1){const Ue=[],qe=[];if(j!=null&&j.value&&$.showCheckbox){const{treeNodeMap:hn}=j.value;oe.value.forEach(vn=>{const bn=hn.get(vn);bn&&(!ze||ze&&bn.isLeaf)&&(qe.push(vn),Ue.push(bn.data))})}return{checkedKeys:qe,checkedNodes:Ue}}function Ne(){const ze=[],Ue=[];if(j!=null&&j.value&&$.showCheckbox){const{treeNodeMap:qe}=j.value;ae.value.forEach(hn=>{const vn=qe.get(hn);vn&&(Ue.push(hn),ze.push(vn.data))})}return{halfCheckedNodes:ze,halfCheckedKeys:Ue}}function Ve(ze){oe.value.clear(),ae.value.clear(),Fe(ze)}function Oe(ze,Ue){if(j!=null&&j.value&&$.showCheckbox){const qe=j.value.treeNodeMap.get(ze);qe&&pe(qe,Ue,!1)}}function Fe(ze){if(j!=null&&j.value){const{treeNodeMap:Ue}=j.value;if($.showCheckbox&&Ue&&ze)for(const qe of ze){const hn=Ue.get(qe);hn&&!de(hn)&&pe(hn,!0,!1)}}}return{updateCheckedKeys:le,toggleCheckbox:pe,isChecked:de,isIndeterminate:ue,getCheckedKeys:_e,getCheckedNodes:xe,getHalfCheckedKeys:Ce,getHalfCheckedNodes:Ie,setChecked:Oe,setCheckedKeys:Ve}}function useFilter($,j){const oe=ref(new Set([])),ae=ref(new Set([])),ie=computed(()=>isFunction$h($.filterMethod));function le(ue){var pe;if(!ie.value)return;const he=new Set,_e=ae.value,xe=oe.value,Ce=[],Ie=((pe=j.value)==null?void 0:pe.treeNodes)||[],$e=$.filterMethod;xe.clear();function Ne(Ve){Ve.forEach(Oe=>{Ce.push(Oe),$e!=null&&$e(ue,Oe.data)?Ce.forEach(ze=>{he.add(ze.key)}):Oe.isLeaf&&xe.add(Oe.key);const Fe=Oe.children;if(Fe&&Ne(Fe),!Oe.isLeaf){if(!he.has(Oe.key))xe.add(Oe.key);else if(Fe){let ze=!0;for(const Ue of Fe)if(!xe.has(Ue.key)){ze=!1;break}ze?_e.add(Oe.key):_e.delete(Oe.key)}}Ce.pop()})}return Ne(Ie),he}function de(ue){return ae.value.has(ue.key)}return{hiddenExpandIconKeySet:ae,hiddenNodeKeySet:oe,doFilter:le,isForceHiddenExpandIcon:de}}function useTree($,j){const oe=ref(new Set($.defaultExpandedKeys)),ae=ref(),ie=shallowRef();watch(()=>$.currentNodeKey,Vn=>{ae.value=Vn},{immediate:!0}),watch(()=>$.data,Vn=>{Yn(Vn)},{immediate:!0});const{isIndeterminate:le,isChecked:de,toggleCheckbox:ue,getCheckedKeys:pe,getCheckedNodes:he,getHalfCheckedKeys:_e,getHalfCheckedNodes:xe,setChecked:Ce,setCheckedKeys:Ie}=useCheck($,ie),{doFilter:$e,hiddenNodeKeySet:Ne,isForceHiddenExpandIcon:Ve}=useFilter($,ie),Oe=computed(()=>{var Vn;return((Vn=$.props)==null?void 0:Vn.value)||TreeOptionsEnum.KEY}),Fe=computed(()=>{var Vn;return((Vn=$.props)==null?void 0:Vn.children)||TreeOptionsEnum.CHILDREN}),ze=computed(()=>{var Vn;return((Vn=$.props)==null?void 0:Vn.disabled)||TreeOptionsEnum.DISABLED}),Ue=computed(()=>{var Vn;return((Vn=$.props)==null?void 0:Vn.label)||TreeOptionsEnum.LABEL}),qe=computed(()=>{const Vn=oe.value,eo=Ne.value,ho=[],So=ie.value&&ie.value.treeNodes||[];function Ln(){const Rn=[];for(let Gn=So.length-1;Gn>=0;--Gn)Rn.push(So[Gn]);for(;Rn.length;){const Gn=Rn.pop();if(Gn&&(eo.has(Gn.key)||ho.push(Gn),Vn.has(Gn.key))){const no=Gn.children;if(no){const bo=no.length;for(let Wn=bo-1;Wn>=0;--Wn)Rn.push(no[Wn])}}}}return Ln(),ho}),hn=computed(()=>qe.value.length>0);function vn(Vn){const eo=new Map,ho=new Map;let So=1;function Ln(Gn,no=1,bo=void 0){var Wn;const lo=[];for(const Qn of Gn){const ro=kn(Qn),Hn={level:no,key:ro,data:Qn};Hn.label=$n(Qn),Hn.parent=bo;const uo=_n(Qn);Hn.disabled=xn(Qn),Hn.isLeaf=!uo||uo.length===0,uo&&uo.length&&(Hn.children=Ln(uo,no+1,Hn)),lo.push(Hn),eo.set(ro,Hn),ho.has(no)||ho.set(no,[]),(Wn=ho.get(no))==null||Wn.push(Hn)}return no>So&&(So=no),lo}const Rn=Ln(Vn);return{treeNodeMap:eo,levelTreeNodeMap:ho,maxLevel:So,treeNodes:Rn}}function bn(Vn){const eo=$e(Vn);eo&&(oe.value=eo)}function _n(Vn){return Vn[Fe.value]}function kn(Vn){return Vn?Vn[Oe.value]:""}function xn(Vn){return Vn[ze.value]}function $n(Vn){return Vn[Ue.value]}function Cn(Vn){oe.value.has(Vn.key)?Tn(Vn):On(Vn)}function En(Vn){oe.value=new Set(Vn)}function Nn(Vn,eo){j(NODE_CLICK,Vn.data,Vn,eo),Sn(Vn),$.expandOnClickNode&&Cn(Vn),$.showCheckbox&&$.checkOnClickNode&&!Vn.disabled&&ue(Vn,!de(Vn),!0)}function Sn(Vn){Dn(Vn)||(ae.value=Vn.key,j(CURRENT_CHANGE,Vn.data,Vn))}function wn(Vn,eo){ue(Vn,eo)}function On(Vn){const eo=oe.value;if(ie.value&&$.accordion){const{treeNodeMap:ho}=ie.value;eo.forEach(So=>{const Ln=ho.get(So);Vn&&Vn.level===(Ln==null?void 0:Ln.level)&&eo.delete(So)})}eo.add(Vn.key),j(NODE_EXPAND,Vn.data,Vn)}function Tn(Vn){oe.value.delete(Vn.key),j(NODE_COLLAPSE,Vn.data,Vn)}function In(Vn){return oe.value.has(Vn.key)}function Bn(Vn){return!!Vn.disabled}function Dn(Vn){const eo=ae.value;return!!eo&&eo===Vn.key}function Xn(){var Vn,eo;if(ae.value)return(eo=(Vn=ie.value)==null?void 0:Vn.treeNodeMap.get(ae.value))==null?void 0:eo.data}function Zn(){return ae.value}function Fn(Vn){ae.value=Vn}function Yn(Vn){nextTick(()=>ie.value=vn(Vn))}function qn(Vn){var eo;const ho=isObject$8(Vn)?kn(Vn):Vn;return(eo=ie.value)==null?void 0:eo.treeNodeMap.get(ho)}return{tree:ie,flattenTree:qe,isNotEmpty:hn,getKey:kn,getChildren:_n,toggleExpand:Cn,toggleCheckbox:ue,isExpanded:In,isChecked:de,isIndeterminate:le,isDisabled:Bn,isCurrent:Dn,isForceHiddenExpandIcon:Ve,handleNodeClick:Nn,handleNodeCheck:wn,getCurrentNode:Xn,getCurrentKey:Zn,setCurrentKey:Fn,getCheckedKeys:pe,getCheckedNodes:he,getHalfCheckedKeys:_e,getHalfCheckedNodes:xe,setChecked:Ce,setCheckedKeys:Ie,filter:bn,setData:Yn,getNode:qn,expandNode:On,collapseNode:Tn,setExpandedKeys:En}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup($){const j=inject(ROOT_TREE_INJECTION_KEY),oe=useNamespace("tree");return()=>{const ae=$.node,{data:ie}=ae;return j!=null&&j.ctx.slots.default?j.ctx.slots.default({node:ae,data:ie}):h$2("span",{class:oe.be("node","label")},[ae==null?void 0:ae.label])}}});const _hoisted_1$b=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$a=defineComponent({name:"ElTreeNode"}),_sfc_main$f=defineComponent({...__default__$a,props:treeNodeProps,emits:treeNodeEmits,setup($,{emit:j}){const oe=$,ae=inject(ROOT_TREE_INJECTION_KEY),ie=useNamespace("tree"),le=computed(()=>{var xe;return(xe=ae==null?void 0:ae.props.indent)!=null?xe:16}),de=computed(()=>{var xe;return(xe=ae==null?void 0:ae.props.icon)!=null?xe:caret_right_default}),ue=xe=>{j("click",oe.node,xe)},pe=()=>{j("toggle",oe.node)},he=xe=>{j("check",oe.node,xe)},_e=xe=>{var Ce,Ie,$e,Ne;($e=(Ie=(Ce=ae==null?void 0:ae.instance)==null?void 0:Ce.vnode)==null?void 0:Ie.props)!=null&&$e.onNodeContextmenu&&(xe.stopPropagation(),xe.preventDefault()),ae==null||ae.ctx.emit(NODE_CONTEXTMENU,xe,(Ne=oe.node)==null?void 0:Ne.data,oe.node)};return(xe,Ce)=>{var Ie,$e,Ne;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(ie).b("node"),unref(ie).is("expanded",xe.expanded),unref(ie).is("current",xe.current),unref(ie).is("focusable",!xe.disabled),unref(ie).is("checked",!xe.disabled&&xe.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":xe.expanded,"aria-disabled":xe.disabled,"aria-checked":xe.checked,"data-key":(Ie=xe.node)==null?void 0:Ie.key,onClick:withModifiers(ue,["stop"]),onContextmenu:_e},[createBaseVNode("div",{class:normalizeClass(unref(ie).be("node","content")),style:normalizeStyle({paddingLeft:`${(xe.node.level-1)*unref(le)}px`,height:xe.itemSize+"px"})},[unref(de)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ie).is("leaf",!!(($e=xe.node)!=null&&$e.isLeaf)),unref(ie).is("hidden",xe.hiddenExpandIcon),{expanded:!((Ne=xe.node)!=null&&Ne.isLeaf)&&xe.expanded},unref(ie).be("node","expand-icon")]),onClick:withModifiers(pe,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(de))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":xe.checked,indeterminate:xe.indeterminate,disabled:xe.disabled,onChange:he,onClick:Ce[0]||(Ce[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode(unref(ElNodeContent),{node:xe.node},null,8,["node"])],6)],42,_hoisted_1$b)}}});var ElTreeNode=_export_sfc$1(_sfc_main$f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const __default__$9=defineComponent({name:"ElTreeV2"}),_sfc_main$e=defineComponent({...__default__$9,props:treeProps,emits:treeEmits,setup($,{expose:j,emit:oe}){const ae=$,ie=useSlots(),le=computed(()=>ae.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:oe,slots:ie},props:ae,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:de}=useLocale(),ue=useNamespace("tree"),{flattenTree:pe,isNotEmpty:he,toggleExpand:_e,isExpanded:xe,isIndeterminate:Ce,isChecked:Ie,isDisabled:$e,isCurrent:Ne,isForceHiddenExpandIcon:Ve,handleNodeClick:Oe,handleNodeCheck:Fe,toggleCheckbox:ze,getCurrentNode:Ue,getCurrentKey:qe,setCurrentKey:hn,getCheckedKeys:vn,getCheckedNodes:bn,getHalfCheckedKeys:_n,getHalfCheckedNodes:kn,setChecked:xn,setCheckedKeys:$n,filter:Cn,setData:En,getNode:Nn,expandNode:Sn,collapseNode:wn,setExpandedKeys:On}=useTree(ae,oe);return j({toggleCheckbox:ze,getCurrentNode:Ue,getCurrentKey:qe,setCurrentKey:hn,getCheckedKeys:vn,getCheckedNodes:bn,getHalfCheckedKeys:_n,getHalfCheckedNodes:kn,setChecked:xn,setCheckedKeys:$n,filter:Cn,setData:En,getNode:Nn,expandNode:Sn,collapseNode:wn,setExpandedKeys:On}),(Tn,In)=>{var Bn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(ue).b(),{[unref(ue).m("highlight-current")]:Tn.highlightCurrent}]),role:"tree"},[unref(he)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(ue).b("virtual-list"),data:unref(pe),total:unref(pe).length,height:Tn.height,"item-size":unref(le),"perf-mode":Tn.perfMode},{default:withCtx(({data:Dn,index:Xn,style:Zn})=>[(openBlock(),createBlock(ElTreeNode,{key:Dn[Xn].key,style:normalizeStyle(Zn),node:Dn[Xn],expanded:unref(xe)(Dn[Xn]),"show-checkbox":Tn.showCheckbox,checked:unref(Ie)(Dn[Xn]),indeterminate:unref(Ce)(Dn[Xn]),"item-size":unref(le),disabled:unref($e)(Dn[Xn]),current:unref(Ne)(Dn[Xn]),"hidden-expand-icon":unref(Ve)(Dn[Xn]),onClick:unref(Oe),onToggle:unref(_e),onCheck:unref(Fe)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ue).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(ue).e("empty-text"))},toDisplayString$1((Bn=Tn.emptyText)!=null?Bn:unref(de)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$1(_sfc_main$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor(j,oe,ae,ie){super(j),this.name="UploadAjaxError",this.status=oe,this.method=ae,this.url=ie}}function getError($,j,oe){let ae;return oe.response?ae=`${oe.response.error||oe.response}`:oe.responseText?ae=`${oe.responseText}`:ae=`fail to ${j.method} ${$} ${oe.status}`,new UploadAjaxError(ae,oe.status,j.method,$)}function getBody($){const j=$.responseText||$.response;if(!j)return j;try{return JSON.parse(j)}catch{return j}}const ajaxUpload=$=>{typeof XMLHttpRequest>"u"&&throwError(SCOPE$2,"XMLHttpRequest is undefined");const j=new XMLHttpRequest,oe=$.action;j.upload&&j.upload.addEventListener("progress",le=>{const de=le;de.percent=le.total>0?le.loaded/le.total*100:0,$.onProgress(de)});const ae=new FormData;if($.data)for(const[le,de]of Object.entries($.data))Array.isArray(de)?ae.append(le,...de):ae.append(le,de);ae.append($.filename,$.file,$.file.name),j.addEventListener("error",()=>{$.onError(getError(oe,$,j))}),j.addEventListener("load",()=>{if(j.status<200||j.status>=300)return $.onError(getError(oe,$,j));$.onSuccess(getBody(j))}),j.open($.method,oe,!0),$.withCredentials&&"withCredentials"in j&&(j.withCredentials=!0);const ie=$.headers||{};if(ie instanceof Headers)ie.forEach((le,de)=>j.setRequestHeader(de,le));else for(const[le,de]of Object.entries(ie))isNil(de)||j.setRequestHeader(le,String(de));return j.send(ae),j},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:Object,default:()=>mutable({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},type:{type:String,default:"select"},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}}),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"}}),uploadListEmits={remove:$=>!!$},_hoisted_1$a=["onKeydown"],_hoisted_2$7=["src"],_hoisted_3$5=["onClick"],_hoisted_4$4=["onClick"],_hoisted_5$2=["onClick"],__default__$8=defineComponent({name:"ElUploadList"}),_sfc_main$d=defineComponent({...__default__$8,props:uploadListProps,emits:uploadListEmits,setup($,{emit:j}){const{t:oe}=useLocale(),ae=useNamespace("upload"),ie=useNamespace("icon"),le=useNamespace("list"),de=useFormDisabled(),ue=ref(!1),pe=he=>{j("remove",he)};return(he,_e)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass([unref(ae).b("list"),unref(ae).bm("list",he.listType),unref(ae).is("disabled",unref(de))]),name:unref(le).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(he.files,xe=>(openBlock(),createElementBlock("li",{key:xe.uid||xe.name,class:normalizeClass([unref(ae).be("list","item"),unref(ae).is(xe.status),{focusing:ue.value}]),tabindex:"0",onKeydown:withKeys(Ce=>!unref(de)&&pe(xe),["delete"]),onFocus:_e[0]||(_e[0]=Ce=>ue.value=!0),onBlur:_e[1]||(_e[1]=Ce=>ue.value=!1),onClick:_e[2]||(_e[2]=Ce=>ue.value=!1)},[renderSlot(he.$slots,"default",{file:xe},()=>[he.listType==="picture"||xe.status!=="uploading"&&he.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(ae).be("list","item-thumbnail")),src:xe.url,alt:""},null,10,_hoisted_2$7)):createCommentVNode("v-if",!0),xe.status==="uploading"||he.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ae).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(ae).be("list","item-name")),onClick:withModifiers(Ce=>he.handlePreview(xe),["prevent"])},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ie).m("document"))},{default:withCtx(()=>[createVNode(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(ae).be("list","item-file-name"))},toDisplayString$1(xe.name),3)],10,_hoisted_3$5),xe.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:he.listType==="picture-card"?"circle":"line","stroke-width":he.listType==="picture-card"?6:2,percentage:Number(xe.percentage),style:normalizeStyle(he.listType==="picture-card"?"":"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(ae).be("list","item-status-label"))},[he.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ie).m("upload-success"),unref(ie).m("circle-check")])},{default:withCtx(()=>[createVNode(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(he.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ie).m("upload-success"),unref(ie).m("check")])},{default:withCtx(()=>[createVNode(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(de)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(ie).m("close")),onClick:Ce=>pe(xe)},{default:withCtx(()=>[createVNode(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(de)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(ie).m("close-tip"))},toDisplayString$1(unref(oe)("el.upload.deleteTip")),3)),he.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(ae).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(ae).be("list","item-preview")),onClick:Ce=>he.handlePreview(xe)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ie).m("zoom-in"))},{default:withCtx(()=>[createVNode(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_4$4),unref(de)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(ae).be("list","item-delete")),onClick:Ce=>pe(xe)},[createVNode(unref(ElIcon),{class:normalizeClass(unref(ie).m("delete"))},{default:withCtx(()=>[createVNode(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_5$2))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$a))),128)),renderSlot(he.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:$=>isArray$x($)},_hoisted_1$9=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$7=defineComponent({name:COMPONENT_NAME}),_sfc_main$c=defineComponent({...__default__$7,props:uploadDraggerProps,emits:uploadDraggerEmits,setup($,{emit:j}){const oe=inject(uploadContextKey);oe||throwError(COMPONENT_NAME,"usage: ");const ae=useNamespace("upload"),ie=ref(!1),le=useFormDisabled(),de=pe=>{if(le.value)return;ie.value=!1,pe.stopPropagation();const he=Array.from(pe.dataTransfer.files),_e=oe.accept.value;if(!_e){j("file",he);return}const xe=he.filter(Ce=>{const{type:Ie,name:$e}=Ce,Ne=$e.includes(".")?`.${$e.split(".").pop()}`:"",Ve=Ie.replace(/\/.*$/,"");return _e.split(",").map(Oe=>Oe.trim()).filter(Oe=>Oe).some(Oe=>Oe.startsWith(".")?Ne===Oe:/\/\*$/.test(Oe)?Ve===Oe.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(Oe)?Ie===Oe:!1)});j("file",xe)},ue=()=>{le.value||(ie.value=!0)};return(pe,he)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ae).b("dragger"),unref(ae).is("dragover",ie.value)]),onDrop:withModifiers(de,["prevent"]),onDragover:withModifiers(ue,["prevent"]),onDragleave:he[0]||(he[0]=withModifiers(_e=>ie.value=!1,["prevent"]))},[renderSlot(pe.$slots,"default")],42,_hoisted_1$9))}});var UploadDragger=_export_sfc$1(_sfc_main$c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/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}}),_hoisted_1$8=["onKeydown"],_hoisted_2$6=["name","multiple","accept"],__default__$6=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$b=defineComponent({...__default__$6,props:uploadContentProps,setup($,{expose:j}){const oe=$,ae=useNamespace("upload"),ie=useFormDisabled(),le=shallowRef({}),de=shallowRef(),ue=$e=>{if($e.length===0)return;const{autoUpload:Ne,limit:Ve,fileList:Oe,multiple:Fe,onStart:ze,onExceed:Ue}=oe;if(Ve&&Oe.length+$e.length>Ve){Ue($e,Oe);return}Fe||($e=$e.slice(0,1));for(const qe of $e){const hn=qe;hn.uid=genFileId(),ze(hn),Ne&&pe(hn)}},pe=async $e=>{if(de.value.value="",!oe.beforeUpload)return he($e);let Ne,Ve={};try{const Fe=oe.beforeUpload($e);Ve=isObject$8(oe.data)?cloneDeep(oe.data):oe.data,Ne=await Fe}catch{Ne=!1}if(Ne===!1){oe.onRemove($e);return}let Oe=$e;Ne instanceof Blob&&(Ne instanceof File?Oe=Ne:Oe=new File([Ne],$e.name,{type:$e.type})),he(Object.assign(Oe,{uid:$e.uid}),Ve)},he=($e,Ne)=>{const{headers:Ve,data:Oe,method:Fe,withCredentials:ze,name:Ue,action:qe,onProgress:hn,onSuccess:vn,onError:bn,httpRequest:_n}=oe,{uid:kn}=$e,xn={headers:Ve||{},withCredentials:ze,file:$e,data:Ne??Oe,method:Fe,filename:Ue,action:qe,onProgress:Cn=>{hn(Cn,$e)},onSuccess:Cn=>{vn(Cn,$e),delete le.value[kn]},onError:Cn=>{bn(Cn,$e),delete le.value[kn]}},$n=_n(xn);le.value[kn]=$n,$n instanceof Promise&&$n.then(xn.onSuccess,xn.onError)},_e=$e=>{const Ne=$e.target.files;Ne&&ue(Array.from(Ne))},xe=()=>{ie.value||(de.value.value="",de.value.click())},Ce=()=>{xe()};return j({abort:$e=>{entriesOf(le.value).filter($e?([Ve])=>String($e.uid)===Ve:()=>!0).forEach(([Ve,Oe])=>{Oe instanceof XMLHttpRequest&&Oe.abort(),delete le.value[Ve]})},upload:pe}),($e,Ne)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ae).b(),unref(ae).m($e.listType),unref(ae).is("drag",$e.drag)]),tabindex:"0",onClick:xe,onKeydown:withKeys(withModifiers(Ce,["self"]),["enter","space"])},[$e.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(ie),onFile:ue},{default:withCtx(()=>[renderSlot($e.$slots,"default")]),_:3},8,["disabled"])):renderSlot($e.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:de,class:normalizeClass(unref(ae).e("input")),name:$e.name,multiple:$e.multiple,accept:$e.accept,type:"file",onChange:_e,onClick:Ne[0]||(Ne[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$6)],42,_hoisted_1$8))}});var UploadContent=_export_sfc$1(_sfc_main$b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const SCOPE$1="ElUpload",revokeObjectURL=$=>{var j;(j=$.url)!=null&&j.startsWith("blob:")&&URL.revokeObjectURL($.url)},useHandlers=($,j)=>{const oe=useVModel($,"fileList",void 0,{passive:!0}),ae=Ce=>oe.value.find(Ie=>Ie.uid===Ce.uid);function ie(Ce){var Ie;(Ie=j.value)==null||Ie.abort(Ce)}function le(Ce=["ready","uploading","success","fail"]){oe.value=oe.value.filter(Ie=>!Ce.includes(Ie.status))}const de=(Ce,Ie)=>{const $e=ae(Ie);$e&&(console.error(Ce),$e.status="fail",oe.value.splice(oe.value.indexOf($e),1),$.onError(Ce,$e,oe.value),$.onChange($e,oe.value))},ue=(Ce,Ie)=>{const $e=ae(Ie);$e&&($.onProgress(Ce,$e,oe.value),$e.status="uploading",$e.percentage=Math.round(Ce.percent))},pe=(Ce,Ie)=>{const $e=ae(Ie);$e&&($e.status="success",$e.response=Ce,$.onSuccess(Ce,$e,oe.value),$.onChange($e,oe.value))},he=Ce=>{isNil(Ce.uid)&&(Ce.uid=genFileId());const Ie={name:Ce.name,percentage:0,status:"ready",size:Ce.size,raw:Ce,uid:Ce.uid};if($.listType==="picture-card"||$.listType==="picture")try{Ie.url=URL.createObjectURL(Ce)}catch($e){$e.message,$.onError($e,Ie,oe.value)}oe.value=[...oe.value,Ie],$.onChange(Ie,oe.value)},_e=async Ce=>{const Ie=Ce instanceof File?ae(Ce):Ce;Ie||throwError(SCOPE$1,"file to be removed not found");const $e=Ne=>{ie(Ne);const Ve=oe.value;Ve.splice(Ve.indexOf(Ne),1),$.onRemove(Ne,Ve),revokeObjectURL(Ne)};$.beforeRemove?await $.beforeRemove(Ie,oe.value)!==!1&&$e(Ie):$e(Ie)};function xe(){oe.value.filter(({status:Ce})=>Ce==="ready").forEach(({raw:Ce})=>{var Ie;return Ce&&((Ie=j.value)==null?void 0:Ie.upload(Ce))})}return watch(()=>$.listType,Ce=>{Ce!=="picture-card"&&Ce!=="picture"||(oe.value=oe.value.map(Ie=>{const{raw:$e,url:Ne}=Ie;if(!Ne&&$e)try{Ie.url=URL.createObjectURL($e)}catch(Ve){$.onError(Ve,Ie,oe.value)}return Ie}))}),watch(oe,Ce=>{for(const Ie of Ce)Ie.uid||(Ie.uid=genFileId()),Ie.status||(Ie.status="success")},{immediate:!0,deep:!0}),{uploadFiles:oe,abort:ie,clearFiles:le,handleError:de,handleProgress:ue,handleStart:he,handleSuccess:pe,handleRemove:_e,submit:xe}},__default__$5=defineComponent({name:"ElUpload"}),_sfc_main$a=defineComponent({...__default__$5,props:uploadProps,setup($,{expose:j}){const oe=$,ae=useSlots(),ie=useFormDisabled(),le=shallowRef(),{abort:de,submit:ue,clearFiles:pe,uploadFiles:he,handleStart:_e,handleError:xe,handleRemove:Ce,handleSuccess:Ie,handleProgress:$e}=useHandlers(oe,le),Ne=computed(()=>oe.listType==="picture-card"),Ve=computed(()=>({...oe,fileList:he.value,onStart:_e,onProgress:$e,onSuccess:Ie,onError:xe,onRemove:Ce}));return onBeforeUnmount(()=>{he.value.forEach(({url:Oe})=>{Oe!=null&&Oe.startsWith("blob:")&&URL.revokeObjectURL(Oe)})}),provide(uploadContextKey,{accept:toRef(oe,"accept")}),j({abort:de,submit:ue,clearFiles:pe,handleStart:_e,handleRemove:Ce}),(Oe,Fe)=>(openBlock(),createElementBlock("div",null,[unref(Ne)&&Oe.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(ie),"list-type":Oe.listType,files:unref(he),"handle-preview":Oe.onPreview,onRemove:unref(Ce)},createSlots({append:withCtx(()=>[createVNode(UploadContent,mergeProps({ref_key:"uploadRef",ref:le},unref(Ve)),{default:withCtx(()=>[unref(ae).trigger?renderSlot(Oe.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!unref(ae).trigger&&unref(ae).default?renderSlot(Oe.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[Oe.$slots.file?{name:"default",fn:withCtx(({file:ze})=>[renderSlot(Oe.$slots,"file",{file:ze})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(Ne)||unref(Ne)&&!Oe.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:le},unref(Ve)),{default:withCtx(()=>[unref(ae).trigger?renderSlot(Oe.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!unref(ae).trigger&&unref(ae).default?renderSlot(Oe.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),Oe.$slots.trigger?renderSlot(Oe.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(Oe.$slots,"tip"),!unref(Ne)&&Oe.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(ie),"list-type":Oe.listType,files:unref(he),"handle-preview":Oe.onPreview,onRemove:unref(Ce)},createSlots({_:2},[Oe.$slots.file?{name:"default",fn:withCtx(({file:ze})=>[renderSlot(Oe.$slots,"file",{file:ze})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const ElUpload=withInstall(Upload);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,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];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=($,j)=>Object.entries(attributes).reduce((oe,[ae,ie])=>{var le,de;const{type:ue,default:pe}=ie,he=$.getAttribute(`infinite-scroll-${ae}`);let _e=(de=(le=j[he])!=null?le:he)!=null?de:pe;return _e=_e==="false"?!1:_e,_e=ue(_e),oe[ae]=Number.isNaN(_e)?pe:_e,oe},{}),destroyObserver=$=>{const{observer:j}=$[SCOPE];j&&(j.disconnect(),delete $[SCOPE].observer)},handleScroll=($,j)=>{const{container:oe,containerEl:ae,instance:ie,observer:le,lastScrollTop:de}=$[SCOPE],{disabled:ue,distance:pe}=getScrollOptions($,ie),{clientHeight:he,scrollHeight:_e,scrollTop:xe}=ae,Ce=xe-de;if($[SCOPE].lastScrollTop=xe,le||ue||Ce<0)return;let Ie=!1;if(oe===$)Ie=_e-(he+xe)<=pe;else{const{clientTop:$e,scrollHeight:Ne}=$,Ve=getOffsetTopDistance($,ae);Ie=xe+he>=Ve+$e+Ne-pe}Ie&&j.call(ie)};function checkFull($,j){const{containerEl:oe,instance:ae}=$[SCOPE],{disabled:ie}=getScrollOptions($,ae);ie||oe.clientHeight===0||(oe.scrollHeight<=oe.clientHeight?j.call(ae):destroyObserver($))}const InfiniteScroll={async mounted($,j){const{instance:oe,value:ae}=j;isFunction$h(ae)||throwError(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:ie,immediate:le}=getScrollOptions($,oe),de=getScrollContainer($,!0),ue=de===window?document.documentElement:de,pe=throttle$2(handleScroll.bind(null,$,ae),ie);if(de){if($[SCOPE]={instance:oe,container:de,containerEl:ue,delay:ie,cb:ae,onScroll:pe,lastScrollTop:ue.scrollTop},le){const he=new MutationObserver(throttle$2(checkFull.bind(null,$,ae),CHECK_INTERVAL));$[SCOPE].observer=he,he.observe($,{childList:!0,subtree:!0}),checkFull($,ae)}de.addEventListener("scroll",pe)}},unmounted($){const{container:j,onScroll:oe}=$[SCOPE];j==null||j.removeEventListener("scroll",oe),destroyObserver($)},async updated($){if(!$[SCOPE])await nextTick();else{const{containerEl:j,cb:oe,observer:ae}=$[SCOPE];j.clientHeight&&ae&&checkFull($,oe)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=$=>{$.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent($){let j;const oe=ref(!1),ae=reactive({...$,originalPosition:"",originalOverflow:"",visible:!1});function ie(Ce){ae.text=Ce}function le(){const Ce=ae.parent,Ie=xe.ns;if(!Ce.vLoadingAddClassList){let $e=Ce.getAttribute("loading-number");$e=Number.parseInt($e)-1,$e?Ce.setAttribute("loading-number",$e.toString()):(removeClass$1(Ce,Ie.bm("parent","relative")),Ce.removeAttribute("loading-number")),removeClass$1(Ce,Ie.bm("parent","hidden"))}de(),_e.unmount()}function de(){var Ce,Ie;(Ie=(Ce=xe.$el)==null?void 0:Ce.parentNode)==null||Ie.removeChild(xe.$el)}function ue(){var Ce;$.beforeClose&&!$.beforeClose()||(oe.value=!0,clearTimeout(j),j=window.setTimeout(pe,400),ae.visible=!1,(Ce=$.closed)==null||Ce.call($))}function pe(){if(!oe.value)return;const Ce=ae.parent;oe.value=!1,Ce.vLoadingAddClassList=void 0,le()}const he=defineComponent({name:"ElLoading",setup(Ce,{expose:Ie}){const{ns:$e}=useGlobalComponentSettings("loading"),Ne=useZIndex();return Ie({ns:$e,zIndex:Ne}),()=>{const Ve=ae.spinner||ae.svg,Oe=h$2("svg",{class:"circular",viewBox:ae.svgViewBox?ae.svgViewBox:"0 0 50 50",...Ve?{innerHTML:Ve}:{}},[h$2("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),Fe=ae.text?h$2("p",{class:$e.b("text")},[ae.text]):void 0;return h$2(Transition,{name:$e.b("fade"),onAfterLeave:pe},{default:withCtx(()=>[withDirectives(createVNode("div",{style:{backgroundColor:ae.background||""},class:[$e.b("mask"),ae.customClass,ae.fullscreen?"is-fullscreen":""]},[h$2("div",{class:$e.b("spinner")},[Oe,Fe])]),[[vShow,ae.visible]])])})}}}),_e=createApp(he),xe=_e.mount(document.createElement("div"));return{...toRefs(ae),setText:ie,removeElLoadingChild:de,close:ue,handleAfterLeave:pe,vm:xe,get $el(){return xe.$el}}}let fullscreenInstance;const Loading=function($={}){if(!isClient)return;const j=resolveOptions($);if(j.fullscreen&&fullscreenInstance)return fullscreenInstance;const oe=createLoadingComponent({...j,closed:()=>{var ie;(ie=j.closed)==null||ie.call(j),j.fullscreen&&(fullscreenInstance=void 0)}});addStyle(j,j.parent,oe),addClassList(j,j.parent,oe),j.parent.vLoadingAddClassList=()=>addClassList(j,j.parent,oe);let ae=j.parent.getAttribute("loading-number");return ae?ae=`${Number.parseInt(ae)+1}`:ae="1",j.parent.setAttribute("loading-number",ae),j.parent.appendChild(oe.$el),nextTick(()=>oe.visible.value=j.visible),j.fullscreen&&(fullscreenInstance=oe),oe},resolveOptions=$=>{var j,oe,ae,ie;let le;return isString$d($.target)?le=(j=document.querySelector($.target))!=null?j:document.body:le=$.target||document.body,{parent:le===document.body||$.body?document.body:le,background:$.background||"",svg:$.svg||"",svgViewBox:$.svgViewBox||"",spinner:$.spinner||!1,text:$.text||"",fullscreen:le===document.body&&((oe=$.fullscreen)!=null?oe:!0),lock:(ae=$.lock)!=null?ae:!1,customClass:$.customClass||"",visible:(ie=$.visible)!=null?ie:!0,target:le}},addStyle=async($,j,oe)=>{const{nextZIndex:ae}=oe.vm.zIndex,ie={};if($.fullscreen)oe.originalPosition.value=getStyle(document.body,"position"),oe.originalOverflow.value=getStyle(document.body,"overflow"),ie.zIndex=ae();else if($.parent===document.body){oe.originalPosition.value=getStyle(document.body,"position"),await nextTick();for(const le of["top","left"]){const de=le==="top"?"scrollTop":"scrollLeft";ie[le]=`${$.target.getBoundingClientRect()[le]+document.body[de]+document.documentElement[de]-Number.parseInt(getStyle(document.body,`margin-${le}`),10)}px`}for(const le of["height","width"])ie[le]=`${$.target.getBoundingClientRect()[le]}px`}else oe.originalPosition.value=getStyle(j,"position");for(const[le,de]of Object.entries(ie))oe.$el.style[le]=de},addClassList=($,j,oe)=>{const ae=oe.vm.ns;["absolute","fixed","sticky"].includes(oe.originalPosition.value)?removeClass$1(j,ae.bm("parent","relative")):addClass$1(j,ae.bm("parent","relative")),$.fullscreen&&$.lock?addClass$1(j,ae.bm("parent","hidden")):removeClass$1(j,ae.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance$1=($,j)=>{var oe,ae,ie,le;const de=j.instance,ue=Ce=>isObject$8(j.value)?j.value[Ce]:void 0,pe=Ce=>{const Ie=isString$d(Ce)&&(de==null?void 0:de[Ce])||Ce;return Ie&&ref(Ie)},he=Ce=>pe(ue(Ce)||$.getAttribute(`element-loading-${hyphenate(Ce)}`)),_e=(oe=ue("fullscreen"))!=null?oe:j.modifiers.fullscreen,xe={text:he("text"),svg:he("svg"),svgViewBox:he("svgViewBox"),spinner:he("spinner"),background:he("background"),customClass:he("customClass"),fullscreen:_e,target:(ae=ue("target"))!=null?ae:_e?void 0:$,body:(ie=ue("body"))!=null?ie:j.modifiers.body,lock:(le=ue("lock"))!=null?le:j.modifiers.lock};$[INSTANCE_KEY]={options:xe,instance:Loading(xe)}},updateOptions=($,j)=>{for(const oe of Object.keys(j))isRef(j[oe])&&(j[oe].value=$[oe])},vLoading={mounted($,j){j.value&&createInstance$1($,j)},updated($,j){const oe=$[INSTANCE_KEY];j.oldValue!==j.value&&(j.value&&!j.oldValue?createInstance$1($,j):j.value&&j.oldValue?isObject$8(j.value)&&updateOptions(j.value,oe.options):oe==null||oe.instance.close())},unmounted($){var j;(j=$[INSTANCE_KEY])==null||j.instance.close()}},ElLoading={install($){$.directive("loading",vLoading),$.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},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),required:!1},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},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=$=>{const j=instances.findIndex(ie=>ie.id===$),oe=instances[j];let ae;return j>0&&(ae=instances[j-1]),{current:oe,prev:ae}},getLastOffset=$=>{const{prev:j}=getInstance($);return j?j.vm.exposed.bottom.value:0},getOffsetOrSpace=($,j)=>instances.findIndex(ae=>ae.id===$)>0?20:j,_hoisted_1$7=["id"],_hoisted_2$5=["innerHTML"],__default__$4=defineComponent({name:"ElMessage"}),_sfc_main$9=defineComponent({...__default__$4,props:messageProps,emits:messageEmits,setup($,{expose:j}){const oe=$,{Close:ae}=TypeComponents,{ns:ie,zIndex:le}=useGlobalComponentSettings("message"),{currentZIndex:de,nextZIndex:ue}=le,pe=ref(),he=ref(!1),_e=ref(0);let xe;const Ce=computed(()=>oe.type?oe.type==="error"?"danger":oe.type:"info"),Ie=computed(()=>{const vn=oe.type;return{[ie.bm("icon",vn)]:vn&&TypeComponentsMap[vn]}}),$e=computed(()=>oe.icon||TypeComponentsMap[oe.type]||""),Ne=computed(()=>getLastOffset(oe.id)),Ve=computed(()=>getOffsetOrSpace(oe.id,oe.offset)+Ne.value),Oe=computed(()=>_e.value+Ve.value),Fe=computed(()=>({top:`${Ve.value}px`,zIndex:de.value}));function ze(){oe.duration!==0&&({stop:xe}=useTimeoutFn(()=>{qe()},oe.duration))}function Ue(){xe==null||xe()}function qe(){he.value=!1}function hn({code:vn}){vn===EVENT_CODE.esc&&qe()}return onMounted(()=>{ze(),ue(),he.value=!0}),watch(()=>oe.repeatNum,()=>{Ue(),ze()}),useEventListener(document,"keydown",hn),useResizeObserver(pe,()=>{_e.value=pe.value.getBoundingClientRect().height}),j({visible:he,bottom:Oe,close:qe}),(vn,bn)=>(openBlock(),createBlock(Transition,{name:unref(ie).b("fade"),onBeforeLeave:vn.onClose,onAfterLeave:bn[0]||(bn[0]=_n=>vn.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:vn.id,ref_key:"messageRef",ref:pe,class:normalizeClass([unref(ie).b(),{[unref(ie).m(vn.type)]:vn.type&&!vn.icon},unref(ie).is("center",vn.center),unref(ie).is("closable",vn.showClose),vn.customClass]),style:normalizeStyle(unref(Fe)),role:"alert",onMouseenter:Ue,onMouseleave:ze},[vn.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:vn.repeatNum,type:unref(Ce),class:normalizeClass(unref(ie).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref($e)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(ie).e("icon"),unref(Ie)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref($e))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(vn.$slots,"default",{},()=>[vn.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(ie).e("content")),innerHTML:vn.message},null,10,_hoisted_2$5)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(ie).e("content"))},toDisplayString$1(vn.message),3))]),vn.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(ie).e("closeBtn")),onClick:withModifiers(qe,["stop"])},{default:withCtx(()=>[createVNode(unref(ae))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$7),[[vShow,he.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let seed$1=1;const normalizeOptions=$=>{const j=!$||isString$d($)||isVNode$1($)||isFunction$h($)?{message:$}:$,oe={...messageDefaults,...j};if(!oe.appendTo)oe.appendTo=document.body;else if(isString$d(oe.appendTo)){let ae=document.querySelector(oe.appendTo);isElement$2(ae)||(ae=document.body),oe.appendTo=ae}return oe},closeMessage=$=>{const j=instances.indexOf($);if(j===-1)return;instances.splice(j,1);const{handler:oe}=$;oe.close()},createMessage=({appendTo:$,...j},oe)=>{const ae=`message_${seed$1++}`,ie=j.onClose,le=document.createElement("div"),de={...j,id:ae,onClose:()=>{ie==null||ie(),closeMessage(_e)},onDestroy:()=>{render$2(null,le)}},ue=createVNode(MessageConstructor,de,isFunction$h(de.message)||isVNode$1(de.message)?{default:isFunction$h(de.message)?de.message:()=>de.message}:null);ue.appContext=oe||message._context,render$2(ue,le),$.appendChild(le.firstElementChild);const pe=ue.component,_e={id:ae,vnode:ue,vm:pe,handler:{close:()=>{pe.exposed.visible.value=!1}},props:ue.component.props};return _e},message=($={},j)=>{if(!isClient)return{close:()=>{}};if(isNumber$d(messageConfig.max)&&instances.length>=messageConfig.max)return{close:()=>{}};const oe=normalizeOptions($);if(oe.grouping&&instances.length){const ie=instances.find(({vnode:le})=>{var de;return((de=le.props)==null?void 0:de.message)===oe.message});if(ie)return ie.props.repeatNum+=1,ie.props.type=oe.type,ie.handler}const ae=createMessage(oe,j);return instances.push(ae),ae.handler};messageTypes.forEach($=>{message[$]=(j={},oe)=>{const ae=normalizeOptions(j);return message({...ae,type:$},oe)}});function closeAll$1($){for(const j of instances)(!$||$===j.props.type)&&j.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$message"),_sfc_main$8=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,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,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup($,{emit:j}){const{locale:oe,zIndex:ae,ns:ie,size:le}=useGlobalComponentSettings("message-box",computed(()=>$.buttonSize)),{t:de}=oe,{nextZIndex:ue}=ae,pe=ref(!1),he=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:ue()}),_e=computed(()=>{const Nn=he.type;return{[ie.bm("icon",Nn)]:Nn&&TypeComponentsMap[Nn]}}),xe=useId(),Ce=useId(),Ie=computed(()=>he.icon||TypeComponentsMap[he.type]||""),$e=computed(()=>!!he.message),Ne=ref(),Ve=ref(),Oe=ref(),Fe=ref(),ze=ref(),Ue=computed(()=>he.confirmButtonClass);watch(()=>he.inputValue,async Nn=>{await nextTick(),$.boxType==="prompt"&&Nn!==null&&xn()},{immediate:!0}),watch(()=>pe.value,Nn=>{var Sn,wn;Nn&&($.boxType!=="prompt"&&(he.autofocus?Oe.value=(wn=(Sn=ze.value)==null?void 0:Sn.$el)!=null?wn:Ne.value:Oe.value=Ne.value),he.zIndex=ue()),$.boxType==="prompt"&&(Nn?nextTick().then(()=>{var On;Fe.value&&Fe.value.$el&&(he.autofocus?Oe.value=(On=$n())!=null?On:Ne.value:Oe.value=Ne.value)}):(he.editorErrorMessage="",he.validateError=!1))});const qe=computed(()=>$.draggable);useDraggable(Ne,Ve,qe),onMounted(async()=>{await nextTick(),$.closeOnHashChange&&window.addEventListener("hashchange",hn)}),onBeforeUnmount(()=>{$.closeOnHashChange&&window.removeEventListener("hashchange",hn)});function hn(){pe.value&&(pe.value=!1,nextTick(()=>{he.action&&j("action",he.action)}))}const vn=()=>{$.closeOnClickModal&&kn(he.distinguishCancelAndClose?"close":"cancel")},bn=useSameTarget(vn),_n=Nn=>{if(he.inputType!=="textarea")return Nn.preventDefault(),kn("confirm")},kn=Nn=>{var Sn;$.boxType==="prompt"&&Nn==="confirm"&&!xn()||(he.action=Nn,he.beforeClose?(Sn=he.beforeClose)==null||Sn.call(he,Nn,he,hn):hn())},xn=()=>{if($.boxType==="prompt"){const Nn=he.inputPattern;if(Nn&&!Nn.test(he.inputValue||""))return he.editorErrorMessage=he.inputErrorMessage||de("el.messagebox.error"),he.validateError=!0,!1;const Sn=he.inputValidator;if(typeof Sn=="function"){const wn=Sn(he.inputValue);if(wn===!1)return he.editorErrorMessage=he.inputErrorMessage||de("el.messagebox.error"),he.validateError=!0,!1;if(typeof wn=="string")return he.editorErrorMessage=wn,he.validateError=!0,!1}}return he.editorErrorMessage="",he.validateError=!1,!0},$n=()=>{const Nn=Fe.value.$refs;return Nn.input||Nn.textarea},Cn=()=>{kn("close")},En=()=>{$.closeOnPressEscape&&Cn()};return $.lockScroll&&useLockscreen(pe),useRestoreActive(pe),{...toRefs(he),ns:ie,overlayEvent:bn,visible:pe,hasMessage:$e,typeClass:_e,contentId:xe,inputId:Ce,btnSize:le,iconComponent:Ie,confirmButtonClasses:Ue,rootRef:Ne,focusStartRef:Oe,headerRef:Ve,inputRef:Fe,confirmRef:ze,doClose:hn,handleClose:Cn,onCloseRequested:En,handleWrapperClick:vn,handleInputEnter:_n,handleAction:kn,t:de}}}),_hoisted_1$6=["aria-label","aria-describedby"],_hoisted_2$4=["aria-label"],_hoisted_3$4=["id"];function _sfc_render($,j,oe,ae,ie,le){const de=resolveComponent("el-icon"),ue=resolveComponent("close"),pe=resolveComponent("el-input"),he=resolveComponent("el-button"),_e=resolveComponent("el-focus-trap"),xe=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:j[11]||(j[11]=Ce=>$.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode(xe,{"z-index":$.zIndex,"overlay-class":[$.ns.is("message-box"),$.modalClass],mask:$.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":$.title,"aria-modal":"true","aria-describedby":$.showInput?void 0:$.contentId,class:normalizeClass(`${$.ns.namespace.value}-overlay-message-box`),onClick:j[8]||(j[8]=(...Ce)=>$.overlayEvent.onClick&&$.overlayEvent.onClick(...Ce)),onMousedown:j[9]||(j[9]=(...Ce)=>$.overlayEvent.onMousedown&&$.overlayEvent.onMousedown(...Ce)),onMouseup:j[10]||(j[10]=(...Ce)=>$.overlayEvent.onMouseup&&$.overlayEvent.onMouseup(...Ce))},[createVNode(_e,{loop:"",trapped:$.visible,"focus-trap-el":$.rootRef,"focus-start-el":$.focusStartRef,onReleaseRequested:$.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([$.ns.b(),$.customClass,$.ns.is("draggable",$.draggable),{[$.ns.m("center")]:$.center}]),style:normalizeStyle($.customStyle),tabindex:"-1",onClick:j[7]||(j[7]=withModifiers(()=>{},["stop"]))},[$.title!==null&&$.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass($.ns.e("header"))},[createBaseVNode("div",{class:normalizeClass($.ns.e("title"))},[$.iconComponent&&$.center?(openBlock(),createBlock(de,{key:0,class:normalizeClass([$.ns.e("status"),$.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString$1($.title),1)],2),$.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass($.ns.e("headerbtn")),"aria-label":$.t("el.messagebox.close"),onClick:j[0]||(j[0]=Ce=>$.handleAction($.distinguishCancelAndClose?"close":"cancel")),onKeydown:j[1]||(j[1]=withKeys(withModifiers(Ce=>$.handleAction($.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode(de,{class:normalizeClass($.ns.e("close"))},{default:withCtx(()=>[createVNode(ue)]),_:1},8,["class"])],42,_hoisted_2$4)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:$.contentId,class:normalizeClass($.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass($.ns.e("container"))},[$.iconComponent&&!$.center&&$.hasMessage?(openBlock(),createBlock(de,{key:0,class:normalizeClass([$.ns.e("status"),$.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),$.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass($.ns.e("message"))},[renderSlot($.$slots,"default",{},()=>[$.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent($.showInput?"label":"p"),{key:1,for:$.showInput?$.inputId:void 0,innerHTML:$.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent($.showInput?"label":"p"),{key:0,for:$.showInput?$.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString$1($.dangerouslyUseHTMLString?"":$.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass($.ns.e("input"))},[createVNode(pe,{id:$.inputId,ref:"inputRef",modelValue:$.inputValue,"onUpdate:modelValue":j[2]||(j[2]=Ce=>$.inputValue=Ce),type:$.inputType,placeholder:$.inputPlaceholder,"aria-invalid":$.validateError,class:normalizeClass({invalid:$.validateError}),onKeydown:withKeys($.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass($.ns.e("errormsg")),style:normalizeStyle({visibility:$.editorErrorMessage?"visible":"hidden"})},toDisplayString$1($.editorErrorMessage),7)],2),[[vShow,$.showInput]])],10,_hoisted_3$4),createBaseVNode("div",{class:normalizeClass($.ns.e("btns"))},[$.showCancelButton?(openBlock(),createBlock(he,{key:0,loading:$.cancelButtonLoading,class:normalizeClass([$.cancelButtonClass]),round:$.roundButton,size:$.btnSize,onClick:j[3]||(j[3]=Ce=>$.handleAction("cancel")),onKeydown:j[4]||(j[4]=withKeys(withModifiers(Ce=>$.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1($.cancelButtonText||$.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode(he,{ref:"confirmRef",type:"primary",loading:$.confirmButtonLoading,class:normalizeClass([$.confirmButtonClasses]),round:$.roundButton,disabled:$.confirmButtonDisabled,size:$.btnSize,onClick:j[5]||(j[5]=Ce=>$.handleAction("confirm")),onKeydown:j[6]||(j[6]=withKeys(withModifiers(Ce=>$.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString$1($.confirmButtonText||$.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,$.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$6)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,$.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$1(_sfc_main$8,[["render",_sfc_render],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const messageInstance=new Map,getAppendToElement=$=>{let j=document.body;return $.appendTo&&(isString$d($.appendTo)&&(j=document.querySelector($.appendTo)),isElement$2($.appendTo)&&(j=$.appendTo),isElement$2(j)||(j=document.body)),j},initInstance=($,j,oe=null)=>{const ae=createVNode(MessageBoxConstructor,$,isFunction$h($.message)||isVNode$1($.message)?{default:isFunction$h($.message)?$.message:()=>$.message}:null);return ae.appContext=oe,render$2(ae,j),getAppendToElement($).appendChild(j.firstElementChild),ae.component},genContainer=()=>document.createElement("div"),showMessage=($,j)=>{const oe=genContainer();$.onVanish=()=>{render$2(null,oe),messageInstance.delete(ie)},$.onAction=le=>{const de=messageInstance.get(ie);let ue;$.showInput?ue={value:ie.inputValue,action:le}:ue=le,$.callback?$.callback(ue,ae.proxy):le==="cancel"||le==="close"?$.distinguishCancelAndClose&&le!=="cancel"?de.reject("close"):de.reject("cancel"):de.resolve(ue)};const ae=initInstance($,oe,j),ie=ae.proxy;for(const le in $)hasOwn$1($,le)&&!hasOwn$1(ie.$props,le)&&(ie[le]=$[le]);return ie.visible=!0,ie};function MessageBox($,j=null){if(!isClient)return Promise.reject();let oe;return isString$d($)||isVNode$1($)?$={message:$}:oe=$.callback,new Promise((ae,ie)=>{const le=showMessage($,j??MessageBox._context);messageInstance.set(le,{options:$,callback:oe,resolve:ae,reject:ie})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach($=>{MessageBox[$]=messageBoxFactory($)});function messageBoxFactory($){return(j,oe,ae,ie)=>{let le="";return isObject$8(oe)?(ae=oe,le=""):isUndefined$c(oe)?le="":le=oe,MessageBox(Object.assign({title:le,message:j,type:"",...MESSAGE_BOX_DEFAULT_OPTS[$]},ae,{boxType:$}),ie)}}MessageBox.close=()=>{messageInstance.forEach(($,j)=>{j.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=$=>{_MessageBox._context=$._context,$.config.globalProperties.$msgbox=_MessageBox,$.config.globalProperties.$messageBox=_MessageBox,$.config.globalProperties.$alert=_MessageBox.alert,$.config.globalProperties.$confirm=_MessageBox.confirm,$.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),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:{type:Number,default:0}}),notificationEmits={destroy:()=>!0},_hoisted_1$5=["id"],_hoisted_2$3=["textContent"],_hoisted_3$3={key:0},_hoisted_4$3=["innerHTML"],__default__$3=defineComponent({name:"ElNotification"}),_sfc_main$7=defineComponent({...__default__$3,props:notificationProps,emits:notificationEmits,setup($,{expose:j}){const oe=$,{ns:ae,zIndex:ie}=useGlobalComponentSettings("notification"),{nextZIndex:le,currentZIndex:de}=ie,{Close:ue}=CloseComponents,pe=ref(!1);let he;const _e=computed(()=>{const ze=oe.type;return ze&&TypeComponentsMap[oe.type]?ae.m(ze):""}),xe=computed(()=>oe.type&&TypeComponentsMap[oe.type]||oe.icon),Ce=computed(()=>oe.position.endsWith("right")?"right":"left"),Ie=computed(()=>oe.position.startsWith("top")?"top":"bottom"),$e=computed(()=>({[Ie.value]:`${oe.offset}px`,zIndex:de.value}));function Ne(){oe.duration>0&&({stop:he}=useTimeoutFn(()=>{pe.value&&Oe()},oe.duration))}function Ve(){he==null||he()}function Oe(){pe.value=!1}function Fe({code:ze}){ze===EVENT_CODE.delete||ze===EVENT_CODE.backspace?Ve():ze===EVENT_CODE.esc?pe.value&&Oe():Ne()}return onMounted(()=>{Ne(),le(),pe.value=!0}),useEventListener(document,"keydown",Fe),j({visible:pe,close:Oe}),(ze,Ue)=>(openBlock(),createBlock(Transition,{name:unref(ae).b("fade"),onBeforeLeave:ze.onClose,onAfterLeave:Ue[1]||(Ue[1]=qe=>ze.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:ze.id,class:normalizeClass([unref(ae).b(),ze.customClass,unref(Ce)]),style:normalizeStyle(unref($e)),role:"alert",onMouseenter:Ve,onMouseleave:Ne,onClick:Ue[0]||(Ue[0]=(...qe)=>ze.onClick&&ze.onClick(...qe))},[unref(xe)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(ae).e("icon"),unref(_e)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(xe))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(ae).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(ae).e("title")),textContent:toDisplayString$1(ze.title)},null,10,_hoisted_2$3),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(ae).e("content")),style:normalizeStyle(ze.title?void 0:{margin:0})},[renderSlot(ze.$slots,"default",{},()=>[ze.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:ze.message},null,8,_hoisted_4$3)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$3,toDisplayString$1(ze.message),1))])],6),[[vShow,ze.message]]),ze.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(ae).e("closeBtn")),onClick:withModifiers(Oe,["stop"])},{default:withCtx(()=>[createVNode(unref(ue))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$5),[[vShow,pe.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function($={},j=null){if(!isClient)return{close:()=>{}};(typeof $=="string"||isVNode$1($))&&($={message:$});const oe=$.position||"top-right";let ae=$.offset||0;notifications[oe].forEach(({vm:_e})=>{var xe;ae+=(((xe=_e.el)==null?void 0:xe.offsetHeight)||0)+GAP_SIZE}),ae+=GAP_SIZE;const ie=`notification_${seed++}`,le=$.onClose,de={...$,offset:ae,id:ie,onClose:()=>{close(ie,oe,le)}};let ue=document.body;isElement$2($.appendTo)?ue=$.appendTo:isString$d($.appendTo)&&(ue=document.querySelector($.appendTo)),isElement$2(ue)||(ue=document.body);const pe=document.createElement("div"),he=createVNode(NotificationConstructor,de,isVNode$1(de.message)?{default:()=>de.message}:null);return he.appContext=j??notify._context,he.props.onDestroy=()=>{render$2(null,pe)},render$2(he,pe),notifications[oe].push({vm:he}),ue.appendChild(pe.firstElementChild),{close:()=>{he.component.exposed.visible.value=!1}}};notificationTypes.forEach($=>{notify[$]=(j={})=>((typeof j=="string"||isVNode$1(j))&&(j={message:j}),notify({...j,type:$}))});function close($,j,oe){const ae=notifications[j],ie=ae.findIndex(({vm:he})=>{var _e;return((_e=he.component)==null?void 0:_e.props.id)===$});if(ie===-1)return;const{vm:le}=ae[ie];if(!le)return;oe==null||oe(le);const de=le.el.offsetHeight,ue=j.split("-")[0];ae.splice(ie,1);const pe=ae.length;if(!(pe<1))for(let he=ie;he{j.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]),setupDefaults$a={cookies:{path:"/"},treeOptions:{parentKey:"parentId",key:"id",children:"children"},parseDateFormat:"yyyy-MM-dd HH:mm:ss",firstDayOfWeek:1,dateDiffRules:[["yyyy",31536e6],["MM",2592e6],["dd",864e5],["HH",36e5],["mm",6e4],["ss",1e3],["S",0]]},setupDefaults_1=setupDefaults$a;function arrayEach$e($,j,oe){if($)if($.forEach)$.forEach(j,oe);else for(var ae=0,ie=$.length;ae1?function(le){ie.push([""+le,ae[le]])}:function(){ie.push(arguments[j])})}return ie}}var helperCreateGetObjects_1=helperCreateGetObjects$3,helperCreateGetObjects$2=helperCreateGetObjects_1,keys$a=helperCreateGetObjects$2("keys",1),keys_1=keys$a,objectToString$1=staticObjectToString,objectEach$3=objectEach_1,arrayEach$c=arrayEach_1;function getCativeCtor($,j){var oe=$.__proto__.constructor;return j?new oe(j):new oe}function handleValueClone($,j){return j?copyValue($,j):$}function copyValue($,j){if($)switch(objectToString$1.call($)){case"[object Object]":{var oe=Object.create($.__proto__);return objectEach$3($,function(de,ue){oe[ue]=handleValueClone(de,j)}),oe}case"[object Date]":case"[object RegExp]":return getCativeCtor($,$.valueOf());case"[object Array]":case"[object Arguments]":{var ae=[];return arrayEach$c($,function(de){ae.push(handleValueClone(de,j))}),ae}case"[object Set]":{var ie=getCativeCtor($);return ie.forEach(function(de){ie.add(handleValueClone(de,j))}),ie}case"[object Map]":{var le=getCativeCtor($);return le.forEach(function(de,ue){le.set(handleValueClone(de,j))}),le}}return $}function clone$3($,j){return $&©Value($,j)}var clone_1=clone$3,arrayEach$b=arrayEach_1,keys$9=keys_1,isArray$s=isArray_1,clone$2=clone_1,objectAssignFns=Object.assign;function handleAssign($,j,oe){for(var ae=j.length,ie,le=1;le1)return $=isArray$s($[1])?[]:{},handleAssign($,j,!0)}else return objectAssignFns?objectAssignFns.apply(Object,j):handleAssign($,j)}return $},assign_1=assign$e,setupDefaults$9=setupDefaults_1,arrayEach$a=arrayEach_1,each$h=each_1,isFunction$d=isFunction_1,assign$d=assign_1,XEUtils$1=function(){};function mixin(){arrayEach$a(arguments,function($){each$h($,function(j,oe){XEUtils$1[oe]=isFunction$d(j)?function(){var ae=j.apply(XEUtils$1.$context,arguments);return XEUtils$1.$context=null,ae}:j})})}function setup$1($){return assign$d(setupDefaults$9,$)}XEUtils$1.VERSION="3.5.7";XEUtils$1.mixin=mixin;XEUtils$1.setup=setup$1;var ctor=XEUtils$1;function lastArrayEach$3($,j,oe){for(var ae=$.length-1;ae>=0;ae--)j.call(oe,$[ae],ae,$)}var lastArrayEach_1=lastArrayEach$3,lastArrayEach$2=lastArrayEach_1,keys$8=keys_1;function lastObjectEach$2($,j,oe){lastArrayEach$2(keys$8($),function(ae){j.call(oe,$[ae],ae,$)})}var lastObjectEach_1=lastObjectEach$2;function isNull$9($){return $===null}var isNull_1=isNull$9,isNull$8=isNull_1;function property$5($,j){return function(oe){return isNull$8(oe)?j:oe[$]}}var property_1=property$5,each$g=each_1,isFunction$c=isFunction_1,property$4=property_1;function objectMap$1($,j,oe){var ae={};if($)if(j)isFunction$c(j)||(j=property$4(j)),each$g($,function(ie,le){ae[le]=j.call(oe,ie,le,$)});else return $;return ae}var objectMap_1=objectMap$1;function isPlainObject$9($){return $?$.constructor===Object:!1}var isPlainObject_1=isPlainObject$9,isArray$r=isArray_1,isPlainObject$8=isPlainObject_1,each$f=each_1;function handleMerge($,j){return isPlainObject$8($)&&isPlainObject$8(j)||isArray$r($)&&isArray$r(j)?(each$f(j,function(oe,ae){$[ae]=handleMerge($[ae],oe)}),$):j}var merge$2=function($){$||($={});for(var j=arguments,oe=j.length,ae,ie=1;ie1){if($.map)return $.map(j,oe);each$e($,function(){ae.push(j.apply(oe,arguments))})}return ae}var map_1=map$6,hasOwnProp$8=hasOwnProp_1,isArray$q=isArray_1;function helperCreateIterateHandle$4($,j,oe,ae,ie){return function(le,de,ue){if(le&&de){if($&&le[$])return le[$](de,ue);if(j&&isArray$q(le)){for(var pe=0,he=le.length;pej?1:-1}function buildMultiOrders($,j,oe){return function(ae,ie){var le=ae[$],de=ie[$];return le===de?oe?oe(ae,ie):0:j.order===ORDER_PROP_DESC?handleSort(de,le):handleSort(le,de)}}function getSortConfs($,j,oe,ae){var ie=[];return oe=isArray$o(oe)?oe:[oe],arrayEach$9(oe,function(le,de){if(le){var ue=le,pe;isArray$o(le)?(ue=le[0],pe=le[1]):isPlainObject$7(le)&&(ue=le.field,pe=le.order),ie.push({field:ue,order:pe||ORDER_PROP_ASC}),arrayEach$9(j,isFunction$b(ue)?function(he,_e){he[de]=ue.call(ae,he.data,_e,$)}:function(he){he[de]=ue?get$4(he.data,ue):he.data})}}),ie}function orderBy$3($,j,oe){if($){if(eqNull$5(j))return toArray$2($).sort(handleSort);for(var ae,ie=map$4($,function(ue){return{data:ue}}),le=getSortConfs($,ie,j,oe),de=le.length-1;de>=0;)ae=buildMultiOrders(de,le[de],ae),de--;return ae&&(ie=ie.sort(ae)),map$4(ie,property$3("data"))}return[]}var orderBy_1=orderBy$3,orderBy$2=orderBy_1,sortBy$1=orderBy$2,sortBy_1=sortBy$1;function random$2($,j){return $>=j?$:($=$>>0)+Math.round(Math.random()*((j||9)-$))}var random_1=random$2,helperCreateGetObjects$1=helperCreateGetObjects_1,values$6=helperCreateGetObjects$1("values",0),values_1=values$6,random$1=random_1,values$5=values_1;function shuffle$2($){for(var j,oe=[],ae=values$5($),ie=ae.length-1;ie>=0;ie--)j=ie>0?random$1(0,ie):0,oe.push(ae[j]),ae.splice(j,1);return oe}var shuffle_1=shuffle$2,shuffle$1=shuffle_1;function sample$1($,j){var oe=shuffle$1($);return arguments.length<=1?oe[0]:(j=2?toNumber$6(j):0,oe=ie>=3?toNumber$6(oe):$.length,$.slice)return $.slice(j,oe);for(;j=0;ae--)if(j.call(oe,$[ae],ae,$))return $[ae]}}var findLast_1=findLast$1,keys$7=keys_1;function reduce$1($,j,oe){if($){var ae,ie,le=0,de=null,ue=oe,pe=arguments.length>2,he=keys$7($);if($.length&&$.reduce)return ie=function(){return j.apply(de,arguments)},pe?$.reduce(ie,ue):$.reduce(ie);for(pe&&(le=1,ue=$[he[0]]),ae=he.length;le>0,ue=oe>>0,pe=$.length,he=arguments.length>3?ae>>0:pe;if(de=0?de:pe+de,de>=0&&(ue=ue>=0?ue:pe+ue,he=he>=0?he:pe+he,ue>0||1;if(isArray$l($))if(ie>=0&&$.length>ie)for(oe=0;oe<$.length;)ae.push($.slice(oe,oe+ie)),oe+=ie;else ae=$.length?[$]:$;return ae}var chunk_1=chunk$1,map$3=map_1,property$2=property_1;function pluck$2($,j){return map$3($,property$2(j))}var pluck_1=pluck$2,isFunction$a=isFunction_1,eqNull$4=eqNull_1,get$3=get_1,arrayEach$8=arrayEach_1;function helperCreateMinMax$2($){return function(j,oe){if(j&&j.length){var ae,ie;return arrayEach$8(j,function(le,de){oe&&(le=isFunction$a(oe)?oe(le,de,j):get$3(le,oe)),!eqNull$4(le)&&(eqNull$4(ae)||$(ae,le))&&(ie=de,ae=le)}),j[ie]}return ae}}var helperCreateMinMax_1=helperCreateMinMax$2,helperCreateMinMax$1=helperCreateMinMax_1,max$2=helperCreateMinMax$1(function($,j){return $1&&(isNull$5(j)||!isObject$5(j)),le=ie?oe:j;if(isPlainObject$6($))objectEach$2($,ie?function(de,ue){$[ue]=j}:function(de,ue){helperDeleteProperty$1($,ue)}),le&&assign$c($,le);else if(isArray$h($)){if(ie)for(ae=$.length;ae>0;)ae--,$[ae]=j;else $.length=0;le&&$.push.apply($,le)}}return $}var clear_1=clear$3,helperDeleteProperty=helperDeleteProperty_1,isFunction$9=isFunction_1,isArray$g=isArray_1,each$a=each_1,arrayEach$6=arrayEach_1,lastEach$1=lastEach_1,clear$2=clear_1,eqNull$3=eqNull_1;function pluckProperty($){return function(j,oe){return oe===$}}function remove$2($,j,oe){if($){if(!eqNull$3(j)){var ae=[],ie=[];return isFunction$9(j)||(j=pluckProperty(j)),each$a($,function(le,de,ue){j.call(oe,le,de,ue)&&ae.push(de)}),isArray$g($)?lastEach$1(ae,function(le,de){ie.push($[le]),$.splice(le,1)}):(ie={},arrayEach$6(ae,function(le){ie[le]=$[le],helperDeleteProperty($,le)})),ie}return clear$2($)}return $}var remove_1=remove$2,setupDefaults$8=setupDefaults_1,orderBy$1=orderBy_1,clone$1=clone_1,each$9=each_1,remove$1=remove_1,assign$b=assign_1;function strictTree($,j){each$9($,function(oe){oe.children&&!oe.children.length&&remove$1(oe,j)})}function toArrayTree$1($,j){var oe=assign$b({},setupDefaults$8.treeOptions,j),ae=oe.strict,ie=oe.key,le=oe.parentKey,de=oe.children,ue=oe.mapChildren,pe=oe.sortKey,he=oe.reverse,_e=oe.data,xe=[],Ce={},Ie={},$e,Ne,Ve;return pe&&($=orderBy$1(clone$1($),pe),he&&($=$.reverse())),each$9($,function(Oe){$e=Oe[ie],Ie[$e]=!0}),each$9($,function(Oe){$e=Oe[ie],_e?(Ne={},Ne[_e]=Oe):Ne=Oe,Ve=Oe[le],Ce[$e]=Ce[$e]||[],Ce[Ve]=Ce[Ve]||[],Ce[Ve].push(Ne),Ne[ie]=$e,Ne[le]=Ve,Ne[de]=Ce[$e],ue&&(Ne[ue]=Ce[$e]),(!ae||ae&&!Ve)&&(Ie[Ve]||xe.push(Ne))}),ae&&strictTree($,de),xe}var toArrayTree_1=toArrayTree$1,setupDefaults$7=setupDefaults_1,each$8=each_1,assign$a=assign_1;function unTreeList($,j,oe){var ae=oe.children,ie=oe.data,le=oe.clear;return each$8(j,function(de){var ue=de[ae];ie&&(de=de[ie]),$.push(de),ue&&ue.length&&unTreeList($,ue,oe),le&&delete de[ae]}),$}function toTreeArray$1($,j){return unTreeList([],$,assign$a({},setupDefaults$7.treeOptions,j))}var toTreeArray_1=toTreeArray$1;function helperCreateTreeFunc$4($){return function(j,oe,ae,ie){var le=ae||{},de=le.children||"children";return $(null,j,oe,ie,[],[],de,le)}}var helperCreateTreeFunc_1=helperCreateTreeFunc$4,helperCreateTreeFunc$3=helperCreateTreeFunc_1;function findTreeItem($,j,oe,ae,ie,le,de,ue){if(j){var pe,he,_e,xe,Ce,Ie;for(he=0,_e=j.length;he<_e;he++){if(pe=j[he],xe=ie.concat([""+he]),Ce=le.concat([pe]),oe.call(ae,pe,he,j,xe,$,Ce))return{index:he,item:pe,path:xe,items:j,parent:$,nodes:Ce};if(de&&pe&&(Ie=findTreeItem(pe,pe[de],oe,ae,xe.concat([de]),Ce,de),Ie))return Ie}}}var findTree$1=helperCreateTreeFunc$3(findTreeItem),findTree_1=findTree$1,helperCreateTreeFunc$2=helperCreateTreeFunc_1,each$7=each_1;function eachTreeItem($,j,oe,ae,ie,le,de,ue){var pe,he;each$7(j,function(_e,xe){pe=ie.concat([""+xe]),he=le.concat([_e]),oe.call(ae,_e,xe,j,pe,$,he),_e&&de&&(pe.push(de),eachTreeItem(_e,_e[de],oe,ae,pe,he,de))})}var eachTree$2=helperCreateTreeFunc$2(eachTreeItem),eachTree_1=eachTree$2,helperCreateTreeFunc$1=helperCreateTreeFunc_1,map$1=map_1;function mapTreeItem($,j,oe,ae,ie,le,de,ue){var pe,he,_e,xe=ue.mapChildren||de;return map$1(j,function(Ce,Ie){return pe=ie.concat([""+Ie]),he=le.concat([Ce]),_e=oe.call(ae,Ce,Ie,j,pe,$,he),_e&&Ce&&de&&Ce[de]&&(_e[xe]=mapTreeItem(Ce,Ce[de],oe,ae,pe,he,de,ue)),_e})}var mapTree$1=helperCreateTreeFunc$1(mapTreeItem),mapTree_1=mapTree$1,eachTree$1=eachTree_1;function filterTree$1($,j,oe,ae){var ie=[];return $&&j&&eachTree$1($,function(le,de,ue,pe,he,_e){j.call(ae,le,de,ue,pe,he,_e)&&ie.push(le)},oe),ie}var filterTree_1=filterTree$1,helperCreateTreeFunc=helperCreateTreeFunc_1,arrayEach$5=arrayEach_1,assign$9=assign_1;function searchTreeItem($,j,oe,ae,ie,le,de,ue,pe){var he,_e,xe,Ce,Ie,$e=[],Ne=pe.original,Ve=pe.data,Oe=pe.mapChildren||ue;return arrayEach$5(oe,function(Fe,ze){he=le.concat([""+ze]),_e=de.concat([Fe]),Ce=$||ae.call(ie,Fe,ze,oe,he,j,_e),Ie=ue&&Fe[ue],Ce||Ie?(Ne?xe=Fe:(xe=assign$9({},Fe),Ve&&(xe[Ve]=Fe)),xe[Oe]=searchTreeItem(Ce,Fe,Fe[ue],ae,ie,he,_e,ue,pe),(Ce||xe[Oe].length)&&$e.push(xe)):Ce&&$e.push(xe)}),$e}var searchTree$1=helperCreateTreeFunc(function($,j,oe,ae,ie,le,de,ue){return searchTreeItem(0,$,j,oe,ae,ie,le,de,ue)}),searchTree_1=searchTree$1;function arrayIndexOf$2($,j){if($.indexOf)return $.indexOf(j);for(var oe=0,ae=$.length;oe=0;oe--)if(j===$[oe])return oe;return-1}var arrayLastIndexOf_1=arrayLastIndexOf$2,helperCreateInTypeof$2=helperCreateInTypeof_1,isNumber$c=helperCreateInTypeof$2("number"),isNumber_1=isNumber$c,isNumber$b=isNumber_1;function isNumberNaN$1($){return isNumber$b($)&&isNaN($)}var _isNaN=isNumberNaN$1,helperCreateInTypeof$1=helperCreateInTypeof_1,isString$b=helperCreateInTypeof$1("string"),isString_1=isString$b,helperCreateInInObjectString$3=helperCreateInInObjectString_1,isDate$a=helperCreateInInObjectString$3("Date"),isDate_1=isDate$a,staticParseInt$5=parseInt,staticParseInt_1=staticParseInt$5;function helperGetUTCDateTime$1($){return Date.UTC($.y,$.M||0,$.d||1,$.H||0,$.m||0,$.s||0,$.S||0)}var helperGetUTCDateTime_1=helperGetUTCDateTime$1;function helperGetDateTime$c($){return $.getTime()}var helperGetDateTime_1=helperGetDateTime$c,staticParseInt$4=staticParseInt_1,helperGetUTCDateTime=helperGetUTCDateTime_1,helperGetDateTime$b=helperGetDateTime_1,isString$a=isString_1,isDate$9=isDate_1;function getParseRule($){return"(\\d{"+$+"})"}function toParseMs($){return $<10?$*100:$<100?$*10:$}function toParseNum($){return isNaN($)?$:staticParseInt$4($)}var d2=getParseRule(2),d1or2=getParseRule("1,2"),d1or7=getParseRule("1,7"),d3or4=getParseRule("3,4"),place=".{1}",d1Or2RE=place+d1or2,dzZ="(([zZ])|([-+]\\d{2}:?\\d{2}))",defaulParseStrs=[d3or4,d1Or2RE,d1Or2RE,d1Or2RE,d1Or2RE,d1Or2RE,place+d1or7,dzZ],defaulParseREs=[];for(var len=defaulParseStrs.length-1;len>=0;len--){for(var rule="",i=0;i=0&&j.call(oe,$[ae],ae,$)!==!1;ae--);else for(ie=keys$6($),ae=ie.length-1;ae>=0&&j.call(oe,$[ie[ae]],ie[ae],$)!==!1;ae--);}}var lastForOf_1=lastForOf$1,isArray$d=isArray_1,isString$9=isString_1,hasOwnProp$4=hasOwnProp_1;function helperCreateIndexOf$2($,j){return function(oe,ae){if(oe){if(oe[$])return oe[$](ae);if(isString$9(oe)||isArray$d(oe))return j(oe,ae);for(var ie in oe)if(hasOwnProp$4(oe,ie)&&ae===oe[ie])return ie}return-1}}var helperCreateIndexOf_1=helperCreateIndexOf$2,helperCreateIndexOf$1=helperCreateIndexOf_1,arrayIndexOf$1=arrayIndexOf_1,indexOf$1=helperCreateIndexOf$1("indexOf",arrayIndexOf$1),indexOf_1=indexOf$1,helperCreateIndexOf=helperCreateIndexOf_1,arrayLastIndexOf$1=arrayLastIndexOf_1,lastIndexOf$2=helperCreateIndexOf("lastIndexOf",arrayLastIndexOf$1),lastIndexOf_1=lastIndexOf$2,isArray$c=isArray_1,isString$8=isString_1,each$6=each_1;function getSize$2($){var j=0;return isString$8($)||isArray$c($)?$.length:(each$6($,function(){j++}),j)}var getSize_1=getSize$2,isNumber$a=isNumber_1;function isNumberFinite$1($){return isNumber$a($)&&isFinite($)}var _isFinite=isNumberFinite$1,isArray$b=isArray_1,isNull$4=isNull_1,isInteger$2=function($){return!isNull$4($)&&!isNaN($)&&!isArray$b($)&&$%1===0},isInteger_1=isInteger$2,isArray$a=isArray_1,isInteger$1=isInteger_1,isNull$3=isNull_1;function isFloat$1($){return!isNull$3($)&&!isNaN($)&&!isArray$a($)&&!isInteger$1($)}var isFloat_1=isFloat$1,helperCreateInTypeof=helperCreateInTypeof_1,isBoolean$4=helperCreateInTypeof("boolean"),isBoolean_1=isBoolean$4,helperCreateInInObjectString$2=helperCreateInInObjectString_1,isRegExp$5=helperCreateInInObjectString$2("RegExp"),isRegExp_1=isRegExp$5,helperCreateInInObjectString$1=helperCreateInInObjectString_1,isError$2=helperCreateInInObjectString$1("Error"),isError_1=isError$2;function isTypeError$1($){return $?$.constructor===TypeError:!1}var isTypeError_1=isTypeError$1;function isEmpty$2($){for(var j in $)return!1;return!0}var isEmpty_1=isEmpty$2,staticStrUndefined$9=staticStrUndefined_1,supportSymbol=typeof Symbol!==staticStrUndefined$9;function isSymbol$2($){return supportSymbol&&Symbol.isSymbol?Symbol.isSymbol($):typeof $=="symbol"}var isSymbol_1=isSymbol$2,helperCreateInInObjectString=helperCreateInInObjectString_1,isArguments$1=helperCreateInInObjectString("Arguments"),isArguments_1=isArguments$1,isString$7=isString_1,isNumber$9=isNumber_1;function isElement$1($){return!!($&&isString$7($.nodeName)&&isNumber$9($.nodeType))}var isElement_1=isElement$1,staticStrUndefined$8=staticStrUndefined_1,staticDocument$3=typeof document===staticStrUndefined$8?0:document,staticDocument_1=staticDocument$3,staticDocument$2=staticDocument_1;function isDocument$1($){return!!($&&staticDocument$2&&$.nodeType===9)}var isDocument_1=isDocument$1,staticStrUndefined$7=staticStrUndefined_1,staticWindow$2=typeof window===staticStrUndefined$7?0:window,staticWindow_1=staticWindow$2,staticWindow$1=staticWindow_1;function isWindow$1($){return staticWindow$1&&!!($&&$===$.window)}var isWindow_1=isWindow$1,staticStrUndefined$6=staticStrUndefined_1,supportFormData=typeof FormData!==staticStrUndefined$6;function isFormData$2($){return supportFormData&&$ instanceof FormData}var isFormData_1=isFormData$2,staticStrUndefined$5=staticStrUndefined_1,supportMap=typeof Map!==staticStrUndefined$5;function isMap$1($){return supportMap&&$ instanceof Map}var isMap_1=isMap$1,staticStrUndefined$4=staticStrUndefined_1,supportWeakMap=typeof WeakMap!==staticStrUndefined$4;function isWeakMap$1($){return supportWeakMap&&$ instanceof WeakMap}var isWeakMap_1=isWeakMap$1,staticStrUndefined$3=staticStrUndefined_1,supportSet=typeof Set!==staticStrUndefined$3;function isSet$1($){return supportSet&&$ instanceof Set}var isSet_1=isSet$1,staticStrUndefined$2=staticStrUndefined_1,supportWeakSet=typeof WeakSet!==staticStrUndefined$2;function isWeakSet$1($){return supportWeakSet&&$ instanceof WeakSet}var isWeakSet_1=isWeakSet$1,isFunction$8=isFunction_1,isString$6=isString_1,isArray$9=isArray_1,hasOwnProp$3=hasOwnProp_1;function helperCreateiterateIndexOf$2($){return function(j,oe,ae){if(j&&isFunction$8(oe)){if(isArray$9(j)||isString$6(j))return $(j,oe,ae);for(var ie in j)if(hasOwnProp$3(j,ie)&&oe.call(ae,j[ie],ie,j))return ie}return-1}}var helperCreateiterateIndexOf_1=helperCreateiterateIndexOf$2,helperCreateiterateIndexOf$1=helperCreateiterateIndexOf_1,findIndexOf$3=helperCreateiterateIndexOf$1(function($,j,oe){for(var ae=0,ie=$.length;ae-1})}else return!0;return isEqual$1($,j)}var isMatch_1=isMatch$1,helperEqualCompare=helperEqualCompare_1,helperDefaultCompare=helperDefaultCompare_1,isFunction$7=isFunction_1,isUndefined$6=isUndefined_1;function isEqualWith$1($,j,oe){return isFunction$7(oe)?helperEqualCompare($,j,function(ae,ie,le,de,ue){var pe=oe(ae,ie,le,de,ue);return isUndefined$6(pe)?helperDefaultCompare(ae,ie):!!pe},oe):helperEqualCompare($,j,helperDefaultCompare)}var isEqualWith_1=isEqualWith$1,isSymbol$1=isSymbol_1,isDate$6=isDate_1,isArray$7=isArray_1,isRegExp$3=isRegExp_1,isError$1=isError_1,isNull$2=isNull_1;function getType$1($){return isNull$2($)?"null":isSymbol$1($)?"symbol":isDate$6($)?"date":isArray$7($)?"array":isRegExp$3($)?"regexp":isError$1($)?"error":typeof $}var getType_1=getType$1,__uniqueId=0;function uniqueId$1($){return[$,++__uniqueId].join("")}var uniqueId_1=uniqueId$1,helperCreateiterateIndexOf=helperCreateiterateIndexOf_1,findLastIndexOf$1=helperCreateiterateIndexOf(function($,j,oe){for(var ae=$.length-1;ae>=0;ae--)if(j.call(oe,$[ae],ae,$))return ae;return-1}),findLastIndexOf_1=findLastIndexOf$1,isPlainObject$5=isPlainObject_1,isString$4=isString_1;function toStringJSON$1($){if(isPlainObject$5($))return $;if(isString$4($))try{return JSON.parse($)}catch{}return{}}var toStringJSON_1=toStringJSON$1,eqNull$2=eqNull_1;function toJSONString$1($){return eqNull$2($)?"":JSON.stringify($)}var toJSONString_1=toJSONString$1,helperCreateGetObjects=helperCreateGetObjects_1,entries$1=helperCreateGetObjects("entries",2),entries_1=entries$1,isFunction$6=isFunction_1,isArray$6=isArray_1,each$5=each_1,findIndexOf$1=findIndexOf_1;function helperCreatePickOmit$2($,j){return function(oe,ae){var ie,le,de={},ue=[],pe=this,he=arguments,_e=he.length;if(!isFunction$6(ae)){for(le=1;le<_e;le++)ie=he[le],ue.push.apply(ue,isArray$6(ie)?ie:[ie]);ae=0}return each$5(oe,function(xe,Ce){((ae?ae.call(pe,xe,Ce,oe):findIndexOf$1(ue,function(Ie){return Ie===Ce})>-1)?$:j)&&(de[Ce]=xe)}),de}}var helperCreatePickOmit_1=helperCreatePickOmit$2,helperCreatePickOmit$1=helperCreatePickOmit_1,pick$1=helperCreatePickOmit$1(1,0),pick_1=pick$1,helperCreatePickOmit=helperCreatePickOmit_1,omit$1=helperCreatePickOmit(0,1),omit_1=omit$1,values$2=values_1;function first$1($){return values$2($)[0]}var first_1=first$1,values$1=values_1;function last$1($){var j=values$1($);return j[j.length-1]}var last_1=last$1,staticHGKeyRE=staticHGKeyRE_1,helperGetHGSKeys$1=helperGetHGSKeys_1,hasOwnProp$2=hasOwnProp_1;function has$1($,j){if($){if(hasOwnProp$2($,j))return!0;var oe,ae,ie,le,de,ue,pe=helperGetHGSKeys$1(j),he=0,_e=pe.length;for(de=$;he<_e&&(ue=!1,oe=pe[he],le=oe?oe.match(staticHGKeyRE):"",le?(ae=le[1],ie=le[2],ae?de[ae]&&hasOwnProp$2(de[ae],ie)&&(ue=!0,de=de[ae][ie]):hasOwnProp$2(de,ie)&&(ue=!0,de=de[ie])):hasOwnProp$2(de,oe)&&(ue=!0,de=de[oe]),ue);he++)if(he===_e-1)return!0}return!1}var has_1=has$1,staticParseInt$3=staticParseInt_1,helperGetHGSKeys=helperGetHGSKeys_1,hasOwnProp$1=hasOwnProp_1,sKeyRE=/(.+)?\[(\d+)\]$/;function setDeepProps($,j,oe,ae,ie){if($[j])oe&&($[j]=ie);else{var le,de,ue=j?j.match(sKeyRE):null;if(oe)de=ie;else{var pe=ae?ae.match(sKeyRE):null;pe&&!pe[1]?de=new Array(staticParseInt$3(pe[2])+1):de={}}return ue?ue[1]?(le=staticParseInt$3(ue[2]),$[ue[1]]?oe?$[ue[1]][le]=de:$[ue[1]][le]?de=$[ue[1]][le]:$[ue[1]][le]=de:($[ue[1]]=new Array(le+1),$[ue[1]][le]=de)):$[ue[2]]=de:$[j]=de,de}return $[j]}function set$1($,j,oe){if($){if(($[j]||hasOwnProp$1($,j))&&!isPrototypePolluted(j))$[j]=oe;else for(var ae=$,ie=helperGetHGSKeys(j),le=ie.length,de=0;de>0,ie=j>>0,ae>0||1;aej}),min_1=min$1;function helperNumberDecimal$4($){return($.split(".")[1]||"").length}var helperNumberDecimal_1=helperNumberDecimal$4,staticParseInt$2=staticParseInt_1;function helperStringRepeat$5($,j){if($.repeat)return $.repeat(j);var oe=isNaN(j)?[]:new Array(staticParseInt$2(j));return oe.join($)+(oe.length>0?$:"")}var helperStringRepeat_1=helperStringRepeat$5;function helperNumberOffsetPoint$2($,j){return $.substring(0,j)+"."+$.substring(j,$.length)}var helperNumberOffsetPoint_1=helperNumberOffsetPoint$2,helperStringRepeat$4=helperStringRepeat_1,helperNumberOffsetPoint$1=helperNumberOffsetPoint_1;function toNumberString$8($){var j=""+$,oe=j.match(/^([-+]?)((\d+)|((\d+)?[.](\d+)?))e([-+]{1})([0-9]+)$/);if(oe){var ae=$<0,ie=ae?"-":"",le=oe[3]||"",de=oe[5]||"",ue=oe[6]||"",pe=oe[7],he=oe[8],_e=he-ue.length,xe=he-le.length,Ce=he-de.length;return pe==="+"?le?ie+le+helperStringRepeat$4("0",he):_e>0?ie+de+ue+helperStringRepeat$4("0",_e):ie+de+helperNumberOffsetPoint$1(ue,he):le?xe>0?ie+"0."+helperStringRepeat$4("0",Math.abs(xe))+le:ie+helperNumberOffsetPoint$1(le,xe):Ce>0?ie+"0."+helperStringRepeat$4("0",Math.abs(Ce))+de+ue:ie+helperNumberOffsetPoint$1(de,Ce)+ue}return j}var toNumberString_1=toNumberString$8,helperNumberDecimal$3=helperNumberDecimal_1,toNumberString$7=toNumberString_1;function helperMultiply$2($,j){var oe=toNumberString$7($),ae=toNumberString$7(j);return parseInt(oe.replace(".",""))*parseInt(ae.replace(".",""))/Math.pow(10,helperNumberDecimal$3(oe)+helperNumberDecimal$3(ae))}var helperMultiply_1=helperMultiply$2,helperMultiply$1=helperMultiply_1,toNumber$5=toNumber_1,toNumberString$6=toNumberString_1;function helperCreateMathNumber$3($){return function(j,oe){var ae=toNumber$5(j),ie=ae;if(ae){oe=oe>>0;var le=toNumberString$6(ae),de=le.split("."),ue=de[0],pe=de[1]||"",he=pe.substring(0,oe+1),_e=ue+(he?"."+he:"");if(oe>=pe.length)return toNumber$5(_e);if(_e=ae,oe>0){var xe=Math.pow(10,oe);ie=Math[$](helperMultiply$1(_e,xe))/xe}else ie=Math[$](_e)}return ie}}var helperCreateMathNumber_1=helperCreateMathNumber$3,helperCreateMathNumber$2=helperCreateMathNumber_1,round$3=helperCreateMathNumber$2("round"),round_1=round$3,helperCreateMathNumber$1=helperCreateMathNumber_1,ceil$2=helperCreateMathNumber$1("ceil"),ceil_1=ceil$2,helperCreateMathNumber=helperCreateMathNumber_1,floor$2=helperCreateMathNumber("floor"),floor_1=floor$2,eqNull$1=eqNull_1,isNumber$7=isNumber_1,toNumberString$5=toNumberString_1;function toValueString$e($){return isNumber$7($)?toNumberString$5($):""+(eqNull$1($)?"":$)}var toValueString_1=toValueString$e,round$2=round_1,toValueString$d=toValueString_1,helperStringRepeat$3=helperStringRepeat_1,helperNumberOffsetPoint=helperNumberOffsetPoint_1;function toFixed$3($,j){j=j>>0;var oe=toValueString$d(round$2($,j)),ae=oe.split("."),ie=ae[0],le=ae[1]||"",de=j-le.length;return j?de>0?ie+"."+le+helperStringRepeat$3("0",de):ie+helperNumberOffsetPoint(le,Math.abs(de)):ie}var toFixed_1=toFixed$3,setupDefaults$6=setupDefaults_1,round$1=round_1,ceil$1=ceil_1,floor$1=floor_1,isNumber$6=isNumber_1,toValueString$c=toValueString_1,toFixed$2=toFixed_1,toNumberString$4=toNumberString_1,assign$7=assign_1;function commafy$1($,j){var oe=assign$7({},setupDefaults$6.commafyOptions,j),ae=oe.digits,ie=isNumber$6($),le,de,ue,pe,he;return ie?(le=(oe.ceil?ceil$1:oe.floor?floor$1:round$1)($,ae),de=toNumberString$4(ae?toFixed$2(le,ae):le).split("."),pe=de[0],he=de[1],ue=pe&&le<0,ue&&(pe=pe.substring(1,pe.length))):(le=toValueString$c($).replace(/,/g,""),de=le?[le]:[],pe=de[0]),de.length?(ue?"-":"")+pe.replace(new RegExp("(?=(?!(\\b))(.{"+(oe.spaceNumber||3)+"})+$)","g"),oe.separator||",")+(he?"."+he:""):le}var commafy_1=commafy$1,staticParseInt$1=staticParseInt_1,helperCreateToNumber=helperCreateToNumber_1,toInteger$1=helperCreateToNumber(staticParseInt$1),toInteger_1=toInteger$1,helperMultiply=helperMultiply_1,toNumber$4=toNumber_1;function multiply$3($,j){var oe=toNumber$4($),ae=toNumber$4(j);return helperMultiply(oe,ae)}var multiply_1=multiply$3,helperNumberDecimal$2=helperNumberDecimal_1,toNumberString$3=toNumberString_1,multiply$2=multiply_1;function helperNumberAdd$2($,j){var oe=toNumberString$3($),ae=toNumberString$3(j),ie=Math.pow(10,Math.max(helperNumberDecimal$2(oe),helperNumberDecimal$2(ae)));return(multiply$2($,ie)+multiply$2(j,ie))/ie}var helperNumberAdd_1=helperNumberAdd$2,helperNumberAdd$1=helperNumberAdd_1,toNumber$3=toNumber_1;function add$1($,j){return helperNumberAdd$1(toNumber$3($),toNumber$3(j))}var add_1=add$1,helperNumberDecimal$1=helperNumberDecimal_1,toNumberString$2=toNumberString_1,toNumber$2=toNumber_1,toFixed$1=toFixed_1;function subtract$1($,j){var oe=toNumber$2($),ae=toNumber$2(j),ie=toNumberString$2(oe),le=toNumberString$2(ae),de=helperNumberDecimal$1(ie),ue=helperNumberDecimal$1(le),pe=Math.pow(10,Math.max(de,ue)),he=de>=ue?de:ue;return parseFloat(toFixed$1((oe*pe-ae*pe)/pe,he))}var subtract_1=subtract$1,helperNumberDecimal=helperNumberDecimal_1,toNumberString$1=toNumberString_1,multiply$1=multiply_1;function helperNumberDivide$2($,j){var oe=toNumberString$1($),ae=toNumberString$1(j),ie=helperNumberDecimal(oe),le=helperNumberDecimal(ae),de=le-ie,ue=de<0,pe=Math.pow(10,ue?Math.abs(de):de);return multiply$1(oe.replace(".","")/ae.replace(".",""),ue?1/pe:pe)}var helperNumberDivide_1=helperNumberDivide$2,helperNumberDivide$1=helperNumberDivide_1,toNumber$1=toNumber_1;function divide$1($,j){return helperNumberDivide$1(toNumber$1($),toNumber$1(j))}var divide_1=divide$1,helperNumberAdd=helperNumberAdd_1,isFunction$4=isFunction_1,each$3=each_1,get$2=get_1;function sum$2($,j,oe){var ae=0;return each$3($,j?isFunction$4(j)?function(){ae=helperNumberAdd(ae,j.apply(oe,arguments))}:function(ie){ae=helperNumberAdd(ae,get$2(ie,j))}:function(ie){ae=helperNumberAdd(ae,ie)}),ae}var sum_1=sum$2,helperNumberDivide=helperNumberDivide_1,getSize$1=getSize_1,sum$1=sum_1;function mean$1($,j,oe){return helperNumberDivide(sum$1($,j,oe),getSize$1($))}var mean_1=mean$1,staticStrFirst$5="first",staticStrFirst_1=staticStrFirst$5,staticStrLast$4="last",staticStrLast_1=staticStrLast$4;function helperGetDateFullYear$5($){return $.getFullYear()}var helperGetDateFullYear_1=helperGetDateFullYear$5,staticDayTime$5=864e5,staticDayTime_1=staticDayTime$5;function helperGetDateMonth$4($){return $.getMonth()}var helperGetDateMonth_1=helperGetDateMonth$4,isDate$5=isDate_1,helperGetDateTime$a=helperGetDateTime_1;function isValidDate$c($){return isDate$5($)&&!isNaN(helperGetDateTime$a($))}var isValidDate_1=isValidDate$c,staticStrFirst$4=staticStrFirst_1,staticStrLast$3=staticStrLast_1,staticDayTime$4=staticDayTime_1,helperGetDateFullYear$4=helperGetDateFullYear_1,helperGetDateTime$9=helperGetDateTime_1,helperGetDateMonth$3=helperGetDateMonth_1,toStringDate$b=toStringDate_1,isValidDate$b=isValidDate_1,isNumber$5=isNumber_1;function getWhatMonth$5($,j,oe){var ae=j&&!isNaN(j)?j:0;if($=toStringDate$b($),isValidDate$b($)){if(oe===staticStrFirst$4)return new Date(helperGetDateFullYear$4($),helperGetDateMonth$3($)+ae,1);if(oe===staticStrLast$3)return new Date(helperGetDateTime$9(getWhatMonth$5($,ae+1,staticStrFirst$4))-1);if(isNumber$5(oe)&&$.setDate(oe),ae){var ie=$.getDate();if($.setMonth(helperGetDateMonth$3($)+ae),ie!==$.getDate())return $.setDate(1),new Date(helperGetDateTime$9($)-staticDayTime$4)}}return $}var getWhatMonth_1=getWhatMonth$5,staticStrFirst$3=staticStrFirst_1,staticStrLast$2=staticStrLast_1,helperGetDateFullYear$3=helperGetDateFullYear_1,getWhatMonth$4=getWhatMonth_1,toStringDate$a=toStringDate_1,isValidDate$a=isValidDate_1;function getWhatYear$4($,j,oe){var ae;if($=toStringDate$a($),isValidDate$a($)&&(j&&(ae=j&&!isNaN(j)?j:0,$.setFullYear(helperGetDateFullYear$3($)+ae)),oe||!isNaN(oe))){if(oe===staticStrFirst$3)return new Date(helperGetDateFullYear$3($),0,1);if(oe===staticStrLast$2)return $.setMonth(11),getWhatMonth$4($,0,staticStrLast$2);$.setMonth(oe)}return $}var getWhatYear_1=getWhatYear$4,getWhatMonth$3=getWhatMonth_1,toStringDate$9=toStringDate_1,isValidDate$9=isValidDate_1;function getQuarterNumber($){var j=$.getMonth();return j<3?1:j<6?2:j<9?3:4}function getWhatQuarter$1($,j,oe){var ae,ie=j&&!isNaN(j)?j*3:0;return $=toStringDate$9($),isValidDate$9($)?(ae=(getQuarterNumber($)-1)*3,$.setMonth(ae),getWhatMonth$3($,ie,oe)):$}var getWhatQuarter_1=getWhatQuarter$1,staticStrFirst$2=staticStrFirst_1,staticStrLast$1=staticStrLast_1,staticParseInt=staticParseInt_1,helperGetDateFullYear$2=helperGetDateFullYear_1,helperGetDateMonth$2=helperGetDateMonth_1,helperGetDateTime$8=helperGetDateTime_1,toStringDate$8=toStringDate_1,isValidDate$8=isValidDate_1;function getWhatDay$2($,j,oe){if($=toStringDate$8($),isValidDate$8($)&&!isNaN(j)){if($.setDate($.getDate()+staticParseInt(j)),oe===staticStrFirst$2)return new Date(helperGetDateFullYear$2($),helperGetDateMonth$2($),$.getDate());if(oe===staticStrLast$1)return new Date(helperGetDateTime$8(getWhatDay$2($,1,staticStrFirst$2))-1)}return $}var getWhatDay_1=getWhatDay$2;function helperStringUpperCase$2($){return $.toUpperCase()}var helperStringUpperCase_1=helperStringUpperCase$2,staticDayTime$3=staticDayTime_1,staticWeekTime$2=staticDayTime$3*7,staticWeekTime_1=staticWeekTime$2,setupDefaults$5=setupDefaults_1,staticDayTime$2=staticDayTime_1,staticWeekTime$1=staticWeekTime_1,helperGetDateTime$7=helperGetDateTime_1,toStringDate$7=toStringDate_1,isValidDate$7=isValidDate_1,isNumber$4=isNumber_1;function getWhatWeek$2($,j,oe,ae){if($=toStringDate$7($),isValidDate$7($)){var ie=isNumber$4(oe),le=isNumber$4(ae),de=helperGetDateTime$7($);if(ie||le){var ue=le?ae:setupDefaults$5.firstDayOfWeek,pe=$.getDay(),he=ie?oe:pe;if(pe!==he){var _e=0;ue>pe?_e=-(7-ue+pe):ueue?de+=((he===0?7:he)-ue+_e)*staticDayTime$2:heae&&de.setDate(7-ue+ae+1),ue>0,oe=isUndefined$5(oe)?" ":""+oe,ae.padStart?ae.padStart(j,oe):j>ae.length?(j-=ae.length,j>oe.length&&(oe+=helperStringRepeat$2(oe,j/oe.length)),oe.slice(0,j)+ae):ae}var padStart_1=padStart$2,setupDefaults$3=setupDefaults_1,helperStringUpperCase$1=helperStringUpperCase_1,helperGetDateFullYear=helperGetDateFullYear_1,helperGetDateMonth=helperGetDateMonth_1,toStringDate$5=toStringDate_1,getYearWeek$1=getYearWeek_1,getYearDay$1=getYearDay_1,assign$6=assign_1,isValidDate$4=isValidDate_1,isFunction$3=isFunction_1,padStart$1=padStart_1;function handleCustomTemplate($,j,oe,ae){var ie=j[oe];return ie?isFunction$3(ie)?ie(ae,oe,$):ie[ae]:ae}var dateFormatRE=/\[([^\]]+)]|y{2,4}|M{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|S{1,3}|Z{1,2}|W{1,2}|D{1,3}|[aAeEq]/g;function toDateString$2($,j,oe){if($){if($=toStringDate$5($),isValidDate$4($)){var ae=j||setupDefaults$3.parseDateFormat||setupDefaults$3.formatString,ie=$.getHours(),le=ie<12?"am":"pm",de=assign$6({},setupDefaults$3.parseDateRules||setupDefaults$3.formatStringMatchs,oe?oe.formats:null),ue=function(ze,Ue){return(""+helperGetDateFullYear($)).substr(4-Ue)},pe=function(ze,Ue){return padStart$1(helperGetDateMonth($)+1,Ue,"0")},he=function(ze,Ue){return padStart$1($.getDate(),Ue,"0")},_e=function(ze,Ue){return padStart$1(ie,Ue,"0")},xe=function(ze,Ue){return padStart$1(ie<=12?ie:ie-12,Ue,"0")},Ce=function(ze,Ue){return padStart$1($.getMinutes(),Ue,"0")},Ie=function(ze,Ue){return padStart$1($.getSeconds(),Ue,"0")},$e=function(ze,Ue){return padStart$1($.getMilliseconds(),Ue,"0")},Ne=function(ze,Ue){var qe=$.getTimezoneOffset()/60*-1;return handleCustomTemplate($,de,ze,(qe>=0?"+":"-")+padStart$1(qe,2,"0")+(Ue===1?":":"")+"00")},Ve=function(ze,Ue){return padStart$1(handleCustomTemplate($,de,ze,getYearWeek$1($,(oe?oe.firstDay:null)||setupDefaults$3.firstDayOfWeek)),Ue,"0")},Oe=function(ze,Ue){return padStart$1(handleCustomTemplate($,de,ze,getYearDay$1($)),Ue,"0")},Fe={yyyy:ue,yy:ue,MM:pe,M:pe,dd:he,d:he,HH:_e,H:_e,hh:xe,h:xe,mm:Ce,m:Ce,ss:Ie,s:Ie,SSS:$e,S:$e,ZZ:Ne,Z:Ne,WW:Ve,W:Ve,DDD:Oe,D:Oe,a:function(ze){return handleCustomTemplate($,de,ze,le)},A:function(ze){return handleCustomTemplate($,de,ze,helperStringUpperCase$1(le))},e:function(ze){return handleCustomTemplate($,de,ze,$.getDay())},E:function(ze){return handleCustomTemplate($,de,ze,$.getDay())},q:function(ze){return handleCustomTemplate($,de,ze,Math.floor((helperGetDateMonth($)+3)/3))}};return ae.replace(dateFormatRE,function(ze,Ue){return Ue||(Fe[ze]?Fe[ze](ze,ze.length):ze)})}return"Invalid Date"}return""}var toDateString_1=toDateString$2,helperGetDateTime$4=helperGetDateTime_1,helperNewDate$2=helperNewDate_1,now$2=Date.now||function(){return helperGetDateTime$4(helperNewDate$2())},now_1=now$2,helperGetDateTime$3=helperGetDateTime_1,now$1=now_1,toStringDate$4=toStringDate_1,isDate$4=isDate_1,timestamp$1=function($,j){if($){var oe=toStringDate$4($,j);return isDate$4(oe)?helperGetDateTime$3(oe):oe}return now$1()},timestamp_1=timestamp$1,toDateString$1=toDateString_1;function isDateSame$1($,j,oe){return $&&j?($=toDateString$1($,oe),$!=="Invalid Date"&&$===toDateString$1(j,oe)):!1}var isDateSame_1=isDateSame$1,helperCreateGetDateWeek=helperCreateGetDateWeek_1,getMonthWeek$1=helperCreateGetDateWeek(function($){return new Date($.getFullYear(),$.getMonth(),1)}),getMonthWeek_1=getMonthWeek$1,getWhatYear$2=getWhatYear_1,toStringDate$3=toStringDate_1,isValidDate$3=isValidDate_1,isLeapYear$1=isLeapYear_1;function getDayOfYear$1($,j){return $=toStringDate$3($),isValidDate$3($)?isLeapYear$1(getWhatYear$2($,j))?366:365:NaN}var getDayOfYear_1=getDayOfYear$1,staticDayTime=staticDayTime_1,staticStrFirst=staticStrFirst_1,staticStrLast=staticStrLast_1,helperGetDateTime$2=helperGetDateTime_1,getWhatMonth$2=getWhatMonth_1,toStringDate$2=toStringDate_1,isValidDate$2=isValidDate_1;function getDayOfMonth$1($,j){return $=toStringDate$2($),isValidDate$2($)?Math.floor((helperGetDateTime$2(getWhatMonth$2($,j,staticStrLast))-helperGetDateTime$2(getWhatMonth$2($,j,staticStrFirst)))/staticDayTime)+1:NaN}var getDayOfMonth_1=getDayOfMonth$1,setupDefaults$2=setupDefaults_1,helperGetDateTime$1=helperGetDateTime_1,helperNewDate$1=helperNewDate_1,toStringDate$1=toStringDate_1,isValidDate$1=isValidDate_1;function getDateDiff$1($,j,oe){var ae,ie,le,de,ue,pe,he,_e={done:!1,time:0};if($=toStringDate$1($),j=j?toStringDate$1(j):helperNewDate$1(),isValidDate$1($)&&isValidDate$1(j)&&(ae=helperGetDateTime$1($),ie=helperGetDateTime$1(j),ae0?oe:setupDefaults$2.dateDiffRules,_e.done=!0,he=0,pe=ue.length;he=le[1]?he===pe-1?_e[le[0]]=de||0:(_e[le[0]]=Math.floor(de/le[1]),de-=_e[le[0]]*le[1]):_e[le[0]]=0;return _e}var getDateDiff_1=getDateDiff$1,toValueString$a=toValueString_1,isUndefined$4=isUndefined_1,helperStringRepeat$1=helperStringRepeat_1;function padEnd$1($,j,oe){var ae=toValueString$a($);return j=j>>0,oe=isUndefined$4(oe)?" ":""+oe,ae.padEnd?ae.padEnd(j,oe):j>ae.length?(j-=ae.length,j>oe.length&&(oe+=helperStringRepeat$1(oe,j/oe.length)),ae+oe.slice(0,j)):ae}var padEnd_1=padEnd$1,toValueString$9=toValueString_1,helperStringRepeat=helperStringRepeat_1;function repeat$1($,j){return helperStringRepeat(toValueString$9($),j)}var repeat_1=repeat$1,toValueString$8=toValueString_1;function trimRight$2($){return $&&$.trimRight?$.trimRight():toValueString$8($).replace(/[\s\uFEFF\xA0]+$/g,"")}var trimRight_1=trimRight$2,toValueString$7=toValueString_1;function trimLeft$2($){return $&&$.trimLeft?$.trimLeft():toValueString$7($).replace(/^[\s\uFEFF\xA0]+/g,"")}var trimLeft_1=trimLeft$2,trimRight$1=trimRight_1,trimLeft$1=trimLeft_1;function trim$3($){return $&&$.trim?$.trim():trimRight$1(trimLeft$1($))}var trim_1=trim$3,staticEscapeMap$2={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},staticEscapeMap_1=staticEscapeMap$2,toValueString$6=toValueString_1,keys$2=keys_1;function helperFormatEscaper$2($){var j=new RegExp("(?:"+keys$2($).join("|")+")","g");return function(oe){return toValueString$6(oe).replace(j,function(ae){return $[ae]})}}var helperFormatEscaper_1=helperFormatEscaper$2,staticEscapeMap$1=staticEscapeMap_1,helperFormatEscaper$1=helperFormatEscaper_1,escape$1=helperFormatEscaper$1(staticEscapeMap$1),_escape=escape$1,staticEscapeMap=staticEscapeMap_1,helperFormatEscaper=helperFormatEscaper_1,each$2=each_1,unescapeMap={};each$2(staticEscapeMap,function($,j){unescapeMap[staticEscapeMap[j]]=j});var unescape$2=helperFormatEscaper(unescapeMap),_unescape=unescape$2;function helperStringSubstring$2($,j,oe){return $.substring(j,oe)}var helperStringSubstring_1=helperStringSubstring$2;function helperStringLowerCase$2($){return $.toLowerCase()}var helperStringLowerCase_1=helperStringLowerCase$2,toValueString$5=toValueString_1,helperStringSubstring$1=helperStringSubstring_1,helperStringUpperCase=helperStringUpperCase_1,helperStringLowerCase$1=helperStringLowerCase_1,camelCacheMaps={};function camelCase$1($){if($=toValueString$5($),camelCacheMaps[$])return camelCacheMaps[$];var j=$.length,oe=$.replace(/([-]+)/g,function(ae,ie,le){return le&&le+ie.length2&&le+de1&&le+de1?ae+"-"+helperStringLowerCase(helperStringSubstring(ie,0,de-1))+"-"+helperStringLowerCase(helperStringSubstring(ie,de-1,de))+le:helperStringLowerCase(ae+"-"+ie+le)}).replace(/^([A-Z]+)([a-z]+)?$/,function(oe,ae,ie){var le=ae.length;return helperStringLowerCase(helperStringSubstring(ae,0,le-1)+"-"+helperStringSubstring(ae,le-1,le)+(ie||""))}).replace(/([a-z]?)([A-Z]+)([a-z]?)/g,function(oe,ae,ie,le,de){var ue=ie.length;return ue>1&&(ae&&(ae+="-"),le)?(ae||"")+helperStringLowerCase(helperStringSubstring(ie,0,ue-1))+"-"+helperStringLowerCase(helperStringSubstring(ie,ue-1,ue))+le:(ae||"")+(de?"-":"")+helperStringLowerCase(ie)+(le||"")});return j=j.replace(/([-]+)/g,function(oe,ae,ie){return ie&&ie+ae.length1&&(ie>2?ae.substring(0,oe).indexOf(j)===oe-1:ae.indexOf(j)===ae.length-1)}var endsWith_1=endsWith$2,setupDefaults$1=setupDefaults_1,toValueString$1=toValueString_1,trim$2=trim_1,get$1=get_1;function template$2($,j,oe){return toValueString$1($).replace((oe||setupDefaults$1).tmplRE||/\{{2}([.\w[\]\s]+)\}{2}/g,function(ae,ie){return get$1(j,trim$2(ie))})}var template_1=template$2,template$1=template_1;function toFormatString$1($,j){return template$1($,j,{tmplRE:/\{([.\w[\]\s]+)\}/g})}var toFormatString_1=toFormatString$1;function noop$4(){}var noop_1=noop$4,slice$5=slice_1;function bind$2($,j){var oe=slice$5(arguments,2);return function(){return $.apply(j,slice$5(arguments).concat(oe))}}var bind_1=bind$2,slice$4=slice_1;function once$1($,j){var oe=!1,ae=null,ie=slice$4(arguments,2);return function(){return oe||(ae=$.apply(j,slice$4(arguments).concat(ie)),oe=!0),ae}}var once_1=once$1,slice$3=slice_1;function after$1($,j,oe){var ae=0,ie=[];return function(){var le=arguments;ae++,ae<=$&&ie.push(le[0]),ae>=$&&j.apply(oe,[ie].concat(slice$3(le)))}}var after_1=after$1,slice$2=slice_1;function before$1($,j,oe){var ae=0,ie=[];return oe=oe||this,function(){var le=arguments;ae++,ae<$&&(ie.push(le[0]),j.apply(oe,[ie].concat(slice$2(le))))}}var before_1=before$1;function throttle$1($,j,oe){var ae,ie,le=oe||{},de=!1,ue=0,pe="leading"in le?le.leading:!0,he="trailing"in le?le.trailing:!1,_e=function(){de=!0,$.apply(ie,ae),ue=setTimeout(xe,j)},xe=function(){ue=0,!de&&he===!0&&_e()},Ce=function(){var $e=ue!==0;return clearTimeout(ue),ae=null,ie=null,de=!1,ue=0,$e},Ie=function(){ae=arguments,ie=this,de=!1,ue===0&&(pe===!0?_e():he===!0&&(ue=setTimeout(xe,j)))};return Ie.cancel=Ce,Ie}var throttle_1=throttle$1;function debounce$1($,j,oe){var ae,ie,le=oe||{},de=!1,ue=0,pe=typeof oe=="boolean",he="leading"in le?le.leading:pe,_e="trailing"in le?le.trailing:!pe,xe=function(){de=!0,ue=0,$.apply(ie,ae)},Ce=function(){he===!0&&(ue=0),!de&&_e===!0&&xe()},Ie=function(){var Ne=ue!==0;return clearTimeout(ue),ae=null,ie=null,ue=0,Ne},$e=function(){de=!1,ae=arguments,ie=this,ue===0?he===!0&&xe():clearTimeout(ue),ue=setTimeout(Ce,j)};return $e.cancel=Ie,$e}var debounce_1=debounce$1,slice$1=slice_1;function delay$1($,j){var oe=slice$1(arguments,2),ae=this;return setTimeout(function(){$.apply(ae,oe)},j)}var delay_1=delay$1,staticDecodeURIComponent$2=decodeURIComponent,staticDecodeURIComponent_1=staticDecodeURIComponent$2,staticDecodeURIComponent$1=staticDecodeURIComponent_1,arrayEach$3=arrayEach_1,isString$3=isString_1;function unserialize$2($){var j,oe={};return $&&isString$3($)&&arrayEach$3($.split("&"),function(ae){j=ae.split("="),oe[staticDecodeURIComponent$1(j[0])]=staticDecodeURIComponent$1(j[1]||"")}),oe}var unserialize_1=unserialize$2,staticEncodeURIComponent$2=encodeURIComponent,staticEncodeURIComponent_1=staticEncodeURIComponent$2,staticEncodeURIComponent$1=staticEncodeURIComponent_1,each$1=each_1,isArray$5=isArray_1,isNull$1=isNull_1,isUndefined$3=isUndefined_1,isPlainObject$4=isPlainObject_1;function stringifyParams($,j,oe){var ae,ie=[];return each$1($,function(le,de){ae=isArray$5(le),isPlainObject$4(le)||ae?ie=ie.concat(stringifyParams(le,j+"["+de+"]",ae)):ie.push(staticEncodeURIComponent$1(j+"["+(oe?"":de)+"]")+"="+staticEncodeURIComponent$1(isNull$1(le)?"":le))}),ie}function serialize$1($){var j,oe=[];return each$1($,function(ae,ie){isUndefined$3(ae)||(j=isArray$5(ae),isPlainObject$4(ae)||j?oe=oe.concat(stringifyParams(ae,ie,j)):oe.push(staticEncodeURIComponent$1(ie)+"="+staticEncodeURIComponent$1(isNull$1(ae)?"":ae)))}),oe.join("&").replace(/%20/g,"+")}var serialize_1=serialize$1,staticStrUndefined$1=staticStrUndefined_1,staticLocation$4=typeof location===staticStrUndefined$1?0:location,staticLocation_1=staticLocation$4,staticLocation$3=staticLocation_1;function helperGetLocatOrigin$2(){return staticLocation$3?staticLocation$3.origin||staticLocation$3.protocol+"//"+staticLocation$3.host:""}var helperGetLocatOrigin_1=helperGetLocatOrigin$2,staticLocation$2=staticLocation_1,unserialize$1=unserialize_1,helperGetLocatOrigin$1=helperGetLocatOrigin_1;function parseURLQuery($){return unserialize$1($.split("?")[1]||"")}function parseUrl$2($){var j,oe,ae,ie,le=""+$;return le.indexOf("//")===0?le=(staticLocation$2?staticLocation$2.protocol:"")+le:le.indexOf("/")===0&&(le=helperGetLocatOrigin$1()+le),ae=le.replace(/#.*/,"").match(/(\?.*)/),ie={href:le,hash:"",host:"",hostname:"",protocol:"",port:"",search:ae&&ae[1]&&ae[1].length>1?ae[1]:""},ie.path=le.replace(/^([a-z0-9.+-]*:)\/\//,function(de,ue){return ie.protocol=ue,""}).replace(/^([a-z0-9.+-]*)(:\d+)?\/?/,function(de,ue,pe){return oe=pe||"",ie.port=oe.replace(":",""),ie.hostname=ue,ie.host=ue+oe,"/"}).replace(/(#.*)/,function(de,ue){return ie.hash=ue.length>1?ue:"",""}),j=ie.hash.match(/#((.*)\?|(.*))/),ie.pathname=ie.path.replace(/(\?|#.*).*/,""),ie.origin=ie.protocol+"//"+ie.host,ie.hashKey=j&&(j[2]||j[1])||"",ie.hashQuery=parseURLQuery(ie.hash),ie.searchQuery=parseURLQuery(ie.search),ie}var parseUrl_1=parseUrl$2,staticLocation$1=staticLocation_1,helperGetLocatOrigin=helperGetLocatOrigin_1,lastIndexOf$1=lastIndexOf_1;function getBaseURL$1(){if(staticLocation$1){var $=staticLocation$1.pathname,j=lastIndexOf$1($,"/")+1;return helperGetLocatOrigin()+(j===$.length?$:$.substring(0,j))}return""}var getBaseURL_1=getBaseURL$1,staticLocation=staticLocation_1,parseUrl$1=parseUrl_1;function locat$1(){return staticLocation?parseUrl$1(staticLocation.href):{}}var locat_1=locat$1,setupDefaults=setupDefaults_1,staticDocument$1=staticDocument_1,staticDecodeURIComponent=staticDecodeURIComponent_1,staticEncodeURIComponent=staticEncodeURIComponent_1,isArray$4=isArray_1,isObject$3=isObject_1,isDate$3=isDate_1,isUndefined$2=isUndefined_1,includes$1=includes_1,keys$1=keys_1,assign$5=assign_1,arrayEach$2=arrayEach_1,helperNewDate=helperNewDate_1,helperGetDateTime=helperGetDateTime_1,getWhatYear$1=getWhatYear_1,getWhatMonth$1=getWhatMonth_1,getWhatDay$1=getWhatDay_1;function toCookieUnitTime($,j){var oe=parseFloat(j),ae=helperNewDate(),ie=helperGetDateTime(ae);switch($){case"y":return helperGetDateTime(getWhatYear$1(ae,oe));case"M":return helperGetDateTime(getWhatMonth$1(ae,oe));case"d":return helperGetDateTime(getWhatDay$1(ae,oe));case"h":case"H":return ie+oe*60*60*1e3;case"m":return ie+oe*60*1e3;case"s":return ie+oe*1e3}return ie}function toCookieUTCString($){return(isDate$3($)?$:new Date($)).toUTCString()}function cookie$1($,j,oe){if(staticDocument$1){var ae,ie,le,de,ue,pe,he=[],_e=arguments;return isArray$4($)?he=$:_e.length>1?he=[assign$5({name:$,value:j},oe)]:isObject$3($)&&(he=[$]),he.length>0?(arrayEach$2(he,function(xe){ae=assign$5({},setupDefaults.cookies,xe),le=[],ae.name&&(ie=ae.expires,le.push(staticEncodeURIComponent(ae.name)+"="+staticEncodeURIComponent(isObject$3(ae.value)?JSON.stringify(ae.value):ae.value)),ie&&(isNaN(ie)?ie=ie.replace(/^([0-9]+)(y|M|d|H|h|m|s)$/,function(Ce,Ie,$e){return toCookieUTCString(toCookieUnitTime($e,Ie))}):/^[0-9]{11,13}$/.test(ie)||isDate$3(ie)?ie=toCookieUTCString(ie):ie=toCookieUTCString(toCookieUnitTime("d",ie)),ae.expires=ie),arrayEach$2(["expires","path","domain","secure"],function(Ce){isUndefined$2(ae[Ce])||le.push(ae[Ce]&&Ce==="secure"?Ce:Ce+"="+ae[Ce])})),staticDocument$1.cookie=le.join("; ")}),!0):(de={},ue=staticDocument$1.cookie,ue&&arrayEach$2(ue.split("; "),function(xe){pe=xe.indexOf("="),de[staticDecodeURIComponent(xe.substring(0,pe))]=staticDecodeURIComponent(xe.substring(pe+1)||"")}),_e.length===1?de[$]:de)}return!1}function hasCookieItem($){return includes$1(cookieKeys(),$)}function getCookieItem($){return cookie$1($)}function setCookieItem($,j,oe){return cookie$1($,j,oe),cookie$1}function removeCookieItem($,j){cookie$1($,"",assign$5({expires:-1},setupDefaults.cookies,j))}function cookieKeys(){return keys$1(cookie$1())}function cookieJson(){return cookie$1()}assign$5(cookie$1,{has:hasCookieItem,set:setCookieItem,setItem:setCookieItem,get:getCookieItem,getItem:getCookieItem,remove:removeCookieItem,removeItem:removeCookieItem,keys:cookieKeys,getJSON:cookieJson});var cookie_1=cookie$1,staticStrUndefined=staticStrUndefined_1,staticDocument=staticDocument_1,staticWindow=staticWindow_1,assign$4=assign_1,arrayEach$1=arrayEach_1;function isBrowseStorage($){try{var j="__xe_t";return $.setItem(j,1),$.removeItem(j),!0}catch{return!1}}function isBrowseType($){return navigator.userAgent.indexOf($)>-1}function browse$2(){var $,j,oe,ae=!1,ie={isNode:!1,isMobile:ae,isPC:!1,isDoc:!!staticDocument};return!staticWindow&&typeof process!==staticStrUndefined?ie.isNode=!0:(oe=isBrowseType("Edge"),j=isBrowseType("Chrome"),ae=/(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent),ie.isDoc&&($=staticDocument.body||staticDocument.documentElement,arrayEach$1(["webkit","khtml","moz","ms","o"],function(le){ie["-"+le]=!!$[le+"MatchesSelector"]})),assign$4(ie,{edge:oe,firefox:isBrowseType("Firefox"),msie:!oe&&ie["-ms"],safari:!j&&!oe&&isBrowseType("Safari"),isMobile:ae,isPC:!ae,isLocalStorage:isBrowseStorage(staticWindow.localStorage),isSessionStorage:isBrowseStorage(staticWindow.sessionStorage)})),ie}var browse_1=browse$2,XEUtils=ctor,assign$3=assign_1,objectEach=objectEach_1,lastObjectEach=lastObjectEach_1,objectMap=objectMap_1,merge$1=merge_1,map=map_1,some=some_1,every=every_1,includeArrays=includeArrays_1,arrayEach=arrayEach_1,lastArrayEach=lastArrayEach_1,uniq=uniq_1,union=union_1,toArray$1=toArray_1,sortBy=sortBy_1,orderBy=orderBy_1,shuffle=shuffle_1,sample=sample_1,slice=slice_1,filter$1=filter_1,findKey$1=findKey_1,includes=includes_1,find=find_1,findLast=findLast_1,reduce=reduce_1,copyWithin=copyWithin_1,chunk=chunk_1,zip=zip_1,unzip=unzip_1,zipObject=zipObject_1,flatten=flatten_1,pluck=pluck_1,invoke=invoke_1,toArrayTree=toArrayTree_1,toTreeArray=toTreeArray_1,findTree=findTree_1,eachTree=eachTree_1,mapTree=mapTree_1,filterTree=filterTree_1,searchTree=searchTree_1,arrayIndexOf=arrayIndexOf_1,arrayLastIndexOf=arrayLastIndexOf_1,hasOwnProp=hasOwnProp_1,isArray$3=isArray_1,isNull=isNull_1,isNumberNaN=_isNaN,isUndefined$1=isUndefined_1,isFunction$2=isFunction_1,isObject$2=isObject_1,isString$2=isString_1,isPlainObject$3=isPlainObject_1,isLeapYear=isLeapYear_1,isDate$2=isDate_1,eqNull=eqNull_1,each=each_1,forOf=forOf_1,lastForOf=lastForOf_1,indexOf=indexOf_1,lastIndexOf=lastIndexOf_1,keys=keys_1,values=values_1,clone=clone_1,getSize=getSize_1,lastEach=lastEach_1,remove=remove_1,clear$1=clear_1,isNumberFinite=_isFinite,isFloat=isFloat_1,isInteger=isInteger_1,isBoolean$2=isBoolean_1,isNumber$2=isNumber_1,isRegExp$2=isRegExp_1,isError=isError_1,isTypeError=isTypeError_1,isEmpty=isEmpty_1,isSymbol=isSymbol_1,isArguments=isArguments_1,isElement=isElement_1,isDocument=isDocument_1,isWindow=isWindow_1,isFormData$1=isFormData_1,isMap=isMap_1,isWeakMap=isWeakMap_1,isSet=isSet_1,isWeakSet=isWeakSet_1,isMatch=isMatch_1,isEqual=isEqual_1,isEqualWith=isEqualWith_1,getType=getType_1,uniqueId=uniqueId_1,findIndexOf=findIndexOf_1,findLastIndexOf=findLastIndexOf_1,toStringJSON=toStringJSON_1,toJSONString=toJSONString_1,entries=entries_1,pick=pick_1,omit=omit_1,first=first_1,last=last_1,has=has_1,get=get_1,set=set_1,groupBy=groupBy_1,countBy=countBy_1,range=range_1,destructuring=destructuring_1,random=random_1,max=max_1,min=min_1,commafy=commafy_1,round=round_1,ceil=ceil_1,floor=floor_1,toFixed=toFixed_1,toInteger=toInteger_1,toNumber=toNumber_1,toNumberString=toNumberString_1,add=add_1,subtract=subtract_1,multiply=multiply_1,divide=divide_1,sum=sum_1,mean=mean_1,getWhatYear=getWhatYear_1,getWhatQuarter=getWhatQuarter_1,getWhatMonth=getWhatMonth_1,getWhatDay=getWhatDay_1,toStringDate=toStringDate_1,toDateString=toDateString_1,now=now_1,timestamp=timestamp_1,isValidDate=isValidDate_1,isDateSame=isDateSame_1,getWhatWeek=getWhatWeek_1,getYearDay=getYearDay_1,getYearWeek=getYearWeek_1,getMonthWeek=getMonthWeek_1,getDayOfYear=getDayOfYear_1,getDayOfMonth=getDayOfMonth_1,getDateDiff=getDateDiff_1,padEnd=padEnd_1,padStart=padStart_1,repeat=repeat_1,trim$1=trim_1,trimRight=trimRight_1,trimLeft=trimLeft_1,escape=_escape,unescape$1=_unescape,camelCase=camelCase_1,kebabCase=kebabCase_1,startsWith=startsWith_1,endsWith$1=endsWith_1,template=template_1,toFormatString=toFormatString_1,toValueString=toValueString_1,noop$3=noop_1,property=property_1,bind$1=bind_1,once=once_1,after=after_1,before=before_1,throttle=throttle_1,debounce=debounce_1,delay=delay_1,unserialize=unserialize_1,serialize=serialize_1,parseUrl=parseUrl_1,getBaseURL=getBaseURL_1,locat=locat_1,cookie=cookie_1,browse$1=browse_1;assign$3(XEUtils,{assign:assign$3,objectEach,lastObjectEach,objectMap,merge:merge$1,uniq,union,sortBy,orderBy,shuffle,sample,some,every,slice,filter:filter$1,find,findLast,findKey:findKey$1,includes,arrayIndexOf,arrayLastIndexOf,map,reduce,copyWithin,chunk,zip,unzip,zipObject,flatten,toArray:toArray$1,includeArrays,pluck,invoke,arrayEach,lastArrayEach,toArrayTree,toTreeArray,findTree,eachTree,mapTree,filterTree,searchTree,hasOwnProp,eqNull,isNaN:isNumberNaN,isFinite:isNumberFinite,isUndefined:isUndefined$1,isArray:isArray$3,isFloat,isInteger,isFunction:isFunction$2,isBoolean:isBoolean$2,isString:isString$2,isNumber:isNumber$2,isRegExp:isRegExp$2,isObject:isObject$2,isPlainObject:isPlainObject$3,isDate:isDate$2,isError,isTypeError,isEmpty,isNull,isSymbol,isArguments,isElement,isDocument,isWindow,isFormData:isFormData$1,isMap,isWeakMap,isSet,isWeakSet,isLeapYear,isMatch,isEqual,isEqualWith,getType,uniqueId,getSize,indexOf,lastIndexOf,findIndexOf,findLastIndexOf,toStringJSON,toJSONString,keys,values,entries,pick,omit,first,last,each,forOf,lastForOf,lastEach,has,get,set,groupBy,countBy,clone,clear:clear$1,remove,range,destructuring,random,min,max,commafy,round,ceil,floor,toFixed,toNumber,toNumberString,toInteger,add,subtract,multiply,divide,sum,mean,now,timestamp,isValidDate,isDateSame,toStringDate,toDateString,getWhatYear,getWhatQuarter,getWhatMonth,getWhatWeek,getWhatDay,getYearDay,getYearWeek,getMonthWeek,getDayOfYear,getDayOfMonth,getDateDiff,trim:trim$1,trimLeft,trimRight,escape,unescape:unescape$1,camelCase,kebabCase,repeat,padStart,padEnd,startsWith,endsWith:endsWith$1,template,toFormatString,toString:toValueString,toValueString,noop:noop$3,property,bind:bind$1,once,after,before,throttle,debounce,delay,unserialize,serialize,parseUrl,getBaseURL,locat,browse:browse$1,cookie});var xeUtils=XEUtils,iconPrefix="vxe-icon-",GlobalConfig={size:null,zIndex:999,version:0,emptyCell:" ",table:{fit:!0,showHeader:!0,animat:!0,delayHover:250,autoResize:!0,resizeConfig:{refreshDelay:250},radioConfig:{strict:!0},checkboxConfig:{strict:!0},tooltipConfig:{enterable:!0},validConfig:{showMessage:!0,message:"default"},sortConfig:{showIcon:!0},filterConfig:{showIcon:!0},treeConfig:{rowField:"id",parentField:"parentId",children:"children",hasChild:"hasChild",mapChildren:"_X_ROW_CHILD",indent:20,showIcon:!0},expandConfig:{showIcon:!0},editConfig:{showIcon:!0,showAsterisk:!0},importConfig:{modes:["insert","covering"]},exportConfig:{modes:["current","selected"]},printConfig:{modes:["current","selected"]},mouseConfig:{extension:!0},keyboardConfig:{isEsc:!0},areaConfig:{selectCellByHeader:!0},clipConfig:{isCopy:!0,isCut:!0,isPaste:!0},fnrConfig:{isFind:!0,isReplace:!0},scrollX:{enabled:!0,gt:60},scrollY:{enabled:!0,gt:100}},export:{types:{}},icon:{LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",TABLE_SORT_ASC:iconPrefix+"caret-up",TABLE_SORT_DESC:iconPrefix+"caret-down",TABLE_FILTER_NONE:iconPrefix+"funnel",TABLE_FILTER_MATCH:iconPrefix+"funnel",TABLE_EDIT:iconPrefix+"edit",TABLE_HELP:iconPrefix+"question-circle-fill",TABLE_TREE_LOADED:iconPrefix+"spinner roll",TABLE_TREE_OPEN:iconPrefix+"caret-right rotate90",TABLE_TREE_CLOSE:iconPrefix+"caret-right",TABLE_EXPAND_LOADED:iconPrefix+"spinner roll",TABLE_EXPAND_OPEN:iconPrefix+"arrow-right rotate90",TABLE_EXPAND_CLOSE:iconPrefix+"arrow-right",TABLE_CHECKBOX_CHECKED:iconPrefix+"checkbox-checked",TABLE_CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",TABLE_CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate",TABLE_RADIO_CHECKED:iconPrefix+"radio-checked",TABLE_RADIO_UNCHECKED:iconPrefix+"radio-unchecked",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_PWD:iconPrefix+"eye-fill",INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",INPUT_PREV_NUM:iconPrefix+"caret-up",INPUT_NEXT_NUM:iconPrefix+"caret-down",INPUT_DATE:iconPrefix+"calendar",INPUT_SEARCH:iconPrefix+"search",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warnion-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",TOOLBAR_TOOLS_REFRESH:iconPrefix+"repeat",TOOLBAR_TOOLS_REFRESH_LOADING:iconPrefix+"repeat roll",TOOLBAR_TOOLS_IMPORT:iconPrefix+"upload",TOOLBAR_TOOLS_EXPORT:iconPrefix+"download",TOOLBAR_TOOLS_PRINT:iconPrefix+"print",TOOLBAR_TOOLS_FULLSCREEN:iconPrefix+"fullscreen",TOOLBAR_TOOLS_MINIMIZE:iconPrefix+"minimize",TOOLBAR_TOOLS_CUSTOM:iconPrefix+"custom-column",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up"},grid:{formConfig:{enabled:!0},pagerConfig:{enabled:!0},toolbarConfig:{enabled:!0},proxyConfig:{enabled:!0,autoLoad:!0,message:!0,props:{list:null,result:"result",total:"page.total",message:"message"}}},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300},pager:{},form:{validConfig:{showMessage:!0,autoPos:!0},tooltipConfig:{enterable:!0},titleAsterisk:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},textarea:{},select:{multiCharOverflow:8},toolbar:{},button:{},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},checkbox:{},switch:{},modal:{top:15,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,draggable:!0,storageKey:"VXE_MODAL_POSITION"},list:{scrollY:{enabled:!0,gt:100}},i18n:function($){return $}};function getLog($,j){return"[vxe-table v".concat("4.3.11","] ").concat(GlobalConfig.i18n($,j))}function outLog($){return function(j,oe){var ae=getLog(j,oe);return console[$](ae),ae}}var warnLog=outLog("warn"),errLog=outLog("error"),storeMap={},interceptor={mixin:function($){return xeUtils.each($,function(j,oe){return interceptor.add(oe,j)}),interceptor},get:function($){return storeMap[$]||[]},add:function($,j){if(j){var oe=storeMap[$];oe||(oe=storeMap[$]=[]),oe.push(j)}return interceptor},delete:function($,j){var oe=storeMap[$];oe&&(j?xeUtils.remove(oe,function(ae){return ae===j}):delete storeMap[$])}},zindexIndex=0,lastZindex=1;function isEnableConf($){return $&&$.enabled!==!1}function isEmptyValue($){return $==null||$===""}function parseFile($){var j=$.name,oe=xeUtils.lastIndexOf(j,"."),ae=j.substring(oe+1,j.length).toLowerCase(),ie=j.substring(0,oe);return{filename:ie,type:ae}}function nextZIndex(){return lastZindex=GlobalConfig.zIndex+zindexIndex++,lastZindex}function getLastZIndex(){return lastZindex}function hasChildrenList($){return $&&$.children&&$.children.length>0}function getFuncText($){return $?xeUtils.toValueString(GlobalConfig.translate?GlobalConfig.translate(""+$):$):""}function formatText($,j){return""+(isEmptyValue($)?j?GlobalConfig.emptyCell:"":$)}function eqEmptyValue($){return $===""||xeUtils.eqNull($)}var ColumnInfo=function(){function $(j,oe,ae){var ie=ae===void 0?{}:ae,le=ie.renderHeader,de=ie.renderCell,ue=ie.renderFooter,pe=ie.renderData,he=j.xegrid,_e=oe.formatter,xe=xeUtils.isBoolean(oe.visible)?oe.visible:!0;if(Object.assign(this,{type:oe.type,property:oe.field,field:oe.field,title:oe.title,width:oe.width,minWidth:oe.minWidth,maxWidth:oe.maxWidth,resizable:oe.resizable,fixed:oe.fixed,align:oe.align,headerAlign:oe.headerAlign,footerAlign:oe.footerAlign,showOverflow:oe.showOverflow,showHeaderOverflow:oe.showHeaderOverflow,showFooterOverflow:oe.showFooterOverflow,className:oe.className,headerClassName:oe.headerClassName,footerClassName:oe.footerClassName,formatter:_e,sortable:oe.sortable,sortBy:oe.sortBy,sortType:oe.sortType,filters:toFilters(oe.filters),filterMultiple:xeUtils.isBoolean(oe.filterMultiple)?oe.filterMultiple:!0,filterMethod:oe.filterMethod,filterResetMethod:oe.filterResetMethod,filterRecoverMethod:oe.filterRecoverMethod,filterRender:oe.filterRender,treeNode:oe.treeNode,cellType:oe.cellType,cellRender:oe.cellRender,editRender:oe.editRender,contentRender:oe.contentRender,exportMethod:oe.exportMethod,footerExportMethod:oe.footerExportMethod,titleHelp:oe.titleHelp,titlePrefix:oe.titlePrefix,params:oe.params,id:oe.colId||xeUtils.uniqueId("col_"),parentId:null,visible:xe,halfVisible:!1,defaultVisible:xe,checked:!1,halfChecked:!1,disabled:!1,level:1,rowSpan:1,colSpan:1,order:null,sortTime:0,renderWidth:0,renderHeight:0,resizeWidth:0,renderLeft:0,renderArgs:[],model:{},renderHeader:le||oe.renderHeader,renderCell:de||oe.renderCell,renderFooter:ue||oe.renderFooter,renderData:pe,slots:oe.slots}),he){var Ce=he.getComputeMaps().computeProxyOpts,Ie=Ce.value;Ie.beforeColumn&&Ie.beforeColumn({$grid:he,column:this})}}return $.prototype.getTitle=function(){return getFuncText(this.title||(this.type==="seq"?GlobalConfig.i18n("vxe.table.seqTitle"):""))},$.prototype.getKey=function(){return this.field||(this.type?"type=".concat(this.type):null)},$.prototype.update=function(j,oe){j!=="filters"&&(j==="field"&&(this.property=oe),this[j]=oe)},$}(),reClsMap={},browse=xeUtils.browse();function getPropClass($,j){return $?xeUtils.isFunction($)?$(j):$:""}function getClsRE($){return reClsMap[$]||(reClsMap[$]=new RegExp("(?:^|\\s)".concat($,"(?!\\S)"),"g")),reClsMap[$]}function getNodeOffset($,j,oe){if($){var ae=$.parentNode;if(oe.top+=$.offsetTop,oe.left+=$.offsetLeft,ae&&ae!==document.documentElement&&ae!==document.body&&(oe.top-=ae.scrollTop,oe.left-=ae.scrollLeft),!(j&&($===j||$.offsetParent===j))&&$.offsetParent)return getNodeOffset($.offsetParent,j,oe)}return oe}function isPx($){return $&&/^\d+(px)?$/.test($)}function isScale($){return $&&/^\d+%$/.test($)}function hasClass($,j){return $&&$.className&&$.className.match&&$.className.match(getClsRE(j))}function removeClass($,j){$&&hasClass($,j)&&($.className=$.className.replace(getClsRE(j),""))}function addClass($,j){$&&!hasClass($,j)&&(removeClass($,j),$.className="".concat($.className," ").concat(j))}function getDomNode(){var $=document.documentElement,j=document.body;return{scrollTop:$.scrollTop||j.scrollTop,scrollLeft:$.scrollLeft||j.scrollLeft,visibleHeight:$.clientHeight||j.clientHeight,visibleWidth:$.clientWidth||j.clientWidth}}function getOffsetHeight($){return $?$.offsetHeight:0}function getPaddingTopBottomSize($){if($){var j=getComputedStyle($),oe=xeUtils.toNumber(j.paddingTop),ae=xeUtils.toNumber(j.paddingBottom);return oe+ae}return 0}function setScrollTop($,j){$&&($.scrollTop=j)}function setScrollLeft($,j){$&&($.scrollLeft=j)}function updateCellTitle($,j){var oe=j.type==="html"?$.innerText:$.textContent;$.getAttribute("title")!==oe&&$.setAttribute("title",oe)}function getEventTargetNode($,j,oe,ae){for(var ie,le=$.target;le&&le.nodeType&&le!==document;){if(oe&&hasClass(le,oe)&&(!ae||ae(le)))ie=le;else if(le===j)return{flag:oe?!!ie:!0,container:j,targetElem:ie};le=le.parentNode}return{flag:!1}}function getOffsetPos($,j){return getNodeOffset($,j,{left:0,top:0})}function getAbsolutePos($){var j=$.getBoundingClientRect(),oe=j.top,ae=j.left,ie=getDomNode(),le=ie.scrollTop,de=ie.scrollLeft,ue=ie.visibleHeight,pe=ie.visibleWidth;return{boundingTop:oe,top:le+oe,boundingLeft:ae,left:de+ae,visibleHeight:ue,visibleWidth:pe}}var scrollIntoViewIfNeeded="scrollIntoViewIfNeeded",scrollIntoView="scrollIntoView";function scrollToView($){$&&($[scrollIntoViewIfNeeded]?$[scrollIntoViewIfNeeded]():$[scrollIntoView]&&$[scrollIntoView]())}function triggerEvent$1($,j){$&&$.dispatchEvent(new Event(j))}function isNodeElement($){return $&&$.nodeType===1}function restoreScrollLocation($,j,oe){var ae=$.internalData;return $.clearScroll().then(function(){if(j||oe)return ae.lastScrollLeft=0,ae.lastScrollTop=0,$.scrollTo(j,oe)})}function removeScrollListener($){$&&$._onscroll&&($.onscroll=null)}function restoreScrollListener($){$&&$._onscroll&&($.onscroll=$._onscroll)}function getRowUniqueId(){return xeUtils.uniqueId("row_")}function getRowkey($){var j=$.props,oe=$.getComputeMaps().computeRowOpts,ae=j.rowId,ie=oe.value;return ae||ie.keyField||"_X_ROW_KEY"}function getRowid($,j){var oe=xeUtils.get(j,getRowkey($));return xeUtils.eqNull(oe)?"":encodeURIComponent(oe)}var handleFieldOrColumn=function($,j){return j?xeUtils.isString(j)?$.getColumnByField(j):j:null};function getPaddingLeftRightSize($){if($){var j=getComputedStyle($),oe=xeUtils.toNumber(j.paddingLeft),ae=xeUtils.toNumber(j.paddingRight);return oe+ae}return 0}function getElemenMarginWidth($){if($){var j=getComputedStyle($),oe=xeUtils.toNumber(j.marginLeft),ae=xeUtils.toNumber(j.marginRight);return $.offsetWidth+oe+ae}return 0}function queryCellElement($,j){return $.querySelector(".vxe-cell"+j)}function toFilters($){return $&&xeUtils.isArray($)?$.map(function(j){var oe=j.label,ae=j.value,ie=j.data,le=j.resetValue,de=j.checked;return{label:oe,value:ae,data:ie,resetValue:le,checked:!!de,_checked:!!de}}):$}function toTreePathSeq($){return $.map(function(j,oe){return oe%2===0?Number(j)+1:"."}).join("")}function getCellValue($,j){return xeUtils.get($,j.field)}function setCellValue($,j,oe){return xeUtils.set($,j.field,oe)}function getColReMinWidth($){var j=$.$table,oe=$.column,ae=$.cell,ie=j.props,le=j.getComputeMaps().computeResizableOpts,de=le.value,ue=de.minWidth;if(ue){var pe=xeUtils.isFunction(ue)?ue($):ue;if(pe!=="auto")return Math.max(1,xeUtils.toNumber(pe))}var he=ie.showHeaderOverflow,_e=oe.showHeaderOverflow,xe=oe.minWidth,Ce=xeUtils.isUndefined(_e)||xeUtils.isNull(_e)?he:_e,Ie=Ce==="ellipsis",$e=Ce==="title",Ne=Ce===!0||Ce==="tooltip",Ve=$e||Ne||Ie,Oe=xeUtils.floor((xeUtils.toNumber(getComputedStyle(ae).fontSize)||14)*1.6),Fe=getPaddingLeftRightSize(ae)+getPaddingLeftRightSize(queryCellElement(ae,"")),ze=Oe+Fe;if(Ve){var Ue=getPaddingLeftRightSize(queryCellElement(ae,"--title>.vxe-cell--checkbox")),qe=getElemenMarginWidth(queryCellElement(ae,">.vxe-cell--required-icon")),hn=getElemenMarginWidth(queryCellElement(ae,">.vxe-cell--edit-icon")),vn=getElemenMarginWidth(queryCellElement(ae,">.vxe-cell-help-icon")),bn=getElemenMarginWidth(queryCellElement(ae,">.vxe-cell--sort")),_n=getElemenMarginWidth(queryCellElement(ae,">.vxe-cell--filter"));ze+=Ue+qe+hn+vn+_n+bn}if(xe){var kn=j.getRefMaps().refTableBody,xn=kn.value,$n=xn?xn.$el:null;if($n){if(isScale(xe)){var Cn=$n.clientWidth-1,En=Cn/100;return Math.max(ze,Math.floor(xeUtils.toInteger(xe)*En))}else if(isPx(xe))return Math.max(ze,xeUtils.toInteger(xe))}}return ze}function isColumnInfo($){return $&&($.constructor===ColumnInfo||$ instanceof ColumnInfo)}function createColumn($,j,oe){return isColumnInfo(j)?j:reactive(new ColumnInfo($,j,oe))}function watchColumn($,j){Object.keys($).forEach(function(oe){watch(function(){return $[oe]},function(ae){j.update(oe,ae)})})}function assemColumn($,j,oe,ae){var ie=$.reactData,le=ie.staticColumns,de=j.parentNode,ue=ae?ae.column:null,pe=ue?ue.children:le;de&&pe&&(pe.splice(xeUtils.arrayIndexOf(de.children,j),0,oe),ie.staticColumns=le.slice(0))}function destroyColumn($,j){var oe=$.reactData,ae=oe.staticColumns,ie=xeUtils.findTree(ae,function(le){return le.id===j.id},{children:"children"});ie&&ie.items.splice(ie.index,1),oe.staticColumns=ae.slice(0)}function mergeBodyMethod($,j,oe){for(var ae=0;ae<$.length;ae++){var ie=$[ae],le=ie.row,de=ie.col,ue=ie.rowspan,pe=ie.colspan;if(de>-1&&le>-1&&ue&&pe){if(le===j&&de===oe)return{rowspan:ue,colspan:pe};if(j>=le&&j=de&&oeCe+xe)return $.scrollTo(null,$e);if($e+Ne>=xe+Ce)return $.scrollTo(null,Ce+Ne)}else if(le)return $.scrollTo(null,(de.indexOf(j)-1)*ue.rowHeight)}return Promise.resolve()}function colToVisible($,j){var oe=$.reactData,ae=$.internalData,ie=$.getRefMaps().refTableBody,le=oe.scrollXLoad,de=ae.visibleColumn,ue=ie.value,pe=ue?ue.$el:null;if(pe){var he=pe.querySelector(".".concat(j.id));if(he){var _e=pe.clientWidth,xe=pe.scrollLeft,Ce=he.offsetParent,Ie=he.offsetLeft+(Ce?Ce.offsetLeft:0),$e=he.clientWidth;if(Iexe+_e)return $.scrollTo(Ie);if(Ie+$e>=_e+xe)return $.scrollTo(xe+$e)}else if(le){for(var Ne=0,Ve=0;Ve=vn.clientHeight&&(In=Math.max(60,vn.clientHeight-(Cn?Cn.offsetHeight:0)-($n?$n.offsetHeight:0))),_e.fixed==="left"?wn=$e.offsetLeft+$e.offsetParent.offsetLeft-En:_e.fixed==="right"?On=$e.offsetParent.offsetWidth-$e.offsetLeft+($e.offsetParent.offsetParent.offsetWidth-$e.offsetParent.offsetLeft)-_e.renderWidth-En:wn=$e.offsetLeft+$e.offsetParent.offsetLeft-En-vn.scrollLeft,wn){var Bn=Ne+kn-En+Nn-Ve;Bn>0&&(wn-=Bn),Tn.left="".concat(Math.min(Sn,Math.max(Nn,wn)),"px")}else if(On){var Bn=Ne+kn-En+Nn-Ve;Bn>0&&(On+=Bn),Tn.right="".concat(Math.max(Nn,On),"px")}Ie.style=Tn,Ie.maxHeight=In})}$.dispatchEvent("filter-visible",{column:_e,field:_e.field,property:_e.field,filterList:$.getCheckedFilters(),visible:Ie.visible},he)},handleClearFilter:function(he){if(he){var _e=he.filters,xe=he.filterRender;if(_e){var Ce=xe?VXETable.renderer.get(xe.name):null,Ie=he.filterResetMethod||(Ce?Ce.filterResetMethod:null);_e.forEach(function($e){$e._checked=!1,$e.checked=!1,Ie||($e.data=xeUtils.clone($e.resetValue,!0))}),Ie&&Ie({options:_e,column:he,$table:$})}}},confirmFilterEvent:function(he){var _e=j.filterStore,xe=j.scrollXLoad,Ce=j.scrollYLoad,Ie=de.value,$e=_e.column,Ne=$e.field,Ve=[],Oe=[];$e.filters.forEach(function(ze){ze.checked&&(Ve.push(ze.value),Oe.push(ze.data))});var Fe=$.getCheckedFilters();Ie.remote||($.handleTableData(!0),$.checkSelectionStatus()),$.dispatchEvent("filter-change",{column:$e,field:Ne,property:Ne,values:Ve,datas:Oe,filters:Fe,filterList:Fe},he),$.closeFilter(),$.updateFooter().then(function(){var ze=j.scrollXLoad,Ue=j.scrollYLoad;if(xe||ze||Ce||Ue)return(xe||ze)&&$.updateScrollXSpace(),(Ce||Ue)&&$.updateScrollYSpace(),$.refreshScroll()}).then(function(){return $.updateCellAreas(),$.recalculate(!0)}).then(function(){setTimeout(function(){return $.recalculate()},50)})}},pe={openFilter:function(he){var _e=handleFieldOrColumn($,he);if(_e&&_e.filters){var xe=oe.elemStore,Ce=_e.fixed;return $.scrollToColumn(_e).then(function(){var Ie=xe["".concat(Ce||"main","-header-wrapper")]||xe["main-header-wrapper"],$e=Ie?Ie.value:null;if($e){var Ne=$e.querySelector(".vxe-header--column.".concat(_e.id," .vxe-filter--btn"));triggerEvent$1(Ne,"click")}})}return nextTick()},setFilter:function(he,_e){var xe=handleFieldOrColumn($,he);return xe&&xe.filters&&_e&&(xe.filters=toFilters(_e)),nextTick()},clearFilter:function(he){var _e=j.filterStore,xe=oe.tableFullColumn,Ce=de.value,Ie;return he?(Ie=handleFieldOrColumn($,he),Ie&&ue.handleClearFilter(Ie)):xe.forEach(ue.handleClearFilter),(!he||Ie!==_e.column)&&Object.assign(_e,{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1}),Ce.remote?nextTick():$.updateData()},getCheckedFilters:function(){var he=oe.tableFullColumn,_e=[];return he.forEach(function(xe){var Ce=xe.field,Ie=xe.filters,$e=[],Ne=[];Ie&&Ie.length&&(Ie.forEach(function(Ve){Ve.checked&&($e.push(Ve.value),Ne.push(Ve.data))}),$e.length&&_e.push({column:xe,field:Ce,property:Ce,values:$e,datas:Ne}))}),_e}};return __assign$i(__assign$i({},pe),ue)},setupGrid:function($){return $.extendTableMethods(tableFilterMethodKeys)}},dynamicContainerElem,dynamicStore=reactive({modals:[]}),VxeDynamics=defineComponent({setup:function(){return function(){var $=dynamicStore.modals;return h$2("div",{class:"vxe-dynamics--modal"},$.map(function(j){return h$2(resolveComponent("vxe-modal"),j)}))}}}),dynamicApp=createApp(VxeDynamics);function checkDynamic(){dynamicContainerElem||(dynamicContainerElem=document.createElement("div"),dynamicContainerElem.className="vxe-dynamics",document.body.appendChild(dynamicContainerElem),dynamicApp.mount(dynamicContainerElem))}var VxeModuleFilter={Panel:PanelComponent$1,install:function($){VXETable.hooks.add("$tableFilter",tableFilterHook),$.component(PanelComponent$1.name,PanelComponent$1)}},Filter=VxeModuleFilter;dynamicApp.component(PanelComponent$1.name,PanelComponent$1);const PanelComponent=defineComponent({name:"VxeTableContextMenu",setup:function($,j){var oe=xeUtils.uniqueId(),ae=inject("$xetable",{}),ie=ae.reactData,le=ref(),de={refElem:le},ue={xID:oe,props:$,context:j,getRefMaps:function(){return de}},pe=function(){var he=ie.ctxMenuStore,_e=ae.getComputeMaps().computeMenuOpts,xe=_e.value;return h$2(Teleport,{to:"body",disabled:!1},[h$2("div",{ref:le,class:["vxe-table--context-menu-wrapper",xe.className,{"is--visible":he.visible}],style:he.style},he.list.map(function(Ce,Ie){return Ce.every(function($e){return $e.visible===!1})?createCommentVNode():h$2("ul",{class:"vxe-context-menu--option-wrapper",key:Ie},Ce.map(function($e,Ne){var Ve=$e.children&&$e.children.some(function(Oe){return Oe.visible!==!1});return $e.visible===!1?null:h$2("li",{class:[$e.className,{"link--disabled":$e.disabled,"link--active":$e===he.selected}],key:"".concat(Ie,"_").concat(Ne)},[h$2("a",{class:"vxe-context-menu--link",onClick:function(Oe){ae.ctxMenuLinkEvent(Oe,$e)},onMouseover:function(Oe){ae.ctxMenuMouseoverEvent(Oe,$e)},onMouseout:function(Oe){ae.ctxMenuMouseoutEvent(Oe,$e)}},[h$2("i",{class:["vxe-context-menu--link-prefix",$e.prefixIcon]}),h$2("span",{class:"vxe-context-menu--link-content"},getFuncText($e.name)),h$2("i",{class:["vxe-context-menu--link-suffix",Ve?$e.suffixIcon||"suffix--haschild":$e.suffixIcon]})]),Ve?h$2("ul",{class:["vxe-table--context-menu-clild-wrapper",{"is--show":$e===he.selected&&he.showChild}]},$e.children.map(function(Oe,Fe){return Oe.visible===!1?null:h$2("li",{class:[Oe.className,{"link--disabled":Oe.disabled,"link--active":Oe===he.selectChild}],key:"".concat(Ie,"_").concat(Ne,"_").concat(Fe)},[h$2("a",{class:"vxe-context-menu--link",onClick:function(ze){ae.ctxMenuLinkEvent(ze,Oe)},onMouseover:function(ze){ae.ctxMenuMouseoverEvent(ze,$e,Oe)},onMouseout:function(ze){ae.ctxMenuMouseoutEvent(ze,$e)}},[h$2("i",{class:["vxe-context-menu--link-prefix",Oe.prefixIcon]}),h$2("span",{class:"vxe-context-menu--link-content"},getFuncText(Oe.name))])])})):null])}))}))])};return ue.renderVN=pe,ue},render:function(){return this.renderVN()}});var EVENT_KEYS={F2:"F2",ESCAPE:"Escape",ENTER:"Enter",TAB:"Tab",DELETE:"Delete",BACKSPACE:"Backspace",SPACEBAR:" ",CONTEXT_MENU:"ContextMenu",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown"},convertEventKeys={" ":"Spacebar",Apps:EVENT_KEYS.CONTEXT_MENU,Del:EVENT_KEYS.DELETE,Up:EVENT_KEYS.ARROW_UP,Down:EVENT_KEYS.ARROW_DOWN,Left:EVENT_KEYS.ARROW_LEFT,Right:EVENT_KEYS.ARROW_RIGHT},wheelName=browse.firefox?"DOMMouseScroll":"mousewheel",eventStore$1=[],hasEventKey=function($,j){var oe=$.key;return j=j.toLowerCase(),oe?j===oe.toLowerCase()||!!(convertEventKeys[oe]&&convertEventKeys[oe].toLowerCase()===j):!1};function triggerEvent($){var j=$.type===wheelName;eventStore$1.forEach(function(oe){var ae=oe.type,ie=oe.cb;$.cancelBubble||(ae===$.type||j&&ae==="mousewheel")&&ie($)})}var GlobalEvent={on:function($,j,oe){eventStore$1.push({comp:$,type:j,cb:oe})},off:function($,j){xeUtils.remove(eventStore$1,function(oe){return oe.comp===$&&oe.type===j})},trigger:triggerEvent,eqKeypad:function($,j){var oe=$.key;return j.toLowerCase()===oe.toLowerCase()}};browse.isDoc&&(browse.msie||(document.addEventListener("copy",triggerEvent,!1),document.addEventListener("cut",triggerEvent,!1),document.addEventListener("paste",triggerEvent,!1)),document.addEventListener("keydown",triggerEvent,!1),document.addEventListener("contextmenu",triggerEvent,!1),window.addEventListener("mousedown",triggerEvent,!1),window.addEventListener("blur",triggerEvent,!1),window.addEventListener("resize",triggerEvent,!1),window.addEventListener(wheelName,xeUtils.throttle(triggerEvent,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1}));var __assign$h=globalThis&&globalThis.__assign||function(){return __assign$h=Object.assign||function($){for(var j,oe=1,ae=arguments.length;oe-10&&(ze.style.top="".concat(Math.max(xn+2,Nn-Xn-2),"px")),eo>-10&&(ze.style.left="".concat(Math.max($n+2,Sn-Zn-2),"px"))})},On=Fe.keyboard,Tn=Fe.row,In=Fe.column;On&&Tn&&In?$.scrollToRow(Tn,In).then(function(){var Bn=$.getCell(Tn,In);if(Bn){var Dn=getAbsolutePos(Bn),Xn=Dn.boundingTop,Zn=Dn.boundingLeft;Nn=Xn+xn+Math.floor(Bn.offsetHeight/2),Sn=Zn+$n+Math.floor(Bn.offsetWidth/2)}wn()}):wn()}else Ie.closeMenu()}))}$.closeFilter()};return Ie={closeMenu:function(){return Object.assign(ae.ctxMenuStore,{visible:!1,selected:null,selectChild:null,showChild:!1}),nextTick()}},$e={moveCtxMenu:function(Ve,Oe,Fe,ze,Ue,qe){var hn,vn=xeUtils.findIndexOf(qe,function(kn){return Oe[Fe]===kn});if(ze)Ue&&hasChildrenList(Oe.selected)?Oe.showChild=!0:(Oe.showChild=!1,Oe.selectChild=null);else if(hasEventKey(Ve,EVENT_KEYS.ARROW_UP)){for(var bn=vn-1;bn>=0;bn--)if(qe[bn].visible!==!1){hn=qe[bn];break}Oe[Fe]=hn||qe[qe.length-1]}else if(hasEventKey(Ve,EVENT_KEYS.ARROW_DOWN)){for(var _n=vn+1;_nkn-10&&(Cn="auto",En="".concat(ze.offsetWidth,"px"));var Nn="",Sn="";xn+qe.offsetHeight>_n-10&&(Nn="auto",Sn="0"),qe.style.left=Cn,qe.style.right=En,qe.style.top=Nn,qe.style.bottom=Sn}}))},ctxMenuMouseoutEvent:function(Ve,Oe){var Fe=ae.ctxMenuStore;Oe.children||(Fe.selected=null),Fe.selectChild=null},ctxMenuLinkEvent:function(Ve,Oe){if(!Oe.disabled&&(Oe.code||!Oe.children||!Oe.children.length)){var Fe=VXETable.menus.get(Oe.code),ze=Object.assign({},ie._currMenuParams,{menu:Oe,$table:$,$grid:$.xegrid,$event:Ve});Fe&&Fe(ze,Ve),$.dispatchEvent("menu-click",ze,Ve),Ie.closeMenu()}}},__assign$h(__assign$h({},Ie),$e)},setupGrid:function($){return $.extendTableMethods(tableMenuMethodKeys)}},VxeModuleMenu={Panel:PanelComponent,install:function($){VXETable.hooks.add("$tableMenu",tableMenuHook),$.component(PanelComponent.name,PanelComponent)}},Menu=VxeModuleMenu;dynamicApp.component(PanelComponent.name,PanelComponent);var __assign$g=globalThis&&globalThis.__assign||function(){return __assign$g=Object.assign||function($){for(var j,oe=1,ae=arguments.length;oe0&&(Xn.row=Zn+Sn.length)}));else if(Fe===-1)Ue&&Cn?Ve(Sn,!0):(bn.push.apply(bn,Sn),_n.push.apply(_n,Sn),qe.forEach(function(Xn){var Zn=Xn.row,Fn=Xn.rowspan;Zn+Fn>bn.length&&(Xn.rowspan=Fn+Sn.length)}));else if(Ue&&Cn){var wn=xeUtils.findTree(vn,function(Xn){return Fe[En]===Xn[En]},{children:Nn});if(wn){var On=wn.parent,Tn=wn.items,In=xn[getRowid($,On)],Bn=In?In.level:0;Sn.forEach(function(Xn,Zn){var Fn=getRowid($,Xn);On&&(Xn[$n.parentField]=On[En]),Tn.splice(wn.index+Zn,0,Xn);var Yn={row:Xn,rowid:Fn,seq:-1,index:-1,_index:-1,$index:-1,items:Tn,parent:On,level:Bn+1};kn[Fn]=Yn,xn[Fn]=Yn})}else Ve(Sn,!0)}else{if(Ue)throw new Error(getLog("vxe.error.noTree",["insert"]));var Dn=-1;if(xeUtils.isNumber(Fe)?FeDn?Xn.row=Zn+Sn.length:Zn+Fn>Dn&&(Xn.rowspan=Fn+Sn.length)})}return(ze=hn.insertList).unshift.apply(ze,Sn),$.updateFooter(),$.cacheRowMap(),$.handleTableData(Ue&&Cn),Ue&&Cn||$.updateAfterDataIndex(),$.checkSelectionStatus(),oe.scrollYLoad&&$.updateScrollYSpace(),nextTick().then(function(){return $.updateCellAreas(),$.recalculate()}).then(function(){return{row:Sn.length?Sn[Sn.length-1]:null,rows:Sn}})},remove:function(Oe){var Fe=j.treeConfig,ze=oe.mergeList,Ue=oe.editStore,qe=oe.selection,hn=ae.tableFullTreeData,vn=ae.afterFullData,bn=ae.tableFullData,_n=pe.value,kn=he.value,xn=kn.transform,$n=Ue.actived,Cn=Ue.removeList,En=Ue.insertList,Nn=_n.checkField,Sn=[];return Oe?xeUtils.isArray(Oe)||(Oe=[Oe]):Oe=bn,Oe.forEach(function(wn){$.isInsertByRow(wn)||Cn.push(wn)}),Nn||Oe.forEach(function(wn){var On=$.findRowIndexOf(qe,wn);On>-1&&qe.splice(On,1)}),bn===Oe?(Oe=Sn=bn.slice(0),ae.tableFullData=[],ae.afterFullData=[],$.clearMergeCells()):Fe&&xn?Oe.forEach(function(wn){var On=getRowid($,wn),Tn=xeUtils.findTree(hn,function(Dn){return On===getRowid($,Dn)},kn);if(Tn){var In=Tn.items.splice(Tn.index,1);Sn.push(In[0])}var Bn=$.findRowIndexOf(vn,wn);Bn>-1&&vn.splice(Bn,1)}):Oe.forEach(function(wn){var On=$.findRowIndexOf(bn,wn);if(On>-1){var Tn=bn.splice(On,1);Sn.push(Tn[0])}var In=$.findRowIndexOf(vn,wn);In>-1&&(ze.forEach(function(Bn){var Dn=Bn.row,Xn=Bn.rowspan;Dn>In?Bn.row=Dn-1:Dn+Xn>In&&(Bn.rowspan=Xn-1)}),vn.splice(In,1))}),$n.row&&$.findRowIndexOf(Oe,$n.row)>-1&&_e.clearEdit(),Oe.forEach(function(wn){var On=$.findRowIndexOf(En,wn);On>-1&&En.splice(On,1)}),$.updateFooter(),$.cacheRowMap(),$.handleTableData(Fe&&xn),Fe&&xn||$.updateAfterDataIndex(),$.checkSelectionStatus(),oe.scrollYLoad&&$.updateScrollYSpace(),nextTick().then(function(){return $.updateCellAreas(),$.recalculate()}).then(function(){return{row:Sn.length?Sn[Sn.length-1]:null,rows:Sn}})},removeCheckboxRow:function(){return _e.remove($.getCheckboxRecords()).then(function(Oe){return $.clearCheckboxRow(),Oe})},removeRadioRow:function(){var Oe=$.getRadioRecord();return _e.remove(Oe||[]).then(function(Fe){return $.clearRadioRow(),Fe})},removeCurrentRow:function(){var Oe=$.getCurrentRecord();return _e.remove(Oe||[]).then(function(Fe){return $.clearCurrentRow(),Fe})},getRecordset:function(){return{insertRecords:_e.getInsertRecords(),removeRecords:_e.getRemoveRecords(),updateRecords:_e.getUpdateRecords()}},getInsertRecords:function(){var Oe=j.treeConfig,Fe=oe.editStore,ze=ae.tableFullTreeData,Ue=ae.tableFullData,qe=he.value,hn=Fe.insertList,vn=[];return hn.length&&(Oe&&qe.transform?hn.forEach(function(bn){var _n=getRowid($,bn),kn=xeUtils.findTree(ze,function(xn){return _n===getRowid($,xn)},qe);kn&&vn.push(bn)}):hn.forEach(function(bn){$.findRowIndexOf(Ue,bn)>-1&&vn.push(bn)})),vn},getRemoveRecords:function(){var Oe=oe.editStore;return Oe.removeList},getUpdateRecords:function(){var Oe=j.keepSource,Fe=j.treeConfig,ze=ae.tableFullData,Ue=he.value;return Oe?(Ne(),Fe?xeUtils.filterTree(ze,function(qe){return $.isUpdateByRow(qe)},Ue):ze.filter(function(qe){return $.isUpdateByRow(qe)})):[]},getActiveRecord:function(){return this.getEditRecord()},getEditRecord:function(){var Oe=oe.editStore,Fe=ae.afterFullData,ze=ie.value,Ue=Oe.actived,qe=Ue.args,hn=Ue.row;return qe&&$.findRowIndexOf(Fe,hn)>-1&&ze.querySelectorAll(".vxe-body--column.col--actived").length?Object.assign({},qe):null},getSelectedCell:function(){var Oe=oe.editStore,Fe=Oe.selected,ze=Fe.args,Ue=Fe.column;return ze&&Ue?Object.assign({},ze):null},clearActived:function(Oe){return this.clearEdit(Oe)},clearEdit:function(Oe){var Fe=oe.editStore,ze=Fe.actived,Ue=ze.row,qe=ze.column;return(Ue||qe)&&(Ne(),ze.args=null,ze.row=null,ze.column=null,$.updateFooter(),$.dispatchEvent("edit-closed",{row:Ue,rowIndex:$.getRowIndex(Ue),$rowIndex:$.getVMRowIndex(Ue),column:qe,columnIndex:$.getColumnIndex(qe),$columnIndex:$.getVMColumnIndex(qe)},Oe||null)),$.clearValidate?$.clearValidate():nextTick()},clearSelected:function(){var Oe=oe.editStore,Fe=Oe.selected;return Fe.row=null,Fe.column=null,$e(),nextTick()},isActiveByRow:function(Oe){return this.isEditByRow(Oe)},isEditByRow:function(Oe){var Fe=oe.editStore;return Fe.actived.row===Oe},setActiveRow:function(Oe){return _e.setEditRow(Oe)},setEditRow:function(Oe){var Fe=ae.visibleColumn;return $.setEditCell(Oe,xeUtils.find(Fe,function(ze){return isEnableConf(ze.editRender)}))},setActiveCell:function(Oe,Fe){return _e.setEditCell(Oe,Fe)},setEditCell:function(Oe,Fe){var ze=j.editConfig,Ue=xeUtils.isString(Fe)?$.getColumnByField(Fe):Fe;return Oe&&Ue&&isEnableConf(ze)&&isEnableConf(Ue.editRender)?$.scrollToRow(Oe,Ue).then(function(){var qe=$.getCell(Oe,Ue);return qe&&(xe.handleActived({row:Oe,rowIndex:$.getRowIndex(Oe),column:Ue,columnIndex:$.getColumnIndex(Ue),cell:qe,$table:$}),ae._lastCallTime=Date.now()),nextTick()}):nextTick()},setSelectCell:function(Oe,Fe){var ze=oe.tableData,Ue=ue.value,qe=xeUtils.isString(Fe)?$.getColumnByField(Fe):Fe;if(Oe&&qe&&Ue.trigger!=="manual"){var hn=$.findRowIndexOf(ze,Oe);if(hn>-1&&qe){var vn=$.getCell(Oe,qe),bn={row:Oe,rowIndex:hn,column:qe,columnIndex:$.getColumnIndex(qe),cell:vn};$.handleSelected(bn,{})}}return nextTick()}},xe={handleActived:function(Oe,Fe){var ze=j.editConfig,Ue=j.mouseConfig,qe=oe.editStore,hn=oe.tableColumn,vn=ue.value,bn=vn.mode,_n=qe.actived,kn=Oe.row,xn=Oe.column,$n=xn.editRender,Cn=Oe.cell||$.getCell(kn,xn),En=vn.beforeEditMethod||vn.activeMethod;if(Oe.cell=Cn,isEnableConf(ze)&&isEnableConf($n)&&Cn){if(_n.row!==kn||bn==="cell"&&_n.column!==xn){var Nn="edit-disabled";(!En||En(__assign$g(__assign$g({},Oe),{$table:$})))&&(Ue&&(_e.clearSelected(),$.clearCellAreas&&($.clearCellAreas(),$.clearCopyCellArea())),$.closeTooltip(),_n.column&&_e.clearEdit(Fe),Nn="edit-actived",xn.renderHeight=Cn.offsetHeight,_n.args=Oe,_n.row=kn,_n.column=xn,bn==="row"?hn.forEach(function(On){return Ce(kn,On)}):Ce(kn,xn),nextTick(function(){xe.handleFocus(Oe,Fe)})),$.dispatchEvent(Nn,{row:kn,rowIndex:$.getRowIndex(kn),$rowIndex:$.getVMRowIndex(kn),column:xn,columnIndex:$.getColumnIndex(xn),$columnIndex:$.getVMColumnIndex(xn)},Fe)}else{var Sn=_n.column;if(Ue&&(_e.clearSelected(),$.clearCellAreas&&($.clearCellAreas(),$.clearCopyCellArea())),Sn!==xn){var wn=Sn.model;wn.update&&setCellValue(kn,Sn,wn.value),$.clearValidate&&$.clearValidate()}xn.renderHeight=Cn.offsetHeight,_n.args=Oe,_n.column=xn,setTimeout(function(){xe.handleFocus(Oe,Fe)})}$.focus()}return nextTick()},handleFocus:function(Oe){var Fe=Oe.row,ze=Oe.column,Ue=Oe.cell,qe=ze.editRender;if(isEnableConf(qe)){var hn=renderer.get(qe.name),vn=qe.autofocus,bn=qe.autoselect,_n=void 0;if(!vn&&hn&&(vn=hn.autofocus),!bn&&hn&&(bn=hn.autoselect),xeUtils.isFunction(vn)?_n=vn.call(this,Oe):vn&&(_n=Ue.querySelector(vn),_n&&_n.focus()),_n){if(bn)_n.select();else if(browse.msie){var kn=_n.createTextRange();kn.collapse(!1),kn.select()}}else $.scrollToRow(Fe,ze)}},handleSelected:function(Oe,Fe){var ze=j.mouseConfig,Ue=oe.editStore,qe=de.value,hn=ue.value,vn=Ue.actived,bn=Ue.selected,_n=Oe.row,kn=Oe.column,xn=ze&&qe.selected,$n=function(){return xn&&(bn.row!==_n||bn.column!==kn)&&(vn.row!==_n||hn.mode==="cell"&&vn.column!==kn)&&(_e.clearEdit(Fe),_e.clearSelected(),$.clearCellAreas&&($.clearCellAreas(),$.clearCopyCellArea()),bn.args=Oe,bn.row=_n,bn.column=kn,xn&&xe.addCellSelectedClass(),$.focus(),Fe&&$.dispatchEvent("cell-selected",Oe,Fe)),nextTick()};return $n()},addCellSelectedClass:function(){var Oe=oe.editStore,Fe=Oe.selected,ze=Fe.row,Ue=Fe.column;if($e(),ze&&Ue){var qe=$.getCell(ze,Ue);qe&&addClass(qe,"col--selected")}}},__assign$g(__assign$g({},_e),xe)},setupGrid:function($){return $.extendTableMethods(tableEditMethodKeys)}},VxeModuleEdit={install:function(){VXETable.hooks.add("$tableEdit",editHook)}},Edit=VxeModuleEdit;function useSize($){var j=inject("xesize",null),oe=computed(function(){return $.size||(j?j.value:null)});return provide("xesize",oe),oe}const VxeButtonComponent=defineComponent({name:"VxeButton",props:{type:String,className:String,size:{type:String,default:function(){return GlobalConfig.button.size||GlobalConfig.size}},name:[String,Number],content:String,placement:String,status:String,icon:String,round:Boolean,circle:Boolean,disabled:Boolean,loading:Boolean,destroyOnClose:Boolean,transfer:{type:Boolean,default:function(){return GlobalConfig.button.transfer}}},emits:["click","dropdown-click"],setup:function($,j){var oe=j.slots,ae=j.emit,ie=xeUtils.uniqueId(),le=useSize($),de=reactive({inited:!1,showPanel:!1,animatVisible:!1,panelIndex:0,panelStyle:{},panelPlacement:""}),ue={showTime:null},pe=ref(),he=ref(),_e=ref(),xe={refElem:pe},Ce={xID:ie,props:$,context:j,reactData:de,internalData:ue,getRefMaps:function(){return xe}},Ie={},$e=computed(function(){var xn=$.type;return xn?["submit","reset","button"].indexOf(xn)>-1:!1}),Ne=computed(function(){var xn=$.type;return xn&&xn==="text"?xn:"button"}),Ve=function(){de.panelIndexYn&&(Vn="top",ho=Xn-On),hoqn&&(eo-=eo+Tn+In-qn),eoYn&&Fn-Sn-On>In&&(Vn="top",Bn.bottom="".concat(Sn,"px"));return de.panelStyle=Bn,de.panelPlacement=Vn,nextTick()}})},Fe=function(xn){Ie.dispatchEvent("click",{$event:xn},xn)},ze=function(xn){var $n=xn.button===0;$n&&xn.stopPropagation()},Ue=function(xn){var $n=xn.currentTarget,Cn=_e.value,En=getEventTargetNode(xn,$n,"vxe-button"),Nn=En.flag,Sn=En.targetElem;Nn&&(Cn&&(Cn.dataset.active="N"),de.showPanel=!1,setTimeout(function(){(!Cn||Cn.dataset.active!=="Y")&&(de.animatVisible=!1)},350),Ie.dispatchEvent("dropdown-click",{name:Sn.getAttribute("name"),$event:xn},xn))},qe=function(){var xn=_e.value;xn&&(xn.dataset.active="Y",de.animatVisible=!0,setTimeout(function(){xn.dataset.active==="Y"&&(de.showPanel=!0,Ve(),Oe(),setTimeout(function(){de.showPanel&&Oe()},50))},20))},hn=function(){var xn=_e.value;xn&&(xn.dataset.active="Y",de.inited||(de.inited=!0),ue.showTime=setTimeout(function(){xn.dataset.active==="Y"?qe():de.animatVisible=!1},250))},vn=function(){var xn=_e.value;clearTimeout(ue.showTime),xn?(xn.dataset.active="N",setTimeout(function(){xn.dataset.active!=="Y"&&(de.showPanel=!1,setTimeout(function(){xn.dataset.active!=="Y"&&(de.animatVisible=!1)},350))},100)):(de.animatVisible=!1,de.showPanel=!1)},bn=function(){vn()},_n=function(){var xn=$.content,$n=$.icon,Cn=$.loading,En=[];return Cn?En.push(h$2("i",{class:["vxe-button--loading-icon",GlobalConfig.icon.BUTTON_LOADING]})):oe.icon?En.push(h$2("span",{class:"vxe-button--custom-icon"},oe.icon({}))):$n&&En.push(h$2("i",{class:["vxe-button--icon",$n]})),oe.default?En.push(h$2("span",{class:"vxe-button--content"},oe.default({}))):xn&&En.push(h$2("span",{class:"vxe-button--content"},getFuncText(xn))),En};Ie={dispatchEvent:function(xn,$n,Cn){ae(xn,Object.assign({$button:Ce,$event:Cn},$n))},focus:function(){var xn=he.value;return xn.focus(),nextTick()},blur:function(){var xn=he.value;return xn.blur(),nextTick()}},Object.assign(Ce,Ie),onMounted(function(){GlobalEvent.on(Ce,"mousewheel",function(xn){var $n=_e.value;de.showPanel&&!getEventTargetNode(xn,$n).flag&&vn()})}),onUnmounted(function(){GlobalEvent.off(Ce,"mousewheel")});var kn=function(){var xn,$n,Cn,En,Nn=$.className,Sn=$.transfer,wn=$.type,On=$.round,Tn=$.circle,In=$.destroyOnClose,Bn=$.status,Dn=$.name,Xn=$.disabled,Zn=$.loading,Fn=de.inited,Yn=de.showPanel,qn=$e.value,Vn=Ne.value,eo=le.value;return oe.dropdowns?h$2("div",{ref:pe,class:["vxe-button--dropdown",Nn,(xn={},xn["size--".concat(eo)]=eo,xn["is--active"]=Yn,xn)]},[h$2("button",{ref:he,class:["vxe-button","type--".concat(Vn),($n={},$n["size--".concat(eo)]=eo,$n["theme--".concat(Bn)]=Bn,$n["is--round"]=On,$n["is--circle"]=Tn,$n["is--disabled"]=Xn||Zn,$n["is--loading"]=Zn,$n)],name:Dn,type:qn?wn:"button",disabled:Xn||Zn,onMouseenter:hn,onMouseleave:bn,onClick:Fe},_n().concat([h$2("i",{class:"vxe-button--dropdown-arrow ".concat(GlobalConfig.icon.BUTTON_DROPDOWN)})])),h$2(Teleport,{to:"body",disabled:Sn?!Fn:!0},[h$2("div",{ref:_e,class:["vxe-button--dropdown-panel",(Cn={},Cn["size--".concat(eo)]=eo,Cn["animat--leave"]=de.animatVisible,Cn["animat--enter"]=Yn,Cn)],placement:de.panelPlacement,style:de.panelStyle},Fn?[h$2("div",{class:"vxe-button--dropdown-wrapper",onMousedown:ze,onClick:Ue,onMouseenter:qe,onMouseleave:bn},In&&!Yn?[]:oe.dropdowns({}))]:[])])]):h$2("button",{ref:he,class:["vxe-button","type--".concat(Vn),(En={},En["size--".concat(eo)]=eo,En["theme--".concat(Bn)]=Bn,En["is--round"]=On,En["is--circle"]=Tn,En["is--disabled"]=Xn||Zn,En["is--loading"]=Zn,En)],name:Dn,type:qn?wn:"button",disabled:Xn||Zn,onClick:Fe},_n())};return Ce.renderVN=kn,Ce},render:function(){return this.renderVN()}}),VxeLoadingComponent=defineComponent({name:"VxeLoading",props:{modelValue:Boolean,icon:String,text:String},setup:function($,j){var oe=j.slots,ae=computed(function(){return $.icon||GlobalConfig.icon.LOADING}),ie=computed(function(){var le=GlobalConfig.loadingText;return $.text||(le===null?le:GlobalConfig.i18n("vxe.loading.text"))});return function(){var le=ae.value,de=ie.value;return h$2("div",{class:["vxe-loading",{"is--visible":$.modelValue}]},oe.default?[h$2("div",{class:"vxe-loading--warpper"},oe.default({}))]:[h$2("div",{class:"vxe-loading--chunk"},[le?h$2("i",{class:le}):h$2("div",{class:"vxe-loading--spinner"}),de?h$2("div",{class:"vxe-loading--text"},"".concat(de)):null])])}}});var VxeLoading=Object.assign(VxeLoadingComponent,{install:function($){$.component(VxeLoadingComponent.name,VxeLoadingComponent)}}),__assign$f=globalThis&&globalThis.__assign||function(){return __assign$f=Object.assign||function($){for(var j,oe=1,ae=arguments.length;oe-1&&xeUtils.remove(msgQueue,function(Rn){return Rn===Ce}),ze()},qe=function(Rn){var Gn=$.remember,no=$.beforeHideMethod,bo=de.visible,Wn=$e.value,lo={type:Rn};return bo&&Promise.resolve(no?no(lo):null).then(function(Qn){xeUtils.isError(Qn)||(Wn&&Ue(),de.contentVisible=!1,Gn||(de.zoomLocat=null),xeUtils.remove(allActivedModals,function(ro){return ro===Ce}),Ie.dispatchEvent("before-hide",lo),setTimeout(function(){de.visible=!1,ae("update:modelValue",!1),Ie.dispatchEvent("hide",lo)},200))}).catch(function(Qn){return Qn}),nextTick()},hn=function(Rn){var Gn="close";Ie.dispatchEvent(Gn,{type:Gn},Rn),qe(Gn)},vn=function(Rn){var Gn="confirm";Ie.dispatchEvent(Gn,{type:Gn},Rn),qe(Gn)},bn=function(Rn){var Gn="cancel";Ie.dispatchEvent(Gn,{type:Gn},Rn),qe(Gn)},_n=function(Rn){var Gn=GlobalConfig.version,no=xeUtils.toStringJSON(localStorage.getItem(Rn)||"");return no&&no._v===Gn?no:{_v:Gn}},kn=function(){var Rn=$.id,Gn=$.remember,no=$.storage,bo=$.storageKey;return!!(Rn&&Gn&&no&&_n(bo)[Rn])},xn=function(){var Rn=$.id,Gn=$.remember,no=$.storage,bo=$.storageKey;if(Rn&&Gn&&no){var Wn=_n(bo)[Rn];if(Wn){var lo=Ne(),Qn=Wn.split(","),ro=Qn[0],Hn=Qn[1],uo=Qn[2],so=Qn[3],yo=Qn[4],to=Qn[5],go=Qn[6],_o=Qn[7];ro&&(lo.style.left="".concat(ro,"px")),Hn&&(lo.style.top="".concat(Hn,"px")),uo&&(lo.style.width="".concat(uo,"px")),so&&(lo.style.height="".concat(so,"px")),yo&&to&&(de.zoomLocat={left:yo,top:to,width:go,height:_o})}}},$n=function(){msgQueue.indexOf(Ce)===-1&&msgQueue.push(Ce),ze()},Cn=function(){var Rn=$.id,Gn=$.remember,no=$.storage,bo=$.storageKey,Wn=de.zoomLocat;if(Rn&&Gn&&no){var lo=Ne(),Qn=_n(bo);Qn[Rn]=[lo.style.left,lo.style.top,lo.style.width,lo.style.height].concat(Wn?[Wn.left,Wn.top,Wn.width,Wn.height]:[]).map(function(ro){return ro?xeUtils.toNumber(ro):""}).join(","),localStorage.setItem(bo,xeUtils.toJSONString(Qn))}},En=function(){return nextTick().then(function(){if(!de.zoomLocat){var Rn=Math.max(0,xeUtils.toNumber($.marginSize)),Gn=Ne(),no=getDomNode(),bo=no.visibleHeight,Wn=no.visibleWidth;de.zoomLocat={top:Gn.offsetTop,left:Gn.offsetLeft,width:Gn.offsetWidth+(Gn.style.width?0:1),height:Gn.offsetHeight+(Gn.style.height?0:1)},Object.assign(Gn.style,{top:"".concat(Rn,"px"),left:"".concat(Rn,"px"),width:"".concat(Wn-Rn*2,"px"),height:"".concat(bo-Rn*2,"px")}),Cn()}})},Nn=function(){var Rn=$.duration,Gn=$.remember,no=$.showFooter,bo=de.inited,Wn=de.visible,lo=$e.value;return bo||(de.inited=!0),Wn||(Gn||Ve(),de.visible=!0,de.contentVisible=!1,Oe(),allActivedModals.push(Ce),setTimeout(function(){de.contentVisible=!0,nextTick(function(){if(no){var Qn=he.value,ro=_e.value,Hn=Qn||ro;Hn&&Hn.focus()}var uo="",so={type:uo};ae("update:modelValue",!0),Ie.dispatchEvent("show",so)})},10),lo?($n(),Rn!==-1&&setTimeout(function(){return qe("close")},xeUtils.toNumber(Rn))):nextTick(function(){var Qn=$.fullscreen,ro=de.firstOpen;(!Gn||ro)&&Fe().then(function(){setTimeout(function(){return Fe()},20)}),ro?(de.firstOpen=!1,kn()?xn():Qn&&nextTick(function(){return En()})):Qn&&nextTick(function(){return En()})})),nextTick()},Sn=function(Rn){var Gn=ue.value;if($.maskClosable&&Rn.target===Gn){var no="mask";qe(no)}},wn=function(Rn){var Gn=hasEventKey(Rn,EVENT_KEYS.ESCAPE);if(Gn){var no=xeUtils.max(allActivedModals,function(bo){return bo.reactData.modalZindex});no&&setTimeout(function(){no===Ce&&no.props.escClosable&&qe("exit")},10)}},On=function(){return!!de.zoomLocat},Tn=function(){return nextTick().then(function(){var Rn=de.zoomLocat;if(Rn){var Gn=Ne();de.zoomLocat=null,Object.assign(Gn.style,{top:"".concat(Rn.top,"px"),left:"".concat(Rn.left,"px"),width:"".concat(Rn.width,"px"),height:"".concat(Rn.height,"px")}),Cn()}})},In=function(){return de.zoomLocat?Tn().then(function(){return On()}):En().then(function(){return On()})},Bn=function(Rn){var Gn=de.zoomLocat,no={type:Gn?"revert":"max"};return In().then(function(){Ie.dispatchEvent("zoom",no,Rn)})},Dn=function(){var Rn=$e.value;if(!Rn){var Gn=Ne();if(Gn)return{top:Gn.offsetTop,left:Gn.offsetLeft}}return null},Xn=function(Rn,Gn){var no=$e.value;if(!no){var bo=Ne();xeUtils.isNumber(Rn)&&(bo.style.top="".concat(Rn,"px")),xeUtils.isNumber(Gn)&&(bo.style.left="".concat(Gn,"px"))}return nextTick()},Zn=function(){var Rn=de.modalZindex;allActivedModals.some(function(Gn){return Gn.reactData.visible&&Gn.reactData.modalZindex>Rn})&&Oe()},Fn=function(Rn){var Gn=$.remember,no=$.storage,bo=de.zoomLocat,Wn=xeUtils.toNumber($.marginSize),lo=Ne();if(!bo&&Rn.button===0&&!getEventTargetNode(Rn,lo,"trigger--btn").flag){Rn.preventDefault();var Qn=document.onmousemove,ro=document.onmouseup,Hn=Rn.clientX-lo.offsetLeft,uo=Rn.clientY-lo.offsetTop,so=getDomNode(),yo=so.visibleHeight,to=so.visibleWidth;document.onmousemove=function(go){go.preventDefault();var _o=lo.offsetWidth,To=lo.offsetHeight,Un=Wn,fo=to-_o-Wn-1,vo=Wn,Jn=yo-To-Wn-1,co=go.clientX-Hn,$o=go.clientY-uo;co>fo&&(co=fo),coJn&&($o=Jn),$oQn&&zo>uo&&(go.style.width="".concat(zoQn&&zo>uo&&(go.style.width="".concat(zoQn&&Ro>so&&(go.style.height="".concat(RoQn&&zo>uo&&(go.style.width="".concat(zoso&&(go.style.height="".concat(RoQn&&Ro>so&&(go.style.height="".concat(Rouo&&(go.style.width="".concat(zouo&&(go.style.width="".concat(zoQn&&Ro>so&&(go.style.height="".concat(Rouo&&(go.style.width="".concat(zoso&&(go.style.height="".concat(Roso&&(go.style.height="".concat(Ro-1}),ze=computed(function(){var po=Oe.value;return po||["date","week","month","quarter","year"].indexOf($.type)>-1}),Ue=computed(function(){return $.type==="password"}),qe=computed(function(){return $.type==="search"}),hn=computed(function(){return xeUtils.toInteger($.digits)||1}),vn=computed(function(){var po=$.type,Uo=hn.value,Xo=$.step;return po==="integer"?xeUtils.toInteger(Xo)||1:po==="float"?xeUtils.toNumber(Xo)||1/Math.pow(10,Uo):xeUtils.toNumber(Xo)||1}),bn=computed(function(){var po=$.type,Uo=Fe.value,Xo=ze.value,fa=Ue.value;return $.clearable&&(fa||Uo||Xo||po==="text"||po==="search")}),_n=computed(function(){return $.startDate?xeUtils.toStringDate($.startDate):null}),kn=computed(function(){return $.endDate?xeUtils.toStringDate($.endDate):null}),xn=computed(function(){return["date","week","month","quarter","year"].includes($.type)}),$n=computed(function(){var po=$.modelValue,Uo=$.multiple,Xo=ze.value,fa=Nn.value;return Uo&&po&&Xo?xeUtils.toValueString(po).split(",").map(function(An){var Mn=Ve(An,fa);return xeUtils.isValidDate(Mn)?Mn:null}):[]}),Cn=computed(function(){var po=$n.value,Uo=Nn.value;return po.map(function(Xo){return xeUtils.toDateString(Xo,Uo)})}),En=computed(function(){var po=$n.value,Uo=Bn.value;return po.map(function(Xo){return xeUtils.toDateString(Xo,Uo)}).join(", ")}),Nn=computed(function(){var po=$.type;return po==="time"?"HH:mm:ss":$.valueFormat||(po==="datetime"?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd")}),Sn=computed(function(){var po=$.modelValue,Uo=ze.value,Xo=Nn.value,fa=null;if(po&&Uo){var An=Ve(po,Xo);xeUtils.isValidDate(An)&&(fa=An)}return fa}),wn=computed(function(){var po=_n.value,Uo=pe.selectMonth;return Uo&&po?Uo<=po:!1}),On=computed(function(){var po=kn.value,Uo=pe.selectMonth;return Uo&&po?Uo>=po:!1}),Tn=computed(function(){var po=pe.datetimePanelValue;return po?xeUtils.toDateString(po,"HH:mm:ss"):""}),In=computed(function(){var po=Sn.value,Uo=Oe.value;return po&&Uo?(po.getHours()*3600+po.getMinutes()*60+po.getSeconds())*1e3:0}),Bn=computed(function(){var po=ze.value;return po?$.labelFormat||GlobalConfig.i18n("vxe.input.date.labelFormat.".concat($.type)):null}),Dn=computed(function(){var po=pe.selectMonth,Uo=pe.currentDate,Xo=[];if(po&&Uo)for(var fa=Uo.getFullYear(),An=po.getFullYear(),Mn=new Date(An-An%yearSize,0,1),jn=-4;jn=yearSize,year:mo})}return Xo}),Xn=computed(function(){var po=ze.value;if(po){var Uo=pe.datePanelType,Xo=pe.selectMonth,fa=Dn.value,An="",Mn=void 0;return Xo&&(An=Xo.getFullYear(),Mn=Xo.getMonth()+1),Uo==="quarter"?GlobalConfig.i18n("vxe.input.date.quarterLabel",[An]):Uo==="month"?GlobalConfig.i18n("vxe.input.date.monthLabel",[An]):Uo==="year"?fa.length?"".concat(fa[0].year," - ").concat(fa[fa.length-1].year):"":GlobalConfig.i18n("vxe.input.date.dayLabel",[An,Mn?GlobalConfig.i18n("vxe.input.date.m".concat(Mn)):"-"])}return""}),Zn=computed(function(){var po=$.startDay,Uo=$.startWeek;return xeUtils.toNumber(xeUtils.isNumber(po)||xeUtils.isString(po)?po:Uo)}),Fn=computed(function(){var po=[],Uo=ze.value;if(Uo){var Xo=Zn.value;po.push(Xo);for(var fa=0;fa<6;fa++)Xo>=6?Xo=0:Xo++,po.push(Xo)}return po}),Yn=computed(function(){var po=ze.value;if(po){var Uo=Fn.value;return Uo.map(function(Xo){return{value:Xo,label:GlobalConfig.i18n("vxe.input.date.weeks.w".concat(Xo))}})}return[]}),qn=computed(function(){var po=ze.value;if(po){var Uo=Yn.value;return[{label:GlobalConfig.i18n("vxe.input.date.weeks.w")}].concat(Uo)}return[]}),Vn=computed(function(){var po=Dn.value;return xeUtils.chunk(po,4)}),eo=computed(function(){var po=pe.selectMonth,Uo=pe.currentDate,Xo=[];if(po&&Uo)for(var fa=Uo.getFullYear(),An=getDateQuarter(Uo),Mn=xeUtils.getWhatYear(po,0,"first"),jn=Mn.getFullYear(),oo=-2;oojn,quarter:Ao})}return Xo}),ho=computed(function(){var po=eo.value;return xeUtils.chunk(po,2)}),So=computed(function(){var po=pe.selectMonth,Uo=pe.currentDate,Xo=[];if(po&&Uo)for(var fa=Uo.getFullYear(),An=Uo.getMonth(),Mn=xeUtils.getWhatYear(po,0,"first").getFullYear(),jn=-4;jnMn,month:Co})}return Xo}),Ln=computed(function(){var po=So.value;return xeUtils.chunk(po,4)}),Rn=computed(function(){var po=pe.selectMonth,Uo=pe.currentDate,Xo=[];if(po&&Uo)for(var fa=In.value,An=Fn.value,Mn=Uo.getFullYear(),jn=Uo.getMonth(),oo=Uo.getDate(),mo=po.getFullYear(),Co=po.getMonth(),Ao=po.getDay(),Bo=-An.indexOf(Ao),Fo=new Date(xeUtils.getWhatDay(po,Bo).getTime()+fa),Ko=0;Ko<42;Ko++){var Zo=xeUtils.getWhatDay(Fo,Ko),ea=Zo.getFullYear(),ca=Zo.getMonth(),ba=Zo.getDate(),Go=Zo=xeUtils.toNumber(po):!1}),_o=function(po){var Uo=$.type,Xo=$.exponential,fa=uo.value,An=hn.value,Mn=Uo==="float"?toFloatValueFixed(po,An):xeUtils.toValueString(po);return Xo&&(po===Mn||xeUtils.toValueString(po).toLowerCase()===xeUtils.toNumber(Mn).toExponential())?po:Mn.slice(0,fa)},To=function(po){var Uo=pe.inputValue;Ne.dispatchEvent(po.type,{value:Uo},po)},Un=function(po,Uo){pe.inputValue=po,ae("update:modelValue",po),Ne.dispatchEvent("input",{value:po},Uo),xeUtils.toValueString($.modelValue)!==po&&(Ne.dispatchEvent("change",{value:po},Uo),ie&&le&&ie.triggerItemEvent(Uo,le.itemConfig.field,po))},fo=function(po,Uo){var Xo=ze.value,fa=so.value;pe.inputValue=po,Xo||(fa?Un(po,Uo):Ne.dispatchEvent("input",{value:po},Uo))},vo=function(po){var Uo=po.target,Xo=Uo.value;fo(Xo,po)},Jn=function(po){var Uo=so.value;Uo||To(po)},co=function(po){pe.isActivated=!0;var Uo=ze.value;Uo&&rr(po),To(po)},$o=function(po){var Uo=$.disabled;if(!Uo){var Xo=pe.inputValue;Ne.dispatchEvent("prefix-click",{value:Xo},po)}},No,jo=function(){return new Promise(function(po){pe.visiblePanel=!1,No=window.setTimeout(function(){pe.animatVisible=!1,po()},350)})},wo=function(po,Uo){var Xo=$.type,fa=Fe.value,An=ze.value;An&&jo(),(fa||["text","search","password"].indexOf(Xo)>-1)&&focus(),Ne.dispatchEvent("clear",{value:Uo},po)},Kn=function(po){var Uo=$.disabled;if(!Uo)if(hasClass(po.currentTarget,"is--clear"))Un("",po),wo(po,"");else{var Xo=pe.inputValue;Ne.dispatchEvent("suffix-click",{value:Xo},po)}},zo=function(po){var Uo=$.type,Xo=$.valueFormat,fa=Bn.value,An=Zn.value,Mn=null,jn="";if(po&&(Mn=Ve(po,Xo)),xeUtils.isValidDate(Mn)){if(jn=xeUtils.toDateString(Mn,fa,{firstDay:An}),fa&&Uo==="week"){var oo=xeUtils.getWhatWeek(Mn,0,An,An);if(oo.getFullYear()-1){var Co=Number(jn.substring(mo,mo+4));Co&&!isNaN(Co)&&(jn=jn.replace("".concat(Co),"".concat(Co-1)))}}}}else Mn=null;pe.datePanelValue=Mn,pe.datePanelLabel=jn},Ro=function(){var po=ze.value,Uo=pe.inputValue;po&&(zo(Uo),pe.inputValue=$.multiple?En.value:pe.datePanelLabel)},Yo=function(){var po=$.type,Uo=pe.inputValue,Xo=ze.value,fa=hn.value;if(Xo)Ro();else if(po==="float"&&Uo){var An=toFloatValueFixed(Uo,fa);Uo!==An&&Un(An,{type:"init"})}},Qo=function(po){return $.max===null||xeUtils.toNumber(po)<=xeUtils.toNumber($.max)},da=function(po){return $.min===null||xeUtils.toNumber(po)>=xeUtils.toNumber($.min)},Lo=function(){pe.inputValue=$.multiple?En.value:pe.datePanelLabel},Wo=function(po){var Uo=xeUtils.getWhatMonth(po,0,"first");xeUtils.isEqual(Uo,pe.selectMonth)||(pe.selectMonth=Uo)},ra=function(po){var Uo=$.modelValue,Xo=$.multiple,fa=pe.datetimePanelValue,An=Oe.value,Mn=Nn.value,jn=Zn.value;if($.type==="week"){var oo=xeUtils.toNumber($.selectDay);po=xeUtils.getWhatWeek(po,0,oo,jn)}else An&&(po.setHours(fa.getHours()),po.setMinutes(fa.getMinutes()),po.setSeconds(fa.getSeconds()));var mo=xeUtils.toDateString(po,Mn,{firstDay:jn});if(Wo(po),Xo){var Co=Cn.value;if(An){var Ao=__spreadArray$4([],$n.value,!0),Bo=[],Fo=xeUtils.findIndexOf(Ao,function(Ko){return xeUtils.isDateSame(po,Ko,"yyyyMMdd")});Fo===-1?Ao.push(po):Ao.splice(Fo,1),Ao.forEach(function(Ko){Ko&&(Ko.setHours(fa.getHours()),Ko.setMinutes(fa.getMinutes()),Ko.setSeconds(fa.getSeconds()),Bo.push(Ko))}),Un(Bo.map(function(Ko){return xeUtils.toDateString(Ko,Mn)}).join(","),{type:"update"})}else Co.some(function(Ko){return xeUtils.isEqual(Ko,mo)})?Un(Co.filter(function(Ko){return!xeUtils.isEqual(Ko,mo)}).join(","),{type:"update"}):Un(Co.concat([mo]).join(","),{type:"update"})}else xeUtils.isEqual(Uo,mo)||Un(mo,{type:"update"})},pa=function(){var po=$.type,Uo=$.min,Xo=$.max,fa=$.exponential,An=pe.inputValue,Mn=pe.datetimePanelValue,jn=Fe.value,oo=ze.value,mo=Bn.value,Co=Qn.value;if(!Co){if(jn){if(An){var Ao=po==="integer"?xeUtils.toInteger(handleNumber(An)):xeUtils.toNumber(handleNumber(An));if(da(Ao)?Qo(Ao)||(Ao=Xo):Ao=Uo,fa){var Bo=xeUtils.toValueString(An).toLowerCase();Bo===xeUtils.toNumber(Ao).toExponential()&&(Ao=Bo)}Un(_o(Ao),{type:"check"})}}else if(oo)if(An){var Fo=Ve(An,mo);if(xeUtils.isValidDate(Fo))if(po==="time")Fo=xeUtils.toDateString(Fo,mo),An!==Fo&&Un(Fo,{type:"check"}),pe.inputValue=Fo;else{var Ko=!1,Zo=Zn.value;if(po==="datetime"){var ea=Sn.value;(An!==xeUtils.toDateString(ea,mo)||An!==xeUtils.toDateString(Fo,mo))&&(Ko=!0,Mn.setHours(Fo.getHours()),Mn.setMinutes(Fo.getMinutes()),Mn.setSeconds(Fo.getSeconds()))}else Ko=!0;pe.inputValue=xeUtils.toDateString(Fo,mo,{firstDay:Zo}),Ko&&ra(Fo)}else Lo()}else Un("",{type:"check"})}},aa=function(po){var Uo=pe.inputValue,Xo=so.value;Xo||Un(Uo,po),pa(),pe.visiblePanel||(pe.isActivated=!1),Ne.dispatchEvent("blur",{value:Uo},po)},Ha=function(po){var Uo=$.readonly,Xo=$.disabled,fa=pe.showPwd;!Xo&&!Uo&&(pe.showPwd=!fa),Ne.dispatchEvent("toggle-visible",{visible:pe.showPwd},po)},Ja=function(po){Ne.dispatchEvent("search-click",{},po)},Dt=function(po,Uo){var Xo=$.min,fa=$.max,An=$.type,Mn=pe.inputValue,jn=vn.value,oo=An==="integer"?xeUtils.toInteger(handleNumber(Mn)):xeUtils.toNumber(handleNumber(Mn)),mo=po?xeUtils.add(oo,jn):xeUtils.subtract(oo,jn),Co;da(mo)?Qo(mo)?Co=mo:Co=fa:Co=Xo,fo(_o(Co),Uo)},Ma,Fa=function(po){var Uo=$.readonly,Xo=$.disabled,fa=to.value;clearTimeout(Ma),!Xo&&!Uo&&!fa&&Dt(!1,po),Ne.dispatchEvent("next-number",{},po)},Aa=function(po){Ma=window.setTimeout(function(){Fa(po),Aa(po)},60)},la=function(po){var Uo=$.readonly,Xo=$.disabled,fa=go.value;clearTimeout(Ma),!Xo&&!Uo&&!fa&&Dt(!0,po),Ne.dispatchEvent("prev-number",{},po)},va=function(po){var Uo=hasEventKey(po,EVENT_KEYS.ARROW_UP),Xo=hasEventKey(po,EVENT_KEYS.ARROW_DOWN);(Uo||Xo)&&(po.preventDefault(),Uo?la(po):Fa(po))},ia=function(po){var Uo=$.exponential,Xo=$.controls,fa=Fe.value;if(fa){var An=po.ctrlKey,Mn=po.shiftKey,jn=po.altKey,oo=po.keyCode;!An&&!Mn&&!jn&&(hasEventKey(po,EVENT_KEYS.SPACEBAR)||(!Uo||oo!==69)&&oo>=65&&oo<=90||oo>=186&&oo<=188||oo>=191)&&po.preventDefault(),Xo&&va(po)}To(po)},Ua=function(po){To(po)},Do=function(){clearTimeout(Ma)},Ga=function(po){Ma=window.setTimeout(function(){la(po),Ga(po)},60)},qa=function(po){if(Do(),po.button===0){var Uo=hasClass(po.currentTarget,"is--prev");Uo?la(po):Fa(po),Ma=window.setTimeout(function(){Uo?Ga(po):Aa(po)},500)}},Qa=function(po){var Uo=Fe.value;if(Uo&&$.controls&&pe.isActivated){var Xo=po.deltaY;Xo>0?Fa(po):Xo<0&&la(po),po.preventDefault()}To(po)},Na=function(po,Uo){pe.selectMonth=xeUtils.getWhatMonth(po,Uo,"first")},Ea=function(){var po=xeUtils.getWhatDay(Date.now(),0,"first");pe.currentDate=po,Na(po,0)},Ca=function(){var po=pe.datePanelType;po==="month"||po==="quarter"?po="year":po="month",pe.datePanelType=po},sa=function(po){var Uo=$.type,Xo=pe.datePanelType,fa=pe.selectMonth,An=wn.value;An||(Uo==="year"?pe.selectMonth=xeUtils.getWhatYear(fa,-yearSize,"first"):Uo==="month"||Uo==="quarter"?Xo==="year"?pe.selectMonth=xeUtils.getWhatYear(fa,-yearSize,"first"):pe.selectMonth=xeUtils.getWhatYear(fa,-1,"first"):Xo==="year"?pe.selectMonth=xeUtils.getWhatYear(fa,-yearSize,"first"):Xo==="month"?pe.selectMonth=xeUtils.getWhatYear(fa,-1,"first"):pe.selectMonth=xeUtils.getWhatMonth(fa,-1,"first"),Ne.dispatchEvent("date-prev",{type:Uo},po))},ga=function(po){Ea(),$.multiple||(ra(pe.currentDate),jo()),Ne.dispatchEvent("date-today",{type:$.type},po)},wa=function(po){var Uo=$.type,Xo=pe.datePanelType,fa=pe.selectMonth,An=On.value;An||(Uo==="year"?pe.selectMonth=xeUtils.getWhatYear(fa,yearSize,"first"):Uo==="month"||Uo==="quarter"?Xo==="year"?pe.selectMonth=xeUtils.getWhatYear(fa,yearSize,"first"):pe.selectMonth=xeUtils.getWhatYear(fa,1,"first"):Xo==="year"?pe.selectMonth=xeUtils.getWhatYear(fa,yearSize,"first"):Xo==="month"?pe.selectMonth=xeUtils.getWhatYear(fa,1,"first"):pe.selectMonth=xeUtils.getWhatMonth(fa,1,"first"),Ne.dispatchEvent("date-next",{type:Uo},po))},Oa=function(po){var Uo=$.disabledMethod,Xo=pe.datePanelType;return Uo&&Uo({type:Xo,viewType:Xo,date:po.date,$input:$e})},Ia=function(po){var Uo=$.type,Xo=$.multiple,fa=pe.datePanelType;Uo==="month"?fa==="year"?(pe.datePanelType="month",Wo(po)):(ra(po),Xo||jo()):Uo==="year"?(ra(po),Xo||jo()):Uo==="quarter"?fa==="year"?(pe.datePanelType="quarter",Wo(po)):(ra(po),Xo||jo()):fa==="month"?(pe.datePanelType=Uo==="week"?Uo:"day",Wo(po)):fa==="year"?(pe.datePanelType="month",Wo(po)):(ra(po),Xo||jo())},Pa=function(po){Oa(po)||Ia(po.date)},Ra=function(po){if(!Oa({date:po})){var Uo=Rn.value;Uo.some(function(Xo){return xeUtils.isDateSame(Xo.date,po,"yyyyMMdd")})||Wo(po),zo(po)}},Va=function(po){if(!Oa({date:po})){var Uo=Dn.value;Uo.some(function(Xo){return xeUtils.isDateSame(Xo.date,po,"yyyy")})||Wo(po),zo(po)}},za=function(po){if(!Oa({date:po})){var Uo=eo.value;Uo.some(function(Xo){return xeUtils.isDateSame(Xo.date,po,"yyyyq")})||Wo(po),zo(po)}},Ya=function(po){if(!Oa({date:po})){var Uo=So.value;Uo.some(function(Xo){return xeUtils.isDateSame(Xo.date,po,"yyyyMM")})||Wo(po),zo(po)}},Pt=function(po){if(!Oa(po)){var Uo=pe.datePanelType;Uo==="month"?Ya(po.date):Uo==="quarter"?za(po.date):Uo==="year"?Va(po.date):Ra(po.date)}},Et=function(po){if(po){var Uo=po.offsetHeight,Xo=po.parentNode;Xo.scrollTop=po.offsetTop-Uo*4}},Wa=function(po){pe.datetimePanelValue=new Date(pe.datetimePanelValue.getTime()),Et(po.currentTarget)},At=function(po,Uo){pe.datetimePanelValue.setHours(Uo.value),Wa(po)},tr=function(){var po=$.multiple,Uo=pe.datetimePanelValue,Xo=Sn.value,fa=Oe.value;if(fa){var An=Nn.value;if(po){var Mn=Cn.value;if(fa){var jn=__spreadArray$4([],$n.value,!0),oo=[];jn.forEach(function(mo){mo&&(mo.setHours(Uo.getHours()),mo.setMinutes(Uo.getMinutes()),mo.setSeconds(Uo.getSeconds()),oo.push(mo))}),Un(oo.map(function(mo){return xeUtils.toDateString(mo,An)}).join(","),{type:"update"})}else Un(Mn.join(","),{type:"update"})}else ra(Xo||pe.currentDate)}jo()},mr=function(po,Uo){pe.datetimePanelValue.setMinutes(Uo.value),Wa(po)},ir=function(po,Uo){pe.datetimePanelValue.setSeconds(Uo.value),Wa(po)},pr=function(po){var Uo=pe.isActivated,Xo=pe.datePanelValue,fa=pe.datePanelType;if(Uo){po.preventDefault();var An=hasEventKey(po,EVENT_KEYS.ARROW_LEFT),Mn=hasEventKey(po,EVENT_KEYS.ARROW_UP),jn=hasEventKey(po,EVENT_KEYS.ARROW_RIGHT),oo=hasEventKey(po,EVENT_KEYS.ARROW_DOWN);if(fa==="year"){var mo=xeUtils.getWhatYear(Xo||Date.now(),0,"first");An?mo=xeUtils.getWhatYear(mo,-1):Mn?mo=xeUtils.getWhatYear(mo,-4):jn?mo=xeUtils.getWhatYear(mo,1):oo&&(mo=xeUtils.getWhatYear(mo,4)),Va(mo)}else if(fa==="quarter"){var Co=xeUtils.getWhatQuarter(Xo||Date.now(),0,"first");An?Co=xeUtils.getWhatQuarter(Co,-1):Mn?Co=xeUtils.getWhatQuarter(Co,-2):jn?Co=xeUtils.getWhatQuarter(Co,1):oo&&(Co=xeUtils.getWhatQuarter(Co,2)),za(Co)}else if(fa==="month"){var Ao=xeUtils.getWhatMonth(Xo||Date.now(),0,"first");An?Ao=xeUtils.getWhatMonth(Ao,-1):Mn?Ao=xeUtils.getWhatMonth(Ao,-4):jn?Ao=xeUtils.getWhatMonth(Ao,1):oo&&(Ao=xeUtils.getWhatMonth(Ao,4)),Ya(Ao)}else{var Bo=Xo||xeUtils.getWhatDay(Date.now(),0,"first"),Fo=Zn.value;An?Bo=xeUtils.getWhatDay(Bo,-1):Mn?Bo=xeUtils.getWhatWeek(Bo,-1,Fo):jn?Bo=xeUtils.getWhatDay(Bo,1):oo&&(Bo=xeUtils.getWhatWeek(Bo,1,Fo)),Ra(Bo)}}},nr=function(po){var Uo=pe.isActivated;if(Uo){var Xo=hasEventKey(po,EVENT_KEYS.PAGE_UP);po.preventDefault(),Xo?sa(po):wa(po)}},Sr=function(){var po=$.type,Uo=Oe.value,Xo=Sn.value;["year","quarter","month","week"].indexOf(po)>-1?pe.datePanelType=po:pe.datePanelType="day",pe.currentDate=xeUtils.getWhatDay(Date.now(),0,"first"),Xo?(Na(Xo,0),zo(Xo)):Ea(),Uo&&(pe.datetimePanelValue=pe.datePanelValue||xeUtils.getWhatDay(Date.now(),0,"first"),nextTick(function(){var fa=Ce.value;xeUtils.arrayEach(fa.querySelectorAll("li.is--selected"),Et)}))},hr=function(){pe.panelIndexZo&&(ca="top",Go=Fo-oo),Goea&&(ba-=ba+mo+Co-ea),baZo&&Fo-Mn-oo>Co&&(ca="top",Ao.bottom="".concat(Mn,"px"));return pe.panelStyle=Ao,pe.panelPlacement=ca,nextTick()}})},gr=function(){var po=$.disabled,Uo=pe.visiblePanel,Xo=ze.value;return!po&&!Uo?(pe.inited||(pe.inited=!0),clearTimeout(No),pe.isActivated=!0,pe.animatVisible=!0,Xo&&Sr(),setTimeout(function(){pe.visiblePanel=!0},10),hr(),lr()):nextTick()},rr=function(po){var Uo=$.readonly;Uo||(po.preventDefault(),gr())},kr=function(po){To(po)},$r=function(po){var Uo=$.disabled,Xo=pe.visiblePanel,fa=pe.isActivated,An=ze.value,Mn=he.value,jn=xe.value;!Uo&&fa&&(pe.isActivated=getEventTargetNode(po,Mn).flag||getEventTargetNode(po,jn).flag,pe.isActivated||(An?Xo&&(jo(),pa()):pa()))},Dr=function(po){var Uo=$.clearable,Xo=$.disabled,fa=pe.visiblePanel,An=ze.value;if(!Xo){var Mn=hasEventKey(po,EVENT_KEYS.TAB),jn=hasEventKey(po,EVENT_KEYS.DELETE),oo=hasEventKey(po,EVENT_KEYS.ESCAPE),mo=hasEventKey(po,EVENT_KEYS.ENTER),Co=hasEventKey(po,EVENT_KEYS.ARROW_LEFT),Ao=hasEventKey(po,EVENT_KEYS.ARROW_UP),Bo=hasEventKey(po,EVENT_KEYS.ARROW_RIGHT),Fo=hasEventKey(po,EVENT_KEYS.ARROW_DOWN),Ko=hasEventKey(po,EVENT_KEYS.PAGE_UP),Zo=hasEventKey(po,EVENT_KEYS.PAGE_DOWN),ea=Co||Ao||Bo||Fo,ca=pe.isActivated;Mn?(ca&&pa(),ca=!1,pe.isActivated=ca):ea?An&&ca&&(fa?pr(po):(Ao||Fo)&&rr(po)):mo?An&&(fa?pe.datePanelValue?Ia(pe.datePanelValue):jo():ca&&rr(po)):(Ko||Zo)&&An&&ca&&nr(po),Mn||oo?fa&&jo():jn&&Uo&&ca&&wo(po,null)}},Mr=function(po){var Uo=$.disabled,Xo=pe.visiblePanel;if(!Uo&&Xo){var fa=xe.value;getEventTargetNode(po,fa).flag?lr():(jo(),pa())}},Fr=function(){var po=pe.isActivated,Uo=pe.visiblePanel;Uo?(jo(),pa()):po&&pa()},ar=function(po,Uo){var Xo=$.festivalMethod;if(Xo){var fa=pe.datePanelType,An=Xo({type:fa,viewType:fa,date:po.date,$input:$e}),Mn=An?xeUtils.isString(An)?{label:An}:An:{},jn=Mn.extra?xeUtils.isString(Mn.extra)?{label:Mn.extra}:Mn.extra:null,oo=[h$2("span",{class:["vxe-input--date-label",{"is-notice":Mn.notice}]},jn&&jn.label?[h$2("span",Uo),h$2("span",{class:["vxe-input--date-label--extra",jn.important?"is-important":"",jn.className],style:jn.style},xeUtils.toValueString(jn.label))]:Uo)],mo=Mn.label;if(mo){var Co=xeUtils.toValueString(mo).split(",");oo.push(h$2("span",{class:["vxe-input--date-festival",Mn.important?"is-important":"",Mn.className],style:Mn.style},[Co.length>1?h$2("span",{class:["vxe-input--date-festival--overlap","overlap--".concat(Co.length)]},Co.map(function(Ao){return h$2("span",Ao.substring(0,3))})):h$2("span",{class:"vxe-input--date-festival--label"},Co[0].substring(0,3))]))}return oo}return Uo},hc=function(){var po=$.multiple,Uo=pe.datePanelType,Xo=pe.datePanelValue,fa=Sn.value,An=Yn.value,Mn=Gn.value,jn=$n.value,oo="yyyyMMdd";return[h$2("table",{class:"vxe-input--date-".concat(Uo,"-view"),cellspacing:0,cellpadding:0,border:0},[h$2("thead",[h$2("tr",An.map(function(mo){return h$2("th",mo.label)}))]),h$2("tbody",Mn.map(function(mo){return h$2("tr",mo.map(function(Co){return h$2("td",{class:{"is--prev":Co.isPrev,"is--current":Co.isCurrent,"is--now":Co.isNow,"is--next":Co.isNext,"is--disabled":Oa(Co),"is--selected":po?jn.some(function(Ao){return xeUtils.isDateSame(Ao,Co.date,oo)}):xeUtils.isDateSame(fa,Co.date,oo),"is--hover":xeUtils.isDateSame(Xo,Co.date,oo)},onClick:function(){return Pa(Co)},onMouseenter:function(){return Pt(Co)}},ar(Co,Co.label))}))}))])]},Jr=function(){var po=$.multiple,Uo=pe.datePanelType,Xo=pe.datePanelValue,fa=Sn.value,An=qn.value,Mn=no.value,jn=$n.value,oo="yyyyMMdd";return[h$2("table",{class:"vxe-input--date-".concat(Uo,"-view"),cellspacing:0,cellpadding:0,border:0},[h$2("thead",[h$2("tr",An.map(function(mo){return h$2("th",mo.label)}))]),h$2("tbody",Mn.map(function(mo){var Co=po?mo.some(function(Bo){return jn.some(function(Fo){return xeUtils.isDateSame(Fo,Bo.date,oo)})}):mo.some(function(Bo){return xeUtils.isDateSame(fa,Bo.date,oo)}),Ao=mo.some(function(Bo){return xeUtils.isDateSame(Xo,Bo.date,oo)});return h$2("tr",mo.map(function(Bo){return h$2("td",{class:{"is--prev":Bo.isPrev,"is--current":Bo.isCurrent,"is--now":Bo.isNow,"is--next":Bo.isNext,"is--disabled":Oa(Bo),"is--selected":Co,"is--hover":Ao},onClick:function(){return Pa(Bo)},onMouseenter:function(){return Pt(Bo)}},ar(Bo,Bo.label))}))}))])]},cc=function(){var po=$.multiple,Uo=pe.datePanelType,Xo=pe.datePanelValue,fa=Sn.value,An=Ln.value,Mn=$n.value,jn="yyyyMM";return[h$2("table",{class:"vxe-input--date-".concat(Uo,"-view"),cellspacing:0,cellpadding:0,border:0},[h$2("tbody",An.map(function(oo){return h$2("tr",oo.map(function(mo){return h$2("td",{class:{"is--prev":mo.isPrev,"is--current":mo.isCurrent,"is--now":mo.isNow,"is--next":mo.isNext,"is--disabled":Oa(mo),"is--selected":po?Mn.some(function(Co){return xeUtils.isDateSame(Co,mo.date,jn)}):xeUtils.isDateSame(fa,mo.date,jn),"is--hover":xeUtils.isDateSame(Xo,mo.date,jn)},onClick:function(){return Pa(mo)},onMouseenter:function(){return Pt(mo)}},ar(mo,GlobalConfig.i18n("vxe.input.date.months.m".concat(mo.month))))}))}))])]},gc=function(){var po=$.multiple,Uo=pe.datePanelType,Xo=pe.datePanelValue,fa=Sn.value,An=ho.value,Mn=$n.value,jn="yyyyq";return[h$2("table",{class:"vxe-input--date-".concat(Uo,"-view"),cellspacing:0,cellpadding:0,border:0},[h$2("tbody",An.map(function(oo){return h$2("tr",oo.map(function(mo){return h$2("td",{class:{"is--prev":mo.isPrev,"is--current":mo.isCurrent,"is--now":mo.isNow,"is--next":mo.isNext,"is--disabled":Oa(mo),"is--selected":po?Mn.some(function(Co){return xeUtils.isDateSame(Co,mo.date,jn)}):xeUtils.isDateSame(fa,mo.date,jn),"is--hover":xeUtils.isDateSame(Xo,mo.date,jn)},onClick:function(){return Pa(mo)},onMouseenter:function(){return Pt(mo)}},ar(mo,GlobalConfig.i18n("vxe.input.date.quarters.q".concat(mo.quarter))))}))}))])]},vc=function(){var po=$.multiple,Uo=pe.datePanelType,Xo=pe.datePanelValue,fa=Sn.value,An=Vn.value,Mn=$n.value,jn="yyyy";return[h$2("table",{class:"vxe-input--date-".concat(Uo,"-view"),cellspacing:0,cellpadding:0,border:0},[h$2("tbody",An.map(function(oo){return h$2("tr",oo.map(function(mo){return h$2("td",{class:{"is--prev":mo.isPrev,"is--current":mo.isCurrent,"is--now":mo.isNow,"is--next":mo.isNext,"is--disabled":Oa(mo),"is--selected":po?Mn.some(function(Co){return xeUtils.isDateSame(Co,mo.date,jn)}):xeUtils.isDateSame(fa,mo.date,jn),"is--hover":xeUtils.isDateSame(Xo,mo.date,jn)},onClick:function(){return Pa(mo)},onMouseenter:function(){return Pt(mo)}},ar(mo,mo.year))}))}))])]},qr=function(){var po=pe.datePanelType;switch(po){case"week":return Jr();case"month":return cc();case"quarter":return gc();case"year":return vc()}return hc()},oc=function(){var po=$.multiple,Uo=pe.datePanelType,Xo=wn.value,fa=On.value,An=Xn.value;return[h$2("div",{class:"vxe-input--date-picker-header"},[h$2("div",{class:"vxe-input--date-picker-type-wrapper"},[Uo==="year"?h$2("span",{class:"vxe-input--date-picker-label"},An):h$2("span",{class:"vxe-input--date-picker-btn",onClick:Ca},An)]),h$2("div",{class:"vxe-input--date-picker-btn-wrapper"},[h$2("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-prev-btn",{"is--disabled":Xo}],onClick:sa},[h$2("i",{class:"vxe-icon-caret-left"})]),h$2("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-current-btn",onClick:ga},[h$2("i",{class:"vxe-icon-dot"})]),h$2("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-next-btn",{"is--disabled":fa}],onClick:wa},[h$2("i",{class:"vxe-icon-caret-right"})]),po&&xn.value?h$2("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-confirm-btn"},[h$2("button",{class:"vxe-input--date-picker-confirm",type:"button",onClick:tr},GlobalConfig.i18n("vxe.button.confirm"))]):null])]),h$2("div",{class:"vxe-input--date-picker-body"},qr())]},ic=function(){var po=pe.datetimePanelValue,Uo=Tn.value,Xo=bo.value,fa=Wn.value,An=lo.value;return[h$2("div",{class:"vxe-input--time-picker-header"},[h$2("span",{class:"vxe-input--time-picker-title"},Uo),h$2("button",{class:"vxe-input--time-picker-confirm",type:"button",onClick:tr},GlobalConfig.i18n("vxe.button.confirm"))]),h$2("div",{ref:Ce,class:"vxe-input--time-picker-body"},[h$2("ul",{class:"vxe-input--time-picker-hour-list"},Xo.map(function(Mn,jn){return h$2("li",{key:jn,class:{"is--selected":po&&po.getHours()===Mn.value},onClick:function(oo){return At(oo,Mn)}},Mn.label)})),h$2("ul",{class:"vxe-input--time-picker-minute-list"},fa.map(function(Mn,jn){return h$2("li",{key:jn,class:{"is--selected":po&&po.getMinutes()===Mn.value},onClick:function(oo){return mr(oo,Mn)}},Mn.label)})),h$2("ul",{class:"vxe-input--time-picker-second-list"},An.map(function(Mn,jn){return h$2("li",{key:jn,class:{"is--selected":po&&po.getSeconds()===Mn.value},onClick:function(oo){return ir(oo,Mn)}},Mn.label)}))])]},bc=function(){var po,Uo=$.type,Xo=$.transfer,fa=pe.inited,An=pe.animatVisible,Mn=pe.visiblePanel,jn=pe.panelPlacement,oo=pe.panelStyle,mo=ue.value,Co=ze.value,Ao=[];return Co?(Uo==="datetime"?Ao.push(h$2("div",{class:"vxe-input--panel-layout-wrapper"},[h$2("div",{class:"vxe-input--panel-left-wrapper"},oc()),h$2("div",{class:"vxe-input--panel-right-wrapper"},ic())])):Uo==="time"?Ao.push(h$2("div",{class:"vxe-input--panel-wrapper"},ic())):Ao.push(h$2("div",{class:"vxe-input--panel-wrapper"},oc())),h$2(Teleport,{to:"body",disabled:Xo?!fa:!0},[h$2("div",{ref:xe,class:["vxe-table--ignore-clear vxe-input--panel","type--".concat(Uo),(po={},po["size--".concat(mo)]=mo,po["is--transfer"]=Xo,po["animat--leave"]=An,po["animat--enter"]=Mn,po)],placement:jn,style:oo},Ao)])):null},Ur=function(){var po=go.value,Uo=to.value;return h$2("span",{class:"vxe-input--number-suffix"},[h$2("span",{class:["vxe-input--number-prev is--prev",{"is--disabled":po}],onMousedown:qa,onMouseup:Do,onMouseleave:Do},[h$2("i",{class:["vxe-input--number-prev-icon",GlobalConfig.icon.INPUT_PREV_NUM]})]),h$2("span",{class:["vxe-input--number-next is--next",{"is--disabled":Uo}],onMousedown:qa,onMouseup:Do,onMouseleave:Do},[h$2("i",{class:["vxe-input--number-next-icon",GlobalConfig.icon.INPUT_NEXT_NUM]})])])},Qr=function(){return h$2("span",{class:"vxe-input--date-picker-suffix",onClick:rr},[h$2("i",{class:["vxe-input--date-picker-icon",GlobalConfig.icon.INPUT_DATE]})])},lc=function(){return h$2("span",{class:"vxe-input--search-suffix",onClick:Ja},[h$2("i",{class:["vxe-input--search-icon",GlobalConfig.icon.INPUT_SEARCH]})])},dc=function(){var po=pe.showPwd;return h$2("span",{class:"vxe-input--password-suffix",onClick:Ha},[h$2("i",{class:["vxe-input--password-icon",po?GlobalConfig.icon.INPUT_SHOW_PWD:GlobalConfig.icon.INPUT_PWD]})])},Tr=function(){var po=$.prefixIcon,Uo=oe.prefix,Xo=[];return Uo?Xo.push(h$2("span",{class:"vxe-input--prefix-icon"},Uo({}))):po&&Xo.push(h$2("i",{class:["vxe-input--prefix-icon",po]})),Xo.length?h$2("span",{class:"vxe-input--prefix",onClick:$o},Xo):null},ac=function(){var po=$.disabled,Uo=$.suffixIcon,Xo=pe.inputValue,fa=oe.suffix,An=bn.value,Mn=[];return fa?Mn.push(h$2("span",{class:"vxe-input--suffix-icon"},fa({}))):Uo&&Mn.push(h$2("i",{class:["vxe-input--suffix-icon",Uo]})),An&&Mn.push(h$2("i",{class:["vxe-input--clear-icon",GlobalConfig.icon.INPUT_CLEAR]})),Mn.length?h$2("span",{class:["vxe-input--suffix",{"is--clear":An&&!po&&!(Xo===""||xeUtils.eqNull(Xo))}],onClick:Kn},Mn):null},er=function(){var po=$.controls,Uo=Fe.value,Xo=ze.value,fa=Ue.value,An=qe.value,Mn;return fa?Mn=dc():Uo?po&&(Mn=Ur()):Xo?Mn=Qr():An&&(Mn=lc()),Mn?h$2("span",{class:"vxe-input--extra-suffix"},[Mn]):null};Ne={dispatchEvent:function(po,Uo,Xo){ae(po,Object.assign({$input:$e,$event:Xo},Uo))},focus:function(){var po=_e.value;return pe.isActivated=!0,po.focus(),nextTick()},blur:function(){var po=_e.value;return po.blur(),pe.isActivated=!1,nextTick()},showPanel:gr,hidePanel:jo,updatePlacement:lr},Object.assign($e,Ne),watch(function(){return $.modelValue},function(po){pe.inputValue=po,Ro()}),watch(function(){return $.type},function(){Object.assign(pe,{inputValue:$.modelValue,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),Yo()}),watch(Bn,function(){var po=ze.value;po&&(zo(pe.datePanelValue),pe.inputValue=$.multiple?En.value:pe.datePanelLabel)}),nextTick(function(){GlobalEvent.on($e,"mousewheel",Mr),GlobalEvent.on($e,"mousedown",$r),GlobalEvent.on($e,"keydown",Dr),GlobalEvent.on($e,"blur",Fr)}),onUnmounted(function(){Do(),GlobalEvent.off($e,"mousewheel"),GlobalEvent.off($e,"mousedown"),GlobalEvent.off($e,"keydown"),GlobalEvent.off($e,"blur")}),Yo();var tc=function(){var po,Uo=$.className,Xo=$.controls,fa=$.type,An=$.align,Mn=$.name,jn=$.disabled,oo=$.readonly,mo=$.autocomplete,Co=pe.inputValue,Ao=pe.visiblePanel,Bo=pe.isActivated,Fo=ue.value,Ko=ze.value,Zo=Qn.value,ea=uo.value,ca=ro.value,ba=Hn.value,Go=[],Jo=Tr(),oa=ac();return Jo&&Go.push(Jo),Go.push(h$2("input",{ref:_e,class:"vxe-input--inner",value:Co,name:Mn,type:ca,placeholder:ba,maxlength:ea,readonly:Zo,disabled:jn,autocomplete:mo,onKeydown:ia,onKeyup:Ua,onWheel:Qa,onClick:kr,onInput:vo,onChange:Jn,onFocus:co,onBlur:aa})),oa&&Go.push(oa),Go.push(er()),Ko&&Go.push(bc()),h$2("div",{ref:he,class:["vxe-input","type--".concat(fa),Uo,(po={},po["size--".concat(Fo)]=Fo,po["is--".concat(An)]=An,po["is--controls"]=Xo,po["is--prefix"]=!!Jo,po["is--suffix"]=!!oa,po["is--readonly"]=oo,po["is--visivle"]=Ao,po["is--disabled"]=jn,po["is--active"]=Bo,po)]},Go)};return $e.renderVN=tc,$e},render:function(){return this.renderVN()}}),VxeCheckboxComponent=defineComponent({name:"VxeCheckbox",props:{modelValue:[String,Number,Boolean],label:{type:[String,Number],default:null},indeterminate:Boolean,title:[String,Number],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},content:[String,Number],disabled:Boolean,size:{type:String,default:function(){return GlobalConfig.checkbox.size||GlobalConfig.size}}},emits:["update:modelValue","change"],setup:function($,j){var oe=j.slots,ae=j.emit,ie=inject("$xeform",null),le=inject("$xeformiteminfo",null),de=xeUtils.uniqueId(),ue={xID:de,props:$,context:j},pe={},he=useSize($),_e=inject("$xecheckboxgroup",null),xe=computed(function(){return _e?xeUtils.includes(_e.props.modelValue,$.label):$.modelValue===$.checkedValue}),Ce=computed(function(){if($.disabled)return!0;if(_e){var Ne=_e.props,Ve=_e.getComputeMaps().computeIsMaximize,Oe=Ve.value,Fe=xe.value;return Ne.disabled||Oe&&!Fe}return!1}),Ie=function(Ne){var Ve=$.checkedValue,Oe=$.uncheckedValue,Fe=Ce.value;if(!Fe){var ze=Ne.target.checked,Ue=ze?Ve:Oe,qe={checked:ze,value:Ue,label:$.label};_e?_e.handleChecked(qe,Ne):(ae("update:modelValue",Ue),pe.dispatchEvent("change",qe,Ne),ie&&le&&ie.triggerItemEvent(Ne,le.itemConfig.field,Ue))}};pe={dispatchEvent:function(Ne,Ve,Oe){ae(Ne,Object.assign({$checkbox:ue,$event:Oe},Ve))}},Object.assign(ue,pe);var $e=function(){var Ne,Ve=he.value,Oe=Ce.value,Fe=xe.value,ze=$.indeterminate;return h$2("label",{class:["vxe-checkbox",(Ne={},Ne["size--".concat(Ve)]=Ve,Ne["is--indeterminate"]=ze,Ne["is--disabled"]=Oe,Ne["is--checked"]=Fe,Ne)],title:$.title},[h$2("input",{class:"vxe-checkbox--input",type:"checkbox",disabled:Oe,checked:Fe,onChange:Ie}),h$2("span",{class:["vxe-checkbox--icon",ze?"vxe-icon-checkbox-indeterminate":Fe?"vxe-icon-checkbox-checked":"vxe-icon-checkbox-unchecked"]}),h$2("span",{class:"vxe-checkbox--label"},oe.default?oe.default({}):getFuncText($.content))])};return ue.renderVN=$e,ue},render:function(){return this.renderVN()}});function isOptionVisible($){return $.visible!==!1}function getOptUniqueId(){return xeUtils.uniqueId("opt_")}const VxeSelectComponent=defineComponent({name:"VxeSelect",props:{modelValue:null,clearable:Boolean,placeholder:String,loading:Boolean,disabled:Boolean,multiple:Boolean,multiCharOverflow:{type:[Number,String],default:function(){return GlobalConfig.select.multiCharOverflow}},prefixIcon:String,placement:String,options:Array,optionProps:Object,optionGroups:Array,optionGroupProps:Object,optionConfig:Object,className:[String,Function],max:{type:[String,Number],default:null},size:{type:String,default:function(){return GlobalConfig.select.size||GlobalConfig.size}},filterable:Boolean,filterMethod:Function,remote:Boolean,remoteMethod:Function,emptyText:String,optionId:{type:String,default:function(){return GlobalConfig.select.optionId}},optionKey:Boolean,transfer:{type:Boolean,default:function(){return GlobalConfig.select.transfer}}},emits:["update:modelValue","change","clear"],setup:function($,j){var oe=j.slots,ae=j.emit,ie=inject("$xeform",null),le=inject("$xeformiteminfo",null),de=xeUtils.uniqueId(),ue=useSize($),pe=reactive({inited:!1,staticOptions:[],fullGroupList:[],fullOptionList:[],visibleGroupList:[],visibleOptionList:[],remoteValueList:[],panelIndex:0,panelStyle:{},panelPlacement:null,currentOption:null,currentValue:null,visiblePanel:!1,animatVisible:!1,isActivated:!1,searchValue:"",searchLoading:!1}),he=ref(),_e=ref(),xe=ref(),Ce=ref(),Ie=ref(),$e={refElem:he},Ne={xID:de,props:$,context:j,reactData:pe,getRefMaps:function(){return $e}},Ve={},Oe=computed(function(){return $.optionProps||{}}),Fe=computed(function(){return $.optionGroupProps||{}}),ze=computed(function(){var Un=Oe.value;return Un.label||"label"}),Ue=computed(function(){var Un=Oe.value;return Un.value||"value"}),qe=computed(function(){var Un=Fe.value;return Un.label||"label"}),hn=computed(function(){var Un=Fe.value;return Un.options||"options"}),vn=computed(function(){var Un=$.modelValue,fo=$.multiple,vo=$.max;return fo&&vo?(Un?Un.length:0)>=xeUtils.toNumber(vo):!1}),bn=computed(function(){return Object.assign({},GlobalConfig.select.optionConfig,$.optionConfig)}),_n=computed(function(){return pe.fullGroupList.some(function(Un){return Un.options&&Un.options.length})}),kn=computed(function(){return xeUtils.toNumber($.multiCharOverflow)}),xn=function(Un,fo){return Un&&(xeUtils.isString(Un)&&(Un=oe[Un]||null),xeUtils.isFunction(Un))?getSlotVNs(Un(fo)):[]},$n=function(Un){var fo=pe.fullOptionList,vo=pe.fullGroupList,Jn=_n.value,co=Ue.value;if(Jn)for(var $o=0;$o0&&No.length>Jn?"".concat(No.substring(0,Jn),"..."):No}).join(", ")}return vo?Cn(Un):En(Un)}),Sn=function(){var Un=bn.value;return Un.keyField||$.optionId||"_X_OPTION_KEY"},wn=function(Un){var fo=Un[Sn()];return fo?encodeURIComponent(fo):""},On=function(){var Un=$.filterable,fo=$.filterMethod,vo=pe.fullOptionList,Jn=pe.fullGroupList,co=pe.searchValue,$o=_n.value,No=qe.value,jo=ze.value;return $o?Un&&fo?pe.visibleGroupList=Jn.filter(function(wo){return isOptionVisible(wo)&&fo({group:wo,option:null,searchValue:co})}):Un?pe.visibleGroupList=Jn.filter(function(wo){return isOptionVisible(wo)&&(!co||"".concat(wo[No]).indexOf(co)>-1)}):pe.visibleGroupList=Jn.filter(isOptionVisible):Un&&fo?pe.visibleOptionList=vo.filter(function(wo){return isOptionVisible(wo)&&fo({group:null,option:wo,searchValue:co})}):Un?pe.visibleOptionList=vo.filter(function(wo){return isOptionVisible(wo)&&(!co||"".concat(wo[jo]).indexOf(co)>-1)}):pe.visibleOptionList=vo.filter(isOptionVisible),nextTick()},Tn=function(){var Un=pe.fullOptionList,fo=pe.fullGroupList,vo=hn.value,Jn=Sn(),co=function($o){wn($o)||($o[Jn]=getOptUniqueId())};fo.length?fo.forEach(function($o){co($o),$o[vo]&&$o[vo].forEach(co)}):Un.length&&Un.forEach(co),On()},In=function(Un){var fo=Ue.value;Un&&(pe.currentOption=Un,pe.currentValue=Un[fo])},Bn=function(Un,fo){return nextTick().then(function(){if(Un){var vo=Ce.value,Jn=Ie.value,co=Jn.querySelector("[optid='".concat(wn(Un),"']"));if(vo&&co){var $o=vo.offsetHeight,No=5;fo?co.offsetTop+co.offsetHeight-vo.scrollTop>$o&&(vo.scrollTop=co.offsetTop+co.offsetHeight-$o):(co.offsetTop+Novo.scrollTop+vo.clientHeight)&&(vo.scrollTop=co.offsetTop-No)}}})},Dn=function(){pe.panelIndexda&&(Wo="top",pa=Yo-jo),paLo&&(ra-=ra+wo+Kn-Lo),rada&&Yo-$o-jo>Kn&&(Wo="top",zo.bottom="".concat($o,"px"));return pe.panelStyle=zo,pe.panelPlacement=Wo,nextTick()}})},Zn,Fn=function(){var Un=$.loading,fo=$.disabled,vo=$.filterable;!Un&&!fo&&(clearTimeout(Zn),pe.inited||(pe.inited=!0),pe.isActivated=!0,pe.animatVisible=!0,vo&&On(),setTimeout(function(){var Jn=$.modelValue,co=$.multiple,$o=$n(co&&Jn?Jn[0]:Jn);pe.visiblePanel=!0,$o&&(In($o),Bn($o)),bo()},10),Dn(),Xn())},Yn=function(){pe.searchValue="",pe.searchLoading=!1,pe.visiblePanel=!1,Zn=window.setTimeout(function(){pe.animatVisible=!1},350)},qn=function(Un,fo){fo!==$.modelValue&&(ae("update:modelValue",fo),Ve.dispatchEvent("change",{value:fo},Un),ie&&le&&ie.triggerItemEvent(Un,le.itemConfig.field,fo))},Vn=function(Un,fo){pe.remoteValueList=[],qn(Un,fo),Ve.dispatchEvent("clear",{value:fo},Un)},eo=function(Un,fo){Vn(fo,null),Yn()},ho=function(Un,fo,vo){var Jn=$.modelValue,co=$.multiple,$o=pe.remoteValueList;if(co){var No=void 0;Jn?Jn.indexOf(fo)===-1?No=Jn.concat([fo]):No=Jn.filter(function(wo){return wo!==fo}):No=[fo];var jo=$o.find(function(wo){return wo.key===fo});jo?jo.result=vo:$o.push({key:fo,result:vo}),qn(Un,No)}else pe.remoteValueList=[{key:fo,result:vo}],qn(Un,fo),Yn()},So=function(Un){var fo=$.disabled,vo=pe.visiblePanel;if(!fo&&vo){var Jn=Ie.value;getEventTargetNode(Un,Jn).flag?Xn():Yn()}},Ln=function(Un){var fo=$.disabled,vo=pe.visiblePanel;if(!fo){var Jn=he.value,co=Ie.value;pe.isActivated=getEventTargetNode(Un,Jn).flag||getEventTargetNode(Un,co).flag,vo&&!pe.isActivated&&Yn()}},Rn=function(Un,fo){var vo=pe.visibleOptionList,Jn=pe.visibleGroupList,co=_n.value,$o=Ue.value,No=hn.value,jo,wo,Kn,zo;if(co)for(var Ro=0;Ro-1:Jn===Lo,ra=!Kn||isOptionVisible(Ro),pa=yo(Wo,Ro,fo),aa=wn(Ro),Ha=Qo?Qo.default:null;return ra?h$2("div",{key:zo||vo?aa:Yo,class:["vxe-select-option",da?xeUtils.isFunction(da)?da({option:Ro,$select:Ne}):da:"",{"is--disabled":pa,"is--selected":Wo,"is--hover":$o===Lo}],optid:aa,onMousedown:function(Ja){var Dt=Ja.button===0;Dt&&Ja.stopPropagation()},onClick:function(Ja){pa||ho(Ja,Lo,Ro)},onMouseenter:function(){pa||In(Ro)}},Ha?xn(Ha,{option:Ro,$select:Ne}):formatText(getFuncText(Ro[jo]))):null})},go=function(){var Un=$.optionKey,fo=pe.visibleGroupList,vo=bn.value,Jn=qe.value,co=hn.value,$o=vo.useKey;return fo.map(function(No,jo){var wo=No.slots,Kn=No.className,zo=wn(No),Ro=No.disabled,Yo=wo?wo.default:null;return h$2("div",{key:$o||Un?zo:jo,class:["vxe-optgroup",Kn?xeUtils.isFunction(Kn)?Kn({option:No,$select:Ne}):Kn:"",{"is--disabled":Ro}],optid:zo},[h$2("div",{class:"vxe-optgroup--title"},Yo?xn(Yo,{option:No,$select:Ne}):getFuncText(No[Jn])),h$2("div",{class:"vxe-optgroup--wrapper"},to(No[co]||[],No))])})},_o=function(){var Un=pe.visibleGroupList,fo=pe.visibleOptionList,vo=pe.searchLoading,Jn=_n.value;if(vo)return[h$2("div",{class:"vxe-select--search-loading"},[h$2("i",{class:["vxe-select--search-icon",GlobalConfig.icon.SELECT_LOADED]}),h$2("span",{class:"vxe-select--search-text"},GlobalConfig.i18n("vxe.select.loadingText"))])];if(Jn){if(Un.length)return go()}else if(fo.length)return to(fo);return[h$2("div",{class:"vxe-select--empty-placeholder"},$.emptyText||GlobalConfig.i18n("vxe.select.emptyText"))]};Ve={dispatchEvent:function(Un,fo,vo){ae(Un,Object.assign({$select:Ne,$event:vo},fo))},isPanelVisible:function(){return pe.visiblePanel},togglePanel:function(){return pe.visiblePanel?Yn():Fn(),nextTick()},hidePanel:function(){return pe.visiblePanel&&Yn(),nextTick()},showPanel:function(){return pe.visiblePanel||Fn(),nextTick()},refreshOption:On,focus:function(){var Un=_e.value;return pe.isActivated=!0,Un.blur(),nextTick()},blur:function(){var Un=_e.value;return Un.blur(),pe.isActivated=!1,nextTick()}},Object.assign(Ne,Ve),watch(function(){return pe.staticOptions},function(Un){Un.some(function(fo){return fo.options&&fo.options.length})?(pe.fullOptionList=[],pe.fullGroupList=Un):(pe.fullGroupList=[],pe.fullOptionList=Un||[]),Tn()}),watch(function(){return $.options},function(Un){pe.fullGroupList=[],pe.fullOptionList=Un||[],Tn()}),watch(function(){return $.optionGroups},function(Un){pe.fullOptionList=[],pe.fullGroupList=Un||[],Tn()}),onMounted(function(){nextTick(function(){var Un=$.options,fo=$.optionGroups;fo?pe.fullGroupList=fo:Un&&(pe.fullOptionList=Un),Tn()}),GlobalEvent.on(Ne,"mousewheel",So),GlobalEvent.on(Ne,"mousedown",Ln),GlobalEvent.on(Ne,"keydown",Gn),GlobalEvent.on(Ne,"blur",no)}),onUnmounted(function(){GlobalEvent.off(Ne,"mousewheel"),GlobalEvent.off(Ne,"mousedown"),GlobalEvent.off(Ne,"keydown"),GlobalEvent.off(Ne,"blur")});var To=function(){var Un,fo,vo=$.className,Jn=$.transfer,co=$.disabled,$o=$.loading,No=$.filterable,jo=pe.inited,wo=pe.isActivated,Kn=pe.visiblePanel,zo=ue.value,Ro=Nn.value,Yo=oe.prefix;return h$2("div",{ref:he,class:["vxe-select",vo?xeUtils.isFunction(vo)?vo({$select:Ne}):vo:"",(Un={},Un["size--".concat(zo)]=zo,Un["is--visivle"]=Kn,Un["is--disabled"]=co,Un["is--filter"]=No,Un["is--loading"]=$o,Un["is--active"]=wo,Un)]},[h$2("div",{class:"vxe-select-slots",ref:"hideOption"},oe.default?oe.default({}):[]),h$2(VxeInputConstructor,{ref:_e,clearable:$.clearable,placeholder:$.placeholder,readonly:!0,disabled:co,type:"text",prefixIcon:$.prefixIcon,suffixIcon:$o?GlobalConfig.icon.SELECT_LOADED:Kn?GlobalConfig.icon.SELECT_OPEN:GlobalConfig.icon.SELECT_CLOSE,modelValue:Ro,onClear:eo,onClick:so,onFocus:Wn,onBlur:lo,onSuffixClick:so},Yo?{prefix:function(){return Yo({})}}:{}),h$2(Teleport,{to:"body",disabled:Jn?!jo:!0},[h$2("div",{ref:Ie,class:["vxe-table--ignore-clear vxe-select--panel",(fo={},fo["size--".concat(zo)]=zo,fo["is--transfer"]=Jn,fo["animat--leave"]=!$o&&pe.animatVisible,fo["animat--enter"]=!$o&&Kn,fo)],placement:pe.panelPlacement,style:pe.panelStyle},jo?[No?h$2("div",{class:"vxe-select-filter--wrapper"},[h$2(VxeInputConstructor,{ref:xe,class:"vxe-select-filter--input",modelValue:pe.searchValue,clearable:!0,placeholder:GlobalConfig.i18n("vxe.select.search"),prefixIcon:GlobalConfig.icon.INPUT_SEARCH,"onUpdate:modelValue":Qn,onFocus:ro,onKeydown:Hn,onChange:uo,onSearch:uo})]):createCommentVNode(),h$2("div",{ref:Ce,class:"vxe-select-option--wrapper"},_o())]:[])])])};return Ne.renderVN=To,provide("$xeselect",Ne),Ne},render:function(){return this.renderVN()}}),ExportPanelComponent=defineComponent({name:"VxeExportPanel",props:{defaultOptions:Object,storeData:Object},setup:function($){var j=inject("$xetable",{}),oe=j.getComputeMaps(),ae=oe.computeExportOpts,ie=oe.computePrintOpts,le=reactive({isAll:!1,isIndeterminate:!1,loading:!1}),de=ref(),ue=ref(),pe=ref(),he=computed(function(){var bn=$.storeData;return bn.columns.every(function(_n){return _n.checked})}),_e=computed(function(){var bn=$.defaultOptions;return["html","xml","xlsx","pdf"].indexOf(bn.type)>-1}),xe=computed(function(){var bn=$.storeData,_n=$.defaultOptions;return!_n.original&&_n.mode==="current"&&(bn.isPrint||["html","xlsx"].indexOf(_n.type)>-1)}),Ce=computed(function(){var bn=$.defaultOptions;return!bn.original&&["xlsx"].indexOf(bn.type)>-1}),Ie=function(bn){var _n=$.storeData,kn=xeUtils.findTree(_n.columns,function($n){return $n===bn});if(kn&&kn.parent){var xn=kn.parent;xn.children&&xn.children.length&&(xn.checked=xn.children.every(function($n){return $n.checked}),xn.halfChecked=!xn.checked&&xn.children.some(function($n){return $n.checked||$n.halfChecked}),Ie(xn))}},$e=function(){var bn=$.storeData,_n=bn.columns;le.isAll=_n.every(function(kn){return kn.disabled||kn.checked}),le.isIndeterminate=!le.isAll&&_n.some(function(kn){return!kn.disabled&&(kn.checked||kn.halfChecked)})},Ne=function(bn){var _n=!bn.checked;xeUtils.eachTree([bn],function(kn){kn.checked=_n,kn.halfChecked=!1}),Ie(bn),$e()},Ve=function(){var bn=$.storeData,_n=!le.isAll;xeUtils.eachTree(bn.columns,function(kn){kn.disabled||(kn.checked=_n,kn.halfChecked=!1)}),le.isAll=_n,$e()},Oe=function(){nextTick(function(){var bn=ue.value,_n=pe.value,kn=de.value,xn=bn||_n||kn;xn&&xn.focus()}),$e()},Fe=function(){var bn=$.storeData,_n=$.defaultOptions,kn=bn.hasMerge,xn=bn.columns,$n=he.value,Cn=xe.value,En=xeUtils.searchTree(xn,function(Nn){return Nn.checked},{children:"children",mapChildren:"childNodes",original:!0});return Object.assign({},_n,{columns:En,isMerge:kn&&Cn&&$n?_n.isMerge:!1})},ze=function(){var bn=$.storeData,_n=ie.value;bn.visible=!1,j.print(Object.assign({},_n,Fe()))},Ue=function(){var bn=$.storeData,_n=ae.value;le.loading=!0,j.exportData(Object.assign({},_n,Fe())).then(function(){le.loading=!1,bn.visible=!1}).catch(function(){le.loading=!1})},qe=function(){var bn=$.storeData;bn.visible=!1},hn=function(){var bn=$.storeData;bn.isPrint?ze():Ue()},vn=function(){var bn=$.defaultOptions,_n=$.storeData,kn=le.isAll,xn=le.isIndeterminate,$n=_n.hasTree,Cn=_n.hasMerge,En=_n.isPrint,Nn=_n.hasColgroup,Sn=bn.isHeader,wn=[],On=he.value,Tn=_e.value,In=xe.value,Bn=Ce.value;return xeUtils.eachTree(_n.columns,function(Dn){var Xn=formatText(Dn.getTitle(),1),Zn=Dn.children&&Dn.children.length,Fn=Dn.checked,Yn=Dn.halfChecked;wn.push(h$2("li",{class:["vxe-export--panel-column-option","level--".concat(Dn.level),{"is--group":Zn,"is--checked":Fn,"is--indeterminate":Yn,"is--disabled":Dn.disabled}],title:Xn,onClick:function(){Dn.disabled||Ne(Dn)}},[h$2("span",{class:["vxe-checkbox--icon",Yn?GlobalConfig.icon.TABLE_CHECKBOX_INDETERMINATE:Fn?GlobalConfig.icon.TABLE_CHECKBOX_CHECKED:GlobalConfig.icon.TABLE_CHECKBOX_UNCHECKED]}),h$2("span",{class:"vxe-checkbox--label"},Xn)]))}),h$2(VxeModalComponent,{modelValue:_n.visible,title:GlobalConfig.i18n(En?"vxe.export.printTitle":"vxe.export.expTitle"),width:660,mask:!0,lockView:!0,showFooter:!1,escClosable:!0,maskClosable:!0,loading:le.loading,"onUpdate:modelValue":function(Dn){_n.visible=Dn},onShow:Oe},{default:function(){return h$2("div",{class:"vxe-export--panel"},[h$2("table",{cellspacing:0,cellpadding:0,border:0},[h$2("tbody",[[En?createCommentVNode():h$2("tr",[h$2("td",GlobalConfig.i18n("vxe.export.expName")),h$2("td",[h$2(VxeInputConstructor,{ref:ue,modelValue:bn.filename,type:"text",clearable:!0,placeholder:GlobalConfig.i18n("vxe.export.expNamePlaceholder"),"onUpdate:modelValue":function(Dn){bn.filename=Dn}})])]),En?createCommentVNode():h$2("tr",[h$2("td",GlobalConfig.i18n("vxe.export.expType")),h$2("td",[h$2(VxeSelectComponent,{modelValue:bn.type,options:_n.typeList.map(function(Dn){return{value:Dn.value,label:GlobalConfig.i18n(Dn.label)}}),"onUpdate:modelValue":function(Dn){bn.type=Dn}})])]),En||Tn?h$2("tr",[h$2("td",GlobalConfig.i18n("vxe.export.expSheetName")),h$2("td",[h$2(VxeInputConstructor,{ref:pe,modelValue:bn.sheetName,type:"text",clearable:!0,placeholder:GlobalConfig.i18n("vxe.export.expSheetNamePlaceholder"),"onUpdate:modelValue":function(Dn){bn.sheetName=Dn}})])]):createCommentVNode(),h$2("tr",[h$2("td",GlobalConfig.i18n("vxe.export.expMode")),h$2("td",[h$2(VxeSelectComponent,{modelValue:bn.mode,options:_n.modeList.map(function(Dn){return{value:Dn.value,label:GlobalConfig.i18n(Dn.label)}}),"onUpdate:modelValue":function(Dn){bn.mode=Dn}})])]),h$2("tr",[h$2("td",[GlobalConfig.i18n("vxe.export.expColumn")]),h$2("td",[h$2("div",{class:"vxe-export--panel-column"},[h$2("ul",{class:"vxe-export--panel-column-header"},[h$2("li",{class:["vxe-export--panel-column-option",{"is--checked":kn,"is--indeterminate":xn}],title:GlobalConfig.i18n("vxe.table.allTitle"),onClick:Ve},[h$2("span",{class:["vxe-checkbox--icon",xn?GlobalConfig.icon.TABLE_CHECKBOX_INDETERMINATE:kn?GlobalConfig.icon.TABLE_CHECKBOX_CHECKED:GlobalConfig.icon.TABLE_CHECKBOX_UNCHECKED]}),h$2("span",{class:"vxe-checkbox--label"},GlobalConfig.i18n("vxe.export.expCurrentColumn"))])]),h$2("ul",{class:"vxe-export--panel-column-body"},wn)])])]),h$2("tr",[h$2("td",GlobalConfig.i18n("vxe.export.expOpts")),h$2("td",[h$2("div",{class:"vxe-export--panel-option-row"},[h$2(VxeCheckboxComponent,{modelValue:bn.isHeader,title:GlobalConfig.i18n("vxe.export.expHeaderTitle"),content:GlobalConfig.i18n("vxe.export.expOptHeader"),"onUpdate:modelValue":function(Dn){bn.isHeader=Dn}}),h$2(VxeCheckboxComponent,{modelValue:bn.isFooter,disabled:!_n.hasFooter,title:GlobalConfig.i18n("vxe.export.expFooterTitle"),content:GlobalConfig.i18n("vxe.export.expOptFooter"),"onUpdate:modelValue":function(Dn){bn.isFooter=Dn}}),h$2(VxeCheckboxComponent,{modelValue:bn.original,title:GlobalConfig.i18n("vxe.export.expOriginalTitle"),content:GlobalConfig.i18n("vxe.export.expOptOriginal"),"onUpdate:modelValue":function(Dn){bn.original=Dn}})]),h$2("div",{class:"vxe-export--panel-option-row"},[h$2(VxeCheckboxComponent,{modelValue:Sn&&Nn&&In?bn.isColgroup:!1,title:GlobalConfig.i18n("vxe.export.expColgroupTitle"),disabled:!Sn||!Nn||!In,content:GlobalConfig.i18n("vxe.export.expOptColgroup"),"onUpdate:modelValue":function(Dn){bn.isColgroup=Dn}}),h$2(VxeCheckboxComponent,{modelValue:Cn&&In&&On?bn.isMerge:!1,title:GlobalConfig.i18n("vxe.export.expMergeTitle"),disabled:!Cn||!In||!On,content:GlobalConfig.i18n("vxe.export.expOptMerge"),"onUpdate:modelValue":function(Dn){bn.isMerge=Dn}}),En?createCommentVNode():h$2(VxeCheckboxComponent,{modelValue:Bn?bn.useStyle:!1,disabled:!Bn,title:GlobalConfig.i18n("vxe.export.expUseStyleTitle"),content:GlobalConfig.i18n("vxe.export.expOptUseStyle"),"onUpdate:modelValue":function(Dn){bn.useStyle=Dn}}),h$2(VxeCheckboxComponent,{modelValue:$n?bn.isAllExpand:!1,disabled:!$n,title:GlobalConfig.i18n("vxe.export.expAllExpandTitle"),content:GlobalConfig.i18n("vxe.export.expOptAllExpand"),"onUpdate:modelValue":function(Dn){bn.isAllExpand=Dn}})])])])]])]),h$2("div",{class:"vxe-export--panel-btns"},[h$2(VxeButtonComponent,{content:GlobalConfig.i18n("vxe.export.expCancel"),onClick:qe}),h$2(VxeButtonComponent,{ref:de,status:"primary",content:GlobalConfig.i18n(En?"vxe.export.expPrint":"vxe.export.expConfirm"),onClick:hn})])])}})};return vn}}),VxeRadioGroupComponent=defineComponent({name:"VxeRadioGroup",props:{modelValue:[String,Number,Boolean],disabled:Boolean,strict:{type:Boolean,default:function(){return GlobalConfig.radio.strict}},size:{type:String,default:function(){return GlobalConfig.radio.size||GlobalConfig.size}}},emits:["update:modelValue","change"],setup:function($,j){var oe=j.slots,ae=j.emit,ie=inject("$xeform",null),le=inject("$xeformiteminfo",null),de=xeUtils.uniqueId(),ue={xID:de,props:$,context:j,name:xeUtils.uniqueId("xegroup_")},pe={};useSize($);var he={handleChecked:function(xe,Ce){ae("update:modelValue",xe.label),pe.dispatchEvent("change",xe),ie&&le&&ie.triggerItemEvent(Ce,le.itemConfig.field,xe.label)}};pe={dispatchEvent:function(xe,Ce,Ie){ae(xe,Object.assign({$radioGroup:ue,$event:Ie},Ce))}};var _e=function(){return h$2("div",{class:"vxe-radio-group"},oe.default?oe.default({}):[])};return Object.assign(ue,he,{renderVN:_e,dispatchEvent}),provide("$xeradiogroup",ue),_e}}),VxeRadioComponent=defineComponent({name:"VxeRadio",props:{modelValue:[String,Number,Boolean],label:{type:[String,Number,Boolean],default:null},title:[String,Number],content:[String,Number],disabled:Boolean,name:String,strict:{type:Boolean,default:function(){return GlobalConfig.radio.strict}},size:{type:String,default:function(){return GlobalConfig.radio.size||GlobalConfig.size}}},emits:["update:modelValue","change"],setup:function($,j){var oe=j.slots,ae=j.emit,ie=inject("$xeform",null),le=inject("$xeformiteminfo",null),de=xeUtils.uniqueId(),ue={xID:de,props:$,context:j},pe=useSize($),he=inject("$xeradiogroup",null),_e={},xe=computed(function(){return $.disabled||he&&he.props.disabled}),Ce=computed(function(){return he?he.name:$.name}),Ie=computed(function(){return he?he.props.strict:$.strict}),$e=computed(function(){var ze=$.modelValue,Ue=$.label;return he?he.props.modelValue===Ue:ze===Ue}),Ne=function(ze,Ue){he?he.handleChecked({label:ze},Ue):(ae("update:modelValue",ze),_e.dispatchEvent("change",{label:ze},Ue),ie&&le&&ie.triggerItemEvent(Ue,le.itemConfig.field,ze))},Ve=function(ze){var Ue=xe.value;Ue||Ne($.label,ze)},Oe=function(ze){var Ue=xe.value,qe=Ie.value;!Ue&&!qe&&$.label===(he?he.props.modelValue:$.modelValue)&&Ne(null,ze)};_e={dispatchEvent:function(ze,Ue,qe){ae(ze,Object.assign({$radio:ue,$event:qe},Ue))}},Object.assign(ue,_e);var Fe=function(){var ze,Ue=pe.value,qe=xe.value,hn=Ce.value,vn=$e.value;return h$2("label",{class:["vxe-radio",(ze={},ze["size--".concat(Ue)]=Ue,ze["is--checked"]=vn,ze["is--disabled"]=qe,ze)],title:$.title},[h$2("input",{class:"vxe-radio--input",type:"radio",name:hn,checked:vn,disabled:qe,onChange:Ve,onClick:Oe}),h$2("span",{class:["vxe-radio--icon",vn?"vxe-icon-radio-checked":"vxe-icon-radio-unchecked"]}),h$2("span",{class:"vxe-radio--label"},oe.default?oe.default({}):getFuncText($.content))])};return ue.renderVN=Fe,ue},render:function(){return this.renderVN()}}),ImportPanelComponent=defineComponent({name:"VxeImportPanel",props:{defaultOptions:Object,storeData:Object},setup:function($){var j=inject("$xetable",{}),oe=j.getComputeMaps().computeImportOpts,ae=reactive({loading:!1}),ie=ref(),le=computed(function(){var $e=$.storeData;return"".concat($e.filename,".").concat($e.type)}),de=computed(function(){var $e=$.storeData;return $e.file&&$e.type}),ue=computed(function(){var $e=$.storeData,Ne=$e.type,Ve=$e.typeList;if(Ne){var Oe=xeUtils.find(Ve,function(Fe){return Ne===Fe.value});return Oe?GlobalConfig.i18n(Oe.label):"*.*"}return"*.".concat(Ve.map(function(Fe){return Fe.value}).join(", *."))}),pe=function(){var $e=$.storeData;Object.assign($e,{filename:"",sheetName:"",type:""})},he=function(){var $e=$.storeData,Ne=$.defaultOptions;j.readFile(Ne).then(function(Ve){var Oe=Ve.file;Object.assign($e,parseFile(Oe),{file:Oe})}).catch(function(Ve){return Ve})},_e=function(){nextTick(function(){var $e=ie.value;$e&&$e.focus()})},xe=function(){var $e=$.storeData;$e.visible=!1},Ce=function(){var $e=$.storeData,Ne=$.defaultOptions,Ve=oe.value;ae.loading=!0,j.importByFile($e.file,Object.assign({},Ve,Ne)).then(function(){ae.loading=!1,$e.visible=!1}).catch(function(){ae.loading=!1})},Ie=function(){var $e=$.defaultOptions,Ne=$.storeData,Ve=le.value,Oe=de.value,Fe=ue.value;return h$2(VxeModalComponent,{modelValue:Ne.visible,title:GlobalConfig.i18n("vxe.import.impTitle"),width:440,mask:!0,lockView:!0,showFooter:!1,escClosable:!0,maskClosable:!0,loading:ae.loading,"onUpdate:modelValue":function(ze){Ne.visible=ze},onShow:_e},{default:function(){return h$2("div",{class:"vxe-export--panel"},[h$2("table",{cellspacing:0,cellpadding:0,border:0},[h$2("tbody",[h$2("tr",[h$2("td",GlobalConfig.i18n("vxe.import.impFile")),h$2("td",[Oe?h$2("div",{class:"vxe-import-selected--file",title:Ve},[h$2("span",Ve),h$2("i",{class:GlobalConfig.icon.INPUT_CLEAR,onClick:pe})]):h$2("button",{ref:ie,class:"vxe-import-select--file",onClick:he},GlobalConfig.i18n("vxe.import.impSelect"))])]),h$2("tr",[h$2("td",GlobalConfig.i18n("vxe.import.impType")),h$2("td",Fe)]),h$2("tr",[h$2("td",GlobalConfig.i18n("vxe.import.impOpts")),h$2("td",[h$2(VxeRadioGroupComponent,{modelValue:$e.mode,"onUpdate:modelValue":function(ze){$e.mode=ze}},{default:function(){return Ne.modeList.map(function(ze){return h$2(VxeRadioComponent,{label:ze.value,content:GlobalConfig.i18n(ze.label)})})}})])])])]),h$2("div",{class:"vxe-export--panel-btns"},[h$2(VxeButtonComponent,{content:GlobalConfig.i18n("vxe.import.impCancel"),onClick:xe}),h$2(VxeButtonComponent,{status:"primary",disabled:!Oe,content:GlobalConfig.i18n("vxe.import.impConfirm"),onClick:Ce})])])}})};return Ie}});var fileForm,fileInput,printFrame,defaultHtmlStyle='body{margin:0;color:#333333;font-size:14px;font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu}body *{-webkit-box-sizing:border-box;box-sizing:border-box}.vxe-table{border-collapse:collapse;text-align:left;border-spacing:0}.vxe-table:not(.is--print){table-layout:fixed}.vxe-table,.vxe-table th,.vxe-table td,.vxe-table td{border-color:#D0D0D0;border-style:solid;border-width:0}.vxe-table.is--print{width:100%}.border--default,.border--full,.border--outer{border-top-width:1px}.border--default,.border--full,.border--outer{border-left-width:1px}.border--outer,.border--default th,.border--default td,.border--full th,.border--full td,.border--outer th,.border--inner th,.border--inner td{border-bottom-width:1px}.border--default,.border--outer,.border--full th,.border--full td{border-right-width:1px}.border--default th,.border--full th,.border--outer th{background-color:#f8f8f9}.vxe-table td>div,.vxe-table th>div{padding:.5em .4em}.col--center{text-align:center}.col--right{text-align:right}.vxe-table:not(.is--print) .col--ellipsis>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.vxe-table--tree-node{text-align:left}.vxe-table--tree-node-wrapper{position:relative}.vxe-table--tree-icon-wrapper{position:absolute;top:50%;width:1em;height:1em;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.vxe-table--tree-unfold-icon,.vxe-table--tree-fold-icon{position:absolute;width:0;height:0;border-style:solid;border-width:.5em;border-right-color:transparent;border-bottom-color:transparent}.vxe-table--tree-unfold-icon{left:.3em;top:0;border-left-color:#939599;border-top-color:transparent}.vxe-table--tree-fold-icon{left:0;top:.3em;border-left-color:transparent;border-top-color:#939599}.vxe-table--tree-cell{display:block;padding-left:1.5em}.vxe-table input[type="checkbox"]{margin:0}.vxe-table input[type="checkbox"],.vxe-table input[type="radio"],.vxe-table input[type="checkbox"]+span,.vxe-table input[type="radio"]+span{vertical-align:middle;padding-left:0.4em}';function createFrame(){var $=document.createElement("iframe");return $.className="vxe-table--print-frame",$}function getExportBlobByContent($,j){return new Blob([$],{type:"text/".concat(j.type,";charset=utf-8;")})}function createHtmlPage($,j){var oe=$.style;return["","",'',"".concat($.sheetName,""),""),oe?""):"","","".concat(j,""),""].join("")}var readLocalFile=function($){var j=Object.assign({},$);return fileForm||(fileForm=document.createElement("form"),fileInput=document.createElement("input"),fileForm.className="vxe-table--file-form",fileInput.name="file",fileInput.type="file",fileForm.appendChild(fileInput),document.body.appendChild(fileForm)),new Promise(function(oe,ae){var ie=j.types||[],le=!ie.length||ie.some(function(de){return de==="*"});fileInput.multiple=!!j.multiple,fileInput.accept=le?"":".".concat(ie.join(", .")),fileInput.onchange=function(de){var ue=de.target.files,pe=ue[0],he="";if(!le)for(var _e=0;_e-1}var getConvertColumns=function($){var j=[];return $.forEach(function(oe){oe.childNodes&&oe.childNodes.length?(j.push(oe),j.push.apply(j,getConvertColumns(oe.childNodes))):j.push(oe)}),j},convertToRows$1=function($){var j=1,oe=function(de,ue){if(ue&&(de._level=ue._level+1,j=12&&!isNaN(j))return" ".concat(j);break}}return j}function toTxtCellLabel($){return/[",\s\n]/.test($)?'"'.concat($.replace(/"/g,'""'),'"'):$}function getElementsByTagName($,j){return $.getElementsByTagName(j)}function getTxtCellKey($){return"#".concat($,"@").concat(xeUtils.uniqueId())}function replaceTxtCell($,j){return $.replace(/#\d+@\d+/g,function(oe){return xeUtils.hasOwnProp(j,oe)?j[oe]:oe})}function getTxtCellValue($,j){var oe=replaceTxtCell($,j);return oe.replace(/^"+$/g,function(ae){return'"'.repeat(Math.ceil(ae.length/2))})}function parseCsvAndTxt($,j,oe){var ae=j.split(enterSymbol),ie=[],le=[];if(ae.length){var de={},ue=Date.now();ae.forEach(function(pe){if(pe){var he={};pe=pe.replace(/("")|(\n)/g,function(xe,Ce){var Ie=getTxtCellKey(ue);return de[Ie]=Ce?'"':` +`,Ie}).replace(/"(.*?)"/g,function(xe,Ce){var Ie=getTxtCellKey(ue);return de[Ie]=replaceTxtCell(Ce,de),Ie});var _e=pe.split(oe);le.length?(_e.forEach(function(xe,Ce){Ce-1})}var tableExportMethodKeys=["exportData","importByFile","importData","saveFile","readFile","print","openImport","openExport","openPrint"],tableExportHook={setupTable:function($){var j=$.props,oe=$.reactData,ae=$.internalData,ie=$.getComputeMaps(),le=ie.computeTreeOpts,de=ie.computePrintOpts,ue=ie.computeExportOpts,pe=ie.computeImportOpts,he=ie.computeCustomOpts,_e=ie.computeSeqOpts,xe=ie.computeRadioOpts,Ce=ie.computeCheckboxOpts,Ie=inject("$xegrid",null),$e=function(Sn){var wn=le.value;return Sn[wn.children]&&Sn[wn.children].length},Ne=function(Sn,wn,On,Tn){var In=_e.value,Bn=In.seqMethod||On.seqMethod;return Bn?Bn({row:Sn,rowIndex:$.getRowIndex(Sn),$rowIndex:wn,column:On,columnIndex:$.getColumnIndex(On),$columnIndex:Tn}):$.getRowSeq(Sn)},Ve=function(Sn){return xeUtils.isBoolean(Sn)?Sn?"TRUE":"FALSE":Sn},Oe=function(Sn,wn,On){var Tn=Sn.isAllExpand,In=Sn.mode,Bn=j.treeConfig,Dn=xe.value,Xn=Ce.value,Zn=le.value;if(htmlCellElem||(htmlCellElem=document.createElement("div")),Bn){var Fn=[],Yn=new Map;return xeUtils.eachTree(On,function(qn,Vn,eo,ho,So,Ln){var Rn=qn._row||qn,Gn=So&&So._row?So._row:So;if(Tn||!Gn||Yn.has(Gn)&&$.isTreeExpandByRow(Gn)){var no=$e(Rn),bo={_row:Rn,_level:Ln.length-1,_hasChild:no,_expand:no&&$.isTreeExpandByRow(Rn)};wn.forEach(function(Wn,lo){var Qn="",ro=Wn.editRender||Wn.cellRender,Hn=Wn.exportMethod;if(!Hn&&ro&&ro.name){var uo=VXETable.renderer.get(ro.name);uo&&(Hn=uo.exportMethod)}if(Hn)Qn=Hn({$table:$,row:Rn,column:Wn,options:Sn});else switch(Wn.type){case"seq":Qn=In==="all"?ho.map(function(yo,to){return to%2===0?Number(yo)+1:"."}).join(""):Ne(Rn,Vn,Wn,lo);break;case"checkbox":Qn=Ve($.isCheckedByCheckboxRow(Rn)),bo._checkboxLabel=Xn.labelField?xeUtils.get(Rn,Xn.labelField):"",bo._checkboxDisabled=Xn.checkMethod&&!Xn.checkMethod({row:Rn});break;case"radio":Qn=Ve($.isCheckedByRadioRow(Rn)),bo._radioLabel=Dn.labelField?xeUtils.get(Rn,Dn.labelField):"",bo._radioDisabled=Dn.checkMethod&&!Dn.checkMethod({row:Rn});break;default:if(Sn.original)Qn=getCellValue(Rn,Wn);else if(Qn=$.getCellLabel(Rn,Wn),Wn.type==="html")htmlCellElem.innerHTML=Qn,Qn=htmlCellElem.innerText.trim();else{var so=$.getCell(Rn,Wn);so&&(Qn=so.innerText.trim())}}bo[Wn.id]=xeUtils.toValueString(Qn)}),Yn.set(Rn,1),Fn.push(Object.assign(bo,Rn))}},Zn),Fn}return On.map(function(qn,Vn){var eo={_row:qn};return wn.forEach(function(ho,So){var Ln="",Rn=ho.editRender||ho.cellRender,Gn=ho.exportMethod;if(!Gn&&Rn&&Rn.name){var no=VXETable.renderer.get(Rn.name);no&&(Gn=no.exportMethod)}if(Gn)Ln=Gn({$table:$,row:qn,column:ho,options:Sn});else switch(ho.type){case"seq":Ln=In==="all"?Vn+1:Ne(qn,Vn,ho,So);break;case"checkbox":Ln=Ve($.isCheckedByCheckboxRow(qn)),eo._checkboxLabel=Xn.labelField?xeUtils.get(qn,Xn.labelField):"",eo._checkboxDisabled=Xn.checkMethod&&!Xn.checkMethod({row:qn});break;case"radio":Ln=Ve($.isCheckedByRadioRow(qn)),eo._radioLabel=Dn.labelField?xeUtils.get(qn,Dn.labelField):"",eo._radioDisabled=Dn.checkMethod&&!Dn.checkMethod({row:qn});break;default:if(Sn.original)Ln=getCellValue(qn,ho);else if(Ln=$.getCellLabel(qn,ho),ho.type==="html")htmlCellElem.innerHTML=Ln,Ln=htmlCellElem.innerText.trim();else{var bo=$.getCell(qn,ho);bo&&(Ln=bo.innerText.trim())}}eo[ho.id]=xeUtils.toValueString(Ln)}),eo})},Fe=function(Sn){var wn=Sn.columns,On=Sn.dataFilterMethod,Tn=Sn.data;return On&&(Tn=Tn.filter(function(In,Bn){return On({row:In,$rowIndex:Bn})})),Oe(Sn,wn,Tn)},ze=function(Sn,wn,On){var Tn=On.editRender||On.cellRender,In=On.footerExportMethod;if(!In&&Tn&&Tn.name){var Bn=VXETable.renderer.get(Tn.name);Bn&&(In=Bn.footerExportMethod)}var Dn=$.getVTColumnIndex(On),Xn=In?In({$table:$,items:wn,itemIndex:Dn,_columnIndex:Dn,column:On,options:Sn}):xeUtils.toValueString(wn[Dn]);return Xn},Ue=function(Sn,wn,On){var Tn=csvBOM;if(Sn.isHeader&&(Tn+=wn.map(function(Dn){return toTxtCellLabel(getHeaderTitle(Sn,Dn))}).join(",")+enterSymbol),On.forEach(function(Dn){Tn+=wn.map(function(Xn){return toTxtCellLabel(getCsvCellTypeLabel(Xn,Dn[Xn.id]))}).join(",")+enterSymbol}),Sn.isFooter){var In=oe.footerTableData,Bn=getFooterData(Sn,In);Bn.forEach(function(Dn){Tn+=wn.map(function(Xn){return toTxtCellLabel(ze(Sn,Dn,Xn))}).join(",")+enterSymbol})}return Tn},qe=function(Sn,wn,On){var Tn="";if(Sn.isHeader&&(Tn+=wn.map(function(Dn){return toTxtCellLabel(getHeaderTitle(Sn,Dn))}).join(" ")+enterSymbol),On.forEach(function(Dn){Tn+=wn.map(function(Xn){return toTxtCellLabel(Dn[Xn.id])}).join(" ")+enterSymbol}),Sn.isFooter){var In=oe.footerTableData,Bn=getFooterData(Sn,In);Bn.forEach(function(Dn){Tn+=wn.map(function(Xn){return toTxtCellLabel(ze(Sn,Dn,Xn))}).join(",")+enterSymbol})}return Tn},hn=function(Sn,wn,On){var Tn=Sn[wn],In=xeUtils.isUndefined(Tn)||xeUtils.isNull(Tn)?On:Tn,Bn=In==="ellipsis",Dn=In==="title",Xn=In===!0||In==="tooltip",Zn=Dn||Xn||Bn,Fn=oe.scrollXLoad,Yn=oe.scrollYLoad;return(Fn||Yn)&&!Zn&&(Zn=!0),Zn},vn=function(Sn,wn,On){var Tn=j.id,In=j.border,Bn=j.treeConfig,Dn=j.headerAlign,Xn=j.align,Zn=j.footerAlign,Fn=j.showOverflow,Yn=j.showHeaderOverflow,qn=oe.isAllSelected,Vn=oe.isIndeterminate,eo=oe.mergeList,ho=le.value,So=Sn.print,Ln=Sn.isHeader,Rn=Sn.isFooter,Gn=Sn.isColgroup,no=Sn.isMerge,bo=Sn.colgroups,Wn=Sn.original,lo="check-all",Qn=["vxe-table","border--".concat(toTableBorder(In)),So?"is--print":"",Ln?"is--header":""].filter(function(yo){return yo}),ro=[''),"".concat(wn.map(function(yo){return'')}).join(""),"")];if(Ln&&(ro.push(""),Gn&&!Wn?bo.forEach(function(yo){ro.push("".concat(yo.map(function(to){var go=to.headerAlign||to.align||Dn||Xn,_o=hn(to,"showHeaderOverflow",Yn)?["col--ellipsis"]:[],To=getHeaderTitle(Sn,to),Un=0,fo=0;xeUtils.eachTree([to],function(Jn){(!Jn.childNodes||!to.childNodes.length)&&fo++,Un+=Jn.renderWidth},{children:"childNodes"});var vo=Un-fo;return go&&_o.push("col--".concat(go)),to.type==="checkbox"?'"):'")}).join(""),""))}):ro.push("".concat(wn.map(function(yo){var to=yo.headerAlign||yo.align||Dn||Xn,go=hn(yo,"showHeaderOverflow",Yn)?["col--ellipsis"]:[],_o=getHeaderTitle(Sn,yo);return to&&go.push("col--".concat(to)),yo.type==="checkbox"?'"):'")}).join(""),"")),ro.push("")),On.length&&(ro.push(""),Bn?On.forEach(function(yo){ro.push(""+wn.map(function(to){var go=to.align||Xn,_o=hn(to,"showOverflow",Fn)?["col--ellipsis"]:[],To=yo[to.id];if(go&&_o.push("col--".concat(go)),to.treeNode){var Un="";return yo._hasChild&&(Un='')),_o.push("vxe-table--tree-node"),to.type==="radio"?'"):to.type==="checkbox"?'"):'")}return to.type==="radio"?'"):to.type==="checkbox"?'"):'")}).join("")+"")}):On.forEach(function(yo){ro.push(""+wn.map(function(to){var go=to.align||Xn,_o=hn(to,"showOverflow",Fn)?["col--ellipsis"]:[],To=yo[to.id],Un=1,fo=1;if(no&&eo.length){var vo=$.getVTRowIndex(yo._row),Jn=$.getVTColumnIndex(to),co=mergeBodyMethod(eo,vo,Jn);if(co){var $o=co.rowspan,No=co.colspan;if(!$o||!No)return"";$o>1&&(Un=$o),No>1&&(fo=No)}}return go&&_o.push("col--".concat(go)),to.type==="radio"?'"):to.type==="checkbox"?'"):'")}).join("")+"")}),ro.push("")),Rn){var Hn=oe.footerTableData,uo=getFooterData(Sn,Hn);uo.length&&(ro.push(""),uo.forEach(function(yo){ro.push("".concat(wn.map(function(to){var go=to.footerAlign||to.align||Zn||Xn,_o=hn(to,"showOverflow",Fn)?["col--ellipsis"]:[],To=ze(Sn,yo,to);return go&&_o.push("col--".concat(go)),'")}).join(""),""))}),ro.push(""))}var so=!qn&&Vn?' + + + + + + + Fantastic-admin 专业版 + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    载入中
    +
    +
    +
    为了您的体验,推荐使用以下浏览器
    + +
    +
    + + + + diff --git a/index.html.br b/index.html.br new file mode 100644 index 0000000..2e6432f Binary files /dev/null and b/index.html.br differ diff --git a/index.html.gz b/index.html.gz new file mode 100644 index 0000000..3d4a615 Binary files /dev/null and b/index.html.gz differ diff --git a/loading.css b/loading.css new file mode 100644 index 0000000..ac2d551 --- /dev/null +++ b/loading.css @@ -0,0 +1,92 @@ +#app { + height: 100%; +} + +.fantastic-admin-home { + position: absolute; + z-index: 10000; + top: 0; + left: 0; + height: 100%; + width: 100%; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + user-select: none; + color: #736477; + background-color: snow; +} + +.fantastic-admin-home .loading { + height: 40px; + width: 40px; + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; +} + +.fantastic-admin-home .loading .square { + display: flex; + align-items: center; + justify-content: center; + height: 20px; + width: 20px; +} + +.fantastic-admin-home .loading .square::before { + content: ""; + width: 10px; + height: 10px; + border-radius: 15%; + border: 3px solid #8c858f; + animation: square-to-dot-animation 2s linear infinite; +} + +.fantastic-admin-home .loading .square:nth-child(1)::before { + animation-delay: calc(150ms * 1); +} + +.fantastic-admin-home .loading .square:nth-child(2)::before { + animation-delay: calc(150ms * 2); +} + +.fantastic-admin-home .loading .square:nth-child(3)::before { + animation-delay: calc(150ms * 3); +} + +.fantastic-admin-home .loading .square:nth-child(4)::before { + animation-delay: calc(150ms * 4); +} + +@keyframes square-to-dot-animation { + 15%, + 25% { + border-radius: 100%; + width: 0; + height: 0; + margin: 5px; + border-width: 5px; + } + + 40% { + border-radius: 15%; + width: 10px; + height: 10px; + margin: initial; + border-width: 3px; + } +} + +.fantastic-admin-home .text { + position: relative; + font-size: 24px; + margin-top: 20px; +} + +.fantastic-admin-home .text::after { + content: '…'; + position: absolute; + padding-left: 5px; +} diff --git a/loading.css.br b/loading.css.br new file mode 100644 index 0000000..aa5bdf4 Binary files /dev/null and b/loading.css.br differ diff --git a/loading.css.gz b/loading.css.gz new file mode 100644 index 0000000..911f37b Binary files /dev/null and b/loading.css.gz differ diff --git a/tinymce/langs/zh-Hans.js b/tinymce/langs/zh-Hans.js new file mode 100644 index 0000000..58c59b2 --- /dev/null +++ b/tinymce/langs/zh-Hans.js @@ -0,0 +1,7 @@ +/*! + * TinyMCE Language Pack + * + * Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc. + * Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/ + */ +tinymce.addI18n("zh-Hans",{"Redo":"\u91cd\u505a","Undo":"\u64a4\u9500","Cut":"\u526a\u5207","Copy":"\u590d\u5236","Paste":"\u7c98\u8d34","Select all":"\u5168\u9009","New document":"\u65b0\u5efa\u6587\u6863","Ok":"\u786e\u5b9a","Cancel":"\u53d6\u6d88","Visual aids":"\u7f51\u683c\u7ebf","Bold":"\u7c97\u4f53","Italic":"\u659c\u4f53","Underline":"\u4e0b\u5212\u7ebf","Strikethrough":"\u5220\u9664\u7ebf","Superscript":"\u4e0a\u6807","Subscript":"\u4e0b\u6807","Clear formatting":"\u6e05\u9664\u683c\u5f0f","Remove":"\u79fb\u9664","Align left":"\u5de6\u5bf9\u9f50","Align center":"\u5c45\u4e2d\u5bf9\u9f50","Align right":"\u53f3\u5bf9\u9f50","No alignment":"\u672a\u5bf9\u9f50","Justify":"\u4e24\u7aef\u5bf9\u9f50","Bullet list":"\u65e0\u5e8f\u5217\u8868","Numbered list":"\u6709\u5e8f\u5217\u8868","Decrease indent":"\u51cf\u5c11\u7f29\u8fdb","Increase indent":"\u589e\u52a0\u7f29\u8fdb","Close":"\u5173\u95ed","Formats":"\u683c\u5f0f","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u6253\u5f00\u526a\u8d34\u677f\uff0c\u8bf7\u4f7f\u7528Ctrl+X/C/V\u7b49\u5feb\u6377\u952e\u3002","Headings":"\u6807\u9898","Heading 1":"\u4e00\u7ea7\u6807\u9898","Heading 2":"\u4e8c\u7ea7\u6807\u9898","Heading 3":"\u4e09\u7ea7\u6807\u9898","Heading 4":"\u56db\u7ea7\u6807\u9898","Heading 5":"\u4e94\u7ea7\u6807\u9898","Heading 6":"\u516d\u7ea7\u6807\u9898","Preformatted":"\u9884\u5148\u683c\u5f0f\u5316\u7684","Div":"Div","Pre":"\u524d\u8a00","Code":"\u4ee3\u7801","Paragraph":"\u6bb5\u843d","Blockquote":"\u5f15\u6587\u533a\u5757","Inline":"\u6587\u672c","Blocks":"\u6837\u5f0f","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"\u5f53\u524d\u4e3a\u7eaf\u6587\u672c\u7c98\u8d34\u6a21\u5f0f\uff0c\u518d\u6b21\u70b9\u51fb\u53ef\u4ee5\u56de\u5230\u666e\u901a\u7c98\u8d34\u6a21\u5f0f\u3002","Fonts":"\u5b57\u4f53","Font sizes":"\u5b57\u4f53\u5927\u5c0f","Class":"\u7c7b\u578b","Browse for an image":"\u6d4f\u89c8\u56fe\u50cf","OR":"\u6216","Drop an image here":"\u62d6\u653e\u4e00\u5f20\u56fe\u50cf\u81f3\u6b64","Upload":"\u4e0a\u4f20","Uploading image":"\u4e0a\u4f20\u56fe\u7247","Block":"\u5757","Align":"\u5bf9\u9f50","Default":"\u9884\u8bbe","Circle":"\u7a7a\u5fc3\u5706","Disc":"\u5b9e\u5fc3\u5706","Square":"\u5b9e\u5fc3\u65b9\u5757","Lower Alpha":"\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd","Lower Greek":"\u5c0f\u5199\u5e0c\u814a\u5b57\u6bcd","Lower Roman":"\u5c0f\u5199\u7f57\u9a6c\u6570\u5b57","Upper Alpha":"\u5927\u5199\u82f1\u6587\u5b57\u6bcd","Upper Roman":"\u5927\u5199\u7f57\u9a6c\u6570\u5b57","Anchor...":"\u951a\u70b9...","Anchor":"\u951a\u70b9","Name":"\u540d\u79f0","ID":"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"ID\u5e94\u8be5\u4ee5\u82f1\u6587\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u9762\u53ea\u80fd\u6709\u82f1\u6587\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7834\u6298\u53f7\u3001\u70b9\u3001\u5192\u53f7\u6216\u4e0b\u5212\u7ebf\u3002","You have unsaved changes are you sure you want to navigate away?":"\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f","Restore last draft":"\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f","Special character...":"\u7279\u6b8a\u5b57\u7b26...","Special Character":"\u7279\u6b8a\u5b57\u7b26","Source code":"\u6e90\u4ee3\u7801","Insert/Edit code sample":"\u63d2\u5165/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b","Language":"\u8bed\u8a00","Code sample...":"\u793a\u4f8b\u4ee3\u7801...","Left to right":"\u7531\u5de6\u5230\u53f3","Right to left":"\u7531\u53f3\u5230\u5de6","Title":"\u6807\u9898","Fullscreen":"\u5168\u5c4f","Action":"\u52a8\u4f5c","Shortcut":"\u5feb\u6377\u65b9\u5f0f","Help":"\u5e2e\u52a9","Address":"\u5730\u5740","Focus to menubar":"\u79fb\u52a8\u7126\u70b9\u5230\u83dc\u5355\u680f","Focus to toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u5de5\u5177\u680f","Focus to element path":"\u79fb\u52a8\u7126\u70b9\u5230\u5143\u7d20\u8def\u5f84","Focus to contextual toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u4e0a\u4e0b\u6587\u83dc\u5355","Insert link (if link plugin activated)":"\u63d2\u5165\u94fe\u63a5 (\u5982\u679c\u94fe\u63a5\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Save (if save plugin activated)":"\u4fdd\u5b58(\u5982\u679c\u4fdd\u5b58\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Find (if searchreplace plugin activated)":"\u67e5\u627e(\u5982\u679c\u67e5\u627e\u66ff\u6362\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Plugins installed ({0}):":"\u5df2\u5b89\u88c5\u63d2\u4ef6 ({0}):","Premium plugins:":"\u4f18\u79c0\u63d2\u4ef6\uff1a","Learn more...":"\u4e86\u89e3\u66f4\u591a...","You are using {0}":"\u4f60\u6b63\u5728\u4f7f\u7528 {0}","Plugins":"\u63d2\u4ef6","Handy Shortcuts":"\u5feb\u6377\u952e","Horizontal line":"\u6c34\u5e73\u5206\u5272\u7ebf","Insert/edit image":"\u63d2\u5165/\u7f16\u8f91\u56fe\u7247","Alternative description":"\u66ff\u4ee3\u63cf\u8ff0","Accessibility":"\u8f85\u52a9\u529f\u80fd","Image is decorative":"\u56fe\u50cf\u662f\u88c5\u9970\u6027\u7684","Source":"\u6e90","Dimensions":"\u5c3a\u5bf8","Constrain proportions":"\u4fdd\u6301\u6bd4\u4f8b","General":"\u4e00\u822c","Advanced":"\u9ad8\u7ea7","Style":"\u6837\u5f0f","Vertical space":"\u5782\u76f4\u95f4\u8ddd","Horizontal space":"\u6c34\u5e73\u95f4\u8ddd","Border":"\u6846\u7ebf","Insert image":"\u63d2\u5165\u56fe\u7247","Image...":"\u56fe\u7247...","Image list":"\u56fe\u7247\u6e05\u5355","Resize":"\u8c03\u6574\u5927\u5c0f","Insert date/time":"\u63d2\u5165\u65e5\u671f/\u65f6\u95f4","Date/time":"\u65e5\u671f/\u65f6\u95f4","Insert/edit link":"\u63d2\u5165/\u7f16\u8f91\u94fe\u63a5","Text to display":"\u8981\u663e\u793a\u7684\u6587\u672c","Url":"\u5730\u5740","Open link in...":"\u94fe\u63a5\u6253\u5f00\u4f4d\u7f6e...","Current window":"\u5f53\u524d\u7a97\u53e3","None":"\u65e0","New window":"\u65b0\u7a97\u53e3","Open link":"\u6253\u5f00\u94fe\u63a5","Remove link":"\u79fb\u9664\u94fe\u63a5","Anchors":"\u951a\u70b9","Link...":"\u94fe\u63a5...","Paste or type a link":"\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u4e3a\u90ae\u4ef6\u5730\u5740\uff0c\u9700\u8981\u52a0\u4e0amailto: \u524d\u7f00\u5417\uff1f","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u5c5e\u4e8e\u5916\u90e8\u94fe\u63a5\uff0c\u9700\u8981\u52a0\u4e0ahttp:// \u524d\u7f00\u5417\uff1f","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"\u60a8\u8f93\u5165\u7684 URL \u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002\u60a8\u60f3\u6dfb\u52a0\u6240\u9700\u7684 https:// \u524d\u7f00\u5417\uff1f","Link list":"\u94fe\u63a5\u6e05\u5355","Insert video":"\u63d2\u5165\u89c6\u9891","Insert/edit video":"\u63d2\u5165/\u7f16\u8f91\u89c6\u9891","Insert/edit media":"\u63d2\u5165/\u7f16\u8f91\u5a92\u4f53","Alternative source":"\u955c\u50cf","Alternative source URL":"\u66ff\u4ee3\u6765\u6e90\u7f51\u5740","Media poster (Image URL)":"\u5c01\u9762(\u56fe\u7247\u5730\u5740)","Paste your embed code below:":"\u5c06\u5185\u5d4c\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:","Embed":"\u5185\u5d4c","Media...":"\u591a\u5a92\u4f53...","Nonbreaking space":"\u4e0d\u95f4\u65ad\u7a7a\u683c","Page break":"\u5206\u9875\u7b26","Paste as text":"\u7c98\u8d34\u4e3a\u6587\u672c","Preview":"\u9884\u89c8","Print":"\u6253\u5370","Print...":"\u6253\u5370...","Save":"\u4fdd\u5b58","Find":"\u5bfb\u627e","Replace with":"\u66ff\u6362\u4e3a","Replace":"\u66ff\u6362","Replace all":"\u66ff\u6362\u5168\u90e8","Previous":"\u4e0a\u4e00\u4e2a","Next":"\u4e0b\u4e00\u4e2a","Find and Replace":"\u67e5\u627e\u548c\u66ff\u6362","Find and replace...":"\u67e5\u627e\u5e76\u66ff\u6362...","Could not find the specified string.":"\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9\u3002","Match case":"\u5927\u5c0f\u5199\u5339\u914d","Find whole words only":"\u5168\u5b57\u5339\u914d","Find in selection":"\u5728\u9009\u533a\u4e2d\u67e5\u627e","Insert table":"\u63d2\u5165\u8868\u683c","Table properties":"\u8868\u683c\u5c5e\u6027","Delete table":"\u5220\u9664\u8868\u683c","Cell":"\u5355\u5143\u683c","Row":"\u884c","Column":"\u680f\u76ee","Cell properties":"\u5355\u5143\u683c\u5c5e\u6027","Merge cells":"\u5408\u5e76\u5355\u5143\u683c","Split cell":"\u62c6\u5206\u5355\u5143\u683c","Insert row before":"\u5728\u4e0a\u65b9\u63d2\u5165\u884c","Insert row after":"\u5728\u4e0b\u65b9\u63d2\u5165\u884c","Delete row":"\u5220\u9664\u884c","Row properties":"\u884c\u5c5e\u6027","Cut row":"\u526a\u5207\u884c","Cut column":"\u526a\u5207\u5217","Copy row":"\u590d\u5236\u884c","Copy column":"\u590d\u5236\u5217","Paste row before":"\u7c98\u8d34\u884c\u5230\u4e0a\u65b9","Paste column before":"\u7c98\u8d34\u6b64\u5217\u524d","Paste row after":"\u7c98\u8d34\u884c\u5230\u4e0b\u65b9","Paste column after":"\u7c98\u8d34\u540e\u9762\u7684\u5217","Insert column before":"\u5728\u5de6\u4fa7\u63d2\u5165\u5217","Insert column after":"\u5728\u53f3\u4fa7\u63d2\u5165\u5217","Delete column":"\u5220\u9664\u5217","Cols":"\u5217","Rows":"\u884c\u6570","Width":"\u5bbd\u5ea6","Height":"\u9ad8\u5ea6","Cell spacing":"\u5355\u5143\u683c\u5916\u95f4\u8ddd","Cell padding":"\u5355\u5143\u683c\u5185\u8fb9\u8ddd","Row clipboard actions":"\u884c\u526a\u8d34\u677f\u64cd\u4f5c","Column clipboard actions":"\u5217\u526a\u8d34\u677f\u64cd\u4f5c","Table styles":"\u8868\u683c\u6837\u5f0f","Cell styles":"\u5355\u5143\u683c\u6837\u5f0f","Column header":"\u5217\u6807\u9898","Row header":"\u884c\u5934","Table caption":"\u8868\u683c\u6807\u9898","Caption":"\u6807\u9898","Show caption":"\u663e\u793a\u6807\u9898","Left":"\u5de6","Center":"\u5c45\u4e2d","Right":"\u53f3","Cell type":"\u50a8\u5b58\u683c\u522b","Scope":"\u8303\u56f4","Alignment":"\u5bf9\u9f50","Horizontal align":"\u6c34\u5e73\u5bf9\u9f50","Vertical align":"\u5782\u76f4\u5bf9\u9f50","Top":"\u4e0a\u65b9\u5bf9\u9f50","Middle":"\u5c45\u4e2d\u5bf9\u9f50","Bottom":"\u4e0b\u65b9\u5bf9\u9f50","Header cell":"\u8868\u5934\u5355\u5143\u683c","Row group":"\u884c\u7ec4","Column group":"\u5217\u7ec4","Row type":"\u884c\u7c7b\u578b","Header":"\u8868\u5934","Body":"\u8868\u4f53","Footer":"\u8868\u5c3e","Border color":"\u6846\u7ebf\u989c\u8272","Solid":"\u5b9e\u7ebf","Dotted":"\u865a\u7ebf","Dashed":"\u865a\u7ebf","Double":"\u53cc\u7cbe\u5ea6","Groove":"\u51f9\u69fd","Ridge":"\u6d77\u810a\u5ea7","Inset":"\u5d4c\u5165","Outset":"\u5916\u7f6e","Hidden":"\u9690\u85cf","Insert template...":"\u63d2\u5165\u6a21\u677f...","Templates":"\u6a21\u677f","Template":"\u6a21\u677f","Insert Template":"\u63d2\u5165\u6a21\u677f","Text color":"\u6587\u672c\u989c\u8272","Background color":"\u80cc\u666f\u989c\u8272","Custom...":"\u81ea\u5b9a\u4e49......","Custom color":"\u81ea\u5b9a\u4e49\u989c\u8272","No color":"\u65e0","Remove color":"\u79fb\u9664\u989c\u8272","Show blocks":"\u663e\u793a\u533a\u5757\u8fb9\u6846","Show invisible characters":"\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26","Word count":"\u5b57\u6570","Count":"\u8ba1\u6570","Document":"\u6587\u6863","Selection":"\u9009\u62e9","Words":"\u5355\u8bcd","Words: {0}":"\u5b57\u6570\uff1a{0}","{0} words":"{0} \u5b57","File":"\u6587\u4ef6","Edit":"\u7f16\u8f91","Insert":"\u63d2\u5165","View":"\u67e5\u770b","Format":"\u683c\u5f0f","Table":"\u8868\u683c","Tools":"\u5de5\u5177","Powered by {0}":"\u7531{0}\u9a71\u52a8","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"\u7f16\u8f91\u533a\u3002\u6309ALT-F9\u6253\u5f00\u83dc\u5355\uff0c\u6309ALT-F10\u6253\u5f00\u5de5\u5177\u680f\uff0c\u6309ALT-0\u67e5\u770b\u5e2e\u52a9","Image title":"\u56fe\u7247\u6807\u9898","Border width":"\u8fb9\u6846\u5bbd\u5ea6","Border style":"\u8fb9\u6846\u6837\u5f0f","Error":"\u9519\u8bef","Warn":"\u8b66\u544a","Valid":"\u6709\u6548","To open the popup, press Shift+Enter":"\u6309Shitf+Enter\u952e\u6253\u5f00\u5bf9\u8bdd\u6846","Rich Text Area":"\u5bcc\u6587\u672c\u533a\u57df","Rich Text Area. Press ALT-0 for help.":"\u7f16\u8f91\u533a\u3002\u6309Alt+0\u952e\u6253\u5f00\u5e2e\u52a9\u3002","System Font":"\u7cfb\u7edf\u5b57\u4f53","Failed to upload image: {0}":"\u56fe\u7247\u4e0a\u4f20\u5931\u8d25: {0}","Failed to load plugin: {0} from url {1}":"\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25: {0} \u6765\u81ea\u94fe\u63a5 {1}","Failed to load plugin url: {0}":"\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25 \u94fe\u63a5: {0}","Failed to initialize plugin: {0}":"\u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25: {0}","example":"\u793a\u4f8b","Search":"\u641c\u7d22","All":"\u5168\u90e8","Currency":"\u8d27\u5e01","Text":"\u6587\u5b57","Quotations":"\u5f15\u7528","Mathematical":"\u6570\u5b66","Extended Latin":"\u62c9\u4e01\u8bed\u6269\u5145","Symbols":"\u7b26\u53f7","Arrows":"\u7bad\u5934","User Defined":"\u81ea\u5b9a\u4e49","dollar sign":"\u7f8e\u5143\u7b26\u53f7","currency sign":"\u8d27\u5e01\u7b26\u53f7","euro-currency sign":"\u6b27\u5143\u7b26\u53f7","colon sign":"\u5192\u53f7","cruzeiro sign":"\u514b\u9c81\u8d5b\u7f57\u5e01\u7b26\u53f7","french franc sign":"\u6cd5\u90ce\u7b26\u53f7","lira sign":"\u91cc\u62c9\u7b26\u53f7","mill sign":"\u5bc6\u5c14\u7b26\u53f7","naira sign":"\u5948\u62c9\u7b26\u53f7","peseta sign":"\u6bd4\u585e\u5854\u7b26\u53f7","rupee sign":"\u5362\u6bd4\u7b26\u53f7","won sign":"\u97e9\u5143\u7b26\u53f7","new sheqel sign":"\u65b0\u8c22\u514b\u5c14\u7b26\u53f7","dong sign":"\u8d8a\u5357\u76fe\u7b26\u53f7","kip sign":"\u8001\u631d\u57fa\u666e\u7b26\u53f7","tugrik sign":"\u56fe\u683c\u91cc\u514b\u7b26\u53f7","drachma sign":"\u5fb7\u62c9\u514b\u9a6c\u7b26\u53f7","german penny symbol":"\u5fb7\u56fd\u4fbf\u58eb\u7b26\u53f7","peso sign":"\u6bd4\u7d22\u7b26\u53f7","guarani sign":"\u74dc\u62c9\u5c3c\u7b26\u53f7","austral sign":"\u6fb3\u5143\u7b26\u53f7","hryvnia sign":"\u683c\u91cc\u592b\u5c3c\u4e9a\u7b26\u53f7","cedi sign":"\u585e\u5730\u7b26\u53f7","livre tournois sign":"\u91cc\u5f17\u5f17\u5c14\u7b26\u53f7","spesmilo sign":"spesmilo\u7b26\u53f7","tenge sign":"\u575a\u6208\u7b26\u53f7","indian rupee sign":"\u5370\u5ea6\u5362\u6bd4","turkish lira sign":"\u571f\u8033\u5176\u91cc\u62c9","nordic mark sign":"\u5317\u6b27\u9a6c\u514b","manat sign":"\u9a6c\u7eb3\u7279\u7b26\u53f7","ruble sign":"\u5362\u5e03\u7b26\u53f7","yen character":"\u65e5\u5143\u5b57\u6837","yuan character":"\u4eba\u6c11\u5e01\u5143\u5b57\u6837","yuan character, in hong kong and taiwan":"\u5143\u5b57\u6837\uff08\u6e2f\u53f0\u5730\u533a\uff09","yen/yuan character variant one":"\u5143\u5b57\u6837\uff08\u5927\u5199\uff09","Emojis":"Emojis","Emojis...":"Emojis...","Loading emojis...":"\u6b63\u5728\u52a0\u8f7dEmojis...","Could not load emojis":"\u65e0\u6cd5\u52a0\u8f7dEmojis","People":"\u4eba\u7c7b","Animals and Nature":"\u52a8\u7269\u548c\u81ea\u7136","Food and Drink":"\u98df\u7269\u548c\u996e\u54c1","Activity":"\u6d3b\u52a8","Travel and Places":"\u65c5\u6e38\u548c\u5730\u70b9","Objects":"\u7269\u4ef6","Flags":"\u65d7\u5e1c","Characters":"\u5b57\u7b26","Characters (no spaces)":"\u5b57\u7b26(\u65e0\u7a7a\u683c)","{0} characters":"{0} \u4e2a\u5b57\u7b26","Error: Form submit field collision.":"\u9519\u8bef: \u8868\u5355\u63d0\u4ea4\u5b57\u6bb5\u51b2\u7a81\u3002","Error: No form element found.":"\u9519\u8bef: \u6ca1\u6709\u8868\u5355\u63a7\u4ef6\u3002","Color swatch":"\u989c\u8272\u6837\u672c","Color Picker":"\u9009\u8272\u5668","Invalid hex color code: {0}":"\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\u65e0\u6548\uff1a {0}","Invalid input":"\u65e0\u6548\u8f93\u5165","R":"R","Red component":"\u7ea2\u8272\u90e8\u5206","G":"G","Green component":"\u7eff\u8272\u90e8\u5206","B":"B","Blue component":"\u767d\u8272\u90e8\u5206","#":"#","Hex color code":"\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801","Range 0 to 255":"\u8303\u56f40\u81f3255","Turquoise":"\u9752\u7eff\u8272","Green":"\u7eff\u8272","Blue":"\u84dd\u8272","Purple":"\u7d2b\u8272","Navy Blue":"\u6d77\u519b\u84dd","Dark Turquoise":"\u6df1\u84dd\u7eff\u8272","Dark Green":"\u6df1\u7eff\u8272","Medium Blue":"\u4e2d\u84dd\u8272","Medium Purple":"\u4e2d\u7d2b\u8272","Midnight Blue":"\u6df1\u84dd\u8272","Yellow":"\u9ec4\u8272","Orange":"\u6a59\u8272","Red":"\u7ea2\u8272","Light Gray":"\u6d45\u7070\u8272","Gray":"\u7070\u8272","Dark Yellow":"\u6697\u9ec4\u8272","Dark Orange":"\u6df1\u6a59\u8272","Dark Red":"\u6df1\u7ea2\u8272","Medium Gray":"\u4e2d\u7070\u8272","Dark Gray":"\u6df1\u7070\u8272","Light Green":"\u6d45\u7eff\u8272","Light Yellow":"\u6d45\u9ec4\u8272","Light Red":"\u6d45\u7ea2\u8272","Light Purple":"\u6d45\u7d2b\u8272","Light Blue":"\u6d45\u84dd\u8272","Dark Purple":"\u6df1\u7d2b\u8272","Dark Blue":"\u6df1\u84dd\u8272","Black":"\u9ed1\u8272","White":"\u767d\u8272","Switch to or from fullscreen mode":"\u5207\u6362\u5168\u5c4f\u6a21\u5f0f","Open help dialog":"\u6253\u5f00\u5e2e\u52a9\u5bf9\u8bdd\u6846","history":"\u5386\u53f2","styles":"\u6837\u5f0f","formatting":"\u683c\u5f0f\u5316","alignment":"\u5bf9\u9f50","indentation":"\u7f29\u8fdb","Font":"\u5b57\u4f53","Size":"\u5b57\u53f7","More...":"\u66f4\u591a...","Select...":"\u9009\u62e9...","Preferences":"\u9996\u9009\u9879","Yes":"\u662f","No":"\u5426","Keyboard Navigation":"\u952e\u76d8\u6307\u5f15","Version":"\u7248\u672c","Code view":"\u4ee3\u7801\u89c6\u56fe","Open popup menu for split buttons":"\u6253\u5f00\u5f39\u51fa\u5f0f\u83dc\u5355\uff0c\u7528\u4e8e\u62c6\u5206\u6309\u94ae","List Properties":"\u5217\u8868\u5c5e\u6027","List properties...":"\u6807\u9898\u5b57\u4f53\u5c5e\u6027","Start list at number":"\u4ee5\u6570\u5b57\u5f00\u59cb\u5217\u8868","Line height":"\u884c\u9ad8","Dropped file type is not supported":"\u6b64\u6587\u4ef6\u7c7b\u578b\u4e0d\u652f\u6301\u62d6\u653e","Loading...":"\u52a0\u8f7d\u4e2d...","ImageProxy HTTP error: Rejected request":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u8bf7\u6c42\u88ab\u62d2\u7edd","ImageProxy HTTP error: Could not find Image Proxy":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u65e0\u6cd5\u627e\u5230\u56fe\u7247\u4ee3\u7406","ImageProxy HTTP error: Incorrect Image Proxy URL":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u56fe\u7247\u4ee3\u7406\u5730\u5740\u9519\u8bef","ImageProxy HTTP error: Unknown ImageProxy error":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u672a\u77e5\u7684\u56fe\u7247\u4ee3\u7406\u9519\u8bef"}); \ No newline at end of file diff --git a/tinymce/langs/zh-Hans.js.br b/tinymce/langs/zh-Hans.js.br new file mode 100644 index 0000000..18ebd93 Binary files /dev/null and b/tinymce/langs/zh-Hans.js.br differ diff --git a/tinymce/langs/zh-Hans.js.gz b/tinymce/langs/zh-Hans.js.gz new file mode 100644 index 0000000..e919479 Binary files /dev/null and b/tinymce/langs/zh-Hans.js.gz differ diff --git a/tinymce/skins/content/dark/content.css b/tinymce/skins/content/dark/content.css new file mode 100644 index 0000000..cfdb62a --- /dev/null +++ b/tinymce/skins/content/dark/content.css @@ -0,0 +1,66 @@ +body { + background-color: #222f3e; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + line-height: 1.4; + margin: 1rem; +} +a { + color: #4099ff; +} +table { + border-collapse: collapse; +} +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-width"]) th, +table[border]:not([border="0"]):not([style*="border-width"]) td { + border-width: 1px; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-style"]) th, +table[border]:not([border="0"]):not([style*="border-style"]) td { + border-style: solid; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-color"]) th, +table[border]:not([border="0"]):not([style*="border-color"]) td { + border-color: #6d737b; +} +figure { + display: table; + margin: 1rem auto; +} +figure figcaption { + color: #8a8f97; + display: block; + margin-top: 0.25rem; + text-align: center; +} +hr { + border-color: #6d737b; + border-style: solid; + border-width: 1px 0 0 0; +} +code { + background-color: #6d737b; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} +.mce-content-body:not([dir=rtl]) blockquote { + border-left: 2px solid #6d737b; + margin-left: 1.5rem; + padding-left: 1rem; +} +.mce-content-body[dir=rtl] blockquote { + border-right: 2px solid #6d737b; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/dark/content.css.br b/tinymce/skins/content/dark/content.css.br new file mode 100644 index 0000000..7a1916c Binary files /dev/null and b/tinymce/skins/content/dark/content.css.br differ diff --git a/tinymce/skins/content/dark/content.css.gz b/tinymce/skins/content/dark/content.css.gz new file mode 100644 index 0000000..f4422e6 Binary files /dev/null and b/tinymce/skins/content/dark/content.css.gz differ diff --git a/tinymce/skins/content/dark/content.min.css b/tinymce/skins/content/dark/content.min.css new file mode 100644 index 0000000..c9fe30a --- /dev/null +++ b/tinymce/skins/content/dark/content.min.css @@ -0,0 +1 @@ +body{background-color:#222f3e;color:#fff;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#6d737b}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem} diff --git a/tinymce/skins/content/dark/content.min.css.br b/tinymce/skins/content/dark/content.min.css.br new file mode 100644 index 0000000..e8abf6c Binary files /dev/null and b/tinymce/skins/content/dark/content.min.css.br differ diff --git a/tinymce/skins/content/dark/content.min.css.gz b/tinymce/skins/content/dark/content.min.css.gz new file mode 100644 index 0000000..c8ee365 Binary files /dev/null and b/tinymce/skins/content/dark/content.min.css.gz differ diff --git a/tinymce/skins/content/default/content.css b/tinymce/skins/content/default/content.css new file mode 100644 index 0000000..7517787 --- /dev/null +++ b/tinymce/skins/content/default/content.css @@ -0,0 +1,61 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + line-height: 1.4; + margin: 1rem; +} +table { + border-collapse: collapse; +} +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-width"]) th, +table[border]:not([border="0"]):not([style*="border-width"]) td { + border-width: 1px; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-style"]) th, +table[border]:not([border="0"]):not([style*="border-style"]) td { + border-style: solid; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-color"]) th, +table[border]:not([border="0"]):not([style*="border-color"]) td { + border-color: #ccc; +} +figure { + display: table; + margin: 1rem auto; +} +figure figcaption { + color: #999; + display: block; + margin-top: 0.25rem; + text-align: center; +} +hr { + border-color: #ccc; + border-style: solid; + border-width: 1px 0 0 0; +} +code { + background-color: #e8e8e8; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} +.mce-content-body:not([dir=rtl]) blockquote { + border-left: 2px solid #ccc; + margin-left: 1.5rem; + padding-left: 1rem; +} +.mce-content-body[dir=rtl] blockquote { + border-right: 2px solid #ccc; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/default/content.css.br b/tinymce/skins/content/default/content.css.br new file mode 100644 index 0000000..6b29b1c Binary files /dev/null and b/tinymce/skins/content/default/content.css.br differ diff --git a/tinymce/skins/content/default/content.css.gz b/tinymce/skins/content/default/content.css.gz new file mode 100644 index 0000000..e2bfac2 Binary files /dev/null and b/tinymce/skins/content/default/content.css.gz differ diff --git a/tinymce/skins/content/default/content.min.css b/tinymce/skins/content/default/content.min.css new file mode 100644 index 0000000..54bb28d --- /dev/null +++ b/tinymce/skins/content/default/content.min.css @@ -0,0 +1 @@ +body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} diff --git a/tinymce/skins/content/default/content.min.css.br b/tinymce/skins/content/default/content.min.css.br new file mode 100644 index 0000000..3ca8314 Binary files /dev/null and b/tinymce/skins/content/default/content.min.css.br differ diff --git a/tinymce/skins/content/default/content.min.css.gz b/tinymce/skins/content/default/content.min.css.gz new file mode 100644 index 0000000..56ad01b Binary files /dev/null and b/tinymce/skins/content/default/content.min.css.gz differ diff --git a/tinymce/skins/content/document/content.css b/tinymce/skins/content/document/content.css new file mode 100644 index 0000000..ee54542 --- /dev/null +++ b/tinymce/skins/content/document/content.css @@ -0,0 +1,66 @@ +@media screen { + html { + background: #f4f4f4; + min-height: 100%; + } +} +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; +} +@media screen { + body { + background-color: #fff; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.15); + box-sizing: border-box; + margin: 1rem auto 0; + max-width: 820px; + min-height: calc(100vh - 1rem); + padding: 4rem 6rem 6rem 6rem; + } +} +table { + border-collapse: collapse; +} +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-width"]) th, +table[border]:not([border="0"]):not([style*="border-width"]) td { + border-width: 1px; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-style"]) th, +table[border]:not([border="0"]):not([style*="border-style"]) td { + border-style: solid; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-color"]) th, +table[border]:not([border="0"]):not([style*="border-color"]) td { + border-color: #ccc; +} +figure figcaption { + color: #999; + margin-top: 0.25rem; + text-align: center; +} +hr { + border-color: #ccc; + border-style: solid; + border-width: 1px 0 0 0; +} +.mce-content-body:not([dir=rtl]) blockquote { + border-left: 2px solid #ccc; + margin-left: 1.5rem; + padding-left: 1rem; +} +.mce-content-body[dir=rtl] blockquote { + border-right: 2px solid #ccc; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/document/content.css.br b/tinymce/skins/content/document/content.css.br new file mode 100644 index 0000000..0c522ec Binary files /dev/null and b/tinymce/skins/content/document/content.css.br differ diff --git a/tinymce/skins/content/document/content.css.gz b/tinymce/skins/content/document/content.css.gz new file mode 100644 index 0000000..f322729 Binary files /dev/null and b/tinymce/skins/content/document/content.css.gz differ diff --git a/tinymce/skins/content/document/content.min.css b/tinymce/skins/content/document/content.min.css new file mode 100644 index 0000000..a8b7021 --- /dev/null +++ b/tinymce/skins/content/document/content.min.css @@ -0,0 +1 @@ +@media screen{html{background:#f4f4f4;min-height:100%}}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}@media screen{body{background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.15);box-sizing:border-box;margin:1rem auto 0;max-width:820px;min-height:calc(100vh - 1rem);padding:4rem 6rem 6rem 6rem}}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} diff --git a/tinymce/skins/content/document/content.min.css.br b/tinymce/skins/content/document/content.min.css.br new file mode 100644 index 0000000..8ecd6eb Binary files /dev/null and b/tinymce/skins/content/document/content.min.css.br differ diff --git a/tinymce/skins/content/document/content.min.css.gz b/tinymce/skins/content/document/content.min.css.gz new file mode 100644 index 0000000..2d12a2f Binary files /dev/null and b/tinymce/skins/content/document/content.min.css.gz differ diff --git a/tinymce/skins/content/tinymce-5-dark/content.css b/tinymce/skins/content/tinymce-5-dark/content.css new file mode 100644 index 0000000..fee4baf --- /dev/null +++ b/tinymce/skins/content/tinymce-5-dark/content.css @@ -0,0 +1,66 @@ +body { + background-color: #2f3742; + color: #dfe0e4; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + line-height: 1.4; + margin: 1rem; +} +a { + color: #4099ff; +} +table { + border-collapse: collapse; +} +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-width"]) th, +table[border]:not([border="0"]):not([style*="border-width"]) td { + border-width: 1px; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-style"]) th, +table[border]:not([border="0"]):not([style*="border-style"]) td { + border-style: solid; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-color"]) th, +table[border]:not([border="0"]):not([style*="border-color"]) td { + border-color: #6d737b; +} +figure { + display: table; + margin: 1rem auto; +} +figure figcaption { + color: #8a8f97; + display: block; + margin-top: 0.25rem; + text-align: center; +} +hr { + border-color: #6d737b; + border-style: solid; + border-width: 1px 0 0 0; +} +code { + background-color: #6d737b; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} +.mce-content-body:not([dir=rtl]) blockquote { + border-left: 2px solid #6d737b; + margin-left: 1.5rem; + padding-left: 1rem; +} +.mce-content-body[dir=rtl] blockquote { + border-right: 2px solid #6d737b; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/tinymce-5-dark/content.css.br b/tinymce/skins/content/tinymce-5-dark/content.css.br new file mode 100644 index 0000000..560645e Binary files /dev/null and b/tinymce/skins/content/tinymce-5-dark/content.css.br differ diff --git a/tinymce/skins/content/tinymce-5-dark/content.css.gz b/tinymce/skins/content/tinymce-5-dark/content.css.gz new file mode 100644 index 0000000..509c0f5 Binary files /dev/null and b/tinymce/skins/content/tinymce-5-dark/content.css.gz differ diff --git a/tinymce/skins/content/tinymce-5-dark/content.min.css b/tinymce/skins/content/tinymce-5-dark/content.min.css new file mode 100644 index 0000000..33c4009 --- /dev/null +++ b/tinymce/skins/content/tinymce-5-dark/content.min.css @@ -0,0 +1 @@ +body{background-color:#2f3742;color:#dfe0e4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#6d737b}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem} diff --git a/tinymce/skins/content/tinymce-5-dark/content.min.css.br b/tinymce/skins/content/tinymce-5-dark/content.min.css.br new file mode 100644 index 0000000..203639a Binary files /dev/null and b/tinymce/skins/content/tinymce-5-dark/content.min.css.br differ diff --git a/tinymce/skins/content/tinymce-5-dark/content.min.css.gz b/tinymce/skins/content/tinymce-5-dark/content.min.css.gz new file mode 100644 index 0000000..27389c4 Binary files /dev/null and b/tinymce/skins/content/tinymce-5-dark/content.min.css.gz differ diff --git a/tinymce/skins/content/tinymce-5/content.css b/tinymce/skins/content/tinymce-5/content.css new file mode 100644 index 0000000..7517787 --- /dev/null +++ b/tinymce/skins/content/tinymce-5/content.css @@ -0,0 +1,61 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + line-height: 1.4; + margin: 1rem; +} +table { + border-collapse: collapse; +} +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-width"]) th, +table[border]:not([border="0"]):not([style*="border-width"]) td { + border-width: 1px; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-style"]) th, +table[border]:not([border="0"]):not([style*="border-style"]) td { + border-style: solid; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-color"]) th, +table[border]:not([border="0"]):not([style*="border-color"]) td { + border-color: #ccc; +} +figure { + display: table; + margin: 1rem auto; +} +figure figcaption { + color: #999; + display: block; + margin-top: 0.25rem; + text-align: center; +} +hr { + border-color: #ccc; + border-style: solid; + border-width: 1px 0 0 0; +} +code { + background-color: #e8e8e8; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} +.mce-content-body:not([dir=rtl]) blockquote { + border-left: 2px solid #ccc; + margin-left: 1.5rem; + padding-left: 1rem; +} +.mce-content-body[dir=rtl] blockquote { + border-right: 2px solid #ccc; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/tinymce-5/content.css.br b/tinymce/skins/content/tinymce-5/content.css.br new file mode 100644 index 0000000..6b29b1c Binary files /dev/null and b/tinymce/skins/content/tinymce-5/content.css.br differ diff --git a/tinymce/skins/content/tinymce-5/content.css.gz b/tinymce/skins/content/tinymce-5/content.css.gz new file mode 100644 index 0000000..e2bfac2 Binary files /dev/null and b/tinymce/skins/content/tinymce-5/content.css.gz differ diff --git a/tinymce/skins/content/tinymce-5/content.min.css b/tinymce/skins/content/tinymce-5/content.min.css new file mode 100644 index 0000000..54bb28d --- /dev/null +++ b/tinymce/skins/content/tinymce-5/content.min.css @@ -0,0 +1 @@ +body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} diff --git a/tinymce/skins/content/tinymce-5/content.min.css.br b/tinymce/skins/content/tinymce-5/content.min.css.br new file mode 100644 index 0000000..3ca8314 Binary files /dev/null and b/tinymce/skins/content/tinymce-5/content.min.css.br differ diff --git a/tinymce/skins/content/tinymce-5/content.min.css.gz b/tinymce/skins/content/tinymce-5/content.min.css.gz new file mode 100644 index 0000000..56ad01b Binary files /dev/null and b/tinymce/skins/content/tinymce-5/content.min.css.gz differ diff --git a/tinymce/skins/content/writer/content.css b/tinymce/skins/content/writer/content.css new file mode 100644 index 0000000..28071d4 --- /dev/null +++ b/tinymce/skins/content/writer/content.css @@ -0,0 +1,62 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + line-height: 1.4; + margin: 1rem auto; + max-width: 900px; +} +table { + border-collapse: collapse; +} +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-width"]) th, +table[border]:not([border="0"]):not([style*="border-width"]) td { + border-width: 1px; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-style"]) th, +table[border]:not([border="0"]):not([style*="border-style"]) td { + border-style: solid; +} +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"]):not([style*="border-color"]) th, +table[border]:not([border="0"]):not([style*="border-color"]) td { + border-color: #ccc; +} +figure { + display: table; + margin: 1rem auto; +} +figure figcaption { + color: #999; + display: block; + margin-top: 0.25rem; + text-align: center; +} +hr { + border-color: #ccc; + border-style: solid; + border-width: 1px 0 0 0; +} +code { + background-color: #e8e8e8; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} +.mce-content-body:not([dir=rtl]) blockquote { + border-left: 2px solid #ccc; + margin-left: 1.5rem; + padding-left: 1rem; +} +.mce-content-body[dir=rtl] blockquote { + border-right: 2px solid #ccc; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/writer/content.css.br b/tinymce/skins/content/writer/content.css.br new file mode 100644 index 0000000..7edbb6b Binary files /dev/null and b/tinymce/skins/content/writer/content.css.br differ diff --git a/tinymce/skins/content/writer/content.css.gz b/tinymce/skins/content/writer/content.css.gz new file mode 100644 index 0000000..cf38b6f Binary files /dev/null and b/tinymce/skins/content/writer/content.css.gz differ diff --git a/tinymce/skins/content/writer/content.min.css b/tinymce/skins/content/writer/content.min.css new file mode 100644 index 0000000..186d62d --- /dev/null +++ b/tinymce/skins/content/writer/content.min.css @@ -0,0 +1 @@ +body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} diff --git a/tinymce/skins/content/writer/content.min.css.br b/tinymce/skins/content/writer/content.min.css.br new file mode 100644 index 0000000..5302d4a Binary files /dev/null and b/tinymce/skins/content/writer/content.min.css.br differ diff --git a/tinymce/skins/content/writer/content.min.css.gz b/tinymce/skins/content/writer/content.min.css.gz new file mode 100644 index 0000000..abdb90d Binary files /dev/null and b/tinymce/skins/content/writer/content.min.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/content.css b/tinymce/skins/ui/oxide-dark/content.css new file mode 100644 index 0000000..a983cac --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.css @@ -0,0 +1,756 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * Dracula Theme originally by Zeno Rocha [@zenorocha] + * https://draculatheme.com/ + * + * Ported for PrismJS by Albert Vallverdu [@byverdu] + */ +code[class*="language-"], +pre[class*="language-"] { + color: #f8f8f2; + background: none; + text-shadow: 0 1px rgba(0, 0, 0, 0.3); + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; + border-radius: 0.3em; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #282a36; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: #6272a4; +} +.token.punctuation { + color: #f8f8f2; +} +.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.constant, +.token.symbol, +.token.deleted { + color: #ff79c6; +} +.token.boolean, +.token.number { + color: #bd93f9; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #50fa7b; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string, +.token.variable { + color: #f8f8f2; +} +.token.atrule, +.token.attr-value, +.token.function, +.token.class-name { + color: #f1fa8c; +} +.token.keyword { + color: #8be9fd; +} +.token.regex, +.token.important { + color: #ffb86c; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.3); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.3); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #4099ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #4099ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #4099ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #4099ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #4099ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #4099ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #4099ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid transparent; + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: lighten; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #4099ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/tinymce/skins/ui/oxide-dark/content.css.br b/tinymce/skins/ui/oxide-dark/content.css.br new file mode 100644 index 0000000..ebb67b4 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/content.css.gz b/tinymce/skins/ui/oxide-dark/content.css.gz new file mode 100644 index 0000000..551134c Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/content.inline.css b/tinymce/skins/ui/oxide-dark/content.inline.css new file mode 100644 index 0000000..9bd1e29 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.inline.css @@ -0,0 +1,769 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} diff --git a/tinymce/skins/ui/oxide-dark/content.inline.css.br b/tinymce/skins/ui/oxide-dark/content.inline.css.br new file mode 100644 index 0000000..9abbc69 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.inline.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/content.inline.css.gz b/tinymce/skins/ui/oxide-dark/content.inline.css.gz new file mode 100644 index 0000000..08fe3e7 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.inline.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/content.inline.min.css b/tinymce/skins/ui/oxide-dark/content.inline.min.css new file mode 100644 index 0000000..716b038 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.inline.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'} diff --git a/tinymce/skins/ui/oxide-dark/content.inline.min.css.br b/tinymce/skins/ui/oxide-dark/content.inline.min.css.br new file mode 100644 index 0000000..3e999f3 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.inline.min.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/content.inline.min.css.gz b/tinymce/skins/ui/oxide-dark/content.inline.min.css.gz new file mode 100644 index 0000000..06b926f Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.inline.min.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/content.min.css b/tinymce/skins/ui/oxide-dark/content.min.css new file mode 100644 index 0000000..1f61cb8 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:0 0;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#282a36}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#6272a4}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#ff79c6}.token.boolean,.token.number{color:#bd93f9}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#50fa7b}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#f1fa8c}.token.keyword{color:#8be9fd}.token.important,.token.regex{color:#ffb86c}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.3)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.3);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #4099ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #4099ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #4099ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #4099ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #4099ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#4099ff}.mce-content-body .mce-edit-focus{outline:3px solid #4099ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid transparent;bottom:-1px;content:'';left:-1px;mix-blend-mode:lighten;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#4099ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}body{font-family:sans-serif}table{border-collapse:collapse} diff --git a/tinymce/skins/ui/oxide-dark/content.min.css.br b/tinymce/skins/ui/oxide-dark/content.min.css.br new file mode 100644 index 0000000..c3a8b03 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.min.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/content.min.css.gz b/tinymce/skins/ui/oxide-dark/content.min.css.gz new file mode 100644 index 0000000..4957db3 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.min.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/skin.css b/tinymce/skins/ui/oxide-dark/skin.css new file mode 100644 index 0000000..301ec55 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.css @@ -0,0 +1,3112 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #222f3e; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 2px solid #161f29; + border-radius: 10px; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #222F3E; + border: 2px solid #161f29; + border-radius: 10px; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border: 1px solid #161f29; + border-radius: 6px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > *:last-child:not(:only-child) { + border-color: #161f29; + border-style: solid; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(0, 108, 231, 0.5); + border-color: rgba(0, 108, 231, 0.4); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child { + border-color: rgba(0, 108, 231, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.5); + border-color: rgba(255, 165, 0, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child { + border-color: rgba(255, 165, 0, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.5); + border-color: rgba(204, 0, 0, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child { + border-color: rgba(204, 0, 0, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.5); + border-color: rgba(120, 171, 70, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + border-color: rgba(120, 171, 70, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-left-width: 1px; + padding-left: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-right-width: 1px; + padding-right: 4px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #006ce7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #006ce7; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 6px; + bottom: -1px; + box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #006ce7, 0 0 0 3px rgba(0, 108, 231, 0.25); + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #006ce7; + background-image: none; + border-color: #006ce7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus-visible:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary { + background-color: #3d546f; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #3d546f; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #3d546f; + background-image: none; + border-color: #3d546f; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #34485f; + background-image: none; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #34485f; + background-image: none; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #2b3b4e; + background-image: none; + border-color: #2b3b4e; + box-shadow: none; + color: #fff; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked[disabled] { + background-color: rgba(255, 255, 255, 0.2); + border-color: transparent; + box-shadow: unset; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: rgba(255, 255, 255, 0.2); + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: rgba(255, 255, 255, 0.2); + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: rgba(255, 255, 255, 0.3); + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #fff; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 6px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 6px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(255, 255, 255, 0.2); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox--disabled { + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 6px; + box-shadow: inset 0 0 0 1px #006ce7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: rgba(255, 255, 255, 0.15); + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: rgba(255, 255, 255, 0.15); + color: rgba(255, 255, 255, 0.5); + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #fff; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #2b3b4e; + color: #fff; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #3389ec; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled { + background-color: #599fef; + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #3389ec; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #599fef; + color: #fff; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #3389ec; + color: #fff; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: rgba(255, 255, 255, 0.5); + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: #fff; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #2b3b4e; + border: 1px solid rgba(255, 255, 255, 0.15); + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 28px; + margin: 6px 1px 5px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 5px 0 6px 11px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px -4px; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #fff; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #3389ec; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #2b3b4e; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #2b3b4e; + border: 1px solid #161f29; + border-radius: 6px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #fff; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #fff; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(255, 255, 255, 0.5); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #2b3b4e; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(43, 59, 78, 0), #2b3b4e); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #2b3b4e; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #fff; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #2b3b4e; + box-shadow: 0 0 8px 8px #2b3b4e; + color: #fff; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #2b3b4e; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(34, 47, 62, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #222F3E; +} +.tox .tox-dialog { + background-color: #2b3b4e; + border-color: #161f29; + border-radius: 10px; + border-style: solid; + border-width: 0px; + box-shadow: 0 16px 16px -10px rgba(34, 47, 62, 0.15), 0 0 40px 1px rgba(34, 47, 62, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #2b3b4e; + border-bottom: none; + color: #fff; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #fff; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + padding: 16px 16px; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(255, 255, 255, 0.5); + display: inline-block; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + text-decoration: none; + white-space: nowrap; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(0, 108, 231, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #006ce7; + color: #006ce7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: 650px; + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #006ce7; + cursor: pointer; + text-decoration: none; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #0054b4; + text-decoration: none; +} +.tox .tox-dialog__body-content a:active { + color: #0054b4; + text-decoration: none; +} +.tox .tox-dialog__body-content svg { + fill: #fff; +} +.tox .tox-dialog__body-content ul { + display: block; + list-style-type: disc; + margin-bottom: 16px; + margin-inline-end: 0; + margin-inline-start: 0; + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #fff; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #fff; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #2b3b4e; + border-top: none; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(34, 47, 62, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #161f29; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #161f29; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(255, 255, 255, 0.5); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-inline-edit-area { + border: 1px dotted #161f29; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #222F3E; + border-bottom: 1px solid rgba(255, 255, 255, 0.15); + box-shadow: none; + padding: 4px 0; + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid rgba(255, 255, 255, 0.15); + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #222F3E; + box-shadow: none; + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: none; +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(34, 47, 62, 0.2); + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #006ce7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #2b3b4e; + border-radius: 6px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(255, 255, 255, 0.5); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #2b3b4e; + border-color: #161f29; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #222f3e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus { + background-color: #2b3b4e; + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #006ce7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #fff; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #19232e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #fff; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #2b3b4e; + border-color: #161f29; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #19232e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #2b3b4e; + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: rgba(255, 255, 255, 0.15); + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: rgba(0, 108, 231, 0.5); + border-color: rgba(0, 108, 231, 0.5); +} +.tox .tox-insert-table-picker__label { + color: #fff; + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #2b3b4e; + border: 1px solid rgba(255, 255, 255, 0.15); + border-radius: 6px; + box-shadow: none; + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 4px; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 8px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 8px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #222F3E; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 11px 0 12px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #222F3E; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 5px 1px 6px 0; + outline: none; + overflow: hidden; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #3389ec; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn--active { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #3389ec; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #334840; + border-color: #3c5440; + color: #fff; +} +.tox .tox-notification--success p { + color: #fff; +} +.tox .tox-notification--success a { + color: #b5d199; +} +.tox .tox-notification--success svg { + fill: #fff; +} +.tox .tox-notification--error { + background-color: #442632; + border-color: #55212b; + color: #fff; +} +.tox .tox-notification--error p { + color: #fff; +} +.tox .tox-notification--error a { + color: #e68080; +} +.tox .tox-notification--error svg { + fill: #fff; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #222F3E; + border-color: rgba(255, 255, 255, 0.15); + color: #fff0b3; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #fff0b3; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #ffcc00; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #fff0b3; +} +.tox .tox-notification--info { + background-color: #254161; + border-color: #264972; + color: #fff; +} +.tox .tox-notification--info p { + color: #fff; +} +.tox .tox-notification--info a { + color: #83b7f3; +} +.tox .tox-notification--info svg { + fill: #fff; +} +.tox .tox-notification__body { + align-self: center; + color: #fff; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #222F3E; + border: 1px solid #161f29; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #222F3E transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #161f29 transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #222F3E transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #161f29 transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #222F3E transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #161f29 transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #222F3E; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #161f29; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #222F3E; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #161f29; + border-radius: 6px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #006ce7; + border: 2px solid #0054b4; + border-radius: 6px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(255, 255, 255, 0.5); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #222F3E; + border-top: 1px solid rgba(255, 255, 255, 0.15); + color: rgba(255, 255, 255, 0.75); + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-weight: normal; + height: 25px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: none; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: flex-end; + overflow: hidden; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + margin-right: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: rgba(255, 255, 255, 0.75); + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #fff; + cursor: pointer; +} +.tox .tox-statusbar__branding svg { + fill: rgba(255, 255, 255, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #fff; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-left: auto; + margin-right: -8px; + padding-bottom: 3px; + padding-left: 1ch; + padding-right: 3px; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-statusbar__resize-handle:focus svg { + background-color: #434e5b; + border-radius: 1px 1px 5px 1px; + box-shadow: 0 0 0 2px #434e5b; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(34, 47, 62, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 6px 1px 5px 0; + outline: none; + overflow: hidden; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #fff; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #3389ec; + border: 0; + box-shadow: none; +} +.tox .tox-tbtn:hover { + background: #3389ec; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn:hover svg { + fill: #fff; +} +.tox .tox-tbtn:active { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn:active svg { + fill: #fff; +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #fff; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #fff; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #fff; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 42px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 56px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tbtn--select { + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tbtn--bespoke { + background: #2f4055; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 4px; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 6px 1px 5px 0; + overflow: hidden; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #3389ec inset; +} +.tox .tox-split-button:focus { + background: #3389ec; + box-shadow: none; + color: #fff; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: transparent; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-toolbar-overlord { + background-color: #222F3E; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-color: #222F3E; + background-image: repeating-linear-gradient(rgba(255, 255, 255, 0.15) 0px 1px, transparent 1px 39px); + background-position: center top 40px; + background-repeat: no-repeat; + background-size: calc(100% - 11px * 2) calc(100% - 41px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 11px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid transparent; + margin-top: -1px; + padding-bottom: 1px; + padding-top: 1px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #222F3E; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 11px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 11px 0 12px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox .tox-tooltip { + display: inline-block; + padding: 8px; + position: relative; +} +.tox .tox-tooltip__body { + background-color: #3d546f; + border-radius: 6px; + box-shadow: 0 2px 4px rgba(34, 47, 62, 0.3); + color: rgba(255, 255, 255, 0.75); + font-size: 14px; + font-style: normal; + font-weight: normal; + padding: 4px 8px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #3d546f; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #3d546f; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #3d546f; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #3d546f; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-well { + border: 1px solid #161f29; + border-radius: 6px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #161f29; + border-radius: 6px; + display: flex; + flex: 1; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); +} diff --git a/tinymce/skins/ui/oxide-dark/skin.css.br b/tinymce/skins/ui/oxide-dark/skin.css.br new file mode 100644 index 0000000..617d96a Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/skin.css.gz b/tinymce/skins/ui/oxide-dark/skin.css.gz new file mode 100644 index 0000000..6d6f56c Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/skin.min.css b/tinymce/skins/ui/oxide-dark/skin.min.css new file mode 100644 index 0000000..d924a06 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.min.css @@ -0,0 +1 @@ +.tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:2px solid #161f29;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:2px solid #161f29;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border:1px solid #161f29;border-radius:6px;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>:last-child:not(:only-child){border-color:#161f29;border-style:solid}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.4);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description>:last-child{border-color:rgba(0,108,231,.4)}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.5);border-color:rgba(255,165,0,.8);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description>:last-child{border-color:rgba(255,165,0,.8)}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.5);border-color:rgba(204,0,0,.8);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.8)}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);border-color:rgba(120,171,70,.8);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{border-color:rgba(120,171,70,.8)}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue__header h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:4px 4px 4px 8px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description>:last-child{border-left-width:1px;padding-left:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description>:last-child{border-right-width:1px;padding-right:4px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#006ce7;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:6px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button--secondary{background-color:#3d546f;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#3d546f;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;color:#fff;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#3d546f;background-image:none;border-color:#3d546f;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:hover:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:active:not(:disabled){background-color:#2b3b4e;background-image:none;border-color:#2b3b4e;box-shadow:none;color:#fff}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked[disabled]{background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:rgba(255,255,255,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(255,255,255,.2);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(255,255,255,.3);border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#fff}.tox .tox-checkbox{align-items:center;border-radius:6px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:6px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(255,255,255,.2)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#006ce7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#006ce7}.tox .tox-checkbox--disabled{color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(255,255,255,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;box-shadow:inset 0 0 0 1px #006ce7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:rgba(255,255,255,.15);border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:rgba(255,255,255,.15);color:rgba(255,255,255,.5);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active{background-color:#3389ec}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#599fef;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#3389ec}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#599fef;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#3389ec;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(255,255,255,.5);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#fff}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#3389ec}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#2b3b4e;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#2b3b4e;border:1px solid #161f29;border-radius:6px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#2b3b4e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(43,59,78,0),#2b3b4e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#2b3b4e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#2b3b4e;box-shadow:0 0 8px 8px #2b3b4e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#2b3b4e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#161f29;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;padding:16px 16px}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;font-size:14px;line-height:1.3;margin-bottom:8px;text-decoration:none;white-space:nowrap}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #006ce7;color:#006ce7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:650px;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#006ce7;cursor:pointer;text-decoration:none}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#0054b4;text-decoration:none}.tox .tox-dialog__body-content a:active{color:#0054b4;text-decoration:none}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content ul{display:block;list-style-type:disc;margin-bottom:16px;margin-inline-end:0;margin-inline-start:0;padding-inline-start:2.5rem}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #161f29}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #161f29;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-inline-edit-area{border:1px dotted #161f29}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:1px solid rgba(255,255,255,.15);box-shadow:none;padding:4px 0;transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid rgba(255,255,255,.15);box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:none}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:rgba(255,255,255,.15);border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:none;display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn--active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:rgba(255,255,255,.15);color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #161f29;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#161f29 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #161f29 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #161f29 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #161f29;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#222f3e;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #161f29;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.75);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:flex-end;overflow:hidden}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(255,255,255,.75);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#434e5b;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px #434e5b}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#fff}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#3389ec;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#3389ec;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--bespoke{background:#2f4055}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #3389ec inset}.tox .tox-split-button:focus{background:#3389ec;box-shadow:none;color:#fff}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(255,255,255,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-color:#222f3e;background-image:repeating-linear-gradient(rgba(255,255,255,.15) 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#3d546f;border-radius:6px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #3d546f;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #3d546f;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #3d546f;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #3d546f;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-well{border:1px solid #161f29;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #161f29;border-radius:6px;display:flex;flex:1;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox.tox-tinymce-aux .tox-toolbar__overflow{box-shadow:0 0 0 1px rgba(255,255,255,.15)} diff --git a/tinymce/skins/ui/oxide-dark/skin.min.css.br b/tinymce/skins/ui/oxide-dark/skin.min.css.br new file mode 100644 index 0000000..2a92b42 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.min.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/skin.min.css.gz b/tinymce/skins/ui/oxide-dark/skin.min.css.gz new file mode 100644 index 0000000..6ac6671 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.min.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/skin.shadowdom.css b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css new file mode 100644 index 0000000..25b0a37 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css @@ -0,0 +1,30 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css new file mode 100644 index 0000000..8745951 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css @@ -0,0 +1 @@ +body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201} diff --git a/tinymce/skins/ui/oxide/content.css b/tinymce/skins/ui/oxide/content.css new file mode 100644 index 0000000..13cf7b1 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.css @@ -0,0 +1,775 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/tinymce/skins/ui/oxide/content.css.br b/tinymce/skins/ui/oxide/content.css.br new file mode 100644 index 0000000..40b78c6 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.css.br differ diff --git a/tinymce/skins/ui/oxide/content.css.gz b/tinymce/skins/ui/oxide/content.css.gz new file mode 100644 index 0000000..72d87b1 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.css.gz differ diff --git a/tinymce/skins/ui/oxide/content.inline.css b/tinymce/skins/ui/oxide/content.inline.css new file mode 100644 index 0000000..9bd1e29 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.inline.css @@ -0,0 +1,769 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} diff --git a/tinymce/skins/ui/oxide/content.inline.css.br b/tinymce/skins/ui/oxide/content.inline.css.br new file mode 100644 index 0000000..9abbc69 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.inline.css.br differ diff --git a/tinymce/skins/ui/oxide/content.inline.css.gz b/tinymce/skins/ui/oxide/content.inline.css.gz new file mode 100644 index 0000000..08fe3e7 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.inline.css.gz differ diff --git a/tinymce/skins/ui/oxide/content.inline.min.css b/tinymce/skins/ui/oxide/content.inline.min.css new file mode 100644 index 0000000..716b038 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.inline.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'} diff --git a/tinymce/skins/ui/oxide/content.inline.min.css.br b/tinymce/skins/ui/oxide/content.inline.min.css.br new file mode 100644 index 0000000..3e999f3 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.inline.min.css.br differ diff --git a/tinymce/skins/ui/oxide/content.inline.min.css.gz b/tinymce/skins/ui/oxide/content.inline.min.css.gz new file mode 100644 index 0000000..06b926f Binary files /dev/null and b/tinymce/skins/ui/oxide/content.inline.min.css.gz differ diff --git a/tinymce/skins/ui/oxide/content.min.css b/tinymce/skins/ui/oxide/content.min.css new file mode 100644 index 0000000..1690eab --- /dev/null +++ b/tinymce/skins/ui/oxide/content.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}body{font-family:sans-serif}table{border-collapse:collapse} diff --git a/tinymce/skins/ui/oxide/content.min.css.br b/tinymce/skins/ui/oxide/content.min.css.br new file mode 100644 index 0000000..77d72e7 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.min.css.br differ diff --git a/tinymce/skins/ui/oxide/content.min.css.gz b/tinymce/skins/ui/oxide/content.min.css.gz new file mode 100644 index 0000000..771ef1a Binary files /dev/null and b/tinymce/skins/ui/oxide/content.min.css.gz differ diff --git a/tinymce/skins/ui/oxide/skin.css b/tinymce/skins/ui/oxide/skin.css new file mode 100644 index 0000000..31ff636 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.css @@ -0,0 +1,3109 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #222f3e; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 2px solid #eeeeee; + border-radius: 10px; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #fff; + border: 2px solid #eeeeee; + border-radius: 10px; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border: 1px solid #eeeeee; + border-radius: 6px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > *:last-child:not(:only-child) { + border-color: #eeeeee; + border-style: solid; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(0, 108, 231, 0.1); + border-color: #006ce7; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child { + border-color: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { + color: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.1); + border-color: rgba(255, 165, 0, 0.5); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child { + border-color: rgba(255, 165, 0, 0.5); +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { + color: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.1); + border-color: rgba(204, 0, 0, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child { + border-color: rgba(204, 0, 0, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.1); + border-color: rgba(120, 171, 70, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + border-color: rgba(120, 171, 70, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { + color: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-left-width: 1px; + padding-left: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-right-width: 1px; + padding-right: 4px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #006ce7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #006ce7; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 6px; + bottom: -1px; + box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #006ce7, 0 0 0 3px rgba(0, 108, 231, 0.25); + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #006ce7; + background-image: none; + border-color: #006ce7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus-visible:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary { + background-color: #f0f0f0; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #f0f0f0; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #f0f0f0; + background-image: none; + border-color: #f0f0f0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #d6d6d6; + background-image: none; + border-color: #d6d6d6; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked[disabled] { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: rgba(34, 47, 62, 0.18); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #222f3e; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 6px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 6px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(34, 47, 62, 0.3); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox--disabled { + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 6px; + box-shadow: inset 0 0 0 1px #006ce7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: #e3e3e3; + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: #fcfcfc; + color: rgba(34, 47, 62, 0.7); + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #222f3e; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #fff; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #cce2fa; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled { + background-color: #a6ccf7; + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #cce2fa; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #a6ccf7; + color: #222f3e; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #cce2fa; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: rgba(34, 47, 62, 0.7); + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: #222f3e; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #fff; + border: 1px solid #e3e3e3; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 28px; + margin: 6px 1px 5px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 5px 0 6px 11px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px -4px; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #222f3e; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #cce2fa; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #fff; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #fff; + border: 1px solid #eeeeee; + border-radius: 6px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #222f3e; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #222f3e; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(34, 47, 62, 0.7); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #fff; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(255, 255, 255, 0), #fff); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #fff; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #222f3e; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #fff; + box-shadow: 0 0 8px 8px #fff; + color: #222f3e; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #fff; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(34, 47, 62, 0.7); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #fff; +} +.tox .tox-dialog { + background-color: #fff; + border-color: #eeeeee; + border-radius: 10px; + border-style: solid; + border-width: 0px; + box-shadow: 0 16px 16px -10px rgba(34, 47, 62, 0.15), 0 0 40px 1px rgba(34, 47, 62, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #fff; + border-bottom: none; + color: #222f3e; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #222f3e; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + padding: 16px 16px; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(34, 47, 62, 0.7); + display: inline-block; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + text-decoration: none; + white-space: nowrap; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(0, 108, 231, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #006ce7; + color: #006ce7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: 650px; + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #006ce7; + cursor: pointer; + text-decoration: none; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #0054b4; + text-decoration: none; +} +.tox .tox-dialog__body-content a:active { + color: #0054b4; + text-decoration: none; +} +.tox .tox-dialog__body-content svg { + fill: #222f3e; +} +.tox .tox-dialog__body-content ul { + display: block; + list-style-type: disc; + margin-bottom: 16px; + margin-inline-end: 0; + margin-inline-start: 0; + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #222f3e; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #222f3e; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #fff; + border-top: none; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #eeeeee; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #eeeeee; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(34, 47, 62, 0.7); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-inline-edit-area { + border: 1px dotted #eeeeee; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #fff; + border-bottom: none; + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.1), 0 8px 8px -4px rgba(34, 47, 62, 0.07); + padding: 4px 0; + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid #e3e3e3; + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #fff; + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.2), 0 8px 8px -4px rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.2), 0 8px 8px -4px rgba(34, 47, 62, 0.15); +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(34, 47, 62, 0.2); + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #006ce7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #fff; + border-radius: 6px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #eeeeee; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus { + background-color: #fff; + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #006ce7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #222f3e; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #222f3e; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #eeeeee; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #fff; + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: #eeeeee; + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: rgba(0, 108, 231, 0.5); + border-color: rgba(0, 108, 231, 0.5); +} +.tox .tox-insert-table-picker__label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #fff; + border: 1px solid transparent; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 4px; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 8px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 8px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #fff; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 11px 0 12px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #fff; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 5px 1px 6px 0; + outline: none; + overflow: hidden; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #cce2fa; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn--active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #cce2fa; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #e4eeda; + border-color: #d7e6c8; + color: #222f3e; +} +.tox .tox-notification--success p { + color: #222f3e; +} +.tox .tox-notification--success a { + color: #517342; +} +.tox .tox-notification--success svg { + fill: #222f3e; +} +.tox .tox-notification--error { + background-color: #f5cccc; + border-color: #f0b3b3; + color: #222f3e; +} +.tox .tox-notification--error p { + color: #222f3e; +} +.tox .tox-notification--error a { + color: #77181f; +} +.tox .tox-notification--error svg { + fill: #222f3e; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #fff5cc; + border-color: #fff0b3; + color: #222f3e; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #222f3e; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #7a6e25; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #222f3e; +} +.tox .tox-notification--info { + background-color: #d6e7fb; + border-color: #c1dbf9; + color: #222f3e; +} +.tox .tox-notification--info p { + color: #222f3e; +} +.tox .tox-notification--info a { + color: #2a64a6; +} +.tox .tox-notification--info svg { + fill: #222f3e; +} +.tox .tox-notification__body { + align-self: center; + color: #222f3e; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #fff; + border: 1px solid #eeeeee; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #fff transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #eeeeee transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #fff transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #eeeeee transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #fff transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #eeeeee transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #fff; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #eeeeee; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #fff; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #eeeeee; + border-radius: 6px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #006ce7; + border: 2px solid #0054b4; + border-radius: 6px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(34, 47, 62, 0.7); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #fff; + border-top: 1px solid #e3e3e3; + color: rgba(34, 47, 62, 0.7); + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-weight: normal; + height: 25px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: none; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: flex-end; + overflow: hidden; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + margin-right: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: rgba(34, 47, 62, 0.7); + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #222f3e; + cursor: pointer; +} +.tox .tox-statusbar__branding svg { + fill: rgba(34, 47, 62, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #222f3e; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-left: auto; + margin-right: -8px; + padding-bottom: 3px; + padding-left: 1ch; + padding-right: 3px; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-statusbar__resize-handle:focus svg { + background-color: #dee0e2; + border-radius: 1px 1px 5px 1px; + box-shadow: 0 0 0 2px #dee0e2; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 6px 1px 5px 0; + outline: none; + overflow: hidden; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #222f3e; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #cce2fa; + border: 0; + box-shadow: none; +} +.tox .tox-tbtn:hover { + background: #cce2fa; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:hover svg { + fill: #222f3e; +} +.tox .tox-tbtn:active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:active svg { + fill: #222f3e; +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #222f3e; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 42px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 56px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tbtn--select { + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--bespoke { + background: #f7f7f7; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 4px; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 6px 1px 5px 0; + overflow: hidden; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #cce2fa inset; +} +.tox .tox-split-button:focus { + background: #cce2fa; + box-shadow: none; + color: #222f3e; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: transparent; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-toolbar-overlord { + background-color: #fff; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-color: #fff; + background-image: repeating-linear-gradient(#e3e3e3 0px 1px, transparent 1px 39px); + background-position: center top 40px; + background-repeat: no-repeat; + background-size: calc(100% - 11px * 2) calc(100% - 41px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 11px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid transparent; + margin-top: -1px; + padding-bottom: 1px; + padding-top: 1px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #fff; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 11px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 11px 0 12px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox .tox-tooltip { + display: inline-block; + padding: 8px; + position: relative; +} +.tox .tox-tooltip__body { + background-color: #222f3e; + border-radius: 6px; + box-shadow: 0 2px 4px rgba(34, 47, 62, 0.3); + color: rgba(255, 255, 255, 0.75); + font-size: 14px; + font-style: normal; + font-weight: normal; + padding: 4px 8px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #222f3e; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #222f3e; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #222f3e; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #222f3e; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-well { + border: 1px solid #eeeeee; + border-radius: 6px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #eeeeee; + border-radius: 6px; + display: flex; + flex: 1; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} diff --git a/tinymce/skins/ui/oxide/skin.css.br b/tinymce/skins/ui/oxide/skin.css.br new file mode 100644 index 0000000..3c3ddee Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.css.br differ diff --git a/tinymce/skins/ui/oxide/skin.css.gz b/tinymce/skins/ui/oxide/skin.css.gz new file mode 100644 index 0000000..ab68916 Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.css.gz differ diff --git a/tinymce/skins/ui/oxide/skin.min.css b/tinymce/skins/ui/oxide/skin.min.css new file mode 100644 index 0000000..c37d596 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.min.css @@ -0,0 +1 @@ +.tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border:1px solid #eee;border-radius:6px;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>:last-child:not(:only-child){border-color:#eee;border-style:solid}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,108,231,.1);border-color:#006ce7;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description>:last-child{border-color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg{fill:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon{color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.1);border-color:rgba(255,165,0,.5);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description>:last-child{border-color:rgba(255,165,0,.5)}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon{color:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.1);border-color:rgba(204,0,0,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.4)}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);border-color:rgba(120,171,70,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{border-color:rgba(120,171,70,.4)}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#78ab46}.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue__header h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:4px 4px 4px 8px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description>:last-child{border-left-width:1px;padding-left:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description>:last-child{border-right-width:1px;padding-right:4px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#006ce7;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:6px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button--secondary{background-color:#f0f0f0;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#f0f0f0;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;color:#222f3e;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#f0f0f0;background-image:none;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:hover:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:active:not(:disabled){background-color:#d6d6d6;background-image:none;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked[disabled]{background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:rgba(34,47,62,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#222f3e}.tox .tox-checkbox{align-items:center;border-radius:6px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:6px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(34,47,62,.3)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#006ce7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#006ce7}.tox .tox-checkbox--disabled{color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(34,47,62,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;box-shadow:inset 0 0 0 1px #006ce7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#cce2fa;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(34,47,62,.7);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#222f3e}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#cce2fa}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#fff;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;padding:16px 16px}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;font-size:14px;line-height:1.3;margin-bottom:8px;text-decoration:none;white-space:nowrap}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #006ce7;color:#006ce7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:650px;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#006ce7;cursor:pointer;text-decoration:none}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#0054b4;text-decoration:none}.tox .tox-dialog__body-content a:active{color:#0054b4;text-decoration:none}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content ul{display:block;list-style-type:disc;margin-bottom:16px;margin-inline-end:0;margin-inline-start:0;padding-inline-start:2.5rem}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #eee}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-inline-edit-area{border:1px dotted #eee}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0;transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn--active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#fff;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:flex-end;overflow:hidden}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#dee0e2;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px #dee0e2}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#222f3e}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#cce2fa;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #cce2fa inset}.tox .tox-split-button:focus{background:#cce2fa;box-shadow:none;color:#222f3e}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(34,47,62,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-well{border:1px solid #eee;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #eee;border-radius:6px;display:flex;flex:1;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1} diff --git a/tinymce/skins/ui/oxide/skin.min.css.br b/tinymce/skins/ui/oxide/skin.min.css.br new file mode 100644 index 0000000..cccc7bb Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.min.css.br differ diff --git a/tinymce/skins/ui/oxide/skin.min.css.gz b/tinymce/skins/ui/oxide/skin.min.css.gz new file mode 100644 index 0000000..5af6799 Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.min.css.gz differ diff --git a/tinymce/skins/ui/oxide/skin.shadowdom.css b/tinymce/skins/ui/oxide/skin.shadowdom.css new file mode 100644 index 0000000..25b0a37 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.shadowdom.css @@ -0,0 +1,30 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce/skins/ui/oxide/skin.shadowdom.min.css b/tinymce/skins/ui/oxide/skin.shadowdom.min.css new file mode 100644 index 0000000..8745951 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.shadowdom.min.css @@ -0,0 +1 @@ +body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201} diff --git a/tinymce/skins/ui/tinymce-5-dark/content.css b/tinymce/skins/ui/tinymce-5-dark/content.css new file mode 100644 index 0000000..a983cac --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.css @@ -0,0 +1,756 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * Dracula Theme originally by Zeno Rocha [@zenorocha] + * https://draculatheme.com/ + * + * Ported for PrismJS by Albert Vallverdu [@byverdu] + */ +code[class*="language-"], +pre[class*="language-"] { + color: #f8f8f2; + background: none; + text-shadow: 0 1px rgba(0, 0, 0, 0.3); + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; + border-radius: 0.3em; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #282a36; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: #6272a4; +} +.token.punctuation { + color: #f8f8f2; +} +.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.constant, +.token.symbol, +.token.deleted { + color: #ff79c6; +} +.token.boolean, +.token.number { + color: #bd93f9; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #50fa7b; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string, +.token.variable { + color: #f8f8f2; +} +.token.atrule, +.token.attr-value, +.token.function, +.token.class-name { + color: #f1fa8c; +} +.token.keyword { + color: #8be9fd; +} +.token.regex, +.token.important { + color: #ffb86c; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.3); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.3); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #4099ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #4099ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #4099ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #4099ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #4099ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #4099ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #4099ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid transparent; + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: lighten; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #4099ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/tinymce/skins/ui/tinymce-5-dark/content.css.br b/tinymce/skins/ui/tinymce-5-dark/content.css.br new file mode 100644 index 0000000..ebb67b4 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.css.gz b/tinymce/skins/ui/tinymce-5-dark/content.css.gz new file mode 100644 index 0000000..551134c Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.css b/tinymce/skins/ui/tinymce-5-dark/content.inline.css new file mode 100644 index 0000000..9bd1e29 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.inline.css @@ -0,0 +1,769 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.css.br b/tinymce/skins/ui/tinymce-5-dark/content.inline.css.br new file mode 100644 index 0000000..9abbc69 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.inline.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.css.gz b/tinymce/skins/ui/tinymce-5-dark/content.inline.css.gz new file mode 100644 index 0000000..08fe3e7 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.inline.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css new file mode 100644 index 0000000..716b038 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'} diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.br b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.br new file mode 100644 index 0000000..3e999f3 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.gz b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.gz new file mode 100644 index 0000000..06b926f Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.min.css b/tinymce/skins/ui/tinymce-5-dark/content.min.css new file mode 100644 index 0000000..1f61cb8 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:0 0;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#282a36}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#6272a4}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#ff79c6}.token.boolean,.token.number{color:#bd93f9}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#50fa7b}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#f1fa8c}.token.keyword{color:#8be9fd}.token.important,.token.regex{color:#ffb86c}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.3)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.3);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #4099ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #4099ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #4099ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #4099ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #4099ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#4099ff}.mce-content-body .mce-edit-focus{outline:3px solid #4099ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid transparent;bottom:-1px;content:'';left:-1px;mix-blend-mode:lighten;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#4099ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}body{font-family:sans-serif}table{border-collapse:collapse} diff --git a/tinymce/skins/ui/tinymce-5-dark/content.min.css.br b/tinymce/skins/ui/tinymce-5-dark/content.min.css.br new file mode 100644 index 0000000..c3a8b03 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.min.css.gz b/tinymce/skins/ui/tinymce-5-dark/content.min.css.gz new file mode 100644 index 0000000..4957db3 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.css b/tinymce/skins/ui/tinymce-5-dark/skin.css new file mode 100644 index 0000000..676ba40 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.css @@ -0,0 +1,3199 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #2A3746; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 1px solid #000000; + border-radius: 0; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #222f3e; + border: 1px solid #000000; + border-radius: 0; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border: 1px solid #000000; + border-radius: 3px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > *:last-child:not(:only-child) { + border-color: #000000; + border-style: solid; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(32, 122, 183, 0.5); + border-color: #207ab7; + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child { + border-color: #207ab7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.5); + border-color: rgba(255, 165, 0, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child { + border-color: rgba(255, 165, 0, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.5); + border-color: rgba(204, 0, 0, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child { + border-color: rgba(204, 0, 0, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.5); + border-color: rgba(120, 171, 70, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + border-color: rgba(120, 171, 70, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-left-width: 1px; + padding-left: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-right-width: 1px; + padding-right: 4px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #207ab7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #207ab7; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 3px; + bottom: -1px; + box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #207ab7, 0 0 0 3px rgba(32, 122, 183, 0.25); + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #207ab7; + background-image: none; + border-color: #207ab7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #1c6ca1; + background-image: none; + border-color: #1c6ca1; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus-visible:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #1c6ca1; + background-image: none; + border-color: #1c6ca1; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #185d8c; + background-image: none; + border-color: #185d8c; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary { + background-color: #3d546f; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #3d546f; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #3d546f; + background-image: none; + border-color: #3d546f; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #34485f; + background-image: none; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #34485f; + background-image: none; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #2b3b4e; + background-image: none; + border-color: #2b3b4e; + box-shadow: none; + color: #fff; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked[disabled] { + background-color: #3d546f; + border-color: #3d546f; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: #34485f; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: #34485f; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: #2b3b4e; + border-color: #2b3b4e; + box-shadow: none; + color: #fff; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #fff; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 3px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 3px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(255, 255, 255, 0.2); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #207ab7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #207ab7; +} +.tox .tox-checkbox--disabled { + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 3px; + box-shadow: inset 0 0 0 1px #207ab7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: #1a1a1a; + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: #333333; + color: #fff; + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #fff; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #2b3b4e; + color: #fff; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #4a5562; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled { + background-color: #757d87; + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #4a5562; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #757d87; + color: #fff; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #4a5562; + color: #fff; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: rgba(255, 255, 255, 0.5); + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: #fff; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #2b3b4e; + border: 1px solid #1a1a1a; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(42, 55, 70, 0.2), 0 4px 8px 0 rgba(42, 55, 70, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 34px; + margin: 3px 0 2px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid #000000; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid #000000; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 2px 0 3px 4px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px 0; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #fff; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #4a5562; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #2b3b4e; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #2b3b4e; + border: 1px solid #000000; + border-radius: 3px; + box-shadow: 0 4px 8px 0 rgba(42, 55, 70, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #fff; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #fff; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(255, 255, 255, 0.5); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #2b3b4e; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(43, 59, 78, 0), #2b3b4e); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #2b3b4e; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #fff; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #2b3b4e; + box-shadow: 0 0 8px 8px #2b3b4e; + color: #fff; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #2b3b4e; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(34, 47, 62, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #222f3e; +} +.tox .tox-dialog { + background-color: #2b3b4e; + border-color: #000000; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: 0 16px 16px -10px rgba(42, 55, 70, 0.15), 0 0 40px 1px rgba(42, 55, 70, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #2b3b4e; + border-bottom: none; + color: #fff; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #fff; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + padding: 16px 16px; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(255, 255, 255, 0.5); + display: inline-block; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + text-decoration: none; + white-space: nowrap; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(32, 122, 183, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #207ab7; + color: #207ab7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: 650px; + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #207ab7; + cursor: pointer; + text-decoration: none; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #185d8c; + text-decoration: none; +} +.tox .tox-dialog__body-content a:active { + color: #185d8c; + text-decoration: none; +} +.tox .tox-dialog__body-content svg { + fill: #fff; +} +.tox .tox-dialog__body-content ul { + display: block; + list-style-type: disc; + margin-bottom: 16px; + margin-inline-end: 0; + margin-inline-start: 0; + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #fff; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #fff; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #2b3b4e; + border-top: 1px solid #000000; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(34, 47, 62, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #000000; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #000000; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(255, 255, 255, 0.5); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-inline-edit-area { + border: 1px dotted #000000; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #222f3e; + border-bottom: none; + box-shadow: none; + padding: 4px 0; + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid #000000; + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #222f3e; + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(42, 55, 70, 0.2); + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #207ab7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #2b3b4e; + border-radius: 3px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(255, 255, 255, 0.5); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #2b3b4e; + border-color: #000000; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 4.75px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #222f3e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus { + background-color: #2b3b4e; + border-color: #207ab7; + box-shadow: none; + outline: 2px solid rgba(32, 122, 183, 0.25); +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #207ab7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #fff; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #19232e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #fff; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #2b3b4e; + border-color: #000000; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 4.75px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #19232e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #2b3b4e; + border-color: #207ab7; + box-shadow: none; + outline: 2px solid rgba(32, 122, 183, 0.25); +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: #000000; + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: 0 -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: rgba(32, 122, 183, 0.5); + border-color: rgba(32, 122, 183, 0.5); +} +.tox .tox-insert-table-picker__label { + color: #fff; + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #2b3b4e; + border: 1px solid #000000; + border-radius: 3px; + box-shadow: 0 4px 8px 0 rgba(42, 55, 70, 0.1); + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 0; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 4px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 4px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e; + background-color: #222f3e; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 4px 0 4px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e; + background-color: #222f3e; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 34px; + justify-content: center; + margin: 2px 0 3px 0; + outline: none; + overflow: hidden; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #4a5562; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn--active { + background: #757d87; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #4a5562; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #334840; + border-color: #3c5440; + color: #fff; +} +.tox .tox-notification--success p { + color: #fff; +} +.tox .tox-notification--success a { + color: #b5d199; +} +.tox .tox-notification--success svg { + fill: #fff; +} +.tox .tox-notification--error { + background-color: #442632; + border-color: #55212b; + color: #fff; +} +.tox .tox-notification--error p { + color: #fff; +} +.tox .tox-notification--error a { + color: #e68080; +} +.tox .tox-notification--error svg { + fill: #fff; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #222f3e; + border-color: #000000; + color: #fff0b3; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #fff0b3; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #ffcc00; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #fff0b3; +} +.tox .tox-notification--info { + background-color: #254161; + border-color: #264972; + color: #fff; +} +.tox .tox-notification--info p { + color: #fff; +} +.tox .tox-notification--info a { + color: #83b7f3; +} +.tox .tox-notification--info svg { + fill: #fff; +} +.tox .tox-notification__body { + align-self: center; + color: #fff; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #222f3e; + border: 1px solid #000000; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(42, 55, 70, 0.2), 0 4px 8px 0 rgba(42, 55, 70, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #222f3e transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #000000 transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #222f3e transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #000000 transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #222f3e transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #000000 transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #222f3e; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #000000; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #222f3e; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #000000; + border-radius: 3px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #207ab7; + border: 2px solid #185d8c; + border-radius: 3px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(255, 255, 255, 0.5); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #222f3e; + border-top: 1px solid #000000; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 12px; + font-weight: normal; + height: 18px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: uppercase; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: flex-end; + overflow: hidden; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + margin-right: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: #fff; + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #fff; + cursor: pointer; +} +.tox .tox-statusbar__branding svg { + fill: rgba(255, 255, 255, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #fff; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-left: auto; + margin-right: -8px; + padding-bottom: 3px; + padding-left: 1ch; + padding-right: 3px; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-statusbar__resize-handle:focus svg { + background-color: #4a5562; + border-radius: 1px 1px -4px 1px; + box-shadow: 0 0 0 2px #4a5562; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(34, 47, 62, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 34px; + justify-content: center; + margin: 3px 0 2px 0; + outline: none; + overflow: hidden; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #fff; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #4a5562; + border: 0; + box-shadow: none; +} +.tox .tox-tbtn:hover { + background: #4a5562; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn:hover svg { + fill: #fff; +} +.tox .tox-tbtn:active { + background: #757d87; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn:active svg { + fill: #fff; +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { + background: #757d87; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #fff; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #fff; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #fff; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 51px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 68px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tbtn--select { + margin: 3px 0 2px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tbtn--bespoke { + background: transparent; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 0; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 3px 0 2px 0; + overflow: hidden; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #4a5562 inset; +} +.tox .tox-split-button:focus { + background: #4a5562; + box-shadow: none; + color: #fff; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: transparent; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-toolbar-overlord { + background-color: #222f3e; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-color: #222f3e; + background-image: repeating-linear-gradient(#000000 0px 1px, transparent 1px 39px); + background-position: center top 39px; + background-repeat: no-repeat; + background-size: calc(100% - 4px * 2) calc(100% - 39px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 4px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid #000000; + margin-top: -1px; + padding-bottom: 0px; + padding-top: 0px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #222f3e; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(42, 55, 70, 0.2), 0 4px 8px 0 rgba(42, 55, 70, 0.15); + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 4px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 4px 0 4px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid #000000; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid #000000; +} +.tox .tox-tooltip { + display: inline-block; + padding: 8px; + position: relative; +} +.tox .tox-tooltip__body { + background-color: #3d546f; + border-radius: 3px; + box-shadow: 0 2px 4px rgba(42, 55, 70, 0.3); + color: rgba(255, 255, 255, 0.75); + font-size: 14px; + font-style: normal; + font-weight: normal; + padding: 4px 8px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #3d546f; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #3d546f; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #3d546f; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #3d546f; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-well { + border: 1px solid #000000; + border-radius: 3px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #000000; + border-radius: 3px; + display: flex; + flex: 1; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: none; + padding: 0; +} +.tox.tox-tinymce--toolbar-bottom .tox-editor-header, +.tox.tox-tinymce-inline .tox-editor-header { + margin-bottom: -1px; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: none; + box-shadow: none; +} +.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: transparent; + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); + padding: 0; +} +.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px 0; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0; +} +.tox .tox-pop { + box-shadow: none; +} +.tox .tox-tbtn, +.tox .tox-tbtn--select, +.tox .tox-split-button { + margin: 2px 0 3px 0; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0px #222f3e !important; +} +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: none; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord .tox-toolbar__primary { + border-top: 1px solid #000000; + margin-top: -1px; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + border: 1px solid #000000; + padding: 0; +} +.tox .tox-pop .tox-pop__dialog .tox-toolbar { + padding: 0; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar { + border-top: 1px solid #000000; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary, +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child { + border-top: 1px solid #000000; +} +.tox .tox-toolbar__group { + padding: 0 4px 0 4px; +} +.tox .tox-collection__item { + border-radius: 0; + cursor: pointer; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #fff; + text-decoration: underline; +} +.tox .tox-statusbar__branding svg { + vertical-align: -0.25em; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 1ch; +} +.tox .tox-statusbar__resize-handle { + padding-bottom: 0; + padding-right: 0; +} +.tox .tox-button::before { + display: none; +} diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.css.br b/tinymce/skins/ui/tinymce-5-dark/skin.css.br new file mode 100644 index 0000000..e93ef15 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.css.gz b/tinymce/skins/ui/tinymce-5-dark/skin.css.gz new file mode 100644 index 0000000..a909aca Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.min.css b/tinymce/skins/ui/tinymce-5-dark/skin.min.css new file mode 100644 index 0000000..43eaa09 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.min.css @@ -0,0 +1 @@ +.tox{box-shadow:none;box-sizing:content-box;color:#2a3746;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:1px solid #000;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:1px solid #000;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border:1px solid #000;border-radius:3px;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>:last-child:not(:only-child){border-color:#000;border-style:solid}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(32,122,183,.5);border-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description>:last-child{border-color:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.5);border-color:rgba(255,165,0,.8);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description>:last-child{border-color:rgba(255,165,0,.8)}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.5);border-color:rgba(204,0,0,.8);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.8)}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);border-color:rgba(120,171,70,.8);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{border-color:rgba(120,171,70,.8)}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue__header h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:4px 4px 4px 8px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description>:last-child{border-left-width:1px;padding-left:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description>:last-child{border-right-width:1px;padding-right:4px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#207ab7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#207ab7;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:3px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #207ab7,0 0 0 3px rgba(32,122,183,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#207ab7;background-image:none;border-color:#207ab7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#1c6ca1;background-image:none;border-color:#1c6ca1;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#1c6ca1;background-image:none;border-color:#1c6ca1;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#185d8c;background-image:none;border-color:#185d8c;box-shadow:none;color:#fff}.tox .tox-button--secondary{background-color:#3d546f;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#3d546f;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;color:#fff;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#3d546f;background-image:none;border-color:#3d546f;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:hover:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:active:not(:disabled){background-color:#2b3b4e;background-image:none;border-color:#2b3b4e;box-shadow:none;color:#fff}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked[disabled]{background-color:#3d546f;border-color:#3d546f;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:#34485f;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--naked:focus:not(:disabled){background-color:#34485f;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--naked:active:not(:disabled){background-color:#2b3b4e;border-color:#2b3b4e;box-shadow:none;color:#fff}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#fff}.tox .tox-checkbox{align-items:center;border-radius:3px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:3px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(255,255,255,.2)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#207ab7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#207ab7}.tox .tox-checkbox--disabled{color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(255,255,255,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:3px;box-shadow:inset 0 0 0 1px #207ab7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#1a1a1a;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#333;color:#fff;cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active{background-color:#4a5562}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#757d87;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#4a5562}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#757d87;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(255,255,255,.5);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#fff}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid #1a1a1a;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #000}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #000}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#4a5562}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#2b3b4e;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#2b3b4e;border:1px solid #000;border-radius:3px;box-shadow:0 4px 8px 0 rgba(42,55,70,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#2b3b4e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(43,59,78,0),#2b3b4e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#2b3b4e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#2b3b4e;box-shadow:0 0 8px 8px #2b3b4e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#2b3b4e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;padding:16px 16px}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;font-size:14px;line-height:1.3;margin-bottom:8px;text-decoration:none;white-space:nowrap}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #207ab7;color:#207ab7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:650px;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#207ab7;cursor:pointer;text-decoration:none}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#185d8c;text-decoration:none}.tox .tox-dialog__body-content a:active{color:#185d8c;text-decoration:none}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content ul{display:block;list-style-type:disc;margin-bottom:16px;margin-inline-end:0;margin-inline-start:0;padding-inline-start:2.5rem}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:1px solid #000;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #000;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-inline-edit-area{border:1px dotted #000}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:none;box-shadow:none;padding:4px 0;transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #000;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(42,55,70,.2);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#000;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#2b3b4e;border:1px solid #000;border-radius:3px;box-shadow:0 4px 8px 0 rgba(42,55,70,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn--active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:#000;color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #000;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#000 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #000 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #000 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #000;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#222f3e;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #000;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid #000;color:#fff;display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:flex-end;overflow:hidden}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:#fff;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#4a5562;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px #4a5562}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#fff}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#4a5562;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:3px 0 2px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #4a5562 inset}.tox .tox-split-button:focus{background:#4a5562;box-shadow:none;color:#fff}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(255,255,255,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-color:#222f3e;background-image:repeating-linear-gradient(#000 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #000;margin-top:-1px;padding-bottom:0;padding-top:0}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #000}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #000}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#3d546f;border-radius:3px;box-shadow:0 2px 4px rgba(42,55,70,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #3d546f;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #3d546f;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #3d546f;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #3d546f;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-well{border:1px solid #000;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #000;border-radius:3px;display:flex;flex:1;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select{margin:2px 0 3px 0}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e!important}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #000;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #000;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #000}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #000}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;text-decoration:underline}.tox .tox-statusbar__branding svg{vertical-align:-.25em}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none} diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.min.css.br b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.br new file mode 100644 index 0000000..0b62023 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.min.css.gz b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.gz new file mode 100644 index 0000000..bbb751c Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css new file mode 100644 index 0000000..25b0a37 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css @@ -0,0 +1,30 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css new file mode 100644 index 0000000..8745951 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css @@ -0,0 +1 @@ +body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201} diff --git a/tinymce/skins/ui/tinymce-5/content.css b/tinymce/skins/ui/tinymce-5/content.css new file mode 100644 index 0000000..13cf7b1 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.css @@ -0,0 +1,775 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/tinymce/skins/ui/tinymce-5/content.css.br b/tinymce/skins/ui/tinymce-5/content.css.br new file mode 100644 index 0000000..40b78c6 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/content.css.gz b/tinymce/skins/ui/tinymce-5/content.css.gz new file mode 100644 index 0000000..72d87b1 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/content.inline.css b/tinymce/skins/ui/tinymce-5/content.inline.css new file mode 100644 index 0000000..9bd1e29 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.inline.css @@ -0,0 +1,769 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} diff --git a/tinymce/skins/ui/tinymce-5/content.inline.css.br b/tinymce/skins/ui/tinymce-5/content.inline.css.br new file mode 100644 index 0000000..9abbc69 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.inline.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/content.inline.css.gz b/tinymce/skins/ui/tinymce-5/content.inline.css.gz new file mode 100644 index 0000000..08fe3e7 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.inline.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/content.inline.min.css b/tinymce/skins/ui/tinymce-5/content.inline.min.css new file mode 100644 index 0000000..716b038 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.inline.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'} diff --git a/tinymce/skins/ui/tinymce-5/content.inline.min.css.br b/tinymce/skins/ui/tinymce-5/content.inline.min.css.br new file mode 100644 index 0000000..3e999f3 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.inline.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/content.inline.min.css.gz b/tinymce/skins/ui/tinymce-5/content.inline.min.css.gz new file mode 100644 index 0000000..06b926f Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.inline.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/content.min.css b/tinymce/skins/ui/tinymce-5/content.min.css new file mode 100644 index 0000000..1690eab --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.min.css @@ -0,0 +1 @@ +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}body{font-family:sans-serif}table{border-collapse:collapse} diff --git a/tinymce/skins/ui/tinymce-5/content.min.css.br b/tinymce/skins/ui/tinymce-5/content.min.css.br new file mode 100644 index 0000000..77d72e7 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/content.min.css.gz b/tinymce/skins/ui/tinymce-5/content.min.css.gz new file mode 100644 index 0000000..771ef1a Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/skin.css b/tinymce/skins/ui/tinymce-5/skin.css new file mode 100644 index 0000000..92cf6fe --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.css @@ -0,0 +1,3199 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #222f3e; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 1px solid #cccccc; + border-radius: 0; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #fff; + border: 1px solid #cccccc; + border-radius: 0; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border: 1px solid #cccccc; + border-radius: 3px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > *:last-child:not(:only-child) { + border-color: #cccccc; + border-style: solid; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(32, 122, 183, 0.1); + border-color: rgba(32, 122, 183, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child { + border-color: rgba(32, 122, 183, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #207ab7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #207ab7; +} +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { + color: #207ab7; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.1); + border-color: rgba(255, 165, 0, 0.5); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child { + border-color: rgba(255, 165, 0, 0.5); +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { + color: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.1); + border-color: rgba(204, 0, 0, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child { + border-color: rgba(204, 0, 0, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.1); + border-color: rgba(120, 171, 70, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + border-color: rgba(120, 171, 70, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { + color: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-left-width: 1px; + padding-left: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-right-width: 1px; + padding-right: 4px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #207ab7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #207ab7; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 3px; + bottom: -1px; + box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #207ab7, 0 0 0 3px rgba(32, 122, 183, 0.25); + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #207ab7; + background-image: none; + border-color: #207ab7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #1c6ca1; + background-image: none; + border-color: #1c6ca1; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus-visible:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #1c6ca1; + background-image: none; + border-color: #1c6ca1; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #185d8c; + background-image: none; + border-color: #185d8c; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary { + background-color: #f0f0f0; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #f0f0f0; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #f0f0f0; + background-image: none; + border-color: #f0f0f0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #d6d6d6; + background-image: none; + border-color: #d6d6d6; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked[disabled] { + background-color: #f0f0f0; + border-color: #f0f0f0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: #e3e3e3; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: #e3e3e3; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: #d6d6d6; + border-color: #d6d6d6; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #222f3e; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 3px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 3px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(34, 47, 62, 0.3); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #207ab7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #207ab7; +} +.tox .tox-checkbox--disabled { + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 3px; + box-shadow: inset 0 0 0 1px #207ab7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: #cccccc; + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: #e6e6e6; + color: rgba(34, 47, 62, 0.7); + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #222f3e; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #fff; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #dee0e2; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled { + background-color: #c8cbcf; + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #dee0e2; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #c8cbcf; + color: #222f3e; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #dee0e2; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: rgba(34, 47, 62, 0.7); + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: #222f3e; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #fff; + border: 1px solid #cccccc; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 34px; + margin: 3px 0 2px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid #cccccc; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid #cccccc; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 2px 0 3px 4px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px 0; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #222f3e; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #dee0e2; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #fff; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #fff; + border: 1px solid #cccccc; + border-radius: 3px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #222f3e; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #222f3e; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(34, 47, 62, 0.7); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #fff; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(255, 255, 255, 0), #fff); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #fff; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #222f3e; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #fff; + box-shadow: 0 0 8px 8px #fff; + color: #222f3e; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #fff; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(34, 47, 62, 0.7); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #fff; +} +.tox .tox-dialog { + background-color: #fff; + border-color: #cccccc; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: 0 16px 16px -10px rgba(34, 47, 62, 0.15), 0 0 40px 1px rgba(34, 47, 62, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #fff; + border-bottom: none; + color: #222f3e; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #222f3e; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + padding: 16px 16px; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(34, 47, 62, 0.7); + display: inline-block; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + text-decoration: none; + white-space: nowrap; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(32, 122, 183, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #207ab7; + color: #207ab7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: 650px; + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #207ab7; + cursor: pointer; + text-decoration: none; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #185d8c; + text-decoration: none; +} +.tox .tox-dialog__body-content a:active { + color: #185d8c; + text-decoration: none; +} +.tox .tox-dialog__body-content svg { + fill: #222f3e; +} +.tox .tox-dialog__body-content ul { + display: block; + list-style-type: disc; + margin-bottom: 16px; + margin-inline-end: 0; + margin-inline-start: 0; + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #222f3e; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #222f3e; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #fff; + border-top: 1px solid #cccccc; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #cccccc; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #cccccc; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(34, 47, 62, 0.7); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-inline-edit-area { + border: 1px dotted #cccccc; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #fff; + border-bottom: none; + box-shadow: none; + padding: 4px 0; + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid #cccccc; + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #fff; + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(34, 47, 62, 0.2); + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #207ab7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #fff; + border-radius: 3px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #cccccc; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 4.75px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus { + background-color: #fff; + border-color: #207ab7; + box-shadow: none; + outline: 2px solid rgba(32, 122, 183, 0.25); +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #207ab7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #222f3e; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #222f3e; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #cccccc; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 4.75px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #fff; + border-color: #207ab7; + box-shadow: none; + outline: 2px solid rgba(32, 122, 183, 0.25); +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: #cccccc; + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: 0 -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: rgba(32, 122, 183, 0.5); + border-color: rgba(32, 122, 183, 0.5); +} +.tox .tox-insert-table-picker__label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #fff; + border: 1px solid #cccccc; + border-radius: 3px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 0; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 4px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 4px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff; + background-color: #fff; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 4px 0 4px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff; + background-color: #fff; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 34px; + justify-content: center; + margin: 2px 0 3px 0; + outline: none; + overflow: hidden; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #dee0e2; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn--active { + background: #c8cbcf; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #dee0e2; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #e4eeda; + border-color: #d7e6c8; + color: #222f3e; +} +.tox .tox-notification--success p { + color: #222f3e; +} +.tox .tox-notification--success a { + color: #517342; +} +.tox .tox-notification--success svg { + fill: #222f3e; +} +.tox .tox-notification--error { + background-color: #f5cccc; + border-color: #f0b3b3; + color: #222f3e; +} +.tox .tox-notification--error p { + color: #222f3e; +} +.tox .tox-notification--error a { + color: #77181f; +} +.tox .tox-notification--error svg { + fill: #222f3e; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #fff5cc; + border-color: #fff0b3; + color: #222f3e; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #222f3e; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #7a6e25; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #222f3e; +} +.tox .tox-notification--info { + background-color: #d6e7fb; + border-color: #c1dbf9; + color: #222f3e; +} +.tox .tox-notification--info p { + color: #222f3e; +} +.tox .tox-notification--info a { + color: #2a64a6; +} +.tox .tox-notification--info svg { + fill: #222f3e; +} +.tox .tox-notification__body { + align-self: center; + color: #222f3e; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #fff; + border: 1px solid #cccccc; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #fff transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #cccccc transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #fff transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #cccccc transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #fff transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #cccccc transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #fff; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #cccccc; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #fff; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #cccccc; + border-radius: 3px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #207ab7; + border: 2px solid #185d8c; + border-radius: 3px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(34, 47, 62, 0.7); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #fff; + border-top: 1px solid #cccccc; + color: rgba(34, 47, 62, 0.7); + display: flex; + flex: 0 0 auto; + font-size: 12px; + font-weight: normal; + height: 18px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: uppercase; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: flex-end; + overflow: hidden; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + margin-right: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: rgba(34, 47, 62, 0.7); + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #222f3e; + cursor: pointer; +} +.tox .tox-statusbar__branding svg { + fill: rgba(34, 47, 62, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #222f3e; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-left: auto; + margin-right: -8px; + padding-bottom: 3px; + padding-left: 1ch; + padding-right: 3px; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-statusbar__resize-handle:focus svg { + background-color: #dee0e2; + border-radius: 1px 1px -4px 1px; + box-shadow: 0 0 0 2px #dee0e2; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 34px; + justify-content: center; + margin: 3px 0 2px 0; + outline: none; + overflow: hidden; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #222f3e; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #dee0e2; + border: 0; + box-shadow: none; +} +.tox .tox-tbtn:hover { + background: #dee0e2; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:hover svg { + fill: #222f3e; +} +.tox .tox-tbtn:active { + background: #c8cbcf; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:active svg { + fill: #222f3e; +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { + background: #c8cbcf; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #222f3e; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 51px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 68px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tbtn--select { + margin: 3px 0 2px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--bespoke { + background: transparent; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 0; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 3px 0 2px 0; + overflow: hidden; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #dee0e2 inset; +} +.tox .tox-split-button:focus { + background: #dee0e2; + box-shadow: none; + color: #222f3e; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: transparent; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-toolbar-overlord { + background-color: #fff; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-color: #fff; + background-image: repeating-linear-gradient(#cccccc 0px 1px, transparent 1px 39px); + background-position: center top 39px; + background-repeat: no-repeat; + background-size: calc(100% - 4px * 2) calc(100% - 39px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 4px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid #cccccc; + margin-top: -1px; + padding-bottom: 0px; + padding-top: 0px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #fff; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 4px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 4px 0 4px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid #cccccc; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid #cccccc; +} +.tox .tox-tooltip { + display: inline-block; + padding: 8px; + position: relative; +} +.tox .tox-tooltip__body { + background-color: #222f3e; + border-radius: 3px; + box-shadow: 0 2px 4px rgba(34, 47, 62, 0.3); + color: rgba(255, 255, 255, 0.75); + font-size: 14px; + font-style: normal; + font-weight: normal; + padding: 4px 8px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #222f3e; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #222f3e; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #222f3e; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #222f3e; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-well { + border: 1px solid #cccccc; + border-radius: 3px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #cccccc; + border-radius: 3px; + display: flex; + flex: 1; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: none; + padding: 0; +} +.tox.tox-tinymce--toolbar-bottom .tox-editor-header, +.tox.tox-tinymce-inline .tox-editor-header { + margin-bottom: -1px; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: none; + box-shadow: none; +} +.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: transparent; + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); + padding: 0; +} +.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px 0; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0; +} +.tox .tox-pop { + box-shadow: none; +} +.tox .tox-tbtn, +.tox .tox-tbtn--select, +.tox .tox-split-button { + margin: 2px 0 3px 0; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0px #fff !important; +} +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: none; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord .tox-toolbar__primary { + border-top: 1px solid #cccccc; + margin-top: -1px; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + border: 1px solid #cccccc; + padding: 0; +} +.tox .tox-pop .tox-pop__dialog .tox-toolbar { + padding: 0; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar { + border-top: 1px solid #cccccc; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary, +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child { + border-top: 1px solid #cccccc; +} +.tox .tox-toolbar__group { + padding: 0 4px 0 4px; +} +.tox .tox-collection__item { + border-radius: 0; + cursor: pointer; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: rgba(34, 47, 62, 0.7); + text-decoration: underline; +} +.tox .tox-statusbar__branding svg { + vertical-align: -0.25em; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 1ch; +} +.tox .tox-statusbar__resize-handle { + padding-bottom: 0; + padding-right: 0; +} +.tox .tox-button::before { + display: none; +} diff --git a/tinymce/skins/ui/tinymce-5/skin.css.br b/tinymce/skins/ui/tinymce-5/skin.css.br new file mode 100644 index 0000000..61db25b Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/skin.css.gz b/tinymce/skins/ui/tinymce-5/skin.css.gz new file mode 100644 index 0000000..94f7ba3 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/skin.min.css b/tinymce/skins/ui/tinymce-5/skin.min.css new file mode 100644 index 0000000..736be7a --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.min.css @@ -0,0 +1 @@ +.tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:1px solid #ccc;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:1px solid #ccc;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border:1px solid #ccc;border-radius:3px;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>:last-child:not(:only-child){border-color:#ccc;border-style:solid}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(32,122,183,.1);border-color:rgba(32,122,183,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description>:last-child{border-color:rgba(32,122,183,.4)}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{color:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg{fill:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon{color:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.1);border-color:rgba(255,165,0,.5);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description>:last-child{border-color:rgba(255,165,0,.5)}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon{color:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.1);border-color:rgba(204,0,0,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.4)}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);border-color:rgba(120,171,70,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{border-color:rgba(120,171,70,.4)}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#78ab46}.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue__header h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:4px 4px 4px 8px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description>:last-child{border-left-width:1px;padding-left:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description>:last-child{border-right-width:1px;padding-right:4px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#207ab7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#207ab7;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:3px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #207ab7,0 0 0 3px rgba(32,122,183,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#207ab7;background-image:none;border-color:#207ab7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#1c6ca1;background-image:none;border-color:#1c6ca1;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#1c6ca1;background-image:none;border-color:#1c6ca1;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#185d8c;background-image:none;border-color:#185d8c;box-shadow:none;color:#fff}.tox .tox-button--secondary{background-color:#f0f0f0;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#f0f0f0;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;color:#222f3e;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#f0f0f0;background-image:none;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:hover:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:active:not(:disabled){background-color:#d6d6d6;background-image:none;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked[disabled]{background-color:#f0f0f0;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:#e3e3e3;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--naked:focus:not(:disabled){background-color:#e3e3e3;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--naked:active:not(:disabled){background-color:#d6d6d6;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#222f3e}.tox .tox-checkbox{align-items:center;border-radius:3px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:3px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(34,47,62,.3)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#207ab7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#207ab7}.tox .tox-checkbox--disabled{color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(34,47,62,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:3px;box-shadow:inset 0 0 0 1px #207ab7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#ccc;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#e6e6e6;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active{background-color:#dee0e2}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#c8cbcf;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#dee0e2}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#c8cbcf;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(34,47,62,.7);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#222f3e}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #ccc}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #ccc}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#dee0e2}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#fff;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;padding:16px 16px}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;font-size:14px;line-height:1.3;margin-bottom:8px;text-decoration:none;white-space:nowrap}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #207ab7;color:#207ab7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:650px;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#207ab7;cursor:pointer;text-decoration:none}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#185d8c;text-decoration:none}.tox .tox-dialog__body-content a:active{color:#185d8c;text-decoration:none}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content ul{display:block;list-style-type:disc;margin-bottom:16px;margin-inline-end:0;margin-inline-start:0;padding-inline-start:2.5rem}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #ccc}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #ccc;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-inline-edit-area{border:1px dotted #ccc}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:none;padding:4px 0;transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #ccc;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#ccc;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn--active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#ccc transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #ccc transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #ccc transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #ccc;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#fff;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #ccc;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #ccc;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:flex-end;overflow:hidden}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#dee0e2;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px #dee0e2}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#222f3e}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#dee0e2;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:3px 0 2px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #dee0e2 inset}.tox .tox-split-button:focus{background:#dee0e2;box-shadow:none;color:#222f3e}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(34,47,62,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-color:#fff;background-image:repeating-linear-gradient(#ccc 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #ccc;margin-top:-1px;padding-bottom:0;padding-top:0}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #ccc}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #ccc}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:3px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-well{border:1px solid #ccc;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #ccc;border-radius:3px;display:flex;flex:1;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select{margin:2px 0 3px 0}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff!important}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #ccc;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #ccc;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #ccc}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #ccc}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:rgba(34,47,62,.7);text-decoration:underline}.tox .tox-statusbar__branding svg{vertical-align:-.25em}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none} diff --git a/tinymce/skins/ui/tinymce-5/skin.min.css.br b/tinymce/skins/ui/tinymce-5/skin.min.css.br new file mode 100644 index 0000000..a5361d6 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/skin.min.css.gz b/tinymce/skins/ui/tinymce-5/skin.min.css.gz new file mode 100644 index 0000000..f85cb78 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/skin.shadowdom.css b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css new file mode 100644 index 0000000..25b0a37 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css @@ -0,0 +1,30 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css new file mode 100644 index 0000000..8745951 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css @@ -0,0 +1 @@ +body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
    ").concat(To,"
    ").concat(formatText(To,!0),"
    ").concat(_o,"
    ").concat(formatText(_o,!0),"
    ').concat(Un,'
    ").concat(yo._radioLabel,"
    ').concat(Un,'
    ").concat(yo._checkboxLabel,"
    ').concat(Un,'
    ').concat(To,"
    ").concat(yo._radioLabel,"
    ").concat(yo._checkboxLabel,"
    ").concat(formatText(To,!0),"
    ").concat(yo._radioLabel,"
    ").concat(yo._checkboxLabel,"
    ").concat(formatText(To,!0),"
    ").concat(formatText(To,!0),"